@zeniai/web-cockpit-ui 1.14.91-dev → 1.14.91-dev-betaRR0

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 (318) hide show
  1. package/dist/assets/ACHDetailsPage-B6sY0jN6-Dv_4G1XI.js +21 -0
  2. package/dist/assets/{AIPerformancePage-BWK9fXrz-DKsZ1mo0.js → AIPerformancePage-BWK9fXrz-tS1FxKid.js} +2 -2
  3. package/dist/assets/{AccountInfoPage-DfT5DDiZ-fWZyYCg5.js → AccountInfoPage-DfT5DDiZ-CV2_yTPc.js} +3 -3
  4. package/dist/assets/{AccountInfoPageContent-nUi26Aww-BYypek4H.js → AccountInfoPageContent-nUi26Aww-CUuk_20a.js} +11 -11
  5. package/dist/assets/{AccountLockedInfoModal-BROj4bmE-BVM1T1YI.js → AccountLockedInfoModal-BROj4bmE-Cfoe0YA9.js} +5 -5
  6. package/dist/assets/{AccountReconDetailsDrawerPage-C-3FFCQZ-sRbxt9OR.js → AccountReconDetailsDrawerPage-C-3FFCQZ-CxBX6qm4.js} +7 -7
  7. package/dist/assets/{AccountRow-BM2kGWyR-T6iB2hx_.js → AccountRow-BM2kGWyR-CJCg6x0x.js} +10 -10
  8. package/dist/assets/{AccountsPromoCardStack-CNCG5uPJ-CVvmiGCx.js → AccountsPromoCardStack-CNCG5uPJ-m2eUaU2L.js} +5 -5
  9. package/dist/assets/AddAddressForCardDrawer-BuAtFO1w-B9URXppK.js +6 -0
  10. package/dist/assets/{AddToWalletPage-DyrcWdBZ-CvPiU8kF.js → AddToWalletPage-DyrcWdBZ--nr8n_4Z.js} +17 -17
  11. package/dist/assets/{AgingReportsPage-CmluxKG3-A44UbSFN.js → AgingReportsPage-CmluxKG3-BApj252U.js} +7 -7
  12. package/dist/assets/{AllUserItems-CVZZU-J3-TfKbUj2d.js → AllUserItems-CVZZU-J3-COeMV7u0.js} +6 -6
  13. package/dist/assets/{ApAgingDetailPage-CoNxqskm-DFDFQfze.js → ApAgingDetailPage-CoNxqskm-0EjHKnBi.js} +1 -1
  14. package/dist/assets/{AppBasePage-CTGNzUtN-DSfPwIJw.js → AppBasePage-CTGNzUtN-BfaGtOzk.js} +4 -4
  15. package/dist/assets/{AppDrawerContent-59dQVUxu-C64nAWzc.js → AppDrawerContent-59dQVUxu-BnKh28FR.js} +1 -1
  16. package/dist/assets/{ApprovalRulesSettingsPage-XEW5sdNg-BbhudnSk.js → ApprovalRulesSettingsPage-XEW5sdNg-LVlVZSHT.js} +1 -1
  17. package/dist/assets/{ArAgingChart-D3Ym4gVE-BqVBnPwY.js → ArAgingChart-D3Ym4gVE-DsJpAb8n.js} +4 -4
  18. package/dist/assets/{ArAgingDetailPage-BLEJSLJJ-DwMAtZnW.js → ArAgingDetailPage-BLEJSLJJ-DBAkqt03.js} +1 -1
  19. package/dist/assets/{AttachmentView-DSP80cjm-UNIl1Ai8.js → AttachmentView-DSP80cjm-D7w4ZtT4.js} +7 -7
  20. package/dist/assets/{BankAccountSection-DRrNcA79-hP-Vs5m_.js → BankAccountSection-DRrNcA79-D0y5RgB_.js} +5 -5
  21. package/dist/assets/{BankAccountWarningSection-Ub-gsfhE-CrMug0PW.js → BankAccountWarningSection-Ub-gsfhE-pvCiKI7-.js} +9 -9
  22. package/dist/assets/{BankConnectionsSettingsPage-BcTtJTbg-algC_RED.js → BankConnectionsSettingsPage-BcTtJTbg-ehD3_4Dh.js} +9 -9
  23. package/dist/assets/{BillDetailPage-D7AQyxwr-Cr5mMjBH.js → BillDetailPage-D7AQyxwr-e7SQTUJW.js} +2 -2
  24. package/dist/assets/{BillPayApprovalRuleDetailPage-BQWGENO8-OS81cubl.js → BillPayApprovalRuleDetailPage-BQWGENO8-qq4pmey1.js} +1 -1
  25. package/dist/assets/{BillPayApprovalRulesPage-BbA1Nwqe-BwMbtGVn.js → BillPayApprovalRulesPage-BbA1Nwqe-3MsdZySS.js} +1 -1
  26. package/dist/assets/{BillPayPromoPage-DSTS_vBW-BNfdixF0.js → BillPayPromoPage-DSTS_vBW-Ce9u0nsw.js} +4 -4
  27. package/dist/assets/{BillPaySetUpPage-CvlVPVCA-C-Yq8DpY.js → BillPaySetUpPage-CvlVPVCA-CCbbdiQc.js} +1 -1
  28. package/dist/assets/{BillingSettingsPage-nKpHtd4C-Bnbrb4t9.js → BillingSettingsPage-nKpHtd4C-DLiPc2FT.js} +2 -2
  29. package/dist/assets/{BillsBulkReviewDrawerPage-DNHAoceL-Dw8wGAVZ.js → BillsBulkReviewDrawerPage-DNHAoceL-CthJ8Dd6.js} +1 -1
  30. package/dist/assets/{BoxItem-Bjv3WNXO-DVhc5wWw.js → BoxItem-Bjv3WNXO-d_9opxkd.js} +1 -1
  31. package/dist/assets/{BusinessVerificationPage-Bj4D9bX2-BIO97DuN.js → BusinessVerificationPage-Bj4D9bX2-DWX5ckwL.js} +7 -7
  32. package/dist/assets/CardNumberSubText-BYY-Inxd-VoZJjuBC.js +21 -0
  33. package/dist/assets/{CashbackDetailPage-D9UiTqp9-zR6MfAmm.js → CashbackDetailPage-D9UiTqp9-9Lz5t64N.js} +14 -14
  34. package/dist/assets/{ChargeCardDetailPage-C5EdiIyl-DLQH13JM.js → ChargeCardDetailPage-C5EdiIyl-C4UWTuR2.js} +24 -24
  35. package/dist/assets/{ChargeCardListPage-DZwz1qoD-C4LK4t_r.js → ChargeCardListPage-DZwz1qoD-B146-EXW.js} +14 -14
  36. package/dist/assets/{ChargeCardListTable-D5B05Z1F-BFq9lu6-.js → ChargeCardListTable-D5B05Z1F-BBBvhTcZ.js} +13 -13
  37. package/dist/assets/{ChargeCardPromoPage-CDJMtGJb-BonChypf.js → ChargeCardPromoPage-CDJMtGJb-3FYfKocS.js} +10 -10
  38. package/dist/assets/{ChargeCardSetupPage-CVV24gS9-Bz9Vbd0f.js → ChargeCardSetupPage-CVV24gS9-BSJi9V_M.js} +3 -3
  39. package/dist/assets/{ChargeCardStatementsPage-CmjBoi5e-CP137h_S.js → ChargeCardStatementsPage-CmjBoi5e-maH5VKYN.js} +3 -3
  40. package/dist/assets/{CheckDepositDrawerPage-CYOhT5Qz-Ctri9wNN.js → CheckDepositDrawerPage-CYOhT5Qz-KAp7o68o.js} +10 -10
  41. package/dist/assets/{CollapsableReportTable-hL_Ycouc-B8J7Q_nq.js → CollapsableReportTable-hL_Ycouc-CWDILu02.js} +32 -32
  42. package/dist/assets/{CompanyOfficerDetailsSection-DR_6TlQa-eD8A7jcO.js → CompanyOfficerDetailsSection-DR_6TlQa-CaPRdQzP.js} +1 -1
  43. package/dist/assets/{CompanyPassportCard-B4chn7-Q-D5SPmBv_.js → CompanyPassportCard-B4chn7-Q-DdxULjSC.js} +1 -1
  44. package/dist/assets/{CompanyPassportPage-oT9HnnPQ-SX0lC40Z.js → CompanyPassportPage-oT9HnnPQ-Ca6G5119.js} +1 -1
  45. package/dist/assets/{CompleteProfile-BgH4v76Z-8UAVvvgt.js → CompleteProfile-BgH4v76Z-J-mh56N2.js} +1 -1
  46. package/dist/assets/ConfettiBurst-Cl6jHJ8H-C9SoFqPe.js +1 -0
  47. package/dist/assets/{CreateOrEditVendorPage-CW-u7pJU-p324jU3k.js → CreateOrEditVendorPage-CW-u7pJU-Bzg24rp1.js} +1 -1
  48. package/dist/assets/{CreditCardPaymentDrawerPage-D30M7ol4-DoXJ5bDN.js → CreditCardPaymentDrawerPage-D30M7ol4-CwaBYQLR.js} +101 -101
  49. package/dist/assets/{CurrencySelectField-DOCEstMc-DZU689ma.js → CurrencySelectField-DOCEstMc-BkHxR5HA.js} +3 -3
  50. package/dist/assets/{CustomerOnboardingActivationPage-DMPNjFL_-ku4Vuy0S.js → CustomerOnboardingActivationPage-DMPNjFL_-TbnD-4OG.js} +5 -5
  51. package/dist/assets/CustomerOnboardingContainerPage-SmOFmXBW-zEIEcSQa.js +1 -0
  52. package/dist/assets/{CustomerOnboardingDetailPageSkeleton-CBYo4VQn-Dn7fU-s8.js → CustomerOnboardingDetailPageSkeleton-CBYo4VQn-BujXWuJC.js} +8 -8
  53. package/dist/assets/{CustomerOnboardingNoStepsPage-EBVRCYfJ-CfvYqECa.js → CustomerOnboardingNoStepsPage-EBVRCYfJ-xtPONz37.js} +3 -3
  54. package/dist/assets/{CustomerOnboardingPage-TJK6s-LM-BKRL2lJB.js → CustomerOnboardingPage-TJK6s-LM-CsM-rW7t.js} +1 -1
  55. package/dist/assets/CustomerOnboardingProductSuitePage-lNIP5gSu-D8leFJAq.js +202 -0
  56. package/dist/assets/{Dashboard-WiE9IRrh-Cv0kOt8p.js → Dashboard-WiE9IRrh-D3xuAsNG.js} +14 -14
  57. package/dist/assets/{DashboardReportPage-BKHl_IVD-C4Ea2qys.js → DashboardReportPage-BKHl_IVD-CMH5dEgW.js} +11 -11
  58. package/dist/assets/DashboardSidebarBackgroundAnimation-B1mJObim-DaBPsyhD.js +12 -0
  59. package/dist/assets/{DepositAccTransactionItem-C8tChaJS-DUssbHtI.js → DepositAccTransactionItem-C8tChaJS-_jmc_rYW.js} +1 -1
  60. package/dist/assets/DepositAccTransactionListPage-B6px7upV-CQ8W1uho.js +66 -0
  61. package/dist/assets/DomesticWireDetailsPage-BFQJmzYm-DdIUFkni.js +21 -0
  62. package/dist/assets/{DownloadOverlay-DB-qx46O-j8z4pSob.js → DownloadOverlay-DB-qx46O-BzRX_iWf.js} +1 -1
  63. package/dist/assets/{DrawerPage-Bha9ElcW-B8Be3mMf.js → DrawerPage-Bha9ElcW-B91lWMHe.js} +6 -6
  64. package/dist/assets/{EditPeoplePage-B6QD5Vld-jl0Ywq6s.js → EditPeoplePage-B6QD5Vld-DKZ4nB8f.js} +1 -1
  65. package/dist/assets/{EditReimbursementDetailPage-EplOf2mP-0BJtsB6D.js → EditReimbursementDetailPage-EplOf2mP-u2YMFjY5.js} +1 -1
  66. package/dist/assets/{EntityDetailPage-5Cu1qehd-DbU14HUf.js → EntityDetailPage-5Cu1qehd-DEcgoDIq.js} +1 -1
  67. package/dist/assets/{EntitySummarySection-D6z6-dM7-CxR6H9p6.js → EntitySummarySection-D6z6-dM7-C8vqyJE6.js} +2 -2
  68. package/dist/assets/{ExpenseAutomationOverviewPage-DkoxczRc-Nhh5EsPg.js → ExpenseAutomationOverviewPage-DkoxczRc-BFmIjbbK.js} +15 -15
  69. package/dist/assets/{ExpenseAutomationPage-Na3XKgcg-v_T_dNPC.js → ExpenseAutomationPage-Na3XKgcg-BOy-W5HC.js} +1 -1
  70. package/dist/assets/{ExpressPayPage-DWGl_gml-BK4q9z9-.js → ExpressPayPage-DWGl_gml-BoP5Cs2z.js} +12 -12
  71. package/dist/assets/{FeaturePreviewPage-BgkpUPMm-CjuE-Vy6.js → FeaturePreviewPage-BgkpUPMm--0g5n3S4.js} +3 -3
  72. package/dist/assets/{FollowStepsSection-64oy2OLD-mYi4qCkY.js → FollowStepsSection-64oy2OLD-D3h0tFyq.js} +7 -7
  73. package/dist/assets/{GlobalReviewListPage-DHfTyj2C-jQOPvWvS.js → GlobalReviewListPage-DHfTyj2C-RnZ7xNb7.js} +12 -12
  74. package/dist/assets/{InformationCardStack-Dw3lhl2I-7einUDdd.js → InformationCardStack-Dw3lhl2I-i5Npg5-3.js} +1 -1
  75. package/dist/assets/{InsightsCardStack-BiEswY1Z-B0ppu_rT.js → InsightsCardStack-BiEswY1Z-DYRJcEae.js} +9 -9
  76. package/dist/assets/{InsightsSection-DvqCilqy-J94KiGaL.js → InsightsSection-DvqCilqy-BsxjZx3R.js} +3 -3
  77. package/dist/assets/{IntegrationsSettingsPage-DzVYf5ff-EFzWzTcS.js → IntegrationsSettingsPage-DzVYf5ff-Qz_64-AR.js} +2 -2
  78. package/dist/assets/{InternationalWireSwiftDetailsPage-DTHcuQsH-DCnTBpNn.js → InternationalWireSwiftDetailsPage-DTHcuQsH-LkhNT71n.js} +11 -11
  79. package/dist/assets/{InternationalWireVerificationPage-BzyRqd-m-CtMekcQE.js → InternationalWireVerificationPage-BzyRqd-m-Bs1sKcFl.js} +7 -7
  80. package/dist/assets/{InviteFormPage-CaJB3ss1-BX5i7EqT.js → InviteFormPage-CaJB3ss1-DDpF9vZd.js} +17 -17
  81. package/dist/assets/{InvitePageListView-8Ltt8tHx-CtYoDyrk.js → InvitePageListView-8Ltt8tHx-BVYRRTTO.js} +1 -1
  82. package/dist/assets/{InvitePeoplePage-A7oKAD7M-BQc_PdIV.js → InvitePeoplePage-A7oKAD7M-0hQ58v_R.js} +2 -2
  83. package/dist/assets/{InvoiceUploadSection-DomquLut-e92SA0tf.js → InvoiceUploadSection-DomquLut-C6XQxVf3.js} +5 -5
  84. package/dist/assets/{IssueChargeCardPage-DtIQ1Buk-DjM4t17X.js → IssueChargeCardPage-DtIQ1Buk-DVoIaqMD.js} +1 -1
  85. package/dist/assets/{LabeledAddressValue-B_9lh-_a-DIizmhzb.js → LabeledAddressValue-B_9lh-_a-BQeLvRQa.js} +2 -2
  86. package/dist/assets/{LabeledAddressValueField-CC7T3qZQ-m9gvzhHo.js → LabeledAddressValueField-CC7T3qZQ-CjYkOklE.js} +2 -2
  87. package/dist/assets/LabeledControlledCheckBoxField-CeMM7Ci3-DVaYpdZO.js +16 -0
  88. package/dist/assets/{LabeledCreatableSingleSelectField-DKD0oEl8-gq-eDRMt.js → LabeledCreatableSingleSelectField-DKD0oEl8-Cyxj1Kus.js} +3 -3
  89. package/dist/assets/{LabeledDocumentField-Dy3jwAiL-49YAoImC.js → LabeledDocumentField-Dy3jwAiL-XoHwubm3.js} +3 -3
  90. package/dist/assets/{LabeledDropDownFormattedTextField-DDzM3r6s-ECrfBFdw.js → LabeledDropDownFormattedTextField-DDzM3r6s-Wztx4Tcl.js} +1 -1
  91. package/dist/assets/{LabeledText-axaAGyUS-Dng_AeMD.js → LabeledText-axaAGyUS-BpEJBxD4.js} +2 -2
  92. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-UlGND56Y-Bns3vXLL.js → LabeledUserSingleSelectWithSubtitlesField-UlGND56Y-CeEZ7NWG.js} +17 -17
  93. package/dist/assets/{LabeledZeniRolesDropDownField-dpz7g9jK-BS9FUIQq.js → LabeledZeniRolesDropDownField-dpz7g9jK-1OORssNe.js} +9 -9
  94. package/dist/assets/{LinkJETransactionPage-CJniqVcu-DlmRVmek.js → LinkJETransactionPage-CJniqVcu-BUqqOVZ3.js} +3 -3
  95. package/dist/assets/{LockCardPage-CjO8cr2a-_f0132IP.js → LockCardPage-CjO8cr2a-B7T-NUky.js} +12 -12
  96. package/dist/assets/{LowBalancePopup-DVS-w3b7-DP0lgN2T.js → LowBalancePopup-DVS-w3b7-CXJHrLHV.js} +2 -2
  97. package/dist/assets/MagicLinkACHDetailsPage-CUHMKmcj-DbWiJSy4.js +1 -0
  98. package/dist/assets/MagicLinkDomesticWireDetailsPage-Dnc7OzKQ-S_MOFfkp.js +1 -0
  99. package/dist/assets/MagicLinkInternationalWireDetailsPage-sBpQkYwP-B_hpFhv2.js +1 -0
  100. package/dist/assets/{MagicLinkSuccessPage-DAAoq3iT-c3oKtr_f.js → MagicLinkSuccessPage-DAAoq3iT-C_Yyw67d.js} +6 -6
  101. package/dist/assets/MagicLinkTitleSection-FMRBLlRJ-BJi3iHKO.js +17 -0
  102. package/dist/assets/MailingDetailsSection-CiJ5JLA6-Dh-rh1lg.js +21 -0
  103. package/dist/assets/Menu-wpP8R1br-CAapPWSw.js +17 -0
  104. package/dist/assets/{MyBankConnectionsSettingsPage-DIIFgnkE-CogNLqVY.js → MyBankConnectionsSettingsPage-DIIFgnkE-BP3xfm53.js} +2 -2
  105. package/dist/assets/{MyPendingActivationChargeCardListPage-Di_KYRgS-DRNBLhDG.js → MyPendingActivationChargeCardListPage-Di_KYRgS-Ci2uuBdO.js} +1 -1
  106. package/dist/assets/{MyProfileSettingsPage-m6vaeGgZ-chnTYzOu.js → MyProfileSettingsPage-m6vaeGgZ-CzB44LiA.js} +4 -4
  107. package/dist/assets/{NavBarWithPicker-C_qO8mgD-DUpFfabv.js → NavBarWithPicker-C_qO8mgD-BWszQoIE.js} +4 -4
  108. package/dist/assets/{NavigationArrow-BXYIj6Wz-DziJLhPd.js → NavigationArrow-BXYIj6Wz-B7qUUnjS.js} +8 -8
  109. package/dist/assets/{NavigationDots-BvKSgdgh-LQiuRx4x.js → NavigationDots-BvKSgdgh-BXw04_O_.js} +4 -4
  110. package/dist/assets/{NewGlobalMerchantPage-Dc3xEoiZ-C2aDiu95.js → NewGlobalMerchantPage-Dc3xEoiZ-DB34-Ax1.js} +2 -2
  111. package/dist/assets/NoDataChart-C5ZP32zB-CMBnBikM.js +26 -0
  112. package/dist/assets/NoDataTable-BnBYE8p_-D99JCqJE.js +8 -0
  113. package/dist/assets/{NotFoundPage-CZ25GWwU-BIBXUzqs.js → NotFoundPage-CZ25GWwU-Bhr9smJg.js} +4 -4
  114. package/dist/assets/{NotificationSettingsPage-DHvgj7Hu-D3suXG--.js → NotificationSettingsPage-DHvgj7Hu-D70wdxPy.js} +3 -3
  115. package/dist/assets/{NotificationsListConfig-BBLSv0sd-C4KCM8pw.js → NotificationsListConfig-BBLSv0sd-D3pDalXG.js} +1 -1
  116. package/dist/assets/{NotificationsPage-CGVEC-Zc-C8fq9c_9.js → NotificationsPage-CGVEC-Zc-aEkue81y.js} +14 -14
  117. package/dist/assets/{OpExByVendorPage-D55JZne--D9xmj7rz.js → OpExByVendorPage-D55JZne--BA2gN_9D.js} +6 -6
  118. package/dist/assets/{OverlayContainerPage-Daz3A7cI-D6qPPmeQ.js → OverlayContainerPage-Daz3A7cI-B2pRyPAw.js} +1 -1
  119. package/dist/assets/{PandLWithForecastPage-fVmttEKP-D6Evs_k0.js → PandLWithForecastPage-fVmttEKP-Cpmbp3qS.js} +11 -11
  120. package/dist/assets/{PaymentAccountSetupBillingAddressSection-BiU8tQnm-4Kl9uXwr.js → PaymentAccountSetupBillingAddressSection-BiU8tQnm-_fnUz-j3.js} +5 -5
  121. package/dist/assets/{PeoplePage-QuuuX2AS-CUwuNLCQ.js → PeoplePage-QuuuX2AS-BJIGfeNN.js} +12 -12
  122. package/dist/assets/Preview-m-FcrQ0s.js +1 -0
  123. package/dist/assets/{ProductsCarousel-zdZkfaiY-CKycG9Wt.js → ProductsCarousel-zdZkfaiY-9riU76fC.js} +3 -3
  124. package/dist/assets/{PromoBaseCards-flFtcbIg-iLyc6jwq.js → PromoBaseCards-flFtcbIg-hQ-cGzbT.js} +1 -1
  125. package/dist/assets/{QBOConnectionDialog-DNB2C1vQ-B6h7mZJt.js → QBOConnectionDialog-DNB2C1vQ-B-m0Orif.js} +2 -2
  126. package/dist/assets/{QBOSetupSection-B59etoGz-Dx4Hkrje.js → QBOSetupSection-B59etoGz-BjsJ5dP9.js} +1 -1
  127. package/dist/assets/{ReimbursementApprovalRuleDetailPage-D7do3o0A-DaR0xdJA.js → ReimbursementApprovalRuleDetailPage-D7do3o0A-ZSNYROgC.js} +1 -1
  128. package/dist/assets/{ReimbursementApprovalRulesPage-BJ6GewQ2-D7efVmkv.js → ReimbursementApprovalRulesPage-BJ6GewQ2-cn7dx9_x.js} +1 -1
  129. package/dist/assets/{ReimbursementDetailPage-DKAtYSOy-C-uqjyM_.js → ReimbursementDetailPage-DKAtYSOy-rPi_28qO.js} +1 -1
  130. package/dist/assets/{ReimbursementPromoPage-DKcSHlHp-XcrUKScH.js → ReimbursementPromoPage-DKcSHlHp-B-x2_K1K.js} +9 -9
  131. package/dist/assets/{ReimbursementSetUpPage-Y1e_hna--rh2VyUST.js → ReimbursementSetUpPage-Y1e_hna--CWaIrVmZ.js} +5 -5
  132. package/dist/assets/{ReimbursementsBulkReviewDrawerPage-fgz8s4w9-CzZAxGly.js → ReimbursementsBulkReviewDrawerPage-fgz8s4w9-BgzjXAGE.js} +1 -1
  133. package/dist/assets/{ReloadCard-DjtdPHq5-BoSxtWCb.js → ReloadCard-DjtdPHq5-qE-nJEXk.js} +3 -3
  134. package/dist/assets/{ReportTableViewSelector-C8e6IEWt-BJN3fro7.js → ReportTableViewSelector-C8e6IEWt--jlW7QpR.js} +1 -1
  135. package/dist/assets/{ReportsPage-BIe0eDLC-D5ygJVqP.js → ReportsPage-BIe0eDLC-Cn2-db9t.js} +3 -3
  136. package/dist/assets/{RevenueChart-Cc0XrxLL-BB6kfchw.js → RevenueChart-Cc0XrxLL-RTOUbgfW.js} +30 -30
  137. package/dist/assets/{ReviewDetailsPage-CU1AYWgR--SOiatSS.js → ReviewDetailsPage-CU1AYWgR-BCcFVvxj.js} +17 -17
  138. package/dist/assets/{ReviewOverlay-CruJ9O84-BdMFQyaH.js → ReviewOverlay-CruJ9O84-CVyRQtbr.js} +1 -1
  139. package/dist/assets/{RoleWithToolTip-fC3byzzv-DteZC2-q.js → RoleWithToolTip-fC3byzzv-Da5EXkAB.js} +6 -6
  140. package/dist/assets/{ScheduleDetailsFixedAssetsPage-CE3tUYhk-Aj3mnuFr.js → ScheduleDetailsFixedAssetsPage-CE3tUYhk-NtG2QTRz.js} +3 -3
  141. package/dist/assets/{ScheduleDetailsPage-BhAqJ1Of-BNYzMpaE.js → ScheduleDetailsPage-BhAqJ1Of-D1IstsCs.js} +3 -3
  142. package/dist/assets/{ScheduleSequenceTable-NSt1juSD-BtySotUK.js → ScheduleSequenceTable-NSt1juSD-BKLbxQMq.js} +21 -21
  143. package/dist/assets/{ScreenRoutes-Ofrn7XPK.js → ScreenRoutes-CWkpMCjL.js} +75 -75
  144. package/dist/assets/SetUpAccountSection-C1EnJv1V-Cvu34ipQ.js +378 -0
  145. package/dist/assets/{SignIn-BhIof_Cm-Stp0fHNQ.js → SignIn-BhIof_Cm-DeDZlCNC.js} +1 -1
  146. package/dist/assets/SignInScreen-Cihieu4J.js +1 -0
  147. package/dist/assets/{SpendManagementListViewPage-BEWNNX_Z-Qf8TDCkQ.js → SpendManagementListViewPage-BEWNNX_Z-j_tiMoWb.js} +4 -4
  148. package/dist/assets/{SpendManagementPerTabPage-Vs1Eoxgd-DGhcXeqs.js → SpendManagementPerTabPage-Vs1Eoxgd-DfGQnSHO.js} +20 -20
  149. package/dist/assets/{SpendManagementSection-C38Zpi1z-Hvu4v5m7.js → SpendManagementSection-C38Zpi1z-B-GaQ2j9.js} +10 -10
  150. package/dist/assets/{StatementItem-bHInVThd-BfGU3kqj.js → StatementItem-bHInVThd-CsJa48J1.js} +2 -2
  151. package/dist/assets/{StatementsPage-CGQhmaXx-CVtkQqM2.js → StatementsPage-CGQhmaXx-CawRkQvA.js} +1 -1
  152. package/dist/assets/{StatusSwitcher-7fiKLb5g-cQtYU__8.js → StatusSwitcher-7fiKLb5g-B_2JeKNK.js} +1 -1
  153. package/dist/assets/{SubTabSwitcher-9AnfZiNy-CobTdTqd.js → SubTabSwitcher-9AnfZiNy-vCnU7WF-.js} +3 -3
  154. package/dist/assets/{SummaryCard-DOycYLs1-BLeRuOD7.js → SummaryCard-DOycYLs1-CaQB1fqx.js} +1 -1
  155. package/dist/assets/{TaskManagementPage-CehyMnY0-BwJtO-U4.js → TaskManagementPage-CehyMnY0-Cue4tauF.js} +10 -10
  156. package/dist/assets/{TimeRangeSwitcher-Dq2FEgFR-DmMi5La_.js → TimeRangeSwitcher-Dq2FEgFR-D3AQaZI-.js} +11 -11
  157. package/dist/assets/{TimeframeSwitcher-By3xz_-m-1CBF6COV.js → TimeframeSwitcher-By3xz_-m-Bv71ZHom.js} +6 -6
  158. package/dist/assets/{TimeframeSwitcherWithToggle-a3fmbzNR-B9R7QlVw.js → TimeframeSwitcherWithToggle-a3fmbzNR-DZx2FqjJ.js} +3 -3
  159. package/dist/assets/{TopExCard-GEQpp_KY-74e79UYx.js → TopExCard-GEQpp_KY-BIUWKmJn.js} +4 -4
  160. package/dist/assets/{TopExDetailPage-hid1dQYl-WgHXC6hE.js → TopExDetailPage-hid1dQYl-vzpcxnkQ.js} +9 -9
  161. package/dist/assets/{TransactionDetailPage-CX4JW9WM-DyZTJ1bq.js → TransactionDetailPage-CX4JW9WM-BshlnJb5.js} +3 -3
  162. package/dist/assets/{TransactionList-BixeXh4Y-Il163hc_.js → TransactionList-BixeXh4Y-DpKuzYhu.js} +13 -13
  163. package/dist/assets/{TransactionListBig-CGMMJQBd-KQNhkGbE.js → TransactionListBig-CGMMJQBd-CPWLJgiW.js} +7 -7
  164. package/dist/assets/{TransactionListPage-CBVUTX4y-DWsla1LN.js → TransactionListPage-CBVUTX4y-CTzBsfwd.js} +5 -5
  165. package/dist/assets/{TransactionVendorDetailPage-CEbHH_0r-CS6QQqEG.js → TransactionVendorDetailPage-CEbHH_0r-B2rNZ7e8.js} +4 -4
  166. package/dist/assets/{TransferDrawerPage-BFd7uQnF-AGu3EQB7.js → TransferDrawerPage-BFd7uQnF-BDnFaRJN.js} +32 -32
  167. package/dist/assets/{TreasuryOverviewPage-Bd58hOy8-P3TIcDYG.js → TreasuryOverviewPage-Bd58hOy8-COabKjkh.js} +28 -28
  168. package/dist/assets/{TreasuryPromoPage-BvArufHi-B6OSOn5z.js → TreasuryPromoPage-BvArufHi-mIhWyHJJ.js} +6 -6
  169. package/dist/assets/{TreasuryStatementsPage-YLCEBbRh-BeAedV0-.js → TreasuryStatementsPage-YLCEBbRh-Hb92GX1G.js} +1 -1
  170. package/dist/assets/{TreasuryTaxLetterPage-D_6mgQqi-CO3HXioV.js → TreasuryTaxLetterPage-D_6mgQqi-YEx3tems.js} +1 -1
  171. package/dist/assets/{TrendChart-D3dT6hUb-CRyvw86n.js → TrendChart-D3dT6hUb-BmrIV_Lt.js} +3 -3
  172. package/dist/assets/{TrendWithTransactions-Gj-u5KXi-CpckXM1N.js → TrendWithTransactions-Gj-u5KXi-_cLHr6Sd.js} +1 -1
  173. package/dist/assets/{UncategorizedAccountsMappingPage-B3eRYolj-D-Jwo7-l.js → UncategorizedAccountsMappingPage-B3eRYolj-BupHpvxs.js} +3 -3
  174. package/dist/assets/{UnitIntegrationPage-DpjR9hUu-BIdCIf5k.js → UnitIntegrationPage-DpjR9hUu-Bkk7bekK.js} +4 -4
  175. package/dist/assets/UploadAdditionalDocumentOverlay-COtszXUY-DeW-OEQ-.js +38 -0
  176. package/dist/assets/Vendor2FAPopup-C85mhuSb-Ci-aokF3.js +1 -0
  177. package/dist/assets/VendorACHDetailsPage-DeexeWpV-PyPL7qy9.js +1 -0
  178. package/dist/assets/{VendorDetailPage-BrbKfsL4-BYuDBwtU.js → VendorDetailPage-BrbKfsL4-C5yq1wZE.js} +86 -86
  179. package/dist/assets/VendorDomesticWireDetailsPage-DBChSKlR-DfQ9uMtB.js +1 -0
  180. package/dist/assets/{VendorFiling1099EditablePage-DgBLn3fd-DyXTQ39Q.js → VendorFiling1099EditablePage-DgBLn3fd-yxfQxsgz.js} +32 -32
  181. package/dist/assets/{VendorFirstReviewPage-jc7-OExI-CcNlKzIr.js → VendorFirstReviewPage-jc7-OExI-CXLfVnQg.js} +58 -58
  182. package/dist/assets/{VendorInternationalWireDetailsPage-c6isgwH2-CfXEdhbK.js → VendorInternationalWireDetailsPage-c6isgwH2-rWvjTHMm.js} +7 -7
  183. package/dist/assets/VendorInternationalWireSwiftDetailsPage-CywCx8-0-toI88yyC.js +1 -0
  184. package/dist/assets/{VendorsAccountsSection--VfdAF3H-aooc9xax.js → VendorsAccountsSection--VfdAF3H-C0MWVdaQ.js} +2 -2
  185. package/dist/assets/{VerifyDevice-CaifjdR8-CqDImdvA.js → VerifyDevice-CaifjdR8-oDnQadr1.js} +1 -1
  186. package/dist/assets/VideoPlayer-BVR9LPmm-C0OY9hGQ.js +78 -0
  187. package/dist/assets/{VideoPopup-BEXc8o78-CxvDyO3n.js → VideoPopup-BEXc8o78-BfKdRFKO.js} +5 -5
  188. package/dist/assets/{WarningsDrawerPage-CboqfxzC-BsdL63Q1.js → WarningsDrawerPage-CboqfxzC-Df6JGLWB.js} +4 -4
  189. package/dist/assets/{ZeniAccountDetailPage-Dujj0-XC-Bs0_mCxO.js → ZeniAccountDetailPage-Dujj0-XC-D3Dn9J7C.js} +21 -21
  190. package/dist/assets/{ZeniAccountListViewPage--SMJDGvC-B9VB-g9k.js → ZeniAccountListViewPage--SMJDGvC-D8iSNbC5.js} +1 -1
  191. package/dist/assets/ZeniAccountNavBarPieces-DqLJVQ5t-CpI_x0eJ.js +14 -0
  192. package/dist/assets/{ZeniAccountPromoPage-BVjJvWsA-D_izrQ3u.js → ZeniAccountPromoPage-BVjJvWsA-eagcbJWN.js} +6 -6
  193. package/dist/assets/{ZeniAccountSetupPage-Dvxst8RT-Dw_0q67c.js → ZeniAccountSetupPage-Dvxst8RT-RZ48F_0V.js} +1 -1
  194. package/dist/assets/{ZeniCopyright-B88k3pkr-D_GBhPtz.js → ZeniCopyright-B88k3pkr-CwZenhhP.js} +1 -1
  195. package/dist/assets/ZeniTransferAmountSlider-1DS0MsTI-DcvYtFGr.js +63 -0
  196. package/dist/assets/add-to-wallet-DgdBD8_G-B14A9z81.js +1 -0
  197. package/dist/assets/{analytics-CHPpxU3b.js → analytics-C6L7hlHG.js} +1 -1
  198. package/dist/assets/analyticsHelper-DKc66BYi.js +1 -0
  199. package/dist/assets/{analyticsHelper-DmujELNG-B2_5NV-p.js → analyticsHelper-DmujELNG-ClL2XzYx.js} +1 -1
  200. package/dist/assets/arrow-south-east-round-PEovUgvH-4-pP5pik.js +1 -0
  201. package/dist/assets/auto-transfer-rule-mbafm5D3-D30iL0YR.js +1 -0
  202. package/dist/assets/{chartTypes-DRiSljvE-CN4L62GH.js → chartTypes-DRiSljvE-CrLsLRjf.js} +1 -1
  203. package/dist/assets/{commonDimensions-BDftm0gJ-DyUDFvZC.js → commonDimensions-BDftm0gJ-Bk927TMF.js} +1 -1
  204. package/dist/assets/constants-B1dh_xIn.js +1 -0
  205. package/dist/assets/core-CadaPWsO.js +62 -0
  206. package/dist/assets/{dash.all.min-Bzta_mrR.js → dash.all.min-BwAm2K21.js} +1 -1
  207. package/dist/assets/{detailCommon-BGgE4mE3-D-w4kHC7.js → detailCommon-BGgE4mE3-BEh9p6sH.js} +3 -3
  208. package/dist/assets/{downloadPdf-DCQ9vVZs-Be80rXL-.js → downloadPdf-DCQ9vVZs-DnysTBvz.js} +1 -1
  209. package/dist/assets/empty-BVIRhP6J.js +1 -0
  210. package/dist/assets/empty-Co20hejg.js +1 -0
  211. package/dist/assets/epic-IoIkBJiH.js +2 -0
  212. package/dist/assets/gift-box-Cmt9OgIZ-B8pnTsjV.js +1 -0
  213. package/dist/assets/graphic-no-data-l-DU4J8fDt-CgpIivOh.js +1 -0
  214. package/dist/assets/graphic-no-data-net-burn-l-CzmycA0m-Bbm3dmZD.js +1 -0
  215. package/dist/assets/handshake-BPg58FML-BttIiMDC.js +1 -0
  216. package/dist/assets/{hls-SyH7Grr1.js → hls-DifHSkbp.js} +1 -1
  217. package/dist/assets/{index-BiiqfeFx.js → index-4dPdvww9.js} +1 -1
  218. package/dist/assets/index-6sWe2DhR.js +1 -0
  219. package/dist/assets/{index-DJLrbf0F.js → index-CiMyMhgu.js} +98 -98
  220. package/dist/assets/index-CnYBBjVQ.js +1 -0
  221. package/dist/assets/{index-BG_bOyH4.js → index-DBJcoW1J.js} +3 -3
  222. package/dist/assets/index-sRtT3LWH.js +1 -0
  223. package/dist/assets/index-sbaC-tND.js +1 -0
  224. package/dist/assets/{lexical-dZFDzIA1.js → lexical-DEI4_j9X.js} +1 -1
  225. package/dist/assets/{liveblocks-C2I4vRCJ.js → liveblocks-D92pTRaw.js} +28 -20
  226. package/dist/assets/lottie-Dv5hJ5mA.js +9 -0
  227. package/dist/assets/{mapLoadingInProgressToTreeNode-CXP8ZZTG-DkaL-N2A.js → mapLoadingInProgressToTreeNode-CXP8ZZTG-vSJ6j19m.js} +1 -1
  228. package/dist/assets/{mapSectionWithAcOnlyToTreeNode-BZSP-VcP-BuUbTOqM.js → mapSectionWithAcOnlyToTreeNode-BZSP-VcP-CrMDUoxM.js} +1 -1
  229. package/dist/assets/{mapSpacerToTreeNode-Bc1S_1ej-BOT7FVTB.js → mapSpacerToTreeNode-Bc1S_1ej-BemzQbL5.js} +1 -1
  230. package/dist/assets/{mapTimeframeBalancesToTreeNode-ClgcHX26-Cs9gyyXd.js → mapTimeframeBalancesToTreeNode-ClgcHX26-Bi0tXnM_.js} +1 -1
  231. package/dist/assets/{mapTimeframeBalancesToTreeNode-Cwp98PMa-tz5P0V5W.js → mapTimeframeBalancesToTreeNode-Cwp98PMa-DQxUPxNn.js} +1 -1
  232. package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-BmDRXfMV-Bmf8af15.js → mapTimeframeHeaderLoadingInProgressToTreeNode-BmDRXfMV-FlWaHbgN.js} +1 -1
  233. package/dist/assets/mui-D2MqZYRi.js +17 -0
  234. package/dist/assets/page-detail-CWX5S47F-CycRTeYU.js +1 -0
  235. package/dist/assets/radio-default-CiSgisfh-C3-g-fgb.js +1 -0
  236. package/dist/assets/{react-D9gRIIQJ.js → react-B3z6gyiL.js} +2 -2
  237. package/dist/assets/react-Bbwv1dSd.js +17 -0
  238. package/dist/assets/{react-CurU10nF.js → react-BnUDmuTB.js} +3 -3
  239. package/dist/assets/{react-B2Dtpj08.js → react-Bv_vNAf8.js} +2 -2
  240. package/dist/assets/{react-C5CamjHm.js → react-CSxJXI_i.js} +2 -2
  241. package/dist/assets/{react-BuuImry8.js → react-CeQlQsdb.js} +1 -1
  242. package/dist/assets/{react-KsUvriAa.js → react-D2dXMlhh.js} +2 -2
  243. package/dist/assets/{react-PdDuKQQV.js → react-UOVhoe0Z.js} +1 -1
  244. package/dist/assets/recharts-t7V-Kaqf.js +73 -0
  245. package/dist/assets/sentry-DMKAGVXl.js +515 -0
  246. package/dist/assets/shield-DOlUxcFf-DKC5YbXI.js +1 -0
  247. package/dist/assets/{toCOABalancesWithID--oEGymMJ-DrPkDPTu.js → toCOABalancesWithID--oEGymMJ-DIxvxTaj.js} +1 -1
  248. package/dist/assets/toChartData-CavJzP6f-Bu_YRbEM.js +1 -0
  249. package/dist/assets/transaction-placeholder-CpOwZAMG-BdGoUwcv.js +1 -0
  250. package/dist/assets/{uploadAttachment-BuVCsq0Q-BB-5S1Qg.js → uploadAttachment-BuVCsq0Q-C2wm0oAH.js} +7 -7
  251. package/dist/assets/{uploadReceipts-CPw64UYa-DU-gRzOR.js → uploadReceipts-CPw64UYa-BgNLcFfw.js} +1 -1
  252. package/dist/assets/url-CnqqWgIy.js +1 -0
  253. package/dist/assets/{url-RUB1rBsd.js → url-DsW1BPwo.js} +1 -1
  254. package/dist/assets/useLongPress-GCK2COYQ-DVYx_Wdi.js +1 -0
  255. package/dist/assets/usp-line-BBd1wKwW-D20AQITY.js +1 -0
  256. package/dist/assets/{utils-DUsHM-Uc.js → utils-BWiizB9D.js} +19 -19
  257. package/dist/assets/{zeni-epic-state-CQt4n3Xe.js → zeni-epic-state-DjAFCaxy.js} +34 -34
  258. package/dist/index.html +1 -1
  259. package/package.json +2 -2
  260. package/dist/assets/ACHDetailsPage-B6sY0jN6-B0gf8H4B.js +0 -21
  261. package/dist/assets/AddAddressForCardDrawer-BuAtFO1w-BFBt3SFQ.js +0 -6
  262. package/dist/assets/CardNumberSubText-BYY-Inxd-BdlFsn4_.js +0 -21
  263. package/dist/assets/ConfettiBurst-Cl6jHJ8H-LC2meCe-.js +0 -1
  264. package/dist/assets/CustomerOnboardingContainerPage-SmOFmXBW-DTgF2r26.js +0 -1
  265. package/dist/assets/CustomerOnboardingProductSuitePage-lNIP5gSu-PR2itKHa.js +0 -202
  266. package/dist/assets/DashboardSidebarBackgroundAnimation-B1mJObim-BrrhB9xn.js +0 -12
  267. package/dist/assets/DepositAccTransactionListPage-B6px7upV-CeIhvwtb.js +0 -66
  268. package/dist/assets/DomesticWireDetailsPage-BFQJmzYm-RX-JpFy3.js +0 -21
  269. package/dist/assets/LabeledControlledCheckBoxField-CeMM7Ci3-mZLzoQGL.js +0 -16
  270. package/dist/assets/MagicLinkACHDetailsPage-CUHMKmcj-B4JK6Tsk.js +0 -1
  271. package/dist/assets/MagicLinkDomesticWireDetailsPage-Dnc7OzKQ-CjkHVZHo.js +0 -1
  272. package/dist/assets/MagicLinkInternationalWireDetailsPage-sBpQkYwP-BFgoRuDp.js +0 -1
  273. package/dist/assets/MagicLinkTitleSection-FMRBLlRJ-BOWrScDm.js +0 -17
  274. package/dist/assets/MailingDetailsSection-CiJ5JLA6-DddwOxAo.js +0 -21
  275. package/dist/assets/Menu-wpP8R1br-CxnIQs8p.js +0 -17
  276. package/dist/assets/NoDataChart-C5ZP32zB-Co6FSXzL.js +0 -26
  277. package/dist/assets/NoDataTable-BnBYE8p_-CiELOEE2.js +0 -8
  278. package/dist/assets/Preview-D0lKYz6_.js +0 -1
  279. package/dist/assets/SetUpAccountSection-C1EnJv1V-nWkvB51T.js +0 -378
  280. package/dist/assets/SignInScreen-ApNcuhAj.js +0 -1
  281. package/dist/assets/UploadAdditionalDocumentOverlay-COtszXUY-DBj80beJ.js +0 -38
  282. package/dist/assets/Vendor2FAPopup-C85mhuSb-SCWhQlz7.js +0 -1
  283. package/dist/assets/VendorACHDetailsPage-DeexeWpV-CvETHK8j.js +0 -1
  284. package/dist/assets/VendorDomesticWireDetailsPage-DBChSKlR-4iWeRYsC.js +0 -1
  285. package/dist/assets/VendorInternationalWireSwiftDetailsPage-CywCx8-0-BWyYdePs.js +0 -1
  286. package/dist/assets/VideoPlayer-BVR9LPmm-Cf1X7mgb.js +0 -78
  287. package/dist/assets/ZeniAccountNavBarPieces-DqLJVQ5t-B6EqVL37.js +0 -14
  288. package/dist/assets/ZeniTransferAmountSlider-1DS0MsTI-D_vM8ORb.js +0 -63
  289. package/dist/assets/add-to-wallet-DgdBD8_G-DvwlYBb0.js +0 -1
  290. package/dist/assets/analyticsHelper-D88-Oppk.js +0 -1
  291. package/dist/assets/arrow-south-east-round-PEovUgvH-D9klpzRU.js +0 -1
  292. package/dist/assets/auto-transfer-rule-mbafm5D3-CHCjFoIN.js +0 -1
  293. package/dist/assets/constants-B4Ak6U9p.js +0 -1
  294. package/dist/assets/core-CA3j8Axi.js +0 -77
  295. package/dist/assets/empty-CrPfQgao.js +0 -1
  296. package/dist/assets/empty-Dn000SHy.js +0 -1
  297. package/dist/assets/epic-C_I3d-Sx.js +0 -2
  298. package/dist/assets/gift-box-Cmt9OgIZ-eSACml6z.js +0 -1
  299. package/dist/assets/graphic-no-data-l-DU4J8fDt-BzIPOWHn.js +0 -1
  300. package/dist/assets/graphic-no-data-net-burn-l-CzmycA0m-CtBcTNoa.js +0 -1
  301. package/dist/assets/handshake-BPg58FML-DvA7MfJg.js +0 -1
  302. package/dist/assets/index-BWZriWwb.js +0 -1
  303. package/dist/assets/index-C-ypGNlB.js +0 -1
  304. package/dist/assets/index-C4-PHmb9.js +0 -1
  305. package/dist/assets/index-C5fdNIhc.js +0 -1
  306. package/dist/assets/lottie-B7mXQ-R-.js +0 -9
  307. package/dist/assets/mui-DpJXlk4t.js +0 -25
  308. package/dist/assets/page-detail-CWX5S47F-Byx36A1h.js +0 -1
  309. package/dist/assets/radio-default-CiSgisfh-HcY1qXLg.js +0 -1
  310. package/dist/assets/react-B7zczQTC.js +0 -17
  311. package/dist/assets/recharts-BGdJnVo5.js +0 -73
  312. package/dist/assets/sentry-BA4piVNf.js +0 -500
  313. package/dist/assets/shield-DOlUxcFf-DciCHlJY.js +0 -1
  314. package/dist/assets/toChartData-CavJzP6f-B2iIF7nP.js +0 -1
  315. package/dist/assets/transaction-placeholder-CpOwZAMG-2yCTNaDx.js +0 -1
  316. package/dist/assets/url-Bq2XNMnM.js +0 -1
  317. package/dist/assets/useLongPress-GCK2COYQ-Ch-mrcwO.js +0 -1
  318. package/dist/assets/usp-line-BBd1wKwW-BZdA9pHf.js +0 -1
