@zeniai/web-cockpit-ui 1.15.1-prod → 1.15.2-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 (280) hide show
  1. package/dist/assets/{ACHDetailsPage-CUzXxtOD-V_bV4SFc.js → ACHDetailsPage-DQqbcrtQ-B9LICqOv.js} +1 -1
  2. package/dist/assets/{AIPerformancePage-O2oT7VD7-BKL1TmfF.js → AIPerformancePage-C-s0Z84w-BYGvT60Q.js} +1 -1
  3. package/dist/assets/AccountInfoPage-EW5OCEW3-GkK4AQqU.js +18 -0
  4. package/dist/assets/{AccountInfoPageContent-Dm4_RVtp-Dq9CxLRy.js → AccountInfoPageContent-DRhE__FT-CsEJAa7X.js} +1 -1
  5. package/dist/assets/{AccountLockedInfoModal-4gi6evfx-CXNzPS2w.js → AccountLockedInfoModal-Ck5k4sN0-Dn2ELr-O.js} +1 -1
  6. package/dist/assets/{AccountReconDetailsDrawerPage-Cm4KEIyT-B7m_AiW6.js → AccountReconDetailsDrawerPage-CinniH8P-CbXjxNie.js} +1 -1
  7. package/dist/assets/{AccountRow-B16HgkVQ-ClDcgMzh.js → AccountRow-DqfBv7EN-CVLrdkv9.js} +1 -1
  8. package/dist/assets/{AccountsPromoCardStack-D5OgsEYb-9clzTay1.js → AccountsPromoCardStack-ClhDPo8Z-BPar240b.js} +1 -1
  9. package/dist/assets/{AddAddressForCardDrawer-Cw6wTXEm-BDpvFKbm.js → AddAddressForCardDrawer-Bp7X9u3M-D2uHyvbm.js} +1 -1
  10. package/dist/assets/{AddToWalletPage-vXWBje7k-DoLwCC6X.js → AddToWalletPage-BUltXgk9-hU_WmIiG.js} +1 -1
  11. package/dist/assets/{AgingReportsPage-CmzapJ6B-BE_Ds6Z2.js → AgingReportsPage-C1CpbCow-DhSWr9lB.js} +3 -3
  12. package/dist/assets/{AllUserItems-CW-BAUK2-hoj4tLGJ.js → AllUserItems-CpiUni9v-Boqk4BWu.js} +3 -3
  13. package/dist/assets/{ApAgingDetailPage-DBCM7hZZ-BPIA5643.js → ApAgingDetailPage-ByNn2ALz-D3dR7MXD.js} +4 -4
  14. package/dist/assets/{AppBasePage-B3uZsUDM-Cs3uh4ur.js → AppBasePage-DmW3KQcg-Bl07bdsR.js} +1 -1
  15. package/dist/assets/{AppDrawerContent-D4EVpqHP-BmaUeIR8.js → AppDrawerContent-B1y_D31O-P0fNyfka.js} +1 -1
  16. package/dist/assets/{ApprovalRulesSettingsPage-DTLJUdYp-DcI0ASDo.js → ApprovalRulesSettingsPage-GxAZWP7M-BP_FJfEx.js} +1 -1
  17. package/dist/assets/{ArAgingChart-BJ8nRdT6-CuRs_945.js → ArAgingChart-BNoQoaPh-DNxFLSB2.js} +4 -4
  18. package/dist/assets/{ArAgingDetailPage-hd2ALORD-DELMkSep.js → ArAgingDetailPage-CMcAarbW-BT--B2mj.js} +1 -1
  19. package/dist/assets/{AttachmentView-2FZ6X1gL-Bo3cGru1.js → AttachmentView-BixDE2EA-J3_uk8mF.js} +1 -1
  20. package/dist/assets/{BankAccountSection-BbX4r1dP-CYCrCAiv.js → BankAccountSection-D85EMzvD-DIqhMGkU.js} +1 -1
  21. package/dist/assets/{BankAccountWarningSection-CqlrCLSb-BsA3MVqD.js → BankAccountWarningSection--CI3tctJ-C44mqvnE.js} +1 -1
  22. package/dist/assets/{BankConnectionsSettingsPage-DLeiSryp-LKiKWBEh.js → BankConnectionsSettingsPage-BAPo9xu--DD1SOuD8.js} +1 -1
  23. package/dist/assets/{BillDetailPage-l0WIOXCJ-KfjWgbPw.js → BillDetailPage-DdJoziKf-DOO0wKpM.js} +1 -1
  24. package/dist/assets/{BillPayApprovalRuleDetailPage-BOMCy57E-ZzRdg4uB.js → BillPayApprovalRuleDetailPage-CdoDPSYo-DEqRvex-.js} +3 -3
  25. package/dist/assets/{BillPayApprovalRulesPage-D_iQkfQr-BTPO2mI7.js → BillPayApprovalRulesPage-Cfo4L2hk-TOZxMiU9.js} +1 -1
  26. package/dist/assets/{BillPayPromoPage-Dsl0YvUE-BKJrHEOH.js → BillPayPromoPage-cK5O7lqH-B_je_xFj.js} +10 -10
  27. package/dist/assets/{BillPaySetUpPage-MLf77bPI-1mudvhC5.js → BillPaySetUpPage-BuF8vy9q-CJSI2jfR.js} +1 -1
  28. package/dist/assets/{BillingSettingsPage-n1PkJEDe--6W1GjK4.js → BillingSettingsPage-B_l_z9VO-Br55h4q7.js} +8 -8
  29. package/dist/assets/{BillsBulkReviewDrawerPage-C_4lLm2g-BFkhHF4S.js → BillsBulkReviewDrawerPage-CoKwrfed-giDGO955.js} +1 -1
  30. package/dist/assets/{BoxItem-CZdVWyVJ-BwHstCqr.js → BoxItem-CWj-NRo_-qWLA6cc4.js} +5 -5
  31. package/dist/assets/{BusinessVerificationPage-DKTSnhnQ-Co2FF9Pl.js → BusinessVerificationPage-Jl0yhiLd-BRJluTOf.js} +1 -1
  32. package/dist/assets/{CardNumberSubText-BhtdU0IQ-D5kcsHQV.js → CardNumberSubText-CYyCmwah-DIXC0dk2.js} +1 -1
  33. package/dist/assets/{CashbackDetailPage-BL-JN6N2-UKWik4sT.js → CashbackDetailPage-VVXYftFo-CP-xT4sk.js} +8 -8
  34. package/dist/assets/{ChargeCardDetailPage-DeUmuiMY-CEzre7F1.js → ChargeCardDetailPage-C-KKQCQP-CDsGHd2y.js} +1 -1
  35. package/dist/assets/ChargeCardListPage--SIQ7a3u-BopXL17p.js +412 -0
  36. package/dist/assets/{ChargeCardListTable-BwYAxG4d-kmoKqTGC.js → ChargeCardListTable-ddk5IppO-B_rZZ45Z.js} +1 -1
  37. package/dist/assets/ChargeCardPaymentHistoryPage-mA_IVVFy-De_KyAuK.js +565 -0
  38. package/dist/assets/{ChargeCardPromoPage-TkHihj_n-DVkprPxa.js → ChargeCardPromoPage-BCb2xl-m-CfbIoe1r.js} +10 -10
  39. package/dist/assets/{ChargeCardSetupPage-CkonrAnT-D7WlKP13.js → ChargeCardSetupPage-DAVM2czH-Pi7tegHv.js} +3 -3
  40. package/dist/assets/{ChargeCardStatementsPage-DVgAcNNC-BD6pYrsH.js → ChargeCardStatementsPage-Cgl7DfV2-Cqo1fBhQ.js} +1 -1
  41. package/dist/assets/{CheckDepositDrawerPage-DV7strdp-Cp__1jm5.js → CheckDepositDrawerPage-DIDXNWS--Cnev0zYl.js} +1 -1
  42. package/dist/assets/{CollapsableReportTable-BS7TgK8B-Bop-QYyt.js → CollapsableReportTable-BnxJMwQF-sE8ho7Bl.js} +1 -1
  43. package/dist/assets/{CompanyOfficerDetailsSection-BotE5oj4-DDsuIvG0.js → CompanyOfficerDetailsSection-CtFvma7e-DKMEm1xs.js} +1 -1
  44. package/dist/assets/{CompanyPassportCard-Bx4KhQfs-Bo21JTQt.js → CompanyPassportCard-If9-KFRF-DWX3A4lo.js} +3 -3
  45. package/dist/assets/{CompanyPassportPage-i1SEs7VJ-pD0FkN2y.js → CompanyPassportPage-ByLL4IdN-BVFVShE9.js} +1 -1
  46. package/dist/assets/{CompleteProfile-DWOv7odD-B1ZO6Su7.js → CompleteProfile-D39MG_aE-C5u-dTqB.js} +1 -1
  47. package/dist/assets/{ConfettiBurst-D52CuNQL-BcqOP8Ip.js → ConfettiBurst-CqS9iRS--Clgy60xQ.js} +1 -1
  48. package/dist/assets/{CreateOrEditVendorPage-9LgI-Wd0-BZbvNDOG.js → CreateOrEditVendorPage-C0lTJ9RB-Cwb-zv64.js} +1 -1
  49. package/dist/assets/{CreditCardPaymentDrawerPage-wHK6Ds5I-Bjh9lhVj.js → CreditCardPaymentDrawerPage-BMlE0JgE-DeTZZwZo.js} +8 -8
  50. package/dist/assets/{CurrencySelectField-CbGyQ8Yq-VYgv2-uq.js → CurrencySelectField-Cqh1PAAW-DaE_m5-s.js} +1 -1
  51. package/dist/assets/{CustomerOnboardingActivationPage-LNgj0BYj-Dt2ZG4id.js → CustomerOnboardingActivationPage-CExJcqXe-BlQ8Hnnh.js} +1 -1
  52. package/dist/assets/CustomerOnboardingContainerPage-E5XX6tJL-B1DciOQG.js +1 -0
  53. package/dist/assets/{CustomerOnboardingDetailPageSkeleton-BF484X8E-Uy54XPHP.js → CustomerOnboardingDetailPageSkeleton-zHDAnR9J-BZlMZUQL.js} +1 -1
  54. package/dist/assets/{CustomerOnboardingNoStepsPage-Dri4v3Rf-IZ0-mVHe.js → CustomerOnboardingNoStepsPage-CgblGoOL-2kYU64HC.js} +1 -1
  55. package/dist/assets/{CustomerOnboardingPage-BkdhcwN8-DagjdQto.js → CustomerOnboardingPage-DSGfwtw5-CUzPpcHS.js} +1 -1
  56. package/dist/assets/CustomerOnboardingProductSuitePage-C2YlsXt9-CBk-1EVP.js +202 -0
  57. package/dist/assets/{Dashboard-w2AGQi2P-CBIZbSqe.js → Dashboard-C52yIGy8-D_GGvRLH.js} +55 -55
  58. package/dist/assets/{DashboardReportPage-NzF6nutN-SfPjb-sF.js → DashboardReportPage-iZVhpQQc-DByWtkdh.js} +1 -1
  59. package/dist/assets/{DashboardSidebarBackgroundAnimation-vcuSFRHQ-DpyG8_Zk.js → DashboardSidebarBackgroundAnimation-mksYvmzi-DAtUhXcm.js} +1 -1
  60. package/dist/assets/{DepositAccTransactionItem-SRWW7dWo-Dm378Qgz.js → DepositAccTransactionItem-Ct9UKq01-C2WRTlRZ.js} +1 -1
  61. package/dist/assets/{DepositAccTransactionListPage-BSq-FxKT-XWGw1rZ4.js → DepositAccTransactionListPage-Q-rYYEAZ-C6qRSxdm.js} +1 -1
  62. package/dist/assets/{DomesticWireDetailsPage-Daor0MDI-B9y9cvQO.js → DomesticWireDetailsPage-D8MlbitH-BEovw2fI.js} +1 -1
  63. package/dist/assets/{DownloadOverlay-DkSROLX2-bsujq_Zv.js → DownloadOverlay-DooSRB2s-DAeh2FOz.js} +1 -1
  64. package/dist/assets/{DrawerPage-BnMCcEWw-DGj7bf10.js → DrawerPage-COB3hDS_-DpI_yrey.js} +1 -1
  65. package/dist/assets/{EditPeoplePage-Ld339aav-CxjL3Bfp.js → EditPeoplePage-BLRAgjPa-CqDqNG8l.js} +1 -1
  66. package/dist/assets/{EditReimbursementDetailPage-BaMG1YJG-DUQB0APQ.js → EditReimbursementDetailPage-D1d8qzXB-Cwm7cODK.js} +1 -1
  67. package/dist/assets/EntityDetailPage-BDqbedFw-BHuM8vRM.js +18 -0
  68. package/dist/assets/{EntitySummarySection-Bs0NywbK-CAMSb0Y7.js → EntitySummarySection-DOkXIw-J-Dyl-9BSn.js} +1 -1
  69. package/dist/assets/{ExpenseAutomationOverviewPage-B_-wUXCx-tBZJBgkC.js → ExpenseAutomationOverviewPage-BSXCkfKT-Y-OTywuE.js} +1 -1
  70. package/dist/assets/{ExpenseAutomationPage-CG1Hpwz8-DZNKioPo.js → ExpenseAutomationPage-Di3n8DMk-z_MvYY9W.js} +1 -1
  71. package/dist/assets/{ExpressPayPage-CEf0O3S_-BhT2pP80.js → ExpressPayPage-B-SwvM4I-BKQhbtfT.js} +8 -8
  72. package/dist/assets/{FeaturePreviewPage-7G9DSgAA-Cb3Ygpc1.js → FeaturePreviewPage-Dz42ojYl-B74tPXRR.js} +1 -1
  73. package/dist/assets/{FollowStepsSection-CoXcJ6WL-BKV9u46u.js → FollowStepsSection-BS4M36H4-ByiTPZLh.js} +1 -1
  74. package/dist/assets/{GlobalReviewListPage-BSfJybtY-BZrARRRe.js → GlobalReviewListPage-C1Tn5Cwx-AFNHh-gi.js} +1 -1
  75. package/dist/assets/{InformationCardStack-DnoAMdjH-DQOQw_vk.js → InformationCardStack-DTWUPxhs-BcQ7Bq1r.js} +1 -1
  76. package/dist/assets/{InsightsCardStack-BLtip0dt-C5mcsmng.js → InsightsCardStack-CklTB6N7-CcVpI_GM.js} +2 -2
  77. package/dist/assets/{InsightsSection-26UEfz7s-CeeuT9E2.js → InsightsSection-g58q0fm4--nDzSJ-I.js} +5 -5
  78. package/dist/assets/{IntegrationsSettingsPage-QVOqOc9I-C4-ZKEGF.js → IntegrationsSettingsPage-Bs3ZvOVJ-BNGlPV_t.js} +2 -2
  79. package/dist/assets/{InternationalWireSwiftDetailsPage-B7UVdQjs-BjL1ApDk.js → InternationalWireSwiftDetailsPage-CC0aZ_Ht-BCE7V6Sm.js} +1 -1
  80. package/dist/assets/{InternationalWireVerificationPage-Cvita0lc-B9KFeMw_.js → InternationalWireVerificationPage-Bb8q9_XZ-3msXPnre.js} +3 -3
  81. package/dist/assets/{InviteFormPage-ptg2-Do2-D_-GupYk.js → InviteFormPage-Bh9zpIMu-DyQ9-xdH.js} +1 -1
  82. package/dist/assets/{InvitePageListView-CoCiU_RJ-Bbv4-eR4.js → InvitePageListView-Da5n8FWG-CwUGql0T.js} +1 -1
  83. package/dist/assets/{InvitePeoplePage-CIiwEl_L-BLp6uvtq.js → InvitePeoplePage-B1jmVXj9-BNsmdXfz.js} +1 -1
  84. package/dist/assets/{InvoiceUploadSection-by1gHnS2-pP18jn5q.js → InvoiceUploadSection-DN31nPpE-DlCczyMy.js} +1 -1
  85. package/dist/assets/{IssueChargeCardPage-CawHdTL3-CyqF8OOR.js → IssueChargeCardPage-Ev17uGYx-DiPbJxFe.js} +1 -1
  86. package/dist/assets/{LabeledAddressValue-BVpOlAt0-D77GjL_9.js → LabeledAddressValue-CZvcCn7x-BDO7MreD.js} +1 -1
  87. package/dist/assets/{LabeledAddressValueField-BW6ytr8f-CSB7RWin.js → LabeledAddressValueField-CJel6ymq-BCZyMLaS.js} +1 -1
  88. package/dist/assets/{LabeledControlledCheckBoxField-DEaBzW9R-CKPZ8oIt.js → LabeledControlledCheckBoxField-COHS18nA-B17n3DFO.js} +1 -1
  89. package/dist/assets/{LabeledCountryMultiSelectField-DOEcKGdZ-DzGFxcAd.js → LabeledCountryMultiSelectField-CcJheGwX-DdkXDdlC.js} +1 -1
  90. package/dist/assets/{LabeledCreatableSingleSelectField-Bsowq6Ia-v2RVfujK.js → LabeledCreatableSingleSelectField-C9p8xRkh-BtUYUlzS.js} +1 -1
  91. package/dist/assets/{LabeledDocumentField-DHqxzbx7-CTwBE6mP.js → LabeledDocumentField-DC4TbHE8-CfiBP2-V.js} +1 -1
  92. package/dist/assets/{LabeledDropDownFormattedTextField-C_2HymZs-Dn0IEbMb.js → LabeledDropDownFormattedTextField-BcSAJy2I-BDmvlnnz.js} +1 -1
  93. package/dist/assets/{LabeledMultiSelectField-wuzYNgjQ-DbrM8lIT.js → LabeledMultiSelectField-D-N343dq-BqmmKTLd.js} +1 -1
  94. package/dist/assets/{LabeledText-DMjMKupg-B5iZr6jB.js → LabeledText-DHLOUxK_-DcVlPblA.js} +1 -1
  95. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-D2PQRKp0-C66F3vp3.js → LabeledUserSingleSelectWithSubtitlesField-BOM4OGJn-BHSVUmku.js} +1 -1
  96. package/dist/assets/{LabeledZeniRolesDropDownField-C2WL6H1u-BNzovq8E.js → LabeledZeniRolesDropDownField-CqZGfBlk-CXV9h6nB.js} +1 -1
  97. package/dist/assets/{LinkJETransactionPage-6wvu7KQx-CnkdjBaZ.js → LinkJETransactionPage-BLleyJg_-DH6AUk6S.js} +2 -2
  98. package/dist/assets/{LockCardPage-DHjkslVx-CMxcnIo_.js → LockCardPage-dHmjahEB-CtYWv6rs.js} +1 -1
  99. package/dist/assets/{LowBalancePopup-IPPewOnk-4XR_iR-p.js → LowBalancePopup-D5xx56fY-j_He7evO.js} +1 -1
  100. package/dist/assets/MagicLinkACHDetailsPage-DHIsrr2U-VUPeO4aq.js +1 -0
  101. package/dist/assets/MagicLinkDomesticWireDetailsPage-B1ehlPCP-EnblGBI9.js +1 -0
  102. package/dist/assets/MagicLinkInternationalWireDetailsPage-C-Tv413E-BxJEZ2nx.js +1 -0
  103. package/dist/assets/{MagicLinkSuccessPage-0Pn_6wi4-BFWraIOq.js → MagicLinkSuccessPage-De4m7E-W-Cb7S-D6O.js} +1 -1
  104. package/dist/assets/{MagicLinkTitleSection-zMEqv8xp-DTvuMaPi.js → MagicLinkTitleSection-Bka3Yd1_-B7VDZ-WI.js} +1 -1
  105. package/dist/assets/MailingDetailsSection-BbWfR6ob-oFsc7Xm9.js +21 -0
  106. package/dist/assets/{Menu-CjpiRi32-DbHZh-UA.js → Menu-CCfXjS2S-nrC4lt1z.js} +1 -1
  107. package/dist/assets/{MyBankConnectionsSettingsPage-DsuI81Dg-BWmDNcHy.js → MyBankConnectionsSettingsPage-NwFd4S7O-ChK_C8XR.js} +1 -1
  108. package/dist/assets/{MyPendingActivationChargeCardListPage-BP2ZNfJQ-DHo71pl8.js → MyPendingActivationChargeCardListPage-B2fGNuM2-BRHDDyzi.js} +1 -1
  109. package/dist/assets/{MyProfileSettingsPage-Bx776Bw1-CcvpDjbG.js → MyProfileSettingsPage-C2xgzfZf-CuouNDkd.js} +1 -1
  110. package/dist/assets/{NavBarWithPicker-B7KOipTP-CUXAONnB.js → NavBarWithPicker-DUqVkR_y-DhJfapY3.js} +1 -1
  111. package/dist/assets/{NavigationArrow-qaYGOFR3-BYoRbw_X.js → NavigationArrow-Ctt_H8KP-DqY5GQ1R.js} +1 -1
  112. package/dist/assets/{NavigationDots-U7wL0ya4-CdM-3xeD.js → NavigationDots-Dgudddqx-DYDn4vyu.js} +1 -1
  113. package/dist/assets/{NewGlobalMerchantPage-BMLg6RYp-DTb_Rdvu.js → NewGlobalMerchantPage-D1hNFzTS-B4VJuy44.js} +1 -1
  114. package/dist/assets/{NoDataChart-DoN6Mneo-CftmmCTm.js → NoDataChart-DbLSGWgH-L8CdjQWY.js} +1 -1
  115. package/dist/assets/{NoDataTable-BMDDs83M-B9SfB1-Z.js → NoDataTable-BYLV7sLq-CgYIQzXe.js} +1 -1
  116. package/dist/assets/{NotFoundPage-ys6HcZUO-CWo9wAM0.js → NotFoundPage-CIeF09o9-DYOgpAOm.js} +6 -6
  117. package/dist/assets/{NotificationSettingsPage-Cfrj3b7B-BtkGSRXz.js → NotificationSettingsPage-CEhFnaxj-C4_q1SXp.js} +1 -1
  118. package/dist/assets/{NotificationsListConfig-Cqcn0C6L-U_mSi0gj.js → NotificationsListConfig-PHESCv2f-CLKpPqmc.js} +1 -1
  119. package/dist/assets/{NotificationsPage-Bri7Dj80-DBQqrbG3.js → NotificationsPage-hIohQ7En-7Dgvp7dJ.js} +1 -1
  120. package/dist/assets/{OpExByVendorPage-Dwk6JAu7-DcNHahKS.js → OpExByVendorPage-C1RcJ4Q3-C3y6eP0g.js} +1 -1
  121. package/dist/assets/{OverlayContainerPage-Daz3A7cI-DWWOjfXy.js → OverlayContainerPage-Daz3A7cI-mfnyLiK_.js} +1 -1
  122. package/dist/assets/{PandLWithForecastPage-D9muoIzS-D7BKm9OU.js → PandLWithForecastPage-B-uQyVwQ-CyyR5yDE.js} +1 -1
  123. package/dist/assets/{PaymentAccountSetupBillingAddressSection-BcQ07YZL-aFHVx1vJ.js → PaymentAccountSetupBillingAddressSection-CGqYs83b-CQ_yC_Le.js} +7 -7
  124. package/dist/assets/{PeoplePage-BZwxMiLM-C3onpZFo.js → PeoplePage-Db0MhBko-D-veqVIm.js} +13 -13
  125. package/dist/assets/{Preview-bmkSzs2R.js → Preview-B3zOr0wW.js} +1 -1
  126. package/dist/assets/{ProductsCarousel-HFHMMFnQ-BOh1D-2y.js → ProductsCarousel-CYwIm8nQ-b46m0x6d.js} +1 -1
  127. package/dist/assets/{PromoBaseCards-Bwm7huaB-CJTo98HZ.js → PromoBaseCards-B2ZC8OUT-CxdovvbY.js} +1 -1
  128. package/dist/assets/{QBOConnectionDialog-B5v60lo1-houe1021.js → QBOConnectionDialog-B0E1xE9I-DveLpxdR.js} +1 -1
  129. package/dist/assets/{QBOSetupSection-BFxjIzV1-Dols6DTO.js → QBOSetupSection-IGV1sm9x-BtXGszuP.js} +1 -1
  130. package/dist/assets/{ReimbursementApprovalRuleDetailPage-D7eJT6hf-DFV4TSLb.js → ReimbursementApprovalRuleDetailPage-CwJkaZqa-ChyiXIbJ.js} +1 -1
  131. package/dist/assets/{ReimbursementApprovalRulesPage-B6WJ19jK-BD5_k4Yq.js → ReimbursementApprovalRulesPage-C0D2DYVf-DCOAjf0C.js} +1 -1
  132. package/dist/assets/{ReimbursementDetailPage-CEyFEPK5-Cmsv8zE9.js → ReimbursementDetailPage-DV7eDd9t-CQE66iWh.js} +1 -1
  133. package/dist/assets/{ReimbursementPromoPage-BjhlxlPR-B5-QApvA.js → ReimbursementPromoPage-DNM2mNbV-CB0rp3Ja.js} +1 -1
  134. package/dist/assets/{ReimbursementSetUpPage-pC4KuigM-CVNmKnoe.js → ReimbursementSetUpPage-CVuQyfku-BMnB6xP4.js} +4 -4
  135. package/dist/assets/{ReimbursementsBulkReviewDrawerPage-CucXnBt6-CGAl9ygO.js → ReimbursementsBulkReviewDrawerPage-DAvUmNKc-CIggTaDg.js} +1 -1
  136. package/dist/assets/{ReloadCard-DhRbLcVA-DLtn2ojx.js → ReloadCard-BsOjPgsc-ChC0ZJ85.js} +1 -1
  137. package/dist/assets/{ReportTableViewSelector-ByxUIrcT-BtbH079n.js → ReportTableViewSelector-BJNFsOJq-BKg2cb6V.js} +1 -1
  138. package/dist/assets/{ReportsPage-e1xmk9Ua-DvjoA8Oj.js → ReportsPage-GYEaSw4z-DkoN-mIu.js} +1 -1
  139. package/dist/assets/{RevenueChart-C7uaOhqz-D8w2w1jE.js → RevenueChart-DXgZ34NU-BGzMBftU.js} +14 -14
  140. package/dist/assets/{ReviewDetailsPage-Dk0Rw7L_-C0_phLTa.js → ReviewDetailsPage-VBCKACNQ-Cb05fh3o.js} +2 -2
  141. package/dist/assets/{ReviewOverlay-Bthl69qw-DfE6Ib25.js → ReviewOverlay-D1dHNrqu-DQYoi9Nj.js} +1 -1
  142. package/dist/assets/{RoleWithToolTip-New3P2vC-CGrSjh7e.js → RoleWithToolTip-BE5aZQ2g-BCdI84kh.js} +1 -1
  143. package/dist/assets/{ScheduleDetailsFixedAssetsPage-DiwkB2J--C3K6U0z2.js → ScheduleDetailsFixedAssetsPage-p2jwjhfb-DeEP6omI.js} +1 -1
  144. package/dist/assets/{ScheduleDetailsPage-BLc828ST-BFaIKXfz.js → ScheduleDetailsPage-CuGgAAlk-Cs8MEF7D.js} +1 -1
  145. package/dist/assets/{ScheduleSequenceTable-CEQZEbUs-64nBAOn9.js → ScheduleSequenceTable-DS5xyWPM-B_plNnTN.js} +1 -1
  146. package/dist/assets/{ScreenRoutes-DmXkmyK0.js → ScreenRoutes-DVayPi2e.js} +1 -1
  147. package/dist/assets/{SetUpAccountSection-CywFKgZo-BTSCNORa.js → SetUpAccountSection-CgV-DpbH-B1jw26aR.js} +1 -1
  148. package/dist/assets/{SignIn-D7PmDE-R-MG3D91mV.js → SignIn-BVICuIxS-BWE0bgE_.js} +15 -15
  149. package/dist/assets/{SignInScreen-D113RFd8.js → SignInScreen-D4KOTIiJ.js} +1 -1
  150. package/dist/assets/{SpendManagementListViewPage-DJgNAGhp-5CsQoFEw.js → SpendManagementListViewPage-7hmUDsTR-DhApwaYY.js} +3 -3
  151. package/dist/assets/{SpendManagementPerTabPage-B_muN4XH-CNz4dnei.js → SpendManagementPerTabPage-r4Ivr4ml-BVfhJves.js} +1 -1
  152. package/dist/assets/{SpendManagementSection-BO--0F_T-CM2fKAuB.js → SpendManagementSection-4bPNXnAu-PYCo478F.js} +14 -14
  153. package/dist/assets/StatementItem-D7MXVGEy-BTw31R7j.js +31 -0
  154. package/dist/assets/{StatementsPage-DkcgOLaa-nohY7JNi.js → StatementsPage-mK9b-oez-_P1PJ0CX.js} +1 -1
  155. package/dist/assets/{StatusSwitcher-Bcqhq2ht-hAJBOXci.js → StatusSwitcher-VeYkrDM7-Cg8WxvyO.js} +1 -1
  156. package/dist/assets/{SubTabSwitcher-BNSMaUoP-BXxH8ILx.js → SubTabSwitcher-j2oEcPev-C9gIHuSY.js} +1 -1
  157. package/dist/assets/SummaryCard-Bn8n64F6-PcN8QoKZ.js +1 -0
  158. package/dist/assets/{TaskManagementPage-K2ahivqx-BCmrLDzp.js → TaskManagementPage-Cmx-Dg-h-CaRQcF5s.js} +10 -10
  159. package/dist/assets/{TimeRangeSwitcher-CaV1qK_v-De4PWsE4.js → TimeRangeSwitcher-DIM1SPbu-C8aKxeBB.js} +11 -11
  160. package/dist/assets/{TimeframeSwitcher-COkEJy3J-I0fiieuA.js → TimeframeSwitcher-DKqN8iPa-CLaVUI42.js} +1 -1
  161. package/dist/assets/{TimeframeSwitcherWithToggle-CPP1tWQ_-B3icDAhc.js → TimeframeSwitcherWithToggle-DcrnzLoy-5NwwIObs.js} +1 -1
  162. package/dist/assets/{TopExCard-CLkfO6zN-GAZI10F9.js → TopExCard-Bng5AuNw-CVHFew8E.js} +1 -1
  163. package/dist/assets/{TopExDetailPage-CUoODDhA-lWptHIiO.js → TopExDetailPage-C1UAPRay-senkgbNQ.js} +1 -1
  164. package/dist/assets/{TransactionDetailPage-BTonMpH2-yOJQgyGO.js → TransactionDetailPage-Ds7V1qr_-DHvaJdEC.js} +1 -1
  165. package/dist/assets/{TransactionList-B8eL6jhA-CXIdz1sa.js → TransactionList-Dq2orY9N-CmcTb8lX.js} +1 -1
  166. package/dist/assets/{TransactionListBig-BI0Egbwq-BXaq3AnP.js → TransactionListBig-BrDxcbHJ-BucaK7i8.js} +1 -1
  167. package/dist/assets/{TransactionListPage-DxGLszcx-DfFatS1H.js → TransactionListPage-D5v8TxYx-tIrIfplb.js} +2 -2
  168. package/dist/assets/{TransactionVendorDetailPage-BnqP7rIa-Yish_Kxm.js → TransactionVendorDetailPage-DnZGwCbw-NMe_2e92.js} +1 -1
  169. package/dist/assets/{TransferDrawerPage-BvKebmux-CutHwXxM.js → TransferDrawerPage-DUdjOy9R-BaGIl48y.js} +1 -1
  170. package/dist/assets/{TreasuryOverviewPage-DqlUffnH-CE590JAn.js → TreasuryOverviewPage-XYkCDBio-XL-wzdVP.js} +1 -1
  171. package/dist/assets/{TreasuryPromoPage-DqZE9SWj-ClnrYXLc.js → TreasuryPromoPage-CWtp3S9L-DlbXSnI-.js} +1 -1
  172. package/dist/assets/TreasuryStatementsPage-C1-iJ5X--BgqOr69t.js +58 -0
  173. package/dist/assets/{TreasuryTaxLetterPage-04gxKt0a-BJGnfk3S.js → TreasuryTaxLetterPage-CNogHL4A-CZDa9UtZ.js} +2 -2
  174. package/dist/assets/{TrendChart-Cb8wnBqS-De7P6THV.js → TrendChart-DBRT1lZ3-CNfFrF4a.js} +1 -1
  175. package/dist/assets/{TrendWithTransactions-_49jEzFf-f5FuFAt2.js → TrendWithTransactions-CcjPNeY8-DUWt7VQm.js} +3 -3
  176. package/dist/assets/{UncategorizedAccountsMappingPage-WTwSitI6-BEjfAo_V.js → UncategorizedAccountsMappingPage-BuMm5-pm-OPk3mnZu.js} +5 -5
  177. package/dist/assets/{UnitIntegrationPage-C3HFSJ9I-BXGGs2St.js → UnitIntegrationPage-Dxb00NtN-CEWpQ1pK.js} +1 -1
  178. package/dist/assets/{UploadAdditionalDocumentOverlay-UdsrwN9K-CdWb8HhE.js → UploadAdditionalDocumentOverlay-H6nIiMo6-BSgcEloP.js} +1 -1
  179. package/dist/assets/{Vendor2FAPopup-BS-3oZPR-CDa2CeES.js → Vendor2FAPopup-Opk2NgSs-DTP-O6GX.js} +1 -1
  180. package/dist/assets/VendorACHDetailsPage-C-uyGtu7-F2Is6FR_.js +1 -0
  181. package/dist/assets/{VendorDetailPage-CJQeB1km-BShwXDn0.js → VendorDetailPage-YUk-g7t--BJ496rNY.js} +86 -86
  182. package/dist/assets/VendorDomesticWireDetailsPage-D0Vd0jjO-BL4DigeA.js +1 -0
  183. package/dist/assets/{VendorFiling1099EditablePage-C2zwrfg_-DyqUbz_t.js → VendorFiling1099EditablePage-Ctx-C6OL-spQqzVO6.js} +1 -1
  184. package/dist/assets/{VendorFirstReviewPage-BeDtBSt0-Cmgyhufs.js → VendorFirstReviewPage-Biy4xcIs-DznCGOBz.js} +1 -1
  185. package/dist/assets/{VendorInternationalWireDetailsPage-BVI-FIhY-DHYCq99b.js → VendorInternationalWireDetailsPage-B-ZKvwGN-x0rWEvGE.js} +1 -1
  186. package/dist/assets/VendorInternationalWireSwiftDetailsPage-Bg26p8FH-HzLEH2H6.js +1 -0
  187. package/dist/assets/{VendorsAccountsSection-DlO_YtSs-BqQo1hOy.js → VendorsAccountsSection-DztKh7dz-CgEUNYEY.js} +1 -1
  188. package/dist/assets/{VerifyDevice-CVr0FwHa-DQu5ZIh8.js → VerifyDevice-fvWfQQnC-CtXqEXi_.js} +7 -7
  189. package/dist/assets/{VideoPlayer-HL-oU9Ri-Bz044c8A.js → VideoPlayer-CfLdj-r8-B2GUFqTA.js} +2 -2
  190. package/dist/assets/{VideoPopup-Dw57i43Q-CzwcXxHQ.js → VideoPopup-B-N0Wv9f-Cdmc-mEU.js} +5 -5
  191. package/dist/assets/{WarningsDrawerPage-DOFirhc3-D_wiHvg5.js → WarningsDrawerPage-UpSDjRDQ-BBae8KFO.js} +1 -1
  192. package/dist/assets/{ZeniAccountDetailPage-ByCgz534-C0RThAND.js → ZeniAccountDetailPage-Bd_RNPxh-BoHoadUu.js} +1 -1
  193. package/dist/assets/{ZeniAccountListViewPage-yATacDeU-DRvzhKU3.js → ZeniAccountListViewPage-CE5BfFah-CIAB5QF6.js} +1 -1
  194. package/dist/assets/{ZeniAccountNavBarPieces-Yb3HCUq4-DzLFm0o5.js → ZeniAccountNavBarPieces-C0ydgImW-D-MiE5qM.js} +1 -1
  195. package/dist/assets/{ZeniAccountPromoPage-4iBPGLEt-DDJzitwm.js → ZeniAccountPromoPage-EX9sTaQM-DXBYg3Pe.js} +1 -1
  196. package/dist/assets/{ZeniAccountSetupPage-bdXuLfgB-C6mUVcdt.js → ZeniAccountSetupPage-DX2DvcQa-Dwku7Zxp.js} +1 -1
  197. package/dist/assets/{ZeniCopyright-C_Hgn3Qx-Ds0qc8PC.js → ZeniCopyright-8vmkzP8u-BneayNNI.js} +1 -1
  198. package/dist/assets/{ZeniTransferAmountSlider-DBhodWDh-B4lmL5zs.js → ZeniTransferAmountSlider-BgIOeOee-5PnJNSH6.js} +1 -1
  199. package/dist/assets/{add-to-wallet-DgdBD8_G-DF1ZLhpG.js → add-to-wallet-DgdBD8_G-6h2ZeMP0.js} +1 -1
  200. package/dist/assets/{analytics-DjXPotdA.js → analytics-C6_KHLMr.js} +1 -1
  201. package/dist/assets/{analyticsHelper-Do_j7Ec-.js → analyticsHelper-BI1ThZe4.js} +1 -1
  202. package/dist/assets/{analyticsHelper-DTl4FgRU-DaGvE_nI.js → analyticsHelper-DePSHzJ2-Bn27sSmX.js} +1 -1
  203. package/dist/assets/{arrow-south-east-round-PEovUgvH-BzdqPzsS.js → arrow-south-east-round-PEovUgvH-Drco-tba.js} +1 -1
  204. package/dist/assets/{auto-transfer-rule-mbafm5D3-BN19TEiZ.js → auto-transfer-rule-mbafm5D3-B2LSu6td.js} +1 -1
  205. package/dist/assets/{chartTypes-wLUiIPlP-EuH-c6o2.js → chartTypes-9YOqgm9X-C6LFFFRd.js} +1 -1
  206. package/dist/assets/{commonDimensions-DGz_YafU-CjnpnLVY.js → commonDimensions-DMXq3s0u-DuXCMMKd.js} +1 -1
  207. package/dist/assets/{commonTypes-Gv0Fff59-fjxsEGiK.js → commonTypes-BquPusaw-T-jihHvn.js} +1 -1
  208. package/dist/assets/{constants-B9dqeElZ.js → constants-PJh0ps8k.js} +1 -1
  209. package/dist/assets/{core-DQCu9afb.js → core-B60xt_9S.js} +1 -1
  210. package/dist/assets/{dash.all.min-RF6O7QLP.js → dash.all.min-vXDE_DvB.js} +1 -1
  211. package/dist/assets/{detailCommon-C-kv1ST5-CmzdwBDw.js → detailCommon-OHV8uIJY-cVGKnZAs.js} +2 -2
  212. package/dist/assets/{downloadPdf-a0dx3Bka-BialP_86.js → downloadPdf-AQqdv24M-DFBrg3E0.js} +1 -1
  213. package/dist/assets/{empty-CJWANQb8.js → empty-BILjNJ1H.js} +1 -1
  214. package/dist/assets/{empty-CvlnhqoS.js → empty-Crd5cSnS.js} +1 -1
  215. package/dist/assets/{epic-CLLPTJuW.js → epic-DI4CcWQL.js} +2 -2
  216. package/dist/assets/{gift-box-Cmt9OgIZ-B2dtO5AM.js → gift-box-Cmt9OgIZ-Zdxcxrhq.js} +1 -1
  217. package/dist/assets/{graphic-no-data-l-DU4J8fDt-BxeiZvr5.js → graphic-no-data-l-DU4J8fDt-DgTcVZZu.js} +1 -1
  218. package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-piCcMLAh.js → graphic-no-data-net-burn-l-CzmycA0m-C5bAU7gA.js} +1 -1
  219. package/dist/assets/{handshake-BPg58FML-BdJEkGFy.js → handshake-BPg58FML-B-VJNfaH.js} +1 -1
  220. package/dist/assets/{index-CaT-3YM_.js → index-BGWJb262.js} +1 -1
  221. package/dist/assets/{index-DK88ffN_.js → index-BN0EotSL.js} +1 -1
  222. package/dist/assets/{index-BW6VjaM6.js → index-BdKLbOle.js} +1 -1
  223. package/dist/assets/{index-BRL5M-4q.js → index-BvTN3lDL.js} +1 -1
  224. package/dist/assets/{index--n-ELFcj.js → index-CdECp0kd.js} +1 -1
  225. package/dist/assets/{index-DUGvjtu-.js → index-CsC704zJ.js} +1 -1
  226. package/dist/assets/{index-BC_H0Dvt.js → index-DaYznKbB.js} +1139 -1139
  227. package/dist/assets/{lexical-Dwxxs9vM.js → lexical-ljPdYVBl.js} +1 -1
  228. package/dist/assets/{liveblocks-Bk_rgzjY.js → liveblocks-DBwZPvBF.js} +1 -1
  229. package/dist/assets/{lottie-DVMZSmD1.js → lottie-C5JCvMhe.js} +1 -1
  230. package/dist/assets/mapLoadingInProgressToTreeNode-bnjefl-h-g0Hb8RqK.js +1 -0
  231. package/dist/assets/{mapSectionWithAcOnlyToTreeNode-DXbOFz3E-CT2khAb0.js → mapSectionWithAcOnlyToTreeNode-DlHnT2so-BTPtJTc-.js} +1 -1
  232. package/dist/assets/{mapSpacerToTreeNode-D7hBnjRr-B7Q2F4LU.js → mapSpacerToTreeNode-UVFWXY4N-D0YtCjzg.js} +1 -1
  233. package/dist/assets/{mapTimeframeBalancesToTreeNode-CQWxQdJu-raLuZY74.js → mapTimeframeBalancesToTreeNode-BQXXyttX-DGLgwKeE.js} +1 -1
  234. package/dist/assets/mapTimeframeBalancesToTreeNode-Z_evAkYB-C750bIcv.js +1 -0
  235. package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-FwPcTyoF-D6WjfBqv.js → mapTimeframeHeaderLoadingInProgressToTreeNode-CKpBoKTl-20lccFRR.js} +1 -1
  236. package/dist/assets/{mui-BmV8FyyJ.js → mui-Bw2IfcWM.js} +1 -1
  237. package/dist/assets/{page-detail-CWX5S47F-Bvrr8cIz.js → page-detail-CWX5S47F-DCgjQUKs.js} +1 -1
  238. package/dist/assets/{radio-default-CiSgisfh-zYceSCJD.js → radio-default-CiSgisfh-CMhPvQFy.js} +1 -1
  239. package/dist/assets/{react-DXwN5tH4.js → react-BTUZdigh.js} +1 -1
  240. package/dist/assets/{react-myS-aMXG.js → react-Bq5t9UIP.js} +1 -1
  241. package/dist/assets/{react-Cg8XRgYG.js → react-CuTu_wtR.js} +1 -1
  242. package/dist/assets/{react-CSed5qnA.js → react-DI23iCmK.js} +2 -2
  243. package/dist/assets/{react-RdtI2BXz.js → react-DfTnNNyV.js} +1 -1
  244. package/dist/assets/{react-D8crbQsa.js → react-DhEFsene.js} +1 -1
  245. package/dist/assets/{react-CgN2MqJD.js → react-DjhBEada.js} +1 -1
  246. package/dist/assets/{react-CxOAkiJn.js → react-VPdYhL5m.js} +1 -1
  247. package/dist/assets/{recharts-K3QEFPOV.js → recharts-DIy4CLtr.js} +1 -1
  248. package/dist/assets/{sentry-CzYU6xgv.js → sentry-Bp9GtzEp.js} +1 -1
  249. package/dist/assets/{shield-DOlUxcFf-BROF78Wd.js → shield-DOlUxcFf-ro31tcAp.js} +1 -1
  250. package/dist/assets/toCOABalancesWithID-DcgESHck-B_zdOyxB.js +1 -0
  251. package/dist/assets/{toChartData-BlyUYoV7-BOlYGwXB.js → toChartData-BtwV0Kpo-LMyxiFZ7.js} +1 -1
  252. package/dist/assets/{uploadAttachment-BkEbu6k9-BLw1l-Yr.js → uploadAttachment-C69IP2HG-CJ_0eQlo.js} +1 -1
  253. package/dist/assets/{uploadReceipts-CPw64UYa-CIPV6FoB.js → uploadReceipts-CPw64UYa-udD8sJEF.js} +1 -1
  254. package/dist/assets/{url-BLr86cmF.js → url-4mfhlhYZ.js} +1 -1
  255. package/dist/assets/{url-daKMdVYE.js → url-FTiOcUfY.js} +1 -1
  256. package/dist/assets/{useLongPress-GCK2COYQ-Bzjc7jhF.js → useLongPress-GCK2COYQ-CjlFZNWU.js} +1 -1
  257. package/dist/assets/{usp-line-BBd1wKwW-CBFMyNMj.js → usp-line-BBd1wKwW-Do2umI9p.js} +1 -1
  258. package/dist/assets/{utils-Dyo888a6.js → utils-CUkgdryf.js} +1 -1
  259. package/dist/assets/{zeni-epic-state-Blm5vkeu.js → zeni-epic-state-BxNqBiH-.js} +4 -4
  260. package/dist/index.html +1 -1
  261. package/package.json +4 -4
  262. package/dist/assets/AccountInfoPage-B6jxAqA6-D3AvIk8Y.js +0 -18
  263. package/dist/assets/ChargeCardListPage-B2OEzCZI-BVO1t6lk.js +0 -412
  264. package/dist/assets/ChargeCardPaymentHistoryPage-COWdn2l7-MyINBbbC.js +0 -565
  265. package/dist/assets/CustomerOnboardingContainerPage-DLdgYP_E-BcmkLIDn.js +0 -1
  266. package/dist/assets/CustomerOnboardingProductSuitePage-CDJfucTI-RZxDmPrv.js +0 -202
  267. package/dist/assets/EntityDetailPage-DRZiqaCb-oaZXyi6U.js +0 -18
  268. package/dist/assets/MagicLinkACHDetailsPage-BQvuNI4u-C-5Iz4N6.js +0 -1
  269. package/dist/assets/MagicLinkDomesticWireDetailsPage-BEr-7K3J-DiYQt8aO.js +0 -1
  270. package/dist/assets/MagicLinkInternationalWireDetailsPage-DliPDETx-BCgetX2M.js +0 -1
  271. package/dist/assets/MailingDetailsSection-BRCMsb6d-BN9R0MtZ.js +0 -21
  272. package/dist/assets/StatementItem-_50yBwO1-DM2htgiY.js +0 -31
  273. package/dist/assets/SummaryCard-DUTikTiQ-o2r57xWg.js +0 -1
  274. package/dist/assets/TreasuryStatementsPage-Cyj4xmLP-CfyqqURj.js +0 -58
  275. package/dist/assets/VendorACHDetailsPage-DBr7crZ5-DoKuE4gC.js +0 -1
  276. package/dist/assets/VendorDomesticWireDetailsPage-BRIKuuUP-C-Ecy8EE.js +0 -1
  277. package/dist/assets/VendorInternationalWireSwiftDetailsPage-D4H4XkkY-D2_GcLH2.js +0 -1
  278. package/dist/assets/mapLoadingInProgressToTreeNode-Dn79CwqB-G1FAb9Fd.js +0 -1
  279. package/dist/assets/mapTimeframeBalancesToTreeNode-ph17cvaS-Bnf0nmcD.js +0 -1
  280. package/dist/assets/toCOABalancesWithID-CdKQhpIb-D0TFM2qU.js +0 -1
@@ -1,4 +1,4 @@
1
- import{q as H,i1 as Ce,F as B,d as q,cb as _e,ay as xe,V as t,bM as Se,aN as we,i0 as ke,bB as ve,bA as Be,i2 as Oe,i3 as Pe,o as u,aR as Te,k as je,y as F,b2 as le,aB as ie,aT as $e,c as O,cd as De,ce as Ne,cf as Ie,bJ as Ee,p as a,al as ce,b as Z,aW as Ae}from"./index-BC_H0Dvt.js";import{a as C,S as Me}from"./sentry-CzYU6xgv.js";import{n as h}from"./mui-BmV8FyyJ.js";import{FX as Le}from"./zeni-epic-state-Blm5vkeu.js";import{p as Fe,d as Ve,y as G,b as de,u as ee}from"./chartTypes-wLUiIPlP-EuH-c6o2.js";import{V as Re}from"./toChartData-BlyUYoV7-BOlYGwXB.js";import{m as V}from"./analyticsHelper-DTl4FgRU-DaGvE_nI.js";import{p as ze}from"./TimeRangeSwitcher-CaV1qK_v-De4PWsE4.js";import{M as We}from"./TimeframeSwitcherWithToggle-CPP1tWQ_-B3icDAhc.js";import{C as Ke}from"./NoDataChart-DoN6Mneo-CftmmCTm.js";import{d as Ye}from"./NoDataTable-BMDDs83M-B9SfB1-Z.js";import{H as Ge,Q as oe}from"./detailCommon-C-kv1ST5-CmzdwBDw.js";import{n as R}from"./getReferrerType-DjPOy76W-DRP5VHem.js";import{I as He,R as J}from"./CollapsableReportTable-BS7TgK8B-Bop-QYyt.js";import{o as pe}from"./mapTimeframeBalancesToTreeNode-ph17cvaS-Bnf0nmcD.js";import{d as re}from"./mapLoadingInProgressToTreeNode-Dn79CwqB-G1FAb9Fd.js";import{l as qe}from"./mapSpacerToTreeNode-D7hBnjRr-B7Q2F4LU.js";import{N as Je,I as Ue,X as Xe,Y as Qe,J as Ze,K as eo}from"./recharts-K3QEFPOV.js";import"./liveblocks-Bk_rgzjY.js";import"./core-DQCu9afb.js";import"./lottie-DVMZSmD1.js";import"./analytics-DjXPotdA.js";import"./lexical-Dwxxs9vM.js";import"./utils-Dyo888a6.js";import"./TimeframeSwitcher-COkEJy3J-I0fiieuA.js";import"./graphic-no-data-l-DU4J8fDt-BxeiZvr5.js";import"./AccountRow-B16HgkVQ-ClDcgMzh.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},r=new e.Error().stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="4fee939b-aab6-4bb8-b164-f7b1276574f3",e._sentryDebugIdIdentifier="sentry-dbid-4fee939b-aab6-4bb8-b164-f7b1276574f3")}catch{}})();const oo=h.div`
1
+ import{q as H,i1 as Ce,F as B,d as q,cb as _e,ay as xe,V as t,bM as Se,aN as we,i0 as ke,bB as ve,bA as Be,i2 as Oe,i3 as Pe,o as u,aR as Te,k as je,y as F,b2 as le,aB as ie,aT as $e,c as O,cd as De,ce as Ne,cf as Ie,bJ as Ee,p as a,al as ce,b as Z,aW as Ae}from"./index-DaYznKbB.js";import{a as C,S as Me}from"./sentry-Bp9GtzEp.js";import{n as h}from"./mui-Bw2IfcWM.js";import{FX as Le}from"./zeni-epic-state-BxNqBiH-.js";import{p as Fe,d as Ve,y as G,b as de,u as ee}from"./chartTypes-9YOqgm9X-C6LFFFRd.js";import{V as Re}from"./toChartData-BtwV0Kpo-LMyxiFZ7.js";import{m as V}from"./analyticsHelper-DePSHzJ2-Bn27sSmX.js";import{p as ze}from"./TimeRangeSwitcher-DIM1SPbu-C8aKxeBB.js";import{M as We}from"./TimeframeSwitcherWithToggle-DcrnzLoy-5NwwIObs.js";import{C as Ke}from"./NoDataChart-DbLSGWgH-L8CdjQWY.js";import{d as Ye}from"./NoDataTable-BYLV7sLq-CgYIQzXe.js";import{H as Ge,Q as oe}from"./detailCommon-OHV8uIJY-cVGKnZAs.js";import{n as R}from"./getReferrerType-DjPOy76W-DRP5VHem.js";import{I as He,R as J}from"./CollapsableReportTable-BnxJMwQF-sE8ho7Bl.js";import{o as pe}from"./mapTimeframeBalancesToTreeNode-Z_evAkYB-C750bIcv.js";import{d as re}from"./mapLoadingInProgressToTreeNode-bnjefl-h-g0Hb8RqK.js";import{l as qe}from"./mapSpacerToTreeNode-UVFWXY4N-D0YtCjzg.js";import{N as Je,I as Ue,X as Xe,Y as Qe,J as Ze,K as eo}from"./recharts-DIy4CLtr.js";import"./liveblocks-DBwZPvBF.js";import"./core-B60xt_9S.js";import"./lottie-C5JCvMhe.js";import"./analytics-C6_KHLMr.js";import"./lexical-ljPdYVBl.js";import"./utils-CUkgdryf.js";import"./TimeframeSwitcher-DKqN8iPa-CLaVUI42.js";import"./graphic-no-data-l-DU4J8fDt-DgTcVZZu.js";import"./AccountRow-DqfBv7EN-CVLrdkv9.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},r=new e.Error().stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="1636b92f-8ff7-40b5-a370-4799b6692f13",e._sentryDebugIdIdentifier="sentry-dbid-1636b92f-8ff7-40b5-a370-4799b6692f13")}catch{}})();const oo=h.div`
2
2
  display: flex;