@@ -1,4 +1,4 @@
1
- import{d as Ke,q as Y,a8 as _e,ax as Ee,cB as Ye,V as t,F as ue,bz as Qe,ab as Ze,ck as Ce,o,n as ye,aK as P,bL as Je,cj as Xe,b1 as et,dj as tt,cq as lt,a9 as ot,m as nt,cY as it,bC as We,aQ as at,y as N,bM as se,c as $,dp as Ie,ag as we,cv as rt,cy as st,cO as dt,i7 as ct,df as je,c_ as me,bQ as _,es as ke,an as ht,ic as mt,ak as gt,bf as pt,id as Oe,cf as ut,br as wt,p as De,ie as bt}from"./index-DJLrbf0F.js";import{a as C}from"./core-CA3j8Axi.js";import{n as i,b as Se}from"./mui-DpJXlk4t.js";import{c3 as xt,FT as vt}from"./zeni-epic-state-CQt4n3Xe.js";import"./sentry-BA4piVNf.js";import"./lottie-B7mXQ-R-.js";import"./liveblocks-C2I4vRCJ.js";import"./utils-DUsHM-Uc.js";import"./analytics-CHPpxU3b.js";import"./recharts-BGdJnVo5.js";import"./lexical-dZFDzIA1.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},l=new e.Error().stack;l&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[l]="5b1d9cd0-028a-4db7-ad45-039857506d23",e._sentryDebugIdIdentifier="sentry-dbid-5b1d9cd0-028a-4db7-ad45-039857506d23")}catch{}})();const Re="recommendedFirst",Ne="recommendedSecond",H="currentSelection",ve="originalVendor",ge="requested",de=(e,l)=>`${e}.${l}`,ce=(e,l,a)=>a!=null?`${e}.${l}.${a}`:`${e}.${l}`;function ft(e){const l=Y(),{button:{label:a,onClick:n},search:{isOpen:g,placeHolder:m,searchText:w,onTextChange:y}}=e;return t.jsxs(yt,{children:[t.jsx(jt,{isSearchOpen:g&&l==="small",windowsize:l,children:l!=="small"?t.jsx(Ce,{style:{position:"absolute",left:"unset",right:o.sp0},placeholder:m,searchText:w,onSearchTextChanged:y}):null}),l==="small"?t.jsx(Ce,{style:{position:"absolute",left:"5px",right:"unset",top:"44px",width:"98%"},placeholder:m,searchText:w,onSearchTextChanged:y,keepSearchBoxOpen:!0}):null,l==="small"?t.jsx(St,{style:{marginLeft:o.sp5}}):t.jsx(ye,{variant:"primary",onClick:n,label:a,size:"small",style:{marginLeft:o.sp3}})]})}const yt=i.div`
1
+ import{d as Ke,q as Y,a8 as _e,ax as Ee,cB as Ye,V as t,bz as Qe,ab as Ze,ck as Ce,o,n as ye,F as ue,bL as Je,aM as T,cj as Xe,b1 as et,dj as tt,cq as lt,a9 as ot,m as nt,cY as it,bC as We,aQ as at,y as N,bM as se,c as $,dp as Ie,ag as we,cv as rt,cy as st,cO as dt,df as je,c_ as me,bQ as _,es as ke,an as ct,ic as ht,ak as mt,bf as gt,i9 as pt,id as Oe,cf as ut,br as wt,p as De,ie as bt}from"./index-CiMyMhgu.js";import{a as C}from"./sentry-DMKAGVXl.js";import{n as i,c as Se}from"./mui-D2MqZYRi.js";import{c4 as xt,FS as vt}from"./zeni-epic-state-DjAFCaxy.js";import"./liveblocks-D92pTRaw.js";import"./core-CadaPWsO.js";import"./recharts-t7V-Kaqf.js";import"./lottie-Dv5hJ5mA.js";import"./analytics-C6L7hlHG.js";import"./lexical-DEI4_j9X.js";import"./utils-BWiizB9D.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},l=new e.Error().stack;l&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[l]="ff257372-5d4a-427d-b836-e5770b741589",e._sentryDebugIdIdentifier="sentry-dbid-ff257372-5d4a-427d-b836-e5770b741589")}catch{}})();const Re="recommendedFirst",Ne="recommendedSecond",H="currentSelection",ve="originalVendor",ge="requested",de=(e,l)=>`${e}.${l}`,ce=(e,l,a)=>a!=null?`${e}.${l}.${a}`:`${e}.${l}`;function ft(e){const l=Y(),{button:{label:a,onClick:n},search:{isOpen:g,placeHolder:m,searchText:w,onTextChange:y}}=e;return t.jsxs(yt,{children:[t.jsx(jt,{isSearchOpen:g&&l==="small",windowsize:l,children:l!=="small"?t.jsx(Ce,{style:{position:"absolute",left:"unset",right:o.sp0},placeholder:m,searchText:w,onSearchTextChanged:y}):null}),l==="small"?t.jsx(Ce,{style:{position:"absolute",left:"5px",right:"unset",top:"44px",width:"98%"},placeholder:m,searchText:w,onSearchTextChanged:y,keepSearchBoxOpen:!0}):null,l==="small"?t.jsx(St,{style:{marginLeft:o.sp5}}):t.jsx(ye,{variant:"primary",onClick:n,label:a,size:"small",style:{marginLeft:o.sp3}})]})}const yt=i.div`
2
2
  display: flex;
3
3
  flex-direction: row;
4
4
  padding-right: ${o.sp0};
@@ -16,11 +16,11 @@ import{d as Ke,q as Y,a8 as _e,ax as Ee,cB as Ye,V as t,F as ue,bz as Qe,ab as Z
16
16
  display: flex;
17
17
  align-items: center;
18
18
  justify-content: center;
19
- `,Mt=i(pt)`
19
+ `,Mt=i(gt)`
20
20
  color: ${e=>e.theme.colors.brandColorJade};
21
21
  width: ${o.sp3};
22
22
  height: ${o.sp3};
23
- `,{headers:be,strings:Ct}=ue.getLocalizedStrings().common,It={key:"tenants",value:be.tenants,sortOrder:"ascending",width:new N(15,15)},kt={key:"requestedVendor",value:be.requestedVendor,sortOrder:"ascending",width:new N(28,28)},Rt={key:"originalVendor",value:be.originalVendor,sortOrder:"ascending",width:new N(15,15)},Nt={key:"recommended",value:be.recommended,sortOrder:"ascending",width:new N(30,30),icon:t.jsx($t,{children:t.jsx(Mt,{})})},Vt={key:"action",value:Ct.empty,sortOrder:"ascending",width:new N(12,12)},V=[It,Rt,Nt,kt,Vt],fe={sortKey:"tenants",sortOrder:"ascending"},Lt=88,Fe=53,Gt=1,zt=["action"],Ve=e=>xt(e,zt),He=({sortConfig:e,isDisabled:l,onColumnSortConfigChanged:a})=>{const n=Y(),[g,m]=C.useState(V);C.useEffect(()=>{const c=[...g];for(const h of c)h.key===e.sortKey?h.sortOrder=e.sortOrder:h.sortOrder="ascending";m(c)},[e.sortKey,e.sortOrder]);const w=(c,h)=>{let j=h;e.sortKey===c&&(j=h==="ascending"?"descending":"ascending"),a?.(c,j)},y=c=>{Ve(c.key)==null&&w(vt(c.key),c.sortOrder)};return t.jsx(At,{windowSize:n,children:g.map(c=>{const h=l!=null||Ve(c.key)!=null;return t.jsxs(Tt,{sortDataValue:e.sortKey,actualDataValue:c.key,wrapperWidth:c.width,isSortDisabled:h,windowSize:n,children:[t.jsxs(Ft,{onClick:()=>h?null:y(c),isSortDisabled:h,"data-testid":P("global-review-list-header-name-wrapper"),children:[c.icon,t.jsx(Ht,{children:c.value}),h?null:t.jsx(Wt,{sortConfig:e,headerdata:c,children:t.jsx(Dt,{})})]}),h?null:t.jsx(Ot,{isSortDisabled:h,sortDataValue:e.sortKey,isVisible:e.sortKey===c.key&&e.sortKey!==fe.sortKey,children:t.jsx(Pt,{onClick:()=>{h||w(fe.sortKey,fe.sortOrder)},"data-testid":P("global-review-list-header-close-icon")})})]},c.key)})})},At=i.div`
23
+ `,{headers:be,strings:Ct}=ue.getLocalizedStrings().common,It={key:"tenants",value:be.tenants,sortOrder:"ascending",width:new N(15,15)},kt={key:"requestedVendor",value:be.requestedVendor,sortOrder:"ascending",width:new N(28,28)},Rt={key:"originalVendor",value:be.originalVendor,sortOrder:"ascending",width:new N(15,15)},Nt={key:"recommended",value:be.recommended,sortOrder:"ascending",width:new N(30,30),icon:t.jsx($t,{children:t.jsx(Mt,{})})},Vt={key:"action",value:Ct.empty,sortOrder:"ascending",width:new N(12,12)},V=[It,Rt,Nt,kt,Vt],fe={sortKey:"tenants",sortOrder:"ascending"},Lt=88,Fe=53,Gt=1,zt=["action"],Ve=e=>xt(e,zt),He=({sortConfig:e,isDisabled:l,onColumnSortConfigChanged:a})=>{const n=Y(),[g,m]=C.useState(V);C.useEffect(()=>{const c=[...g];for(const h of c)h.key===e.sortKey?h.sortOrder=e.sortOrder:h.sortOrder="ascending";m(c)},[e.sortKey,e.sortOrder]);const w=(c,h)=>{let j=h;e.sortKey===c&&(j=h==="ascending"?"descending":"ascending"),a?.(c,j)},y=c=>{Ve(c.key)==null&&w(vt(c.key),c.sortOrder)};return t.jsx(At,{windowSize:n,children:g.map(c=>{const h=l!=null||Ve(c.key)!=null;return t.jsxs(Pt,{sortDataValue:e.sortKey,actualDataValue:c.key,wrapperWidth:c.width,isSortDisabled:h,windowSize:n,children:[t.jsxs(Ft,{onClick:()=>h?null:y(c),isSortDisabled:h,"data-testid":T("global-review-list-header-name-wrapper"),children:[c.icon,t.jsx(Ht,{children:c.value}),h?null:t.jsx(Wt,{sortConfig:e,headerdata:c,children:t.jsx(Dt,{})})]}),h?null:t.jsx(Ot,{isSortDisabled:h,sortDataValue:e.sortKey,isVisible:e.sortKey===c.key&&e.sortKey!==fe.sortKey,children:t.jsx(Tt,{onClick:()=>{h||w(fe.sortKey,fe.sortOrder)},"data-testid":T("global-review-list-header-close-icon")})})]},c.key)})})},At=i.div`
24
24
  top: ${o.sp0};
25
25
  left: ${o.sp0};
26
26
  height: ${Fe}px;
@@ -33,7 +33,7 @@ import{d as Ke,q as Y,a8 as _e,ax as Ee,cB as Ye,V as t,F as ue,bz as Qe,ab as Z
33
33
  background-color: ${e=>e.theme.colors.grey4};
34
34
  position: sticky;
35
35
  margin: ${o.sp0} ${o.sp8};
36
- `,Tt=i.div`
36
+ `,Pt=i.div`
37
37
  color: ${e=>e.sortDataValue===e.actualDataValue&&!e.isSortDisabled?e.theme.colors.primary:e.theme.colors.grey1};
38
38
 
39
39
  width: ${e=>e.wrapperWidth.valuePercentage(e.windowSize)};
@@ -47,7 +47,7 @@ import{d as Ke,q as Y,a8 as _e,ax as Ee,cB as Ye,V as t,F as ue,bz as Qe,ab as Z
47
47
  position: static;
48
48
  z-index: 0;
49
49
  box-sizing: border-box;
50
- `,Pt=i(st)`
50
+ `,Tt=i(st)`
51
51
  width: 12px;
52
52
  height: 12px;
53
53
  `,Wt=i.div`
@@ -75,7 +75,7 @@ import{d as Ke,q as Y,a8 as _e,ax as Ee,cB as Ye,V as t,F as ue,bz as Qe,ab as Z
75
75
  }
76
76
  `,Ht=i(we)`
77
77
  display: flex;
78
- `,{common:f,vendorReview:{globalReview:{globalMerchantList:qt}}}=ue.getLocalizedStrings(),s={containerPaddingLeftRight:new N($[3],$[4]),containerPaddingTopBottom:new N($[2],$[3]),logoHeightAndWidth:new N($[3],$[4]),vendorNameLogoHeightAndWidth:new N($[4],$[6]),logoToValueGap:new N($[2],$[2]),smallLogoToValueGap:new N($[1],$[1])},Ut=({vendorGlobalReviewData:e,allGlobalMerchants:l,globalMerchantAutoCompleteView:a,sectionId:n,isDisabled:g,analytics:m,onLoadGlobalMerchants:w,onCreateGlobalMerchant:y,onApproveGlobalReview:c,onRejectGlobalReview:h,onClearGlobalMerchantAutoCompleteResults:j})=>{const d=Y(),{resetField:q,formState:U}=dt(),[L,I]=C.useState(!1),[G,W]=n.split("."),O=parseInt(W),D=U.dirtyFields[G]?.[O]?.originalVendor===!0&&e.selectedMerchantId!==e.merchant.tenantMerchantId,Q=e.currentSelection!=null,{merchant:p,recommendations:B}=e,{fetchState:K}=a,oe=u=>{let S=u.websiteUrl?.toString();if(S){if(S=Oe(S)??S,e.selectedMerchantId!=null){const r=u.globalMerchantName??null;m.trackVendorReviewWebsiteOpened({reviewSource:"global_review",vendorName:e.merchant.tenantMerchantName,wasRecommendationAvailable:!!r,recommendedVendorName:r,recommendedVendorReason:u.reason??null,vendorWebsite:S})}window.open(S,"_blank")}},x=[];B.forEach((u,S)=>{const r=`recommended${ct(S)}`;x.push({label:{label:t.jsx(t.Fragment,{children:u.logo!=null?t.jsxs(ze,{children:[t.jsx(je,{photoUrl:u.logo.toString(),styles:{width:s.logoHeightAndWidth.valuePx(d),height:s.logoHeightAndWidth.valuePx(d)},placeholder:{width:s.logoHeightAndWidth.value(d),height:s.logoHeightAndWidth.value(d)},fallbackAvatar:t.jsx(pe,{children:t.jsx(me,{name:u.globalMerchantName,size:s.logoHeightAndWidth.valuePx(d)})})}),t.jsx(M,{className:"global-review-row-item",windowSize:d,isLastItem:!1,children:t.jsx(X,{children:u.globalMerchantName})})]}):t.jsx(M,{className:"global-review-row-item",windowSize:d,isLastItem:!1,children:t.jsx(X,{children:u.globalMerchantName})})}),style:{display:"block",overflow:"hidden",textOverflow:"ellipsis"}},checkBoxField:{name:ce(n,H,r),checkBoxValue:ce(n,H,r),defaultChecked:e.currentSelection===r},tooltipProps:{text:t.jsx(Zt,{recommendation:u,onRedirectionToRecommendedMerchantWebsiteUrl:()=>oe(u)}),maxWidth:"360px"},fieldName:r})});const v=p!=null?{label:{label:t.jsx(t.Fragment,{children:p.logo!=null?t.jsxs(ze,{children:[t.jsx(je,{photoUrl:p.logo.toString(),styles:{width:s.logoHeightAndWidth.valuePx(d),height:s.logoHeightAndWidth.valuePx(d)},placeholder:{width:s.logoHeightAndWidth.value(d),height:s.logoHeightAndWidth.value(d)},fallbackAvatar:t.jsx(pe,{children:t.jsx(me,{name:p.tenantMerchantName,size:s.logoHeightAndWidth.valuePx(d)})})}),t.jsx(M,{className:"global-review-row-item",windowSize:d,isLastItem:!1,children:t.jsx(X,{children:p.tenantMerchantName})})]}):t.jsx(M,{className:"global-review-row-item",windowSize:d,isLastItem:!1,children:t.jsx(X,{children:p.tenantMerchantName})})}),style:{display:"block",overflow:"hidden",textOverflow:"ellipsis"}},checkBoxField:{name:ce(n,H,ge),checkBoxValue:ce(n,H,ge),defaultChecked:e.currentSelection==="requested"},tooltipProps:{text:t.jsx(Jt,{merchant:p}),maxWidth:"360px"}}:void 0;let F=p.oldMerchantName;e.currentSelection==="originalVendor"&&e.selectedMerchantId!=null&&(F=e.selectedMerchantId);const k=C.useMemo(()=>Be(F,e.merchant,l),[e,l]),ae=()=>{I(!1),j()},xe=()=>{q(n)};return t.jsx(qe,{windowSize:d,isActiveField:D,children:V.map((u,S)=>{switch(u.key){case"originalVendor":return t.jsx(T,{windowSize:d,wrapperWidth:u.width,children:L===!0?t.jsx(ht,{onClickAway:ae,children:t.jsx(Et,{children:t.jsx(mt,{name:de(n,"originalVendor"),defaultValue:k,isOptionsLoading:K==="In-Progress",addIconInCreateLabel:!0,autoFocus:!0,isDisabled:g,style:{marginRight:o.sp4},menuIsOpen:L,loadOptions:w,customStyleConfig:{valueContainer:(r,b)=>({justifyContent:"flex-start",margin:`${o.sp0} ${b.selectProps.menuIsOpen===!1?o.sp0:o.sp3}`}),menu:()=>({width:"150%"}),singleValue:()=>({display:"flex",alignItems:"center",color:"inherit"})},onCreateOptionClick:r=>{y(p.tenantMerchantId,r,p.websiteUrl)},onMenuClose:ae})})}):k.selectedOption!=null?Qt(k.selectedOption,p,l,d,S,D,I,xe):t.jsxs(M,{className:"global-review-row-item",windowSize:d,isLastItem:S===V.length-1,children:[qt.selectPlaceholder,t.jsx(_,{display:"block",placement:"bottom",title:t.jsx(E,{children:f.tooltips.editName}),enterDelay:600,children:t.jsx($e,{onClick:()=>I(!0),"data-testid":P("global-review-list-row-edit-icon")})})]})},de(n,"originalVendor"));case"recommended":return t.jsx(t.Fragment,{children:t.jsx(T,{windowSize:d,wrapperWidth:u.width,gap:s.logoToValueGap,children:x.map((r,b)=>t.jsxs(t.Fragment,{children:[t.jsx(M,{windowSize:d,className:"vendor-global-review-row-item",isLastItem:!1,children:t.jsx(ke,{isHighlighted:!0,label:r.label,checkBoxField:r.checkBoxField,tooltipProps:r.tooltipProps,defaultChecked:e.currentSelection===r.fieldName})},b),b<x.length-1?t.jsxs(Kt,{children:[" ",f.texts.or]}):null]}))})});case"action":return t.jsx(T,{windowSize:d,wrapperWidth:u.width,gap:s.smallLogoToValueGap,children:t.jsxs(M,{className:"global-review-row-button",windowSize:d,isLastItem:S===V.length-1,children:[t.jsx(ye,{variant:"light_transparent",label:f.footer.reject,onClick:()=>h(p.tenantMerchantId),loading:e.rejectStatus.fetchState==="In-Progress",size:"small",style:{height:"100%"}}),t.jsx(Yt,{space:o.sp0,style:{display:"flex",alignItems:"center",height:o.sp4,width:o.sp3}}),t.jsx(ye,{label:f.footer.approve,onClick:()=>c(p.tenantMerchantId),disabled:!Q,loading:e.approveStatus.fetchState==="In-Progress",size:"small",variant:"primary"})]})},`${n}.${u.key}`);case"requestedVendor":return t.jsx(T,{windowSize:d,wrapperWidth:u.width,gap:s.smallLogoToValueGap,children:p.tenantMerchantName&&v!=null?t.jsx(M,{windowSize:d,className:"vendor-global-review-row-item",isLastItem:!1,children:t.jsx(ke,{isHighlighted:!0,label:v.label,checkBoxField:v.checkBoxField,tooltipProps:v.tooltipProps,defaultChecked:e.currentSelection==="requested"})}):t.jsx(M,{className:"vendor-global-review-row-item",windowSize:d,isLastItem:!1,children:f.strings.hyphen})},de(n,"merchantId"));case"tenants":default:return t.jsx(T,{windowSize:d,wrapperWidth:u.width,children:t.jsx(_t,{className:"global-review-row-item",windowSize:d,isLastItem:S===V.length-1,children:t.jsx(_,{display:"block",placement:"bottom-start",title:t.jsx(E,{children:p.tenantName}),children:t.jsx(X,{children:p.tenantName})})})},de(n,"tenantId"))}})})},Bt=()=>{const e=Y();return t.jsx(qe,{windowSize:e,isActiveField:!1,children:V.map((l,a)=>{switch(l.key){case"originalVendor":case"recommended":return t.jsxs(T,{windowSize:e,wrapperWidth:l.width,gap:s.smallLogoToValueGap,children:[t.jsx(Ie,{width:s.logoHeightAndWidth.value(e),height:s.logoHeightAndWidth.value(e)}),t.jsx(M,{windowSize:e,isLastItem:a===V.length-1,children:t.jsx(se,{width:120,height:s.logoHeightAndWidth.value(e),style:{display:"flex",alignItems:"center"}})})]},l.key);case"requestedVendor":return t.jsxs(T,{windowSize:e,wrapperWidth:l.width,gap:s.logoToValueGap,children:[t.jsx(Ie,{width:s.vendorNameLogoHeightAndWidth.value(e),height:s.vendorNameLogoHeightAndWidth.value(e)}),t.jsx(M,{windowSize:e,isLastItem:a===V.length-1,children:t.jsx(se,{width:120,height:s.vendorNameLogoHeightAndWidth.value(e),style:{display:"flex",alignItems:"center"}})})]},l.key);case"tenants":return t.jsx(T,{windowSize:e,wrapperWidth:l.width,children:t.jsx(M,{windowSize:e,isLastItem:a===V.length-1,children:t.jsx(se,{width:100,height:$[4],style:{display:"flex",alignItems:"center"}})})},l.key);case"action":default:return t.jsx(T,{windowSize:e,wrapperWidth:l.width,children:t.jsx(M,{windowSize:e,isLastItem:a===V.length-1,children:t.jsx(se,{width:$[11],height:$[5],style:{display:"flex",alignItems:"center"}})})},l.key)}})})},qe=i.div`
78
+ `,{common:f,vendorReview:{globalReview:{globalMerchantList:qt}}}=ue.getLocalizedStrings(),s={containerPaddingLeftRight:new N($[3],$[4]),containerPaddingTopBottom:new N($[2],$[3]),logoHeightAndWidth:new N($[3],$[4]),vendorNameLogoHeightAndWidth:new N($[4],$[6]),logoToValueGap:new N($[2],$[2]),smallLogoToValueGap:new N($[1],$[1])},Ut=({vendorGlobalReviewData:e,allGlobalMerchants:l,globalMerchantAutoCompleteView:a,sectionId:n,isDisabled:g,analytics:m,onLoadGlobalMerchants:w,onCreateGlobalMerchant:y,onApproveGlobalReview:c,onRejectGlobalReview:h,onClearGlobalMerchantAutoCompleteResults:j})=>{const d=Y(),{resetField:q,formState:U}=dt(),[L,I]=C.useState(!1),[G,W]=n.split("."),O=parseInt(W),D=U.dirtyFields[G]?.[O]?.originalVendor===!0&&e.selectedMerchantId!==e.merchant.tenantMerchantId,Q=e.currentSelection!=null,{merchant:p,recommendations:B}=e,{fetchState:K}=a,oe=u=>{let S=u.websiteUrl?.toString();if(S){if(S=Oe(S)??S,e.selectedMerchantId!=null){const r=u.globalMerchantName??null;m.trackVendorReviewWebsiteOpened({reviewSource:"global_review",vendorName:e.merchant.tenantMerchantName,wasRecommendationAvailable:!!r,recommendedVendorName:r,recommendedVendorReason:u.reason??null,vendorWebsite:S})}window.open(S,"_blank")}},x=[];B.forEach((u,S)=>{const r=`recommended${pt(S)}`;x.push({label:{label:t.jsx(t.Fragment,{children:u.logo!=null?t.jsxs(ze,{children:[t.jsx(je,{photoUrl:u.logo.toString(),styles:{width:s.logoHeightAndWidth.valuePx(d),height:s.logoHeightAndWidth.valuePx(d)},placeholder:{width:s.logoHeightAndWidth.value(d),height:s.logoHeightAndWidth.value(d)},fallbackAvatar:t.jsx(pe,{children:t.jsx(me,{name:u.globalMerchantName,size:s.logoHeightAndWidth.valuePx(d)})})}),t.jsx(M,{className:"global-review-row-item",windowSize:d,isLastItem:!1,children:t.jsx(X,{children:u.globalMerchantName})})]}):t.jsx(M,{className:"global-review-row-item",windowSize:d,isLastItem:!1,children:t.jsx(X,{children:u.globalMerchantName})})}),style:{display:"block",overflow:"hidden",textOverflow:"ellipsis"}},checkBoxField:{name:ce(n,H,r),checkBoxValue:ce(n,H,r),defaultChecked:e.currentSelection===r},tooltipProps:{text:t.jsx(Zt,{recommendation:u,onRedirectionToRecommendedMerchantWebsiteUrl:()=>oe(u)}),maxWidth:"360px"},fieldName:r})});const v=p!=null?{label:{label:t.jsx(t.Fragment,{children:p.logo!=null?t.jsxs(ze,{children:[t.jsx(je,{photoUrl:p.logo.toString(),styles:{width:s.logoHeightAndWidth.valuePx(d),height:s.logoHeightAndWidth.valuePx(d)},placeholder:{width:s.logoHeightAndWidth.value(d),height:s.logoHeightAndWidth.value(d)},fallbackAvatar:t.jsx(pe,{children:t.jsx(me,{name:p.tenantMerchantName,size:s.logoHeightAndWidth.valuePx(d)})})}),t.jsx(M,{className:"global-review-row-item",windowSize:d,isLastItem:!1,children:t.jsx(X,{children:p.tenantMerchantName})})]}):t.jsx(M,{className:"global-review-row-item",windowSize:d,isLastItem:!1,children:t.jsx(X,{children:p.tenantMerchantName})})}),style:{display:"block",overflow:"hidden",textOverflow:"ellipsis"}},checkBoxField:{name:ce(n,H,ge),checkBoxValue:ce(n,H,ge),defaultChecked:e.currentSelection==="requested"},tooltipProps:{text:t.jsx(Jt,{merchant:p}),maxWidth:"360px"}}:void 0;let F=p.oldMerchantName;e.currentSelection==="originalVendor"&&e.selectedMerchantId!=null&&(F=e.selectedMerchantId);const k=C.useMemo(()=>Be(F,e.merchant,l),[e,l]),ae=()=>{I(!1),j()},xe=()=>{q(n)};return t.jsx(qe,{windowSize:d,isActiveField:D,children:V.map((u,S)=>{switch(u.key){case"originalVendor":return t.jsx(P,{windowSize:d,wrapperWidth:u.width,children:L===!0?t.jsx(ct,{onClickAway:ae,children:t.jsx(Et,{children:t.jsx(ht,{name:de(n,"originalVendor"),defaultValue:k,isOptionsLoading:K==="In-Progress",addIconInCreateLabel:!0,autoFocus:!0,isDisabled:g,style:{marginRight:o.sp4},menuIsOpen:L,loadOptions:w,customStyleConfig:{valueContainer:(r,b)=>({justifyContent:"flex-start",margin:`${o.sp0} ${b.selectProps.menuIsOpen===!1?o.sp0:o.sp3}`}),menu:()=>({width:"150%"}),singleValue:()=>({display:"flex",alignItems:"center",color:"inherit"})},onCreateOptionClick:r=>{y(p.tenantMerchantId,r,p.websiteUrl)},onMenuClose:ae})})}):k.selectedOption!=null?Qt(k.selectedOption,p,l,d,S,D,I,xe):t.jsxs(M,{className:"global-review-row-item",windowSize:d,isLastItem:S===V.length-1,children:[qt.selectPlaceholder,t.jsx(_,{display:"block",placement:"bottom",title:t.jsx(E,{children:f.tooltips.editName}),enterDelay:600,children:t.jsx($e,{onClick:()=>I(!0),"data-testid":T("global-review-list-row-edit-icon")})})]})},de(n,"originalVendor"));case"recommended":return t.jsx(t.Fragment,{children:t.jsx(P,{windowSize:d,wrapperWidth:u.width,gap:s.logoToValueGap,children:x.map((r,b)=>t.jsxs(t.Fragment,{children:[t.jsx(M,{windowSize:d,className:"vendor-global-review-row-item",isLastItem:!1,children:t.jsx(ke,{isHighlighted:!0,label:r.label,checkBoxField:r.checkBoxField,tooltipProps:r.tooltipProps,defaultChecked:e.currentSelection===r.fieldName})},b),b<x.length-1?t.jsxs(Kt,{children:[" ",f.texts.or]}):null]}))})});case"action":return t.jsx(P,{windowSize:d,wrapperWidth:u.width,gap:s.smallLogoToValueGap,children:t.jsxs(M,{className:"global-review-row-button",windowSize:d,isLastItem:S===V.length-1,children:[t.jsx(ye,{variant:"light_transparent",label:f.footer.reject,onClick:()=>h(p.tenantMerchantId),loading:e.rejectStatus.fetchState==="In-Progress",size:"small",style:{height:"100%"}}),t.jsx(Yt,{space:o.sp0,style:{display:"flex",alignItems:"center",height:o.sp4,width:o.sp3}}),t.jsx(ye,{label:f.footer.approve,onClick:()=>c(p.tenantMerchantId),disabled:!Q,loading:e.approveStatus.fetchState==="In-Progress",size:"small",variant:"primary"})]})},`${n}.${u.key}`);case"requestedVendor":return t.jsx(P,{windowSize:d,wrapperWidth:u.width,gap:s.smallLogoToValueGap,children:p.tenantMerchantName&&v!=null?t.jsx(M,{windowSize:d,className:"vendor-global-review-row-item",isLastItem:!1,children:t.jsx(ke,{isHighlighted:!0,label:v.label,checkBoxField:v.checkBoxField,tooltipProps:v.tooltipProps,defaultChecked:e.currentSelection==="requested"})}):t.jsx(M,{className:"vendor-global-review-row-item",windowSize:d,isLastItem:!1,children:f.strings.hyphen})},de(n,"merchantId"));case"tenants":default:return t.jsx(P,{windowSize:d,wrapperWidth:u.width,children:t.jsx(_t,{className:"global-review-row-item",windowSize:d,isLastItem:S===V.length-1,children:t.jsx(_,{display:"block",placement:"bottom-start",title:t.jsx(E,{children:p.tenantName}),children:t.jsx(X,{children:p.tenantName})})})},de(n,"tenantId"))}})})},Bt=()=>{const e=Y();return t.jsx(qe,{windowSize:e,isActiveField:!1,children:V.map((l,a)=>{switch(l.key){case"originalVendor":case"recommended":return t.jsxs(P,{windowSize:e,wrapperWidth:l.width,gap:s.smallLogoToValueGap,children:[t.jsx(Ie,{width:s.logoHeightAndWidth.value(e),height:s.logoHeightAndWidth.value(e)}),t.jsx(M,{windowSize:e,isLastItem:a===V.length-1,children:t.jsx(se,{width:120,height:s.logoHeightAndWidth.value(e),style:{display:"flex",alignItems:"center"}})})]},l.key);case"requestedVendor":return t.jsxs(P,{windowSize:e,wrapperWidth:l.width,gap:s.logoToValueGap,children:[t.jsx(Ie,{width:s.vendorNameLogoHeightAndWidth.value(e),height:s.vendorNameLogoHeightAndWidth.value(e)}),t.jsx(M,{windowSize:e,isLastItem:a===V.length-1,children:t.jsx(se,{width:120,height:s.vendorNameLogoHeightAndWidth.value(e),style:{display:"flex",alignItems:"center"}})})]},l.key);case"tenants":return t.jsx(P,{windowSize:e,wrapperWidth:l.width,children:t.jsx(M,{windowSize:e,isLastItem:a===V.length-1,children:t.jsx(se,{width:100,height:$[4],style:{display:"flex",alignItems:"center"}})})},l.key);case"action":default:return t.jsx(P,{windowSize:e,wrapperWidth:l.width,children:t.jsx(M,{windowSize:e,isLastItem:a===V.length-1,children:t.jsx(se,{width:$[11],height:$[5],style:{display:"flex",alignItems:"center"}})})},l.key)}})})},qe=i.div`
79
79
  display: flex;
80
80
  margin-bottom: ${o.sp3};
81
81
  background-color: ${e=>e.theme.colors.grey5};
@@ -126,7 +126,7 @@ import{d as Ke,q as Y,a8 as _e,ax as Ee,cB as Ye,V as t,F as ue,bz as Qe,ab as Z
126
126
  box-sizing: border-box;
127
127
  align-items: center;
128
128
  justify-content: space-between;
129
- `,T=i.div`
129
+ `,P=i.div`
130
130
  display: flex;
131
131
  align-items: center;
132
132
  position: relative;
@@ -145,7 +145,7 @@ import{d as Ke,q as Y,a8 as _e,ax as Ee,cB as Ye,V as t,F as ue,bz as Qe,ab as Z
145
145
  text-overflow: ellipsis;
146
146
  `,Kt=i.div``,X=i.div`
147
147
  ${Me};
148
- `,M=i(gt)`
148
+ `,M=i(mt)`
149
149
  ${Me};
150
150
  justify-content: ${e=>e.isLastItem?"flex-end":"unset"};
151
151
  display: ${e=>e.isLastItem?"flex":"inline-block"};
@@ -215,7 +215,7 @@ import{d as Ke,q as Y,a8 as _e,ax as Ee,cB as Ye,V as t,F as ue,bz as Qe,ab as Z
215
215
  `,ze=i.div`
216
216
  display: flex;
217
217
  gap: ${o.sp2};
218
- `,Be=(e,l,a)=>{const n=a.find(m=>m.globalMerchantId===e),g=l.tenantMerchantId===e?{label:l.tenantMerchantName,value:l.tenantMerchantId}:n!=null?{label:n.globalMerchantName,value:n.globalMerchantId}:void 0;return g!=null?{defaultOptions:[g],selectedOption:e}:{defaultOptions:[],selectedOption:e}},Qt=(e,l,a,n,g,m,w,y)=>{const c=a.find(j=>j.globalMerchantId===e),h=l.tenantMerchantId===e?{logo:l.logo,name:l.tenantMerchantName}:c!=null?{logo:c.logo,name:c.globalMerchantName}:e.length>0?{logo:void 0,name:e}:void 0;return h==null?t.jsxs(t.Fragment,{children:[t.jsx(M,{className:"vendor-global-review-row-item",windowSize:n,isLastItem:!1,children:f.strings.hyphen}),t.jsxs(Ge,{children:[t.jsx(_,{display:"block",placement:"bottom",title:t.jsx(E,{children:f.tooltips.editName}),enterDelay:600,children:t.jsx($e,{className:"edit-icon",onClick:()=>w(!0),"data-testid":P("global-review-list-row-edit-icon")})}),m?t.jsx(_,{display:"block",placement:"bottom",title:t.jsx(E,{children:f.tooltips.reset}),enterDelay:600,children:t.jsx(Le,{className:"reset-icon",onClick:y,"data-testid":P("global-review-list-row-undo-icon")})}):null]})]}):t.jsxs(t.Fragment,{children:[h.logo!=null?t.jsx(je,{photoUrl:h.logo.toString(),styles:{width:s.vendorNameLogoHeightAndWidth.valuePx(n),height:s.vendorNameLogoHeightAndWidth.valuePx(n),marginRight:s.logoToValueGap.valuePx(n)},placeholder:{width:s.vendorNameLogoHeightAndWidth.value(n),height:s.vendorNameLogoHeightAndWidth.value(n),style:{marginRight:s.logoToValueGap.valuePx(n)}},fallbackAvatar:t.jsx(pe,{style:{marginRight:s.logoToValueGap.valuePx(n)},children:t.jsx(me,{name:h.name,size:s.vendorNameLogoHeightAndWidth.valuePx(n)})})}):t.jsx(pe,{style:{marginRight:s.logoToValueGap.valuePx(n)},children:t.jsx(me,{name:h.name,size:s.vendorNameLogoHeightAndWidth.valuePx(n)})}),t.jsxs(Ge,{children:[t.jsx(M,{className:"global-review-row-item",windowSize:n,isLastItem:g===V.length-1,children:t.jsx(_,{display:"block",placement:"bottom-start",title:t.jsx(E,{children:h.name}),children:t.jsx(X,{children:h.name})})}),t.jsx(_,{display:"block",placement:"bottom",title:t.jsx(E,{children:f.tooltips.editName}),enterDelay:600,children:t.jsx($e,{className:"edit-icon",onClick:()=>w(!0),"data-testid":P("global-review-list-row-edit-icon-tooltip")})}),m?t.jsx(_,{display:"block",placement:"bottom",title:t.jsx(E,{children:f.tooltips.reset}),enterDelay:600,children:t.jsx(Le,{className:"reset-icon",onClick:y})}):null]})]})},Zt=({recommendation:e,onRedirectionToRecommendedMerchantWebsiteUrl:l})=>t.jsxs(Ue,{setMaxHeight:!0,children:[t.jsxs(ee,{children:[t.jsx(le,{children:f.labels.vendor}),t.jsx(te,{children:e.globalMerchantName})]}),e.websiteUrl?t.jsxs(ee,{children:[t.jsx(le,{children:f.labels.websiteURL}),t.jsx(te,{className:"websiteUrlTooltipText",onClick:()=>l(e),"data-testid":P("global-review-list-row-website-url-tooltip-website-url"),children:e.websiteUrl?.toString()})]}):null]}),Jt=({merchant:e})=>{let l=e.websiteUrl?.toString()??f.strings.empty;return t.jsxs(Ue,{children:[t.jsxs(ee,{children:[t.jsx(le,{children:f.labels.name}),t.jsx(te,{children:e.tenantMerchantName})]}),e.accountName.length?t.jsxs(ee,{children:[t.jsx(le,{children:f.labels.category}),t.jsx(te,{children:e.accountName})]}):null,e.accountName.length?t.jsxs(ee,{children:[t.jsx(le,{children:f.labels.class}),t.jsx(te,{children:e.className})]}):null,l?t.jsxs(ee,{children:[t.jsx(le,{children:f.labels.websiteURL}),t.jsx(te,{className:"websiteUrlTooltipText",onClick:()=>{l&&(l=Oe(l)??l,window.open(l,"_blank"))},"data-testid":P("global-review-list-row-website-url-tooltip"),children:l})]}):null]})},Xt=({sortConfig:e,fetchState:l,isDisabled:a,onColumnSortConfigChanged:n})=>{const g=Y();return t.jsxs(el,{windowSize:g,children:[t.jsx(He,{sortConfig:e,isDisabled:l==="In-Progress"?"readonly":a,onColumnSortConfigChanged:n}),t.jsx(tl,{windowSize:g,children:[...Array(7)].map((m,w)=>t.jsx(Bt,{},w))})]})},el=i.div`
218
+ `,Be=(e,l,a)=>{const n=a.find(m=>m.globalMerchantId===e),g=l.tenantMerchantId===e?{label:l.tenantMerchantName,value:l.tenantMerchantId}:n!=null?{label:n.globalMerchantName,value:n.globalMerchantId}:void 0;return g!=null?{defaultOptions:[g],selectedOption:e}:{defaultOptions:[],selectedOption:e}},Qt=(e,l,a,n,g,m,w,y)=>{const c=a.find(j=>j.globalMerchantId===e),h=l.tenantMerchantId===e?{logo:l.logo,name:l.tenantMerchantName}:c!=null?{logo:c.logo,name:c.globalMerchantName}:e.length>0?{logo:void 0,name:e}:void 0;return h==null?t.jsxs(t.Fragment,{children:[t.jsx(M,{className:"vendor-global-review-row-item",windowSize:n,isLastItem:!1,children:f.strings.hyphen}),t.jsxs(Ge,{children:[t.jsx(_,{display:"block",placement:"bottom",title:t.jsx(E,{children:f.tooltips.editName}),enterDelay:600,children:t.jsx($e,{className:"edit-icon",onClick:()=>w(!0),"data-testid":T("global-review-list-row-edit-icon")})}),m?t.jsx(_,{display:"block",placement:"bottom",title:t.jsx(E,{children:f.tooltips.reset}),enterDelay:600,children:t.jsx(Le,{className:"reset-icon",onClick:y,"data-testid":T("global-review-list-row-undo-icon")})}):null]})]}):t.jsxs(t.Fragment,{children:[h.logo!=null?t.jsx(je,{photoUrl:h.logo.toString(),styles:{width:s.vendorNameLogoHeightAndWidth.valuePx(n),height:s.vendorNameLogoHeightAndWidth.valuePx(n),marginRight:s.logoToValueGap.valuePx(n)},placeholder:{width:s.vendorNameLogoHeightAndWidth.value(n),height:s.vendorNameLogoHeightAndWidth.value(n),style:{marginRight:s.logoToValueGap.valuePx(n)}},fallbackAvatar:t.jsx(pe,{style:{marginRight:s.logoToValueGap.valuePx(n)},children:t.jsx(me,{name:h.name,size:s.vendorNameLogoHeightAndWidth.valuePx(n)})})}):t.jsx(pe,{style:{marginRight:s.logoToValueGap.valuePx(n)},children:t.jsx(me,{name:h.name,size:s.vendorNameLogoHeightAndWidth.valuePx(n)})}),t.jsxs(Ge,{children:[t.jsx(M,{className:"global-review-row-item",windowSize:n,isLastItem:g===V.length-1,children:t.jsx(_,{display:"block",placement:"bottom-start",title:t.jsx(E,{children:h.name}),children:t.jsx(X,{children:h.name})})}),t.jsx(_,{display:"block",placement:"bottom",title:t.jsx(E,{children:f.tooltips.editName}),enterDelay:600,children:t.jsx($e,{className:"edit-icon",onClick:()=>w(!0),"data-testid":T("global-review-list-row-edit-icon-tooltip")})}),m?t.jsx(_,{display:"block",placement:"bottom",title:t.jsx(E,{children:f.tooltips.reset}),enterDelay:600,children:t.jsx(Le,{className:"reset-icon",onClick:y})}):null]})]})},Zt=({recommendation:e,onRedirectionToRecommendedMerchantWebsiteUrl:l})=>t.jsxs(Ue,{setMaxHeight:!0,children:[t.jsxs(ee,{children:[t.jsx(le,{children:f.labels.vendor}),t.jsx(te,{children:e.globalMerchantName})]}),e.websiteUrl?t.jsxs(ee,{children:[t.jsx(le,{children:f.labels.websiteURL}),t.jsx(te,{className:"websiteUrlTooltipText",onClick:()=>l(e),"data-testid":T("global-review-list-row-website-url-tooltip-website-url"),children:e.websiteUrl?.toString()})]}):null]}),Jt=({merchant:e})=>{let l=e.websiteUrl?.toString()??f.strings.empty;return t.jsxs(Ue,{children:[t.jsxs(ee,{children:[t.jsx(le,{children:f.labels.name}),t.jsx(te,{children:e.tenantMerchantName})]}),e.accountName.length?t.jsxs(ee,{children:[t.jsx(le,{children:f.labels.category}),t.jsx(te,{children:e.accountName})]}):null,e.accountName.length?t.jsxs(ee,{children:[t.jsx(le,{children:f.labels.class}),t.jsx(te,{children:e.className})]}):null,l?t.jsxs(ee,{children:[t.jsx(le,{children:f.labels.websiteURL}),t.jsx(te,{className:"websiteUrlTooltipText",onClick:()=>{l&&(l=Oe(l)??l,window.open(l,"_blank"))},"data-testid":T("global-review-list-row-website-url-tooltip"),children:l})]}):null]})},Xt=({sortConfig:e,fetchState:l,isDisabled:a,onColumnSortConfigChanged:n})=>{const g=Y();return t.jsxs(el,{windowSize:g,children:[t.jsx(He,{sortConfig:e,isDisabled:l==="In-Progress"?"readonly":a,onColumnSortConfigChanged:n}),t.jsx(tl,{windowSize:g,children:[...Array(7)].map((m,w)=>t.jsx(Bt,{},w))})]})},el=i.div`
219
219
  display: block;
220
220
  min-height: 100%;
221
221
  flex-direction: column;
@@ -224,7 +224,7 @@ import{d as Ke,q as Y,a8 as _e,ax as Ee,cB as Ye,V as t,F as ue,bz as Qe,ab as Z
224
224
  display: flex;
225
225
  min-height: 100%;
226
226
  flex-direction: column;
227
- `,{common:ll,vendorReview:{globalReview:{globalMerchantList:Ae}}}=ue.getLocalizedStrings(),ol=({vendorGlobalReviewList:e,allGlobalMerchants:l,sectionId:a,listFetchState:n,globalMerchantAutoCompleteView:g,uiState:m,isDisabled:w,analytics:y,onLoadGlobalMerchants:c,onUpdateGlobalReviewUIState:h,onFetchGlobalReviewList:j,onCreateGlobalMerchant:d,onApproveGlobalMerchantReview:q,onRejectGlobalMerchantReview:U,onClearGlobalMerchantAutoCompleteResults:L})=>{const I=Y(),G=C.useRef(null),[W,O]=C.useState(!1);C.useEffect(()=>{G.current?.resetAfterIndex(0)},[I,G]),C.useEffect(()=>{n==="Completed"&&O(!1)},[n]);const D=x=>Lt,Q=(x,v)=>{h({sortOrder:v,sortKey:x}),j(m.searchText,!1,null)},p=()=>{O(!0),j(m.searchText,!0,m.pageToken)},B=x=>x<e.length,K=()=>{m.pageToken!=null&&n==="Completed"&&p()},oe=x=>{const v=e.find(k=>k.merchant.tenantMerchantId===x),F=l.find(k=>k.globalMerchantId===v?.selectedMerchantId);v?.currentSelection!="requested"||F!=null&&v?.currentSelection=="requested"?q(x):v!=null&&d(x,v.merchant.tenantMerchantName,v.merchant.websiteUrl)};return t.jsxs(al,{windowSize:I,children:[t.jsx(rl,{windowSize:I,children:n==="Error"?t.jsxs(dl,{windowSize:I,children:[t.jsx(cl,{"data-testid":P("global-review-list-table-reload-icon"),onClick:()=>j("",!1,null),children:t.jsx(Je,{})}),t.jsx(hl,{children:ll.reloadPage.label})]}):n==="Completed"&&e.length===0?t.jsx(Xe,{message:m.searchText?Ae.noMatchedDataText:Ae.noDataText,style:{padding:o.sp0}}):n==="Not-Started"||n==="In-Progress"&&e.length===0?t.jsx(Xt,{sortConfig:{sortKey:m.sortKey,sortOrder:m.sortOrder},isDisabled:w,fetchState:n,onColumnSortConfigChanged:Q}):t.jsx(sl,{windowSize:I,children:t.jsx(et,{children:({height:x,width:v})=>t.jsx(tt,{isItemLoaded:B,itemCount:e.length+1,loadMoreItems:K,children:({onItemsRendered:F})=>t.jsxs(gl,{style:{height:x,width:v},children:[t.jsx(il,{children:t.jsx(He,{sortConfig:{sortKey:m.sortKey,sortOrder:m.sortOrder},isDisabled:n==="In-Progress"?"readonly":w,onColumnSortConfigChanged:Q})}),t.jsx(lt,{ref:G,height:x-Fe,itemCount:e.length,itemData:{analytics:y,vendorGlobalReviewList:e,sectionId:a,allGlobalMerchants:l,globalMerchantAutoCompleteView:g,isDisabled:w,onLoadGlobalMerchants:c,onApproveGlobalReview:oe,onRejectGlobalMerchantReview:U,onCreateGlobalMerchant:d,onClearGlobalMerchantAutoCompleteResults:L},onItemsRendered:F,itemSize:D,width:v,style:{willChange:"auto"},overscanCount:Gt,onScroll:({scrollOffset:k})=>{h({scrollYOffset:k})},initialScrollOffset:m.scrollYOffset,children:nl})]})})})})}),t.jsx(ot,{controller:W===!0,children:t.jsx(pl,{children:t.jsx(nt,{size:"Small",start:!0})})})]})},nl=({index:e,style:l,data:a})=>{const{analytics:n,vendorGlobalReviewList:g,allGlobalMerchants:m,globalMerchantAutoCompleteView:w,sectionId:y,isDisabled:c,onLoadGlobalMerchants:h,onCreateGlobalMerchant:j,onApproveGlobalReview:d,onRejectGlobalMerchantReview:q,onClearGlobalMerchantAutoCompleteResults:U}=a,L=g[e];return t.jsx(ml,{style:{...l,width:"100%"},className:"global-review-list-item",children:t.jsx(Ut,{sectionId:`${y}.${e}`,isDisabled:L.approveStatus.fetchState==="In-Progress"?"readonly":c,globalMerchantAutoCompleteView:w,vendorGlobalReviewData:L,allGlobalMerchants:m,onLoadGlobalMerchants:h,onCreateGlobalMerchant:j,onApproveGlobalReview:d,onRejectGlobalReview:q,onClearGlobalMerchantAutoCompleteResults:U,analytics:n},L.merchant.tenantMerchantId)})},il=i.div`
227
+ `,{common:ll,vendorReview:{globalReview:{globalMerchantList:Ae}}}=ue.getLocalizedStrings(),ol=({vendorGlobalReviewList:e,allGlobalMerchants:l,sectionId:a,listFetchState:n,globalMerchantAutoCompleteView:g,uiState:m,isDisabled:w,analytics:y,onLoadGlobalMerchants:c,onUpdateGlobalReviewUIState:h,onFetchGlobalReviewList:j,onCreateGlobalMerchant:d,onApproveGlobalMerchantReview:q,onRejectGlobalMerchantReview:U,onClearGlobalMerchantAutoCompleteResults:L})=>{const I=Y(),G=C.useRef(null),[W,O]=C.useState(!1);C.useEffect(()=>{G.current?.resetAfterIndex(0)},[I,G]),C.useEffect(()=>{n==="Completed"&&O(!1)},[n]);const D=x=>Lt,Q=(x,v)=>{h({sortOrder:v,sortKey:x}),j(m.searchText,!1,null)},p=()=>{O(!0),j(m.searchText,!0,m.pageToken)},B=x=>x<e.length,K=()=>{m.pageToken!=null&&n==="Completed"&&p()},oe=x=>{const v=e.find(k=>k.merchant.tenantMerchantId===x),F=l.find(k=>k.globalMerchantId===v?.selectedMerchantId);v?.currentSelection!="requested"||F!=null&&v?.currentSelection=="requested"?q(x):v!=null&&d(x,v.merchant.tenantMerchantName,v.merchant.websiteUrl)};return t.jsxs(al,{windowSize:I,children:[t.jsx(rl,{windowSize:I,children:n==="Error"?t.jsxs(dl,{windowSize:I,children:[t.jsx(cl,{"data-testid":T("global-review-list-table-reload-icon"),onClick:()=>j("",!1,null),children:t.jsx(Je,{})}),t.jsx(hl,{children:ll.reloadPage.label})]}):n==="Completed"&&e.length===0?t.jsx(Xe,{message:m.searchText?Ae.noMatchedDataText:Ae.noDataText,style:{padding:o.sp0}}):n==="Not-Started"||n==="In-Progress"&&e.length===0?t.jsx(Xt,{sortConfig:{sortKey:m.sortKey,sortOrder:m.sortOrder},isDisabled:w,fetchState:n,onColumnSortConfigChanged:Q}):t.jsx(sl,{windowSize:I,children:t.jsx(et,{children:({height:x,width:v})=>t.jsx(tt,{isItemLoaded:B,itemCount:e.length+1,loadMoreItems:K,children:({onItemsRendered:F})=>t.jsxs(gl,{style:{height:x,width:v},children:[t.jsx(il,{children:t.jsx(He,{sortConfig:{sortKey:m.sortKey,sortOrder:m.sortOrder},isDisabled:n==="In-Progress"?"readonly":w,onColumnSortConfigChanged:Q})}),t.jsx(lt,{ref:G,height:x-Fe,itemCount:e.length,itemData:{analytics:y,vendorGlobalReviewList:e,sectionId:a,allGlobalMerchants:l,globalMerchantAutoCompleteView:g,isDisabled:w,onLoadGlobalMerchants:c,onApproveGlobalReview:oe,onRejectGlobalMerchantReview:U,onCreateGlobalMerchant:d,onClearGlobalMerchantAutoCompleteResults:L},onItemsRendered:F,itemSize:D,width:v,style:{willChange:"auto"},overscanCount:Gt,onScroll:({scrollOffset:k})=>{h({scrollYOffset:k})},initialScrollOffset:m.scrollYOffset,children:nl})]})})})})}),t.jsx(ot,{controller:W===!0,children:t.jsx(pl,{children:t.jsx(nt,{size:"Small",start:!0})})})]})},nl=({index:e,style:l,data:a})=>{const{analytics:n,vendorGlobalReviewList:g,allGlobalMerchants:m,globalMerchantAutoCompleteView:w,sectionId:y,isDisabled:c,onLoadGlobalMerchants:h,onCreateGlobalMerchant:j,onApproveGlobalReview:d,onRejectGlobalMerchantReview:q,onClearGlobalMerchantAutoCompleteResults:U}=a,L=g[e];return t.jsx(ml,{style:{...l,width:"100%"},className:"global-review-list-item",children:t.jsx(Ut,{sectionId:`${y}.${e}`,isDisabled:L.approveStatus.fetchState==="In-Progress"?"readonly":c,globalMerchantAutoCompleteView:w,vendorGlobalReviewData:L,allGlobalMerchants:m,onLoadGlobalMerchants:h,onCreateGlobalMerchant:j,onApproveGlobalReview:d,onRejectGlobalReview:q,onClearGlobalMerchantAutoCompleteResults:U,analytics:n},L.merchant.tenantMerchantId)})},il=i.div`
228
228
  width: auto;
229
229
  `,al=i.div`
230
230
  display: block;
@@ -280,7 +280,7 @@ import{d as Ke,q as Y,a8 as _e,ax as Ee,cB as Ye,V as t,F as ue,bz as Qe,ab as Z
280
280
  align-items: center;
281
281
  margin-top: ${o.sp3};
282
282
  margin-bottom: ${o.sp3};
283
- `,{common:{sectionTitles:ul},vendorReview:{globalReview:{globalMerchantList:Te}}}=ue.getLocalizedStrings(),wl="globalReviewListPage",he="globalReviewListTable",Ll=({vendorGlobalReviewView:e,globalMerchantAutoCompleteView:l,analytics:a,isDisabled:n,onUpdateSelectedGlobalMerchant:g,onApproveGlobalReview:m,onRejectGlobalReview:w,onCreateGlobalMerchant:y,onFetchGlobalMerchantAutoCompleteResults:c,onUpdateGlobalReviewUIState:h,onFetchGlobalReviewList:j,onClearGlobalMerchantAutoCompleteResults:d,onBackClick:q,onClickMenuIcon:U})=>{const L=Ke(),I=Y(),{vendorGlobalReviewData:G,allGlobalMerchants:W,uiState:O,fetchState:D}=e,{globalMerchants:Q,fetchState:p}=l,B=_e({mode:"all",reValidateMode:"onChange",defaultValues:Pe(G,W),values:Pe(G,W),resetOptions:{keepDirtyValues:!0}}),[K,oe]=C.useState(O.searchText),x=C.useRef(),v=r=>{j(r,!1,null)},F=r=>{const b=G.find(z=>z.merchant.tenantMerchantId===r);if(b!=null){const z=W.find(J=>J.globalMerchantId===b.selectedMerchantId),Z=b.recommendations,{tenantName:re,oldMerchantName:ne,tenantMerchantName:ie}=b.merchant,R=z?.globalMerchantName??ie,A=Z[0];a.trackVendorReviewApproveRequested({reviewSource:"global_review",tenantName:re,requestedVendorName:ie,originalVendorName:ne,approveVendorName:R,isGlobalVendorRequested:z!=null,isNewCreatedVendorRequested:!1,isVendorNameRecommendationSelected:b.currentSelection==="recommendedFirst"||b.currentSelection==="recommendedSecond",isVendorNameChangedAndSelected:R!==ie,wasRecommendationAvailable:!!A?.globalMerchantName,approveVendorReason:z?.reason??null,approveVendorNameSelectionSource:R===A?.globalMerchantName?"recommendation":"text_edit",recommendedVendorName:A?.globalMerchantName??null,recommendedVendorReason:A?.reason??null})}m(r)},k=C.useRef(Ee(r=>v(r),500,{trailing:!0})).current;C.useEffect(()=>{D==="Completed"&&a.trackVendorReviewPage("global_review",O.totalCount)},[D]),C.useEffect(()=>{p==="Completed"&&x.current?.(fl(Q))},[p]);const ae=(r,b)=>{c(r),x.current=b},xe=()=>{},u=async(r,b,z)=>{const{globalReviewListTable:Z}=b,re=parseInt(r.split(".")[1]),ne=Z[re].merchantId;if(z==null){g(ne,{recommendedFirst:!1,recommendedSecond:!1,originalVendor:!1,requested:!1},ne);return}if(r.includes(he)){const ie=parseInt(r.split(".")[1]),R={...b[he][ie]};let A=R[H],J;R.merchantId!=null&&(r.includes(Re)?(A={recommendedFirst:R[H].recommendedFirst,recommendedSecond:!1,originalVendor:!1,requested:!1},J=R[Re]?.globalMerchantId):r.includes(Ne)?(A={recommendedFirst:!1,recommendedSecond:R[H].recommendedSecond,originalVendor:!1,requested:!1},J=R[Ne]?.globalMerchantId):r.includes(ge)?(A={recommendedFirst:!1,recommendedSecond:!1,originalVendor:!1,requested:R[H].requested},J=R[ge]):r.includes(ve)&&(A={recommendedFirst:!1,recommendedSecond:!1,originalVendor:!0,requested:!1})),g(ne,A,r.includes(ve)?Z[re][ve].selectedOption:J)}};C.useEffect(()=>{const r=B.watch((b,{name:z,type:Z})=>{z!=null&&b!=null&&Ye(()=>u(z,b,Z))});return()=>{r.unsubscribe()}});const S=t.jsx(ft,{button:{label:ul.newVendor,onClick:()=>y()},search:{searchText:K,hide:!1,isOpen:K.length>0,placeHolder:Te.searchPlaceholder,onTextChange:r=>{oe(r),r.trim().length>=2?k(r):r.trim().length==0&&k("")}}});return t.jsxs(bl,{children:[t.jsx(Qe,{title:Te.navBarTitle,backgroundColor:L.colors.grey4,onBackClick:q,rightSideComponent:S,showMenuIcon:I==="medium-compact"||I==="small",onClickMenuIcon:U,source:"GlobalReviewListPage"}),t.jsx(xl,{children:t.jsx(Ze,{...B,children:t.jsx("form",{id:vl(wl),onSubmit:B.handleSubmit(xe),style:{width:"100%"},children:t.jsx(ol,{vendorGlobalReviewList:G,allGlobalMerchants:W,globalMerchantAutoCompleteView:l,uiState:{...O,searchText:K},isDisabled:n,listFetchState:D,sectionId:he,onLoadGlobalMerchants:ae,onUpdateGlobalReviewUIState:h,onFetchGlobalReviewList:j,onCreateGlobalMerchant:y,onApproveGlobalMerchantReview:F,onRejectGlobalMerchantReview:w,onClearGlobalMerchantAutoCompleteResults:d,analytics:a})})})})]})},bl=i.div`
283
+ `,{common:{sectionTitles:ul},vendorReview:{globalReview:{globalMerchantList:Pe}}}=ue.getLocalizedStrings(),wl="globalReviewListPage",he="globalReviewListTable",Ll=({vendorGlobalReviewView:e,globalMerchantAutoCompleteView:l,analytics:a,isDisabled:n,onUpdateSelectedGlobalMerchant:g,onApproveGlobalReview:m,onRejectGlobalReview:w,onCreateGlobalMerchant:y,onFetchGlobalMerchantAutoCompleteResults:c,onUpdateGlobalReviewUIState:h,onFetchGlobalReviewList:j,onClearGlobalMerchantAutoCompleteResults:d,onBackClick:q,onClickMenuIcon:U})=>{const L=Ke(),I=Y(),{vendorGlobalReviewData:G,allGlobalMerchants:W,uiState:O,fetchState:D}=e,{globalMerchants:Q,fetchState:p}=l,B=_e({mode:"all",reValidateMode:"onChange",defaultValues:Te(G,W),values:Te(G,W),resetOptions:{keepDirtyValues:!0}}),[K,oe]=C.useState(O.searchText),x=C.useRef(),v=r=>{j(r,!1,null)},F=r=>{const b=G.find(z=>z.merchant.tenantMerchantId===r);if(b!=null){const z=W.find(J=>J.globalMerchantId===b.selectedMerchantId),Z=b.recommendations,{tenantName:re,oldMerchantName:ne,tenantMerchantName:ie}=b.merchant,R=z?.globalMerchantName??ie,A=Z[0];a.trackVendorReviewApproveRequested({reviewSource:"global_review",tenantName:re,requestedVendorName:ie,originalVendorName:ne,approveVendorName:R,isGlobalVendorRequested:z!=null,isNewCreatedVendorRequested:!1,isVendorNameRecommendationSelected:b.currentSelection==="recommendedFirst"||b.currentSelection==="recommendedSecond",isVendorNameChangedAndSelected:R!==ie,wasRecommendationAvailable:!!A?.globalMerchantName,approveVendorReason:z?.reason??null,approveVendorNameSelectionSource:R===A?.globalMerchantName?"recommendation":"text_edit",recommendedVendorName:A?.globalMerchantName??null,recommendedVendorReason:A?.reason??null})}m(r)},k=C.useRef(Ee(r=>v(r),500,{trailing:!0})).current;C.useEffect(()=>{D==="Completed"&&a.trackVendorReviewPage("global_review",O.totalCount)},[D]),C.useEffect(()=>{p==="Completed"&&x.current?.(fl(Q))},[p]);const ae=(r,b)=>{c(r),x.current=b},xe=()=>{},u=async(r,b,z)=>{const{globalReviewListTable:Z}=b,re=parseInt(r.split(".")[1]),ne=Z[re].merchantId;if(z==null){g(ne,{recommendedFirst:!1,recommendedSecond:!1,originalVendor:!1,requested:!1},ne);return}if(r.includes(he)){const ie=parseInt(r.split(".")[1]),R={...b[he][ie]};let A=R[H],J;R.merchantId!=null&&(r.includes(Re)?(A={recommendedFirst:R[H].recommendedFirst,recommendedSecond:!1,originalVendor:!1,requested:!1},J=R[Re]?.globalMerchantId):r.includes(Ne)?(A={recommendedFirst:!1,recommendedSecond:R[H].recommendedSecond,originalVendor:!1,requested:!1},J=R[Ne]?.globalMerchantId):r.includes(ge)?(A={recommendedFirst:!1,recommendedSecond:!1,originalVendor:!1,requested:R[H].requested},J=R[ge]):r.includes(ve)&&(A={recommendedFirst:!1,recommendedSecond:!1,originalVendor:!0,requested:!1})),g(ne,A,r.includes(ve)?Z[re][ve].selectedOption:J)}};C.useEffect(()=>{const r=B.watch((b,{name:z,type:Z})=>{z!=null&&b!=null&&Ye(()=>u(z,b,Z))});return()=>{r.unsubscribe()}});const S=t.jsx(ft,{button:{label:ul.newVendor,onClick:()=>y()},search:{searchText:K,hide:!1,isOpen:K.length>0,placeHolder:Pe.searchPlaceholder,onTextChange:r=>{oe(r),r.trim().length>=2?k(r):r.trim().length==0&&k("")}}});return t.jsxs(bl,{children:[t.jsx(Qe,{title:Pe.navBarTitle,backgroundColor:L.colors.grey4,onBackClick:q,rightSideComponent:S,showMenuIcon:I==="medium-compact"||I==="small",onClickMenuIcon:U,source:"GlobalReviewListPage"}),t.jsx(xl,{children:t.jsx(Ze,{...B,children:t.jsx("form",{id:vl(wl),onSubmit:B.handleSubmit(xe),style:{width:"100%"},children:t.jsx(ol,{vendorGlobalReviewList:G,allGlobalMerchants:W,globalMerchantAutoCompleteView:l,uiState:{...O,searchText:K},isDisabled:n,listFetchState:D,sectionId:he,onLoadGlobalMerchants:ae,onUpdateGlobalReviewUIState:h,onFetchGlobalReviewList:j,onCreateGlobalMerchant:y,onApproveGlobalMerchantReview:F,onRejectGlobalMerchantReview:w,onClearGlobalMerchantAutoCompleteResults:d,analytics:a})})})})]})},bl=i.div`
284
284
  display: flex;
285
285
  min-height: 100%;
286
286
  width: 100%;
@@ -288,4 +288,4 @@ import{d as Ke,q as Y,a8 as _e,ax as Ee,cB as Ye,V as t,F as ue,bz as Qe,ab as Z
288
288
  background-color: ${e=>e.theme.colors.grey4};
289
289
  `,xl=i.div`
290
290
  display: flex;
291
- `,vl=e=>`${e}_form`,Pe=(e,l)=>({[he]:e.map(a=>{const{merchant:n}=a;let g=n.oldMerchantName;return a.currentSelection==="originalVendor"&&a.selectedMerchantId!=null&&(g=a.selectedMerchantId),{tenantId:n.tenantId,merchantId:n.tenantMerchantId,originalVendor:Be(g,n,l),recommendedFirst:a.recommendations[0],recommendedSecond:a.recommendations[1],currentSelection:{recommendedFirst:a.currentSelection==="recommendedFirst",recommendedSecond:a.currentSelection==="recommendedSecond",requested:a.currentSelection==="requested",originalVendor:a.currentSelection==="originalVendor"},requested:n.tenantMerchantId}})}),fl=e=>e.map(l=>({label:l.globalMerchantName,value:l.globalMerchantId})).sort((l,a)=>l.label.localeCompare(a.label));export{Ll as default,vl as uniqueFormName};
291
+ `,vl=e=>`${e}_form`,Te=(e,l)=>({[he]:e.map(a=>{const{merchant:n}=a;let g=n.oldMerchantName;return a.currentSelection==="originalVendor"&&a.selectedMerchantId!=null&&(g=a.selectedMerchantId),{tenantId:n.tenantId,merchantId:n.tenantMerchantId,originalVendor:Be(g,n,l),recommendedFirst:a.recommendations[0],recommendedSecond:a.recommendations[1],currentSelection:{recommendedFirst:a.currentSelection==="recommendedFirst",recommendedSecond:a.currentSelection==="recommendedSecond",requested:a.currentSelection==="requested",originalVendor:a.currentSelection==="originalVendor"},requested:n.tenantMerchantId}})}),fl=e=>e.map(l=>({label:l.globalMerchantName,value:l.globalMerchantId})).sort((l,a)=>l.label.localeCompare(a.label));export{Ll as default,vl as uniqueFormName};
@@ -1,4 +1,4 @@
1
- import{F as c,V as r,aI as D,aK as g,aU as b,C as I,aJ as j,aP as H,o as Z,ag as x}from"./index-DJLrbf0F.js";import{S as m,a as t}from"./core-CA3j8Axi.js";import{c as V}from"./SummaryCard-DOycYLs1-BLeRuOD7.js";import{n as d}from"./mui-DpJXlk4t.js";import{N as y}from"./NavigationArrow-BXYIj6Wz-DziJLhPd.js";import{k as S}from"./NavigationDots-BvKSgdgh-LQiuRx4x.js";import"./sentry-BA4piVNf.js";import"./zeni-epic-state-CQt4n3Xe.js";import"./lottie-B7mXQ-R-.js";import"./liveblocks-C2I4vRCJ.js";import"./utils-DUsHM-Uc.js";import"./analytics-CHPpxU3b.js";import"./recharts-BGdJnVo5.js";import"./lexical-dZFDzIA1.js";import"./ReloadCard-DjtdPHq5-BoSxtWCb.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},s=new e.Error().stack;s&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[s]="61c2cd69-ab2c-4c36-aa10-a7c012e0d8fe",e._sentryDebugIdIdentifier="sentry-dbid-61c2cd69-ab2c-4c36-aa10-a7c012e0d8fe")}catch{}})();const T=d.div`
1
+ import{V as r,aI as D,F as c,aM as g,aU as b,C as I,aJ as j,aP as H,o as Z,ag as x}from"./index-CiMyMhgu.js";import{S as m,a as t}from"./sentry-DMKAGVXl.js";import{c as V}from"./SummaryCard-DOycYLs1-CaQB1fqx.js";import{n as d}from"./mui-D2MqZYRi.js";import{N as y}from"./NavigationArrow-BXYIj6Wz-B7qUUnjS.js";import{k as S}from"./NavigationDots-BvKSgdgh-BXw04_O_.js";import"./liveblocks-D92pTRaw.js";import"./core-CadaPWsO.js";import"./recharts-t7V-Kaqf.js";import"./zeni-epic-state-DjAFCaxy.js";import"./lottie-Dv5hJ5mA.js";import"./analytics-C6L7hlHG.js";import"./lexical-DEI4_j9X.js";import"./utils-BWiizB9D.js";import"./ReloadCard-DjtdPHq5-qE-nJEXk.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},s=new e.Error().stack;s&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[s]="d382c43a-f0d3-4744-bf18-14bbc461230a",e._sentryDebugIdIdentifier="sentry-dbid-d382c43a-f0d3-4744-bf18-14bbc461230a")}catch{}})();const T=d.div`
2
2
  display: flex;
3
3
  align-items: center;
4
4
  flex-direction: column;
@@ -1,8 +1,8 @@
1
- import{V as r,aI as W,aJ as w,F as v,aK as k,aU as A,aP as $,o as s,ag as b,bK as S,C as O,bZ as Z,bN as P,aQ as N,b_ as R}from"./index-DJLrbf0F.js";import{S as u,a as t}from"./core-CA3j8Axi.js";import{c as Y}from"./SummaryCard-DOycYLs1-BLeRuOD7.js";import{n as o}from"./mui-DpJXlk4t.js";import{N as B}from"./NavigationArrow-BXYIj6Wz-DziJLhPd.js";import{k as q}from"./NavigationDots-BvKSgdgh-LQiuRx4x.js";import{t as z,o as K}from"./arrow-south-east-round-PEovUgvH-D9klpzRU.js";import"./sentry-BA4piVNf.js";import"./zeni-epic-state-CQt4n3Xe.js";import"./lottie-B7mXQ-R-.js";import"./liveblocks-C2I4vRCJ.js";import"./utils-DUsHM-Uc.js";import"./analytics-CHPpxU3b.js";import"./recharts-BGdJnVo5.js";import"./lexical-dZFDzIA1.js";import"./ReloadCard-DjtdPHq5-BoSxtWCb.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new e.Error().stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="7f22a7a1-9fd2-49e8-816b-0d64803ca767",e._sentryDebugIdIdentifier="sentry-dbid-7f22a7a1-9fd2-49e8-816b-0d64803ca767")}catch{}})();const F=e=>t.createElement("svg",{width:128,height:128,viewBox:"0 0 128 128",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},t.createElement("path",{d:"M107.29 63.9999C107.29 87.908 87.9081 107.289 64 107.289C40.0919 107.289 20.7106 87.908 20.7106 63.9999C20.7106 40.0918 40.0919 20.7104 64 20.7104C87.9081 20.7104 107.29 40.0918 107.29 63.9999Z",fill:"#97C3B9",fillOpacity:.2,stroke:"#97C3B9"}),t.createElement("circle",{opacity:.6,cx:64,cy:64,r:53.3947,stroke:"#97C3B9"}),t.createElement("circle",{opacity:.32,cx:64,cy:64,r:63.5,stroke:"#97C3B9"}),t.createElement("path",{opacity:.2,d:"M71.0119 75.4254C71.0119 69.9672 78.1812 68.581 78.2028 60.3288C78.2245 52.0765 72.2681 47.8312 65.5104 47.8096C58.7526 47.8096 52.7962 52.0548 52.7746 60.2854C52.7529 68.5161 59.9222 69.9239 59.9222 75.3821C59.9222 80.8403 59.9222 79.6924 59.9222 80.5154C59.9222 82.1182 59.7273 83.3961 62.1748 83.6994C62.1748 85.3455 63.6477 86.6667 65.4671 86.6667C67.2865 86.6667 68.7593 85.3455 68.7593 83.6994C71.0552 83.3528 71.0552 82.2049 71.0335 80.7104C71.0119 80.7537 71.0119 75.5771 71.0119 75.4254Z",fill:"#97C3B9"}),t.createElement("path",{d:"M66.3335 75.5985C65.5321 66.7397 65.0989 60.935 66.3768 59.5921C67.2215 58.7041 68.651 58.7257 69.5174 59.5921C70.3838 60.4585 70.3838 61.8663 69.5174 62.7327C68.651 63.5991 65.9219 63.7724 65.9219 63.7724H62.7163C62.7163 63.7724 59.9872 63.5774 59.1209 62.7111C58.2545 61.8447 58.2545 60.4368 59.1209 59.5704C59.9872 58.7041 61.3951 58.7041 62.2615 59.5704C63.5611 60.9133 63.1062 66.7181 62.2615 75.5768",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M64.2974 82.8112C58.1895 82.8112 58.7526 81.4683 58.7526 79.4756C58.7526 78.6526 58.7526 79.8005 58.7526 74.3423C58.7526 68.8841 51.605 67.4763 51.605 59.2456C51.6266 51.015 57.5613 46.7698 64.3408 46.7698C71.0985 46.7698 77.0549 51.0367 77.0332 59.289C77.0116 67.5196 69.8639 68.9058 69.8423 74.3856C69.8206 79.8655 69.8423 78.6959 69.8423 79.5189C69.8423 81.49 70.4054 82.8112 64.2974 82.8112Z",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),t.createElement("path",{d:"M69.864 79.6491C68.781 80.2772 67.0915 80.5371 64.3191 80.5371C61.5467 80.5371 59.8573 80.2772 58.7743 79.6274",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),t.createElement("path",{d:"M69.864 74.7756C68.781 75.4038 67.0915 75.6637 64.3191 75.6637C61.5467 75.6637 59.8573 75.4038 58.7743 74.7756",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),t.createElement("path",{d:"M58.7527 77.2014C59.8357 77.8295 61.5251 78.0895 64.2975 78.0895C67.0699 78.0895 68.7594 77.8295 69.8424 77.2014",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),t.createElement("path",{d:"M67.5897 82.6597C67.5897 84.3058 66.1169 85.627 64.2975 85.627C62.4781 85.627 61.0052 84.2841 61.0052 82.6597",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),t.createElement("path",{d:"M47.7712 64.8338L50.5003 63.7725",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M46.6666 59.3105L49.6123 59.2239",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M47.2731 53.7659L50.1105 54.5023",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M49.569 48.6326L51.9948 50.2787",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M53.5327 44.5823L55.2438 46.9865",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M58.601 42.1562L59.4457 44.9503",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M64.1025 41.3333L64.1242 44.2573",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M69.604 42.0264L68.8459 44.8638",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M74.7373 44.3223L73.0912 46.7698",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M78.8093 48.2427L76.4268 49.9538",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M81.2569 53.3325L78.4412 54.1339",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M81.9933 58.8342H79.0476",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M81.0403 64.4006L78.2896 63.4043",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M64.2974 82.8112C58.1895 82.8112 58.7526 81.4683 58.7526 79.4756C58.7526 78.6526 58.7526 79.8005 58.7526 74.3423C58.7526 68.8841 51.605 67.4763 51.605 59.2456C51.6266 51.015 57.5613 46.7698 64.3408 46.7698C71.0985 46.7698 77.0549 51.0367 77.0332 59.289C77.0116 67.5196 69.8639 68.9058 69.8423 74.3856C69.8206 79.8655 69.8423 78.6959 69.8423 79.5189C69.8423 81.49 70.4054 82.8112 64.2974 82.8112Z",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),t.createElement("circle",{cx:16,cy:17.6841,r:8.76316,fill:"#97C3B9",fillOpacity:.2,stroke:"#97C3B9"}),t.createElement("path",{d:"M15.4385 14.1474H17.0105C17.6605 14.1474 18.1894 14.6764 18.1894 15.3264C18.1894 15.5433 18.3655 15.7194 18.5824 15.7194C18.7993 15.7194 18.9754 15.5433 18.9754 15.3264C18.9754 14.2429 18.0939 13.3615 17.0105 13.3615H16.6175V12.1825C16.6175 11.9656 16.4414 11.7896 16.2245 11.7896C16.0076 11.7896 15.8315 11.9656 15.8315 12.1825V13.3615H15.4385C14.3551 13.3615 13.4736 14.2429 13.4736 15.3264V16.1124C13.4736 17.1958 14.3551 18.0773 15.4385 18.0773H17.0105C17.6605 18.0773 18.1894 18.6062 18.1894 19.2562V20.0422C18.1894 20.6922 17.6605 21.2211 17.0105 21.2211H16.6175V18.8632C16.6175 18.6463 16.4414 18.4703 16.2245 18.4703C16.0076 18.4703 15.8315 18.6463 15.8315 18.8632V21.2211H15.4385C14.7886 21.2211 14.2596 20.6922 14.2596 20.0422C14.2596 19.8253 14.0835 19.6492 13.8666 19.6492C13.6497 19.6492 13.4736 19.8253 13.4736 20.0422C13.4736 21.1256 14.3551 22.0071 15.4385 22.0071H15.8315V23.186C15.8315 23.403 16.0076 23.579 16.2245 23.579C16.4414 23.579 16.6175 23.403 16.6175 23.186V22.0071H17.0105C18.0939 22.0071 18.9754 21.1256 18.9754 20.0422V19.2562C18.9754 18.1728 18.0939 17.2913 17.0105 17.2913H16.6175V14.9334C16.6175 14.7165 16.4414 14.5404 16.2245 14.5404C16.0076 14.5404 15.8315 14.7165 15.8315 14.9334V17.2913H15.4385C14.7886 17.2913 14.2596 16.7624 14.2596 16.1124V15.3264C14.2596 14.6764 14.7886 14.1474 15.4385 14.1474Z",fill:"#97C3B9"}),t.createElement("circle",{cx:113.263,cy:25.2632,r:8.76316,fill:"#97C3B9",fillOpacity:.2,stroke:"#97C3B9"}),t.createElement("path",{d:"M113.388 25.3887C113.467 25.3096 113.574 25.2653 113.686 25.2653H114.95C115.061 25.2653 115.169 25.3096 115.248 25.3887C115.327 25.4677 115.371 25.5748 115.371 25.6865C115.371 25.7982 115.327 25.9054 115.248 25.9843C115.169 26.0633 115.061 26.1077 114.95 26.1077H113.686C113.574 26.1077 113.467 26.0633 113.388 25.9843C113.309 25.9054 113.265 25.7982 113.265 25.6865C113.265 25.5748 113.309 25.4677 113.388 25.3887Z",fill:"#97C3B9"}),t.createElement("path",{d:"M112.843 28.6352H116.213V28.631C116.325 28.631 116.432 28.6754 116.511 28.7544C116.59 28.8334 116.635 28.9406 116.635 29.0522C116.635 29.1639 116.59 29.2711 116.511 29.3501C116.432 29.4291 116.325 29.4735 116.213 29.4735H110.316C110.204 29.4735 110.097 29.4291 110.018 29.3501C109.939 29.2711 109.895 29.1639 109.895 29.0522C109.895 28.9406 109.939 28.8334 110.018 28.7544C110.097 28.6754 110.204 28.631 110.316 28.631H112.001V27.7885C111.993 27.2018 111.849 26.625 111.58 26.1035H110.737C110.626 26.1035 110.518 26.0592 110.439 25.9801C110.36 25.9011 110.316 25.794 110.316 25.6823C110.316 25.5706 110.36 25.4634 110.439 25.3845C110.518 25.3055 110.626 25.261 110.737 25.261H111.074L110.813 24.8693C110.49 24.3854 110.317 23.8168 110.316 23.2348V22.7378C110.316 22.0675 110.582 21.4246 111.056 20.9506C111.53 20.4766 112.173 20.2103 112.843 20.2103H113.686C114.356 20.2103 114.999 20.4766 115.473 20.9506C115.947 21.4246 116.213 22.0675 116.213 22.7378C116.213 22.8495 116.169 22.9566 116.09 23.0356C116.011 23.1146 115.904 23.159 115.792 23.159C115.68 23.159 115.573 23.1146 115.494 23.0356C115.415 22.9566 115.371 22.8495 115.371 22.7378C115.371 22.2909 115.193 21.8623 114.877 21.5464C114.561 21.2303 114.133 21.0528 113.686 21.0528H112.843C112.397 21.0528 111.968 21.2303 111.652 21.5464C111.336 21.8623 111.159 22.2909 111.159 22.7378V23.2348C111.163 23.643 111.286 24.0411 111.512 24.3806L112.064 25.2231C112.572 25.9839 112.843 26.878 112.843 27.7927V28.6352Z",fill:"#97C3B9"}),t.createElement("circle",{cx:108.263,cy:104.263,r:8.76316,fill:"#97C3B9",fillOpacity:.2,stroke:"#97C3B9"}),t.createElement("path",{d:"M110.789 108.053C110.789 107.941 110.745 107.834 110.666 107.755C110.587 107.676 110.48 107.632 110.368 107.632H108.263C107.705 107.632 107.169 107.41 106.774 107.015C106.38 106.62 106.158 106.085 106.158 105.526V105.105H108.684C108.796 105.105 108.903 105.061 108.982 104.982C109.061 104.903 109.105 104.796 109.105 104.684C109.105 104.572 109.061 104.465 108.982 104.386C108.903 104.307 108.796 104.263 108.684 104.263H106.158V103.421H109.526C109.638 103.421 109.745 103.377 109.824 103.298C109.903 103.219 109.947 103.112 109.947 103C109.947 102.888 109.903 102.781 109.824 102.702C109.745 102.623 109.638 102.579 109.526 102.579H106.158V102.158C106.158 101.599 106.38 101.064 106.774 100.669C107.169 100.274 107.705 100.053 108.263 100.053H110.368C110.48 100.053 110.587 100.008 110.666 99.9292C110.745 99.8503 110.789 99.7432 110.789 99.6315C110.789 99.5198 110.745 99.4127 110.666 99.3338C110.587 99.2548 110.48 99.2104 110.368 99.2104H108.263C107.481 99.2104 106.732 99.521 106.179 100.074C105.626 100.626 105.316 101.376 105.316 102.158V102.579H104.474C104.362 102.579 104.255 102.623 104.176 102.702C104.097 102.781 104.053 102.888 104.053 103C104.053 103.112 104.097 103.219 104.176 103.298C104.255 103.377 104.362 103.421 104.474 103.421H105.316V104.263H103.632C103.52 104.263 103.413 104.307 103.334 104.386C103.255 104.465 103.21 104.572 103.21 104.684C103.21 104.796 103.255 104.903 103.334 104.982C103.413 105.061 103.52 105.105 103.632 105.105H105.316V105.526C105.316 106.308 105.626 107.058 106.179 107.61C106.732 108.163 107.481 108.474 108.263 108.474H110.368C110.48 108.474 110.587 108.429 110.666 108.35C110.745 108.271 110.789 108.164 110.789 108.053Z",fill:"#97C3B9"}),t.createElement("circle",{cx:12.6316,cy:94.3159,r:8.76316,fill:"#97C3B9",fillOpacity:.2,stroke:"#97C3B9"}),t.createElement("path",{d:"M14.2506 95.8057C14.4476 95.8057 14.6068 95.9653 14.6068 96.162C14.6068 96.3586 14.4476 96.5182 14.2506 96.5182H13.5381C13.341 96.5182 13.1818 96.3586 13.1818 96.162C13.1818 95.9653 13.341 95.8057 13.5381 95.8057H14.2506Z",fill:"#97C3B9"}),t.createElement("path",{d:"M14.2506 94.3808C14.4476 94.3808 14.6068 94.5404 14.6068 94.737C14.6068 94.9337 14.4476 95.0933 14.2506 95.0933H12.8255V99.0121C12.8255 99.2088 12.6663 99.3684 12.4693 99.3684C12.2723 99.3684 12.113 99.2088 12.113 99.0121V96.5183H10.688C10.491 96.5183 10.3317 96.3587 10.3317 96.1621C10.3317 95.9654 10.491 95.8058 10.688 95.8058H12.113V95.0933H10.688C10.491 95.0933 10.3317 94.9337 10.3317 94.737C10.3317 94.5404 10.491 94.3808 10.688 94.3808H12.0286L9.33135 90.6717C9.21557 90.5124 9.25084 90.2898 9.41009 90.174C9.56933 90.0579 9.79235 90.0931 9.90742 90.2524L12.4693 93.775L15.0315 90.252C15.1466 90.0928 15.3696 90.0576 15.5288 90.1737C15.6884 90.2894 15.7234 90.5121 15.6076 90.6714L12.91 94.3808H14.2506Z",fill:"#97C3B9"}),t.createElement("circle",{cx:93.4736,cy:7.57899,r:1.68421,fill:"#97C3B9"}),t.createElement("circle",{cx:38.7368,cy:111.158,r:1.68421,fill:"#97C3B9"})),G=o($)`
1
+ import{V as r,aI as W,aJ as w,F as v,aM as f,aU as A,aP as $,o as s,ag as b,bK as S,C as O,bZ as Z,bN as P,aQ as N,b_ as R}from"./index-CiMyMhgu.js";import{S as k,a as t}from"./sentry-DMKAGVXl.js";import{c as Y}from"./SummaryCard-DOycYLs1-CaQB1fqx.js";import{n as o}from"./mui-D2MqZYRi.js";import{N as B}from"./NavigationArrow-BXYIj6Wz-B7qUUnjS.js";import{k as q}from"./NavigationDots-BvKSgdgh-BXw04_O_.js";import{t as z,o as F}from"./arrow-south-east-round-PEovUgvH-4-pP5pik.js";import"./liveblocks-D92pTRaw.js";import"./core-CadaPWsO.js";import"./recharts-t7V-Kaqf.js";import"./zeni-epic-state-DjAFCaxy.js";import"./lottie-Dv5hJ5mA.js";import"./analytics-C6L7hlHG.js";import"./lexical-DEI4_j9X.js";import"./utils-BWiizB9D.js";import"./ReloadCard-DjtdPHq5-qE-nJEXk.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="1acf4639-f3e5-405c-8f6f-2abefaa7e6ee",e._sentryDebugIdIdentifier="sentry-dbid-1acf4639-f3e5-405c-8f6f-2abefaa7e6ee")}catch{}})();const G=e=>t.createElement("svg",{width:128,height:128,viewBox:"0 0 128 128",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},t.createElement("path",{d:"M107.29 63.9999C107.29 87.908 87.9081 107.289 64 107.289C40.0919 107.289 20.7106 87.908 20.7106 63.9999C20.7106 40.0918 40.0919 20.7104 64 20.7104C87.9081 20.7104 107.29 40.0918 107.29 63.9999Z",fill:"#97C3B9",fillOpacity:.2,stroke:"#97C3B9"}),t.createElement("circle",{opacity:.6,cx:64,cy:64,r:53.3947,stroke:"#97C3B9"}),t.createElement("circle",{opacity:.32,cx:64,cy:64,r:63.5,stroke:"#97C3B9"}),t.createElement("path",{opacity:.2,d:"M71.0119 75.4254C71.0119 69.9672 78.1812 68.581 78.2028 60.3288C78.2245 52.0765 72.2681 47.8312 65.5104 47.8096C58.7526 47.8096 52.7962 52.0548 52.7746 60.2854C52.7529 68.5161 59.9222 69.9239 59.9222 75.3821C59.9222 80.8403 59.9222 79.6924 59.9222 80.5154C59.9222 82.1182 59.7273 83.3961 62.1748 83.6994C62.1748 85.3455 63.6477 86.6667 65.4671 86.6667C67.2865 86.6667 68.7593 85.3455 68.7593 83.6994C71.0552 83.3528 71.0552 82.2049 71.0335 80.7104C71.0119 80.7537 71.0119 75.5771 71.0119 75.4254Z",fill:"#97C3B9"}),t.createElement("path",{d:"M66.3335 75.5985C65.5321 66.7397 65.0989 60.935 66.3768 59.5921C67.2215 58.7041 68.651 58.7257 69.5174 59.5921C70.3838 60.4585 70.3838 61.8663 69.5174 62.7327C68.651 63.5991 65.9219 63.7724 65.9219 63.7724H62.7163C62.7163 63.7724 59.9872 63.5774 59.1209 62.7111C58.2545 61.8447 58.2545 60.4368 59.1209 59.5704C59.9872 58.7041 61.3951 58.7041 62.2615 59.5704C63.5611 60.9133 63.1062 66.7181 62.2615 75.5768",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M64.2974 82.8112C58.1895 82.8112 58.7526 81.4683 58.7526 79.4756C58.7526 78.6526 58.7526 79.8005 58.7526 74.3423C58.7526 68.8841 51.605 67.4763 51.605 59.2456C51.6266 51.015 57.5613 46.7698 64.3408 46.7698C71.0985 46.7698 77.0549 51.0367 77.0332 59.289C77.0116 67.5196 69.8639 68.9058 69.8423 74.3856C69.8206 79.8655 69.8423 78.6959 69.8423 79.5189C69.8423 81.49 70.4054 82.8112 64.2974 82.8112Z",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),t.createElement("path",{d:"M69.864 79.6491C68.781 80.2772 67.0915 80.5371 64.3191 80.5371C61.5467 80.5371 59.8573 80.2772 58.7743 79.6274",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),t.createElement("path",{d:"M69.864 74.7756C68.781 75.4038 67.0915 75.6637 64.3191 75.6637C61.5467 75.6637 59.8573 75.4038 58.7743 74.7756",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),t.createElement("path",{d:"M58.7527 77.2014C59.8357 77.8295 61.5251 78.0895 64.2975 78.0895C67.0699 78.0895 68.7594 77.8295 69.8424 77.2014",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),t.createElement("path",{d:"M67.5897 82.6597C67.5897 84.3058 66.1169 85.627 64.2975 85.627C62.4781 85.627 61.0052 84.2841 61.0052 82.6597",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),t.createElement("path",{d:"M47.7712 64.8338L50.5003 63.7725",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M46.6666 59.3105L49.6123 59.2239",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M47.2731 53.7659L50.1105 54.5023",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M49.569 48.6326L51.9948 50.2787",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M53.5327 44.5823L55.2438 46.9865",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M58.601 42.1562L59.4457 44.9503",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M64.1025 41.3333L64.1242 44.2573",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M69.604 42.0264L68.8459 44.8638",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M74.7373 44.3223L73.0912 46.7698",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M78.8093 48.2427L76.4268 49.9538",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M81.2569 53.3325L78.4412 54.1339",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M81.9933 58.8342H79.0476",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M81.0403 64.4006L78.2896 63.4043",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M64.2974 82.8112C58.1895 82.8112 58.7526 81.4683 58.7526 79.4756C58.7526 78.6526 58.7526 79.8005 58.7526 74.3423C58.7526 68.8841 51.605 67.4763 51.605 59.2456C51.6266 51.015 57.5613 46.7698 64.3408 46.7698C71.0985 46.7698 77.0549 51.0367 77.0332 59.289C77.0116 67.5196 69.8639 68.9058 69.8423 74.3856C69.8206 79.8655 69.8423 78.6959 69.8423 79.5189C69.8423 81.49 70.4054 82.8112 64.2974 82.8112Z",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),t.createElement("circle",{cx:16,cy:17.6841,r:8.76316,fill:"#97C3B9",fillOpacity:.2,stroke:"#97C3B9"}),t.createElement("path",{d:"M15.4385 14.1474H17.0105C17.6605 14.1474 18.1894 14.6764 18.1894 15.3264C18.1894 15.5433 18.3655 15.7194 18.5824 15.7194C18.7993 15.7194 18.9754 15.5433 18.9754 15.3264C18.9754 14.2429 18.0939 13.3615 17.0105 13.3615H16.6175V12.1825C16.6175 11.9656 16.4414 11.7896 16.2245 11.7896C16.0076 11.7896 15.8315 11.9656 15.8315 12.1825V13.3615H15.4385C14.3551 13.3615 13.4736 14.2429 13.4736 15.3264V16.1124C13.4736 17.1958 14.3551 18.0773 15.4385 18.0773H17.0105C17.6605 18.0773 18.1894 18.6062 18.1894 19.2562V20.0422C18.1894 20.6922 17.6605 21.2211 17.0105 21.2211H16.6175V18.8632C16.6175 18.6463 16.4414 18.4703 16.2245 18.4703C16.0076 18.4703 15.8315 18.6463 15.8315 18.8632V21.2211H15.4385C14.7886 21.2211 14.2596 20.6922 14.2596 20.0422C14.2596 19.8253 14.0835 19.6492 13.8666 19.6492C13.6497 19.6492 13.4736 19.8253 13.4736 20.0422C13.4736 21.1256 14.3551 22.0071 15.4385 22.0071H15.8315V23.186C15.8315 23.403 16.0076 23.579 16.2245 23.579C16.4414 23.579 16.6175 23.403 16.6175 23.186V22.0071H17.0105C18.0939 22.0071 18.9754 21.1256 18.9754 20.0422V19.2562C18.9754 18.1728 18.0939 17.2913 17.0105 17.2913H16.6175V14.9334C16.6175 14.7165 16.4414 14.5404 16.2245 14.5404C16.0076 14.5404 15.8315 14.7165 15.8315 14.9334V17.2913H15.4385C14.7886 17.2913 14.2596 16.7624 14.2596 16.1124V15.3264C14.2596 14.6764 14.7886 14.1474 15.4385 14.1474Z",fill:"#97C3B9"}),t.createElement("circle",{cx:113.263,cy:25.2632,r:8.76316,fill:"#97C3B9",fillOpacity:.2,stroke:"#97C3B9"}),t.createElement("path",{d:"M113.388 25.3887C113.467 25.3096 113.574 25.2653 113.686 25.2653H114.95C115.061 25.2653 115.169 25.3096 115.248 25.3887C115.327 25.4677 115.371 25.5748 115.371 25.6865C115.371 25.7982 115.327 25.9054 115.248 25.9843C115.169 26.0633 115.061 26.1077 114.95 26.1077H113.686C113.574 26.1077 113.467 26.0633 113.388 25.9843C113.309 25.9054 113.265 25.7982 113.265 25.6865C113.265 25.5748 113.309 25.4677 113.388 25.3887Z",fill:"#97C3B9"}),t.createElement("path",{d:"M112.843 28.6352H116.213V28.631C116.325 28.631 116.432 28.6754 116.511 28.7544C116.59 28.8334 116.635 28.9406 116.635 29.0522C116.635 29.1639 116.59 29.2711 116.511 29.3501C116.432 29.4291 116.325 29.4735 116.213 29.4735H110.316C110.204 29.4735 110.097 29.4291 110.018 29.3501C109.939 29.2711 109.895 29.1639 109.895 29.0522C109.895 28.9406 109.939 28.8334 110.018 28.7544C110.097 28.6754 110.204 28.631 110.316 28.631H112.001V27.7885C111.993 27.2018 111.849 26.625 111.58 26.1035H110.737C110.626 26.1035 110.518 26.0592 110.439 25.9801C110.36 25.9011 110.316 25.794 110.316 25.6823C110.316 25.5706 110.36 25.4634 110.439 25.3845C110.518 25.3055 110.626 25.261 110.737 25.261H111.074L110.813 24.8693C110.49 24.3854 110.317 23.8168 110.316 23.2348V22.7378C110.316 22.0675 110.582 21.4246 111.056 20.9506C111.53 20.4766 112.173 20.2103 112.843 20.2103H113.686C114.356 20.2103 114.999 20.4766 115.473 20.9506C115.947 21.4246 116.213 22.0675 116.213 22.7378C116.213 22.8495 116.169 22.9566 116.09 23.0356C116.011 23.1146 115.904 23.159 115.792 23.159C115.68 23.159 115.573 23.1146 115.494 23.0356C115.415 22.9566 115.371 22.8495 115.371 22.7378C115.371 22.2909 115.193 21.8623 114.877 21.5464C114.561 21.2303 114.133 21.0528 113.686 21.0528H112.843C112.397 21.0528 111.968 21.2303 111.652 21.5464C111.336 21.8623 111.159 22.2909 111.159 22.7378V23.2348C111.163 23.643 111.286 24.0411 111.512 24.3806L112.064 25.2231C112.572 25.9839 112.843 26.878 112.843 27.7927V28.6352Z",fill:"#97C3B9"}),t.createElement("circle",{cx:108.263,cy:104.263,r:8.76316,fill:"#97C3B9",fillOpacity:.2,stroke:"#97C3B9"}),t.createElement("path",{d:"M110.789 108.053C110.789 107.941 110.745 107.834 110.666 107.755C110.587 107.676 110.48 107.632 110.368 107.632H108.263C107.705 107.632 107.169 107.41 106.774 107.015C106.38 106.62 106.158 106.085 106.158 105.526V105.105H108.684C108.796 105.105 108.903 105.061 108.982 104.982C109.061 104.903 109.105 104.796 109.105 104.684C109.105 104.572 109.061 104.465 108.982 104.386C108.903 104.307 108.796 104.263 108.684 104.263H106.158V103.421H109.526C109.638 103.421 109.745 103.377 109.824 103.298C109.903 103.219 109.947 103.112 109.947 103C109.947 102.888 109.903 102.781 109.824 102.702C109.745 102.623 109.638 102.579 109.526 102.579H106.158V102.158C106.158 101.599 106.38 101.064 106.774 100.669C107.169 100.274 107.705 100.053 108.263 100.053H110.368C110.48 100.053 110.587 100.008 110.666 99.9292C110.745 99.8503 110.789 99.7432 110.789 99.6315C110.789 99.5198 110.745 99.4127 110.666 99.3338C110.587 99.2548 110.48 99.2104 110.368 99.2104H108.263C107.481 99.2104 106.732 99.521 106.179 100.074C105.626 100.626 105.316 101.376 105.316 102.158V102.579H104.474C104.362 102.579 104.255 102.623 104.176 102.702C104.097 102.781 104.053 102.888 104.053 103C104.053 103.112 104.097 103.219 104.176 103.298C104.255 103.377 104.362 103.421 104.474 103.421H105.316V104.263H103.632C103.52 104.263 103.413 104.307 103.334 104.386C103.255 104.465 103.21 104.572 103.21 104.684C103.21 104.796 103.255 104.903 103.334 104.982C103.413 105.061 103.52 105.105 103.632 105.105H105.316V105.526C105.316 106.308 105.626 107.058 106.179 107.61C106.732 108.163 107.481 108.474 108.263 108.474H110.368C110.48 108.474 110.587 108.429 110.666 108.35C110.745 108.271 110.789 108.164 110.789 108.053Z",fill:"#97C3B9"}),t.createElement("circle",{cx:12.6316,cy:94.3159,r:8.76316,fill:"#97C3B9",fillOpacity:.2,stroke:"#97C3B9"}),t.createElement("path",{d:"M14.2506 95.8057C14.4476 95.8057 14.6068 95.9653 14.6068 96.162C14.6068 96.3586 14.4476 96.5182 14.2506 96.5182H13.5381C13.341 96.5182 13.1818 96.3586 13.1818 96.162C13.1818 95.9653 13.341 95.8057 13.5381 95.8057H14.2506Z",fill:"#97C3B9"}),t.createElement("path",{d:"M14.2506 94.3808C14.4476 94.3808 14.6068 94.5404 14.6068 94.737C14.6068 94.9337 14.4476 95.0933 14.2506 95.0933H12.8255V99.0121C12.8255 99.2088 12.6663 99.3684 12.4693 99.3684C12.2723 99.3684 12.113 99.2088 12.113 99.0121V96.5183H10.688C10.491 96.5183 10.3317 96.3587 10.3317 96.1621C10.3317 95.9654 10.491 95.8058 10.688 95.8058H12.113V95.0933H10.688C10.491 95.0933 10.3317 94.9337 10.3317 94.737C10.3317 94.5404 10.491 94.3808 10.688 94.3808H12.0286L9.33135 90.6717C9.21557 90.5124 9.25084 90.2898 9.41009 90.174C9.56933 90.0579 9.79235 90.0931 9.90742 90.2524L12.4693 93.775L15.0315 90.252C15.1466 90.0928 15.3696 90.0576 15.5288 90.1737C15.6884 90.2894 15.7234 90.5121 15.6076 90.6714L12.91 94.3808H14.2506Z",fill:"#97C3B9"}),t.createElement("circle",{cx:93.4736,cy:7.57899,r:1.68421,fill:"#97C3B9"}),t.createElement("circle",{cx:38.7368,cy:111.158,r:1.68421,fill:"#97C3B9"})),J=o($)`
2
2
  justify-content: space-between;
3
3
  height: auto;
4
4
  width: 100%;
5
- `,J=o.div`
5
+ `,K=o.div`
6
6
  display: flex;
7
7
  flex: 0 1 auto;
8
8
  flex-direction: row;
@@ -13,7 +13,7 @@ import{V as r,aI as W,aJ as w,F as v,aK as k,aU as A,aP as $,o as s,ag as b,bK a
13
13
  margin-top: ${s.sp3};
14
14
  `,U=o(b)`
15
15
  color: ${e=>e.theme.colors.champion};
16
- `,X=({card:e})=>r.jsx(w,{dimension:e.dimension,style:{cursor:"default"},children:r.jsxs(G,{children:[r.jsx(J,{children:r.jsx(U,{children:v.getLocalizedStrings().insightsCard.title})}),r.jsx(F,{}),r.jsx(Q,{children:v.getLocalizedStrings().insightsCard.no_data.label})]})}),e1=o.div`
16
+ `,X=({card:e})=>r.jsx(w,{dimension:e.dimension,style:{cursor:"default"},children:r.jsxs(J,{children:[r.jsx(K,{children:r.jsx(U,{children:v.getLocalizedStrings().insightsCard.title})}),r.jsx(G,{}),r.jsx(Q,{children:v.getLocalizedStrings().insightsCard.no_data.label})]})}),e1=o.div`
17
17
  flex-direction: column;
18
18
  align-items: center;
19
19
  display: flex;
@@ -36,7 +36,7 @@ import{V as r,aI as W,aJ as w,F as v,aK as k,aU as A,aP as $,o as s,ag as b,bK a
36
36
  overflow: hidden;
37
37
  width: 100%;
38
38
  word-break: break-word;
39
- `,n1=o(R)`
39
+ `,a1=o(R)`
40
40
  color: ${e=>e.theme.colors.hero};
41
41
  display: -webkit-box;
42
42
  -webkit-line-clamp: 2;
@@ -47,18 +47,18 @@ import{V as r,aI as W,aJ as w,F as v,aK as k,aU as A,aP as $,o as s,ag as b,bK a
47
47
  flex-direction: row;
48
48
  align-items: center;
49
49
  display: flex;
50
- `,a1=o(z)`
50
+ `,n1=o(z)`
51
51
  width: ${s.sp4};
52
52
  height: ${s.sp4};
53
53
  color: inherit;
54
- `,c1=o(K)`
54
+ `,c1=o(F)`
55
55
  width: ${s.sp4};
56
56
  height: ${s.sp4};
57
57
  color: inherit;
58
58
  `,l1=o.div`
59
59
  display: flex;
60
60
  color: ${e=>e.isRed?e.theme.colors.important:e.theme.colors.success};
61
- `,d1=(e,a)=>a=="cost_of_sales"||a=="operating_expenses"?e>0:e<0,{dateFormat:C1,common:j,insightsCard:h1}=v.getLocalizedStrings();function p1({changePercent:e,insightType:a}){const n=d1(e??0,a);return r.jsx(l1,{isRed:n,children:(e??0)<0?r.jsx(a1,{}):r.jsx(c1,{})})}const m1=({insight:e})=>r.jsxs(e1,{children:[r.jsx(t1,{children:e?.title}),e?.change.percent==null||e?.change.percent===0?r.jsx(L,{children:r.jsx(i1,{children:"—"})}):r.jsxs(L,{children:[r.jsx(p1,{changePercent:e?.change.percent,insightType:e.insightType}),r.jsx(r1,{children:`${S("0,0",e?.change.percent)}${j.strings.percentage}`})]}),r.jsxs(s1,{children:[h1.vs,j.strings.space,e?.change.since?.format(C1.visual.MMMDCommaYYYYformat)]}),r.jsx(o1,{children:r.jsx(n1,{children:e?.summary})})]}),g1=o(w)`
61
+ `,d1=(e,n)=>n=="cost_of_sales"||n=="operating_expenses"?e>0:e<0,{dateFormat:C1,common:j,insightsCard:h1}=v.getLocalizedStrings();function p1({changePercent:e,insightType:n}){const a=d1(e??0,n);return r.jsx(l1,{isRed:a,children:(e??0)<0?r.jsx(n1,{}):r.jsx(c1,{})})}const m1=({insight:e})=>r.jsxs(e1,{children:[r.jsx(t1,{children:e?.title}),e?.change.percent==null||e?.change.percent===0?r.jsx(L,{children:r.jsx(i1,{children:"—"})}):r.jsxs(L,{children:[r.jsx(p1,{changePercent:e?.change.percent,insightType:e.insightType}),r.jsx(r1,{children:`${S("0,0",e?.change.percent)}${j.strings.percentage}`})]}),r.jsxs(s1,{children:[h1.vs,j.strings.space,e?.change.since?.format(C1.visual.MMMDCommaYYYYformat)]}),r.jsx(o1,{children:r.jsx(a1,{children:e?.summary})})]}),g1=o(w)`
62
62
  flex-wrap: wrap;
63
63
  & .styledNav {
64
64
  visibility: hidden;
@@ -73,7 +73,7 @@ import{V as r,aI as W,aJ as w,F as v,aK as k,aU as A,aP as $,o as s,ag as b,bK a
73
73
  `,M=o.div`
74
74
  display: flex;
75
75
  flex-direction: column;
76
- `,k1=o($)`
76
+ `,f1=o($)`
77
77
  flex-direction: row;
78
78
  justify-content: space-between;
79
- `;function u1(e){switch(e){case"cost_of_sales":return"Revenues";case"cash_in_cash_out":return"Cash In, Cash Out";case"cash_position":return"Cash Position";case"operating_expenses":return"Operating Expenses";case"revenue":return"Revenues";default:return"Insights"}}const f1=({card:e,actions:a,data:n,activeCardIndex:c,activeCardType:l,analytics:f})=>{const[g,h]=u.useState(0),[p,m]=u.useState(0),[d,x]=u.useState("left");t.useEffect(()=>()=>{h(0),m(0)},[]);const H=(i,C)=>{i.stopPropagation(),x(C);const I=C=="left"?c+1:c-1,T=y(I);E(T)};function E(i){const C=u1(n?.[i].insightType);f?.trackInsightsNavigation(O.Event.insights,C),a.onUpdateSelectedInsightIndex?.(i)}function D(i){h(i.targetTouches[0].clientX)}function V(i){m(i.targetTouches[0].clientX)}function y(i){return n!=null?i<0?n.length+i:i%n.length:0}function _(){g-p>50&&p!==0?(E(y(c+1)),x("left"),h(0),m(0)):g-p<-50&&p!==0&&(E(y(c-1)),x("right"),h(0),m(0))}return r.jsx(g1,{dimension:e.dimension,dataArrLength:n?.length??0,onTouchStart:i=>D(i),onTouchMove:i=>V(i),onTouchEnd:()=>_(),onClick:()=>a.onCardClick(c,l,"Insights"),"data-testid":k("dashboard-insights-card",l),children:r.jsxs(k1,{children:[r.jsx(M,{children:r.jsx(B,{"data-testid":k("dashboard-navigation-arrow-left",e.cardType),navType:"left",handleClick:H})}),r.jsxs(M,{style:{height:"100%",position:"relative",alignItems:"center"},children:[n?.map((i,C)=>r.jsx(A,{activeCardIndex:c,currentIndex:C,which:d,children:r.jsx(m1,{insight:i})},C)),r.jsx(q,{"data-testid":k("dashboard-navigation-dots",e.cardType),numberOfDots:n?.length??0,activeIndex:c,style:{position:"absolute",bottom:0}})]}),r.jsx(M,{children:r.jsx(B,{"data-testid":k("dashboard-navigation-arrow-right",e.cardType),navType:"right",handleClick:H})})]})})};function x1(e){switch(e){case"cost_of_sales":return"revenue";case"cash_in_cash_out":return"cash_in_cash_out";case"cash_position":return"cash_position";case"operating_expenses":return"operating_expenses";case"revenue":return"revenue";default:return"insights_dashboard"}}function E1({card:e,actions:a,data:n,analytics:c,dndProps:l}){const f=n?.selectedInsightIndex??0,g=n?.insights[f],h=x1(g?.insightType),p=n?.insights==null||n?.insights.length===0;function m(){return r.jsx(W,{isDragging:l?.draggedCardType!=null,isDragOver:l?.dragOverCard===e.cardType,draggable:!0,onDragStart:d=>l?.onDragStart(e.cardType,d),onDragOver:d=>l?.onDragOver(d,e.cardType),onDragLeave:d=>l?.onDragLeave(d),onDrop:d=>l?.onDrop(d,e.cardType),dimension:e.dimension,children:r.jsx(Y,{card:e,actions:a,children:p?r.jsx(X,{card:e}):r.jsx(f1,{card:e,actions:a,data:n?.insights,activeCardIndex:n?.selectedInsightIndex??0,activeCardType:h,analytics:c})})},e.cardIndex)}return r.jsx("div",{children:m()})}const A1=u.memo(E1);export{A1 as MemoInsightsCardStack,E1 as default};
79
+ `;function k1(e){switch(e){case"cost_of_sales":return"Revenues";case"cash_in_cash_out":return"Cash In, Cash Out";case"cash_position":return"Cash Position";case"operating_expenses":return"Operating Expenses";case"revenue":return"Revenues";default:return"Insights"}}const u1=({card:e,actions:n,data:a,activeCardIndex:c,activeCardType:l,analytics:u})=>{const[g,h]=k.useState(0),[p,m]=k.useState(0),[d,x]=k.useState("left");t.useEffect(()=>()=>{h(0),m(0)},[]);const H=(i,C)=>{i.stopPropagation(),x(C);const I=C=="left"?c+1:c-1,T=y(I);E(T)};function E(i){const C=k1(a?.[i].insightType);u?.trackInsightsNavigation(O.Event.insights,C),n.onUpdateSelectedInsightIndex?.(i)}function D(i){h(i.targetTouches[0].clientX)}function V(i){m(i.targetTouches[0].clientX)}function y(i){return a!=null?i<0?a.length+i:i%a.length:0}function _(){g-p>50&&p!==0?(E(y(c+1)),x("left"),h(0),m(0)):g-p<-50&&p!==0&&(E(y(c-1)),x("right"),h(0),m(0))}return r.jsx(g1,{dimension:e.dimension,dataArrLength:a?.length??0,onTouchStart:i=>D(i),onTouchMove:i=>V(i),onTouchEnd:()=>_(),onClick:()=>n.onCardClick(c,l,"Insights"),"data-testid":f("dashboard-insights-card",l),children:r.jsxs(f1,{children:[r.jsx(M,{children:r.jsx(B,{"data-testid":f("dashboard-navigation-arrow-left",e.cardType),navType:"left",handleClick:H})}),r.jsxs(M,{style:{height:"100%",position:"relative",alignItems:"center"},children:[a?.map((i,C)=>r.jsx(A,{activeCardIndex:c,currentIndex:C,which:d,children:r.jsx(m1,{insight:i})},C)),r.jsx(q,{"data-testid":f("dashboard-navigation-dots",e.cardType),numberOfDots:a?.length??0,activeIndex:c,style:{position:"absolute",bottom:0}})]}),r.jsx(M,{children:r.jsx(B,{"data-testid":f("dashboard-navigation-arrow-right",e.cardType),navType:"right",handleClick:H})})]})})};function x1(e){switch(e){case"cost_of_sales":return"revenue";case"cash_in_cash_out":return"cash_in_cash_out";case"cash_position":return"cash_position";case"operating_expenses":return"operating_expenses";case"revenue":return"revenue";default:return"insights_dashboard"}}function E1({card:e,actions:n,data:a,analytics:c,dndProps:l}){const u=a?.selectedInsightIndex??0,g=a?.insights[u],h=x1(g?.insightType),p=a?.insights==null||a?.insights.length===0;function m(){return r.jsx(W,{isDragging:l?.draggedCardType!=null,isDragOver:l?.dragOverCard===e.cardType,draggable:!0,onDragStart:d=>l?.onDragStart(e.cardType,d),onDragOver:d=>l?.onDragOver(d,e.cardType),onDragLeave:d=>l?.onDragLeave(d),onDrop:d=>l?.onDrop(d,e.cardType),dimension:e.dimension,children:r.jsx(Y,{card:e,actions:n,children:p?r.jsx(X,{card:e}):r.jsx(u1,{card:e,actions:n,data:a?.insights,activeCardIndex:a?.selectedInsightIndex??0,activeCardType:h,analytics:c})})},e.cardIndex)}return r.jsx("div",{children:m()})}const A1=k.memo(E1);export{A1 as MemoInsightsCardStack,E1 as default};
@@ -1,4 +1,4 @@
1
- import{q as $,V as i,aK as j,o as g,y as d,ag as S,a as v,ap as k,c as s,ak as z,b8 as I}from"./index-DJLrbf0F.js";import{a as c}from"./core-CA3j8Axi.js";import{n as t}from"./mui-DpJXlk4t.js";import{k as M}from"./NavigationDots-BvKSgdgh-LQiuRx4x.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},l=new e.Error().stack;l&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[l]="0be0b4e1-f20a-4eee-897f-539657c44b7a",e._sentryDebugIdIdentifier="sentry-dbid-0be0b4e1-f20a-4eee-897f-539657c44b7a")}catch{}})();const m={imageHeight:new d(s[4],s[10]),imageWidth:new d(s[4],s[10]),imageMarginRight:new d(s[2],s[3])},T={title:new v("largeMedium","h6Medium")},D=t.div`
1
+ import{q as $,V as i,aM as j,o as g,y as d,ag as S,a as v,ap as k,c as s,ak as z,b8 as M}from"./index-CiMyMhgu.js";import{a as c}from"./sentry-DMKAGVXl.js";import{n as t}from"./mui-D2MqZYRi.js";import{k as I}from"./NavigationDots-BvKSgdgh-BXw04_O_.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},l=new e.Error().stack;l&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[l]="3de3176b-df30-47de-909b-cd064fb9a4f7",e._sentryDebugIdIdentifier="sentry-dbid-3de3176b-df30-47de-909b-cd064fb9a4f7")}catch{}})();const m={imageHeight:new d(s[4],s[10]),imageWidth:new d(s[4],s[10]),imageMarginRight:new d(s[2],s[3])},T={title:new v("largeMedium","h6Medium")},D=t.div`
2
2
  display: flex;
3
3
  width: 100%;
4
4
  flex-direction: column;
@@ -22,6 +22,6 @@ import{q as $,V as i,aK as j,o as g,y as d,ag as S,a as v,ap as k,c as s,ak as z
22
22
  `,y=t(z)`
23
23
  display: flex;
24
24
  color: ${e=>e.theme.colors.hero};
25
- `,x=t(I)`
25
+ `,x=t(M)`
26
26
  color: ${e=>e.theme.colors.hero};
27
- `;let h;function A({insights:e,summaryTextStyles:l}){const r=$(),[o,f]=c.useState(0),u=c.useRef(!0);c.useEffect(()=>(u.current&&e.length>1&&(h=setInterval(()=>{f(n=>(n+1)%e.length)},1e4)),u.current=!1,()=>{clearTimeout(h)}),[e.length]);const w=n=>{f(n%e.length),clearTimeout(h)},a=e[o],b=()=>{const{details:n}=a;return n.length===1?i.jsx(y,{children:n[0]}):n.map(p=>i.jsxs(y,{children:[i.jsx(x,{children:"-"}),i.jsx(x,{style:{paddingLeft:g.sp1},children:p})]},p))};return e?.length>0&&e[0].summary?i.jsxs(D,{children:[i.jsxs(P,{children:[i.jsx(E,{windowSize:r,children:i.jsx(H,{src:a?.icon?.toString(),windowSize:r,alt:"",loading:"lazy"})}),i.jsxs(_,{showHand:e.length>1,onClick:()=>w(o+1),"data-testid":j("insight-clicked",e[o].title),children:[i.jsx(q,{children:a.title}),i.jsx(R,{windowSize:r,style:l,children:a.summary}),b()]})]}),i.jsx(M,{numberOfDots:e.length,activeIndex:o,style:{marginTop:g.sp3},handleClick:w})]}):null}export{A as q};
27
+ `;let h;function A({insights:e,summaryTextStyles:l}){const r=$(),[o,f]=c.useState(0),u=c.useRef(!0);c.useEffect(()=>(u.current&&e.length>1&&(h=setInterval(()=>{f(n=>(n+1)%e.length)},1e4)),u.current=!1,()=>{clearTimeout(h)}),[e.length]);const w=n=>{f(n%e.length),clearTimeout(h)},a=e[o],b=()=>{const{details:n}=a;return n.length===1?i.jsx(y,{children:n[0]}):n.map(p=>i.jsxs(y,{children:[i.jsx(x,{children:"-"}),i.jsx(x,{style:{paddingLeft:g.sp1},children:p})]},p))};return e?.length>0&&e[0].summary?i.jsxs(D,{children:[i.jsxs(P,{children:[i.jsx(E,{windowSize:r,children:i.jsx(H,{src:a?.icon?.toString(),windowSize:r,alt:"",loading:"lazy"})}),i.jsxs(_,{showHand:e.length>1,onClick:()=>w(o+1),"data-testid":j("insight-clicked",e[o].title),children:[i.jsx(q,{children:a.title}),i.jsx(R,{windowSize:r,style:l,children:a.summary}),b()]})]}),i.jsx(I,{numberOfDots:e.length,activeIndex:o,style:{marginTop:g.sp3},handleClick:w})]}):null}export{A as q};
@@ -1,4 +1,4 @@
1
- import{q as u,d as y,F as d,V as n,bz as x,fs as w,o as i,y as b,al as I,ak as S,ch as k,aQ as j}from"./index-DJLrbf0F.js";import{n as t,b as $,k as v}from"./mui-DpJXlk4t.js";import{t as C}from"./QBOSetupSection-B59etoGz-Dx4Hkrje.js";import"./core-CA3j8Axi.js";import"./sentry-BA4piVNf.js";import"./zeni-epic-state-CQt4n3Xe.js";import"./lottie-B7mXQ-R-.js";import"./liveblocks-C2I4vRCJ.js";import"./utils-DUsHM-Uc.js";import"./analytics-CHPpxU3b.js";import"./recharts-BGdJnVo5.js";import"./lexical-dZFDzIA1.js";import"./QBOConnectionDialog-DNB2C1vQ-B6h7mZJt.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},s=new e.Error().stack;s&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[s]="77f48587-c9ca-4501-8476-c043d0260f23",e._sentryDebugIdIdentifier="sentry-dbid-77f48587-c9ca-4501-8476-c043d0260f23")}catch{}})();const{common:{texts:E}}=d.getLocalizedStrings();function z(e){return n.jsxs(B,{isEnabled:e.isEnabled,onClick:e.onClick,children:[n.jsx(P,{spinRefreshIcon:e.spinRefreshIcon,children:n.jsx(R,{})}),n.jsx(O,{children:E.refresh})]})}const B=t.div`
1
+ import{q as u,d as y,F as d,V as n,bz as b,fs as x,o as i,y as w,al as I,ak as S,ch as k,aQ as j}from"./index-CiMyMhgu.js";import{n as t,c as $,k as v}from"./mui-D2MqZYRi.js";import{t as C}from"./QBOSetupSection-B59etoGz-BjsJ5dP9.js";import"./sentry-DMKAGVXl.js";import"./liveblocks-D92pTRaw.js";import"./core-CadaPWsO.js";import"./recharts-t7V-Kaqf.js";import"./zeni-epic-state-DjAFCaxy.js";import"./lottie-Dv5hJ5mA.js";import"./analytics-C6L7hlHG.js";import"./lexical-DEI4_j9X.js";import"./utils-BWiizB9D.js";import"./QBOConnectionDialog-DNB2C1vQ-B-m0Orif.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},s=new e.Error().stack;s&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[s]="41c078ee-5230-461b-96ba-0bd56fdad60b",e._sentryDebugIdIdentifier="sentry-dbid-41c078ee-5230-461b-96ba-0bd56fdad60b")}catch{}})();const{common:{texts:E}}=d.getLocalizedStrings();function z(e){return n.jsxs(B,{isEnabled:e.isEnabled,onClick:e.onClick,children:[n.jsx(P,{spinRefreshIcon:e.spinRefreshIcon,children:n.jsx(R,{})}),n.jsx(O,{children:E.refresh})]})}const B=t.div`
2
2
  position: relative;
3
3
  display: flex;
4
4
  width: fit-content;
@@ -27,7 +27,7 @@ import{q as u,d as y,F as d,V as n,bz as x,fs as w,o as i,y as b,al as I,ak as S
27
27
  100% {
28
28
  rotate: 720deg;
29
29
  }
30
- `,Q={subtitleSectionWidth:new b(343,580,1200)},Y=({isAdmin:e,integrationsView:s,meetingUrl:r,...f})=>{const o=u(),{onClickMenuIcon:m,onRefreshClick:p}=f,h=y(),{companyView:g,externalConnections:a,integrations:l}=s,c=d.getLocalizedStrings().common.settings;return n.jsxs(L,{children:[n.jsx(x,{source:"IntegrationsSettingsPage",title:c.title.integrations,backgroundColor:h.colors.grey4,showBackButton:!1,showMenuIcon:o==="medium-compact"||o==="small",rightSideComponent:n.jsx(z,{isEnabled:l.refreshQBO.fetchState!=="In-Progress",onClick:()=>p(),spinRefreshIcon:l.refreshQBO.fetchState==="In-Progress"}),onClickMenuIcon:m}),n.jsxs(D,{windowSize:o,children:[n.jsx(N,{windowSize:o,children:n.jsx(T,{windowSize:o,children:c.infoText.integrations})}),n.jsx(C,{isAdmin:e,isValid:a?.accounting[0]?.isValid??!1,hasError:!1,companyName:g?.companyInfo.companyLegalName,saveConnectionState:a?.saveConnectionState,isQBOPopupOpen:!1,handleOnConnectClick:()=>null,updateQBOPopupState:()=>null})]}),n.jsx(w,{meetingUrl:r,isFooterRendered:!1})]})},L=t.div`
30
+ `,Q={subtitleSectionWidth:new w(343,580,1200)},Y=({isAdmin:e,integrationsView:s,meetingUrl:r,...f})=>{const o=u(),{onClickMenuIcon:m,onRefreshClick:p}=f,h=y(),{companyView:g,externalConnections:a,integrations:l}=s,c=d.getLocalizedStrings().common.settings;return n.jsxs(L,{children:[n.jsx(b,{source:"IntegrationsSettingsPage",title:c.title.integrations,backgroundColor:h.colors.grey4,showBackButton:!1,showMenuIcon:o==="medium-compact"||o==="small",rightSideComponent:n.jsx(z,{isEnabled:l.refreshQBO.fetchState!=="In-Progress",onClick:()=>p(),spinRefreshIcon:l.refreshQBO.fetchState==="In-Progress"}),onClickMenuIcon:m}),n.jsxs(D,{windowSize:o,children:[n.jsx(N,{windowSize:o,children:n.jsx(T,{windowSize:o,children:c.infoText.integrations})}),n.jsx(C,{isAdmin:e,isValid:a?.accounting[0]?.isValid??!1,hasError:!1,companyName:g?.companyInfo.companyLegalName,saveConnectionState:a?.saveConnectionState,isQBOPopupOpen:!1,handleOnConnectClick:()=>null,updateQBOPopupState:()=>null})]}),n.jsx(x,{meetingUrl:r,isFooterRendered:!1})]})},L=t.div`
31
31
  display: flex;
32
32
  height: 100vh;
33
33
  width: 100%;
@@ -1,4 +1,4 @@
1
- import{q as R,a8 as le,F as K,cB as se,aA as de,V as t,cm as ce,cn as ue,co as be,ab as pe,aO as he,y as l,o as d,b7 as me,cO as Q,aN as ee,cW as Y,hU as q,cE as G,hV as te,cG as fe,c as i,aK as W,cU as ge,p as C,hG as xe,ac as we,cX as ke,n as ye,a as Ce,bE as $e,ap as ve,b as Se,hW as je,bV as Be,am as Ie}from"./index-DJLrbf0F.js";import{a as M}from"./core-CA3j8Axi.js";import{n}from"./mui-DpJXlk4t.js";import{bi as ae}from"./zeni-epic-state-CQt4n3Xe.js";import{W as Ae,A as Te}from"./BankAccountWarningSection-Ub-gsfhE-CrMug0PW.js";import{T as Le}from"./MailingDetailsSection-CiJ5JLA6-DddwOxAo.js";import{M as Ne}from"./MagicLinkTitleSection-FMRBLlRJ-BOWrScDm.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]="0f96521c-3cb6-428c-b168-984a9ae46086",e._sentryDebugIdIdentifier="sentry-dbid-0f96521c-3cb6-428c-b168-984a9ae46086")}catch{}})();const X={tooltipRightPosition:new l(i[6],i[6]),tooltipTopPosition:new l(35,35),tooltipWidth:new l(180,193)},De=({protectedInfoText:e})=>{const o=R();return t.jsxs(Me,{children:[t.jsx(Re,{}),t.jsx(Oe,{className:"info-tooltip",windowSize:o,children:t.jsx(Fe,{children:e})})]})};function Ee({type:e,name:o,placeholder:a,placeholderAlignment:b,autoComplete:s="off",autoCapitalize:x="off",autoTrim:$="off",isDisabled:g,defaultValue:I,style:A,hoverBgColor:w,registerOptions:T,protectedInfoText:k,isSaveError:v=!1,buttonProps:y,disableCopyPaste:c=!1}){const{control:r,register:p,formState:{errors:S},setFocus:m}=Q(),z=Y(S,o),j=Object.assign({},T),{label:f,isDisabled:O,fetchState:V,onButtonClick:F}=y;switch(e){case"email":Object.assign(j,{pattern:we});break;case"number":Object.assign(j,{valueAsNumber:!0});break;case"url":Object.assign(j,{pattern:xe})}const H=g==="disabled"||g==="readonly"||k!=null;return k!=null?t.jsxs(Ve,{style:A,children:[t.jsx(De,{protectedInfoText:k}),t.jsx(We,{id:o,children:I})]}):t.jsx(ze,{isError:z,fetchState:V,style:{display:"flex",alignItems:"center",width:"100%"},keepButtonVisible:y.keepButtonVisible,isButtonHidden:y.isHidden,children:t.jsx(ke,{name:o,control:r,rules:{...T},defaultValue:I??"","data-testid":W("text-field-with-button",o),render:({field:{onChange:_,onBlur:U,value:D,ref:L}})=>t.jsxs(t.Fragment,{children:[t.jsx(Pe,{type:e==="password"||e==="hidden"?e:void 0,isError:z,style:A,placeholder:a,disabled:H,...p(o,j),id:o,ref:L,value:D,autoComplete:s,placeholderAlignment:b,hoverBgColor:w,isSaveError:v,onBlur:U,onChange:_,"data-testid":W("text-field-with-button-input",o),onInput:h=>{const u=h.target;switch(x){case"off":break;case"characters":u.value=u.value.toLocaleUpperCase();break;case"words":u.value=u.value.charAt(0).toLocaleUpperCase().concat(u.value.slice(1));break}switch($){case"off":break;case"trimStart":u.value=u.value.trimStart();break;case"trimEnd":u.value=u.value.trimEnd();break;case"trim":u.value=u.value.trim();break}},onPaste:h=>{c&&h.preventDefault()},onCopy:h=>{c&&h.preventDefault()},keepButtonVisible:y.keepButtonVisible}),t.jsx(ye,{label:f,onClick:h=>{h.stopPropagation(),m(o),setTimeout(()=>{F()})},style:{outline:"none"},size:"xs-small",disabled:O,variant:"success",reverseSpinnerColor:!0,loading:V==="In-Progress","data-testid":W("text-field-button",`${o}-${f}`)})]})})})}const Pe=n(je)`
1
+ import{q as R,a8 as le,F as Q,cB as se,aA as de,V as t,cm as ce,cn as ue,co as be,ab as pe,aO as fe,y as l,o as d,b7 as he,cO as Y,aN as ee,cW as J,hU as q,cE as G,hV as te,cG as me,c as i,cU as ge,aM as W,p as C,hG as xe,ac as we,cX as ke,n as ye,a as Ce,bD as $e,ap as ve,b as Se,hW as je,bV as Be,am as Ie}from"./index-CiMyMhgu.js";import{a as M}from"./sentry-DMKAGVXl.js";import{n}from"./mui-D2MqZYRi.js";import{bi as ae}from"./zeni-epic-state-DjAFCaxy.js";import{W as Ae,A as Te}from"./BankAccountWarningSection-Ub-gsfhE-pvCiKI7-.js";import{T as De}from"./MailingDetailsSection-CiJ5JLA6-Dh-rh1lg.js";import{M as Le}from"./MagicLinkTitleSection-FMRBLlRJ-BJi3iHKO.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]="2eaefc5a-d758-49d6-a51f-fc04988eb708",e._sentryDebugIdIdentifier="sentry-dbid-2eaefc5a-d758-49d6-a51f-fc04988eb708")}catch{}})();const X={tooltipRightPosition:new l(i[6],i[6]),tooltipTopPosition:new l(35,35),tooltipWidth:new l(180,193)},Ne=({protectedInfoText:e})=>{const o=R();return t.jsxs(Me,{children:[t.jsx(Re,{}),t.jsx(Oe,{className:"info-tooltip",windowSize:o,children:t.jsx(Fe,{children:e})})]})};function Pe({type:e,name:o,placeholder:a,placeholderAlignment:b,autoComplete:s="off",autoCapitalize:x="off",autoTrim:$="off",isDisabled:g,defaultValue:I,style:A,hoverBgColor:w,registerOptions:T,protectedInfoText:k,isSaveError:v=!1,buttonProps:y,disableCopyPaste:c=!1}){const{control:r,register:p,formState:{errors:S},setFocus:h}=Y(),z=J(S,o),j=Object.assign({},T),{label:m,isDisabled:O,fetchState:V,onButtonClick:F}=y;switch(e){case"email":Object.assign(j,{pattern:we});break;case"number":Object.assign(j,{valueAsNumber:!0});break;case"url":Object.assign(j,{pattern:xe})}const H=g==="disabled"||g==="readonly"||k!=null;return k!=null?t.jsxs(Ve,{style:A,children:[t.jsx(Ne,{protectedInfoText:k}),t.jsx(We,{id:o,children:I})]}):t.jsx(ze,{isError:z,fetchState:V,style:{display:"flex",alignItems:"center",width:"100%"},keepButtonVisible:y.keepButtonVisible,isButtonHidden:y.isHidden,children:t.jsx(ke,{name:o,control:r,rules:{...T},defaultValue:I??"","data-testid":W("text-field-with-button",o),render:({field:{onChange:_,onBlur:U,value:N,ref:D}})=>t.jsxs(t.Fragment,{children:[t.jsx(Ee,{type:e==="password"||e==="hidden"?e:void 0,isError:z,style:A,placeholder:a,disabled:H,...p(o,j),id:o,ref:D,value:N,autoComplete:s,placeholderAlignment:b,hoverBgColor:w,isSaveError:v,onBlur:U,onChange:_,"data-testid":W("text-field-with-button-input",o),onInput:f=>{const u=f.target;switch(x){case"off":break;case"characters":u.value=u.value.toLocaleUpperCase();break;case"words":u.value=u.value.charAt(0).toLocaleUpperCase().concat(u.value.slice(1));break}switch($){case"off":break;case"trimStart":u.value=u.value.trimStart();break;case"trimEnd":u.value=u.value.trimEnd();break;case"trim":u.value=u.value.trim();break}},onPaste:f=>{c&&f.preventDefault()},onCopy:f=>{c&&f.preventDefault()},keepButtonVisible:y.keepButtonVisible}),t.jsx(ye,{label:m,onClick:f=>{f.stopPropagation(),h(o),setTimeout(()=>{F()})},style:{outline:"none"},size:"xs-small",disabled:O,variant:"success",reverseSpinnerColor:!0,loading:V==="In-Progress","data-testid":W("text-field-button",`${o}-${m}`)})]})})})}const Ee=n(je)`
2
2
  display: flex;
3
3
  border-width: ${d.sp0};
4
4
  outline-width: ${d.sp0};
@@ -73,7 +73,7 @@ import{q as R,a8 as le,F as K,cB as se,aA as de,V as t,cm as ce,cn as ue,co as b
73
73
  top: ${e=>X.tooltipTopPosition.valuePx(e.windowSize)};
74
74
  `,Fe=n(Ie)`
75
75
  color: ${e=>e.theme.colors.grey5};
76
- `,B={width:new l(343,580,726),height:new l(i[6],i[6]),controlHeight:new l(i[6],i[6]),paddingTopBottom:new l(i[2],i[2]),marginRight:new l(i[2],i[2]),labelMarginLeft:new l(i[3],i[4]),labelMarginRight:new l(i[3],i[4]),labelMarginTop:new l(i[2],i[2])},He={infoLabel:new Ce("extraSmallRegular","smallRegular")};function _e({isDisabled:e,label:o,text:a,style:b,additionalInfoLabel:s,showAdditionalInfoLabel:x=!0,protectedInfoText:$,isSaveError:g,showTickIcon:I,showErrorInfoLabel:A,errorInfoLabel:w,disableCopyPaste:T=!1,showTooltip:k=!1,tooltipTitle:v,onBlur:y}){const c=R(),{formState:{errors:r}}=Q(),p=Y(r,a.name);return t.jsxs(Ue,{size:c,style:b,isDisabled:e!=null,isError:p,"data-testid":W("labeled-text-field-with-button",a.name),children:[t.jsx(ge,{isDisabled:e,label:o.label,style:{marginLeft:B.labelMarginLeft.value(c),marginRight:B.labelMarginRight.value(c),marginTop:B.labelMarginTop.value(c),width:o.width??"auto"},showTooltip:k,tooltipTitle:v}),t.jsxs(qe,{labelWidth:o.width,children:[t.jsx(Ee,{...a,style:{...a.style,display:"flex",flexGrow:1,width:"-webkit-fill-available",height:B.controlHeight.value(c),cursor:"inherit"},protectedInfoText:$,isSaveError:g,onBlur:y,disableCopyPaste:T}),(x||p)&&t.jsxs(oe,{size:c,isError:p,children:[I===!0?t.jsx(Ge,{children:t.jsx(Xe,{})}):null,s]}),A===!0&&t.jsx(oe,{size:c,isError:!0,children:w})]})]})}const Ue=n.div`
76
+ `,B={width:new l(343,580,726),height:new l(i[6],i[6]),controlHeight:new l(i[6],i[6]),paddingTopBottom:new l(i[2],i[2]),marginRight:new l(i[2],i[2]),labelMarginLeft:new l(i[3],i[4]),labelMarginRight:new l(i[3],i[4]),labelMarginTop:new l(i[2],i[2])},He={infoLabel:new Ce("extraSmallRegular","smallRegular")};function _e({isDisabled:e,label:o,text:a,style:b,additionalInfoLabel:s,showAdditionalInfoLabel:x=!0,protectedInfoText:$,isSaveError:g,showTickIcon:I,showErrorInfoLabel:A,errorInfoLabel:w,disableCopyPaste:T=!1,showTooltip:k=!1,tooltipTitle:v,onBlur:y}){const c=R(),{formState:{errors:r}}=Y(),p=J(r,a.name);return t.jsxs(Ue,{size:c,style:b,isDisabled:e!=null,isError:p,"data-testid":W("labeled-text-field-with-button",a.name),children:[t.jsx(ge,{isDisabled:e,label:o.label,style:{marginLeft:B.labelMarginLeft.value(c),marginRight:B.labelMarginRight.value(c),marginTop:B.labelMarginTop.value(c),width:o.width??"auto"},showTooltip:k,tooltipTitle:v}),t.jsxs(qe,{labelWidth:o.width,children:[t.jsx(Pe,{...a,style:{...a.style,display:"flex",flexGrow:1,width:"-webkit-fill-available",height:B.controlHeight.value(c),cursor:"inherit"},protectedInfoText:$,isSaveError:g,onBlur:y,disableCopyPaste:T}),(x||p)&&t.jsxs(oe,{size:c,isError:p,children:[I===!0?t.jsx(Ge,{children:t.jsx(Xe,{})}):null,s]}),A===!0&&t.jsx(oe,{size:c,isError:!0,children:w})]})]})}const Ue=n.div`
77
77
  display: flex;
78
78
  flex-direction: row;
79
79
  align-items: flex-start;
@@ -133,10 +133,10 @@ import{q as R,a8 as le,F as K,cB as se,aA as de,V as t,cm as ce,cn as ue,co as b
133
133
  width: ${d.sp3};
134
134
  height: ${d.sp3};
135
135
  color: ${C.successDark};
136
- `,ie={largeLabelWidth:new l(120,140,220),veryLargeLabelWidth:new l(120,140,256)},Ze=({sectionId:e,bankNameBySwift:o,bankAccountToCreate:a,isDisabled:b,fetchBankNameBySwiftStatus:s,onFetchBankNameBySwift:x,style:$})=>{const g=R(),{getValues:I,setValue:A,formState:{errors:w}}=Q(),{fetchState:T}=s,k=ee(s.fetchState),v=ee(a?.bankSwiftCode),y=Y(w,E(e,"bankSwiftCode"));M.useEffect(()=>{(k==="In-Progress"||v!=null&&v!==a?.bankSwiftCode)&&s.fetchState==="Completed"&&a?.bankSwiftCode!=null&&Object.keys(o).includes(a?.bankSwiftCode)&&o[a?.bankSwiftCode].bankName&&A(E(e,"bankName"),o[a?.bankSwiftCode].bankName)},[a?.bankName,a?.bankSwiftCode,s.fetchState,k,v]);const c=K.getLocalizedStrings().spendManagement.billPay.vendorCreation.wireDetails,{international:r}=c,p=ie.largeLabelWidth.value(g),S=ie.veryLargeLabelWidth.value(g);return t.jsx(Ke,{style:$,children:t.jsxs(Qe,{children:[t.jsx(_e,{label:{label:r.swiftCode,width:p},text:{type:"text",name:E(e,"bankSwiftCode"),placeholder:r.addSwiftCode,defaultValue:a?.bankSwiftCode,registerOptions:{required:!0,pattern:q},autoCapitalize:"characters",autoTrim:"trim",buttonProps:{label:r.verify,isDisabled:q.test(a?.bankSwiftCode??"")===!1,isHidden:s.fetchState==="Completed",keepButtonVisible:q.test(a?.bankSwiftCode??"")===!0&&s.fetchState!=="Completed",fetchState:T,onButtonClick:()=>{a?.bankSwiftCode!=null&&x(a.bankSwiftCode)}}},isDisabled:b,style:{width:"auto"},additionalInfoLabel:a?.bankName?a?.bankName:void 0,showTickIcon:!!a?.bankName,showAdditionalInfoLabel:!y,errorInfoLabel:r.invalidSwiftCode}),t.jsx(Z,{}),t.jsx(G,{label:{label:r.iban,width:p},text:{type:"text",name:E(e,"bankAccountIban"),placeholder:r.addIban,defaultValue:a?.bankAccountIban,autoCapitalize:"characters",options:{required:!0,pattern:te}},isDisabled:b,style:{width:"auto"},showAdditionalInfoLabel:!1,additionalInfoLabel:r.invalidIban}),t.jsx(Z,{}),t.jsx(G,{label:{label:r.confirmIban,width:S},text:{type:"text",name:E(e,"confirmedBankAccountIban"),placeholder:r.addConfirmIban,defaultValue:a?.confirmedBankAccountIban,autoCapitalize:"characters",options:{required:!0,pattern:te,validate:m=>m!=null?I(`${e}.bankAccountIban`)===m:!1}},disableCopyPaste:!0,isDisabled:b,style:{width:"auto"},showAdditionalInfoLabel:!1,additionalInfoLabel:r.ibanDontMatch}),t.jsx(Z,{}),t.jsx(G,{label:{label:r.accountNickName,width:p},text:{type:"text",name:E(e,"bankAccountName"),placeholder:fe(r.accountNickName),defaultValue:a?.bankAccountName,options:{required:!1}},isDisabled:b,style:{width:"auto"}})]})})},E=(e,o)=>`${e}.${o}`,Ke=n.div`
136
+ `,ie={largeLabelWidth:new l(120,140,220),veryLargeLabelWidth:new l(120,140,256)},Ze=({sectionId:e,bankNameBySwift:o,bankAccountToCreate:a,isDisabled:b,fetchBankNameBySwiftStatus:s,onFetchBankNameBySwift:x,style:$})=>{const g=R(),{getValues:I,setValue:A,formState:{errors:w}}=Y(),{fetchState:T}=s,k=ee(s.fetchState),v=ee(a?.bankSwiftCode),y=J(w,P(e,"bankSwiftCode"));M.useEffect(()=>{(k==="In-Progress"||v!=null&&v!==a?.bankSwiftCode)&&s.fetchState==="Completed"&&a?.bankSwiftCode!=null&&Object.keys(o).includes(a?.bankSwiftCode)&&o[a?.bankSwiftCode].bankName&&A(P(e,"bankName"),o[a?.bankSwiftCode].bankName)},[a?.bankName,a?.bankSwiftCode,s.fetchState,k,v]);const c=Q.getLocalizedStrings().spendManagement.billPay.vendorCreation.wireDetails,{international:r}=c,p=ie.largeLabelWidth.value(g),S=ie.veryLargeLabelWidth.value(g);return t.jsx(Qe,{style:$,children:t.jsxs(Ye,{children:[t.jsx(_e,{label:{label:r.swiftCode,width:p},text:{type:"text",name:P(e,"bankSwiftCode"),placeholder:r.addSwiftCode,defaultValue:a?.bankSwiftCode,registerOptions:{required:!0,pattern:q},autoCapitalize:"characters",autoTrim:"trim",buttonProps:{label:r.verify,isDisabled:q.test(a?.bankSwiftCode??"")===!1,isHidden:s.fetchState==="Completed",keepButtonVisible:q.test(a?.bankSwiftCode??"")===!0&&s.fetchState!=="Completed",fetchState:T,onButtonClick:()=>{a?.bankSwiftCode!=null&&x(a.bankSwiftCode)}}},isDisabled:b,style:{width:"auto"},additionalInfoLabel:a?.bankName?a?.bankName:void 0,showTickIcon:!!a?.bankName,showAdditionalInfoLabel:!y,errorInfoLabel:r.invalidSwiftCode}),t.jsx(Z,{}),t.jsx(G,{label:{label:r.iban,width:p},text:{type:"text",name:P(e,"bankAccountIban"),placeholder:r.addIban,defaultValue:a?.bankAccountIban,autoCapitalize:"characters",options:{required:!0,pattern:te}},isDisabled:b,style:{width:"auto"},showAdditionalInfoLabel:!1,additionalInfoLabel:r.invalidIban}),t.jsx(Z,{}),t.jsx(G,{label:{label:r.confirmIban,width:S},text:{type:"text",name:P(e,"confirmedBankAccountIban"),placeholder:r.addConfirmIban,defaultValue:a?.confirmedBankAccountIban,autoCapitalize:"characters",options:{required:!0,pattern:te,validate:h=>h!=null?I(`${e}.bankAccountIban`)===h:!1}},disableCopyPaste:!0,isDisabled:b,style:{width:"auto"},showAdditionalInfoLabel:!1,additionalInfoLabel:r.ibanDontMatch}),t.jsx(Z,{}),t.jsx(G,{label:{label:r.accountNickName,width:p},text:{type:"text",name:P(e,"bankAccountName"),placeholder:me(r.accountNickName),defaultValue:a?.bankAccountName,options:{required:!1}},isDisabled:b,style:{width:"auto"}})]})})},P=(e,o)=>`${e}.${o}`,Qe=n.div`
137
137
  display: flex;
138
138
  flex-direction: column;
139
- `,Qe=n.div`
139
+ `,Ye=n.div`
140
140
  display: flex;
141
141
  flex-direction: column;
142
142
  background-color: ${e=>e.theme.colors.grey5};
@@ -149,11 +149,11 @@ import{q as R,a8 as le,F as K,cB as se,aA as de,V as t,cm as ce,cn as ue,co as b
149
149
  background-color: ${e=>e.theme.colors.grey3};
150
150
  min-height: 1px;
151
151
  max-height: 1px;
152
- `,N={paddingTopBottomContainer:new l(i[3],i[3]),paddingLeftContainer:new l(i[3],i[6]),paddingRightContainer:new l(i[3],i[8]),marginLeft:new l(i[4],i[6]),buttonWidth:new l(140,140)},ne="internationalDetailsPage",P="internationalWireSwiftAccountSection",Ye="mailingAddressSection",re=e=>`${e}_form`,bt=({bankAccountCreationState:e,bankNameBySwift:o,addressType:a,fetchBankNameBySwiftStatus:b,bankAccountToCreate:s,addressToEdit:x,mailingAddress:$,isDisabled:g,style:I,companyName:A,isMagicLink:w,currencySymbol:T,amount:k,onSaveHandler:v,onBankDetailsUpdated:y,onFetchBankNameBySwift:c,onAddressClick:r,onBackClick:p})=>{const S=R(),m=le({mode:"all",reValidateMode:"onBlur",defaultValues:M.useMemo(()=>Je(s),[s])}),[z,j]=M.useState(!1),f=K.getLocalizedStrings().spendManagement.billPay.vendorCreation,O=K.getLocalizedStrings().common.footer,{international:V}=f.wireDetails,F={onOkClick:()=>{j(!1),m.reset(),p?.()},onCancelClick:()=>{j(!1)}},H=async(D,L)=>{const h=L[P].bankName,u=L[P].bankSwiftCode,J=Object.assign({},L);D===`${P}.bankSwiftCode`&&(h||!h&&o[u]?.bankName)&&(J[P].bankName=o[u]?.bankName??""),y(J)};M.useEffect(()=>{const D=m.watch((L,{name:h})=>{h!=null&&L!=null&&se(()=>H(h,L))});return()=>{D.unsubscribe()}});const _=m.handleSubmit(D=>{b.fetchState!=="In-Progress"&&v("wire")}),U=!de($!=null?ae($):$,x!=null?ae(x):x)||et(s)||m.formState.isDirty;return t.jsxs(at,{children:[t.jsxs(ot,{style:I,size:S,children:[z===!0?t.jsx(ce,{titleComponent:t.jsx(be,{children:f.discardTitle}),descriptionComponent:t.jsx(ue,{children:f.discardDescription}),primaryButtonText:f.discard,secondaryButtonText:f.cancel,action:F}):null,t.jsx(Ae,{header:w?t.jsx(Ne,{companyName:A??"",currencySymbol:T??"",amount:k??0}):V.addInternationalWireDetails,isMagicLink:w,isDirty:U,onBackClick:p,setShowConfirmationPopup:j}),e?.fetchState==="Error"&&e.error?.code===409?t.jsx(Te,{warningText:f.bankAccountCommon.accountExistWarning}):null,t.jsx(it,{size:S,children:f.bankAccountCommon.accountDetailsTitle}),t.jsx(pe,{...m,children:t.jsxs("form",{id:re(ne),onSubmit:_,children:[t.jsx(tt,{size:S,children:t.jsx(Ze,{bankAccountToCreate:s,bankNameBySwift:o,fetchBankNameBySwiftStatus:b,sectionId:P,isDisabled:g,onFetchBankNameBySwift:c})}),t.jsx(Le,{sectionId:Ye,isDisabled:g,addressType:a,addressToEdit:x,onAddressClick:r})]})})]}),t.jsx(he,{formId:re(ne),primaryBtn:{label:w?f.bankAccountCommon.submitDetails:f.bankAccountCommon.saveAccount,isLoading:e.fetchState==="In-Progress",style:{width:N.buttonWidth.value(S)},isDisabled:g!=null},showCancel:!w,cancelBtn:{label:O.cancel,style:{width:N.buttonWidth.value(S)},shouldResetOnCancel:!1,onClick:()=>{m.formState.isDirty?j(!0):(m.reset(),p?.())}}})]})},Je=e=>({[P]:{bankSwiftCode:e?.bankSwiftCode,bankName:e?.bankName??"",bankAccountIban:e?.bankAccountIban,confirmedBankAccountIban:e?.confirmedBankAccountIban,bankAccountName:e?.bankAccountName}}),et=e=>{if(e==null)return!1;const{bankAccountName:o,bankSwiftCode:a,bankName:b,bankAccountIban:s}=e;return!!o||!!a||!!b||!!s},tt=n.div`
153
- padding-left: ${e=>N.paddingLeftContainer.valuePx(e.size)};
154
- padding-right: ${e=>N.paddingRightContainer.valuePx(e.size)};
155
- padding-top: ${e=>N.paddingTopBottomContainer.valuePx(e.size)};
156
- padding-bottom: ${e=>N.paddingTopBottomContainer.valuePx(e.size)};
152
+ `,L={paddingTopBottomContainer:new l(i[3],i[3]),paddingLeftContainer:new l(i[3],i[6]),paddingRightContainer:new l(i[3],i[8]),marginLeft:new l(i[4],i[6]),buttonWidth:new l(140,140)},ne="internationalDetailsPage",E="internationalWireSwiftAccountSection",Je="mailingAddressSection",re=e=>`${e}_form`,bt=({bankAccountCreationState:e,bankNameBySwift:o,addressType:a,fetchBankNameBySwiftStatus:b,bankAccountToCreate:s,addressToEdit:x,mailingAddress:$,isDisabled:g,style:I,companyName:A,isMagicLink:w,currencySymbol:T,amount:k,onSaveHandler:v,onBankDetailsUpdated:y,onFetchBankNameBySwift:c,onAddressClick:r,onBackClick:p})=>{const S=R(),h=le({mode:"all",reValidateMode:"onBlur",defaultValues:M.useMemo(()=>Ke(s),[s])}),[z,j]=M.useState(!1),m=Q.getLocalizedStrings().spendManagement.billPay.vendorCreation,O=Q.getLocalizedStrings().common.footer,{international:V}=m.wireDetails,F={onOkClick:()=>{j(!1),h.reset(),p?.()},onCancelClick:()=>{j(!1)}},H=async(N,D)=>{const f=D[E].bankName,u=D[E].bankSwiftCode,K=Object.assign({},D);N===`${E}.bankSwiftCode`&&(f||!f&&o[u]?.bankName)&&(K[E].bankName=o[u]?.bankName??""),y(K)};M.useEffect(()=>{const N=h.watch((D,{name:f})=>{f!=null&&D!=null&&se(()=>H(f,D))});return()=>{N.unsubscribe()}});const _=h.handleSubmit(N=>{b.fetchState!=="In-Progress"&&v("wire")}),U=!de($!=null?ae($):$,x!=null?ae(x):x)||et(s)||h.formState.isDirty;return t.jsxs(at,{children:[t.jsxs(ot,{style:I,size:S,children:[z===!0?t.jsx(ce,{titleComponent:t.jsx(be,{children:m.discardTitle}),descriptionComponent:t.jsx(ue,{children:m.discardDescription}),primaryButtonText:m.discard,secondaryButtonText:m.cancel,action:F}):null,t.jsx(Ae,{header:w?t.jsx(Le,{companyName:A??"",currencySymbol:T??"",amount:k??0}):V.addInternationalWireDetails,isMagicLink:w,isDirty:U,onBackClick:p,setShowConfirmationPopup:j}),e?.fetchState==="Error"&&e.error?.code===409?t.jsx(Te,{warningText:m.bankAccountCommon.accountExistWarning}):null,t.jsx(it,{size:S,children:m.bankAccountCommon.accountDetailsTitle}),t.jsx(pe,{...h,children:t.jsxs("form",{id:re(ne),onSubmit:_,children:[t.jsx(tt,{size:S,children:t.jsx(Ze,{bankAccountToCreate:s,bankNameBySwift:o,fetchBankNameBySwiftStatus:b,sectionId:E,isDisabled:g,onFetchBankNameBySwift:c})}),t.jsx(De,{sectionId:Je,isDisabled:g,addressType:a,addressToEdit:x,onAddressClick:r})]})})]}),t.jsx(fe,{formId:re(ne),primaryBtn:{label:w?m.bankAccountCommon.submitDetails:m.bankAccountCommon.saveAccount,isLoading:e.fetchState==="In-Progress",style:{width:L.buttonWidth.value(S)},isDisabled:g!=null},showCancel:!w,cancelBtn:{label:O.cancel,style:{width:L.buttonWidth.value(S)},shouldResetOnCancel:!1,onClick:()=>{h.formState.isDirty?j(!0):(h.reset(),p?.())}}})]})},Ke=e=>({[E]:{bankSwiftCode:e?.bankSwiftCode,bankName:e?.bankName??"",bankAccountIban:e?.bankAccountIban,confirmedBankAccountIban:e?.confirmedBankAccountIban,bankAccountName:e?.bankAccountName}}),et=e=>{if(e==null)return!1;const{bankAccountName:o,bankSwiftCode:a,bankName:b,bankAccountIban:s}=e;return!!o||!!a||!!b||!!s},tt=n.div`
153
+ padding-left: ${e=>L.paddingLeftContainer.valuePx(e.size)};
154
+ padding-right: ${e=>L.paddingRightContainer.valuePx(e.size)};
155
+ padding-top: ${e=>L.paddingTopBottomContainer.valuePx(e.size)};
156
+ padding-bottom: ${e=>L.paddingTopBottomContainer.valuePx(e.size)};
157
157
  `,at=n.div`
158
158
  background-color: ${e=>e.theme.colors.grey4};
159
159
  display: flex;
@@ -164,8 +164,8 @@ import{q as R,a8 as le,F as K,cB as se,aA as de,V as t,cm as ce,cn as ue,co as b
164
164
  display: flex;
165
165
  flex-direction: column;
166
166
  flex-grow: 1;
167
- `,it=n(me)`
167
+ `,it=n(he)`
168
168
  color: ${e=>e.theme.colors.champion};
169
- margin-left: ${e=>N.marginLeft.valuePx(e.size)};
169
+ margin-left: ${e=>L.marginLeft.valuePx(e.size)};
170
170
  margin-top: ${d.sp3};
171
171
  `;export{bt as f};