3
3
  `,ro=h.div`
4
4
  flex: display;
@@ -1,4 +1,4 @@
1
- import{d as i,V as n}from"./index-BC_H0Dvt.js";import{n as r}from"./mui-BmV8FyyJ.js";import"./sentry-CzYU6xgv.js";import"./liveblocks-Bk_rgzjY.js";import"./core-DQCu9afb.js";import"./recharts-K3QEFPOV.js";import"./zeni-epic-state-Blm5vkeu.js";import"./lottie-DVMZSmD1.js";import"./analytics-DjXPotdA.js";import"./lexical-Dwxxs9vM.js";import"./utils-Dyo888a6.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new e.Error().stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="f5b93710-1784-4203-8657-2667e67e818e",e._sentryDebugIdIdentifier="sentry-dbid-f5b93710-1784-4203-8657-2667e67e818e")}catch{}})();const d=r.div`
1
+ import{d as i,V as n}from"./index-DaYznKbB.js";import{n as r}from"./mui-Bw2IfcWM.js";import"./sentry-Bp9GtzEp.js";import"./liveblocks-DBwZPvBF.js";import"./core-B60xt_9S.js";import"./recharts-DIy4CLtr.js";import"./zeni-epic-state-BxNqBiH-.js";import"./lottie-C5JCvMhe.js";import"./analytics-C6_KHLMr.js";import"./lexical-ljPdYVBl.js";import"./utils-CUkgdryf.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new e.Error().stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="f5b93710-1784-4203-8657-2667e67e818e",e._sentryDebugIdIdentifier="sentry-dbid-f5b93710-1784-4203-8657-2667e67e818e")}catch{}})();const d=r.div`
2
2
  display: ${({isOpen:e})=>e?"block":"none"};
3
3
  position: fixed;
4
4
  top: 0;
@@ -1,4 +1,4 @@
1
- import{V as o,H as A,d as L,q as v,bA as ne,F as c,n as re,aN as F,k as ie,b as ae,y as W,o as s,aB as ce,aT as le,a as de,cA as ge,bx as pe,c as $,cB as me,aR as he,aS as fe,b9 as ue,bJ as xe}from"./index-BC_H0Dvt.js";import{a as M}from"./sentry-CzYU6xgv.js";import{n as r}from"./mui-BmV8FyyJ.js";import{R as we}from"./NavBarWithPicker-B7KOipTP-CUXAONnB.js";import{m as Se}from"./analyticsHelper-DTl4FgRU-DaGvE_nI.js";import{M as je}from"./TimeframeSwitcherWithToggle-CPP1tWQ_-B3icDAhc.js";import{I as be,a as ye}from"./CollapsableReportTable-BS7TgK8B-Bop-QYyt.js";import{M as E}from"./usp-line-BBd1wKwW-CBFMyNMj.js";import{F1 as $e,F2 as ke}from"./zeni-epic-state-Blm5vkeu.js";import{D as Pe,T as Ce,C as ze}from"./mapSectionWithAcOnlyToTreeNode-DXbOFz3E-CT2khAb0.js";import{s as H}from"./mapTimeframeBalancesToTreeNode-CQWxQdJu-raLuZY74.js";import"./liveblocks-Bk_rgzjY.js";import"./core-DQCu9afb.js";import"./recharts-K3QEFPOV.js";import"./lottie-DVMZSmD1.js";import"./analytics-DjXPotdA.js";import"./lexical-Dwxxs9vM.js";import"./utils-Dyo888a6.js";import"./TimeframeSwitcher-COkEJy3J-I0fiieuA.js";import"./AccountRow-B16HgkVQ-ClDcgMzh.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="ced1ff05-043e-4811-a528-2a472724e057",e._sentryDebugIdIdentifier="sentry-dbid-ced1ff05-043e-4811-a528-2a472724e057")}catch{}})();const Y="https://storage.googleapis.com/zeni-apis.appspot.com/images/forecast-overview-vs-actual.png",q="https://storage.googleapis.com/zeni-apis.appspot.com/images/forecast-overview-vs-actual-dark.png",ve=r.div`
1
+ import{V as o,H as A,d as L,q as v,bA as ne,F as c,n as re,aN as F,k as ie,b as ae,y as W,o as s,aB as ce,aT as le,a as de,cA as ge,bx as pe,c as $,cB as me,aR as he,aS as fe,b9 as ue,bJ as xe}from"./index-DaYznKbB.js";import{a as M}from"./sentry-Bp9GtzEp.js";import{n as r}from"./mui-Bw2IfcWM.js";import{R as we}from"./NavBarWithPicker-DUqVkR_y-DhJfapY3.js";import{m as Se}from"./analyticsHelper-DePSHzJ2-Bn27sSmX.js";import{M as je}from"./TimeframeSwitcherWithToggle-DcrnzLoy-5NwwIObs.js";import{I as be,a as ye}from"./CollapsableReportTable-BnxJMwQF-sE8ho7Bl.js";import{M as E}from"./usp-line-BBd1wKwW-Do2umI9p.js";import{F1 as $e,F2 as ke}from"./zeni-epic-state-BxNqBiH-.js";import{D as Pe,T as Ce,C as ze}from"./mapSectionWithAcOnlyToTreeNode-DlHnT2so-BTPtJTc-.js";import{s as H}from"./mapTimeframeBalancesToTreeNode-BQXXyttX-DGLgwKeE.js";import"./liveblocks-DBwZPvBF.js";import"./core-B60xt_9S.js";import"./recharts-DIy4CLtr.js";import"./lottie-C5JCvMhe.js";import"./analytics-C6_KHLMr.js";import"./lexical-ljPdYVBl.js";import"./utils-CUkgdryf.js";import"./TimeframeSwitcher-DKqN8iPa-CLaVUI42.js";import"./AccountRow-DqfBv7EN-CVLrdkv9.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="c7136065-c0c8-4541-b627-dfa868fabcf8",e._sentryDebugIdIdentifier="sentry-dbid-c7136065-c0c8-4541-b627-dfa868fabcf8")}catch{}})();const Y="https://storage.googleapis.com/zeni-apis.appspot.com/images/forecast-overview-vs-actual.png",q="https://storage.googleapis.com/zeni-apis.appspot.com/images/forecast-overview-vs-actual-dark.png",ve=r.div`
2
2
  display: flex;
3
3
  flex: 1 1 auto;
4
4
  min-height: 100%;
@@ -1,5 +1,5 @@
1
- import{B as ue,aO as Ne,b as ee,o as u,p as q,q as ce,V as s,bQ as Ue,d as je,cP as Me,aT as ne,F as ke,y as oe,bv as Fe,bT as Ve,al as Ae,aP as qe,ae as de,c as He,gR as Ke,am as Je,R as Ge}from"./index-BC_H0Dvt.js";import{S as l,a as L}from"./sentry-CzYU6xgv.js";import{n as y}from"./mui-BmV8FyyJ.js";import{P as d}from"./core-DQCu9afb.js";import{n as ae}from"./commonTypes-Gv0Fff59-fjxsEGiK.js";import{F as Ye}from"./SetUpAccountSection-CywFKgZo-BTSCNORa.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},e=new t.Error().stack;e&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[e]="89d8753b-13ec-41dd-b83a-c29383735eea",t._sentryDebugIdIdentifier="sentry-dbid-89d8753b-13ec-41dd-b83a-c29383735eea")}catch{}})();function pe(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(t,o).enumerable})),r.push.apply(r,n)}return r}function fe(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?pe(Object(r),!0).forEach(function(n){Ie(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):pe(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function te(t){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?te=function(e){return typeof e}:te=function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},te(t)}function Ie(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function $e(t,e){return Ze(t)||Xe(t,e)||Qe(t,e)||et()}function Ze(t){if(Array.isArray(t))return t}function Xe(t,e){var r=t&&(typeof Symbol<"u"&&t[Symbol.iterator]||t["@@iterator"]);if(r!=null){var n=[],o=!0,i=!1,c,p;try{for(r=r.call(t);!(o=(c=r.next()).done)&&(n.push(c.value),!(e&&n.length===e));o=!0);}catch(a){i=!0,p=a}finally{try{!o&&r.return!=null&&r.return()}finally{if(i)throw p}}return n}}function Qe(t,e){if(t){if(typeof t=="string")return me(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);if(r==="Object"&&t.constructor&&(r=t.constructor.name),r==="Map"||r==="Set")return Array.from(t);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return me(t,e)}}function me(t,e){(e==null||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function et(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
2
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var k=function(e,r,n){var o=!!n,i=l.useRef(n);l.useEffect(function(){i.current=n},[n]),l.useEffect(function(){if(!o||!e)return function(){};var c=function(){i.current&&i.current.apply(i,arguments)};return e.on(r,c),function(){e.off(r,c)}},[o,r,e,i])},ie=function(e){var r=l.useRef(e);return l.useEffect(function(){r.current=e},[e]),r.current},H=function(e){return e!==null&&te(e)==="object"},tt=function(e){return H(e)&&typeof e.then=="function"},rt=function(e){return H(e)&&typeof e.elements=="function"&&typeof e.createToken=="function"&&typeof e.createPaymentMethod=="function"&&typeof e.confirmCardPayment=="function"},he="[object Object]",nt=function t(e,r){if(!H(e)||!H(r))return e===r;var n=Array.isArray(e),o=Array.isArray(r);if(n!==o)return!1;var i=Object.prototype.toString.call(e)===he,c=Object.prototype.toString.call(r)===he;if(i!==c)return!1;if(!i&&!n)return e===r;var p=Object.keys(e),a=Object.keys(r);if(p.length!==a.length)return!1;for(var h={},f=0;f<p.length;f+=1)h[p[f]]=!0;for(var b=0;b<a.length;b+=1)h[a[b]]=!0;var m=Object.keys(h);if(m.length!==p.length)return!1;var P=e,x=r,S=function(I){return t(P[I],x[I])};return m.every(S)},Oe=function(e,r,n){return H(e)?Object.keys(e).reduce(function(o,i){var c=!H(r)||!nt(e[i],r[i]);return n.includes(i)?(c&&console.warn("Unsupported prop change: options.".concat(i," is not a mutable property.")),o):c?fe(fe({},o||{}),{},Ie({},i,e[i])):o},null):null},Le="Invalid prop `stripe` supplied to `Elements`. We recommend using the `loadStripe` utility from `@stripe/stripe-js`. See https://stripe.com/docs/stripe-js/react#elements-props-stripe for details.",ge=function(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Le;if(e===null||rt(e))return e;throw new Error(r)},ot=function(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Le;if(tt(e))return{tag:"async",stripePromise:Promise.resolve(e).then(function(o){return ge(o,r)})};var n=ge(e,r);return n===null?{tag:"empty"}:{tag:"sync",stripe:n}},at=function(e){!e||!e._registerWrapper||!e.registerAppInfo||(e._registerWrapper({name:"react-stripe-js",version:"2.7.3"}),e.registerAppInfo({name:"react-stripe-js",version:"2.7.3",url:"https://stripe.com/docs/stripe-js/react"}))},re=l.createContext(null);re.displayName="ElementsContext";var Re=function(e,r){if(!e)throw new Error("Could not find Elements context; You need to wrap the part of your app that ".concat(r," in an <Elements> provider."));return e},Te=function(e){var r=e.stripe,n=e.options,o=e.children,i=l.useMemo(function(){return ot(r)},[r]),c=l.useState(function(){return{stripe:i.tag==="sync"?i.stripe:null,elements:i.tag==="sync"?i.stripe.elements(n):null}}),p=$e(c,2),a=p[0],h=p[1];l.useEffect(function(){var m=!0,P=function(S){h(function(E){return E.stripe?E:{stripe:S,elements:S.elements(n)}})};return i.tag==="async"&&!a.stripe?i.stripePromise.then(function(x){x&&m&&P(x)}):i.tag==="sync"&&!a.stripe&&P(i.stripe),function(){m=!1}},[i,a,n]);var f=ie(r);l.useEffect(function(){f!==null&&f!==r&&console.warn("Unsupported prop change on Elements: You cannot change the `stripe` prop after setting it.")},[f,r]);var b=ie(n);return l.useEffect(function(){if(a.elements){var m=Oe(n,b,["clientSecret","fonts"]);m&&a.elements.update(m)}},[n,b,a.elements]),l.useEffect(function(){at(a.stripe)},[a.stripe]),l.createElement(re.Provider,{value:a},o)};Te.propTypes={stripe:d.any,options:d.object};var it=function(e){var r=l.useContext(re);return Re(r,e)},st=function(){var e=it("calls useElements()"),r=e.elements;return r};d.func.isRequired;var _e=l.createContext(null);_e.displayName="CustomCheckoutSdkContext";var ct=function(e,r){if(!e)throw new Error("Could not find CustomCheckoutProvider context; You need to wrap the part of your app that ".concat(r," in an <CustomCheckoutProvider> provider."));return e},lt=l.createContext(null);lt.displayName="CustomCheckoutContext";d.any,d.shape({clientSecret:d.string.isRequired,elementsOptions:d.object}).isRequired;var se=function(e){var r=l.useContext(_e),n=l.useContext(re);if(r&&n)throw new Error("You cannot wrap the part of your app that ".concat(e," in both <CustomCheckoutProvider> and <Elements> providers."));return r?ct(r,e):Re(n,e)},ut=function(e){return e.charAt(0).toUpperCase()+e.slice(1)},v=function(e,r){var n="".concat(ut(e),"Element"),o=function(a){var h=a.id,f=a.className,b=a.options,m=b===void 0?{}:b,P=a.onBlur,x=a.onFocus,S=a.onReady,E=a.onChange,I=a.onEscape,U=a.onClick,M=a.onLoadError,F=a.onLoaderStart,z=a.onNetworksChange,$=a.onConfirm,K=a.onCancel,B=a.onShippingAddressChange,N=a.onShippingRateChange,R=se("mounts <".concat(n,">")),_="elements"in R?R.elements:null,w="customCheckoutSdk"in R?R.customCheckoutSdk:null,T=l.useState(null),D=$e(T,2),g=D[0],W=D[1],j=l.useRef(null),V=l.useRef(null);k(g,"blur",P),k(g,"focus",x),k(g,"escape",I),k(g,"click",U),k(g,"loaderror",M),k(g,"loaderstart",F),k(g,"networkschange",z),k(g,"confirm",$),k(g,"cancel",K),k(g,"shippingaddresschange",B),k(g,"shippingratechange",N),k(g,"change",E);var J;S&&(e==="expressCheckout"?J=S:J=function(){S(g)}),k(g,"ready",J),l.useLayoutEffect(function(){if(j.current===null&&V.current!==null&&(_||w)){var O=null;w?O=w.createElement(e,m):_&&(O=_.create(e,m)),j.current=O,W(O),O&&O.mount(V.current)}},[_,w,m]);var le=ie(m);return l.useEffect(function(){if(j.current){var O=Oe(m,le,["paymentRequest"]);O&&j.current.update(O)}},[m,le]),l.useLayoutEffect(function(){return function(){if(j.current&&typeof j.current.destroy=="function")try{j.current.destroy(),j.current=null}catch{}}},[]),l.createElement("div",{id:h,className:f,ref:V})},i=function(a){se("mounts <".concat(n,">"));var h=a.id,f=a.className;return l.createElement("div",{id:h,className:f})},c=r?i:o;return c.propTypes={id:d.string,className:d.string,onChange:d.func,onBlur:d.func,onFocus:d.func,onReady:d.func,onEscape:d.func,onClick:d.func,onLoadError:d.func,onLoaderStart:d.func,onNetworksChange:d.func,onConfirm:d.func,onCancel:d.func,onShippingAddressChange:d.func,onShippingRateChange:d.func,options:d.object},c.displayName=n,c.__elementType=e,c},C=typeof window>"u",dt=l.createContext(null);dt.displayName="EmbeddedCheckoutProviderContext";var pt=function(){var e=se("calls useStripe()"),r=e.stripe;return r};v("auBankAccount",C);v("card",C);var ye=v("cardNumber",C),Se=v("cardExpiry",C),ve=v("cardCvc",C);v("fpxBank",C);v("iban",C);v("idealBank",C);v("p24Bank",C);v("epsBank",C);v("payment",C);v("expressCheckout",C);v("paymentRequestButton",C);v("linkAuthentication",C);v("address",C);v("shippingAddress",C);v("paymentMethodMessaging",C);v("affirmMessage",C);v("afterpayClearpayMessage",C);var De="https://js.stripe.com/v3",ft=/^https:\/\/js\.stripe\.com\/v3\/?(\?.*)?$/;var mt=function(){for(var e=document.querySelectorAll('script[src^="'.concat(De,'"]')),r=0;r<e.length;r++){var n=e[r];if(ft.test(n.src))return n}return null},Ce=function(e){var r="",n=document.createElement("script");n.src="".concat(De).concat(r);var o=document.head||document.body;if(!o)throw new Error("Expected document.body not to be null. Stripe.js requires a <body> element.");return o.appendChild(n),n},ht=function(e,r){!e||!e._registerWrapper||e._registerWrapper({name:"stripe-js",version:"4.3.0",startTime:r})},G=null,X=null,Q=null,gt=function(e){return function(){e(new Error("Failed to load Stripe.js"))}},yt=function(e,r){return function(){window.Stripe?e(window.Stripe):r(new Error("Stripe.js not available"))}},St=function(e){return G!==null?G:(G=new Promise(function(r,n){if(typeof window>"u"||typeof document>"u"){r(null);return}if(window.Stripe){r(window.Stripe);return}try{var o=mt();if(!(o&&e)){if(!o)o=Ce(e);else if(o&&Q!==null&&X!==null){var i;o.removeEventListener("load",Q),o.removeEventListener("error",X),(i=o.parentNode)===null||i===void 0||i.removeChild(o),o=Ce(e)}}Q=yt(r,n),X=gt(n),o.addEventListener("load",Q),o.addEventListener("error",X)}catch(c){n(c);return}}),G.catch(function(r){return G=null,Promise.reject(r)}))},vt=function(e,r,n){if(e===null)return null;var o=e.apply(void 0,r);return ht(o,n),o},Y,We=!1,ze=function(){return Y||(Y=St(null).catch(function(e){return Y=null,Promise.reject(e)}),Y)};Promise.resolve().then(function(){return ze()}).catch(function(t){We||console.warn(t)});var Ct=function(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];We=!0;var o=Date.now();return ze().then(function(i){return vt(i,r,o)})};const bt={containerHeight:new oe(656,720)},xt=y.div`
1
+ import{B as ue,aO as Ne,b as ee,o as u,p as q,q as ce,V as s,bQ as Ue,d as je,cP as Me,aT as ne,F as ke,y as oe,bv as Fe,bT as Ve,al as Ae,aP as qe,ae as de,c as He,gR as Ke,am as Je,R as Ge}from"./index-DaYznKbB.js";import{S as l,a as L}from"./sentry-Bp9GtzEp.js";import{n as y}from"./mui-Bw2IfcWM.js";import{P as d}from"./core-B60xt_9S.js";import{n as ae}from"./commonTypes-BquPusaw-T-jihHvn.js";import{F as Ye}from"./SetUpAccountSection-CgV-DpbH-B1jw26aR.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},e=new t.Error().stack;e&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[e]="40de768c-106e-44cb-a7f5-745652c87d22",t._sentryDebugIdIdentifier="sentry-dbid-40de768c-106e-44cb-a7f5-745652c87d22")}catch{}})();function pe(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(t,o).enumerable})),r.push.apply(r,n)}return r}function fe(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?pe(Object(r),!0).forEach(function(n){Ie(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):pe(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function te(t){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?te=function(e){return typeof e}:te=function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},te(t)}function Ie(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function $e(t,e){return Ze(t)||Xe(t,e)||Qe(t,e)||et()}function Ze(t){if(Array.isArray(t))return t}function Xe(t,e){var r=t&&(typeof Symbol<"u"&&t[Symbol.iterator]||t["@@iterator"]);if(r!=null){var n=[],o=!0,i=!1,c,p;try{for(r=r.call(t);!(o=(c=r.next()).done)&&(n.push(c.value),!(e&&n.length===e));o=!0);}catch(a){i=!0,p=a}finally{try{!o&&r.return!=null&&r.return()}finally{if(i)throw p}}return n}}function Qe(t,e){if(t){if(typeof t=="string")return me(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);if(r==="Object"&&t.constructor&&(r=t.constructor.name),r==="Map"||r==="Set")return Array.from(t);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return me(t,e)}}function me(t,e){(e==null||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function et(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
2
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var k=function(e,r,n){var o=!!n,i=l.useRef(n);l.useEffect(function(){i.current=n},[n]),l.useEffect(function(){if(!o||!e)return function(){};var c=function(){i.current&&i.current.apply(i,arguments)};return e.on(r,c),function(){e.off(r,c)}},[o,r,e,i])},ie=function(e){var r=l.useRef(e);return l.useEffect(function(){r.current=e},[e]),r.current},H=function(e){return e!==null&&te(e)==="object"},tt=function(e){return H(e)&&typeof e.then=="function"},rt=function(e){return H(e)&&typeof e.elements=="function"&&typeof e.createToken=="function"&&typeof e.createPaymentMethod=="function"&&typeof e.confirmCardPayment=="function"},he="[object Object]",nt=function t(e,r){if(!H(e)||!H(r))return e===r;var n=Array.isArray(e),o=Array.isArray(r);if(n!==o)return!1;var i=Object.prototype.toString.call(e)===he,c=Object.prototype.toString.call(r)===he;if(i!==c)return!1;if(!i&&!n)return e===r;var p=Object.keys(e),a=Object.keys(r);if(p.length!==a.length)return!1;for(var h={},f=0;f<p.length;f+=1)h[p[f]]=!0;for(var x=0;x<a.length;x+=1)h[a[x]]=!0;var m=Object.keys(h);if(m.length!==p.length)return!1;var P=e,b=r,S=function(I){return t(P[I],b[I])};return m.every(S)},Oe=function(e,r,n){return H(e)?Object.keys(e).reduce(function(o,i){var c=!H(r)||!nt(e[i],r[i]);return n.includes(i)?(c&&console.warn("Unsupported prop change: options.".concat(i," is not a mutable property.")),o):c?fe(fe({},o||{}),{},Ie({},i,e[i])):o},null):null},Le="Invalid prop `stripe` supplied to `Elements`. We recommend using the `loadStripe` utility from `@stripe/stripe-js`. See https://stripe.com/docs/stripe-js/react#elements-props-stripe for details.",ge=function(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Le;if(e===null||rt(e))return e;throw new Error(r)},ot=function(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Le;if(tt(e))return{tag:"async",stripePromise:Promise.resolve(e).then(function(o){return ge(o,r)})};var n=ge(e,r);return n===null?{tag:"empty"}:{tag:"sync",stripe:n}},at=function(e){!e||!e._registerWrapper||!e.registerAppInfo||(e._registerWrapper({name:"react-stripe-js",version:"2.7.3"}),e.registerAppInfo({name:"react-stripe-js",version:"2.7.3",url:"https://stripe.com/docs/stripe-js/react"}))},re=l.createContext(null);re.displayName="ElementsContext";var Re=function(e,r){if(!e)throw new Error("Could not find Elements context; You need to wrap the part of your app that ".concat(r," in an <Elements> provider."));return e},Te=function(e){var r=e.stripe,n=e.options,o=e.children,i=l.useMemo(function(){return ot(r)},[r]),c=l.useState(function(){return{stripe:i.tag==="sync"?i.stripe:null,elements:i.tag==="sync"?i.stripe.elements(n):null}}),p=$e(c,2),a=p[0],h=p[1];l.useEffect(function(){var m=!0,P=function(S){h(function(E){return E.stripe?E:{stripe:S,elements:S.elements(n)}})};return i.tag==="async"&&!a.stripe?i.stripePromise.then(function(b){b&&m&&P(b)}):i.tag==="sync"&&!a.stripe&&P(i.stripe),function(){m=!1}},[i,a,n]);var f=ie(r);l.useEffect(function(){f!==null&&f!==r&&console.warn("Unsupported prop change on Elements: You cannot change the `stripe` prop after setting it.")},[f,r]);var x=ie(n);return l.useEffect(function(){if(a.elements){var m=Oe(n,x,["clientSecret","fonts"]);m&&a.elements.update(m)}},[n,x,a.elements]),l.useEffect(function(){at(a.stripe)},[a.stripe]),l.createElement(re.Provider,{value:a},o)};Te.propTypes={stripe:d.any,options:d.object};var it=function(e){var r=l.useContext(re);return Re(r,e)},st=function(){var e=it("calls useElements()"),r=e.elements;return r};d.func.isRequired;var _e=l.createContext(null);_e.displayName="CustomCheckoutSdkContext";var ct=function(e,r){if(!e)throw new Error("Could not find CustomCheckoutProvider context; You need to wrap the part of your app that ".concat(r," in an <CustomCheckoutProvider> provider."));return e},lt=l.createContext(null);lt.displayName="CustomCheckoutContext";d.any,d.shape({clientSecret:d.string.isRequired,elementsOptions:d.object}).isRequired;var se=function(e){var r=l.useContext(_e),n=l.useContext(re);if(r&&n)throw new Error("You cannot wrap the part of your app that ".concat(e," in both <CustomCheckoutProvider> and <Elements> providers."));return r?ct(r,e):Re(n,e)},ut=function(e){return e.charAt(0).toUpperCase()+e.slice(1)},v=function(e,r){var n="".concat(ut(e),"Element"),o=function(a){var h=a.id,f=a.className,x=a.options,m=x===void 0?{}:x,P=a.onBlur,b=a.onFocus,S=a.onReady,E=a.onChange,I=a.onEscape,U=a.onClick,M=a.onLoadError,F=a.onLoaderStart,z=a.onNetworksChange,$=a.onConfirm,K=a.onCancel,B=a.onShippingAddressChange,N=a.onShippingRateChange,R=se("mounts <".concat(n,">")),_="elements"in R?R.elements:null,w="customCheckoutSdk"in R?R.customCheckoutSdk:null,T=l.useState(null),D=$e(T,2),g=D[0],W=D[1],j=l.useRef(null),V=l.useRef(null);k(g,"blur",P),k(g,"focus",b),k(g,"escape",I),k(g,"click",U),k(g,"loaderror",M),k(g,"loaderstart",F),k(g,"networkschange",z),k(g,"confirm",$),k(g,"cancel",K),k(g,"shippingaddresschange",B),k(g,"shippingratechange",N),k(g,"change",E);var J;S&&(e==="expressCheckout"?J=S:J=function(){S(g)}),k(g,"ready",J),l.useLayoutEffect(function(){if(j.current===null&&V.current!==null&&(_||w)){var O=null;w?O=w.createElement(e,m):_&&(O=_.create(e,m)),j.current=O,W(O),O&&O.mount(V.current)}},[_,w,m]);var le=ie(m);return l.useEffect(function(){if(j.current){var O=Oe(m,le,["paymentRequest"]);O&&j.current.update(O)}},[m,le]),l.useLayoutEffect(function(){return function(){if(j.current&&typeof j.current.destroy=="function")try{j.current.destroy(),j.current=null}catch{}}},[]),l.createElement("div",{id:h,className:f,ref:V})},i=function(a){se("mounts <".concat(n,">"));var h=a.id,f=a.className;return l.createElement("div",{id:h,className:f})},c=r?i:o;return c.propTypes={id:d.string,className:d.string,onChange:d.func,onBlur:d.func,onFocus:d.func,onReady:d.func,onEscape:d.func,onClick:d.func,onLoadError:d.func,onLoaderStart:d.func,onNetworksChange:d.func,onConfirm:d.func,onCancel:d.func,onShippingAddressChange:d.func,onShippingRateChange:d.func,options:d.object},c.displayName=n,c.__elementType=e,c},C=typeof window>"u",dt=l.createContext(null);dt.displayName="EmbeddedCheckoutProviderContext";var pt=function(){var e=se("calls useStripe()"),r=e.stripe;return r};v("auBankAccount",C);v("card",C);var ye=v("cardNumber",C),Se=v("cardExpiry",C),ve=v("cardCvc",C);v("fpxBank",C);v("iban",C);v("idealBank",C);v("p24Bank",C);v("epsBank",C);v("payment",C);v("expressCheckout",C);v("paymentRequestButton",C);v("linkAuthentication",C);v("address",C);v("shippingAddress",C);v("paymentMethodMessaging",C);v("affirmMessage",C);v("afterpayClearpayMessage",C);var De="https://js.stripe.com/v3",ft=/^https:\/\/js\.stripe\.com\/v3\/?(\?.*)?$/;var mt=function(){for(var e=document.querySelectorAll('script[src^="'.concat(De,'"]')),r=0;r<e.length;r++){var n=e[r];if(ft.test(n.src))return n}return null},Ce=function(e){var r="",n=document.createElement("script");n.src="".concat(De).concat(r);var o=document.head||document.body;if(!o)throw new Error("Expected document.body not to be null. Stripe.js requires a <body> element.");return o.appendChild(n),n},ht=function(e,r){!e||!e._registerWrapper||e._registerWrapper({name:"stripe-js",version:"4.3.0",startTime:r})},G=null,X=null,Q=null,gt=function(e){return function(){e(new Error("Failed to load Stripe.js"))}},yt=function(e,r){return function(){window.Stripe?e(window.Stripe):r(new Error("Stripe.js not available"))}},St=function(e){return G!==null?G:(G=new Promise(function(r,n){if(typeof window>"u"||typeof document>"u"){r(null);return}if(window.Stripe){r(window.Stripe);return}try{var o=mt();if(!(o&&e)){if(!o)o=Ce(e);else if(o&&Q!==null&&X!==null){var i;o.removeEventListener("load",Q),o.removeEventListener("error",X),(i=o.parentNode)===null||i===void 0||i.removeChild(o),o=Ce(e)}}Q=yt(r,n),X=gt(n),o.addEventListener("load",Q),o.addEventListener("error",X)}catch(c){n(c);return}}),G.catch(function(r){return G=null,Promise.reject(r)}))},vt=function(e,r,n){if(e===null)return null;var o=e.apply(void 0,r);return ht(o,n),o},Y,We=!1,ze=function(){return Y||(Y=St(null).catch(function(e){return Y=null,Promise.reject(e)}),Y)};Promise.resolve().then(function(){return ze()}).catch(function(t){We||console.warn(t)});var Ct=function(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];We=!0;var o=Date.now();return ze().then(function(i){return vt(i,r,o)})};const xt={containerHeight:new oe(656,720)},bt=y.div`
3
3
  display: flex;
4
4
  flex-direction: column;
5
5
  gap: 20px;
@@ -24,7 +24,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
24
24
  flex-direction: row;
25
25
  align-items: flex-start;
26
26
  justify-content: center;
27
- max-height: ${t=>bt.containerHeight.valuePx(t.windowSize)};
27
+ max-height: ${t=>xt.containerHeight.valuePx(t.windowSize)};
28
28
  width: ${t=>t.windowSize==="small"?"90%":"544px"};
29
29
 
30
30
  .InputContainer input {
@@ -71,7 +71,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
71
71
  flex-direction: column;
72
72
  align-items: flex-start;
73
73
  height: ${u.sp8};
74
- `,be=y.span`
74
+ `,xe=y.span`
75
75
  height: ${u.sp8};
76
76
  display: none;
77
77
  `,Be=y(Ae)`
@@ -82,14 +82,14 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
82
82
  color: ${q.important};
83
83
  width: 434px;
84
84
  text-align: center;
85
- `,{cardPayment:A,common:{footer:xe}}=ke.getLocalizedStrings(),Tt=y(Je)`
85
+ `,{cardPayment:A,common:{footer:be}}=ke.getLocalizedStrings(),Tt=y(Je)`
86
86
  color: ${t=>t.theme.colors.hero};
87
87
  text-align: center;
88
88
  margin-top: ${u.sp2};
89
- `,Pe=t=>`${t}_form`,we="CardPaymentPaymentForm",_t=({cardPaymentView:t,clientSecret:e,cardSetupInProgress:r,handleConfirmCardSetupIntent:n,updateCardPaymentModalState:o,handleAddCardPaymentSource:i,setCardSetupInProgress:c})=>{const p=pt(),a=st(),[h,f]=L.useState(!1),[b,m]=L.useState(!1),[P,x]=L.useState(!1),[S,E]=L.useState(!1),I=ce(),U=t.cardSetupConfirmStatus.fetchState,M=t.addCardPaymentSourceStatus.fetchState,F=t.cardSetupIntentStatus.fetchState,[z,$]=L.useState(!1),K=async w=>{if(w.preventDefault(),!p||!a)return;const T=a.getElement(ye),D=a.getElement(Se),g=a.getElement(ve);(!T||!D||!g)&&$(!0),E(!0),c(!0),T!=null&&D!=null&&g!=null&&p.confirmCardSetup(e,{payment_method:{card:T}}).then(W=>{E(!1),n(W),W.setupIntent?.id!=null&&i("card","payment_intent",W.setupIntent?.id)}).catch(()=>{E(!1),setTimeout(()=>{c(!1)},2e3)})},B=je(),N={showIcon:!0,style:{base:{...ee.standardRegular.cssObject,color:B.colors.primary,"::placeholder":{color:B.colors.grey2}},invalid:{color:q.important,iconColor:q.important}}},R=U==="In-Progress"||M==="In-Progress"||F==="In-Progress"||S===!0||r===!0,_=h||b||P||U==="In-Progress"||M==="In-Progress"||F==="In-Progress"||S===!0||r===!0;return s.jsx(jt,{windowSize:I,children:s.jsxs(Pt,{onSubmit:K,id:Pe(we),children:[s.jsxs(It,{children:[s.jsx($t,{children:s.jsx(Ot,{children:s.jsx(ye,{options:N,onChange:w=>f(!!w.error)})})}),s.jsx(Lt,{children:s.jsxs(kt,{children:[s.jsx(be,{children:A.cardNumber}),s.jsx(Se,{options:N,onChange:w=>m(!!w.error)})]})}),s.jsx(Rt,{children:s.jsxs(At,{children:[s.jsx(be,{children:A.CVC}),s.jsx(ve,{options:N,onChange:w=>x(!!w.error)})]})})]}),t.cardSetupConfirmStatus.error||z?s.jsx(Be,{children:A.errorMsg}):null,s.jsx(qe,{style:{width:"100%",padding:`${u.sp3} 0 0 0`,borderTop:"none",position:"inherit"},formId:Pe(we),primaryBtn:{label:xe.linkCard,style:{width:"104px",height:u.sp6},isLoading:R,isDisabled:_,type:"submit"},cancelBtn:{label:xe.cancel,style:{width:"104px",height:u.sp6},onClick:()=>{o(!1)}}}),s.jsxs(Tt,{windowSize:I,children:[A.terms.term1,s.jsx(de,{href:A.terms.term2Link,linkText:A.terms.term2}),A.terms.term3,s.jsx(de,{href:A.terms.term4Link,linkText:A.terms.term4})]})]})})},Yt=({isCardPaymentOpen:t,cardPaymentView:e,stripeKey:r,cardSetupInProgress:n,handleConfirmCardSetupIntent:o,updateCardPaymentModalState:i,handleCreateCardSetupIntent:c,handleAddCardPaymentSource:p,handleResetCardPaymentErrorStatuses:a,setCardSetupInProgress:h})=>{const[f,b]=L.useState(""),m=Ct(r),P=Ne(e.addCardPaymentSourceStatus.fetchState),x=e.addCardPaymentSourceStatus.fetchState;L.useEffect(()=>(c(["card"]),()=>{i(!1),b(""),a()}),[]),L.useEffect(()=>{a()},[t]),L.useEffect(()=>{P==="In-Progress"&&x==="Error"?(h(!1),setTimeout(()=>{i(!1)},2e3)):P==="In-Progress"&&x==="Completed"&&(c(["card"]),setTimeout(()=>{i(!1),h(!1)},2e3))},[P,x]),L.useEffect(()=>{(e.cardSetupConfirmStatus.error||e.addCardPaymentSourceStatus.error)&&(c(["card"]),setTimeout(()=>{h(!1)},2e3))},[e.cardSetupConfirmStatus.error,e.addCardPaymentSourceStatus.error]),L.useEffect(()=>{e.clientSecret!=null&&b(e.clientSecret)},[e.clientSecret]);const S={theme:"stripe",variables:{borderRadius:u.sp1,fontSizeBase:ee.standardRegular.fontSize,fontFamily:ee.standardRegular.fontFamily},rules:{".Input":{border:`1px solid ${q.neutralGrey3Light}`,borderRadius:u.sp1,padding:"10px",fontSize:ee.standardRegular.fontSize}}},E={clientSecret:f,appearance:S},I=ce();return s.jsx(Ue,{open:t,children:s.jsxs(xt,{windowSize:I,isError:!!e.cardSetupConfirmStatus.error,children:[s.jsx(wt,{children:A.title}),s.jsx(Et,{children:A.subtitle}),f&&m!=null?s.jsx(Te,{options:E,stripe:m,children:s.jsx(_t,{clientSecret:f,handleConfirmCardSetupIntent:o,updateCardPaymentModalState:i,handleAddCardPaymentSource:p,cardPaymentView:e,cardSetupInProgress:n,setCardSetupInProgress:h})}):s.jsx(Be,{children:A.errorMsg})]})})},Z={sectionWidth:new oe(343,580,726),iconWidthHeight:new oe(20,He[4])},Dt={title:new Ge("standardSemiBold","largeSemiBold")},Ee=t=>t?ae[t]??{name:"Other",iconURL:"https://storage.googleapis.com/zeni-apis.appspot.com/images/other-brand.svg"}:{name:"Other",iconURL:"https://storage.googleapis.com/zeni-apis.appspot.com/images/other-brand.svg"},Wt=(t,e,r,n)=>({header:t,title:`${ue(ae[n.cardsList[0]?.brand]?.name??"")} ${e}`,subtitle:`${ue(ae[n.cardsList[0]?.brand]?.name??"")} ${r} ${n.cardsList[0]?.last4}`,status:n.cardsList[0]?.status}),zt=y.img`
89
+ `,Pe=t=>`${t}_form`,we="CardPaymentPaymentForm",_t=({cardPaymentView:t,clientSecret:e,cardSetupInProgress:r,handleConfirmCardSetupIntent:n,updateCardPaymentModalState:o,handleAddCardPaymentSource:i,setCardSetupInProgress:c})=>{const p=pt(),a=st(),[h,f]=L.useState(!1),[x,m]=L.useState(!1),[P,b]=L.useState(!1),[S,E]=L.useState(!1),I=ce(),U=t.cardSetupConfirmStatus.fetchState,M=t.addCardPaymentSourceStatus.fetchState,F=t.cardSetupIntentStatus.fetchState,[z,$]=L.useState(!1),K=async w=>{if(w.preventDefault(),!p||!a)return;const T=a.getElement(ye),D=a.getElement(Se),g=a.getElement(ve);(!T||!D||!g)&&$(!0),E(!0),c(!0),T!=null&&D!=null&&g!=null&&p.confirmCardSetup(e,{payment_method:{card:T}}).then(W=>{E(!1),n(W),W.setupIntent?.id!=null&&i("card","payment_intent",W.setupIntent?.id)}).catch(()=>{E(!1),setTimeout(()=>{c(!1)},2e3)})},B=je(),N={showIcon:!0,style:{base:{...ee.standardRegular.cssObject,color:B.colors.primary,"::placeholder":{color:B.colors.grey2}},invalid:{color:q.important,iconColor:q.important}}},R=U==="In-Progress"||M==="In-Progress"||F==="In-Progress"||S===!0||r===!0,_=h||x||P||U==="In-Progress"||M==="In-Progress"||F==="In-Progress"||S===!0||r===!0;return s.jsx(jt,{windowSize:I,children:s.jsxs(Pt,{onSubmit:K,id:Pe(we),children:[s.jsxs(It,{children:[s.jsx($t,{children:s.jsx(Ot,{children:s.jsx(ye,{options:N,onChange:w=>f(!!w.error)})})}),s.jsx(Lt,{children:s.jsxs(kt,{children:[s.jsx(xe,{children:A.cardNumber}),s.jsx(Se,{options:N,onChange:w=>m(!!w.error)})]})}),s.jsx(Rt,{children:s.jsxs(At,{children:[s.jsx(xe,{children:A.CVC}),s.jsx(ve,{options:N,onChange:w=>b(!!w.error)})]})})]}),t.cardSetupConfirmStatus.error||z?s.jsx(Be,{children:A.errorMsg}):null,s.jsx(qe,{style:{width:"100%",padding:`${u.sp3} 0 0 0`,borderTop:"none",position:"inherit"},formId:Pe(we),primaryBtn:{label:be.linkCard,style:{width:"104px",height:u.sp6},isLoading:R,isDisabled:_,type:"submit"},cancelBtn:{label:be.cancel,style:{width:"104px",height:u.sp6},onClick:()=>{o(!1)}}}),s.jsxs(Tt,{windowSize:I,children:[A.terms.term1,s.jsx(de,{href:A.terms.term2Link,linkText:A.terms.term2}),A.terms.term3,s.jsx(de,{href:A.terms.term4Link,linkText:A.terms.term4})]})]})})},Yt=({isCardPaymentOpen:t,cardPaymentView:e,stripeKey:r,cardSetupInProgress:n,handleConfirmCardSetupIntent:o,updateCardPaymentModalState:i,handleCreateCardSetupIntent:c,handleAddCardPaymentSource:p,handleResetCardPaymentErrorStatuses:a,setCardSetupInProgress:h})=>{const[f,x]=L.useState(""),m=Ct(r),P=Ne(e.addCardPaymentSourceStatus.fetchState),b=e.addCardPaymentSourceStatus.fetchState;L.useEffect(()=>(c(["card"]),()=>{i(!1),x(""),a()}),[]),L.useEffect(()=>{a()},[t]),L.useEffect(()=>{P==="In-Progress"&&b==="Error"?(h(!1),setTimeout(()=>{i(!1)},2e3)):P==="In-Progress"&&b==="Completed"&&(c(["card"]),setTimeout(()=>{i(!1),h(!1)},2e3))},[P,b]),L.useEffect(()=>{(e.cardSetupConfirmStatus.error||e.addCardPaymentSourceStatus.error)&&(c(["card"]),setTimeout(()=>{h(!1)},2e3))},[e.cardSetupConfirmStatus.error,e.addCardPaymentSourceStatus.error]),L.useEffect(()=>{e.clientSecret!=null&&x(e.clientSecret)},[e.clientSecret]);const S={theme:"stripe",variables:{borderRadius:u.sp1,fontSizeBase:ee.standardRegular.fontSize,fontFamily:ee.standardRegular.fontFamily},rules:{".Input":{border:`1px solid ${q.neutralGrey3Light}`,borderRadius:u.sp1,padding:"10px",fontSize:ee.standardRegular.fontSize}}},E={clientSecret:f,appearance:S},I=ce();return s.jsx(Ue,{open:t,children:s.jsxs(bt,{windowSize:I,isError:!!e.cardSetupConfirmStatus.error,children:[s.jsx(wt,{children:A.title}),s.jsx(Et,{children:A.subtitle}),f&&m!=null?s.jsx(Te,{options:E,stripe:m,children:s.jsx(_t,{clientSecret:f,handleConfirmCardSetupIntent:o,updateCardPaymentModalState:i,handleAddCardPaymentSource:p,cardPaymentView:e,cardSetupInProgress:n,setCardSetupInProgress:h})}):s.jsx(Be,{children:A.errorMsg})]})})},Z={sectionWidth:new oe(343,580,726),iconWidthHeight:new oe(20,He[4])},Dt={title:new Ge("standardSemiBold","largeSemiBold")},Ee=t=>t?ae[t]??{name:"Other",iconURL:"https://storage.googleapis.com/zeni-apis.appspot.com/images/other-brand.svg"}:{name:"Other",iconURL:"https://storage.googleapis.com/zeni-apis.appspot.com/images/other-brand.svg"},Wt=(t,e,r,n)=>({header:t,title:`${ue(ae[n.cardsList[0]?.brand]?.name??"")} ${e}`,subtitle:`${ue(ae[n.cardsList[0]?.brand]?.name??"")} ${r} ${n.cardsList[0]?.last4}`,status:n.cardsList[0]?.status}),zt=y.img`
90
90
  width: ${t=>t.width}px;
91
91
  height: ${t=>t.height}px;
92
- `,Zt=({paymentAccount:t,plaidConnectionDetails:e,connectedAccountProvider:r,sectionId:n,isDisabled:o,hasError:i=!1,isValid:c,style:p,analytics:a,onFetchLinkTokenClick:h,onEstablishConnectionClick:f,onUpdatePaymentAccountStatus:b,onUpdatePaymentAccountLoginStatus:m,onEstablishConnectionSuccess:P,updateCardPaymentModalState:x,cardPaymentView:S,resetCardPaymentViewState:E,cardSetupInProgress:I=!1,googleAPIKey:U,subscriptionBillingAddress:M,subscriptionBillingAddressSectionId:F})=>{const z=je(),$=ce(),{register:K}=Me(),B=z.mode==="light"?new ne(z.colors.brandColorJadeLight):new ne(z.colors.brandColorJadeDark),{common:N,customerOnboardingPage:{sections:{link_payment_account:{title:R,text:_,subText:w},card_payment_method:T}}}=ke.getLocalizedStrings(),D=S.cardsList.length>0,g=S.cardsList[0]?.brand??"other",W=S.addCardPaymentSourceStatus.fetchState,j=Wt(T.header,T.titleText,T.protectedCardNo,S);let V;return D&&(V={header:j.header,title:j.title,subtitle:j.subtitle,status:j.status==="valid"?{name:"Verified",code:"verified"}:{name:"Pending",code:"pending"},showAddPaymentMethodDropDown:D===!0,icon:{element:s.jsx(zt,{src:Ee(g).iconURL,width:Z.iconWidthHeight.valuePx($),height:Z.iconWidthHeight.valuePx($),alt:Ee(g).name,loading:"lazy"}),color:new ne(B)},showCompletedIcon:!1,isError:W==="Error",isLoading:W==="In-Progress",isCompleted:!0,showRightArrow:!1}),s.jsxs(Nt,{windowSize:$,children:[s.jsx(Ut,{type:"hidden",...K(`${n}.connected`,{validate:J=>i?J==="true":!0}),value:c?"true":"false"}),s.jsx(Ye,{connectedAccountProvider:r,paymentAccount:t,plaidConnectionDetails:e,allBankAccounts:[],header:R,sectionTitle:R,defaultSectionTitle:_,defaultSectionSubTitle:w,sectionId:n,isDisabled:o,hasError:i,showZeniAccountSection:!1,isCompleted:t?.providerVerificationStatus?.code?.includes("verified")===!0&&t?.isLoginRequired===!1,showCompletedIcon:$==="small",onFetchLinkTokenClick:h,onEstablishConnectionClick:f,onUpdatePaymentAccountStatus:b,onUpdatePaymentAccountLoginStatus:m,onEstablishConnectionSuccess:P,style:p,icon:{element:s.jsx(Fe,{width:Z.iconWidthHeight.valuePx($),height:Z.iconWidthHeight.valuePx($)}),color:B},analytics:a,productType:"onboarding",resetCardPaymentViewState:E,cardPaymentSectionValues:V,cardPaymentView:S,updateCardPaymentModalState:x,referrer:"Onboarding",cardSetupInProgress:I}),Bt($,N.headers.billingAddress,F,a,M,U,o)]})},Bt=(t,e,r,n,o,i,c)=>{const p={"Add street address":"street_address","Add suite":"suite","Add city":"city","Add state":"state","Select country":"country","Add ZIP code":"zip_code","Add secondary info":"secondary_info"};return s.jsxs(Ft,{children:[s.jsx(Mt,{windowSize:t,isDisabled:c==="disabled",children:e}),s.jsx(Ke,{googleAPIKey:i??"",addressToEdit:o,sectionId:`${r}`,style:{marginLeft:"0px"},elementsStyle:{paddingRight:"0px"},onFormFieldClick:a=>{if(a.target instanceof HTMLInputElement){const{placeholder:h}=a.target;if(h){const f=p[h];f&&n.trackOnboardingBillingAddress(f)}}}})]})},Nt=y.div`
92
+ `,Zt=({paymentAccount:t,plaidConnectionDetails:e,connectedAccountProvider:r,sectionId:n,isDisabled:o,hasError:i=!1,isValid:c,style:p,analytics:a,onFetchLinkTokenClick:h,onEstablishConnectionClick:f,onUpdatePaymentAccountStatus:x,onUpdatePaymentAccountLoginStatus:m,onEstablishConnectionSuccess:P,updateCardPaymentModalState:b,cardPaymentView:S,resetCardPaymentViewState:E,cardSetupInProgress:I=!1,googleAPIKey:U,subscriptionBillingAddress:M,subscriptionBillingAddressSectionId:F})=>{const z=je(),$=ce(),{register:K}=Me(),B=z.mode==="light"?new ne(z.colors.brandColorJadeLight):new ne(z.colors.brandColorJadeDark),{common:N,customerOnboardingPage:{sections:{link_payment_account:{title:R,text:_,subText:w},card_payment_method:T}}}=ke.getLocalizedStrings(),D=S.cardsList.length>0,g=S.cardsList[0]?.brand??"other",W=S.addCardPaymentSourceStatus.fetchState,j=Wt(T.header,T.titleText,T.protectedCardNo,S);let V;return D&&(V={header:j.header,title:j.title,subtitle:j.subtitle,status:j.status==="valid"?{name:"Verified",code:"verified"}:{name:"Pending",code:"pending"},showAddPaymentMethodDropDown:D===!0,icon:{element:s.jsx(zt,{src:Ee(g).iconURL,width:Z.iconWidthHeight.valuePx($),height:Z.iconWidthHeight.valuePx($),alt:Ee(g).name,loading:"lazy"}),color:new ne(B)},showCompletedIcon:!1,isError:W==="Error",isLoading:W==="In-Progress",isCompleted:!0,showRightArrow:!1}),s.jsxs(Nt,{windowSize:$,children:[s.jsx(Ut,{type:"hidden",...K(`${n}.connected`,{validate:J=>i?J==="true":!0}),value:c?"true":"false"}),s.jsx(Ye,{connectedAccountProvider:r,paymentAccount:t,plaidConnectionDetails:e,allBankAccounts:[],header:R,sectionTitle:R,defaultSectionTitle:_,defaultSectionSubTitle:w,sectionId:n,isDisabled:o,hasError:i,showZeniAccountSection:!1,isCompleted:t?.providerVerificationStatus?.code?.includes("verified")===!0&&t?.isLoginRequired===!1,showCompletedIcon:$==="small",onFetchLinkTokenClick:h,onEstablishConnectionClick:f,onUpdatePaymentAccountStatus:x,onUpdatePaymentAccountLoginStatus:m,onEstablishConnectionSuccess:P,style:p,icon:{element:s.jsx(Fe,{width:Z.iconWidthHeight.valuePx($),height:Z.iconWidthHeight.valuePx($)}),color:B},analytics:a,productType:"onboarding",resetCardPaymentViewState:E,cardPaymentSectionValues:V,cardPaymentView:S,updateCardPaymentModalState:b,referrer:"Onboarding",cardSetupInProgress:I}),Bt($,N.headers.billingAddress,F,a,M,U,o)]})},Bt=(t,e,r,n,o,i,c)=>{const p={"Add street address":"street_address","Add suite":"suite","Add city":"city","Add state":"state","Select country":"country","Add ZIP code":"zip_code","Add secondary info":"secondary_info"};return s.jsxs(Ft,{children:[s.jsx(Mt,{windowSize:t,isDisabled:c==="disabled",children:e}),s.jsx(Ke,{googleAPIKey:i??"",addressToEdit:o,sectionId:`${r}`,style:{marginLeft:"0px"},elementsStyle:{paddingRight:"0px"},onFormFieldClick:a=>{if(a.target instanceof HTMLInputElement){const{placeholder:h}=a.target;if(h){const f=p[h];f&&n.trackOnboardingBillingAddress(f)}}}})]})},Nt=y.div`
93
93
  display: flex;
94
94
  flex-direction: column;
95
95
  width: ${t=>Z.sectionWidth.valuePx(t.windowSize)};
@@ -1,4 +1,4 @@
1
- import{d as be,q as I,F as y,V as t,bA as le,aN as a,bM as De,o as s,cj as Oe,ck as _e,k as U,aR as Y,cl as we,n as Le,b as $e,cm as Ae,aO as Ve,cn as Me,ap as We,co as He,cp as Be,b2 as Ue,aB as H,cq as Ee,y as b,cr as Fe,cs as je,c as $,ct as ee,cc as N,a9 as Ke,ac as Ze,cu as qe,cv as Xe,aH as Ge,ai as D,cw as Qe,al as O,am as te,p as A,cx as Je,cg as Se,b9 as ie,cy as ke,bK as Ye,cz as et}from"./index-BC_H0Dvt.js";import{S as ce,a as v}from"./sentry-CzYU6xgv.js";import{n as i}from"./mui-BmV8FyyJ.js";import{oV as Ie,bg as Q}from"./zeni-epic-state-Blm5vkeu.js";import{P as Ce}from"./Menu-CjpiRi32-DbHZh-UA.js";import{T as Re}from"./RoleWithToolTip-New3P2vC-CGrSjh7e.js";import"./liveblocks-Bk_rgzjY.js";import"./core-DQCu9afb.js";import"./recharts-K3QEFPOV.js";import"./lottie-DVMZSmD1.js";import"./analytics-DjXPotdA.js";import"./lexical-Dwxxs9vM.js";import"./utils-Dyo888a6.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new e.Error().stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="98b3ea0b-b99d-4e9b-9f8a-48a86c525caa",e._sentryDebugIdIdentifier="sentry-dbid-98b3ea0b-b99d-4e9b-9f8a-48a86c525caa")}catch{}})();const P=y.getLocalizedStrings().peoplePage.header,S=[{key:"name",value:P.name,sortOrder:"ascending",width:new b(32,26,26,30,32)},{key:"role",value:P.role,sortOrder:"ascending",width:new b(18,17,17,21,19)},{key:"manager",value:P.manager,sortOrder:"ascending",width:new b(20,20,20,19,20)},{key:"department",value:P.department,sortOrder:"ascending",width:new b(20,20,20,19,20)},{key:"lastSeen",value:P.lastSeen,sortOrder:"ascending",width:new b(10,17,17,11,9)}],B=[{key:"name",value:P.name,sortOrder:"ascending",width:new b(32,26,26,32,33)},{key:"role",value:P.role,sortOrder:"ascending",width:new b(58,57,57,57,58)},{key:"lastSeen",value:P.lastSeen,sortOrder:"ascending",width:new b(10,17,17,11,9)}],tt=58;function it({userNameSticky:e,sortConfig:o,onColumnSortConfigChanged:l,mode:d}){const m=I(),[p,x]=v.useState(Ge(d==="off"?S:B));v.useEffect(()=>{const n=[...p];for(const r of n)r.key===o.sortKey?r.sortOrder=o.sortOrder:r.sortOrder="ascending";x(n)},[o.sortKey,o.sortOrder]);const h=(n,r)=>{let u=r;o.sortKey===n&&(u=r==="ascending"?"descending":"ascending"),l?.(n,u)};return t.jsx(rt,{height:tt,"data-testid":a("people-list-header-row"),children:p.map(n=>t.jsxs(lt,{userNameSticky:!!e&&n.key==="name",sortDataValue:o.sortKey,actualDataValue:n.key,wrapperWidth:n.width,windowSize:m,children:[t.jsxs(dt,{"data-testid":a("people-list-header",n.key),onClick:()=>h(n.key,n.sortOrder),children:[t.jsx(D,{children:n.value}),t.jsx(ot,{sortDataValue:o.sortKey,headerdata:n,children:t.jsx(Qe,{width:12,height:12})})]}),t.jsx(at,{isVisible:o.sortKey===n.key&&n.key!=="name",children:t.jsx(nt,{"data-testid":a("people-list-header-sort-cancel",n.key),onClick:()=>h("name","ascending")})})]},n.key))})}const st=ce.memo(it),ot=i.div`
1
+ import{d as $e,q as I,F as y,V as t,bA as le,aN as a,bM as De,o as s,cj as Oe,ck as _e,k as U,aR as Y,cl as we,n as Le,b as be,cm as Ae,aO as Ve,cn as Me,ap as We,co as He,cp as Be,b2 as Ue,aB as H,cq as Ee,y as $,cr as Fe,cs as je,c as b,ct as ee,cc as N,a9 as Ke,ac as Ze,cu as qe,cv as Xe,aH as Ge,ai as D,cw as Qe,al as O,am as te,p as A,cx as Je,cg as Se,b9 as ie,cy as ke,bK as Ye,cz as et}from"./index-DaYznKbB.js";import{S as ce,a as v}from"./sentry-Bp9GtzEp.js";import{n as i}from"./mui-Bw2IfcWM.js";import{oV as Ie,bg as Q}from"./zeni-epic-state-BxNqBiH-.js";import{P as Ce}from"./Menu-CCfXjS2S-nrC4lt1z.js";import{T as Re}from"./RoleWithToolTip-BE5aZQ2g-BCdI84kh.js";import"./liveblocks-DBwZPvBF.js";import"./core-B60xt_9S.js";import"./recharts-DIy4CLtr.js";import"./lottie-C5JCvMhe.js";import"./analytics-C6_KHLMr.js";import"./lexical-ljPdYVBl.js";import"./utils-CUkgdryf.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new e.Error().stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="f5a72f29-696f-49af-b277-e150998934ee",e._sentryDebugIdIdentifier="sentry-dbid-f5a72f29-696f-49af-b277-e150998934ee")}catch{}})();const P=y.getLocalizedStrings().peoplePage.header,S=[{key:"name",value:P.name,sortOrder:"ascending",width:new $(32,26,26,30,32)},{key:"role",value:P.role,sortOrder:"ascending",width:new $(18,17,17,21,19)},{key:"manager",value:P.manager,sortOrder:"ascending",width:new $(20,20,20,19,20)},{key:"department",value:P.department,sortOrder:"ascending",width:new $(20,20,20,19,20)},{key:"lastSeen",value:P.lastSeen,sortOrder:"ascending",width:new $(10,17,17,11,9)}],B=[{key:"name",value:P.name,sortOrder:"ascending",width:new $(32,26,26,32,33)},{key:"role",value:P.role,sortOrder:"ascending",width:new $(58,57,57,57,58)},{key:"lastSeen",value:P.lastSeen,sortOrder:"ascending",width:new $(10,17,17,11,9)}],tt=58;function it({userNameSticky:e,sortConfig:o,onColumnSortConfigChanged:l,mode:d}){const m=I(),[p,x]=v.useState(Ge(d==="off"?S:B));v.useEffect(()=>{const n=[...p];for(const r of n)r.key===o.sortKey?r.sortOrder=o.sortOrder:r.sortOrder="ascending";x(n)},[o.sortKey,o.sortOrder]);const h=(n,r)=>{let u=r;o.sortKey===n&&(u=r==="ascending"?"descending":"ascending"),l?.(n,u)};return t.jsx(rt,{height:tt,"data-testid":a("people-list-header-row"),children:p.map(n=>t.jsxs(lt,{userNameSticky:!!e&&n.key==="name",sortDataValue:o.sortKey,actualDataValue:n.key,wrapperWidth:n.width,windowSize:m,children:[t.jsxs(dt,{"data-testid":a("people-list-header",n.key),onClick:()=>h(n.key,n.sortOrder),children:[t.jsx(D,{children:n.value}),t.jsx(ot,{sortDataValue:o.sortKey,headerdata:n,children:t.jsx(Qe,{width:12,height:12})})]}),t.jsx(at,{isVisible:o.sortKey===n.key&&n.key!=="name",children:t.jsx(nt,{"data-testid":a("people-list-header-sort-cancel",n.key),onClick:()=>h("name","ascending")})})]},n.key))})}const st=ce.memo(it),ot=i.div`
2
2
  display: flex;
3
3
  align-items: center;
4
4
  transform: ${e=>e.sortDataValue===e.headerdata.key&&e.headerdata.sortOrder==="descending"?"rotate(180deg)":"rotate(0deg)"};
@@ -81,7 +81,7 @@ import{d as be,q as I,F as y,V as t,bA as le,aN as a,bM as De,o as s,cj as Oe,ck
81
81
  justify-content: flex-start;
82
82
  .single-select-field__single-value {
83
83
  color: ${e=>e.theme.colors.hero};
84
- ${$e.smallRegular.css};
84
+ ${be.smallRegular.css};
85
85
  }
86
86
  }
87
87
 
@@ -103,7 +103,7 @@ import{d as be,q as I,F as y,V as t,bA as le,aN as a,bM as De,o as s,cj as Oe,ck
103
103
  }
104
104
  `,wt=i(D)`
105
105
  color: ${e=>e.theme.colors.hero};
106
- `,{peoplePage:T}=y.getLocalizedStrings(),vt=({peopleData:e,userNameSticky:o,allClasses:l,allManagers:d,onResendInvite:m,onDeleteUser:p,onRowClick:x})=>{const[h,n]=v.useState(!1),r=I(),u=ft(e,d,l),w=e.userRole.userRoles.filter(g=>!Ie(g)),f=()=>{p?.(e)},j=()=>{x?.(e.userId)};return t.jsxs(yt,{windowSize:r,isInviteAccepted:e.userRole.invitationStatus==="accepted",onClick:j,"data-testid":a("people-list-row",e.userId),children:[t.jsx(bt,{wrapperWidth:S[0].width,windowSize:r,userNameSticky:o,children:t.jsxs(jt,{children:[t.jsx(ee,{personBasic:e.user,styles:{height:s.sp6,width:s.sp6}}),t.jsxs(St,{children:[e.user?.firstName?t.jsxs(kt,{className:"personNameTxt",isInviteAccepted:e.userRole.invitationStatus==="accepted",children:[e.user?.firstName??""," ",e.user?.lastName??""]}):null,t.jsx(Ct,{isInviteAccepted:e.userRole.invitationStatus==="accepted",className:"emailTxt",children:e.userRole.userEmail??""})]})]})}),t.jsx(It,{wrapperWidth:S[1].width,windowSize:r,children:t.jsx(Re,{roles:w})}),t.jsxs(t.Fragment,{children:[Q(e.userRole.userRoles)?t.jsx(Z,{wrapperWidth:S[2].width,windowSize:r,children:t.jsx(L,{children:T.notApplicable})}):t.jsx(t.Fragment,{children:u.manager?t.jsx(ve,{wrapperWidth:S[2].width,windowSize:r,children:t.jsx(L,{children:u.manager})}):t.jsx(Z,{wrapperWidth:S[2].width,windowSize:r,children:t.jsx(L,{children:T.noManager})})}),Q(e.userRole.userRoles)?t.jsx(Z,{wrapperWidth:S[3].width,windowSize:r,children:t.jsx(L,{children:T.notApplicable})}):t.jsx(t.Fragment,{children:u.department?t.jsx(ve,{wrapperWidth:S[3].width,windowSize:r,children:t.jsx(L,{children:u.department})}):t.jsx(Z,{wrapperWidth:S[3].width,windowSize:r,children:t.jsx(L,{children:T.emptyDepartmentPlaceholderText})})})]}),t.jsxs(Rt,{"data-testid":a("last-seen-container",e.userId),wrapperWidth:S[4].width,windowSize:r,children:[e.userRole.invitationStatus==="accepted"?t.jsx($t,{children:u.lastSeen}):t.jsx(Tt,{children:e.update==="resendInvite"?t.jsx(U,{size:"Small",start:!0}):t.jsxs(t.Fragment,{children:[t.jsx(Pt,{"data-testid":a("resend-invite-text",e.userId),onClick:g=>{g.stopPropagation(),m?.(e.userId)},children:T.resendInvite.label}),t.jsx(Nt,{children:t.jsx(Dt,{children:`${T.sentText} ${N(e?.userRole?.inviteUpdateTime?e.userRole.inviteUpdateTime:e.userRole.inviteCreateTime)}`})})]})}),t.jsx(zt,{isInviteAccepted:e.userRole.invitationStatus==="accepted",className:"menu-icon",children:t.jsx(Ce,{menuItems:t.jsxs(Ot,{"data-testid":a("menu-items-container",e.userId),children:[t.jsx(fe,{"data-testid":a("edit-people-list-row"),onClick:()=>{n(!1),j()},children:T.invitePage.editTitle}),t.jsx(fe,{"data-testid":a("delete-people-list-row",e.userId),isDelete:!0,onClick:g=>{g.stopPropagation(),n(!1),f()},children:T.deleteOverlay.title})]}),setIsMenuOpen:n,isMenuOpen:h})})]})]})};function ft(e,o,l){const d=l.find(p=>e.userRole.accountingClassIDs[0]===p.classId),m=o.find(p=>p.userId===e.userRole.managerUserId);return{name:`${e.user?.firstName??""} ${e.user?.lastName??""}`,role:{selectedOptions:e.userRole.userRoles,allOptions:Je},manager:m?.user?`${m?.user?.firstName} ${m?.user?.lastName}`:void 0,department:d?d?.className:void 0,lastSeen:e?.userRole?.userLastCheckInTimeIntoTenant?N(e.userRole.userLastCheckInTimeIntoTenant):"-"}}const yt=i.div`
106
+ `,{peoplePage:T}=y.getLocalizedStrings(),vt=({peopleData:e,userNameSticky:o,allClasses:l,allManagers:d,onResendInvite:m,onDeleteUser:p,onRowClick:x})=>{const[h,n]=v.useState(!1),r=I(),u=ft(e,d,l),w=e.userRole.userRoles.filter(g=>!Ie(g)),f=()=>{p?.(e)},j=()=>{x?.(e.userId)};return t.jsxs(yt,{windowSize:r,isInviteAccepted:e.userRole.invitationStatus==="accepted",onClick:j,"data-testid":a("people-list-row",e.userId),children:[t.jsx($t,{wrapperWidth:S[0].width,windowSize:r,userNameSticky:o,children:t.jsxs(jt,{children:[t.jsx(ee,{personBasic:e.user,styles:{height:s.sp6,width:s.sp6}}),t.jsxs(St,{children:[e.user?.firstName?t.jsxs(kt,{className:"personNameTxt",isInviteAccepted:e.userRole.invitationStatus==="accepted",children:[e.user?.firstName??""," ",e.user?.lastName??""]}):null,t.jsx(Ct,{isInviteAccepted:e.userRole.invitationStatus==="accepted",className:"emailTxt",children:e.userRole.userEmail??""})]})]})}),t.jsx(It,{wrapperWidth:S[1].width,windowSize:r,children:t.jsx(Re,{roles:w})}),t.jsxs(t.Fragment,{children:[Q(e.userRole.userRoles)?t.jsx(Z,{wrapperWidth:S[2].width,windowSize:r,children:t.jsx(L,{children:T.notApplicable})}):t.jsx(t.Fragment,{children:u.manager?t.jsx(ve,{wrapperWidth:S[2].width,windowSize:r,children:t.jsx(L,{children:u.manager})}):t.jsx(Z,{wrapperWidth:S[2].width,windowSize:r,children:t.jsx(L,{children:T.noManager})})}),Q(e.userRole.userRoles)?t.jsx(Z,{wrapperWidth:S[3].width,windowSize:r,children:t.jsx(L,{children:T.notApplicable})}):t.jsx(t.Fragment,{children:u.department?t.jsx(ve,{wrapperWidth:S[3].width,windowSize:r,children:t.jsx(L,{children:u.department})}):t.jsx(Z,{wrapperWidth:S[3].width,windowSize:r,children:t.jsx(L,{children:T.emptyDepartmentPlaceholderText})})})]}),t.jsxs(Rt,{"data-testid":a("last-seen-container",e.userId),wrapperWidth:S[4].width,windowSize:r,children:[e.userRole.invitationStatus==="accepted"?t.jsx(bt,{children:u.lastSeen}):t.jsx(Tt,{children:e.update==="resendInvite"?t.jsx(U,{size:"Small",start:!0}):t.jsxs(t.Fragment,{children:[t.jsx(Pt,{"data-testid":a("resend-invite-text",e.userId),onClick:g=>{g.stopPropagation(),m?.(e.userId)},children:T.resendInvite.label}),t.jsx(Nt,{children:t.jsx(Dt,{children:`${T.sentText} ${N(e?.userRole?.inviteUpdateTime?e.userRole.inviteUpdateTime:e.userRole.inviteCreateTime)}`})})]})}),t.jsx(zt,{isInviteAccepted:e.userRole.invitationStatus==="accepted",className:"menu-icon",children:t.jsx(Ce,{menuItems:t.jsxs(Ot,{"data-testid":a("menu-items-container",e.userId),children:[t.jsx(fe,{"data-testid":a("edit-people-list-row"),onClick:()=>{n(!1),j()},children:T.invitePage.editTitle}),t.jsx(fe,{"data-testid":a("delete-people-list-row",e.userId),isDelete:!0,onClick:g=>{g.stopPropagation(),n(!1),f()},children:T.deleteOverlay.title})]}),setIsMenuOpen:n,isMenuOpen:h})})]})]})};function ft(e,o,l){const d=l.find(p=>e.userRole.accountingClassIDs[0]===p.classId),m=o.find(p=>p.userId===e.userRole.managerUserId);return{name:`${e.user?.firstName??""} ${e.user?.lastName??""}`,role:{selectedOptions:e.userRole.userRoles,allOptions:Je},manager:m?.user?`${m?.user?.firstName} ${m?.user?.lastName}`:void 0,department:d?d?.className:void 0,lastSeen:e?.userRole?.userLastCheckInTimeIntoTenant?N(e.userRole.userLastCheckInTimeIntoTenant):"-"}}const yt=i.div`
107
107
  border: 1px solid ${e=>e.theme.colors.grey3};
108
108
  border-radius: ${s.sp2};
109
109
  display: flex;
@@ -157,7 +157,7 @@ import{d as be,q as I,F as y,V as t,bA as le,aN as a,bM as De,o as s,cj as Oe,ck
157
157
  }
158
158
  background-color: ${e=>e.theme.colors.grey5};
159
159
  cursor: pointer;
160
- `,bt=i(Se)`
160
+ `,$t=i(Se)`
161
161
  width: ${e=>e.wrapperWidth.valuePercentage(e.windowSize)};
162
162
  max-width: ${e=>e.wrapperWidth.valuePercentage(e.windowSize)};
163
163
  height: 100%;
@@ -177,7 +177,7 @@ import{d as be,q as I,F as y,V as t,bA as le,aN as a,bM as De,o as s,cj as Oe,ck
177
177
  -webkit-box-orient: vertical;
178
178
  text-overflow: ellipsis;
179
179
  overflow: hidden;
180
- `,$t=i(O)`
180
+ `,bt=i(O)`
181
181
  overflow: hidden;
182
182
  display: -webkit-box;
183
183
  -webkit-line-clamp: 1;
@@ -272,7 +272,7 @@ import{d as be,q as I,F as y,V as t,bA as le,aN as a,bM as De,o as s,cj as Oe,ck
272
272
  :hover {
273
273
  color: ${e=>e.theme.colors.primary};
274
274
  }
275
- `,_t={width:new b(343,580,726)},{peoplePage:k}=y.getLocalizedStrings(),Lt=({peopleData:e,allClasses:o,allManagers:l,onRowClick:d,onResendInvite:m})=>{const p=I(),x=e.userRole.userRoles.filter(r=>!Ie(r)),h=si(l,e.userRole.managerUserId),n=oi(o,e.userRole.accountingClassIDs);return t.jsxs(At,{windowSize:p,isInviteAccepted:e.userRole.invitationStatus==="accepted","data-testid":a("people-list-row-small",e.userId),onClick:()=>{d?.(e.userId)},children:[t.jsxs(Vt,{children:[t.jsx(ee,{personBasic:e.user,styles:{height:s.sp6,width:s.sp6}}),t.jsx(Wt,{children:t.jsxs(Ht,{children:[t.jsxs(Bt,{className:"personNameTxt",isInviteAccepted:e.userRole.invitationStatus==="accepted",children:[e.user?.firstName??""," ",e.user?.lastName??""]}),t.jsx(Ut,{isInviteAccepted:e.userRole.invitationStatus==="accepted",className:"emailTxt",children:e.userRole.userEmail??""})]})}),e.userRole.invitationStatus==="accepted"?t.jsxs(Et,{className:"lastSeen",children:[t.jsx(Ft,{className:"lastSeenDateTxt",children:e?.userRole?.userLastCheckInTimeIntoTenant?N(e.userRole.userLastCheckInTimeIntoTenant):"-"}),t.jsx(Kt,{children:k.header.lastSeen})]}):t.jsx(Zt,{"data-testid":a("resend-invite-wrapper",e.userId),children:e.update==="resendInvite"?t.jsx(U,{size:"Small",start:!0}):t.jsxs(t.Fragment,{children:[t.jsx(qt,{"data-testid":a("resend-invite-text",e.userId),onClick:r=>{r.stopPropagation(),m?.(e.userId)},children:k.resendInvite.label}),t.jsx(Xt,{children:t.jsx(Gt,{children:`${k.sentText} ${N(e?.userRole?.inviteUpdateTime?e.userRole.inviteUpdateTime:e.userRole.inviteCreateTime)}`})})]})})]}),t.jsx(Mt,{children:t.jsxs(se,{className:"personDetails",children:[t.jsxs(pe,{children:[t.jsxs(he,{children:[k.header.role,":"]}),t.jsx(oe,{children:t.jsx(Re,{roles:x})})]}),t.jsxs(Qt,{children:[t.jsxs(Yt,{children:[k.header.manager,":"]}),Q(e.userRole.userRoles)?t.jsx(q,{children:k.notApplicable}):t.jsx(t.Fragment,{children:h?t.jsx(ti,{children:h}):t.jsx(q,{children:k.noManager})})]}),t.jsxs(Jt,{children:[t.jsxs(ei,{children:[k.header.department,":"]}),Q(e.userRole.userRoles)?t.jsx(q,{children:k.notApplicable}):t.jsx(t.Fragment,{children:n?t.jsx(ii,{children:n}):t.jsx(q,{children:k.emptyDepartmentPlaceholderText})})]})]})})]})},At=i.div`
275
+ `,_t={width:new $(343,580,726)},{peoplePage:k}=y.getLocalizedStrings(),Lt=({peopleData:e,allClasses:o,allManagers:l,onRowClick:d,onResendInvite:m})=>{const p=I(),x=e.userRole.userRoles.filter(r=>!Ie(r)),h=si(l,e.userRole.managerUserId),n=oi(o,e.userRole.accountingClassIDs);return t.jsxs(At,{windowSize:p,isInviteAccepted:e.userRole.invitationStatus==="accepted","data-testid":a("people-list-row-small",e.userId),onClick:()=>{d?.(e.userId)},children:[t.jsxs(Vt,{children:[t.jsx(ee,{personBasic:e.user,styles:{height:s.sp6,width:s.sp6}}),t.jsx(Wt,{children:t.jsxs(Ht,{children:[t.jsxs(Bt,{className:"personNameTxt",isInviteAccepted:e.userRole.invitationStatus==="accepted",children:[e.user?.firstName??""," ",e.user?.lastName??""]}),t.jsx(Ut,{isInviteAccepted:e.userRole.invitationStatus==="accepted",className:"emailTxt",children:e.userRole.userEmail??""})]})}),e.userRole.invitationStatus==="accepted"?t.jsxs(Et,{className:"lastSeen",children:[t.jsx(Ft,{className:"lastSeenDateTxt",children:e?.userRole?.userLastCheckInTimeIntoTenant?N(e.userRole.userLastCheckInTimeIntoTenant):"-"}),t.jsx(Kt,{children:k.header.lastSeen})]}):t.jsx(Zt,{"data-testid":a("resend-invite-wrapper",e.userId),children:e.update==="resendInvite"?t.jsx(U,{size:"Small",start:!0}):t.jsxs(t.Fragment,{children:[t.jsx(qt,{"data-testid":a("resend-invite-text",e.userId),onClick:r=>{r.stopPropagation(),m?.(e.userId)},children:k.resendInvite.label}),t.jsx(Xt,{children:t.jsx(Gt,{children:`${k.sentText} ${N(e?.userRole?.inviteUpdateTime?e.userRole.inviteUpdateTime:e.userRole.inviteCreateTime)}`})})]})})]}),t.jsx(Mt,{children:t.jsxs(se,{className:"personDetails",children:[t.jsxs(pe,{children:[t.jsxs(he,{children:[k.header.role,":"]}),t.jsx(oe,{children:t.jsx(Re,{roles:x})})]}),t.jsxs(Qt,{children:[t.jsxs(Yt,{children:[k.header.manager,":"]}),Q(e.userRole.userRoles)?t.jsx(q,{children:k.notApplicable}):t.jsx(t.Fragment,{children:h?t.jsx(ti,{children:h}):t.jsx(q,{children:k.noManager})})]}),t.jsxs(Jt,{children:[t.jsxs(ei,{children:[k.header.department,":"]}),Q(e.userRole.userRoles)?t.jsx(q,{children:k.notApplicable}):t.jsx(t.Fragment,{children:n?t.jsx(ii,{children:n}):t.jsx(q,{children:k.emptyDepartmentPlaceholderText})})]})]})})]})},At=i.div`
276
276
  border: 1px solid ${e=>e.theme.colors.grey3};
277
277
  border-radius: ${s.sp2};
278
278
  display: flex;
@@ -358,7 +358,7 @@ import{d as be,q as I,F as y,V as t,bA as le,aN as a,bM as De,o as s,cj as Oe,ck
358
358
  width: 70%;
359
359
  `,ti=i(oe)``,ii=i(oe)``,q=i(oe)`
360
360
  color: ${e=>e.theme.colors.grey1};
361
- `,si=(e,o)=>{const l=e.find(d=>d.userId===o);return l?.user?`${l?.user?.firstName} ${l?.user?.lastName}`:void 0},oi=(e,o)=>{const l=e.find(d=>o[0]===d.classId);return l?l.className:void 0},ri=e=>I()==="small"?t.jsx(Lt,{...e}):t.jsx(vt,{...e}),X=y.getLocalizedStrings().peoplePage,li=({peopleData:e,userNameSticky:o,onResendInvite:l,onDeleteUser:d,onRowClick:m})=>{const[p,x]=v.useState(!1),h=I(),n=ni(e),r=f=>{const j=[];return f.map(g=>{const R=ke.roles.find(V=>V.value===g);return R!=null&&j.push(R?.label??""),j}),j.length>0?j.join(", "):"-"},u=()=>{d?.(e)},w=()=>{m?.(e.userId)};return t.jsxs(ai,{"data-testid":a("zeni-people-list-row-medium",e.userId),windowSize:h,isInviteAccepted:e.userRole.invitationStatus==="accepted",onClick:w,children:[t.jsx(di,{wrapperWidth:B[0].width,windowSize:h,userNameSticky:o,children:t.jsxs(pi,{children:[t.jsx(ee,{personBasic:e.user,styles:{height:s.sp6,width:s.sp6}}),t.jsxs(hi,{children:[e.user?.firstName?t.jsxs(mi,{isInviteAccepted:e.userRole.invitationStatus==="accepted",className:"personNameTxt",children:[e.user?.firstName??""," ",e.user?.lastName??""]}):null,t.jsx(xi,{isInviteAccepted:e.userRole.invitationStatus==="accepted",className:"emailTxt",children:e.userRole.userEmail??""})]})]})}),t.jsx(ui,{widthNumber:B[1].width,windowSize:h,children:t.jsx(ci,{wrapperWidth:new b(100,100),windowSize:h,children:r(e.userRole.userRoles)})}),t.jsxs(yi,{"data-testid":a("people-list-row-medium-last-seen",e.userId),wrapperWidth:B[2].width,windowSize:h,children:[e.userRole.invitationStatus==="accepted"?t.jsx(bi,{children:n.lastSeen}):t.jsx(gi,{"data-testid":a("people-list-row-medium-resend-invite",e.userId),children:e.update==="resendInvite"?t.jsx(U,{size:"Small",start:!0}):t.jsxs(t.Fragment,{children:[t.jsx(wi,{"data-testid":a("people-list-row-medium-resend-invite-text",e.userId),onClick:f=>{f.stopPropagation(),l?.(e.userId)},children:X.resendInvite.label}),t.jsx(vi,{children:t.jsx(fi,{children:`${X.sentText} ${N(e?.userRole?.inviteUpdateTime?e.userRole.inviteUpdateTime:e.userRole.inviteCreateTime)}`})})]})}),t.jsx($i,{"data-testid":a("people-list-row-medium-menu",e.userId),isInviteAccepted:e.userRole.invitationStatus==="accepted",className:"menu-icon",children:t.jsx(Ce,{menuItems:t.jsxs(ji,{children:[t.jsx(ye,{"data-testid":a("people-list-row-medium-menu-edit",e.userId),onClick:()=>{x(!1),w()},children:X.invitePage.editTitle}),t.jsx(ye,{"data-testid":a("people-list-row-menu-delete",e.userId),isDelete:!0,onClick:f=>{f.stopPropagation(),x(!1),u()},children:X.deleteOverlay.title})]}),setIsMenuOpen:x,isMenuOpen:p})})]})]})};function ni(e){return{name:`${e.user?.firstName??""} ${e.user?.lastName??""}`,role:{selectedOptions:e.userRole.userRoles,allOptions:ke.roles},lastSeen:e?.userRole?.userLastCheckInTimeIntoTenant?N(e.userRole.userLastCheckInTimeIntoTenant):"-"}}const ai=i.div`
361
+ `,si=(e,o)=>{const l=e.find(d=>d.userId===o);return l?.user?`${l?.user?.firstName} ${l?.user?.lastName}`:void 0},oi=(e,o)=>{const l=e.find(d=>o[0]===d.classId);return l?l.className:void 0},ri=e=>I()==="small"?t.jsx(Lt,{...e}):t.jsx(vt,{...e}),X=y.getLocalizedStrings().peoplePage,li=({peopleData:e,userNameSticky:o,onResendInvite:l,onDeleteUser:d,onRowClick:m})=>{const[p,x]=v.useState(!1),h=I(),n=ni(e),r=f=>{const j=[];return f.map(g=>{const R=ke.roles.find(V=>V.value===g);return R!=null&&j.push(R?.label??""),j}),j.length>0?j.join(", "):"-"},u=()=>{d?.(e)},w=()=>{m?.(e.userId)};return t.jsxs(ai,{"data-testid":a("zeni-people-list-row-medium",e.userId),windowSize:h,isInviteAccepted:e.userRole.invitationStatus==="accepted",onClick:w,children:[t.jsx(di,{wrapperWidth:B[0].width,windowSize:h,userNameSticky:o,children:t.jsxs(pi,{children:[t.jsx(ee,{personBasic:e.user,styles:{height:s.sp6,width:s.sp6}}),t.jsxs(hi,{children:[e.user?.firstName?t.jsxs(mi,{isInviteAccepted:e.userRole.invitationStatus==="accepted",className:"personNameTxt",children:[e.user?.firstName??""," ",e.user?.lastName??""]}):null,t.jsx(xi,{isInviteAccepted:e.userRole.invitationStatus==="accepted",className:"emailTxt",children:e.userRole.userEmail??""})]})]})}),t.jsx(ui,{widthNumber:B[1].width,windowSize:h,children:t.jsx(ci,{wrapperWidth:new $(100,100),windowSize:h,children:r(e.userRole.userRoles)})}),t.jsxs(yi,{"data-testid":a("people-list-row-medium-last-seen",e.userId),wrapperWidth:B[2].width,windowSize:h,children:[e.userRole.invitationStatus==="accepted"?t.jsx($i,{children:n.lastSeen}):t.jsx(gi,{"data-testid":a("people-list-row-medium-resend-invite",e.userId),children:e.update==="resendInvite"?t.jsx(U,{size:"Small",start:!0}):t.jsxs(t.Fragment,{children:[t.jsx(wi,{"data-testid":a("people-list-row-medium-resend-invite-text",e.userId),onClick:f=>{f.stopPropagation(),l?.(e.userId)},children:X.resendInvite.label}),t.jsx(vi,{children:t.jsx(fi,{children:`${X.sentText} ${N(e?.userRole?.inviteUpdateTime?e.userRole.inviteUpdateTime:e.userRole.inviteCreateTime)}`})})]})}),t.jsx(bi,{"data-testid":a("people-list-row-medium-menu",e.userId),isInviteAccepted:e.userRole.invitationStatus==="accepted",className:"menu-icon",children:t.jsx(Ce,{menuItems:t.jsxs(ji,{children:[t.jsx(ye,{"data-testid":a("people-list-row-medium-menu-edit",e.userId),onClick:()=>{x(!1),w()},children:X.invitePage.editTitle}),t.jsx(ye,{"data-testid":a("people-list-row-menu-delete",e.userId),isDelete:!0,onClick:f=>{f.stopPropagation(),x(!1),u()},children:X.deleteOverlay.title})]}),setIsMenuOpen:x,isMenuOpen:p})})]})]})};function ni(e){return{name:`${e.user?.firstName??""} ${e.user?.lastName??""}`,role:{selectedOptions:e.userRole.userRoles,allOptions:ke.roles},lastSeen:e?.userRole?.userLastCheckInTimeIntoTenant?N(e.userRole.userLastCheckInTimeIntoTenant):"-"}}const ai=i.div`
362
362
  border: 1px solid ${e=>e.theme.colors.grey3};
363
363
  border-radius: ${s.sp2};
364
364
  display: flex;
@@ -487,13 +487,13 @@ import{d as be,q as I,F as y,V as t,bA as le,aN as a,bM as De,o as s,cj as Oe,ck
487
487
  `,yi=i.div`
488
488
  width: ${e=>e.wrapperWidth.valuePercentage(e.windowSize)};
489
489
  position: relative;
490
- `,bi=i(O)`
490
+ `,$i=i(O)`
491
491
  overflow: hidden;
492
492
  display: -webkit-box;
493
493
  -webkit-line-clamp: 1;
494
494
  -webkit-box-orient: vertical;
495
495
  text-overflow: ellipsis;
496
- `,$i=i.div`
496
+ `,bi=i.div`
497
497
  position: absolute;
498
498
  right: ${`-${s.sp2}`};
499
499
  top: ${e=>e.isInviteAccepted?"6%":"30%"};
@@ -509,7 +509,7 @@ import{d as be,q as I,F as y,V as t,bA as le,aN as a,bM as De,o as s,cj as Oe,ck
509
509
  :hover {
510
510
  color: ${e=>e.theme.colors.primary};
511
511
  }
512
- `,Si={width:new b(343,580,726)},G=y.getLocalizedStrings().peoplePage,ki=({peopleData:e,onRowClick:o,onResendInvite:l})=>{const d=I();return t.jsxs(Ii,{windowSize:d,"data-testid":a("zeni-people-list-row-small",e.userId),isInviteAccepted:e.userRole.invitationStatus==="accepted",onClick:()=>{o?.(e.userId)},children:[t.jsxs(Ci,{children:[t.jsx(ee,{personBasic:e.user,styles:{height:s.sp6,width:s.sp6}}),t.jsx(zi,{children:t.jsxs(Ti,{children:[t.jsxs(Pi,{className:"personNameTxt",isInviteAccepted:e.userRole.invitationStatus==="accepted",children:[e.user?.firstName??""," ",e.user?.lastName??""]}),t.jsx(Ni,{isInviteAccepted:e.userRole.invitationStatus==="accepted",className:"emailTxt",children:e.userRole.userEmail??""})]})}),e.userRole.invitationStatus==="accepted"?t.jsxs(Li,{className:"lastSeen","data-testid":a("people-list-row-small-last-seen",e.userId),children:[t.jsx(Ai,{className:"lastSeenDateTxt","data-testid":a("people-list-row-small-last-seen-content",e.userId),children:e?.userRole?.userLastCheckInTimeIntoTenant?N(e.userRole.userLastCheckInTimeIntoTenant):"-"}),t.jsx(Vi,{children:G.header.lastSeen})]}):t.jsx(Mi,{"data-testid":a("people-list-row-small-resend-invite",e.userId),children:e.update==="resendInvite"?t.jsx(U,{size:"Small",start:!0}):t.jsxs(t.Fragment,{children:[t.jsx(Wi,{"data-testid":a("people-list-row-small-resend-invite-text",e.userId),onClick:m=>{m.stopPropagation(),l?.(e.userId)},children:G.resendInvite.label}),t.jsx(Hi,{children:t.jsx(Bi,{children:`${G.sentText} ${N(e?.userRole?.inviteUpdateTime?e.userRole.inviteUpdateTime:e.userRole.inviteCreateTime)}`})})]})})]}),t.jsx(Ri,{children:t.jsx(re,{className:"personDetails",children:t.jsxs(Di,{style:{display:"flex"},children:[t.jsxs(Oi,{style:{},children:[G.header.role,":"]}),t.jsx(_i,{children:je(e.userRole.userRoles,"zeni_only")})]})})})]})},Ii=i.div`
512
+ `,Si={width:new $(343,580,726)},G=y.getLocalizedStrings().peoplePage,ki=({peopleData:e,onRowClick:o,onResendInvite:l})=>{const d=I();return t.jsxs(Ii,{windowSize:d,"data-testid":a("zeni-people-list-row-small",e.userId),isInviteAccepted:e.userRole.invitationStatus==="accepted",onClick:()=>{o?.(e.userId)},children:[t.jsxs(Ci,{children:[t.jsx(ee,{personBasic:e.user,styles:{height:s.sp6,width:s.sp6}}),t.jsx(zi,{children:t.jsxs(Ti,{children:[t.jsxs(Pi,{className:"personNameTxt",isInviteAccepted:e.userRole.invitationStatus==="accepted",children:[e.user?.firstName??""," ",e.user?.lastName??""]}),t.jsx(Ni,{isInviteAccepted:e.userRole.invitationStatus==="accepted",className:"emailTxt",children:e.userRole.userEmail??""})]})}),e.userRole.invitationStatus==="accepted"?t.jsxs(Li,{className:"lastSeen","data-testid":a("people-list-row-small-last-seen",e.userId),children:[t.jsx(Ai,{className:"lastSeenDateTxt","data-testid":a("people-list-row-small-last-seen-content",e.userId),children:e?.userRole?.userLastCheckInTimeIntoTenant?N(e.userRole.userLastCheckInTimeIntoTenant):"-"}),t.jsx(Vi,{children:G.header.lastSeen})]}):t.jsx(Mi,{"data-testid":a("people-list-row-small-resend-invite",e.userId),children:e.update==="resendInvite"?t.jsx(U,{size:"Small",start:!0}):t.jsxs(t.Fragment,{children:[t.jsx(Wi,{"data-testid":a("people-list-row-small-resend-invite-text",e.userId),onClick:m=>{m.stopPropagation(),l?.(e.userId)},children:G.resendInvite.label}),t.jsx(Hi,{children:t.jsx(Bi,{children:`${G.sentText} ${N(e?.userRole?.inviteUpdateTime?e.userRole.inviteUpdateTime:e.userRole.inviteCreateTime)}`})})]})})]}),t.jsx(Ri,{children:t.jsx(re,{className:"personDetails",children:t.jsxs(Di,{style:{display:"flex"},children:[t.jsxs(Oi,{style:{},children:[G.header.role,":"]}),t.jsx(_i,{children:je(e.userRole.userRoles,"zeni_only")})]})})})]})},Ii=i.div`
513
513
  border: 1px solid ${e=>e.theme.colors.grey3};
514
514
  border-radius: ${s.sp2};
515
515
  display: flex;
@@ -587,7 +587,7 @@ import{d as be,q as I,F as y,V as t,bA as le,aN as a,bM as De,o as s,cj as Oe,ck
587
587
  justify-content: flex-end;
588
588
  `,Bi=i(re)`
589
589
  color: ${e=>e.theme.colors.grey1};
590
- `,Ui=e=>I()==="small"?t.jsx(ki,{...e}):t.jsx(li,{...e}),M={overscanCount:1,rowNameLimit:55,listItemHeight:88},ne={peopleListItemHeight:138,zeniPeopleListItemHeight:106,zeniPeopleExtendedListItemHeight:130},J={listItemPaddingRight:new b($[3],$[8]),listItemPaddingLeft:new b($[3],$[8]),zeniLastRowHeight:new b(154,136),nonZeniLastRowHeight:new b(200,136)},W=y.getLocalizedStrings().peoplePage,Ei=({peopleView:e,allManagers:o,allClasses:l,analytics:d,onColumnSortConfigChanged:m,onDeleteClick:p,onResendInvite:x,onRowClick:h,isZeniTenant:n})=>{const r=I(),u=v.useRef(null),w=!(r==="small"||r==="medium-compact"),[f,j]=v.useState(!1),[g,R]=v.useState(),V=be(),z=e.people.findIndex(c=>c.userRole.invitationStatus==="invited"),me=c=>{j(!0),R(c)},ue=v.memo(({index:c,style:C})=>t.jsx(t.Fragment,{children:t.jsxs(Zi,{"data-testid":a("people-list-item",e.people[c].user?.userId),style:{...C,width:"fit-content",minWidth:"100%"},windowSize:r,isFirstResendInviteUser:z===c,className:"people-list-item",children:[z===c?t.jsx(Ji,{}):null,e.uiState.mode==="off"?t.jsx(ri,{allManagers:o,allClasses:l,userNameSticky:w,peopleData:e.people[c],onDeleteUser:me,onResendInvite:x,onRowClick:h,isZeniTenant:n}):t.jsx(Ui,{userNameSticky:w,peopleData:e.people[c],onDeleteUser:me,onResendInvite:x,onRowClick:h,isZeniTenant:n})]})}),Ae);ue.displayName="ListItem";const xe=v.forwardRef((c,C)=>{const{children:_,style:F,...K}=c;return t.jsxs("div",{ref:C,style:{...F,width:"auto"},...K,children:[r==="small"?t.jsx(ht,{userNameSticky:w,onColumnSortConfigChanged:m,sortConfig:{sortKey:e.uiState.sortKey,sortOrder:e.uiState.sortOrder},mode:e.uiState.mode}):t.jsx(st,{userNameSticky:w,onColumnSortConfigChanged:m,sortConfig:{sortKey:e.uiState.sortKey,sortOrder:e.uiState.sortOrder},mode:e.uiState.mode}),t.jsx(qi,{children:_})]})});xe.displayName="People list view inner element type";const ze=c=>{const C=`${e.people[c].user?.firstName} ${e.people[c].user?.lastName}`.length,_=z===c;return C>M.rowNameLimit?M.listItemHeight+$[5]+(_?$[3]:$[0]):M.listItemHeight+(_?$[3]:$[0])},Te=c=>{const C=`${e.people[c].user?.firstName} ${e.people[c].user?.lastName}`.length,_=je(e.people[c].userRole.userRoles,e.uiState.mode).length,F=z===c,K=e.uiState.mode==="zeni_only"?_>33?ne.zeniPeopleExtendedListItemHeight:ne.zeniPeopleListItemHeight:ne.peopleListItemHeight;return C>M.rowNameLimit?K+$[5]+(F?$[3]:$[0]):K+(F?$[3]:$[0])},Pe={onOkClick:()=>{const c=g;d?.trackRemoveUserAccess(c.userRole.userRoles,c.userRole.userEmail),p?.(c.userId,c.userRole.userRoleId)},onCancelClick:()=>{j(!1),R(void 0)}},ge=Ve(e.people.find(c=>c.userId===g?.userId)?.update),E=e.people.find(c=>c.userId===g?.userId)?.update,Ne=g!=null?W.deleteOverlay.description.replace("‘_user-name_’",`"${Fi(g)}"`):W.deleteOverlay.description;return v.useEffect(()=>{u.current&&u.current.resetAfterIndex(0)},[e,r]),v.useEffect(()=>{E==null&&ge==="removeUsers"&&(j(!1),R(void 0))},[E,ge]),t.jsxs(Ki,{"data-testid":a("people-list-view-container"),windowSize:r,mode:e.uiState.mode,children:[f===!0?t.jsx(Me,{titleComponent:t.jsx(Be,{children:W.deleteOverlay.title}),descriptionComponent:t.jsx(He,{children:Ne}),primaryButtonText:W.deleteOverlay.remove,secondaryButtonText:W.deleteOverlay.cancel,action:Pe,proceedButtonVariant:"danger",isLoading:E==="removeUsers",isDisabled:E==="removeUsers",style:{background:V.colors.overlayColor},children:g?.user!=null?t.jsxs(t.Fragment,{children:[t.jsx(Qi,{}),t.jsx(Xi,{children:t.jsx(Gi,{src:g?.user.photo?.toString()??We,alt:g?.user.userId,loading:"lazy"})})]}):null}):null,t.jsx(Ue,{children:({height:c,width:C})=>t.jsx(Yi,{height:c,innerElementType:xe,itemCount:e.people.length,itemSize:r==="small"?Te:ze,width:C,ref:u,overscanCount:M.overscanCount,children:ue})})]})},Fi=e=>e.user?.firstName?`${e.user?.firstName} ${e.user?.lastName}`:e.user?.email??"",Ki=i.div`
590
+ `,Ui=e=>I()==="small"?t.jsx(ki,{...e}):t.jsx(li,{...e}),M={overscanCount:1,rowNameLimit:55,listItemHeight:88},ne={peopleListItemHeight:138,zeniPeopleListItemHeight:106,zeniPeopleExtendedListItemHeight:130},J={listItemPaddingRight:new $(b[3],b[8]),listItemPaddingLeft:new $(b[3],b[8]),zeniLastRowHeight:new $(154,136),nonZeniLastRowHeight:new $(200,136)},W=y.getLocalizedStrings().peoplePage,Ei=({peopleView:e,allManagers:o,allClasses:l,analytics:d,onColumnSortConfigChanged:m,onDeleteClick:p,onResendInvite:x,onRowClick:h,isZeniTenant:n})=>{const r=I(),u=v.useRef(null),w=!(r==="small"||r==="medium-compact"),[f,j]=v.useState(!1),[g,R]=v.useState(),V=$e(),z=e.people.findIndex(c=>c.userRole.invitationStatus==="invited"),me=c=>{j(!0),R(c)},ue=v.memo(({index:c,style:C})=>t.jsx(t.Fragment,{children:t.jsxs(Zi,{"data-testid":a("people-list-item",e.people[c].user?.userId),style:{...C,width:"fit-content",minWidth:"100%"},windowSize:r,isFirstResendInviteUser:z===c,className:"people-list-item",children:[z===c?t.jsx(Ji,{}):null,e.uiState.mode==="off"?t.jsx(ri,{allManagers:o,allClasses:l,userNameSticky:w,peopleData:e.people[c],onDeleteUser:me,onResendInvite:x,onRowClick:h,isZeniTenant:n}):t.jsx(Ui,{userNameSticky:w,peopleData:e.people[c],onDeleteUser:me,onResendInvite:x,onRowClick:h,isZeniTenant:n})]})}),Ae);ue.displayName="ListItem";const xe=v.forwardRef((c,C)=>{const{children:_,style:F,...K}=c;return t.jsxs("div",{ref:C,style:{...F,width:"auto"},...K,children:[r==="small"?t.jsx(ht,{userNameSticky:w,onColumnSortConfigChanged:m,sortConfig:{sortKey:e.uiState.sortKey,sortOrder:e.uiState.sortOrder},mode:e.uiState.mode}):t.jsx(st,{userNameSticky:w,onColumnSortConfigChanged:m,sortConfig:{sortKey:e.uiState.sortKey,sortOrder:e.uiState.sortOrder},mode:e.uiState.mode}),t.jsx(qi,{children:_})]})});xe.displayName="People list view inner element type";const ze=c=>{const C=`${e.people[c].user?.firstName} ${e.people[c].user?.lastName}`.length,_=z===c;return C>M.rowNameLimit?M.listItemHeight+b[5]+(_?b[3]:b[0]):M.listItemHeight+(_?b[3]:b[0])},Te=c=>{const C=`${e.people[c].user?.firstName} ${e.people[c].user?.lastName}`.length,_=je(e.people[c].userRole.userRoles,e.uiState.mode).length,F=z===c,K=e.uiState.mode==="zeni_only"?_>33?ne.zeniPeopleExtendedListItemHeight:ne.zeniPeopleListItemHeight:ne.peopleListItemHeight;return C>M.rowNameLimit?K+b[5]+(F?b[3]:b[0]):K+(F?b[3]:b[0])},Pe={onOkClick:()=>{const c=g;d?.trackRemoveUserAccess(c.userRole.userRoles,c.userRole.userEmail),p?.(c.userId,c.userRole.userRoleId)},onCancelClick:()=>{j(!1),R(void 0)}},ge=Ve(e.people.find(c=>c.userId===g?.userId)?.update),E=e.people.find(c=>c.userId===g?.userId)?.update,Ne=g!=null?W.deleteOverlay.description.replace("‘_user-name_’",`"${Fi(g)}"`):W.deleteOverlay.description;return v.useEffect(()=>{u.current&&u.current.resetAfterIndex(0)},[e,r]),v.useEffect(()=>{E==null&&ge==="removeUsers"&&(j(!1),R(void 0))},[E,ge]),t.jsxs(Ki,{"data-testid":a("people-list-view-container"),windowSize:r,mode:e.uiState.mode,children:[f===!0?t.jsx(Me,{titleComponent:t.jsx(Be,{children:W.deleteOverlay.title}),descriptionComponent:t.jsx(He,{children:Ne}),primaryButtonText:W.deleteOverlay.remove,secondaryButtonText:W.deleteOverlay.cancel,action:Pe,proceedButtonVariant:"danger",isLoading:E==="removeUsers",isDisabled:E==="removeUsers",style:{background:V.colors.overlayColor},children:g?.user!=null?t.jsxs(t.Fragment,{children:[t.jsx(Qi,{}),t.jsx(Xi,{children:t.jsx(Gi,{src:g?.user.photo?.toString()??We,alt:g?.user.userId,loading:"lazy"})})]}):null}):null,t.jsx(Ue,{children:({height:c,width:C})=>t.jsx(Yi,{height:c,innerElementType:xe,itemCount:e.people.length,itemSize:r==="small"?Te:ze,width:C,ref:u,overscanCount:M.overscanCount,children:ue})})]})},Fi=e=>e.user?.firstName?`${e.user?.firstName} ${e.user?.lastName}`:e.user?.email??"",Ki=i.div`
591
591
  /** Subtract top so list can occupy remaining available height */
592
592
  min-height: ${`calc(100vh - ${s.sp9})`};
593
593
  max-width: 99.9%;
@@ -624,7 +624,7 @@ import{d as be,q as I,F as y,V as t,bA as le,aN as a,bM as De,o as s,cj as Oe,ck
624
624
  `,Ji=i.div`
625
625
  padding-top: ${s.sp3};
626
626
  border-top: 1px solid ${e=>e.theme.colors.grey3};
627
- `,Yi=i(Fe)``,es=(e,o)=>{const{user:l,userId:d,userRole:m,update:p}=e,{user:x,userId:h,userRole:n,update:r}=o;return H(l,x)&&H(d,h)&&H(m,n)&&H(p,r)},ts=(e,o)=>{if(e.peopleView.people.length!=o.peopleView.people.length||e.allManagers.length!=o.allManagers.length)return!1;let l=!0;for(let d=0;d<e.peopleView.people.length;++d){const m=e.peopleView.people[d],p=o.peopleView.people[d];if(l=es(m,p),!l)break}return l=l&&H(e.peopleView.invitePeopleState,o.peopleView.invitePeopleState),l=l&&e.peopleView.uiState.sortKey===o.peopleView.uiState.sortKey&&e.peopleView.uiState.sortOrder===o.peopleView.uiState.sortOrder,l},is=v.memo(Ei,ts);function ss({peopleInviteSectionProps:e}){const o=I();return t.jsx(os,{isSearchOpen:e.isSearchOpen&&o==="small",windowsize:o,children:o!=="small"?t.jsxs(t.Fragment,{children:[e.hideSearchBtn?null:t.jsx(we,{style:{position:"absolute",left:"unset",right:"120px"},placeholder:e.searchPlaceHolder,searchText:e.searchText,onSearchTextChanged:l=>{e.onSearchTextChanged?.(l)},onSearchOpen:e.onSearchOpen}),t.jsx(Le,{variant:"primary",size:"small","data-testid":a("invite-people-button"),style:{height:"29px",...$e.smallRegular.cssObject,whiteSpace:"nowrap",display:"flex",alignItems:"center"},label:e.invitePeopleLabel,onClick:e.onInvitePeopleClick})]}):t.jsxs(t.Fragment,{children:[e.hideInviteBtn?null:t.jsx(rs,{"data-testid":a("invite-people-button"),onClick:e.onInvitePeopleClick}),e.hideSearchBtn?null:t.jsx(we,{style:{position:"absolute",left:"5px",right:o!=="small"?"120px":"unset",top:"44px",width:"98%"},placeholder:e.searchPlaceHolder,searchText:e.searchText,"data-testid":a("people-invite-search"),onSearchTextChanged:l=>{e.onSearchTextChanged?.(l)},onSearchOpen:e.onSearchOpen,keepSearchBoxOpen:!0})]})})}const os=i.div`
627
+ `,Yi=i(Fe)``,es=(e,o)=>{const{user:l,userId:d,userRole:m,update:p}=e,{user:x,userId:h,userRole:n,update:r}=o;return H(l,x)&&H(d,h)&&H(m,n)&&H(p,r)},ts=(e,o)=>{if(e.peopleView.people.length!=o.peopleView.people.length||e.allManagers.length!=o.allManagers.length)return!1;let l=!0;for(let d=0;d<e.peopleView.people.length;++d){const m=e.peopleView.people[d],p=o.peopleView.people[d];if(l=es(m,p),!l)break}return l=l&&H(e.peopleView.invitePeopleState,o.peopleView.invitePeopleState),l=l&&e.peopleView.uiState.sortKey===o.peopleView.uiState.sortKey&&e.peopleView.uiState.sortOrder===o.peopleView.uiState.sortOrder,l},is=v.memo(Ei,ts);function ss({peopleInviteSectionProps:e}){const o=I();return t.jsx(os,{isSearchOpen:e.isSearchOpen&&o==="small",windowsize:o,children:o!=="small"?t.jsxs(t.Fragment,{children:[e.hideSearchBtn?null:t.jsx(we,{style:{position:"absolute",left:"unset",right:"120px"},placeholder:e.searchPlaceHolder,searchText:e.searchText,onSearchTextChanged:l=>{e.onSearchTextChanged?.(l)},onSearchOpen:e.onSearchOpen}),t.jsx(Le,{variant:"primary",size:"small","data-testid":a("invite-people-button"),style:{height:"29px",...be.smallRegular.cssObject,whiteSpace:"nowrap",display:"flex",alignItems:"center"},label:e.invitePeopleLabel,onClick:e.onInvitePeopleClick})]}):t.jsxs(t.Fragment,{children:[e.hideInviteBtn?null:t.jsx(rs,{"data-testid":a("invite-people-button"),onClick:e.onInvitePeopleClick}),e.hideSearchBtn?null:t.jsx(we,{style:{position:"absolute",left:"5px",right:o!=="small"?"120px":"unset",top:"44px",width:"98%"},placeholder:e.searchPlaceHolder,searchText:e.searchText,"data-testid":a("people-invite-search"),onSearchTextChanged:l=>{e.onSearchTextChanged?.(l)},onSearchOpen:e.onSearchOpen,keepSearchBoxOpen:!0})]})})}const os=i.div`
628
628
  display: flex;
629
629
  flex-direction: column;
630
630
  justify-content: ${e=>e.windowsize==="small"?"unset":"center"};
@@ -672,4 +672,4 @@ import{d as be,q as I,F as y,V as t,bA as le,aN as a,bM as De,o as s,cj as Oe,ck
672
672
  `,cs=i(Y)`
673
673
  margin-top: ${s.sp3};
674
674
  color: ${e=>e.theme.colors.hero};
675
- `,ps=()=>t.jsx(ns,{children:t.jsx(U,{size:"ExtraLarge",start:!0})});function hs(e){const o=be(),l=I(),{mode:d,searchText:m}=e.peopleView.uiState,{fetchState:p}=e.peopleView,{fetchState:x}=e.managersView,{fetchState:h}=e.classList,[n,r]=v.useState(!1),u={isSearchOpen:n,onSearchOpen:z=>{r(z)},onSearchTextChanged:e.personAction.onSearchTextChanged,searchPlaceHolder:y.getLocalizedStrings().peoplePage.searchPlaceHolder,searchText:m,invitePeopleLabel:y.getLocalizedStrings().peoplePage.invitePeopleText,onInvitePeopleClick:e.onInvitePeopleClick,onClickMenuIcon:e.onClickMenuIcon},w=e?.isZeniTenant!==!0&&e?.isZeniAdminUser===!0,f=()=>{const z=d==="off"?"zeni_only":"off";e.personAction.onModeChange?.(z)},j=p==="Completed"?`(${e.peopleView.people.length})`:"",g=`${d==="off"?y.getLocalizedStrings().peoplePage.peopleTitle:y.getLocalizedStrings().peoplePage.zeniPeopleTitle} ${j}`,R=v.useMemo(()=>p==="In-Progress"||p==="Not-Started"||x==="In-Progress"||x==="Not-Started"||e.shouldFetchClasses&&(h==="In-Progress"||h==="Not-Started"),[p,x,e.shouldFetchClasses,h]);function V(){return R?t.jsxs(ae,{"data-testid":a("people-page-loading"),children:[t.jsx(le,{title:g,onBackClick:e.personAction.onBackClick,rightSideComponent:t.jsx(de,{...u}),showMenuIcon:l==="medium-compact"||l==="small",onClickMenuIcon:e.onClickMenuIcon,onZeniLogoClick:f,showZeniLogo:w,zeniLogoVisiblity:d==="zeni_only"?"visible":"hidden",isSearchOpen:n,backgroundColor:o.colors.grey4,source:"PeoplePage"}),t.jsx(ps,{})]}):p==="Error"||h==="Error"||x==="Error"?t.jsxs(ae,{"data-testid":a("people-page-error"),children:[t.jsx(le,{title:g,onBackClick:e.personAction.onBackClick,rightSideComponent:t.jsx(de,{...u}),showMenuIcon:l==="medium-compact"||l==="small",onZeniLogoClick:f,showZeniLogo:w,onClickMenuIcon:e.onClickMenuIcon,backgroundColor:o.colors.grey4,source:"PeoplePage"}),t.jsxs(as,{children:[t.jsx(ds,{"data-testid":a("people-page-error-reload-icon"),onClick:e.personAction.onReloadPeople,children:t.jsx(De,{width:s.sp6,height:s.sp6})}),t.jsx(cs,{children:y.getLocalizedStrings().peoplePage.reloadPage.label})]})]}):t.jsxs(ae,{"data-testid":a("people-page-content-container"),children:[t.jsx(le,{title:g,onBackClick:e.personAction.onBackClick,rightSideComponent:t.jsx(de,{...u}),showMenuIcon:l==="medium-compact"||l==="small",onZeniLogoClick:f,showZeniLogo:w,onClickMenuIcon:e.onClickMenuIcon,source:"PeoplePage",backgroundColor:o.colors.grey4}),t.jsx(ls,{"data-testid":a("people-page-content"),windowSize:l,children:e.peopleView.people.length>0?t.jsx(is,{peopleView:e.peopleView,allManagers:e.managersView.users,allClasses:e.classList.classes,onDeleteClick:e.personAction.onPersonDelete,analytics:e.analytics,onResendInvite:e.personAction.onResendInvite,onColumnSortConfigChanged:e.onColumnSortConfigChanged,onRowClick:e.onRowClick,isZeniTenant:e.isZeniTenant}):m!==""?t.jsx(Oe,{emptySearchTextFirstLine:y.getLocalizedStrings().peoplePage.emptySearchTextFirstLine,emptySearchTextSecondLine:y.getLocalizedStrings().peoplePage.emptySearchTextSecondLine}):t.jsx(_e,{message:y.getLocalizedStrings().peoplePage.emptyResultsMessage})})]})}return t.jsx("div",{children:V()})}const de=e=>t.jsx(ss,{peopleInviteSectionProps:e}),Is=ce.memo(hs);export{Is as MemoPeople,hs as default};
675
+ `,ps=()=>t.jsx(ns,{children:t.jsx(U,{size:"ExtraLarge",start:!0})});function hs(e){const o=$e(),l=I(),{mode:d,searchText:m}=e.peopleView.uiState,{fetchState:p}=e.peopleView,{fetchState:x}=e.managersView,{fetchState:h}=e.classList,[n,r]=v.useState(!1),u={isSearchOpen:n,onSearchOpen:z=>{r(z)},onSearchTextChanged:e.personAction.onSearchTextChanged,searchPlaceHolder:y.getLocalizedStrings().peoplePage.searchPlaceHolder,searchText:m,invitePeopleLabel:y.getLocalizedStrings().peoplePage.invitePeopleText,onInvitePeopleClick:e.onInvitePeopleClick,onClickMenuIcon:e.onClickMenuIcon},w=e?.isZeniTenant!==!0&&e?.isZeniAdminUser===!0,f=()=>{const z=d==="off"?"zeni_only":"off";e.personAction.onModeChange?.(z)},j=p==="Completed"?`(${e.peopleView.people.length})`:"",g=`${d==="off"?y.getLocalizedStrings().peoplePage.peopleTitle:y.getLocalizedStrings().peoplePage.zeniPeopleTitle} ${j}`,R=v.useMemo(()=>p==="In-Progress"||p==="Not-Started"||x==="In-Progress"||x==="Not-Started"||e.shouldFetchClasses&&(h==="In-Progress"||h==="Not-Started"),[p,x,e.shouldFetchClasses,h]);function V(){return R?t.jsxs(ae,{"data-testid":a("people-page-loading"),children:[t.jsx(le,{title:g,onBackClick:e.personAction.onBackClick,rightSideComponent:t.jsx(de,{...u}),showMenuIcon:l==="medium-compact"||l==="small",onClickMenuIcon:e.onClickMenuIcon,onZeniLogoClick:f,showZeniLogo:w,zeniLogoVisiblity:d==="zeni_only"?"visible":"hidden",isSearchOpen:n,backgroundColor:o.colors.grey4,source:"PeoplePage"}),t.jsx(ps,{})]}):p==="Error"||h==="Error"||x==="Error"?t.jsxs(ae,{"data-testid":a("people-page-error"),children:[t.jsx(le,{title:g,onBackClick:e.personAction.onBackClick,rightSideComponent:t.jsx(de,{...u}),showMenuIcon:l==="medium-compact"||l==="small",onZeniLogoClick:f,showZeniLogo:w,onClickMenuIcon:e.onClickMenuIcon,backgroundColor:o.colors.grey4,source:"PeoplePage"}),t.jsxs(as,{children:[t.jsx(ds,{"data-testid":a("people-page-error-reload-icon"),onClick:e.personAction.onReloadPeople,children:t.jsx(De,{width:s.sp6,height:s.sp6})}),t.jsx(cs,{children:y.getLocalizedStrings().peoplePage.reloadPage.label})]})]}):t.jsxs(ae,{"data-testid":a("people-page-content-container"),children:[t.jsx(le,{title:g,onBackClick:e.personAction.onBackClick,rightSideComponent:t.jsx(de,{...u}),showMenuIcon:l==="medium-compact"||l==="small",onZeniLogoClick:f,showZeniLogo:w,onClickMenuIcon:e.onClickMenuIcon,source:"PeoplePage",backgroundColor:o.colors.grey4}),t.jsx(ls,{"data-testid":a("people-page-content"),windowSize:l,children:e.peopleView.people.length>0?t.jsx(is,{peopleView:e.peopleView,allManagers:e.managersView.users,allClasses:e.classList.classes,onDeleteClick:e.personAction.onPersonDelete,analytics:e.analytics,onResendInvite:e.personAction.onResendInvite,onColumnSortConfigChanged:e.onColumnSortConfigChanged,onRowClick:e.onRowClick,isZeniTenant:e.isZeniTenant}):m!==""?t.jsx(Oe,{emptySearchTextFirstLine:y.getLocalizedStrings().peoplePage.emptySearchTextFirstLine,emptySearchTextSecondLine:y.getLocalizedStrings().peoplePage.emptySearchTextSecondLine}):t.jsx(_e,{message:y.getLocalizedStrings().peoplePage.emptyResultsMessage})})]})}return t.jsx("div",{children:V()})}const de=e=>t.jsx(ss,{peopleInviteSectionProps:e}),Is=ce.memo(hs);export{Is as MemoPeople,hs as default};
@@ -1 +1 @@
1
- import{a as h,S as n}from"./sentry-CzYU6xgv.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new t.Error().stack;a&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[a]="f93b8fea-342f-46af-9294-f75d3b119450",t._sentryDebugIdIdentifier="sentry-dbid-f93b8fea-342f-46af-9294-f75d3b119450")}catch{}})();const c="64px",f={},k=({src:t,light:a,oEmbedUrl:r,onClickPreview:s,playIcon:m,previewTabIndex:I,previewAriaLabel:u})=>{const[p,o]=h.useState(null);h.useEffect(()=>{!t||!a||!r||_({src:t,light:a,oEmbedUrl:r})},[t,a,r]);const _=async({src:e,light:i,oEmbedUrl:E})=>{if(n.isValidElement(i))return;if(typeof i=="string"){o(i);return}if(f[e]){o(f[e]);return}o(null);const b=await(await fetch(E.replace("{url}",e))).json();if(b.thumbnail_url){const g=b.thumbnail_url.replace("height=100","height=480").replace("-d_295x166","-d_640");o(g),f[e]=g}},w=e=>{(e.key==="Enter"||e.key===" ")&&s?.(e)},v=e=>{s?.(e)},l=n.isValidElement(a),y={display:"flex",alignItems:"center",justifyContent:"center"},d={preview:{width:"100%",height:"100%",backgroundImage:p&&!l?`url(${p})`:void 0,backgroundSize:"cover",backgroundPosition:"center",cursor:"pointer",...y},shadow:{background:"radial-gradient(rgb(0, 0, 0, 0.3), rgba(0, 0, 0, 0) 60%)",borderRadius:c,width:c,height:c,position:l?"absolute":void 0,...y},playIcon:{borderStyle:"solid",borderWidth:"16px 0 16px 26px",borderColor:"transparent transparent transparent white",marginLeft:"7px"}},x=n.createElement("div",{style:d.shadow,className:"react-player__shadow"},n.createElement("div",{style:d.playIcon,className:"react-player__play-icon"}));return n.createElement("div",{style:d.preview,className:"react-player__preview",tabIndex:I,onClick:v,onKeyDown:w,...u?{"aria-label":u}:{}},l?a:null,m||x)};var N=k;export{N as default};
1
+ import{a as h,S as n}from"./sentry-Bp9GtzEp.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new t.Error().stack;a&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[a]="f93b8fea-342f-46af-9294-f75d3b119450",t._sentryDebugIdIdentifier="sentry-dbid-f93b8fea-342f-46af-9294-f75d3b119450")}catch{}})();const c="64px",f={},k=({src:t,light:a,oEmbedUrl:r,onClickPreview:s,playIcon:m,previewTabIndex:I,previewAriaLabel:u})=>{const[p,o]=h.useState(null);h.useEffect(()=>{!t||!a||!r||_({src:t,light:a,oEmbedUrl:r})},[t,a,r]);const _=async({src:e,light:i,oEmbedUrl:E})=>{if(n.isValidElement(i))return;if(typeof i=="string"){o(i);return}if(f[e]){o(f[e]);return}o(null);const b=await(await fetch(E.replace("{url}",e))).json();if(b.thumbnail_url){const g=b.thumbnail_url.replace("height=100","height=480").replace("-d_295x166","-d_640");o(g),f[e]=g}},w=e=>{(e.key==="Enter"||e.key===" ")&&s?.(e)},v=e=>{s?.(e)},l=n.isValidElement(a),y={display:"flex",alignItems:"center",justifyContent:"center"},d={preview:{width:"100%",height:"100%",backgroundImage:p&&!l?`url(${p})`:void 0,backgroundSize:"cover",backgroundPosition:"center",cursor:"pointer",...y},shadow:{background:"radial-gradient(rgb(0, 0, 0, 0.3), rgba(0, 0, 0, 0) 60%)",borderRadius:c,width:c,height:c,position:l?"absolute":void 0,...y},playIcon:{borderStyle:"solid",borderWidth:"16px 0 16px 26px",borderColor:"transparent transparent transparent white",marginLeft:"7px"}},x=n.createElement("div",{style:d.shadow,className:"react-player__shadow"},n.createElement("div",{style:d.playIcon,className:"react-player__play-icon"}));return n.createElement("div",{style:d.preview,className:"react-player__preview",tabIndex:I,onClick:v,onKeyDown:w,...u?{"aria-label":u}:{}},l?a:null,m||x)};var N=k;export{N as default};
@@ -1,4 +1,4 @@
1
- import{F as D,V as t,a8 as B,o as c,c0 as N,a_ as U,c as V,d3 as q,aq as G,al as T,d4 as H,p as v}from"./index-BC_H0Dvt.js";import{a as y}from"./sentry-CzYU6xgv.js";import{n as i}from"./mui-BmV8FyyJ.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new e.Error().stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="b4e2ce74-f95a-451c-af4b-7339e91ae3f4",e._sentryDebugIdIdentifier="sentry-dbid-b4e2ce74-f95a-451c-af4b-7339e91ae3f4")}catch{}})();const u=D.getLocalizedStrings(),w={large:{labelComp:q,title:G,subtitle:T,seeMoreLink:T}},J={large:{width:496,height:512,padding:32,svgSize:12,svgContainerHeight:24,gap:8,imageGap:16,borderRadius:16}},r=J.large,Y=i.div`
1
+ import{F as D,V as t,a8 as B,o as c,c0 as N,a_ as U,c as V,d3 as q,aq as G,al as T,d4 as H,p as v}from"./index-DaYznKbB.js";import{a as y}from"./sentry-Bp9GtzEp.js";import{n as i}from"./mui-Bw2IfcWM.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new e.Error().stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="b4e2ce74-f95a-451c-af4b-7339e91ae3f4",e._sentryDebugIdIdentifier="sentry-dbid-b4e2ce74-f95a-451c-af4b-7339e91ae3f4")}catch{}})();const u=D.getLocalizedStrings(),w={large:{labelComp:q,title:G,subtitle:T,seeMoreLink:T}},J={large:{width:496,height:512,padding:32,svgSize:12,svgContainerHeight:24,gap:8,imageGap:16,borderRadius:16}},r=J.large,Y=i.div`
2
2
  width: ${e=>e.scale*r.width}px;
3
3
  height: ${e=>e.scale*r.height}px;
4
4
  overflow: hidden;
@@ -1,4 +1,4 @@
1
- import{q as m,V as r,d8 as b,d9 as v,da as y,bw as z,o as e,p as d,y as a,R as c,c as p}from"./index-BC_H0Dvt.js";import{c as i,n as g,k as f}from"./mui-BmV8FyyJ.js";(function(){try{var o=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},h=new o.Error().stack;h&&(o._sentryDebugIds=o._sentryDebugIds||{},o._sentryDebugIds[h]="2010a941-22e1-451f-99a6-b070eac5889f",o._sentryDebugIdIdentifier="sentry-dbid-2010a941-22e1-451f-99a6-b070eac5889f")}catch{}})();const t={plasticCardMarginLeft:new a(p[6],120),plasticCardMarginTop:new a(12,-9),businessTextRight:new a(p[2],13),businessTextBottom:new a(p[8],81),chargeCardWidth:new a(240,384),chargeCardHeight:new a(153,243),styledLogoWidth:new a(47,76),styledLogoHeight:new a(46,74),styledFullLogoTop:new a(12,28),styledFullLogoRight:new a(p[2],13),styledFullLogoHeight:new a(20,34),styledFullLogoWidth:new a(88,142),chipLogoWidth:new a(31,50),chipLogoHeight:new a(p[4],39),visaLogoWidth:new a(52,84),visaLogoHeight:new a(17,27),visaLogoRight:new a(p[2],13),visaLogoBottom:new a(p[2],13)},u={businessText:new c("extraSmallRegular","largeRegular"),promoBusinessText:new c("tinyLight","tinyLight")},F=({cardText:o,shouldAnimate:h,showChip:w,forDashboard:s,forListPage:l,cardPromoType:$,style:x})=>{const n=m();return r.jsxs(B,{cardPromoType:$,windowSize:n,shouldAnimate:h,forListPage:l,forDashboard:s,style:x,children:[w&&r.jsx(P,{windowSize:n,forDashboard:s,children:r.jsx(b,{})}),r.jsx(j,{windowSize:n,forDashboard:s,forListPage:l,children:r.jsx(z,{})}),r.jsx(L,{windowSize:n,forDashboard:s,forListPage:l,children:o}),r.jsx(S,{windowSize:n,forDashboard:s,forListPage:l,children:r.jsx(y,{})})]})},A=({cardText:o,shouldAnimate:h,showChip:w,forDashboard:s,forListPage:l,cardPromoType:$,style:x})=>{const n=m();return r.jsxs(W,{cardPromoType:$,windowSize:n,shouldAnimate:h,forListPage:l,forDashboard:s,style:x,children:[w&&r.jsx(P,{windowSize:n,forDashboard:s,children:r.jsx(b,{})}),r.jsx(k,{windowSize:n,forDashboard:s,forListPage:l,children:r.jsx(v,{})}),r.jsx(L,{windowSize:n,forDashboard:s,forListPage:l,children:o}),r.jsx(S,{windowSize:n,forDashboard:s,forListPage:l,children:r.jsx(y,{})})]})},C=f`
1
+ import{q as m,V as r,d8 as b,d9 as v,da as y,bw as z,o as e,p as d,y as a,R as c,c as p}from"./index-DaYznKbB.js";import{c as i,n as g,k as f}from"./mui-Bw2IfcWM.js";(function(){try{var o=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},h=new o.Error().stack;h&&(o._sentryDebugIds=o._sentryDebugIds||{},o._sentryDebugIds[h]="2010a941-22e1-451f-99a6-b070eac5889f",o._sentryDebugIdIdentifier="sentry-dbid-2010a941-22e1-451f-99a6-b070eac5889f")}catch{}})();const t={plasticCardMarginLeft:new a(p[6],120),plasticCardMarginTop:new a(12,-9),businessTextRight:new a(p[2],13),businessTextBottom:new a(p[8],81),chargeCardWidth:new a(240,384),chargeCardHeight:new a(153,243),styledLogoWidth:new a(47,76),styledLogoHeight:new a(46,74),styledFullLogoTop:new a(12,28),styledFullLogoRight:new a(p[2],13),styledFullLogoHeight:new a(20,34),styledFullLogoWidth:new a(88,142),chipLogoWidth:new a(31,50),chipLogoHeight:new a(p[4],39),visaLogoWidth:new a(52,84),visaLogoHeight:new a(17,27),visaLogoRight:new a(p[2],13),visaLogoBottom:new a(p[2],13)},u={businessText:new c("extraSmallRegular","largeRegular"),promoBusinessText:new c("tinyLight","tinyLight")},F=({cardText:o,shouldAnimate:h,showChip:w,forDashboard:s,forListPage:l,cardPromoType:$,style:x})=>{const n=m();return r.jsxs(B,{cardPromoType:$,windowSize:n,shouldAnimate:h,forListPage:l,forDashboard:s,style:x,children:[w&&r.jsx(P,{windowSize:n,forDashboard:s,children:r.jsx(b,{})}),r.jsx(j,{windowSize:n,forDashboard:s,forListPage:l,children:r.jsx(z,{})}),r.jsx(L,{windowSize:n,forDashboard:s,forListPage:l,children:o}),r.jsx(S,{windowSize:n,forDashboard:s,forListPage:l,children:r.jsx(y,{})})]})},A=({cardText:o,shouldAnimate:h,showChip:w,forDashboard:s,forListPage:l,cardPromoType:$,style:x})=>{const n=m();return r.jsxs(W,{cardPromoType:$,windowSize:n,shouldAnimate:h,forListPage:l,forDashboard:s,style:x,children:[w&&r.jsx(P,{windowSize:n,forDashboard:s,children:r.jsx(b,{})}),r.jsx(k,{windowSize:n,forDashboard:s,forListPage:l,children:r.jsx(v,{})}),r.jsx(L,{windowSize:n,forDashboard:s,forListPage:l,children:o}),r.jsx(S,{windowSize:n,forDashboard:s,forListPage:l,children:r.jsx(y,{})})]})},C=f`
2
2
  0%{
3
3
  transform: rotate(12.4deg);
4
4
  translate: ${e.sp0} ${e.sp0};
@@ -1,4 +1,4 @@
1
- import{q as b,F as r,V as n,bQ as y,n as l,y as c,o as i,aq as w,al as $,af as j,bu as P,eJ as v,c as a}from"./index-BC_H0Dvt.js";import{n as o}from"./mui-BmV8FyyJ.js";import"./sentry-CzYU6xgv.js";import"./liveblocks-Bk_rgzjY.js";import"./core-DQCu9afb.js";import"./recharts-K3QEFPOV.js";import"./zeni-epic-state-Blm5vkeu.js";import"./lottie-DVMZSmD1.js";import"./analytics-DjXPotdA.js";import"./lexical-Dwxxs9vM.js";import"./utils-Dyo888a6.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="f5caace9-687f-489b-ae09-b90fd143defe",e._sentryDebugIdIdentifier="sentry-dbid-f5caace9-687f-489b-ae09-b90fd143defe")}catch{}})();const s={containerPaddingTop:new c(a[5],a[7]),containerPaddingBottom:new c(a[5],a[5]),containerPaddingLeftRight:new c(a[6],a[11])},_=o.div`
1
+ import{q as b,F as r,V as n,bQ as y,n as l,y as c,o as i,aq as w,al as $,af as j,bu as P,eJ as v,c as a}from"./index-DaYznKbB.js";import{n as o}from"./mui-Bw2IfcWM.js";import"./sentry-Bp9GtzEp.js";import"./liveblocks-DBwZPvBF.js";import"./core-B60xt_9S.js";import"./recharts-DIy4CLtr.js";import"./zeni-epic-state-BxNqBiH-.js";import"./lottie-C5JCvMhe.js";import"./analytics-C6_KHLMr.js";import"./lexical-ljPdYVBl.js";import"./utils-CUkgdryf.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="f5caace9-687f-489b-ae09-b90fd143defe",e._sentryDebugIdIdentifier="sentry-dbid-f5caace9-687f-489b-ae09-b90fd143defe")}catch{}})();const s={containerPaddingTop:new c(a[5],a[7]),containerPaddingBottom:new c(a[5],a[5]),containerPaddingLeftRight:new c(a[6],a[11])},_=o.div`
2
2
  border-radius: inherit;
3
3
  max-width: 520px;
4
4
  text-align: center;
@@ -1,4 +1,4 @@
1
- import{q as O,F as u,V as i,n as k,o,y as a,p as c,fL as I,R as T,af as D,bu as E,eJ as W,fC as _,aT as h,ai as f,c as r}from"./index-BC_H0Dvt.js";import{n}from"./mui-BmV8FyyJ.js";import q from"./QBOConnectionDialog-B5v60lo1-houe1021.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="95f04f27-1524-4e01-b7cb-7ae22de47ef8",e._sentryDebugIdIdentifier="sentry-dbid-95f04f27-1524-4e01-b7cb-7ae22de47ef8")}catch{}})();const l={containerPadding:new a(r[3],r[4]),sectionWidth:new a(343,580,726),topElementsRowGap:new a(r[3],r[0]),arrowIconWidthHeight:new a(r[3],r[4])},B={title:new T("standardMedium","largeMedium")},ee=({isAdmin:e,hasError:t=!1,isValid:d,saveConnectionState:p,isQBOPopupOpen:y,companyName:$,updateQBOPopupState:w,handleOnConnectClick:b})=>{const s=O(),{qbo_connection:j}=u.getLocalizedStrings().customerOnboardingPage.sections,{title:S,sucessText:v,button:z,errorText:P,requiredText:C}=j;return i.jsxs(G,{windowSize:s,children:[i.jsxs(A,{windowSize:s,children:[s==="small"?i.jsx(J,{children:d?i.jsx(K,{}):i.jsx(U,{})}):null,i.jsx(F,{windowSize:s,children:S})]}),i.jsxs(H,{windowSize:s,children:[i.jsxs(N,{windowSize:s,children:[i.jsxs(R,{children:[i.jsx(V,{}),i.jsx(L,{windowSize:s}),i.jsx(M,{})]}),d?s!=="small"?i.jsx(m,{}):null:i.jsx(k,{variant:"primary",size:s!=="small"?"standard":"xs-small",label:z.connect,style:{width:"fit-content"},onClick:()=>w(!0),loading:p==="In-Progress"})]}),d?i.jsxs(i.Fragment,{children:[i.jsx(Q,{children:v}),s==="small"?i.jsx(m,{}):null]}):null,p==="Error"?i.jsx(x,{children:i.jsx(g,{windowSize:s,children:P})}):null,t&&!d?i.jsx(x,{children:i.jsx(g,{windowSize:s,children:C})}):null]}),i.jsx(q,{isAdmin:e,isGoBackAllowed:!0,isQBOPopupOpen:y,companyName:$,saveConnectionState:p,handleOnConnectClick:b,handleGoBack:()=>w(!1)})]})},m=()=>{const{tags:e}=u.getLocalizedStrings().customerOnboardingPage,{connected:t}=e;return i.jsx(_,{style:{width:"max-content",padding:0,marginTop:o.sp2},tagTitle:t,textColor:{color:new h(c.successDark),borderColor:new h(c.successDark)}})},G=n.div`
1
+ import{q as O,F as u,V as i,n as k,o,y as a,p as c,fL as I,R as T,af as D,bu as E,eJ as W,fC as _,aT as h,ai as f,c as r}from"./index-DaYznKbB.js";import{n}from"./mui-Bw2IfcWM.js";import q from"./QBOConnectionDialog-B0E1xE9I-DveLpxdR.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="0b607267-b9e6-4267-881a-c7b8eedf9c40",e._sentryDebugIdIdentifier="sentry-dbid-0b607267-b9e6-4267-881a-c7b8eedf9c40")}catch{}})();const l={containerPadding:new a(r[3],r[4]),sectionWidth:new a(343,580,726),topElementsRowGap:new a(r[3],r[0]),arrowIconWidthHeight:new a(r[3],r[4])},B={title:new T("standardMedium","largeMedium")},ee=({isAdmin:e,hasError:t=!1,isValid:d,saveConnectionState:p,isQBOPopupOpen:y,companyName:$,updateQBOPopupState:w,handleOnConnectClick:b})=>{const s=O(),{qbo_connection:j}=u.getLocalizedStrings().customerOnboardingPage.sections,{title:S,sucessText:v,button:z,errorText:P,requiredText:C}=j;return i.jsxs(G,{windowSize:s,children:[i.jsxs(A,{windowSize:s,children:[s==="small"?i.jsx(J,{children:d?i.jsx(K,{}):i.jsx(U,{})}):null,i.jsx(F,{windowSize:s,children:S})]}),i.jsxs(H,{windowSize:s,children:[i.jsxs(N,{windowSize:s,children:[i.jsxs(R,{children:[i.jsx(V,{}),i.jsx(L,{windowSize:s}),i.jsx(M,{})]}),d?s!=="small"?i.jsx(m,{}):null:i.jsx(k,{variant:"primary",size:s!=="small"?"standard":"xs-small",label:z.connect,style:{width:"fit-content"},onClick:()=>w(!0),loading:p==="In-Progress"})]}),d?i.jsxs(i.Fragment,{children:[i.jsx(Q,{children:v}),s==="small"?i.jsx(m,{}):null]}):null,p==="Error"?i.jsx(x,{children:i.jsx(g,{windowSize:s,children:P})}):null,t&&!d?i.jsx(x,{children:i.jsx(g,{windowSize:s,children:C})}):null]}),i.jsx(q,{isAdmin:e,isGoBackAllowed:!0,isQBOPopupOpen:y,companyName:$,saveConnectionState:p,handleOnConnectClick:b,handleGoBack:()=>w(!1)})]})},m=()=>{const{tags:e}=u.getLocalizedStrings().customerOnboardingPage,{connected:t}=e;return i.jsx(_,{style:{width:"max-content",padding:0,marginTop:o.sp2},tagTitle:t,textColor:{color:new h(c.successDark),borderColor:new h(c.successDark)}})},G=n.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  align-items: center;
@@ -1,4 +1,4 @@
1
- import{y as W,c as L,d as M,q as G,F as U,a9 as H,aO as X,aH as J,cC as K,V as r,bA as Q,ac as Y,aP as Z,o as b,g3 as ee}from"./index-BC_H0Dvt.js";import{a as T}from"./sentry-CzYU6xgv.js";import{n as c}from"./mui-BmV8FyyJ.js";import{b as ae,f as te,o as k,l as B}from"./FollowStepsSection-CoXcJ6WL-BKV9u46u.js";import"./liveblocks-Bk_rgzjY.js";import"./core-DQCu9afb.js";import"./recharts-K3QEFPOV.js";import"./zeni-epic-state-Blm5vkeu.js";import"./lottie-DVMZSmD1.js";import"./analytics-DjXPotdA.js";import"./lexical-Dwxxs9vM.js";import"./utils-Dyo888a6.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="35ce6ecd-34a3-411d-9c50-771fa097211b",e._sentryDebugIdIdentifier="sentry-dbid-35ce6ecd-34a3-411d-9c50-771fa097211b")}catch{}})();const C="reimbursementApprovalRuleDetailPage",$="lowerBound",j="upperBound",A="steps",h="applyToExistingReimbursements",le={footerPadding:new W(L[2],L[3])};function Pe({localData:e,approvalUpdateActionType:t,isLowerBoundDisabled:a=!1,isUpperBoundDisabled:o=!0,hideUpperBoundField:s=!1,onBackClick:p,onApprovalRuleDataUpdated:g,onResetClick:E,onSaveRuleClick:N,onSaveRuleSuccess:I}){const F=M(),w=G(),l=U.getLocalizedStrings().commonSetUp.approval,S=U.getLocalizedStrings().spendManagement.reimbursement.reimbursementApproval,x=re(e,t==="approval_create"&&!a),y=H({mode:"all",reValidateMode:"onChange",defaultValues:x}),u=e.remiSetupApproverViewUpdateData?.updateStatus,P=X(u?.fetchState),{upperBound:R}=x,{allApprovalRules:i,allAccountingClasses:V,remiSetupApproverViewUpdateData:m}=e;let f=i.length>1?i.length-1:0,v=i.length>0?i[f].criteria[0].range.min.amount:0;if(m!=null&&m.type==="approval_update"&&m.data!=null){const{approvalRuleId:n}=m.data;f=i.findIndex(d=>d.approvalRuleId===n),v=f>0?i[f-1].criteria[0].range.min.amount:0}const q=y.handleSubmit(()=>{N()}),z=async(n,d)=>{g(d)};return T.useEffect(()=>{const n=y.watch((d,{name:D})=>{if(D!=null&&d!=null){const O=J(d);K(()=>z(D,O))}});return()=>{n.unsubscribe()}}),T.useEffect(()=>{P==="In-Progress"&&u?.fetchState==="Completed"&&I()},[P,u?.fetchState,I]),r.jsxs(ie,{children:[r.jsx(Q,{title:t==="approval_create"?l.newApproval:l.editApproval,backgroundColor:F.colors.grey4,style:{zIndex:4},onBackClick:()=>{p()},source:"ReimbursementApprovalRuleDetailPage"}),r.jsx(de,{children:r.jsxs(Y,{...y,children:[r.jsx(ue,{children:r.jsx("form",{id:_(C),onSubmit:q,children:r.jsxs(pe,{children:[r.jsx(ae,{label:{label:s?S.amountPerRemiGreaterLabel:S.amountPerRemiLabel},firstText:{type:"number",name:$,placeholder:"$0",options:{required:!0,max:R===1/0?Number.MAX_SAFE_INTEGER-1:R-1,min:v,validate:n=>a?!0:n!=null&&n>v},isDisabled:a,additionalInfoLabel:l.firstRuleLowerBoundInfoLabel,additionalErrorLabel:l.firstRuleErrorInfoLabel},secondText:{type:"number",name:j,placeholder:"Infinity",isDisabled:o,hideField:s,additionalInfoLabel:l.upperBoundInfoLabel}}),r.jsx(ce,{}),r.jsx(te,{sectionId:A,label:{label:l.followStepsLabel},approversPlaceholder:l.approversPlaceholder,notifiersPlaceholder:l.notifiersPlaceholder,allUserWithRoles:e.allApprovers,filteredApprovers:e.filteredApprovers.map(n=>n.user),allAttributes:e.allAttributes,filteredAttributes:e.filteredAttributes,allAccountingClasses:V,stepsInfo:x[A],userSelectPlaceholder:l.userSelectPlaceholder,approveNotifyPlaceholder:l.approveNotifyPlaceholder,productType:"zeni_reimbursements"})]})})}),r.jsx(Z,{formId:_(C),primaryBtn:{label:l.saveBtnText,isLoading:u?.fetchState==="In-Progress",isDisabled:u?.fetchState==="In-Progress",style:{width:"85px",minWidth:"auto"}},topComponent:t==="approval_create"?null:r.jsx(ee,{name:h,mode:"always_on",checkBoxes:[{value:h,label:l.applyToExistingReimbursements,defaultChecked:!0,groupLabel:!1}],style:{width:"100%"}}),showCancel:!0,cancelBtn:{label:l.cancelBtnText,isLoading:!1,style:{width:"85px",minWidth:"auto"},onClick:E},containerStyle:{justifyContent:w==="small"?"space-between":"center"},style:{padding:le.footerPadding.valuePx(w)},separatorStyle:{marginRight:b.sp4}})]})})]})}const re=(e,t)=>{const{criteria:a,steps:o}=e.remiSetupApproverViewUpdateData?.data??{};return{[h]:[h],[A]:oe(e.allApprovers.map(s=>s.user),e.filteredApprovers.map(s=>s.user),k(e.allAttributes),k(e.filteredAttributes),o??[])??[],[$]:t?void 0:a!=null?a.range.min.amount??0:0,[j]:a!=null?a.range.max==null?1/0:a.range.max.amount:1/0}},oe=(e,t,a,o,s)=>s&&s.length>0?s.map((p,g)=>({stepIndex:g,stepType:{selectedOption:p.action,allOptions:B},actors:{allUsers:t,selectedUsers:se(e,p.actors),allNonUsers:o,selectedNonUsers:ne(a,p.actors)}})):[{stepIndex:0,stepType:{selectedOption:"require_approval",allOptions:B},actors:{allUsers:t,selectedUsers:[],allNonUsers:o,selectedNonUsers:[]}}],se=(e,t)=>e.filter(a=>a.userId!=null&&t.findIndex(o=>o.userId===a.userId)>-1),ne=(e,t)=>e.filter(a=>t.findIndex(o=>o.subType===a.value)>-1),_=e=>`${e}_form`,Re=e=>`${e}`,ie=c.div`
1
+ import{y as W,c as L,d as M,q as G,F as U,a9 as H,aO as X,aH as J,cC as K,V as r,bA as Q,ac as Y,aP as Z,o as b,g3 as ee}from"./index-DaYznKbB.js";import{a as T}from"./sentry-Bp9GtzEp.js";import{n as c}from"./mui-Bw2IfcWM.js";import{b as ae,f as te,o as k,l as B}from"./FollowStepsSection-BS4M36H4-ByiTPZLh.js";import"./liveblocks-DBwZPvBF.js";import"./core-B60xt_9S.js";import"./recharts-DIy4CLtr.js";import"./zeni-epic-state-BxNqBiH-.js";import"./lottie-C5JCvMhe.js";import"./analytics-C6_KHLMr.js";import"./lexical-ljPdYVBl.js";import"./utils-CUkgdryf.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="8a158a0c-80fd-452c-acfd-4bf89ace8416",e._sentryDebugIdIdentifier="sentry-dbid-8a158a0c-80fd-452c-acfd-4bf89ace8416")}catch{}})();const C="reimbursementApprovalRuleDetailPage",$="lowerBound",j="upperBound",A="steps",h="applyToExistingReimbursements",le={footerPadding:new W(L[2],L[3])};function Pe({localData:e,approvalUpdateActionType:t,isLowerBoundDisabled:a=!1,isUpperBoundDisabled:o=!0,hideUpperBoundField:s=!1,onBackClick:p,onApprovalRuleDataUpdated:g,onResetClick:E,onSaveRuleClick:N,onSaveRuleSuccess:I}){const F=M(),w=G(),l=U.getLocalizedStrings().commonSetUp.approval,S=U.getLocalizedStrings().spendManagement.reimbursement.reimbursementApproval,x=re(e,t==="approval_create"&&!a),y=H({mode:"all",reValidateMode:"onChange",defaultValues:x}),u=e.remiSetupApproverViewUpdateData?.updateStatus,P=X(u?.fetchState),{upperBound:R}=x,{allApprovalRules:i,allAccountingClasses:V,remiSetupApproverViewUpdateData:m}=e;let f=i.length>1?i.length-1:0,v=i.length>0?i[f].criteria[0].range.min.amount:0;if(m!=null&&m.type==="approval_update"&&m.data!=null){const{approvalRuleId:n}=m.data;f=i.findIndex(d=>d.approvalRuleId===n),v=f>0?i[f-1].criteria[0].range.min.amount:0}const q=y.handleSubmit(()=>{N()}),z=async(n,d)=>{g(d)};return T.useEffect(()=>{const n=y.watch((d,{name:D})=>{if(D!=null&&d!=null){const O=J(d);K(()=>z(D,O))}});return()=>{n.unsubscribe()}}),T.useEffect(()=>{P==="In-Progress"&&u?.fetchState==="Completed"&&I()},[P,u?.fetchState,I]),r.jsxs(ie,{children:[r.jsx(Q,{title:t==="approval_create"?l.newApproval:l.editApproval,backgroundColor:F.colors.grey4,style:{zIndex:4},onBackClick:()=>{p()},source:"ReimbursementApprovalRuleDetailPage"}),r.jsx(de,{children:r.jsxs(Y,{...y,children:[r.jsx(ue,{children:r.jsx("form",{id:_(C),onSubmit:q,children:r.jsxs(pe,{children:[r.jsx(ae,{label:{label:s?S.amountPerRemiGreaterLabel:S.amountPerRemiLabel},firstText:{type:"number",name:$,placeholder:"$0",options:{required:!0,max:R===1/0?Number.MAX_SAFE_INTEGER-1:R-1,min:v,validate:n=>a?!0:n!=null&&n>v},isDisabled:a,additionalInfoLabel:l.firstRuleLowerBoundInfoLabel,additionalErrorLabel:l.firstRuleErrorInfoLabel},secondText:{type:"number",name:j,placeholder:"Infinity",isDisabled:o,hideField:s,additionalInfoLabel:l.upperBoundInfoLabel}}),r.jsx(ce,{}),r.jsx(te,{sectionId:A,label:{label:l.followStepsLabel},approversPlaceholder:l.approversPlaceholder,notifiersPlaceholder:l.notifiersPlaceholder,allUserWithRoles:e.allApprovers,filteredApprovers:e.filteredApprovers.map(n=>n.user),allAttributes:e.allAttributes,filteredAttributes:e.filteredAttributes,allAccountingClasses:V,stepsInfo:x[A],userSelectPlaceholder:l.userSelectPlaceholder,approveNotifyPlaceholder:l.approveNotifyPlaceholder,productType:"zeni_reimbursements"})]})})}),r.jsx(Z,{formId:_(C),primaryBtn:{label:l.saveBtnText,isLoading:u?.fetchState==="In-Progress",isDisabled:u?.fetchState==="In-Progress",style:{width:"85px",minWidth:"auto"}},topComponent:t==="approval_create"?null:r.jsx(ee,{name:h,mode:"always_on",checkBoxes:[{value:h,label:l.applyToExistingReimbursements,defaultChecked:!0,groupLabel:!1}],style:{width:"100%"}}),showCancel:!0,cancelBtn:{label:l.cancelBtnText,isLoading:!1,style:{width:"85px",minWidth:"auto"},onClick:E},containerStyle:{justifyContent:w==="small"?"space-between":"center"},style:{padding:le.footerPadding.valuePx(w)},separatorStyle:{marginRight:b.sp4}})]})})]})}const re=(e,t)=>{const{criteria:a,steps:o}=e.remiSetupApproverViewUpdateData?.data??{};return{[h]:[h],[A]:oe(e.allApprovers.map(s=>s.user),e.filteredApprovers.map(s=>s.user),k(e.allAttributes),k(e.filteredAttributes),o??[])??[],[$]:t?void 0:a!=null?a.range.min.amount??0:0,[j]:a!=null?a.range.max==null?1/0:a.range.max.amount:1/0}},oe=(e,t,a,o,s)=>s&&s.length>0?s.map((p,g)=>({stepIndex:g,stepType:{selectedOption:p.action,allOptions:B},actors:{allUsers:t,selectedUsers:se(e,p.actors),allNonUsers:o,selectedNonUsers:ne(a,p.actors)}})):[{stepIndex:0,stepType:{selectedOption:"require_approval",allOptions:B},actors:{allUsers:t,selectedUsers:[],allNonUsers:o,selectedNonUsers:[]}}],se=(e,t)=>e.filter(a=>a.userId!=null&&t.findIndex(o=>o.userId===a.userId)>-1),ne=(e,t)=>e.filter(a=>t.findIndex(o=>o.subType===a.value)>-1),_=e=>`${e}_form`,Re=e=>`${e}`,ie=c.div`
2
2
  display: flex;
3
3
  height: 100%;
4
4
  flex-direction: column;
@@ -1,4 +1,4 @@
1
- import{d as _,q as W,F as S,V as t,bA as M,k as E,aN as j,o,y as r,al as z,aL as P,cn as H,co as V,cp as G,cX as U,c as l,b8 as q,R as T,b7 as F,p as k,cW as J,bs as K,b as O}from"./index-BC_H0Dvt.js";import{n as i}from"./mui-BmV8FyyJ.js";import{a as Q}from"./sentry-CzYU6xgv.js";import"./liveblocks-Bk_rgzjY.js";import"./core-DQCu9afb.js";import"./recharts-K3QEFPOV.js";import"./zeni-epic-state-Blm5vkeu.js";import"./lottie-DVMZSmD1.js";import"./analytics-DjXPotdA.js";import"./lexical-Dwxxs9vM.js";import"./utils-Dyo888a6.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},m=new e.Error().stack;m&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[m]="7f94a5bd-c7c7-44b9-8332-0d818d241bcc",e._sentryDebugIdIdentifier="sentry-dbid-7f94a5bd-c7c7-44b9-8332-0d818d241bcc")}catch{}})();const s={sectionWidth:new r(343,580,726),ruleWrapperPadding:new r(l[3],l[4]),wrapperGap:new r(l[4],l[3]),wrapperMarginBottom:new r(l[6],l[8]),lastWrapperMarginBottom:new r(l[5],l[9]),stepperWidthHeight:new r(20,l[5]),stepperItemLeft:new r(-29,-23),stepperItemTop:new r(2,l[0]),stepperItemPaddingLeft:new r(l[0],10),stepperItemMinHeight:new r(22,28),stepperLeft:new r(11,17),stepperTop:new r(2,l[0]),stepperContentTop:new r(l[0],-4)},A={stepper:new T("smallRegular","standardRegular"),amount:new T("standardRegular","largeRegular")},X=({showDeleteBtn:e=!1,isLastSection:m=!1,approvalRule:u,onEditRuleClick:b,onDeleteRuleClick:v})=>{const[x,c]=Q.useState(!1),a=W(),{range:d}=u.criteria[0],{steps:g,approvalRuleId:w}=u,n=S.getLocalizedStrings().commonSetUp.approval,f=()=>{c(!0)},y={onOkClick:()=>{c(!1),v?.(w)},onCancelClick:()=>{c(!1)}};return t.jsxs(Y,{windowSize:a,isLastSection:m,"data-testid":j("approval-rule-section",w),children:[t.jsxs(Z,{windowSize:a,children:[t.jsxs(ne,{children:[t.jsxs(L,{windowSize:a,children:[n.from," ",P("0,0",d.min)]}),t.jsxs(ee,{children:[t.jsx(R,{}),t.jsx(te,{}),t.jsx(R,{})]}),d.max==null?t.jsx(ce,{}):t.jsx(L,{windowSize:a,children:P("0,0",{...d.min,amount:d.max.amount})})]}),t.jsxs(ae,{className:"icons",children:[e?t.jsx(pe,{onClick:f}):null,t.jsx(de,{onClick:()=>{b(w)},"data-testid":j("edit-approval-rule",w)})]})]}),t.jsx(oe,{windowSize:a,children:t.jsx(ie,{isSingleStep:g.length===1,windowSize:a,children:g.map((h,D)=>t.jsxs(re,{isSingleStep:g.length===1,className:"stepperItem",windowSize:a,children:[h.action==="require_approval"?t.jsx(le,{children:n.requireText}):t.jsx(se,{children:n.notifyText}),h.nonUserActors.filter(p=>p.subType!=null).map((p,N)=>t.jsxs(B,{children:[t.jsx(I,{children:p.subType!=null?n.nonUsers[p.subType].label:null}),h.operator!="is"?t.jsx(C,{className:"operator",children:h.operator}):null]},`${p.subType}_${N}`)),h.actors.map(p=>t.jsxs(B,{children:[t.jsxs(I,{children:[p.firstName," ",p.lastName]}),h.operator!="is"?t.jsx(C,{className:"operator",children:h.operator}):null]},p.userId))]},D))})}),x?t.jsx(H,{titleComponent:t.jsx(G,{children:n.deleteApprovalRuleTitle}),descriptionComponent:t.jsx(V,{children:n.deleteApprovalRuleDesc}),primaryButtonText:n.deleteTxt,proceedButtonVariant:"danger",secondaryButtonText:n.cancelBtnText,action:y}):null]})},Y=i.div`
1
+ import{d as _,q as W,F as S,V as t,bA as M,k as E,aN as j,o,y as r,al as z,aL as P,cn as H,co as V,cp as G,cX as U,c as l,b8 as q,R as T,b7 as F,p as k,cW as J,bs as K,b as O}from"./index-DaYznKbB.js";import{n as i}from"./mui-Bw2IfcWM.js";import{a as Q}from"./sentry-Bp9GtzEp.js";import"./liveblocks-DBwZPvBF.js";import"./core-B60xt_9S.js";import"./recharts-DIy4CLtr.js";import"./zeni-epic-state-BxNqBiH-.js";import"./lottie-C5JCvMhe.js";import"./analytics-C6_KHLMr.js";import"./lexical-ljPdYVBl.js";import"./utils-CUkgdryf.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},m=new e.Error().stack;m&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[m]="7f94a5bd-c7c7-44b9-8332-0d818d241bcc",e._sentryDebugIdIdentifier="sentry-dbid-7f94a5bd-c7c7-44b9-8332-0d818d241bcc")}catch{}})();const s={sectionWidth:new r(343,580,726),ruleWrapperPadding:new r(l[3],l[4]),wrapperGap:new r(l[4],l[3]),wrapperMarginBottom:new r(l[6],l[8]),lastWrapperMarginBottom:new r(l[5],l[9]),stepperWidthHeight:new r(20,l[5]),stepperItemLeft:new r(-29,-23),stepperItemTop:new r(2,l[0]),stepperItemPaddingLeft:new r(l[0],10),stepperItemMinHeight:new r(22,28),stepperLeft:new r(11,17),stepperTop:new r(2,l[0]),stepperContentTop:new r(l[0],-4)},A={stepper:new T("smallRegular","standardRegular"),amount:new T("standardRegular","largeRegular")},X=({showDeleteBtn:e=!1,isLastSection:m=!1,approvalRule:u,onEditRuleClick:b,onDeleteRuleClick:v})=>{const[x,c]=Q.useState(!1),a=W(),{range:d}=u.criteria[0],{steps:g,approvalRuleId:w}=u,n=S.getLocalizedStrings().commonSetUp.approval,f=()=>{c(!0)},y={onOkClick:()=>{c(!1),v?.(w)},onCancelClick:()=>{c(!1)}};return t.jsxs(Y,{windowSize:a,isLastSection:m,"data-testid":j("approval-rule-section",w),children:[t.jsxs(Z,{windowSize:a,children:[t.jsxs(ne,{children:[t.jsxs(L,{windowSize:a,children:[n.from," ",P("0,0",d.min)]}),t.jsxs(ee,{children:[t.jsx(R,{}),t.jsx(te,{}),t.jsx(R,{})]}),d.max==null?t.jsx(ce,{}):t.jsx(L,{windowSize:a,children:P("0,0",{...d.min,amount:d.max.amount})})]}),t.jsxs(ae,{className:"icons",children:[e?t.jsx(pe,{onClick:f}):null,t.jsx(de,{onClick:()=>{b(w)},"data-testid":j("edit-approval-rule",w)})]})]}),t.jsx(oe,{windowSize:a,children:t.jsx(ie,{isSingleStep:g.length===1,windowSize:a,children:g.map((h,D)=>t.jsxs(re,{isSingleStep:g.length===1,className:"stepperItem",windowSize:a,children:[h.action==="require_approval"?t.jsx(le,{children:n.requireText}):t.jsx(se,{children:n.notifyText}),h.nonUserActors.filter(p=>p.subType!=null).map((p,N)=>t.jsxs(B,{children:[t.jsx(I,{children:p.subType!=null?n.nonUsers[p.subType].label:null}),h.operator!="is"?t.jsx(C,{className:"operator",children:h.operator}):null]},`${p.subType}_${N}`)),h.actors.map(p=>t.jsxs(B,{children:[t.jsxs(I,{children:[p.firstName," ",p.lastName]}),h.operator!="is"?t.jsx(C,{className:"operator",children:h.operator}):null]},p.userId))]},D))})}),x?t.jsx(H,{titleComponent:t.jsx(G,{children:n.deleteApprovalRuleTitle}),descriptionComponent:t.jsx(V,{children:n.deleteApprovalRuleDesc}),primaryButtonText:n.deleteTxt,proceedButtonVariant:"danger",secondaryButtonText:n.cancelBtnText,action:y}):null]})},Y=i.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  gap: ${e=>s.wrapperGap.valuePx(e.windowSize)};