@zeniai/web-cockpit-ui 1.14.95-qa → 1.14.96-dev

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (275) hide show
  1. package/dist/assets/{ACHDetailsPage-OhfwzmDP-DdD4zL4Q.js → ACHDetailsPage-BRWOdhMx-lCkplz0-.js} +1 -1
  2. package/dist/assets/{AIPerformancePage-9OxanlvK-BXX9Wvwc.js → AIPerformancePage-4v4Fkm9f-BqYLGo1s.js} +1 -1
  3. package/dist/assets/AccountInfoPage-Ca_vKG58-pmVk2hiY.js +18 -0
  4. package/dist/assets/{AccountInfoPageContent-Bu-ZFVKf-C4GdgvFu.js → AccountInfoPageContent-Dv1IPcdF-ChZIyLOA.js} +1 -1
  5. package/dist/assets/{AccountLockedInfoModal-BqLkGmTA-jm18L80A.js → AccountLockedInfoModal-CEk5d9hq-BU7zCzNG.js} +1 -1
  6. package/dist/assets/{AccountReconDetailsDrawerPage-CyQ13mJl-BmO7CG_D.js → AccountReconDetailsDrawerPage-DYKjrPwN-BReGAKzb.js} +4 -4
  7. package/dist/assets/{AccountRow-pJ59k4-J-CoAUicOO.js → AccountRow-BM3xLbeh-DwBWMEiu.js} +1 -1
  8. package/dist/assets/{AccountsPromoCardStack-Ukdm1VDj-BGFwsHLX.js → AccountsPromoCardStack-CTkwARBJ-Dqd8qLkS.js} +1 -1
  9. package/dist/assets/{AddAddressForCardDrawer-CZ9kZK-_-BiAGImzE.js → AddAddressForCardDrawer-DfOyebHX-BnGN6mbi.js} +1 -1
  10. package/dist/assets/{AddToWalletPage-Bc0GY8mw-C3cfLG4q.js → AddToWalletPage-OJBvAKUj-CKSRCSe6.js} +1 -1
  11. package/dist/assets/{AgingReportsPage-Cam_Ox67-hs97KmMl.js → AgingReportsPage-n-UKn3Ei-CfeYGvlE.js} +1 -1
  12. package/dist/assets/{AllUserItems-CEBWfFac-4rlDHZMd.js → AllUserItems-BsvKEVcx-Ckn7N6Nq.js} +1 -1
  13. package/dist/assets/{ApAgingDetailPage-uy2AK45a-CTpXB5_8.js → ApAgingDetailPage-Duu2uAEr-CuSndO2U.js} +2 -2
  14. package/dist/assets/{AppBasePage-BBolfeYB-Bc5lER_U.js → AppBasePage-DoCF494Z-BPFvSn_P.js} +1 -1
  15. package/dist/assets/{AppDrawerContent-Df0b3OK2-DN73Je8o.js → AppDrawerContent-DM1t0oLS-DX8gDdRy.js} +1 -1
  16. package/dist/assets/{ApprovalRulesSettingsPage-ChI1Wnf--CzUIs_AI.js → ApprovalRulesSettingsPage-GZCo6_i2-ClrA48La.js} +1 -1
  17. package/dist/assets/{ArAgingChart-PIQ_BFy4-DHDBdROC.js → ArAgingChart-CsFDVdeO-C-RKv3GM.js} +1 -1
  18. package/dist/assets/{ArAgingDetailPage-DpdUPb6--CCRjmOiM.js → ArAgingDetailPage-CaOr6vAU-Dju9MqE9.js} +1 -1
  19. package/dist/assets/{AttachmentView-mC246Bpw-DrGTpDW1.js → AttachmentView-B0d42oAf-CFenLcCO.js} +1 -1
  20. package/dist/assets/{BankAccountSection-DehqZ04x-41W2QzAN.js → BankAccountSection-Bgdk93V0-DEu58Lvd.js} +1 -1
  21. package/dist/assets/{BankAccountWarningSection-WkczfI75-CqYt_OOR.js → BankAccountWarningSection-DMRmF2yM-Bdqe05tT.js} +1 -1
  22. package/dist/assets/{BankConnectionsSettingsPage-CCEKqkfW-tod9UikO.js → BankConnectionsSettingsPage-BpwKq93l-yFMdYswL.js} +1 -1
  23. package/dist/assets/{BillDetailPage-DA1djKtd-Bb1MMBA5.js → BillDetailPage-BG7FhHEq-CI73yv-V.js} +1 -1
  24. package/dist/assets/{BillPayApprovalRuleDetailPage-CLkMLaIk-8cuF8pgJ.js → BillPayApprovalRuleDetailPage-BAK1Gfko-DXu3RSd8.js} +1 -1
  25. package/dist/assets/{BillPayApprovalRulesPage-CZnYZ8cn-1-rKDuyB.js → BillPayApprovalRulesPage-DiCNUU-G-CN0GV9DL.js} +1 -1
  26. package/dist/assets/{BillPayPromoPage-M3bRYehy-Dgm-_rq6.js → BillPayPromoPage-aGKOv8Ur-59DxEGOU.js} +1 -1
  27. package/dist/assets/{BillPaySetUpPage-CJyPhrld-DTmdlbKG.js → BillPaySetUpPage-DRCjyEfB-CkG4ce3e.js} +1 -1
  28. package/dist/assets/{BillingSettingsPage-CQngU3lq-BRQCM3uz.js → BillingSettingsPage-CdYb74V7-D26O7kQD.js} +1 -1
  29. package/dist/assets/{BillsBulkReviewDrawerPage-DlAOz-SY-B79KXwJ2.js → BillsBulkReviewDrawerPage-D8EGfY5P-BpW4NDmq.js} +1 -1
  30. package/dist/assets/{BoxItem-Cb4_ZBkK-B6f6pk_I.js → BoxItem-WOrvBzns-DD4R649W.js} +1 -1
  31. package/dist/assets/{BusinessVerificationPage-D7btikKT-pxQtYA8X.js → BusinessVerificationPage-CbqJIVpz-BiQu25FO.js} +1 -1
  32. package/dist/assets/{CardNumberSubText-DQ6T2OKm-DCKs4uKc.js → CardNumberSubText-DBOH0_yP-Be1TwMNo.js} +1 -1
  33. package/dist/assets/{CashbackDetailPage-ToN5ueBt-C2Y15BH8.js → CashbackDetailPage-D-kXy6LW-DDN4yxLo.js} +1 -1
  34. package/dist/assets/{ChargeCardDetailPage-BYNjlLQX-DJNjaSTs.js → ChargeCardDetailPage-BQnJsfn5-D6Qm3_DY.js} +21 -21
  35. package/dist/assets/{ChargeCardListPage-CTG6bNbA-DaP6v7BG.js → ChargeCardListPage-130ILwkr-xWvWRUI-.js} +1 -1
  36. package/dist/assets/{ChargeCardListTable-BRAAvmWW-JH6rpzV1.js → ChargeCardListTable-EGkwcy7i-Gk77wXoS.js} +1 -1
  37. package/dist/assets/{ChargeCardPromoPage-xhEvT_sU-CmxB4aQB.js → ChargeCardPromoPage-BwqrXrY--B5or9kQv.js} +1 -1
  38. package/dist/assets/{ChargeCardSetupPage-Be89R3A7-DUNuTFF_.js → ChargeCardSetupPage-DRzB7Rt4-SAR76aeK.js} +1 -1
  39. package/dist/assets/{ChargeCardStatementsPage-CFNCOiLr-b2E65UDG.js → ChargeCardStatementsPage-C3NxKjmB-Bqdh-I41.js} +1 -1
  40. package/dist/assets/{CheckDepositDrawerPage-Cy0NVgKc-Zp4oes8b.js → CheckDepositDrawerPage-ClxKj2js-BOLtAKO1.js} +1 -1
  41. package/dist/assets/{CollapsableReportTable-CrR91Kpi-Dy9cAsrx.js → CollapsableReportTable-xkNXkjfh-CuBOzrbM.js} +1 -1
  42. package/dist/assets/{CompanyOfficerDetailsSection-4FjXy6T9-B3cS-sQk.js → CompanyOfficerDetailsSection-BtUBatbQ-CS2katNY.js} +1 -1
  43. package/dist/assets/{CompanyPassportCard-Bv6Aws7i-B_fOwuri.js → CompanyPassportCard-BOxM716U-DxvRrHgL.js} +2 -2
  44. package/dist/assets/{CompanyPassportPage-DRhnOgdd-T5m8ah8o.js → CompanyPassportPage-DzE7sm8S-ZZY5euQN.js} +13 -13
  45. package/dist/assets/{CompleteProfile-CdVQdaB0-Ci5MS1RB.js → CompleteProfile-BjGSPASa-Bfp0I59Q.js} +1 -1
  46. package/dist/assets/{ConfettiBurst-Cygb8bhF-BkyBmjib.js → ConfettiBurst-1rYKpbAj-DHWZb_DF.js} +1 -1
  47. package/dist/assets/{CreateOrEditVendorPage-_jZBL7C2-Bwa8TxOQ.js → CreateOrEditVendorPage-WQeDCj-E-ZLNX3FBX.js} +1 -1
  48. package/dist/assets/{CreditCardPaymentDrawerPage-CWF47Q9G-BEbpjMeo.js → CreditCardPaymentDrawerPage-Q12y6HMX-CRUPlZFr.js} +101 -101
  49. package/dist/assets/{CurrencySelectField-ppkSKTpN-CCfN6HCM.js → CurrencySelectField-AjAWhg6e-h8iODRHM.js} +1 -1
  50. package/dist/assets/{CustomerOnboardingActivationPage-DbaC9Uy1-DT9KZwZx.js → CustomerOnboardingActivationPage-BJhw-PvI-DfxjHeaa.js} +1 -1
  51. package/dist/assets/CustomerOnboardingContainerPage-C9radmIS-D7esgWyy.js +1 -0
  52. package/dist/assets/{CustomerOnboardingDetailPageSkeleton-5PeyznvM-BHgacpb2.js → CustomerOnboardingDetailPageSkeleton-B0WzN1Sx-A_sh3_b9.js} +1 -1
  53. package/dist/assets/{CustomerOnboardingNoStepsPage-CWvaI2vY-Bpy9JGfY.js → CustomerOnboardingNoStepsPage-CNni6chX-DEHNST6I.js} +1 -1
  54. package/dist/assets/{CustomerOnboardingPage-DWmMR5Ke-CYuQWfOJ.js → CustomerOnboardingPage-CvN9Jrdy-BbxW7een.js} +4 -4
  55. package/dist/assets/CustomerOnboardingProductSuitePage-CZkX9ur7-CVf3ueoc.js +202 -0
  56. package/dist/assets/{Dashboard-CJSMYKO7-BwYJYHtS.js → Dashboard-_o0Ftdv8-B4FMEqu7.js} +1 -1
  57. package/dist/assets/{DashboardReportPage-CcY-7-W_-cqT3B1yF.js → DashboardReportPage-Cu5wqWkj-BjOABFkU.js} +1 -1
  58. package/dist/assets/{DashboardSidebarBackgroundAnimation-D3qI_q0a-B-0syXtH.js → DashboardSidebarBackgroundAnimation-Bl8Ss6Gf-1uwRQXQg.js} +1 -1
  59. package/dist/assets/{DepositAccTransactionItem-BpbS0SRE-CHj8YEEp.js → DepositAccTransactionItem-BOPK7-7P-CmYSzV4w.js} +1 -1
  60. package/dist/assets/{DepositAccTransactionListPage-C1EuUbFg-BSNLRrDu.js → DepositAccTransactionListPage-oj9tntbI-CMORNmGB.js} +1 -1
  61. package/dist/assets/{DomesticWireDetailsPage-DTrY_uHQ-DCWcJ9yJ.js → DomesticWireDetailsPage-FGdEilUB-BIDfGIPL.js} +1 -1
  62. package/dist/assets/{DownloadOverlay-gRH0FIa6-BNbk0uP9.js → DownloadOverlay-c57lEf_V-BH-A5hnp.js} +1 -1
  63. package/dist/assets/{DrawerPage-gsfboWa--BzijVXgI.js → DrawerPage-inbhWwND-BaLC0Hdr.js} +1 -1
  64. package/dist/assets/{EditPeoplePage-D3GenIke-BGFZN7wJ.js → EditPeoplePage-DJthuIP4-Ccr8TbIs.js} +1 -1
  65. package/dist/assets/{EditReimbursementDetailPage-CC4JbXua-eK3THW2u.js → EditReimbursementDetailPage-Bt7XKq5h-BcSPiJVn.js} +1 -1
  66. package/dist/assets/{EntityDetailPage-dZ-H_-kO-DfN0Mx9T.js → EntityDetailPage-DbTiF9Hs-DOWN_WQU.js} +1 -1
  67. package/dist/assets/{EntitySummarySection-BaSzuw3T-BHZTMsNc.js → EntitySummarySection-CHgrPo86-C_DZGpt7.js} +1 -1
  68. package/dist/assets/{ExpenseAutomationOverviewPage-CtBVIXza-BCSEKrJ1.js → ExpenseAutomationOverviewPage-QZT_UFXf-Q6Yezq8W.js} +1 -1
  69. package/dist/assets/{ExpenseAutomationPage-BByZfMUo-CI-PIApx.js → ExpenseAutomationPage-Y7V_Z8rd-Nz-tHH0P.js} +36 -36
  70. package/dist/assets/{ExpressPayPage-Dx4Cc9w2-b1gTuuNh.js → ExpressPayPage-CIp_R6ZQ-SvQXytoV.js} +1 -1
  71. package/dist/assets/{FeaturePreviewPage-Us5W5Wo9-CMiSss7O.js → FeaturePreviewPage-qsUO3mUu-CQPzEAZz.js} +1 -1
  72. package/dist/assets/{FollowStepsSection-DDXRZdXi-CIURJ8Ij.js → FollowStepsSection-ebmR-eLP-CCCIBkct.js} +1 -1
  73. package/dist/assets/{GlobalReviewListPage-Ou4B6O28-CvU3fSOy.js → GlobalReviewListPage-9V-xoqvs-O56nx8QU.js} +1 -1
  74. package/dist/assets/{InformationCardStack-DEj81xCg-CpQfwwkr.js → InformationCardStack-DnB7TmOk-BJQfDBIj.js} +1 -1
  75. package/dist/assets/{InsightsCardStack-BSigEuRs-sVjB45UN.js → InsightsCardStack-BBczCYEz-CM9k6Dqk.js} +5 -5
  76. package/dist/assets/{InsightsSection-BrjpMz4X-DhT6u3Y9.js → InsightsSection-BTXj5WUe-BehAISJe.js} +5 -5
  77. package/dist/assets/{IntegrationsSettingsPage-BEBtsJ8z-fhMp19Tb.js → IntegrationsSettingsPage-CByj2tO4-zF-3f5Vb.js} +2 -2
  78. package/dist/assets/{InternationalWireSwiftDetailsPage-DqTA5UPe-CyJj8LGm.js → InternationalWireSwiftDetailsPage-4-pl1ozv-BL59ObmT.js} +4 -4
  79. package/dist/assets/{InternationalWireVerificationPage-CGLyTJOX-DYoqilx4.js → InternationalWireVerificationPage-kIajgPZt-Cim3HMUE.js} +1 -1
  80. package/dist/assets/{InviteFormPage-CHZVhrof-CmLLm3nY.js → InviteFormPage-XsnZcAvb-F0roB33R.js} +1 -1
  81. package/dist/assets/{InvitePageListView-B0aN2fz0-CN5UK10L.js → InvitePageListView-HfsehyxK-ADhebkRn.js} +1 -1
  82. package/dist/assets/{InvitePeoplePage-DLPupvdi-CZAzyY3m.js → InvitePeoplePage-DrBtwpMH-D70ug1bL.js} +1 -1
  83. package/dist/assets/{InvoiceUploadSection-COIpUGEB-QBqQhsQX.js → InvoiceUploadSection-DPd4VmqZ-BLpPijn4.js} +1 -1
  84. package/dist/assets/{IssueChargeCardPage-6LWMwuaq-wAGsjX-3.js → IssueChargeCardPage-xbfFhV0O-D87TKikm.js} +1 -1
  85. package/dist/assets/{LabeledAddressValue-BOPQCQtK-BGuz_b6Q.js → LabeledAddressValue-CB_KH7v5-DhXcxbM6.js} +1 -1
  86. package/dist/assets/{LabeledAddressValueField-DxybAWPO-BwY94g69.js → LabeledAddressValueField-Bt41wdNQ-CdN5suyF.js} +1 -1
  87. package/dist/assets/{LabeledControlledCheckBoxField-BSciMX7_-DPxXu2WP.js → LabeledControlledCheckBoxField-Btw_zwzy-I7spg7Dx.js} +1 -1
  88. package/dist/assets/{LabeledCreatableSingleSelectField-q23ARfG8-AevFfTj2.js → LabeledCreatableSingleSelectField-fycRE7PX-BLM_4t-_.js} +1 -1
  89. package/dist/assets/{LabeledDocumentField-Icg5_obX-BbKKTiN8.js → LabeledDocumentField-C73vQNgq-xVgwP02Y.js} +1 -1
  90. package/dist/assets/{LabeledDropDownFormattedTextField-BiJOzT5B-CLqsiSO6.js → LabeledDropDownFormattedTextField-DGb_bDyp-DbOxXrX_.js} +1 -1
  91. package/dist/assets/{LabeledText-Tn7u-Ek3-xseE37h-.js → LabeledText-yhm8qxrA-B5O06POj.js} +1 -1
  92. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-B_MWazM_-B9DZ0EPe.js → LabeledUserSingleSelectWithSubtitlesField-CgA4UPJh-BYzGVtZI.js} +1 -1
  93. package/dist/assets/{LabeledZeniRolesDropDownField-DyCxNVQD-5GagGrrx.js → LabeledZeniRolesDropDownField-DGkU72cd-iMLOxXqS.js} +1 -1
  94. package/dist/assets/{LinkJETransactionPage-NXVaaeQn-SZ9zUkD-.js → LinkJETransactionPage-C0onrP5t-DohOtG77.js} +1 -1
  95. package/dist/assets/{LockCardPage-DFFQF_XE-BklOvQzD.js → LockCardPage-DaVzuRMw-C59qINIA.js} +1 -1
  96. package/dist/assets/{LowBalancePopup-T5Ms2v-E-BYNteSIy.js → LowBalancePopup-Dd9HLWlh-qIEjt8fN.js} +1 -1
  97. package/dist/assets/MagicLinkACHDetailsPage-Cpde2XoD-JoGWlKNi.js +1 -0
  98. package/dist/assets/MagicLinkDomesticWireDetailsPage-DQYH52_8-Clx_7zaI.js +1 -0
  99. package/dist/assets/MagicLinkInternationalWireDetailsPage-DwBUSxwe-x_28I9nn.js +1 -0
  100. package/dist/assets/{MagicLinkSuccessPage-BU8oXuny-DSh7042d.js → MagicLinkSuccessPage-DbhdGmhh-DNYzgAJU.js} +1 -1
  101. package/dist/assets/{MagicLinkTitleSection-kbY8yTTa-aBbWmPX8.js → MagicLinkTitleSection-Bx92291D-D9nsnbMt.js} +1 -1
  102. package/dist/assets/MailingDetailsSection-D-tnK244-BXHufBP2.js +21 -0
  103. package/dist/assets/{Menu-DTdVYIrC-D0Ommq2i.js → Menu-0YHUdU0n-12P5RljB.js} +1 -1
  104. package/dist/assets/{MyBankConnectionsSettingsPage-B67G0-7Z-CiJI1eZj.js → MyBankConnectionsSettingsPage-Dn9AT8p1-BbviCBBU.js} +1 -1
  105. package/dist/assets/{MyPendingActivationChargeCardListPage-Cbap6Vpr-BswK6x6q.js → MyPendingActivationChargeCardListPage-DrQu6s7j-DI8j4Roq.js} +1 -1
  106. package/dist/assets/{MyProfileSettingsPage-TqtGXk0G-BCdFssyr.js → MyProfileSettingsPage-CBvjEd7r-B3f0C00b.js} +1 -1
  107. package/dist/assets/{NavBarWithPicker-C4_SW0nA-CJkGj3be.js → NavBarWithPicker-aXn2QYh1-CB_AN-HG.js} +1 -1
  108. package/dist/assets/{NavigationArrow-6jp6I9fp-pb2zk4A2.js → NavigationArrow-JLUXaIrz-BZffLUxV.js} +1 -1
  109. package/dist/assets/{NavigationDots-BSjG6OlY-Bmp_8_u3.js → NavigationDots-B0_dDbgu-D1euhRa0.js} +1 -1
  110. package/dist/assets/{NewGlobalMerchantPage-BXM36kwh-BLKAA2k3.js → NewGlobalMerchantPage-B_019EtP-Cnin4QvT.js} +1 -1
  111. package/dist/assets/{NoDataChart-CRhOisS1-NaiacaKQ.js → NoDataChart-DLKHNXD4-CdqcDLeH.js} +1 -1
  112. package/dist/assets/{NoDataTable-bIZY56VS-BkYRa670.js → NoDataTable-BMD2qygC-4Ck98ufk.js} +1 -1
  113. package/dist/assets/{NotFoundPage-Y4UqiUrL-BRe0cl3a.js → NotFoundPage-BEya4LS2-BrCuBa4j.js} +3 -3
  114. package/dist/assets/{NotificationSettingsPage-Ct1wYM98-BFwx1CLp.js → NotificationSettingsPage-C9SjRKCu-Du1Cf4y_.js} +1 -1
  115. package/dist/assets/{NotificationsListConfig-tD8IFVDs-CkNEmokw.js → NotificationsListConfig-OCeJNw1G-DxjI9EUe.js} +1 -1
  116. package/dist/assets/{NotificationsPage-C8PlG40Q-Da-4Xy6C.js → NotificationsPage-FJHx_WBG-TAfeF35H.js} +1 -1
  117. package/dist/assets/{OpExByVendorPage-B5dz3g_I-I8GN1geI.js → OpExByVendorPage-Dxk68R6U-TSpF0BZT.js} +1 -1
  118. package/dist/assets/{OverlayContainerPage-Daz3A7cI-LeGwVBLx.js → OverlayContainerPage-Daz3A7cI-BG61qzjJ.js} +1 -1
  119. package/dist/assets/{PandLWithForecastPage-BzeV5E9J-CGbeCgje.js → PandLWithForecastPage-Bu49FbWD-DV8somvz.js} +4 -4
  120. package/dist/assets/{PaymentAccountSetupBillingAddressSection-C7ucXP-C-C4Z-AXyF.js → PaymentAccountSetupBillingAddressSection-s9EEHxoG-Ccng4Jbq.js} +1 -1
  121. package/dist/assets/{PeoplePage-Di9LbUPG-B2_EnKkr.js → PeoplePage-DN5VtG7Q-CKG_6p7l.js} +1 -1
  122. package/dist/assets/{Preview-2erNF8iT.js → Preview-8iqIdVv4.js} +1 -1
  123. package/dist/assets/{ProductsCarousel-IX34mwaP-Dgu35i1y.js → ProductsCarousel-6gthLCkf-RpcyX94H.js} +1 -1
  124. package/dist/assets/{PromoBaseCards-DKl5hmY7-DM44dVRO.js → PromoBaseCards-CzPzj69A-DGTVwpLe.js} +1 -1
  125. package/dist/assets/{QBOConnectionDialog-CFgV4ltt-CU_bh6gZ.js → QBOConnectionDialog-BFy0lMZd-D5AhMSo8.js} +1 -1
  126. package/dist/assets/{QBOSetupSection-3Igwysxj-BOJfRwXo.js → QBOSetupSection-DcLYyQ5m-DYCAROkc.js} +7 -7
  127. package/dist/assets/ReimbursementApprovalRuleDetailPage-0o5lDuM2-Cr0TZK-s.js +26 -0
  128. package/dist/assets/{ReimbursementApprovalRulesPage-CUQt2z6s-v84qs-bq.js → ReimbursementApprovalRulesPage-D5ZMrrmO-CIYzhtUg.js} +1 -1
  129. package/dist/assets/{ReimbursementDetailPage-CgwRpLnh-BLKwr6Bo.js → ReimbursementDetailPage-DatcF8rt-B5PSoIBr.js} +1 -1
  130. package/dist/assets/{ReimbursementPromoPage-BxBAhFM1-CM1ElVPd.js → ReimbursementPromoPage-MweW-4DO-BO5Os0EF.js} +4 -4
  131. package/dist/assets/{ReimbursementSetUpPage-CP8WtKvQ-C6xTJtS6.js → ReimbursementSetUpPage-BD2LWlbW-YI084Mlh.js} +1 -1
  132. package/dist/assets/{ReimbursementsBulkReviewDrawerPage-Ir7LV3Qg-CK8nkU7y.js → ReimbursementsBulkReviewDrawerPage-DV_PLm_g-CdjeW3Za.js} +1 -1
  133. package/dist/assets/{ReloadCard-DLKVg3Sx-BfmOPc30.js → ReloadCard-9KpQCrce-Y78Zw9cJ.js} +1 -1
  134. package/dist/assets/{ReportTableViewSelector-BlpUjTMl-DG4HSeeh.js → ReportTableViewSelector-BPliEsuo-CZegsDsW.js} +1 -1
  135. package/dist/assets/{ReportsPage-D-4SKTVF-B_IcEd1t.js → ReportsPage-h2DAaQfK-Dj7aDDw4.js} +5 -5
  136. package/dist/assets/{RevenueChart-C3cckydL-HMVSEsH-.js → RevenueChart-DY2s_upY-DFXm-6Am.js} +1 -1
  137. package/dist/assets/{ReviewDetailsPage-Df882foz-2IjUdS2F.js → ReviewDetailsPage-BiYxRnvA-cVXSS1nN.js} +1 -1
  138. package/dist/assets/{ReviewOverlay-n3lZIztC-C_xzfTZz.js → ReviewOverlay-BvPN7IKD-BVyGsnOK.js} +1 -1
  139. package/dist/assets/{RoleWithToolTip-jGxjGCFo-CJeRZvIG.js → RoleWithToolTip-aW95rpRe-D_rCTb4X.js} +1 -1
  140. package/dist/assets/{ScheduleDetailsFixedAssetsPage-cVGyXDC1-BemuysVZ.js → ScheduleDetailsFixedAssetsPage-DlXqz1QQ-CI8b87nD.js} +1 -1
  141. package/dist/assets/{ScheduleDetailsPage-Dcl5GREY-n05gOA_6.js → ScheduleDetailsPage-DebosLND-CytjKLyD.js} +3 -3
  142. package/dist/assets/{ScheduleSequenceTable-CkqvmnzR-CgqDzdt0.js → ScheduleSequenceTable-Dd4Ep_c0-CndtHY8m.js} +1 -1
  143. package/dist/assets/{ScreenRoutes-C_RcXQE-.js → ScreenRoutes-CrZHoFIY.js} +1 -1
  144. package/dist/assets/{SetUpAccountSection-bKk_0Pau-CBb_-oPn.js → SetUpAccountSection-Dhb8A0Oe-CHZzV0W4.js} +1 -1
  145. package/dist/assets/{SignIn-BZXzRb1K-C4ACmYg1.js → SignIn-DQBJB5ad-yHNBe1dm.js} +1 -1
  146. package/dist/assets/{SignInScreen-CumaU6fi.js → SignInScreen-B08t21nJ.js} +1 -1
  147. package/dist/assets/{SpendManagementListViewPage-jdvSYQ4J-h2d8ojs4.js → SpendManagementListViewPage-Ac-9u-X2-ConJ7IhF.js} +3 -3
  148. package/dist/assets/{SpendManagementPerTabPage-BlyFIn6o-C62jIBSs.js → SpendManagementPerTabPage-DgrMAQ8l-CwC7irjo.js} +1 -1
  149. package/dist/assets/{SpendManagementSection-Dzlokoym-BKWHzE7C.js → SpendManagementSection-Ci2yOCJ9-DUAKhgdu.js} +1 -1
  150. package/dist/assets/StatementItem-hcBoe79o-BTjI_1ZK.js +31 -0
  151. package/dist/assets/{StatementsPage-Cw6GRd81-pUZcYMzs.js → StatementsPage-DVR5LhTi-ldyTOd7O.js} +1 -1
  152. package/dist/assets/{StatusSwitcher-CcLiXtx4-Cm5XOAhs.js → StatusSwitcher-Cy5ITFgi-DNMieZwF.js} +1 -1
  153. package/dist/assets/{SubTabSwitcher-zpnLoSBy-DBbitq63.js → SubTabSwitcher-DhsES2OW-DrYqVYfO.js} +1 -1
  154. package/dist/assets/{SummaryCard-C2KHXXwg-BERge4v0.js → SummaryCard-Byv4Hw8Q-CEnhPnYc.js} +1 -1
  155. package/dist/assets/{TaskManagementPage-C3M_HCXR-Bm1qiwRz.js → TaskManagementPage-CVXMOPf2-q63kh_yR.js} +1 -1
  156. package/dist/assets/{TimeRangeSwitcher-COHAPH9b-BUBsu8kU.js → TimeRangeSwitcher-jct2_5PE-DPu4jgs4.js} +11 -11
  157. package/dist/assets/{TimeframeSwitcher-5ql0bSzz-DssdQ-CA.js → TimeframeSwitcher-BK-qliOX-BjbSBToW.js} +1 -1
  158. package/dist/assets/{TimeframeSwitcherWithToggle-BXSkHN5Y-CtFyS3nB.js → TimeframeSwitcherWithToggle-Cl6ISBIz-3_smJQH4.js} +2 -2
  159. package/dist/assets/{TopExCard-BrodwfJq-CtCcUhXs.js → TopExCard-o4Q3ze1b-CQFtRtLu.js} +1 -1
  160. package/dist/assets/{TopExDetailPage-B8-Zzr1B-CVUhORwE.js → TopExDetailPage-BsCwwwDi-CdmjqJ_1.js} +5 -5
  161. package/dist/assets/{TransactionDetailPage-D8v3KPrb-5EhZ4YRg.js → TransactionDetailPage-rpCG65yC-CLh205i5.js} +1 -1
  162. package/dist/assets/{TransactionList-DMb2xYOV-CURTWhIN.js → TransactionList-YI4oZaim-xbjxS_zo.js} +1 -1
  163. package/dist/assets/{TransactionListBig-dUBjAacV-CkCO2tWc.js → TransactionListBig-D_Jw9Ip2-Bz8jw08Q.js} +5 -5
  164. package/dist/assets/{TransactionListPage-x0r04hx4-Di8xAckw.js → TransactionListPage-B2yWm7eA-DCySOEer.js} +2 -2
  165. package/dist/assets/{TransactionVendorDetailPage-BqjeDf6Q--U9ko7oz.js → TransactionVendorDetailPage-Dr5C4-7q-BPGPWJM6.js} +1 -1
  166. package/dist/assets/{TransferDrawerPage-LppLtT6A-4A7bI8rn.js → TransferDrawerPage-BnEVH7Mc-C6QWMjAo.js} +1 -1
  167. package/dist/assets/{TreasuryOverviewPage-DNoQLXPn-DcaXjmOK.js → TreasuryOverviewPage-C927Rdkg-PWkTzy8N.js} +1 -1
  168. package/dist/assets/{TreasuryPromoPage--MgysW-J-Dj3s0PKI.js → TreasuryPromoPage-C6D3bF2f-xmypxDfH.js} +1 -1
  169. package/dist/assets/{TreasuryStatementsPage-DRPB8HzF-BC388rcs.js → TreasuryStatementsPage-BE54gWl6-BusQnftI.js} +1 -1
  170. package/dist/assets/{TreasuryTaxLetterPage-BeeNFRtm-2bz_AQ-0.js → TreasuryTaxLetterPage-BaHut8Wc-DaO1lvfz.js} +2 -2
  171. package/dist/assets/{TrendChart-C7DgNHh6-BQX-LQlK.js → TrendChart-BI4Tz813-BMzjSOb0.js} +1 -1
  172. package/dist/assets/{TrendWithTransactions-CpQPkCN4-BsbzS6I7.js → TrendWithTransactions-BicIDSlC-GPxD5Pyy.js} +1 -1
  173. package/dist/assets/{UncategorizedAccountsMappingPage-f9xrtur3-2mDu3l63.js → UncategorizedAccountsMappingPage-sbn4Sdr2-CCtQxv0E.js} +5 -5
  174. package/dist/assets/{UnitIntegrationPage-SiS8CA0g-DMaIVrfP.js → UnitIntegrationPage-CZUyjeh5-DYAwrSQY.js} +1 -1
  175. package/dist/assets/{UploadAdditionalDocumentOverlay-Djnl6dYH-RPaF9yZM.js → UploadAdditionalDocumentOverlay-4AWDV_HK-CxD_HluI.js} +1 -1
  176. package/dist/assets/{Vendor2FAPopup-CYwD3yQ8-DLGv5yTH.js → Vendor2FAPopup-C_PmEAQ7-BaU4ZlJ1.js} +1 -1
  177. package/dist/assets/{VendorACHDetailsPage-ChZp1Db0-BO4gSA1P.js → VendorACHDetailsPage-DMMoCytX-D-f3jOPl.js} +1 -1
  178. package/dist/assets/{VendorDetailPage-CG0SxxIa-qSAiJOjE.js → VendorDetailPage-CLFKkF8I-DlccPRJ1.js} +1 -1
  179. package/dist/assets/VendorDomesticWireDetailsPage-WxmpwlTS-CXFWxa5o.js +1 -0
  180. package/dist/assets/{VendorFiling1099EditablePage-DQs8RP_2-BwweNk99.js → VendorFiling1099EditablePage-CrWrhHZl-MLHVoFXe.js} +1 -1
  181. package/dist/assets/{VendorFirstReviewPage-XaE6ddOQ-DpTvYM7B.js → VendorFirstReviewPage-C6MnbIan-CvuNZRdM.js} +1 -1
  182. package/dist/assets/{VendorInternationalWireDetailsPage-CT75sZ0O-BB3EKzVu.js → VendorInternationalWireDetailsPage-CzPRK4E2-DP27a23P.js} +1 -1
  183. package/dist/assets/VendorInternationalWireSwiftDetailsPage-BBYmlLxN-CGwvkONg.js +1 -0
  184. package/dist/assets/{VendorsAccountsSection-C9NkRN0p-P_PN7VmQ.js → VendorsAccountsSection-CVh1n81R-CZE2h2vy.js} +1 -1
  185. package/dist/assets/{VerifyDevice-c6uTgDIl-C_mIC1W1.js → VerifyDevice-BHocExfO-CXvB8GAp.js} +1 -1
  186. package/dist/assets/{VideoPlayer-BgTXP1p7-QMbp4b9s.js → VideoPlayer-9rYRtSLf-C_MG4aUQ.js} +2 -2
  187. package/dist/assets/VideoPopup-D1o92dj6-Dti5suvC.js +31 -0
  188. package/dist/assets/{WarningsDrawerPage-BS-TFvBs-BK0syg3H.js → WarningsDrawerPage-CzufXgaN-BVjYF7DU.js} +1 -1
  189. package/dist/assets/{ZeniAccountDetailPage-CSVQF6vO-BLiPE2TJ.js → ZeniAccountDetailPage-ZZ3Ra-Jf-_49Q_UUx.js} +1 -1
  190. package/dist/assets/{ZeniAccountListViewPage-BVGsjSB2-KguVRtzk.js → ZeniAccountListViewPage-Cxid0mfh-Bo45T4Gx.js} +1 -1
  191. package/dist/assets/{ZeniAccountNavBarPieces-B1l8Hjdg-BpjKHJ6-.js → ZeniAccountNavBarPieces-DDc-xph4-CzcxivOl.js} +1 -1
  192. package/dist/assets/{ZeniAccountPromoPage-s-QGT-pZ-BjD9rvVp.js → ZeniAccountPromoPage-YIYFkPIB-YhnencbA.js} +1 -1
  193. package/dist/assets/{ZeniAccountSetupPage-CqXokSq4-CsQdsk_F.js → ZeniAccountSetupPage-BJ9UJ0dP-yNigxq0M.js} +1 -1
  194. package/dist/assets/{ZeniCopyright-_f5jw1U0-DOqMEDGM.js → ZeniCopyright-CztmWsFm-x7y7hEtI.js} +1 -1
  195. package/dist/assets/{ZeniTransferAmountSlider-yvd98l69-5MOeCpj6.js → ZeniTransferAmountSlider-g9qU5Lsq-BdpWeRuR.js} +1 -1
  196. package/dist/assets/{add-to-wallet-DgdBD8_G-OiVI7bJB.js → add-to-wallet-DgdBD8_G-CnbN5S25.js} +1 -1
  197. package/dist/assets/{analytics-8Xbq3yYL.js → analytics-C6bOaJY9.js} +1 -1
  198. package/dist/assets/{analyticsHelper-BvohFLdK-CyK6ylOF.js → analyticsHelper-D4lKCWjQ-7uZfvraO.js} +1 -1
  199. package/dist/assets/{analyticsHelper-o1rjDPED.js → analyticsHelper-Dyr99-JR.js} +1 -1
  200. package/dist/assets/{arrow-south-east-round-PEovUgvH-DQgxhSrh.js → arrow-south-east-round-PEovUgvH-D0tcq0ac.js} +1 -1
  201. package/dist/assets/{auto-transfer-rule-mbafm5D3-2oXIVweK.js → auto-transfer-rule-mbafm5D3-C5MrpFJF.js} +1 -1
  202. package/dist/assets/{chartTypes-h1GkAvwh-DVHQunLU.js → chartTypes-BPPSjkhb-H7A_cnp3.js} +1 -1
  203. package/dist/assets/{commonDimensions-7B20r1RL-DX4q8TH6.js → commonDimensions-Ds75pRzR-DJ4H9OI5.js} +1 -1
  204. package/dist/assets/{constants-CWLYV7Ge.js → constants-DNQWEIo3.js} +1 -1
  205. package/dist/assets/{core-CAJzT_Z5.js → core-BiYEzgTE.js} +1 -1
  206. package/dist/assets/{dash.all.min-nyIOerV_.js → dash.all.min-CNiNGlQC.js} +1 -1
  207. package/dist/assets/{detailCommon-C28aeDGm-DrEhEwef.js → detailCommon-DdZdfmYT-DWQ_1h8d.js} +5 -5
  208. package/dist/assets/{downloadPdf-D1MhyCE3-DSprID13.js → downloadPdf-B8UMaJCC-BA2fFFfC.js} +1 -1
  209. package/dist/assets/{empty-Bn55JOQP.js → empty-B0QxjPHg.js} +1 -1
  210. package/dist/assets/{empty-Dikea5lg.js → empty-D0VQVmJ6.js} +1 -1
  211. package/dist/assets/{epic-BTKjB1TW.js → epic-BPfIZ-JM.js} +1 -1
  212. package/dist/assets/{gift-box-Cmt9OgIZ-D_-9uaV1.js → gift-box-Cmt9OgIZ-DZtTQChg.js} +1 -1
  213. package/dist/assets/{graphic-no-data-l-DU4J8fDt-g9Z3xxM5.js → graphic-no-data-l-DU4J8fDt-D9COe3MR.js} +1 -1
  214. package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-CAQX-F-U.js → graphic-no-data-net-burn-l-CzmycA0m-CnFblD9c.js} +1 -1
  215. package/dist/assets/{handshake-BPg58FML-CWemP6h4.js → handshake-BPg58FML-Dk4MbD0e.js} +1 -1
  216. package/dist/assets/{index-8Oyhb03N.js → index-BBJ8MbHB.js} +561 -561
  217. package/dist/assets/{index--sZMP6f2.js → index-BLOT0kav.js} +1 -1
  218. package/dist/assets/{index-D6TvziCS.js → index-BWdq4kfG.js} +1 -1
  219. package/dist/assets/{index-cpz_GAtD.js → index-Bl0eTNht.js} +1 -1
  220. package/dist/assets/{index-DQuqKPcY.js → index-CmMi38cf.js} +1 -1
  221. package/dist/assets/{index-CV2gkqvP.js → index-D66eZF3S.js} +1 -1
  222. package/dist/assets/{index-CoHJqiJH.js → index-QkeEXb1H.js} +1 -1
  223. package/dist/assets/{lexical-Dn8yVWzX.js → lexical-Cbl76XZt.js} +1 -1
  224. package/dist/assets/{liveblocks-Cv4_XqIL.js → liveblocks-BstIT-4Z.js} +1 -1
  225. package/dist/assets/{lottie-CHtoTuG1.js → lottie-Dcr3TlBE.js} +1 -1
  226. package/dist/assets/mapLoadingInProgressToTreeNode-DGRrn6kh-B7ARKarP.js +1 -0
  227. package/dist/assets/{mapSectionWithAcOnlyToTreeNode-DtwKYRnC-DDTcgYDR.js → mapSectionWithAcOnlyToTreeNode-rrJBbsC8-DldkvgD3.js} +1 -1
  228. package/dist/assets/mapSpacerToTreeNode-CWvamMX2-8qhsm047.js +1 -0
  229. package/dist/assets/mapTimeframeBalancesToTreeNode-DfQk4Tsr-CLPrV0Gx.js +1 -0
  230. package/dist/assets/mapTimeframeBalancesToTreeNode-_jEVk1uh-Dt-fMHUy.js +1 -0
  231. package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-Dscp66eK-Bx0yi6rH.js → mapTimeframeHeaderLoadingInProgressToTreeNode-DCb9paz3-BVNM6n_o.js} +1 -1
  232. package/dist/assets/{mui-g2D8ciyb.js → mui-CqcpY1UR.js} +1 -1
  233. package/dist/assets/{page-detail-CWX5S47F-CqgkwkEL.js → page-detail-CWX5S47F-KNgKNFoz.js} +1 -1
  234. package/dist/assets/{radio-default-CiSgisfh-CJW6suVR.js → radio-default-CiSgisfh-yEV1b0CM.js} +1 -1
  235. package/dist/assets/{react-CJI2jrH1.js → react-4Ya91sN5.js} +1 -1
  236. package/dist/assets/{react-CPIaawZG.js → react-B4eK6Gcb.js} +1 -1
  237. package/dist/assets/{react-DzTjK2ko.js → react-BPBfJ6wZ.js} +1 -1
  238. package/dist/assets/{react-BqnZnr-V.js → react-BR4cTFeR.js} +1 -1
  239. package/dist/assets/{react-Cu4WA0Dh.js → react-CAF4_aM2.js} +1 -1
  240. package/dist/assets/{react-CTCtOz3j.js → react-CG2AEOc2.js} +1 -1
  241. package/dist/assets/{react-DK6VUiop.js → react-CHCFBd-l.js} +2 -2
  242. package/dist/assets/{react-DRqNydaO.js → react-COBWBcIx.js} +1 -1
  243. package/dist/assets/{recharts-D25xpbsw.js → recharts-bDaLwU4I.js} +1 -1
  244. package/dist/assets/{sentry-DlgT2cdq.js → sentry-CTfRDee5.js} +1 -1
  245. package/dist/assets/{shield-DOlUxcFf-D7jPBNjK.js → shield-DOlUxcFf-CaZu4NEg.js} +1 -1
  246. package/dist/assets/toCOABalancesWithID-CkjRB0sJ-DDXgenlP.js +1 -0
  247. package/dist/assets/{toChartData-BYQCR1Q4-BauxqVGI.js → toChartData-CMi2WgAy-Bk_h1ue0.js} +1 -1
  248. package/dist/assets/{transaction-placeholder-CpOwZAMG-RkVgOUGZ.js → transaction-placeholder-CpOwZAMG-DpKoIbbu.js} +1 -1
  249. package/dist/assets/{uploadAttachment-Cs2BAs2F-D_sz5Hgk.js → uploadAttachment-B4ddYCCL-B4kq7cBL.js} +1 -1
  250. package/dist/assets/{uploadReceipts-CPw64UYa-DNXk-kYS.js → uploadReceipts-CPw64UYa-DdOlSolA.js} +1 -1
  251. package/dist/assets/{url-BHclSfSS.js → url-BPLyW2rO.js} +1 -1
  252. package/dist/assets/{url-DXCCmxc2.js → url-DI6ZTkbp.js} +1 -1
  253. package/dist/assets/{useLongPress-GCK2COYQ-BpmPST0N.js → useLongPress-GCK2COYQ-DwbMzQIX.js} +1 -1
  254. package/dist/assets/{usp-line-BBd1wKwW-DO1kFPHu.js → usp-line-BBd1wKwW-CG6D_gsM.js} +1 -1
  255. package/dist/assets/{utils-6fMPdJur.js → utils-BI6ira9J.js} +1 -1
  256. package/dist/assets/{zeni-epic-state-C06d6qPM.js → zeni-epic-state-n7oqKrUc.js} +3 -3
  257. package/dist/index.html +1 -1
  258. package/package.json +2 -2
  259. package/dist/assets/AccountInfoPage-CDn5K_o2-Cwv_HO0S.js +0 -18
  260. package/dist/assets/CustomerOnboardingContainerPage-qmrLtjkH-DQJmN93N.js +0 -1
  261. package/dist/assets/CustomerOnboardingProductSuitePage-CEOJEMdY-DT18GfmQ.js +0 -202
  262. package/dist/assets/MagicLinkACHDetailsPage-DtxKOlmX-CpqgcNTX.js +0 -1
  263. package/dist/assets/MagicLinkDomesticWireDetailsPage-C7DsI3GD-BlJhnU2E.js +0 -1
  264. package/dist/assets/MagicLinkInternationalWireDetailsPage-BQtq93Cv-BHKRiqEV.js +0 -1
  265. package/dist/assets/MailingDetailsSection-CMekdUCQ-CQsTvQzd.js +0 -21
  266. package/dist/assets/ReimbursementApprovalRuleDetailPage-gUzCi41q-BI6k8ONl.js +0 -24
  267. package/dist/assets/StatementItem-BMV39A0D-p14qABNB.js +0 -31
  268. package/dist/assets/VendorDomesticWireDetailsPage-Dfawpwuo-B0pR4aPO.js +0 -1
  269. package/dist/assets/VendorInternationalWireSwiftDetailsPage-CBKqnkvK-DG06lBBL.js +0 -1
  270. package/dist/assets/VideoPopup-BD0vmbkL-CgJvMaZi.js +0 -31
  271. package/dist/assets/mapLoadingInProgressToTreeNode-B5fs_QGb-BYjU1VJl.js +0 -1
  272. package/dist/assets/mapSpacerToTreeNode-BufNagSk-5rdxQyBh.js +0 -1
  273. package/dist/assets/mapTimeframeBalancesToTreeNode-BHbBvkxK-COO9Ixh2.js +0 -1
  274. package/dist/assets/mapTimeframeBalancesToTreeNode-BOahnk__-DNxDGSc8.js +0 -1
  275. package/dist/assets/toCOABalancesWithID-DScSc4rG-2ZhnxEpw.js +0 -1
@@ -0,0 +1,31 @@
1
+ import{q as $,hE as b,V as o,F as g,m as S,o as r,ak as v,y as z,c0 as j,c as k}from"./index-BBJ8MbHB.js";import{a as I}from"./sentry-CTfRDee5.js";import{n}from"./mui-CqcpY1UR.js";import{g as D}from"./BoxItem-WOrvBzns-DD4R649W.js";import{w as P}from"./downloadPdf-B8UMaJCC-BA2fFFfC.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},i=new e.Error().stack;i&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[i]="92d654ed-66e0-4d31-936d-ca22abb25360",e._sentryDebugIdIdentifier="sentry-dbid-92d654ed-66e0-4d31-936d-ca22abb25360")}catch{}})();const l=g.getLocalizedStrings().months,d={downloadButtonSize:new z(k[4],20)},T=n.div`
2
+ display: flex;
3
+ padding: ${r.sp3} ${r.sp4};
4
+ flex-direction: row;
5
+ width: 100%;
6
+ `,L=n.div`
7
+ display: flex;
8
+ justify-content: space-between;
9
+ align-items: center;
10
+ width: 100%;
11
+ `,q=n(v)`
12
+ display: -webkit-box;
13
+ -webkit-box-orient: vertical;
14
+ -webkit-line-clamp: 1;
15
+ margin-left: ${r.sp2};
16
+ max-height: ${r.sp11};
17
+ text-overflow: ellipsis;
18
+ word-break: break-word;
19
+ text-align: left;
20
+ overflow: hidden;
21
+ `,B=n.div`
22
+ cursor: pointer;
23
+ `,C=n(j)`
24
+ width: ${e=>d.downloadButtonSize.valuePx(e.windowSize)};
25
+ height: ${e=>d.downloadButtonSize.valuePx(e.windowSize)};
26
+ min-height: ${e=>d.downloadButtonSize.valuePx(e.windowSize)};
27
+ color: ${e=>e.theme.colors.hero};
28
+ &:hover {
29
+ color: ${e=>e.theme.colors.primary};
30
+ }
31
+ `;function R({accountLast4:e,currentTenantCompanyName:i,data:t,authParams:m,downloadEndPoint:s,documentType:a="statement",boxType:c}){const[f,p]=I.useState(!1),w=$(),u=a==="taxLetter"?`${t.title.year}`:`${l[t.title.month-1]} ${t.title.year}`,y=a==="taxLetter"?`${i}-treasury-tax-letter-${t.title.year}.pdf`:`${i}-${e}-monthly-statement-${l[t.title.month-1]}-${t.title.year}.pdf`,h={period:`${t.title.year}-${b(t.title.month)}`,format:"pdf"},x=o.jsx(T,{children:o.jsxs(L,{children:[o.jsx(q,{children:u}),o.jsx(B,{onClick:()=>P(a==="treasuryStatement"||a==="taxLetter"?`${s}/statements/${t.id}`:`${s}/statements?query=${encodeURIComponent(JSON.stringify(h))}`,y,m,p),children:f?o.jsx(S,{size:"Small",start:!0}):o.jsx(C,{windowSize:w})})]})});return o.jsx(D,{content:x,boxType:c,isDisabled:!1,isNotClickable:!0})}export{R as O};
@@ -1,4 +1,4 @@
1
- import{d as S,q as I,V as t,bz as z,b1 as C,o as r,F as P,p,cq as D,y as E,c as b,ak as L}from"./index-8Oyhb03N.js";import{a as f}from"./sentry-DlgT2cdq.js";import{n as o}from"./mui-g2D8ciyb.js";import{$ as T}from"./BoxItem-Cb4_ZBkK-B6f6pk_I.js";import{o as B}from"./commonDimensions-7B20r1RL-DX4q8TH6.js";import{O as M}from"./StatementItem-BMV39A0D-p14qABNB.js";import"./liveblocks-Cv4_XqIL.js";import"./core-CAJzT_Z5.js";import"./recharts-D25xpbsw.js";import"./zeni-epic-state-C06d6qPM.js";import"./lottie-CHtoTuG1.js";import"./analytics-8Xbq3yYL.js";import"./lexical-Dn8yVWzX.js";import"./utils-6fMPdJur.js";import"./downloadPdf-D1MhyCE3-DSprID13.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]="f217db5f-fc89-4686-a7d2-7a572b51bdf8",e._sentryDebugIdIdentifier="sentry-dbid-f217db5f-fc89-4686-a7d2-7a572b51bdf8")}catch{}})();const u=P.getLocalizedStrings().spendManagement.zeniAccounts.statements,w={listItemMargin:new E(b[3],b[8])},oe=({currentTenantCompanyName:e,authParams:n,downloadEndPoint:m,statementListView:i,accountLast4:x,onBackClick:y})=>{const k=S(),d=I(),$=f.createRef(),c=f.useRef(null),h=i.statements.length===0,j=()=>h===!1?B.transactionItemHeight:24,v=({index:a,style:s})=>{const l=i.statements[a];return h===!1?t.jsx(g,{windowSize:d,style:{...s,width:`calc(100% - 2*${w.listItemMargin.valuePx(d)})`},children:t.jsx(M,{currentTenantCompanyName:e,accountLast4:x,data:l,authParams:n,downloadEndPoint:m,boxType:T(a,i.statements.length)},l.id)}):t.jsx(O,{style:{...s},children:t.jsx(_,{children:t.jsx(g,{windowSize:d,children:t.jsx(R,{children:u.noStatements})})})})};return t.jsxs(N,{children:[t.jsx(z,{title:u.title,backgroundColor:k.colors.grey4,style:{zIndex:3},onBackClick:y,scrollableContent:c.current!=null?c:void 0,source:"StatementsPage"}),t.jsx(V,{children:t.jsx(C,{children:({height:a,width:s})=>t.jsx(q,{ref:$,height:a,width:s,outerRef:c,itemKey:l=>l,itemCount:i.statements.length,itemSize:j,initialScrollOffset:0,children:v})})})]})},O=o.div``,g=o.div`
1
+ import{d as S,q as I,V as t,bz as z,b1 as C,o as r,F as P,p,cq as D,y as E,c as u,ak as L}from"./index-BBJ8MbHB.js";import{a as b}from"./sentry-CTfRDee5.js";import{n as o}from"./mui-CqcpY1UR.js";import{$ as T}from"./BoxItem-WOrvBzns-DD4R649W.js";import{o as B}from"./commonDimensions-Ds75pRzR-DJ4H9OI5.js";import{O as M}from"./StatementItem-hcBoe79o-BTjI_1ZK.js";import"./liveblocks-BstIT-4Z.js";import"./core-BiYEzgTE.js";import"./recharts-bDaLwU4I.js";import"./zeni-epic-state-n7oqKrUc.js";import"./lottie-Dcr3TlBE.js";import"./analytics-C6bOaJY9.js";import"./lexical-Cbl76XZt.js";import"./utils-BI6ira9J.js";import"./downloadPdf-B8UMaJCC-BA2fFFfC.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]="25c89739-191a-4803-95a0-ec7d6d3d5141",e._sentryDebugIdIdentifier="sentry-dbid-25c89739-191a-4803-95a0-ec7d6d3d5141")}catch{}})();const g=P.getLocalizedStrings().spendManagement.zeniAccounts.statements,w={listItemMargin:new E(u[3],u[8])},oe=({currentTenantCompanyName:e,authParams:n,downloadEndPoint:m,statementListView:i,accountLast4:x,onBackClick:y})=>{const k=S(),d=I(),$=b.createRef(),c=b.useRef(null),h=i.statements.length===0,j=()=>h===!1?B.transactionItemHeight:24,v=({index:a,style:s})=>{const l=i.statements[a];return h===!1?t.jsx(f,{windowSize:d,style:{...s,width:`calc(100% - 2*${w.listItemMargin.valuePx(d)})`},children:t.jsx(M,{currentTenantCompanyName:e,accountLast4:x,data:l,authParams:n,downloadEndPoint:m,boxType:T(a,i.statements.length)},l.id)}):t.jsx(O,{style:{...s},children:t.jsx(_,{children:t.jsx(f,{windowSize:d,children:t.jsx(R,{children:g.noStatements})})})})};return t.jsxs(N,{children:[t.jsx(z,{title:g.title,backgroundColor:k.colors.grey4,style:{zIndex:3},onBackClick:y,scrollableContent:c.current!=null?c:void 0,source:"StatementsPage"}),t.jsx(V,{children:t.jsx(C,{children:({height:a,width:s})=>t.jsx(q,{ref:$,height:a,width:s,outerRef:c,itemKey:l=>l,itemCount:i.statements.length,itemSize:j,initialScrollOffset:0,children:v})})})]})},O=o.div``,f=o.div`
2
2
  margin: ${e=>`${r.sp0} ${w.listItemMargin.valuePx(e.windowSize)}`};
3
3
  &:hover {
4
4
  position: relative;
@@ -1,4 +1,4 @@
1
- import{q as $,ca as T,V as d,F as v,y as h,o as s,c,ag as _}from"./index-8Oyhb03N.js";import{n as u,c as m}from"./mui-g2D8ciyb.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]="e6baf273-a614-4809-98b7-515f9d21e2c8",e._sentryDebugIdIdentifier="sentry-dbid-e6baf273-a614-4809-98b7-515f9d21e2c8")}catch{}})();function g(e){return e.replace(/([a-z])([A-Z])/g,"$1 $2").replace(/[_-]+/g," ").trim().split(" ").filter(Boolean).map(a=>a.charAt(0).toUpperCase()+a.slice(1)).join(" ")}const z=e=>{switch(e){case"bill_pay":return"bills";case"reimbursement":return"reimbursements";case"charge_cards":return"cards";default:return e}};function A(e,a){if(typeof e=="string")return e;if(e!=null&&typeof e=="object"){const r=Object.values(e)[0];return typeof r=="string"?r:g(a)}return g(a)}function p(e,a,r){const n=e[a];return n!=null?A(n,r):null}const L=(e,a)=>{const{spendManagement:{billPay:{billsByTabs:{tabsById:r}},reimbursement:{reimbursementByTabs:{tabsById:n}},zeniAccounts:{zeniAccountList:{tabsById:l}}}}=v.getLocalizedStrings(),t=String(e);if(a)switch(a){case"bill_pay":{const i=p(r,t,t);if(i!=null)return i.replace(/\s+/g,"_").toLowerCase();break}case"reimbursement":{const i=p(n,t,t);if(i!=null)return i.replace(/\s+/g,"_").toLowerCase();break}case"zeni_accounts":{const i=p(l,t,t);if(i!=null)return i.replace(/\s+/g,"_").toLowerCase();break}}return(p(r,t,t)??p(n,t,t)??p(l,t,t)??g(t)).replace(/\s+/g,"_").toLowerCase()},{spendManagement:{billPay:{billsByTabs:{tabsById:y}},reimbursement:{reimbursementByTabs:{tabsById:x}},zeniAccounts:{zeniAccountList:{tabsById:D}}}}=v.getLocalizedStrings(),w={containerMarginLeft:new h(c[4],c[8]),containerMarginRight:new h(c[4],c[8]),segmentContainerMarginLeft:new h(c[4],c[8])},M=u.div`
1
+ import{q as $,ca as T,V as d,F as v,y as h,o as s,c,ag as _}from"./index-BBJ8MbHB.js";import{n as u,c as m}from"./mui-CqcpY1UR.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]="e6baf273-a614-4809-98b7-515f9d21e2c8",e._sentryDebugIdIdentifier="sentry-dbid-e6baf273-a614-4809-98b7-515f9d21e2c8")}catch{}})();function g(e){return e.replace(/([a-z])([A-Z])/g,"$1 $2").replace(/[_-]+/g," ").trim().split(" ").filter(Boolean).map(a=>a.charAt(0).toUpperCase()+a.slice(1)).join(" ")}const z=e=>{switch(e){case"bill_pay":return"bills";case"reimbursement":return"reimbursements";case"charge_cards":return"cards";default:return e}};function A(e,a){if(typeof e=="string")return e;if(e!=null&&typeof e=="object"){const r=Object.values(e)[0];return typeof r=="string"?r:g(a)}return g(a)}function p(e,a,r){const n=e[a];return n!=null?A(n,r):null}const L=(e,a)=>{const{spendManagement:{billPay:{billsByTabs:{tabsById:r}},reimbursement:{reimbursementByTabs:{tabsById:n}},zeniAccounts:{zeniAccountList:{tabsById:l}}}}=v.getLocalizedStrings(),t=String(e);if(a)switch(a){case"bill_pay":{const i=p(r,t,t);if(i!=null)return i.replace(/\s+/g,"_").toLowerCase();break}case"reimbursement":{const i=p(n,t,t);if(i!=null)return i.replace(/\s+/g,"_").toLowerCase();break}case"zeni_accounts":{const i=p(l,t,t);if(i!=null)return i.replace(/\s+/g,"_").toLowerCase();break}}return(p(r,t,t)??p(n,t,t)??p(l,t,t)??g(t)).replace(/\s+/g,"_").toLowerCase()},{spendManagement:{billPay:{billsByTabs:{tabsById:y}},reimbursement:{reimbursementByTabs:{tabsById:x}},zeniAccounts:{zeniAccountList:{tabsById:D}}}}=v.getLocalizedStrings(),w={containerMarginLeft:new h(c[4],c[8]),containerMarginRight:new h(c[4],c[8]),segmentContainerMarginLeft:new h(c[4],c[8])},M=u.div`
2
2
  display: flex;
3
3
  flex-direction: row;
4
4
  width: 100%;
@@ -1,4 +1,4 @@
1
- import{V as i,m as u,o as s,ag as g,aX as f}from"./index-8Oyhb03N.js";import{n as r,c}from"./mui-g2D8ciyb.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]="bcbef962-a607-4f83-8edf-2da17c0a6dd2",e._sentryDebugIdIdentifier="sentry-dbid-bcbef962-a607-4f83-8edf-2da17c0a6dd2")}catch{}})();function v({allTabs:e,selectedTab:n,containerStyle:o,rightComponent:l,onTabChange:p}){const h=l!=null;return i.jsxs(b,{style:o,hasRightComponent:h,children:[i.jsx(y,{children:e.map(t=>{const a=t.id===n,d=t.isDisabled!=null;return i.jsxs($,{onClick:()=>{a===!1&&!d&&p(t)},isSelected:a,isDisabled:d,children:[i.jsx(m,{children:t.label}),t.countDetails?.count!=null?i.jsx(D,{children:i.jsx(x,{isCircular:t.countDetails.count==null||t.countDetails.count<10,children:i.jsx(j,{children:t.countDetails.isFetching?i.jsx(u,{size:"Small-Compact",style:{color:"inherit",display:"flex",alignItems:"center",justifyContent:"center"},start:!0}):t.countDetails.count})})}):null]},t.id)})}),l]})}const b=r.div`
1
+ import{V as i,m as u,o as s,ag as g,aX as f}from"./index-BBJ8MbHB.js";import{n as r,c}from"./mui-CqcpY1UR.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]="bcbef962-a607-4f83-8edf-2da17c0a6dd2",e._sentryDebugIdIdentifier="sentry-dbid-bcbef962-a607-4f83-8edf-2da17c0a6dd2")}catch{}})();function v({allTabs:e,selectedTab:n,containerStyle:o,rightComponent:l,onTabChange:p}){const h=l!=null;return i.jsxs(b,{style:o,hasRightComponent:h,children:[i.jsx(y,{children:e.map(t=>{const a=t.id===n,d=t.isDisabled!=null;return i.jsxs($,{onClick:()=>{a===!1&&!d&&p(t)},isSelected:a,isDisabled:d,children:[i.jsx(m,{children:t.label}),t.countDetails?.count!=null?i.jsx(D,{children:i.jsx(x,{isCircular:t.countDetails.count==null||t.countDetails.count<10,children:i.jsx(j,{children:t.countDetails.isFetching?i.jsx(u,{size:"Small-Compact",style:{color:"inherit",display:"flex",alignItems:"center",justifyContent:"center"},start:!0}):t.countDetails.count})})}):null]},t.id)})}),l]})}const b=r.div`
2
2
  display: flex;
3
3
  flex-direction: row;
4
4
  justify-content: ${e=>e.hasRightComponent?"space-between":"flex-start"};
@@ -1 +1 @@
1
- import{V as n}from"./index-8Oyhb03N.js";import{E as r,T as t}from"./ReloadCard-DLKVg3Sx-BfmOPc30.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},d=new e.Error().stack;d&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[d]="451dcc19-7202-4805-822f-7b39f00932ae",e._sentryDebugIdIdentifier="sentry-dbid-451dcc19-7202-4805-822f-7b39f00932ae")}catch{}})();const a=e=>{function d(){return e.card.fetchState==="In-Progress"||e.card.fetchState==="Not-Started"?n.jsx(r,{dimension:e.card.dimension,animated:!e.card.disableAnimations}):e.card.fetchState==="Error"?n.jsx(t,{dimension:e.card.dimension,cardType:e.card.cardType,cardIndex:e.card.cardIndex,onReloadData:e.actions.onReloadData}):n.jsx("div",{children:e.children})}return n.jsx("div",{children:d()})};export{a as c};
1
+ import{V as n}from"./index-BBJ8MbHB.js";import{E as r,T as t}from"./ReloadCard-9KpQCrce-Y78Zw9cJ.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},d=new e.Error().stack;d&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[d]="fad5b9a6-8b48-479f-af05-f5d6671e9c5b",e._sentryDebugIdIdentifier="sentry-dbid-fad5b9a6-8b48-479f-af05-f5d6671e9c5b")}catch{}})();const c=e=>{function d(){return e.card.fetchState==="In-Progress"||e.card.fetchState==="Not-Started"?n.jsx(r,{dimension:e.card.dimension,animated:!e.card.disableAnimations}):e.card.fetchState==="Error"?n.jsx(t,{dimension:e.card.dimension,cardType:e.card.cardType,cardIndex:e.card.cardIndex,onReloadData:e.actions.onReloadData}):n.jsx("div",{children:e.children})}return n.jsx("div",{children:d()})};export{c};
@@ -1,4 +1,4 @@
1
- import{av as gt,d as Ye,V as t,jn as q,bz as kt,a9 as _,cm as xt,ak as K,ap as wt,F as se,o as s,eK as Ze,cf as Ne,cj as ft,g1 as Ct,b7 as Tt,bL as Xe,aQ as $t,q as ie,a8 as yt,y as Je,cB as jt,ab as bt,b1 as vt,cq as St,iL as Gt,iM as Lt,jo as Me,aO as Nt,n as De,bQ as Ee,eG as Qe,jp as Et,cY as et,jq as ce,jr as ke,js as xe,jt as tt,ju as It,jv as st,jw as ot,jx as nt,jy as at,jz as rt,jA as V,c as ge,jB as ae,ag as re,jC as Dt,jD as Mt,L as zt,am as Bt,jE as At,d7 as Rt,jF as Wt,cO as it,ek as Ot,b as Ft,jG as Pt,jH as Ht,g2 as _t,eJ as Ut,jI as Vt,jJ as X,jK as ze,cs as Kt,jL as qt,jM as Yt,jN as Zt,jO as Be,p as Ae,gq as Xt,al as Jt}from"./index-8Oyhb03N.js";import{a as n}from"./sentry-DlgT2cdq.js";import{n as o,c as we}from"./mui-g2D8ciyb.js";import{FZ as Qt,F_ as Re,cd as lt,ce as dt,cf as es}from"./zeni-epic-state-C06d6qPM.js";import{J as ts,K as ss}from"./SpendManagementSection-Dzlokoym-BKWHzE7C.js";import{A as os,t as ns,a as as,E as rs}from"./NotificationsListConfig-tD8IFVDs-CkNEmokw.js";import{getDashboardFilterCategoryValues as is}from"./SpendManagementListViewPage-jdvSYQ4J-h2d8ojs4.js";import"./liveblocks-Cv4_XqIL.js";import"./core-CAJzT_Z5.js";import"./recharts-D25xpbsw.js";import"./lottie-CHtoTuG1.js";import"./analytics-8Xbq3yYL.js";import"./lexical-Dn8yVWzX.js";import"./utils-6fMPdJur.js";import"./StatusSwitcher-CcLiXtx4-Cm5XOAhs.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},d=new e.Error().stack;d&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[d]="cc63847d-5875-4b91-aad8-8eee7cc76e4e",e._sentryDebugIdIdentifier="sentry-dbid-cc63847d-5875-4b91-aad8-8eee7cc76e4e")}catch{}})();const ls=100,ds=100,cs=3,ps=.7,us=({scrollContainerRef:e,isEnabled:d=!0,edgeThreshold:r=ls,scrollSpeed:h=ds,minScrollAmount:m=cs,scrollCurveExponent:u=ps})=>{n.useEffect(()=>{if(!d||typeof window>"u"||typeof document>"u")return;let a=!1,p=0,i=null;const c=Math.max(r,1),C=()=>{i!==null&&(cancelAnimationFrame(i),i=null)},v=x=>{const S=e.current;return!S||!(x.target instanceof Node)?!1:S.contains(x.target)},I=x=>v(x),D=x=>{const S=Math.max(x,0)/c,y=Math.pow(S,u)*h;return Math.max(m,y)},k=(x,S,y)=>{const L=y==="up"?-S:S;x===window?window.scrollBy({top:L,behavior:"auto"}):x instanceof HTMLElement&&typeof x.scrollTop=="number"&&(x.scrollTop+=L)},f=()=>e.current??window,w=()=>{if(!a)return;const x=f(),S=window.innerHeight,y=p;if(y<c&&y>0){const L=c-y,g=D(L);k(x,g,"up")}else if(y>S-c){const L=y-(S-c),g=D(L);k(x,g,"down")}i=requestAnimationFrame(w)},M=x=>{I(x)?a=!0:(a=!1,C())},z=()=>{a=!1,C()},B=x=>{a&&(p=x.clientY)},$=x=>{B(x),a&&i===null&&(i=requestAnimationFrame(w))};return document.addEventListener("dragstart",M),document.addEventListener("dragend",z),document.addEventListener("dragover",$),()=>{document.removeEventListener("dragstart",M),document.removeEventListener("dragend",z),document.removeEventListener("dragover",$),C()}},[r,d,m,e,u,h])},ve=se.getLocalizedStrings(),ct=({count:e})=>t.jsx(hs,{isCircular:e<10,children:t.jsx(ms,{children:e>ve.common.numbers.maximumCount?`${ve.common.numbers.maximumCount}${ve.common.strings.plus}`:e})}),hs=o.div`
1
+ import{av as gt,d as Ye,V as t,jn as q,bz as kt,a9 as _,cm as xt,ak as K,ap as wt,F as se,o as s,eK as Ze,cf as Ne,cj as ft,g1 as Ct,b7 as Tt,bL as Xe,aQ as $t,q as ie,a8 as yt,y as Je,cB as jt,ab as bt,b1 as vt,cq as St,iL as Gt,iM as Lt,jo as Me,aO as Nt,n as De,bQ as Ee,eG as Qe,jp as Et,cY as et,jq as ce,jr as ke,js as xe,jt as tt,ju as It,jv as st,jw as ot,jx as nt,jy as at,jz as rt,jA as V,c as ge,jB as ae,ag as re,jC as Dt,jD as Mt,L as zt,am as Bt,jE as At,d7 as Rt,jF as Wt,cO as it,ek as Ot,b as Ft,jG as Pt,jH as Ht,g2 as _t,eJ as Ut,jI as Vt,jJ as X,jK as ze,cs as Kt,jL as qt,jM as Yt,jN as Zt,jO as Be,p as Ae,gq as Xt,al as Jt}from"./index-BBJ8MbHB.js";import{a as n}from"./sentry-CTfRDee5.js";import{n as o,c as we}from"./mui-CqcpY1UR.js";import{FZ as Qt,F_ as Re,cd as lt,ce as dt,cf as es}from"./zeni-epic-state-n7oqKrUc.js";import{J as ts,K as ss}from"./SpendManagementSection-Ci2yOCJ9-DUAKhgdu.js";import{A as os,t as ns,a as as,E as rs}from"./NotificationsListConfig-OCeJNw1G-DxjI9EUe.js";import{getDashboardFilterCategoryValues as is}from"./SpendManagementListViewPage-Ac-9u-X2-ConJ7IhF.js";import"./liveblocks-BstIT-4Z.js";import"./core-BiYEzgTE.js";import"./recharts-bDaLwU4I.js";import"./lottie-Dcr3TlBE.js";import"./analytics-C6bOaJY9.js";import"./lexical-Cbl76XZt.js";import"./utils-BI6ira9J.js";import"./StatusSwitcher-Cy5ITFgi-DNMieZwF.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},d=new e.Error().stack;d&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[d]="20ac535f-3bab-4a01-97de-dc4130f189f8",e._sentryDebugIdIdentifier="sentry-dbid-20ac535f-3bab-4a01-97de-dc4130f189f8")}catch{}})();const ls=100,ds=100,cs=3,ps=.7,us=({scrollContainerRef:e,isEnabled:d=!0,edgeThreshold:r=ls,scrollSpeed:h=ds,minScrollAmount:m=cs,scrollCurveExponent:u=ps})=>{n.useEffect(()=>{if(!d||typeof window>"u"||typeof document>"u")return;let a=!1,p=0,i=null;const c=Math.max(r,1),C=()=>{i!==null&&(cancelAnimationFrame(i),i=null)},v=x=>{const S=e.current;return!S||!(x.target instanceof Node)?!1:S.contains(x.target)},I=x=>v(x),D=x=>{const S=Math.max(x,0)/c,y=Math.pow(S,u)*h;return Math.max(m,y)},k=(x,S,y)=>{const L=y==="up"?-S:S;x===window?window.scrollBy({top:L,behavior:"auto"}):x instanceof HTMLElement&&typeof x.scrollTop=="number"&&(x.scrollTop+=L)},f=()=>e.current??window,w=()=>{if(!a)return;const x=f(),S=window.innerHeight,y=p;if(y<c&&y>0){const L=c-y,g=D(L);k(x,g,"up")}else if(y>S-c){const L=y-(S-c),g=D(L);k(x,g,"down")}i=requestAnimationFrame(w)},M=x=>{I(x)?a=!0:(a=!1,C())},z=()=>{a=!1,C()},B=x=>{a&&(p=x.clientY)},$=x=>{B(x),a&&i===null&&(i=requestAnimationFrame(w))};return document.addEventListener("dragstart",M),document.addEventListener("dragend",z),document.addEventListener("dragover",$),()=>{document.removeEventListener("dragstart",M),document.removeEventListener("dragend",z),document.removeEventListener("dragover",$),C()}},[r,d,m,e,u,h])},ve=se.getLocalizedStrings(),ct=({count:e})=>t.jsx(hs,{isCircular:e<10,children:t.jsx(ms,{children:e>ve.common.numbers.maximumCount?`${ve.common.numbers.maximumCount}${ve.common.strings.plus}`:e})}),hs=o.div`
2
2
  ${e=>e.isCircular?we`
3
3
  height: 18px;
4
4
  width: 18px;
@@ -1,4 +1,4 @@
1
- import{V as t,b1 as _,aA as S,dg as B,bp as H,o as a,ag as L}from"./index-8Oyhb03N.js";import{a as n}from"./sentry-DlgT2cdq.js";import{n as g}from"./mui-g2D8ciyb.js";import{Y as q}from"./core-CAJzT_Z5.js";import{V as A}from"./CollapsableReportTable-CrR91Kpi-Dy9cAsrx.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]="5e12028c-9072-4162-8559-b306382fb3f4",e._sentryDebugIdIdentifier="sentry-dbid-5e12028c-9072-4162-8559-b306382fb3f4")}catch{}})();const U=e=>n.createElement("svg",{width:12,height:40,viewBox:"0 0 12 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},n.createElement("path",{d:"M12 40H4a4 4 0 0 1-4-4V4a4 4 0 0 1 4-4h8v40z"}),n.createElement("path",{d:"M8 23.333a1 1 0 1 0 0 2 1 1 0 0 0 0-2zM8 19a1 1 0 1 0 0 2 1 1 0 0 0 0-2zm-1-3.333a1 1 0 1 1 2 0 1 1 0 0 1-2 0zm-3 7.666a1 1 0 1 0 0 2 1 1 0 0 0 0-2zM3 20a1 1 0 1 1 2 0 1 1 0 0 1-2 0zm1-5.333a1 1 0 1 0 0 2 1 1 0 0 0 0-2z",fill:"currentColor"})),W=e=>n.createElement("svg",{width:12,height:40,viewBox:"0 0 12 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},n.createElement("path",{d:"M0 0h8a4 4 0 0 1 4 4v32a4 4 0 0 1-4 4H0V0z"}),n.createElement("path",{d:"M8 23.333a1 1 0 1 0 0 2 1 1 0 0 0 0-2zM8 19a1 1 0 1 0 0 2 1 1 0 0 0 0-2zm-1-3.333a1 1 0 1 1 2 0 1 1 0 0 1-2 0zm-3 7.666a1 1 0 1 0 0 2 1 1 0 0 0 0-2zM3 20a1 1 0 1 1 2 0 1 1 0 0 1-2 0zm1-5.333a1 1 0 1 0 0 2 1 1 0 0 0 0-2z",fill:"currentColor"})),p=40,h=90,X=g.div`
1
+ import{V as t,b1 as _,aA as S,dg as B,bp as H,o as d,ag as L}from"./index-BBJ8MbHB.js";import{a as n}from"./sentry-CTfRDee5.js";import{n as g}from"./mui-CqcpY1UR.js";import{Y as q}from"./core-BiYEzgTE.js";import{V as A}from"./CollapsableReportTable-xkNXkjfh-CuBOzrbM.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]="f4a01dda-999e-4d85-8081-effa10c66140",e._sentryDebugIdIdentifier="sentry-dbid-f4a01dda-999e-4d85-8081-effa10c66140")}catch{}})();const U=e=>n.createElement("svg",{width:12,height:40,viewBox:"0 0 12 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},n.createElement("path",{d:"M12 40H4a4 4 0 0 1-4-4V4a4 4 0 0 1 4-4h8v40z"}),n.createElement("path",{d:"M8 23.333a1 1 0 1 0 0 2 1 1 0 0 0 0-2zM8 19a1 1 0 1 0 0 2 1 1 0 0 0 0-2zm-1-3.333a1 1 0 1 1 2 0 1 1 0 0 1-2 0zm-3 7.666a1 1 0 1 0 0 2 1 1 0 0 0 0-2zM3 20a1 1 0 1 1 2 0 1 1 0 0 1-2 0zm1-5.333a1 1 0 1 0 0 2 1 1 0 0 0 0-2z",fill:"currentColor"})),W=e=>n.createElement("svg",{width:12,height:40,viewBox:"0 0 12 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},n.createElement("path",{d:"M0 0h8a4 4 0 0 1 4 4v32a4 4 0 0 1-4 4H0V0z"}),n.createElement("path",{d:"M8 23.333a1 1 0 1 0 0 2 1 1 0 0 0 0-2zM8 19a1 1 0 1 0 0 2 1 1 0 0 0 0-2zm-1-3.333a1 1 0 1 1 2 0 1 1 0 0 1-2 0zm-3 7.666a1 1 0 1 0 0 2 1 1 0 0 0 0-2zM3 20a1 1 0 1 1 2 0 1 1 0 0 1-2 0zm1-5.333a1 1 0 1 0 0 2 1 1 0 0 0 0-2z",fill:"currentColor"})),p=40,h=90,X=g.div`
2
2
  display: flex;
3
3
  flex-direction: row;
4
4
  justify-content: flex-start;
@@ -25,8 +25,8 @@ import{V as t,b1 as _,aA as S,dg as B,bp as H,o as a,ag as L}from"./index-8Oyhb0
25
25
  position: relative;
26
26
  scrollbar-width: none;
27
27
  `,J=g(L)``,K=g.div`
28
- top: ${a.sp0};
29
- left: ${a.sp0};
28
+ top: ${d.sp0};
29
+ left: ${d.sp0};
30
30
  width: calc(${e=>h*e.numberOfTicksSelected}px);
31
31
  position: absolute;
32
32
  height: ${p}px;
@@ -34,19 +34,19 @@ import{V as t,b1 as _,aA as S,dg as B,bp as H,o as a,ag as L}from"./index-8Oyhb0
34
34
  .slider-icon {
35
35
  fill: ${e=>e.theme.colors.grey1};
36
36
  }
37
- border-radius: ${a.sp2};
38
- border-left: ${a.sp0};
39
- border-right: ${a.sp0};
37
+ border-radius: ${d.sp2};
38
+ border-left: ${d.sp0};
39
+ border-right: ${d.sp0};
40
40
  &:hover {
41
41
  border: 1px solid ${e=>e.theme.colors.primary};
42
- border-radius: ${a.sp2};
43
- border-left: ${a.sp0};
44
- border-right: ${a.sp0};
42
+ border-radius: ${d.sp2};
43
+ border-left: ${d.sp0};
44
+ border-right: ${d.sp0};
45
45
  .slider-icon {
46
46
  fill: ${e=>e.theme.colors.primary};
47
47
  }
48
48
  }
49
- line-height: ${a.sp0};
49
+ line-height: ${d.sp0};
50
50
  pointer-events: none;
51
51
  box-sizing: border-box;
52
52
  `,Q=g.div`
@@ -61,4 +61,4 @@ import{V as t,b1 as _,aA as S,dg as B,bp as H,o as a,ag as L}from"./index-8Oyhb0
61
61
  cursor: pointer;
62
62
  pointer-events: all;
63
63
  color: ${e=>e.theme.colors.grey5};
64
- `;function j({iconPosition:e}){switch(e){case"left":return t.jsx(U,{className:"slider-icon",fill:"currentColor"});case"right":return t.jsx(W,{className:"slider-icon",fill:"currentColor"});default:throw Error("Invalid iconPosition")}}function te(e){return q.createPortal(e.children,e.parentNode)}function re({enabled:e,firstMonthOfFY:s,timeframe:l,tick:r,tickIndex:u,isSelected:c,onClick:f}){return t.jsx(Z,{isEnabled:e,isSelected:c,onClick:()=>{f(r,u,l)},children:t.jsx(J,{children:A(s,r,l)})})}function ne(e,s,l,r,u){const c=s-e,f=Math.floor(e/h)+Math.round(c/h),w=f+l.length-r.length,x=f+l.length,b=u-x;return{selectedTicks:{fromStart:{startIndex:f,length:l.length},fromEnd:{offsetFromEnd:b,length:l.length}},highlightedOfSelectedTicks:{startIndex:w,length:r.length}}}function oe(e){return e.startIndex!=null}function I(e,s){let l={startIndex:0,length:0};if(oe(e))l=e;else{const r=e.length;l={startIndex:s.length-e.offsetFromEnd-r+1,length:e.length}}return l}function le({width:e,firstMonthOfFY:s,timeframe:l,timeframeTicks:r,isEnabled:u,selection:c,onClick:f,onSelectionChanged:w}){const x=n.createRef(),b=n.useRef(null),[z,M]=n.useState(!1),[i,T]=n.useState(I(c.selectedTicks,r)),$=n.useRef(i.startIndex);n.useEffect(()=>{$.current=i.startIndex});const[y,C]=n.useState(c.highlightedOfSelectedTicks),O=(i.startIndex+i.length>r.length?Math.max(r.length-i.length,0):i.startIndex)*h,[E,F]=n.useState({x:O,y:0});n.useEffect(()=>{M(!0)},[]),n.useEffect(()=>{const o=I(c.selectedTicks,r);if(!S(i,o)){T(o);const d=o.startIndex*h;F({x:d,y:0})}S(y,c.highlightedOfSelectedTicks)||C(c.highlightedOfSelectedTicks)},[i,y,c,r]),n.useLayoutEffect(()=>{const{startIndex:o,length:d}=i;x.current?.scrollToItem($.current<=o?o+d-1:o)},[x,i]);const N=u!==!1,P=(o,d,m)=>{f?.(m,o)},V=(o,d)=>{const m=ne(E.x,d.x,i,y,r.length);w?.(m.selectedTicks,m.highlightedOfSelectedTicks,l,r)},D=({index:o,style:d})=>{const m=r[o],{startIndex:v,length:R}=y,Y=o>=v&&o<v+R;return t.jsx("div",{style:{...d},children:t.jsx(re,{enabled:N,firstMonthOfFY:s,timeframe:l,tick:m,tickIndex:o,isSelected:Y,onClick:P},o)})},k=document.getElementsByClassName("date-range-list")[0];return t.jsxs(t.Fragment,{children:[t.jsx(G,{ref:x,height:p,width:e,itemCount:r.length,itemSize:h,layout:"horizontal",className:"date-range-list",style:{overflowY:"hidden"},children:D}),z===!0&&k!=null?t.jsx(te,{parentNode:k,children:t.jsx(B,{axis:"x",defaultPosition:{x:0,y:0},position:E,bounds:{left:0,right:(r.length-i.length)*h},grid:[1,0],scale:1,onStop:V,nodeRef:b,children:t.jsxs(K,{numberOfTicksSelected:i.length,ref:b,children:[t.jsx(Q,{children:t.jsx(j,{iconPosition:"left"})}),t.jsx(ee,{children:t.jsx(j,{iconPosition:"right"})})]})})}):null]})}function he(e){return t.jsx(X,{children:t.jsx(_,{children:({width:s})=>t.jsx(le,{...e,width:s})})})}export{p as a,he as p};
64
+ `;function j({iconPosition:e}){switch(e){case"left":return t.jsx(U,{className:"slider-icon",fill:"currentColor"});case"right":return t.jsx(W,{className:"slider-icon",fill:"currentColor"});default:throw Error("Invalid iconPosition")}}function te(e){return q.createPortal(e.children,e.parentNode)}function re({enabled:e,firstMonthOfFY:s,timeframe:l,tick:r,tickIndex:u,isSelected:a,onClick:f}){return t.jsx(Z,{isEnabled:e,isSelected:a,onClick:()=>{f(r,u,l)},children:t.jsx(J,{children:A(s,r,l)})})}function ne(e,s,l,r,u){const a=s-e,f=Math.floor(e/h)+Math.round(a/h),w=f+l.length-r.length,x=f+l.length,b=u-x;return{selectedTicks:{fromStart:{startIndex:f,length:l.length},fromEnd:{offsetFromEnd:b,length:l.length}},highlightedOfSelectedTicks:{startIndex:w,length:r.length}}}function oe(e){return e.startIndex!=null}function I(e,s){let l={startIndex:0,length:0};if(oe(e))l=e;else{const r=e.length;l={startIndex:s.length-e.offsetFromEnd-r+1,length:e.length}}return l}function le({width:e,firstMonthOfFY:s,timeframe:l,timeframeTicks:r,isEnabled:u,selection:a,onClick:f,onSelectionChanged:w}){const x=n.createRef(),b=n.useRef(null),[z,M]=n.useState(!1),[i,T]=n.useState(I(a.selectedTicks,r)),$=n.useRef(i.startIndex);n.useEffect(()=>{$.current=i.startIndex});const[y,C]=n.useState(a.highlightedOfSelectedTicks),O=(i.startIndex+i.length>r.length?Math.max(r.length-i.length,0):i.startIndex)*h,[E,F]=n.useState({x:O,y:0});n.useEffect(()=>{M(!0)},[]),n.useEffect(()=>{const o=I(a.selectedTicks,r);if(!S(i,o)){T(o);const c=o.startIndex*h;F({x:c,y:0})}S(y,a.highlightedOfSelectedTicks)||C(a.highlightedOfSelectedTicks)},[i,y,a,r]),n.useLayoutEffect(()=>{const{startIndex:o,length:c}=i;x.current?.scrollToItem($.current<=o?o+c-1:o)},[x,i]);const N=u!==!1,P=(o,c,m)=>{f?.(m,o)},V=(o,c)=>{const m=ne(E.x,c.x,i,y,r.length);w?.(m.selectedTicks,m.highlightedOfSelectedTicks,l,r)},D=({index:o,style:c})=>{const m=r[o],{startIndex:v,length:R}=y,Y=o>=v&&o<v+R;return t.jsx("div",{style:{...c},children:t.jsx(re,{enabled:N,firstMonthOfFY:s,timeframe:l,tick:m,tickIndex:o,isSelected:Y,onClick:P},o)})},k=document.getElementsByClassName("date-range-list")[0];return t.jsxs(t.Fragment,{children:[t.jsx(G,{ref:x,height:p,width:e,itemCount:r.length,itemSize:h,layout:"horizontal",className:"date-range-list",style:{overflowY:"hidden"},children:D}),z===!0&&k!=null?t.jsx(te,{parentNode:k,children:t.jsx(B,{axis:"x",defaultPosition:{x:0,y:0},position:E,bounds:{left:0,right:(r.length-i.length)*h},grid:[1,0],scale:1,onStop:V,nodeRef:b,children:t.jsxs(K,{numberOfTicksSelected:i.length,ref:b,children:[t.jsx(Q,{children:t.jsx(j,{iconPosition:"left"})}),t.jsx(ee,{children:t.jsx(j,{iconPosition:"right"})})]})})}):null]})}function he(e){return t.jsx(X,{children:t.jsx(_,{children:({width:s})=>t.jsx(le,{...e,width:s})})})}export{p as a,he as p};
@@ -1,4 +1,4 @@
1
- import{V as s,o,ag as f,F as p}from"./index-8Oyhb03N.js";import{n}from"./mui-g2D8ciyb.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="eec28776-4362-4e5e-9e62-1fe27e6c6175",e._sentryDebugIdIdentifier="sentry-dbid-eec28776-4362-4e5e-9e62-1fe27e6c6175")}catch{}})();const u=n.div`
1
+ import{V as s,o,ag as f,F as p}from"./index-BBJ8MbHB.js";import{n}from"./mui-CqcpY1UR.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="eec28776-4362-4e5e-9e62-1fe27e6c6175",e._sentryDebugIdIdentifier="sentry-dbid-eec28776-4362-4e5e-9e62-1fe27e6c6175")}catch{}})();const u=n.div`
2
2
  display: flex;
3
3
  flex-direction: row;
4
4
  align-items: center;
@@ -1,4 +1,4 @@
1
- import{q as d,V as i,y as n,ag as u,bG as w}from"./index-8Oyhb03N.js";import{n as r}from"./mui-g2D8ciyb.js";import{b as l}from"./TimeframeSwitcher-5ql0bSzz-DssdQ-CA.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]="9bdd0c7b-415e-48f1-80f7-0f2c158101e6",e._sentryDebugIdIdentifier="sentry-dbid-9bdd0c7b-415e-48f1-80f7-0f2c158101e6")}catch{}})();const s="ZeniSwitch",t={root:`${s}-root`,switchBase:`${s}-switchBase`,track:`${s}-track`,thumb:`${s}-thumb`},b=({className:e,...o})=>i.jsx(w,{...o,className:e,classes:{...t}}),x=r(b)(({theme:e})=>({[`& .${t.switchBase}`]:{color:e.colors.grey2,margin:0,padding:0,transform:"translateX(6px)"},[`& .${t.track}`]:{backgroundColor:e.colors.grey3,opacity:1},[`& .${t.switchBase}.Mui-checked`]:{color:e.colors.primary},[`& .${t.root}.${t.switchBase}.Mui-checked + .${t.track}`]:{backgroundColor:e.colors.grey1},[`&.${t.root}`]:{width:52,height:20,padding:"5px 10px"},[`& .${t.switchBase}.Mui-checked`]:{color:e.colors.grey5,transform:"translateX(28px)"},[`& .${t.switchBase}.Mui-checked .${t.thumb}`]:{backgroundColor:e.colors.primary},[`& .${t.switchBase}.Mui-checked .${t.thumb}:before`]:{backgroundImage:`url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="13" viewBox="0 0 12 13"><path fill="${encodeURIComponent(e.colors.grey5)}" d="M10.738 2L4.5075 8.4035L1.2615 5.0685L0 6.3655L4.5075 11L12 3.297L10.738 2Z" /></svg>')`},[`& .${t.switchBase}.Mui-checked + .${t.track}`]:{opacity:1,backgroundColor:e.colors.grey1},[`& .${t.switchBase}.Mui-disabled + .${t.track}`]:{opacity:.7},[`& .${t.thumb}`]:{backgroundColor:e.colors.grey2,width:20,height:20,boxShadow:"none","&:before":{content:"''",position:"absolute",width:"100%",height:"100%",left:0,top:0,backgroundRepeat:"no-repeat",backgroundPosition:"center"}},[`& .${t.track}`]:{opacity:1,backgroundColor:e.colors.grey3,borderRadius:10}})),p=e=>i.jsx(x,{...e}),c={timeframePaddingLeft:new n(0,0,125),timeframePaddingBottom:new n(8,8,0)},y=r.div`
1
+ import{q as d,V as i,y as n,ag as u,bG as w}from"./index-BBJ8MbHB.js";import{n as r}from"./mui-CqcpY1UR.js";import{b as l}from"./TimeframeSwitcher-BK-qliOX-BjbSBToW.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]="61b06ed8-3e92-40e3-9044-5e32ee1b03da",e._sentryDebugIdIdentifier="sentry-dbid-61b06ed8-3e92-40e3-9044-5e32ee1b03da")}catch{}})();const s="ZeniSwitch",t={root:`${s}-root`,switchBase:`${s}-switchBase`,track:`${s}-track`,thumb:`${s}-thumb`},b=({className:e,...o})=>i.jsx(w,{...o,className:e,classes:{...t}}),x=r(b)(({theme:e})=>({[`& .${t.switchBase}`]:{color:e.colors.grey2,margin:0,padding:0,transform:"translateX(6px)"},[`& .${t.track}`]:{backgroundColor:e.colors.grey3,opacity:1},[`& .${t.switchBase}.Mui-checked`]:{color:e.colors.primary},[`& .${t.root}.${t.switchBase}.Mui-checked + .${t.track}`]:{backgroundColor:e.colors.grey1},[`&.${t.root}`]:{width:52,height:20,padding:"5px 10px"},[`& .${t.switchBase}.Mui-checked`]:{color:e.colors.grey5,transform:"translateX(28px)"},[`& .${t.switchBase}.Mui-checked .${t.thumb}`]:{backgroundColor:e.colors.primary},[`& .${t.switchBase}.Mui-checked .${t.thumb}:before`]:{backgroundImage:`url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="13" viewBox="0 0 12 13"><path fill="${encodeURIComponent(e.colors.grey5)}" d="M10.738 2L4.5075 8.4035L1.2615 5.0685L0 6.3655L4.5075 11L12 3.297L10.738 2Z" /></svg>')`},[`& .${t.switchBase}.Mui-checked + .${t.track}`]:{opacity:1,backgroundColor:e.colors.grey1},[`& .${t.switchBase}.Mui-disabled + .${t.track}`]:{opacity:.7},[`& .${t.thumb}`]:{backgroundColor:e.colors.grey2,width:20,height:20,boxShadow:"none","&:before":{content:"''",position:"absolute",width:"100%",height:"100%",left:0,top:0,backgroundRepeat:"no-repeat",backgroundPosition:"center"}},[`& .${t.track}`]:{opacity:1,backgroundColor:e.colors.grey3,borderRadius:10}})),p=e=>i.jsx(x,{...e}),c={timeframePaddingLeft:new n(0,0,125),timeframePaddingBottom:new n(8,8,0)},y=r.div`
2
2
  display: flex;
3
3
  width: 100%;
4
4
  flex-direction: column;
@@ -28,4 +28,4 @@ import{q as d,V as i,y as n,ag as u,bG as w}from"./index-8Oyhb03N.js";import{n a
28
28
  `,C=r(u)`
29
29
  color: ${e=>e.isOn?e.theme.colors.primary:e.theme.colors.hero};
30
30
  opacity: ${e=>e.isDisabled?.5:1};
31
- `,f=({label:e,isOn:o,isToggleDisabled:a,onValueChanged:h})=>i.jsxs(i.Fragment,{children:[i.jsx(C,{isOn:o,isDisabled:a===!0,children:e}),i.jsx(p,{checked:o,edge:"end",disabled:a===!0,disableRipple:a===!0,onChange:g=>{h(g.target.checked)}})]}),T=e=>{const o=d();return i.jsxs(y,{children:[i.jsx(m,{windowSize:o,children:i.jsx(l,{timeframes:e.timeframe.allowedTimeframes,selectedTimeframe:e.timeframe.selectedTimeframe,onTimeframeSelectionChanged:e.timeframe.onTimeframeSelectionChanged})}),i.jsx(k,{children:i.jsx(f,{...e.toggle})})]})},v=e=>{const o=d();return i.jsxs($,{children:[i.jsx(m,{windowSize:o,children:i.jsx(l,{timeframes:e.timeframe.allowedTimeframes,selectedTimeframe:e.timeframe.selectedTimeframe,onTimeframeSelectionChanged:e.timeframe.onTimeframeSelectionChanged})}),i.jsx(j,{children:i.jsx(f,{...e.toggle})})]})};function L(e){const o=d();return o==="small"||o==="medium-compact"?i.jsx(T,{...e}):i.jsx(v,{...e})}export{L as M};
31
+ `,h=({label:e,isOn:o,isToggleDisabled:a,onValueChanged:f})=>i.jsxs(i.Fragment,{children:[i.jsx(C,{isOn:o,isDisabled:a===!0,children:e}),i.jsx(p,{checked:o,edge:"end",disabled:a===!0,disableRipple:a===!0,onChange:g=>{f(g.target.checked)}})]}),T=e=>{const o=d();return i.jsxs(y,{children:[i.jsx(m,{windowSize:o,children:i.jsx(l,{timeframes:e.timeframe.allowedTimeframes,selectedTimeframe:e.timeframe.selectedTimeframe,onTimeframeSelectionChanged:e.timeframe.onTimeframeSelectionChanged})}),i.jsx(k,{children:i.jsx(h,{...e.toggle})})]})},v=e=>{const o=d();return i.jsxs($,{children:[i.jsx(m,{windowSize:o,children:i.jsx(l,{timeframes:e.timeframe.allowedTimeframes,selectedTimeframe:e.timeframe.selectedTimeframe,onTimeframeSelectionChanged:e.timeframe.onTimeframeSelectionChanged})}),i.jsx(j,{children:i.jsx(h,{...e.toggle})})]})};function L(e){const o=d();return o==="small"||o==="medium-compact"?i.jsx(T,{...e}):i.jsx(v,{...e})}export{L as M};
@@ -1,4 +1,4 @@
1
- import{aA as M,q as z,V as t,d as x,c as f,b as T,aV as q,aK as H,aI as R,o as p,ag as C,b7 as X,ak as F,F as S,aJ as Y,aP as E,b0 as G,b1 as J,aM as Q,aQ as Z,bO as N}from"./index-8Oyhb03N.js";import{w,a as U}from"./sentry-DlgT2cdq.js";import{EZ as W}from"./zeni-epic-state-C06d6qPM.js";import{n as g}from"./mui-g2D8ciyb.js";import{I as ee,T as te}from"./ReloadCard-DLKVg3Sx-BfmOPc30.js";import{o as ae,r as re}from"./graphic-no-data-l-DU4J8fDt-g9Z3xxM5.js";import{H as k,X as L,Y as O,K as $,O as A,Q as ne,S as oe}from"./recharts-D25xpbsw.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]="3b442d4c-8df5-4da0-b8ac-67b1b57e230d",e._sentryDebugIdIdentifier="sentry-dbid-3b442d4c-8df5-4da0-b8ac-67b1b57e230d")}catch{}})();const ie=g(E)`
1
+ import{aA as M,q as z,V as t,d as x,c as f,b as T,aV as q,aK as H,aI as R,o as p,ag as C,b7 as X,ak as F,F as S,aJ as Y,aP as E,b0 as G,b1 as J,aM as Q,aQ as Z,bO as N}from"./index-BBJ8MbHB.js";import{w,a as U}from"./sentry-CTfRDee5.js";import{EZ as W}from"./zeni-epic-state-n7oqKrUc.js";import{n as g}from"./mui-CqcpY1UR.js";import{I as ee,T as te}from"./ReloadCard-9KpQCrce-Y78Zw9cJ.js";import{o as ae,r as re}from"./graphic-no-data-l-DU4J8fDt-D9COe3MR.js";import{H as k,X as L,Y as O,K as $,O as A,Q as ne,S as oe}from"./recharts-bDaLwU4I.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]="9d46b38a-7f41-469d-bab1-0da2d957986e",e._sentryDebugIdIdentifier="sentry-dbid-9d46b38a-7f41-469d-bab1-0da2d957986e")}catch{}})();const ie=g(E)`
2
2
  justify-content: space-between;
3
3
  margin: 0;
4
4
  height: ${e=>e.height!=null?e.height+"px":"auto"};
@@ -1,4 +1,4 @@
1
- import{d as b,q as S,V as t,bz as A,F as x,aK as j,b1 as B,C as H,o as i,y as E,bN as z,bq as P,c,p as V,ak as $,aM as T,aZ as D}from"./index-8Oyhb03N.js";import{n}from"./mui-g2D8ciyb.js";import{EZ as F}from"./zeni-epic-state-C06d6qPM.js";import{E as _,I as M}from"./TopExCard-BrodwfJq-CtCcUhXs.js";import{b as I}from"./TimeframeSwitcher-5ql0bSzz-DssdQ-CA.js";import{d as Z}from"./NoDataTable-bIZY56VS-BkYRa670.js";import{w as L,a as o}from"./sentry-DlgT2cdq.js";import"./liveblocks-Cv4_XqIL.js";import"./core-CAJzT_Z5.js";import"./recharts-D25xpbsw.js";import"./lottie-CHtoTuG1.js";import"./analytics-8Xbq3yYL.js";import"./lexical-Dn8yVWzX.js";import"./utils-6fMPdJur.js";import"./ReloadCard-DLKVg3Sx-BfmOPc30.js";import"./graphic-no-data-l-DU4J8fDt-g9Z3xxM5.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]="19a31611-d1d5-4654-bfdf-0ec240980b71",e._sentryDebugIdIdentifier="sentry-dbid-19a31611-d1d5-4654-bfdf-0ec240980b71")}catch{}})();const v="141px",O=i.sp4,q="123px",N=n(D)`
1
+ import{d as b,q as S,V as t,bz as A,F as f,aK as j,b1 as B,C as H,o as i,y as E,bN as z,bq as P,c,p as V,ak as $,aM as T,aZ as D}from"./index-BBJ8MbHB.js";import{n}from"./mui-CqcpY1UR.js";import{EZ as F}from"./zeni-epic-state-n7oqKrUc.js";import{E as _,I as M}from"./TopExCard-o4Q3ze1b-CQFtRtLu.js";import{b as I}from"./TimeframeSwitcher-BK-qliOX-BjbSBToW.js";import{d as Z}from"./NoDataTable-BMD2qygC-4Ck98ufk.js";import{w as L,a as o}from"./sentry-CTfRDee5.js";import"./liveblocks-BstIT-4Z.js";import"./core-BiYEzgTE.js";import"./recharts-bDaLwU4I.js";import"./lottie-Dcr3TlBE.js";import"./analytics-C6bOaJY9.js";import"./lexical-Cbl76XZt.js";import"./utils-BI6ira9J.js";import"./ReloadCard-9KpQCrce-Y78Zw9cJ.js";import"./graphic-no-data-l-DU4J8fDt-D9COe3MR.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]="4ba96a4d-101b-4727-9262-35404588fdaa",e._sentryDebugIdIdentifier="sentry-dbid-4ba96a4d-101b-4727-9262-35404588fdaa")}catch{}})();const v="141px",O=i.sp4,q="123px",N=n(D)`
2
2
  color: inherit;
3
3
  width: ${i.sp3};
4
4
  height: ${i.sp3};
@@ -42,7 +42,7 @@ import{d as b,q as S,V as t,bz as A,F as x,aK as j,b1 as B,C as H,o as i,y as E,
42
42
  min-width: ${q};
43
43
  text-align: left;
44
44
  margin-left: ${i.sp4};
45
- `;function G({leftChevron:e,account:l,onAccountBalanceClick:a}){const s=l!=null&&l.balance!=null,r=e==="hidden",g=s?"pointer":"default",d=r===!1&&s,w=d?"pointer":"default",h=r?c[6]:c[4],m=N,{common:{strings:{empty:y}}}=x.getLocalizedStrings(),C=l?.accountDescription?l.accountDescription:y,f=l?.accountName?l.accountName:C;return t.jsxs(R,{isClickable:d,children:[t.jsxs(W,{style:{cursor:w},isClickable:d,children:[r===!1?t.jsx(m,{style:{minWidth:c[3],minHeight:c[3]}}):null,t.jsx(X,{"data-testid":T("top-ex-account-name",f),style:{marginLeft:h},title:f,onClick:()=>{d&&l!=null&&l.balance!=null&&a?.(l)},children:f})]}),t.jsx(J,{style:{cursor:g},children:t.jsx(K,{isClickable:s,onClick:()=>{l?.balance!=null&&a?.(l)},children:j("0,0",l?.balance.available)})})]})}const Q=n.div`
45
+ `;function G({leftChevron:e,account:l,onAccountBalanceClick:a}){const s=l!=null&&l.balance!=null,r=e==="hidden",g=s?"pointer":"default",d=r===!1&&s,w=d?"pointer":"default",h=r?c[6]:c[4],m=N,{common:{strings:{empty:y}}}=f.getLocalizedStrings(),C=l?.accountDescription?l.accountDescription:y,x=l?.accountName?l.accountName:C;return t.jsxs(R,{isClickable:d,children:[t.jsxs(W,{style:{cursor:w},isClickable:d,children:[r===!1?t.jsx(m,{style:{minWidth:c[3],minHeight:c[3]}}):null,t.jsx(X,{"data-testid":T("top-ex-account-name",x),style:{marginLeft:h},title:x,onClick:()=>{d&&l!=null&&l.balance!=null&&a?.(l)},children:x})]}),t.jsx(J,{style:{cursor:g},children:t.jsx(K,{isClickable:s,onClick:()=>{l?.balance!=null&&a?.(l)},children:j("0,0",l?.balance.available)})})]})}const Q=n.div`
46
46
  display: flex;
47
47
  width: 100%;
48
48
  flex-direction: column;
@@ -99,13 +99,13 @@ import{d as b,q as S,V as t,bz as A,F as x,aK as j,b1 as B,C as H,o as i,y as E,
99
99
  padding-bottom: ${i.sp0};
100
100
  padding-left: ${e=>u.wrapperPadding.valuePx(e.windowSize)};
101
101
  padding-right: ${e=>u.wrapperPadding.valuePx(e.windowSize)};
102
- `,fe=n.div`
102
+ `,xe=n.div`
103
103
  display: flex;
104
104
  flex-direction: row;
105
105
  flex: 1 1 auto;
106
106
  justify-content: center;
107
107
  max-width: 100%;
108
- `,xe=n.div`
108
+ `,fe=n.div`
109
109
  display: flex;
110
110
  padding: ${i.sp2} ${i.sp0} ${i.sp4} ${i.sp0};
111
111
  `,ue=n.div`
@@ -129,4 +129,4 @@ import{d as b,q as S,V as t,bz as A,F as x,aK as j,b1 as B,C as H,o as i,y as E,
129
129
  margin-bottom: ${i.sp5};
130
130
  `,$e=n.div`
131
131
  display: flex;
132
- `;function Me(e){const l=b(),{report:a,onTimeframeSelectionChanged:s,onAccountBalanceClick:r,onBackClick:g}=e,d=S(),w=[...F],h=_(a.topExpenses.accountsOrdered),{topExTimePeriod:m,topExpenses:y}=a,C=y.total,f=p=>{e.autoCompleteData.autoCompleteText!=null&&e.analytics?.trackSearch(H.Event.search,"Top Expenses",p.type,p.name,e.autoCompleteData.autoCompleteText),e.autoCompleteActions.onAutoCompleteEntity?.(p)};return t.jsxs(he,{children:[t.jsx(A,{source:"TopExDetailPage",title:x.getLocalizedStrings().reportTitleById.top_expenses,backgroundColor:l.colors.grey5,onBackClick:g,searchAutoComplete:{autoCompleteData:e.autoCompleteData,autoCompleteActions:{...e.autoCompleteActions,onAutoCompleteEntity:f}}}),t.jsxs(me,{windowSize:d,children:[t.jsx(xe,{children:t.jsx(fe,{children:t.jsx(I,{timeframes:w,selectedTimeframe:m,onTimeframeSelectionChanged:p=>{s?.(p)}})})}),h?null:t.jsxs(ge,{children:[t.jsx(we,{children:j("0,0",C)}),t.jsx(ye,{children:x.getLocalizedStrings().reports.detail.topEx.insightLabel})]}),h?t.jsx($e,{children:t.jsx(pe,{title:`${x.getLocalizedStrings().chartCard.no_data_available_for} ${x.getLocalizedStrings().timeframe[m]}`})}):t.jsx(Ce,{windowSize:d,children:t.jsx(B,{style:{height:"fit-content"},children:({height:p,width:k})=>t.jsx(M,{report:a,timeframe:m,showBarHoverBackground:!1,width:k,height:p,isDetailPage:!0})})})]}),t.jsx(ue,{windowSize:d,children:h?t.jsx(Z,{}):t.jsx(ne,{report:a,onAccountBalanceClick:r})})]})}export{Me as default};
132
+ `;function Me(e){const l=b(),{report:a,onTimeframeSelectionChanged:s,onAccountBalanceClick:r,onBackClick:g}=e,d=S(),w=[...F],h=_(a.topExpenses.accountsOrdered),{topExTimePeriod:m,topExpenses:y}=a,C=y.total,x=p=>{e.autoCompleteData.autoCompleteText!=null&&e.analytics?.trackSearch(H.Event.search,"Top Expenses",p.type,p.name,e.autoCompleteData.autoCompleteText),e.autoCompleteActions.onAutoCompleteEntity?.(p)};return t.jsxs(he,{children:[t.jsx(A,{source:"TopExDetailPage",title:f.getLocalizedStrings().reportTitleById.top_expenses,backgroundColor:l.colors.grey5,onBackClick:g,searchAutoComplete:{autoCompleteData:e.autoCompleteData,autoCompleteActions:{...e.autoCompleteActions,onAutoCompleteEntity:x}}}),t.jsxs(me,{windowSize:d,children:[t.jsx(fe,{children:t.jsx(xe,{children:t.jsx(I,{timeframes:w,selectedTimeframe:m,onTimeframeSelectionChanged:p=>{s?.(p)}})})}),h?null:t.jsxs(ge,{children:[t.jsx(we,{children:j("0,0",C)}),t.jsx(ye,{children:f.getLocalizedStrings().reports.detail.topEx.insightLabel})]}),h?t.jsx($e,{children:t.jsx(pe,{title:`${f.getLocalizedStrings().chartCard.no_data_available_for} ${f.getLocalizedStrings().timeframe[m]}`})}):t.jsx(Ce,{windowSize:d,children:t.jsx(B,{style:{height:"fit-content"},children:({height:p,width:k})=>t.jsx(M,{report:a,timeframe:m,showBarHoverBackground:!1,width:k,height:p,isDetailPage:!0})})})]}),t.jsx(ue,{windowSize:d,children:h?t.jsx(Z,{}):t.jsx(ne,{report:a,onAccountBalanceClick:r})})]})}export{Me as default};
@@ -1,4 +1,4 @@
1
- import{R as qn,v as Wn,d as Pt,a8 as Fn,q as ae,F as q,aN as Jt,dN as Hn,dO as Gn,cB as Yn,aA as Zn,dP as nn,dQ as Jn,V as i,ab as Qn,bz as Xn,dR as Kn,dS as ea,m as oi,dT as zi,aO as ta,y as N,aM as W,dU as an,dV as Te,dW as Oe,dX as Pe,dY as Ke,dZ as et,d_ as St,d$ as kt,e0 as tt,e1 as gt,e2 as zt,e3 as At,e4 as Qt,e5 as ee,e6 as ia,e7 as ei,e8 as ue,e9 as on,ea as pe,eb as sn,aG as na,ec as Dt,ed as Ai,ee as aa,n as oa,cm as sa,o as a,ca as la,ef as ra,c as O,C as wi,p as le,ap as Di,b8 as si,u as ca,eg as da,ch as ua,cf as li,cO as st,eh as pa,ei as Ht,aR as ln,cT as ma,ej as ha,cd as ga,ce as fa,aK as Le,ak as fe,aZ as ya,ek as ba,el as rn,em as Xt,en as Kt,eo as mi,dc as xa,b1 as wa,cq as va,cW as Ti,a7 as cn,ep as ti,eq as ii,er as dn,cU as un,bQ as Oi,es as hi,dh as gi,et as Ca,bq as Ia,eu as Ri,ev as $a,ew as Da,ax as Ta,cX as Oa,ex as La,a as pn,ey as mn,bH as ja,ez as Vi,eA as hn,eB as gn,eC as fn,bF as lt,at as Sa,as as ka,dq as za,b as yn,eD as Aa,bD as Ra,L as Va,al as Ea,s as Pa,aT as vi}from"./index-8Oyhb03N.js";import{a as v,w as Tt}from"./sentry-DlgT2cdq.js";import{n as l}from"./mui-g2D8ciyb.js";import{Fo as _a,uu as Na,bE as Vt,bD as Et,bF as Ma,c3 as Ua,l8 as Ba,bh as qa}from"./zeni-epic-state-C06d6qPM.js";import{x as Ei}from"./LabeledControlledCheckBoxField-BSciMX7_-DPxXu2WP.js";import{R as Wa}from"./TrendWithTransactions-CpQPkCN4-BsbzS6I7.js";import{u as Fa,c as Ha,d as Ga,m as Ya}from"./uploadAttachment-Cs2BAs2F-D_sz5Hgk.js";import{o as Za}from"./radio-default-CiSgisfh-CJW6suVR.js";import"./liveblocks-Cv4_XqIL.js";import"./core-CAJzT_Z5.js";import"./recharts-D25xpbsw.js";import"./lottie-CHtoTuG1.js";import"./analytics-8Xbq3yYL.js";import"./lexical-Dn8yVWzX.js";import"./utils-6fMPdJur.js";import"./TrendChart-C7DgNHh6-BQX-LQlK.js";import"./chartTypes-h1GkAvwh-DVHQunLU.js";import"./toCOABalancesWithID-DScSc4rG-2ZhnxEpw.js";import"./toChartData-BYQCR1Q4-BauxqVGI.js";import"./NoDataChart-CRhOisS1-NaiacaKQ.js";import"./InsightsSection-BrjpMz4X-DhT6u3Y9.js";import"./NavigationDots-BSjG6OlY-Bmp_8_u3.js";import"./TransactionList-DMb2xYOV-CURTWhIN.js";import"./BoxItem-Cb4_ZBkK-B6f6pk_I.js";import"./commonDimensions-7B20r1RL-DX4q8TH6.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="ed995dd6-2f02-40f4-95f0-268439a7bba4",e._sentryDebugIdIdentifier="sentry-dbid-ed995dd6-2f02-40f4-95f0-268439a7bba4")}catch{}})();const Ja={headerMarginTop:new N(O[7],O[8])},Qa=l(fe)`
1
+ import{R as qn,v as Wn,d as Pt,a8 as Fn,q as ae,F as q,aN as Jt,dN as Hn,dO as Gn,cB as Yn,aA as Zn,dP as nn,dQ as Jn,V as i,ab as Qn,bz as Xn,dR as Kn,dS as ea,m as oi,dT as zi,aO as ta,y as N,aM as W,dU as an,dV as Te,dW as Oe,dX as Pe,dY as Ke,dZ as et,d_ as St,d$ as kt,e0 as tt,e1 as gt,e2 as zt,e3 as At,e4 as Qt,e5 as ee,e6 as ia,e7 as ei,e8 as ue,e9 as on,ea as pe,eb as sn,aG as na,ec as Dt,ed as Ai,ee as aa,n as oa,cm as sa,o as a,ca as la,ef as ra,c as O,C as wi,p as le,ap as Di,b8 as si,u as ca,eg as da,ch as ua,cf as li,cO as st,eh as pa,ei as Ht,aR as ln,cT as ma,ej as ha,cd as ga,ce as fa,aK as Le,ak as fe,aZ as ya,ek as ba,el as rn,em as Xt,en as Kt,eo as mi,dc as xa,b1 as wa,cq as va,cW as Ti,a7 as cn,ep as ti,eq as ii,er as dn,cU as un,bQ as Oi,es as hi,dh as gi,et as Ca,bq as Ia,eu as Ri,ev as $a,ew as Da,ax as Ta,cX as Oa,ex as La,a as pn,ey as mn,bH as ja,ez as Vi,eA as hn,eB as gn,eC as fn,bF as lt,at as Sa,as as ka,dq as za,b as yn,eD as Aa,bD as Ra,L as Va,al as Ea,s as Pa,aT as vi}from"./index-BBJ8MbHB.js";import{a as v,w as Tt}from"./sentry-CTfRDee5.js";import{n as l}from"./mui-CqcpY1UR.js";import{Fo as _a,uu as Na,bE as Vt,bD as Et,bF as Ma,c3 as Ua,l8 as Ba,bh as qa}from"./zeni-epic-state-n7oqKrUc.js";import{x as Ei}from"./LabeledControlledCheckBoxField-Btw_zwzy-I7spg7Dx.js";import{R as Wa}from"./TrendWithTransactions-BicIDSlC-GPxD5Pyy.js";import{u as Fa,c as Ha,d as Ga,m as Ya}from"./uploadAttachment-B4ddYCCL-B4kq7cBL.js";import{o as Za}from"./radio-default-CiSgisfh-yEV1b0CM.js";import"./liveblocks-BstIT-4Z.js";import"./core-BiYEzgTE.js";import"./recharts-bDaLwU4I.js";import"./lottie-Dcr3TlBE.js";import"./analytics-C6bOaJY9.js";import"./lexical-Cbl76XZt.js";import"./utils-BI6ira9J.js";import"./TrendChart-BI4Tz813-BMzjSOb0.js";import"./chartTypes-BPPSjkhb-H7A_cnp3.js";import"./toCOABalancesWithID-CkjRB0sJ-DDXgenlP.js";import"./toChartData-CMi2WgAy-Bk_h1ue0.js";import"./NoDataChart-DLKHNXD4-CdqcDLeH.js";import"./InsightsSection-BTXj5WUe-BehAISJe.js";import"./NavigationDots-B0_dDbgu-D1euhRa0.js";import"./TransactionList-YI4oZaim-xbjxS_zo.js";import"./BoxItem-WOrvBzns-DD4R649W.js";import"./commonDimensions-Ds75pRzR-DJ4H9OI5.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="72f126aa-b82b-446c-9311-49d5a90aea5f",e._sentryDebugIdIdentifier="sentry-dbid-72f126aa-b82b-446c-9311-49d5a90aea5f")}catch{}})();const Ja={headerMarginTop:new N(O[7],O[8])},Qa=l(fe)`
2
2
  color: ${e=>e.theme.colors.hero};
3
3
  `,Xa=l(fe)`
4
4
  margin-right: ${a.sp1};
@@ -1,4 +1,4 @@
1
- import{ca as ct,q as R,V as e,b1 as mt,aM as x,dc as ft,dd as xt,d7 as ut,de as ht,o,p as q,cq as pt,F as y,y as J,m as gt,ak as v,c as g,ag as bt,df as K,c_ as X,aK as G,al as wt}from"./index-8Oyhb03N.js";import{a as p,w as $t}from"./sentry-DlgT2cdq.js";import{n}from"./mui-g2D8ciyb.js";import{E_ as A,E$ as V,F0 as Q,F1 as L,bh as yt,Fd as tt,bE as et}from"./zeni-epic-state-C06d6qPM.js";import{g as it}from"./BoxItem-Cb4_ZBkK-B6f6pk_I.js";import{o as B}from"./commonDimensions-7B20r1RL-DX4q8TH6.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},i=new t.Error().stack;i&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[i]="5905f85a-0eef-433d-bb94-228b63500bf1",t._sentryDebugIdIdentifier="sentry-dbid-5905f85a-0eef-433d-bb94-228b63500bf1")}catch{}})();const D=t=>t?24:125,vt={containerPaddingBottom:new J(g[9],g[8])},U=n.div`
1
+ import{ca as ct,q as R,V as e,b1 as mt,aM as x,dc as ft,dd as xt,d7 as ut,de as ht,o,p as q,cq as pt,F as y,y as J,m as gt,ak as v,c as g,ag as bt,df as K,c_ as X,aK as G,al as wt}from"./index-BBJ8MbHB.js";import{a as p,w as $t}from"./sentry-CTfRDee5.js";import{n}from"./mui-CqcpY1UR.js";import{E_ as A,E$ as V,F0 as Q,F1 as L,bh as yt,Fd as tt,bE as et}from"./zeni-epic-state-n7oqKrUc.js";import{g as it}from"./BoxItem-WOrvBzns-DD4R649W.js";import{o as B}from"./commonDimensions-Ds75pRzR-DJ4H9OI5.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},i=new t.Error().stack;i&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[i]="ac98576c-0df2-4cdb-9167-4849d2d1e7e7",t._sentryDebugIdIdentifier="sentry-dbid-ac98576c-0df2-4cdb-9167-4849d2d1e7e7")}catch{}})();const D=t=>t?24:125,vt={containerPaddingBottom:new J(g[9],g[8])},U=n.div`
2
2
  box-sizing: border-box;
3
3
  display: flex;
4
4
  flex: 1 1 auto;
@@ -1,4 +1,4 @@
1
- import{y as a,q as R,av as W,aB as ie,aV as ne,V as t,b1 as re,aM as w,c as n,b as ae,p as B,o,a as j,B as Q,F as $,bo as se,bp as le,ag as de,ap as ce,aK as me,bq as pe,an as he,m as ge,C as G,br as X,n as V,aQ as ee}from"./index-8Oyhb03N.js";import{a as U,w as z}from"./sentry-DlgT2cdq.js";import{n as i,c as ue}from"./mui-g2D8ciyb.js";import{EG as xe,bg as we,bC as N}from"./zeni-epic-state-C06d6qPM.js";import{G as $e,c as ye}from"./AccountsPromoCardStack-Ukdm1VDj-BGFwsHLX.js";import"./liveblocks-Cv4_XqIL.js";import"./core-CAJzT_Z5.js";import"./recharts-D25xpbsw.js";import"./lottie-CHtoTuG1.js";import"./analytics-8Xbq3yYL.js";import"./lexical-Dn8yVWzX.js";import"./utils-6fMPdJur.js";import"./SummaryCard-C2KHXXwg-BERge4v0.js";import"./ReloadCard-DLKVg3Sx-BfmOPc30.js";import"./NavigationArrow-6jp6I9fp-pb2zk4A2.js";import"./NavigationDots-BSjG6OlY-Bmp_8_u3.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},u=new e.Error().stack;u&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[u]="9092858e-c39f-47ce-ac6a-3d520d231c09",e._sentryDebugIdIdentifier="sentry-dbid-9092858e-c39f-47ce-ac6a-3d520d231c09")}catch{}})();const be={textContainer:new j("extraSmallRegular","smallRegular")},fe=i.div`
1
+ import{y as a,q as R,av as W,aB as ie,aV as ne,V as t,b1 as re,aM as w,c as n,b as ae,p as B,o,a as j,B as Q,F as $,bo as se,bp as le,ag as de,ap as ce,aK as me,bq as pe,an as he,m as ge,C as G,br as X,n as V,aQ as ee}from"./index-BBJ8MbHB.js";import{a as U,w as z}from"./sentry-CTfRDee5.js";import{n as i,c as ue}from"./mui-CqcpY1UR.js";import{EG as xe,bg as we,bC as N}from"./zeni-epic-state-n7oqKrUc.js";import{G as $e,c as be}from"./AccountsPromoCardStack-CTkwARBJ-Dqd8qLkS.js";import"./liveblocks-BstIT-4Z.js";import"./core-BiYEzgTE.js";import"./recharts-bDaLwU4I.js";import"./lottie-Dcr3TlBE.js";import"./analytics-C6bOaJY9.js";import"./lexical-Cbl76XZt.js";import"./utils-BI6ira9J.js";import"./SummaryCard-Byv4Hw8Q-CEnhPnYc.js";import"./ReloadCard-9KpQCrce-Y78Zw9cJ.js";import"./NavigationArrow-JLUXaIrz-BZffLUxV.js";import"./NavigationDots-B0_dDbgu-D1euhRa0.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},u=new e.Error().stack;u&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[u]="2b9c34bc-03b1-4e58-908e-6baaac983ef4",e._sentryDebugIdIdentifier="sentry-dbid-2b9c34bc-03b1-4e58-908e-6baaac983ef4")}catch{}})();const ye={textContainer:new j("extraSmallRegular","smallRegular")},fe=i.div`
2
2
  color: ${e=>e.theme.colors.hero};
3
3
  cursor: default;
4
4
  `,ve=i.div`
@@ -9,7 +9,7 @@ import{y as a,q as R,av as W,aB as ie,aV as ne,V as t,b1 as re,aM as w,c as n,b
9
9
  top: -2px;
10
10
  position: relative;
11
11
  color: ${e=>e.theme.colors.grey1};
12
- ${e=>`${be.textContainer.style(e.windowSize)}`};
12
+ ${e=>`${ye.textContainer.style(e.windowSize)}`};
13
13
  `,Se=i(X)`
14
14
  width: ${o.sp3};
15
15
  height: ${o.sp3};
@@ -97,7 +97,7 @@ import{y as a,q as R,av as W,aB as ie,aV as ne,V as t,b1 as re,aM as w,c as n,b
97
97
  background: ${e=>e.theme.colors.background};
98
98
  text-align: center;
99
99
  border-radius: ${o.sp1};
100
- `;function Te({accountDetails:e,analytics:u,isZeniUser:c,onSetAccountsStatementDate:C}){const m=$.getLocalizedStrings().statementCloseDay.dropdown.option1,h=$.getLocalizedStrings().statementCloseDay.dropdown.option2,[P,f]=z.useState(!1),r=e.statementCloseDay,[b,y]=z.useState(r!=="LAST_DAY_OF_THE_MONTH"?m:h),[x,p]=z.useState(r!=="LAST_DAY_OF_THE_MONTH"?r:void 0),[_,T]=z.useState(!1),E=z.useRef(r),A=W();z.useEffect(()=>{E.current!==r&&T(!1)},[r]);const H=s=>{N(A.loggedInUserRole??[])&&(s.stopPropagation(),s.preventDefault(),f(!0),u.trackCardStatementCloseDate(G.Event.cardStatementCloseDateClicked,e.accountId,e.accountName,"Card Balance",""))},L=s=>{const d=["th","st","nd","rd"],Z=s%100;return s+(d[(Z-20)%10]||d[Z]||d[0])};let k="";r!==void 0&&(r==="LAST_DAY_OF_THE_MONTH"?k=$.getLocalizedStrings().statementCloseDay.ordinalText.lastDate:k=`${$.getLocalizedStrings().statementCloseDay.ordinalText.prefix} ${L(r)} ${$.getLocalizedStrings().statementCloseDay.ordinalText.suffix}`);const I=s=>{const d=s.target.value;d===h&&p(void 0),y(d)},g=(s,d)=>{s.stopPropagation(),p(d),y(m)},v=()=>{p(void 0),y(h)},F=()=>{const s=e.accountId,d=x??"LAST_DAY_OF_THE_MONTH";r!==d&&(T(!0),C?.(s,d)),f(!1),u.trackCardStatementCloseDate(G.Event.cardStatementCloseDateSaved,e.accountId,e.accountName,"Card Balance",x!==void 0?`${x}`:"End")},te=()=>t.jsxs(J,{children:[$.getLocalizedStrings().statementCloseDay.pickDate.prefix,t.jsx(Be,{children:x??" - "}),$.getLocalizedStrings().statementCloseDay.pickDate.suffix]}),oe=()=>t.jsxs(Ce,{role:"presentation","data-testid":w("statement-close-day-section"),onClick:s=>{s.stopPropagation()},children:[t.jsxs(q,{checked:b===m,children:[t.jsx("input",{type:"radio",name:"statementCloseDay",id:m,value:m,onChange:I,checked:b===m,style:{width:"100%"},"data-testid":w("statement-close-day-input")}),te(),t.jsx(ke,{children:Array.from({length:28},(s,d)=>d+1).map(s=>t.jsx(je,{isSelectedDate:s===x,"data-testid":w("statement-close-day-text"),onClick:d=>g(d,s),children:t.jsx(Pe,{children:s})},s))})]}),t.jsxs(q,{checked:b===h,children:[t.jsx("input",{type:"radio",name:"statementCloseDay",id:h,value:h,onChange:I,checked:b===h,style:{width:"100%"},"data-testid":w("statement-close-day-input-last-day")}),t.jsx(J,{onClick:()=>v(),children:$.getLocalizedStrings().statementCloseDay.lastDate.text})]}),t.jsxs(De,{children:[t.jsx(V,{size:"small",variant:"secondary",label:"Cancel",onClick:()=>{f(!1)},style:{marginRight:o.sp3},"data-testid":w("statement-close-day-button-secondary")}),t.jsx(V,{size:"small",variant:"primary",label:"Save",onClick:F,disabled:x==null&&b!==h,"data-testid":w("statement-close-day-button-primary")})]})]}),O=R();return t.jsx(he,{onClickAway:()=>f(!1),children:t.jsxs("div",{onClick:H,"data-testid":w("statement-close-day-modal"),children:[_?t.jsx(ge,{size:"Small",start:!0}):k?t.jsxs(fe,{"data-testid":w("edit-statement-close-day"),children:[t.jsx(Se,{}),t.jsx(Y,{className:"statementCloseDayText",windowSize:O,children:k})]}):N(A.loggedInUserRole??[])&&c===!0?t.jsxs(ve,{"data-testid":w("add-statement-close-day"),children:[t.jsx(ze,{}),t.jsx(Y,{className:"statementCloseDayText",windowSize:O,children:$.getLocalizedStrings().statementCloseDay.statement})]}):"",P?oe():""]})})}const Ae=new a(n[9],98),S={contentContainerPadding:new a(n[3],n[4]),minItemHeight:new a(n[9],96),imageHeight:new a(n[5],n[7]),imageWidth:new a(n[5],n[7]),amountWrapperWidth:new a(100,230),titleLeftMargin:new a(n[2],n[3])},He={textContainer:new j("standardMedium","largeMedium")},Ie=i.div`
100
+ `;function Te({accountDetails:e,analytics:u,isZeniUser:c,onSetAccountsStatementDate:C}){const m=$.getLocalizedStrings().statementCloseDay.dropdown.option1,h=$.getLocalizedStrings().statementCloseDay.dropdown.option2,[P,f]=z.useState(!1),r=e.statementCloseDay,[y,b]=z.useState(r!=="LAST_DAY_OF_THE_MONTH"?m:h),[x,p]=z.useState(r!=="LAST_DAY_OF_THE_MONTH"?r:void 0),[_,T]=z.useState(!1),E=z.useRef(r),A=W();z.useEffect(()=>{E.current!==r&&T(!1)},[r]);const H=s=>{N(A.loggedInUserRole??[])&&(s.stopPropagation(),s.preventDefault(),f(!0),u.trackCardStatementCloseDate(G.Event.cardStatementCloseDateClicked,e.accountId,e.accountName,"Card Balance",""))},L=s=>{const d=["th","st","nd","rd"],Z=s%100;return s+(d[(Z-20)%10]||d[Z]||d[0])};let k="";r!==void 0&&(r==="LAST_DAY_OF_THE_MONTH"?k=$.getLocalizedStrings().statementCloseDay.ordinalText.lastDate:k=`${$.getLocalizedStrings().statementCloseDay.ordinalText.prefix} ${L(r)} ${$.getLocalizedStrings().statementCloseDay.ordinalText.suffix}`);const I=s=>{const d=s.target.value;d===h&&p(void 0),b(d)},g=(s,d)=>{s.stopPropagation(),p(d),b(m)},v=()=>{p(void 0),b(h)},F=()=>{const s=e.accountId,d=x??"LAST_DAY_OF_THE_MONTH";r!==d&&(T(!0),C?.(s,d)),f(!1),u.trackCardStatementCloseDate(G.Event.cardStatementCloseDateSaved,e.accountId,e.accountName,"Card Balance",x!==void 0?`${x}`:"End")},te=()=>t.jsxs(J,{children:[$.getLocalizedStrings().statementCloseDay.pickDate.prefix,t.jsx(Be,{children:x??" - "}),$.getLocalizedStrings().statementCloseDay.pickDate.suffix]}),oe=()=>t.jsxs(Ce,{role:"presentation","data-testid":w("statement-close-day-section"),onClick:s=>{s.stopPropagation()},children:[t.jsxs(q,{checked:y===m,children:[t.jsx("input",{type:"radio",name:"statementCloseDay",id:m,value:m,onChange:I,checked:y===m,style:{width:"100%"},"data-testid":w("statement-close-day-input")}),te(),t.jsx(ke,{children:Array.from({length:28},(s,d)=>d+1).map(s=>t.jsx(je,{isSelectedDate:s===x,"data-testid":w("statement-close-day-text"),onClick:d=>g(d,s),children:t.jsx(Pe,{children:s})},s))})]}),t.jsxs(q,{checked:y===h,children:[t.jsx("input",{type:"radio",name:"statementCloseDay",id:h,value:h,onChange:I,checked:y===h,style:{width:"100%"},"data-testid":w("statement-close-day-input-last-day")}),t.jsx(J,{onClick:()=>v(),children:$.getLocalizedStrings().statementCloseDay.lastDate.text})]}),t.jsxs(De,{children:[t.jsx(V,{size:"small",variant:"secondary",label:"Cancel",onClick:()=>{f(!1)},style:{marginRight:o.sp3},"data-testid":w("statement-close-day-button-secondary")}),t.jsx(V,{size:"small",variant:"primary",label:"Save",onClick:F,disabled:x==null&&y!==h,"data-testid":w("statement-close-day-button-primary")})]})]}),O=R();return t.jsx(he,{onClickAway:()=>f(!1),children:t.jsxs("div",{onClick:H,"data-testid":w("statement-close-day-modal"),children:[_?t.jsx(ge,{size:"Small",start:!0}):k?t.jsxs(fe,{"data-testid":w("edit-statement-close-day"),children:[t.jsx(Se,{}),t.jsx(Y,{className:"statementCloseDayText",windowSize:O,children:k})]}):N(A.loggedInUserRole??[])&&c===!0?t.jsxs(ve,{"data-testid":w("add-statement-close-day"),children:[t.jsx(ze,{}),t.jsx(Y,{className:"statementCloseDayText",windowSize:O,children:$.getLocalizedStrings().statementCloseDay.statement})]}):"",P?oe():""]})})}const Ae=new a(n[9],98),S={contentContainerPadding:new a(n[3],n[4]),minItemHeight:new a(n[9],96),imageHeight:new a(n[5],n[7]),imageWidth:new a(n[5],n[7]),amountWrapperWidth:new a(100,230),titleLeftMargin:new a(n[2],n[3])},He={textContainer:new j("standardMedium","largeMedium")},Ie=i.div`
101
101
  display: flex;
102
102
  width: 100%;
103
103
  `,Re=i.div`
@@ -157,7 +157,7 @@ import{y as a,q as R,av as W,aB as ie,aV as ne,V as t,b1 as re,aM as w,c as n,b
157
157
  align-items: flex-end;
158
158
  flex-direction: column;
159
159
  justify-content: center;
160
- `,Ue=i(pe)``;function Ne({data:e,showStatementSection:u,analytics:c,isZeniUser:C,onItemClick:m,onSetAccountsStatementDate:h}){const{key:P,title:f,amount:r,logoUri:b}=e,y=W(),x=y.loggedInUserRole!=null&&!we(y.loggedInUserRole),p=R();return t.jsx(Ie,{windowSize:p,children:t.jsx(Re,{"data-testid":w("transaction-list-item-big",e.title),windowSize:p,showEditStatementIcon:N(y.loggedInUserRole??[])&&C===!0,isClickEnabled:x,onClick:()=>x===!0?m?.(P,e.source):null,children:t.jsxs(Me,{windowSize:p,children:[t.jsxs(_e,{windowSize:p,children:[t.jsx(Ee,{windowSize:p,src:b,loading:"lazy"}),t.jsx(Le,{windowSize:p,children:f})]}),t.jsxs(Fe,{windowSize:p,children:[t.jsx(Ue,{children:me("0,0",r)}),u&&p!=="small"&&t.jsx(Te,{accountDetails:e.source,isZeniUser:C,onSetAccountsStatementDate:h,analytics:c})]})]})})})}const We=z.memo(Ne),D=$.getLocalizedStrings().zeniAccountsPromoCard,l={marginTop:new a(n[6],n[8]),marginBottom:new a(n[3],n[4]),itemPaddingBottom:new a(n[3],n[4]),maxWidth:new a(100,67),sectionTitleHeight:new a(83,110),promoBannerPadding:new a(n[3],n[4]),promoBannerMarginBottom:new a(n[3],n[4]),promoBannerGap:new a(n[1],n[3]),promoHighlightContainerMaxHeight:new a(30,ae.h5Regular.lineHeightValue),promoButtonBorderRadius:new a(n[1],n[2]),promoButtonPaddingVertical:new a(2,6),promoButtonPaddingHorizontal:new a(n[1],n[3]),promoFooterPositionBottom:new a(n[3],n[1]),promoFooterPositionRight:new a(n[3],n[4]),promoFooterMarginTop:new a(0,n[2])},M={textContainer:new j("largeMedium","h6Medium"),promoText:new j("extraSmallRegular","standardRegular"),promoHighlightText:new j("extraLargeRegular","h5Regular"),promoButtonText:new j("extraSmallMedium","smallRegular")},K=8,Oe=i.div`
160
+ `,Ue=i(pe)``;function Ne({data:e,showStatementSection:u,analytics:c,isZeniUser:C,onItemClick:m,onSetAccountsStatementDate:h}){const{key:P,title:f,amount:r,logoUri:y}=e,b=W(),x=b.loggedInUserRole!=null&&!we(b.loggedInUserRole),p=R();return t.jsx(Ie,{windowSize:p,children:t.jsx(Re,{"data-testid":w("transaction-list-item-big",e.title),windowSize:p,showEditStatementIcon:N(b.loggedInUserRole??[])&&C===!0,isClickEnabled:x,onClick:()=>x===!0?m?.(P,e.source):null,children:t.jsxs(Me,{windowSize:p,children:[t.jsxs(_e,{windowSize:p,children:[t.jsx(Ee,{windowSize:p,src:y,loading:"lazy"}),t.jsx(Le,{windowSize:p,children:f})]}),t.jsxs(Fe,{windowSize:p,children:[t.jsx(Ue,{children:me("0,0",r)}),u&&p!=="small"&&t.jsx(Te,{accountDetails:e.source,isZeniUser:C,onSetAccountsStatementDate:h,analytics:c})]})]})})})}const We=z.memo(Ne),D=$.getLocalizedStrings().zeniAccountsPromoCard,l={marginTop:new a(n[6],n[8]),marginBottom:new a(n[3],n[4]),itemPaddingBottom:new a(n[3],n[4]),maxWidth:new a(100,67),sectionTitleHeight:new a(83,110),promoBannerPadding:new a(n[3],n[4]),promoBannerMarginBottom:new a(n[3],n[4]),promoBannerGap:new a(n[1],n[3]),promoHighlightContainerMaxHeight:new a(30,ae.h5Regular.lineHeightValue),promoButtonBorderRadius:new a(n[1],n[2]),promoButtonPaddingVertical:new a(2,6),promoButtonPaddingHorizontal:new a(n[1],n[3]),promoFooterPositionBottom:new a(n[3],n[1]),promoFooterPositionRight:new a(n[3],n[4]),promoFooterMarginTop:new a(0,n[2])},M={textContainer:new j("largeMedium","h6Medium"),promoText:new j("extraSmallRegular","standardRegular"),promoHighlightText:new j("extraLargeRegular","h5Regular"),promoButtonText:new j("extraSmallMedium","smallRegular")},K=8,Oe=i.div`
161
161
  display: flex;
162
162
  flex: 1 1 auto;
163
163
  flex-direction: column;
@@ -281,4 +281,4 @@ import{y as a,q as R,av as W,aB as ie,aV as ne,V as t,b1 as re,aM as w,c as n,b
281
281
  position: absolute;
282
282
  bottom: ${e=>l.promoFooterPositionBottom.valuePx(e.size)};
283
283
  right: ${e=>l.promoFooterPositionRight.valuePx(e.size)};
284
- `,at=({sectionTitle:e,totalFormatted:u})=>{const c=R();return t.jsx(Ze,{windowSize:c,children:t.jsxs(Ve,{windowSize:c,children:[t.jsx(Ye,{children:e}),t.jsx(qe,{children:u})]})})};function St({sectionTitle:e,analytics:u,transactionArray:c,isZeniUser:C,zeniAccountsPromoCardReport:m,onItemClick:h,onSetAccountsStatementDate:P,onPromoCardBtnClick:f}){const r=R(),b=U.createRef(),[y,x]=U.useState(0),p=W(),_=ie(c,function(g,v){return g+(v.amount?.amount??0)},0),T=c.length>0?c[0].amount?.currencySymbol:"",E=ne("0,0",_,T),A=({index:g,style:v})=>t.jsx("div",{style:{...v},children:t.jsx(Je,{children:t.jsx(Ke,{windowSize:r,children:t.jsx(We,{data:c[g],showStatementSection:e===$.getLocalizedStrings().balanceCard.cardBalanceSectionTitle,isZeniUser:C,analytics:u,onItemClick:h,onSetAccountsStatementDate:P})})})}),H=U.useRef(null),L=()=>{const g=H.current;g!=null&&g.clientHeight>0&&g.clientHeight!=y&&x(g.clientHeight)},k=()=>{f?.(m?.depositAccountId??"")},I=xe(p.loggedInUserRoleMap);return t.jsxs(Oe,{windowSize:r,listHeight:y,"data-testid":w("transaction-list-big"),children:[t.jsx(at,{sectionTitle:e,totalFormatted:E}),t.jsx(Ge,{children:t.jsx(re,{children:({height:g,width:v})=>t.jsxs(t.Fragment,{children:[m?.isShowDepositAccountsPromo===!0?t.jsxs(Xe,{width:v,size:r,children:[t.jsxs(et,{size:r,children:[t.jsx(tt,{size:r,children:D.keepInterest.prefixCashBalance}),t.jsx(ot,{size:r,children:$e("keepInterest",ye(m.maxPossibleInterest??0))})]}),t.jsx(it,{onClick:k,size:r,children:t.jsx(nt,{size:r,children:I?m.depositAccountId!=null?D.button:D.signUp:D.learnMore})}),t.jsx(rt,{size:r,children:D.keepInterest.footer.replace(/<interest>/,m.maxAnnualPercentageYield.toString())})]}):null,t.jsx(Qe,{ref:b,height:g,width:v,style:{overflow:"unset"},itemCount:c.length,itemSize:Ae.value(r)+l.itemPaddingBottom.value(r),onItemsRendered:L,itemKey:F=>c[F].key,innerRef:H,children:A})]})})})]})}export{St as default,l as dimensions};
284
+ `,at=({sectionTitle:e,totalFormatted:u})=>{const c=R();return t.jsx(Ze,{windowSize:c,children:t.jsxs(Ve,{windowSize:c,children:[t.jsx(Ye,{children:e}),t.jsx(qe,{children:u})]})})};function St({sectionTitle:e,analytics:u,transactionArray:c,isZeniUser:C,zeniAccountsPromoCardReport:m,onItemClick:h,onSetAccountsStatementDate:P,onPromoCardBtnClick:f}){const r=R(),y=U.createRef(),[b,x]=U.useState(0),p=W(),_=ie(c,function(g,v){return g+(v.amount?.amount??0)},0),T=c.length>0?c[0].amount?.currencySymbol:"",E=ne("0,0",_,T),A=({index:g,style:v})=>t.jsx("div",{style:{...v},children:t.jsx(Je,{children:t.jsx(Ke,{windowSize:r,children:t.jsx(We,{data:c[g],showStatementSection:e===$.getLocalizedStrings().balanceCard.cardBalanceSectionTitle,isZeniUser:C,analytics:u,onItemClick:h,onSetAccountsStatementDate:P})})})}),H=U.useRef(null),L=()=>{const g=H.current;g!=null&&g.clientHeight>0&&g.clientHeight!=b&&x(g.clientHeight)},k=()=>{f?.(m?.depositAccountId??"")},I=xe(p.loggedInUserRoleMap);return t.jsxs(Oe,{windowSize:r,listHeight:b,"data-testid":w("transaction-list-big"),children:[t.jsx(at,{sectionTitle:e,totalFormatted:E}),t.jsx(Ge,{children:t.jsx(re,{children:({height:g,width:v})=>t.jsxs(t.Fragment,{children:[m?.isShowDepositAccountsPromo===!0?t.jsxs(Xe,{width:v,size:r,children:[t.jsxs(et,{size:r,children:[t.jsx(tt,{size:r,children:D.keepInterest.prefixCashBalance}),t.jsx(ot,{size:r,children:$e("keepInterest",be(m.maxPossibleInterest??0))})]}),t.jsx(it,{onClick:k,size:r,children:t.jsx(nt,{size:r,children:I?m.depositAccountId!=null?D.button:D.signUp:D.learnMore})}),t.jsx(rt,{size:r,children:D.keepInterest.footer.replace(/<interest>/,m.maxAnnualPercentageYield.toString())})]}):null,t.jsx(Qe,{ref:y,height:g,width:v,style:{overflow:"unset"},itemCount:c.length,itemSize:Ae.value(r)+l.itemPaddingBottom.value(r),onItemsRendered:L,itemKey:F=>c[F].key,innerRef:H,children:A})]})})})]})}export{St as default,l as dimensions};
@@ -1,4 +1,4 @@
1
- import{d as O,bx as z,by as A,V as o,bz as R,aM as p,m as V,o as n,ak as X}from"./index-8Oyhb03N.js";import{a as r,o as Z}from"./sentry-DlgT2cdq.js";import{n as l}from"./mui-g2D8ciyb.js";import{f as G}from"./TransactionList-DMb2xYOV-CURTWhIN.js";import{t as q}from"./page-detail-CWX5S47F-CqgkwkEL.js";import"./liveblocks-Cv4_XqIL.js";import"./core-CAJzT_Z5.js";import"./recharts-D25xpbsw.js";import"./zeni-epic-state-C06d6qPM.js";import"./lottie-CHtoTuG1.js";import"./analytics-8Xbq3yYL.js";import"./lexical-Dn8yVWzX.js";import"./utils-6fMPdJur.js";import"./BoxItem-Cb4_ZBkK-B6f6pk_I.js";import"./commonDimensions-7B20r1RL-DX4q8TH6.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},c=new t.Error().stack;c&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[c]="75d5021b-2105-43b7-9963-392fc9427a33",t._sentryDebugIdIdentifier="sentry-dbid-75d5021b-2105-43b7-9963-392fc9427a33")}catch{}})();const H=l.div`
1
+ import{d as O,bx as z,by as A,V as o,bz as R,aM as p,m as V,o as n,ak as X}from"./index-BBJ8MbHB.js";import{a as r,o as Z}from"./sentry-CTfRDee5.js";import{n as l}from"./mui-CqcpY1UR.js";import{f as G}from"./TransactionList-YI4oZaim-xbjxS_zo.js";import{t as q}from"./page-detail-CWX5S47F-KNgKNFoz.js";import"./liveblocks-BstIT-4Z.js";import"./core-BiYEzgTE.js";import"./recharts-bDaLwU4I.js";import"./zeni-epic-state-n7oqKrUc.js";import"./lottie-Dcr3TlBE.js";import"./analytics-C6bOaJY9.js";import"./lexical-Cbl76XZt.js";import"./utils-BI6ira9J.js";import"./BoxItem-WOrvBzns-DD4R649W.js";import"./commonDimensions-Ds75pRzR-DJ4H9OI5.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},c=new t.Error().stack;c&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[c]="3291626e-364d-467c-b2d2-5e972523b3d7",t._sentryDebugIdIdentifier="sentry-dbid-3291626e-364d-467c-b2d2-5e972523b3d7")}catch{}})();const H=l.div`
2
2
  display: flex;
3
3
  flex: 1 1 auto;
4
4
  height: 100vh;
@@ -32,4 +32,4 @@ import{d as O,bx as z,by as A,V as o,bz as R,aM as p,m as V,o as n,ak as X}from"
32
32
  &:hover {
33
33
  color: ${t=>t.theme.colors.primary};
34
34
  }
35
- `;function ht({title:t,subTitle:c,firstMonthOfFY:g,timeframe:d,timePeriod:a,useFixedPeriod:x,dataAvailableForPeriod:b,report:e,currentScrollYOffset:w,showStatementPageIcon:L=!1,onTimePeriodChange:y,onTransactionItemClick:T,onTransactionListScroll:j,onBackClick:C,onStatementPageIconClick:I,referrerType:D}){const[f,S]=r.useState(!0),[m,P]=r.useState(!1),[u,$]=r.useState(!1),N=O();r.useEffect(()=>{e.transactions.length>0?S(!1):S(m===!1&&u===!1?e.fetchState==="In-Progress"||e.fetchState==="Not-Started":!1)},[e,f,m,u]);const B=z(),k=A(D),E=`${k===""?B:k}.transactions.list`,F=a.startDate.isAfter(b.startDate,d)?{isLoading:m&&(e.fetchState==="In-Progress"||e.fetchState==="Not-Started"),fixedTimePeriod:x,onLoadPreviousClick:(i,s)=>{$(!1),P(!0),y?.(i,a,s)}}:void 0,Y=a.endDate.isBefore(b.endDate,d)?{isLoading:u&&(e.fetchState==="In-Progress"||e.fetchState==="Not-Started"),fixedTimePeriod:x,onLoadNextClick:(i,s)=>{P(!1),$(!0),y?.(i,a,s)}}:void 0;let v=null;L&&(v=o.jsx(U,{onClick:I}));const h=r.useRef(null);function _(i,s,M){Z({category:`${E}.transaction-list.react.profiler`,message:`${i} (${s}) took ${M}ms`,level:"info"})}return o.jsx(r.Profiler,{id:"TransactionListPage",onRender:_,children:o.jsxs(H,{"data-testid":p("transaction-list-page",t),children:[o.jsx(R,{source:"TransactionListPage","data-testid":p("transaction-list-page-nav-bar"),title:t,onBackClick:C,backgroundColor:N.colors.grey4,rightSideComponent:v,scrollableContent:h.current!=null?h:void 0}),o.jsxs(J,{"data-testid":p("transaction-list",t),children:[o.jsx(Q,{children:c}),f===!1?o.jsx(G,{ref:h,firstMonthOfFY:g,timeframe:d,timePeriod:a,transactions:e.transactions,isFirstLotLoading:f,currentScrollYOffset:w,onTransactionItemClick:T,onTransactionListScroll:j,showLoadPrevious:F,showLoadNext:Y,componentName:"report.transactions.list"}):o.jsx(K,{children:o.jsx(V,{size:"ExtraLarge",start:!0})})]})]})})}export{ht as default};
35
+ `;function ht({title:t,subTitle:c,firstMonthOfFY:g,timeframe:d,timePeriod:i,useFixedPeriod:x,dataAvailableForPeriod:b,report:e,currentScrollYOffset:w,showStatementPageIcon:L=!1,onTimePeriodChange:y,onTransactionItemClick:T,onTransactionListScroll:j,onBackClick:C,onStatementPageIconClick:I,referrerType:D}){const[f,S]=r.useState(!0),[m,P]=r.useState(!1),[u,$]=r.useState(!1),N=O();r.useEffect(()=>{e.transactions.length>0?S(!1):S(m===!1&&u===!1?e.fetchState==="In-Progress"||e.fetchState==="Not-Started":!1)},[e,f,m,u]);const B=z(),k=A(D),E=`${k===""?B:k}.transactions.list`,F=i.startDate.isAfter(b.startDate,d)?{isLoading:m&&(e.fetchState==="In-Progress"||e.fetchState==="Not-Started"),fixedTimePeriod:x,onLoadPreviousClick:(s,a)=>{$(!1),P(!0),y?.(s,i,a)}}:void 0,Y=i.endDate.isBefore(b.endDate,d)?{isLoading:u&&(e.fetchState==="In-Progress"||e.fetchState==="Not-Started"),fixedTimePeriod:x,onLoadNextClick:(s,a)=>{P(!1),$(!0),y?.(s,i,a)}}:void 0;let v=null;L&&(v=o.jsx(U,{onClick:I}));const h=r.useRef(null);function _(s,a,M){Z({category:`${E}.transaction-list.react.profiler`,message:`${s} (${a}) took ${M}ms`,level:"info"})}return o.jsx(r.Profiler,{id:"TransactionListPage",onRender:_,children:o.jsxs(H,{"data-testid":p("transaction-list-page",t),children:[o.jsx(R,{source:"TransactionListPage","data-testid":p("transaction-list-page-nav-bar"),title:t,onBackClick:C,backgroundColor:N.colors.grey4,rightSideComponent:v,scrollableContent:h.current!=null?h:void 0}),o.jsxs(J,{"data-testid":p("transaction-list",t),children:[o.jsx(Q,{children:c}),f===!1?o.jsx(G,{ref:h,firstMonthOfFY:g,timeframe:d,timePeriod:i,transactions:e.transactions,isFirstLotLoading:f,currentScrollYOffset:w,onTransactionItemClick:T,onTransactionListScroll:j,showLoadPrevious:F,showLoadNext:Y,componentName:"report.transactions.list"}):o.jsx(K,{children:o.jsx(V,{size:"ExtraLarge",start:!0})})]})]})})}export{ht as default};
@@ -1,4 +1,4 @@
1
- import{q as A,F as M,V as o,m as R,aM as L,aO as W,o as a,y as g,L as _,a as G,d0 as U,a8 as J,cB as K,ab as Q,c as r,h6 as k,h7 as F,h8 as q,d as X,cE as Y,gG as z,h9 as Z,b5 as ee,hd as oe,he as te}from"./index-8Oyhb03N.js";import{a as I}from"./sentry-DlgT2cdq.js";import{n as c}from"./mui-g2D8ciyb.js";import"./liveblocks-Cv4_XqIL.js";import"./core-CAJzT_Z5.js";import"./recharts-D25xpbsw.js";import"./zeni-epic-state-C06d6qPM.js";import"./lottie-CHtoTuG1.js";import"./analytics-8Xbq3yYL.js";import"./lexical-Dn8yVWzX.js";import"./utils-6fMPdJur.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]="09ec9839-6706-4088-8702-91192e3e5a93",e._sentryDebugIdIdentifier="sentry-dbid-09ec9839-6706-4088-8702-91192e3e5a93")}catch{}})();const D=(e,n)=>`${e}.${n}`,N={labelWidth:new g(120,145,160),controlWidth:new g(110,145,160)},ae=M.getLocalizedStrings().transactionDetail.vendorDetails,d=ae.vendorCreation,ne=({selectedAccountId:e,isSaveError:n,selectedClassId:p,selectedOwnerId:t,selectedVendorName:f,allAccounts:h,allClasses:C,allOwners:S,sectionId:v,isDisabled:u,accountsHierarchyList:w,classHierarchyList:x})=>{const i=A(),y=X(),$=N.labelWidth.value(i),j=N.controlWidth.value(i),V=s=>h.filter(O=>O.accountId===s)[0]?.coaId??"",l=s=>C.filter(O=>O.classId===s)[0]?.accountingClassNumber??"",b=s=>{const O=h.find(B=>B.accountId===s)?.accountName;return[oe,te].includes(O??"")};return o.jsxs(se,{"data-testid":L("vendor-details-section",v),children:[o.jsx(re,{children:d.vendorDetails.title}),o.jsxs(le,{children:[o.jsx(Y,{label:{label:d.vendorDetails.vendorName,width:$},text:{type:"text",name:D(v,"vendorName"),placeholder:d.placeholders.vendor,defaultValue:f,autoComplete:"off",options:{required:!0}},isSaveError:n,showAdditionalInfoLabel:!1,additionalInfoLabel:d.vendorAlreadyExistsErrorMsg,style:{width:"auto"}}),o.jsx(ie,{}),o.jsx(z,{isLoading:!1,label:{label:d.vendorDetails.vendorCategory,width:$},groupedSingleSelectField:{shouldShowChevronIcon:!1,name:D(v,"vendorCategory"),placeholder:d.placeholders.category,valueToInfo:s=>V(s),defaultValue:{selectedOption:e,allOptions:F(w)},style:{width:"auto"},registerOptions:{required:!1}},style:{borderBottom:`1px solid ${y.colors.grey3}`},isDisabled:u,disableCurrentOption:b,zIndexOnFocus:!0,additionalLabelInfo:d.vendorDetails.vendorCategoryAdditionText}),o.jsx(z,{isLoading:!1,label:{label:d.vendorDetails.vendorClass,width:$},zIndexOnFocus:!0,groupedSingleSelectField:{shouldShowChevronIcon:!1,name:D(v,"vendorClass"),placeholder:d.placeholders.class,valueToInfo:s=>l(s),defaultValue:{selectedOption:p,allOptions:k(x)},registerOptions:{required:!1},style:{width:"auto"}},additionalLabelInfo:d.vendorDetails.vendorClassAdditionText,style:{borderBottom:`1px solid ${y.colors.grey3}`},isDisabled:u}),S!=null?o.jsx(Z,{label:{label:d.vendorDetails.vendorOwner,width:$},userSingleSelectField:{name:D(v,"vendorOwner"),placeholder:d.placeholders.owner,defaultValue:{allOptions:q(S),selectedOption:t},registerOptions:{required:!1},style:{width:"auto"},menuPlacement:"top"},isDisabled:u,style:{justifyContent:"space-between"},controlWidth:j}):null]})]})},se=c.div`
1
+ import{q as A,F as M,V as o,m as R,aM as L,aO as W,o as a,y as g,L as _,a as G,d0 as U,a8 as J,cB as K,ab as Q,c as r,h6 as k,h7 as F,h8 as q,d as X,cE as Y,gG as z,h9 as Z,b5 as ee,hd as oe,he as te}from"./index-BBJ8MbHB.js";import{a as I}from"./sentry-CTfRDee5.js";import{n as c}from"./mui-CqcpY1UR.js";import"./liveblocks-BstIT-4Z.js";import"./core-BiYEzgTE.js";import"./recharts-bDaLwU4I.js";import"./zeni-epic-state-n7oqKrUc.js";import"./lottie-Dcr3TlBE.js";import"./analytics-C6bOaJY9.js";import"./lexical-Cbl76XZt.js";import"./utils-BI6ira9J.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]="09ec9839-6706-4088-8702-91192e3e5a93",e._sentryDebugIdIdentifier="sentry-dbid-09ec9839-6706-4088-8702-91192e3e5a93")}catch{}})();const D=(e,n)=>`${e}.${n}`,N={labelWidth:new g(120,145,160),controlWidth:new g(110,145,160)},ae=M.getLocalizedStrings().transactionDetail.vendorDetails,d=ae.vendorCreation,ne=({selectedAccountId:e,isSaveError:n,selectedClassId:p,selectedOwnerId:t,selectedVendorName:f,allAccounts:h,allClasses:C,allOwners:S,sectionId:v,isDisabled:u,accountsHierarchyList:w,classHierarchyList:x})=>{const i=A(),y=X(),$=N.labelWidth.value(i),j=N.controlWidth.value(i),V=s=>h.filter(O=>O.accountId===s)[0]?.coaId??"",l=s=>C.filter(O=>O.classId===s)[0]?.accountingClassNumber??"",b=s=>{const O=h.find(B=>B.accountId===s)?.accountName;return[oe,te].includes(O??"")};return o.jsxs(se,{"data-testid":L("vendor-details-section",v),children:[o.jsx(re,{children:d.vendorDetails.title}),o.jsxs(le,{children:[o.jsx(Y,{label:{label:d.vendorDetails.vendorName,width:$},text:{type:"text",name:D(v,"vendorName"),placeholder:d.placeholders.vendor,defaultValue:f,autoComplete:"off",options:{required:!0}},isSaveError:n,showAdditionalInfoLabel:!1,additionalInfoLabel:d.vendorAlreadyExistsErrorMsg,style:{width:"auto"}}),o.jsx(ie,{}),o.jsx(z,{isLoading:!1,label:{label:d.vendorDetails.vendorCategory,width:$},groupedSingleSelectField:{shouldShowChevronIcon:!1,name:D(v,"vendorCategory"),placeholder:d.placeholders.category,valueToInfo:s=>V(s),defaultValue:{selectedOption:e,allOptions:F(w)},style:{width:"auto"},registerOptions:{required:!1}},style:{borderBottom:`1px solid ${y.colors.grey3}`},isDisabled:u,disableCurrentOption:b,zIndexOnFocus:!0,additionalLabelInfo:d.vendorDetails.vendorCategoryAdditionText}),o.jsx(z,{isLoading:!1,label:{label:d.vendorDetails.vendorClass,width:$},zIndexOnFocus:!0,groupedSingleSelectField:{shouldShowChevronIcon:!1,name:D(v,"vendorClass"),placeholder:d.placeholders.class,valueToInfo:s=>l(s),defaultValue:{selectedOption:p,allOptions:k(x)},registerOptions:{required:!1},style:{width:"auto"}},additionalLabelInfo:d.vendorDetails.vendorClassAdditionText,style:{borderBottom:`1px solid ${y.colors.grey3}`},isDisabled:u}),S!=null?o.jsx(Z,{label:{label:d.vendorDetails.vendorOwner,width:$},userSingleSelectField:{name:D(v,"vendorOwner"),placeholder:d.placeholders.owner,defaultValue:{allOptions:q(S),selectedOption:t},registerOptions:{required:!1},style:{width:"auto"},menuPlacement:"top"},isDisabled:u,style:{justifyContent:"space-between"},controlWidth:j}):null]})]})},se=c.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  padding-top: ${a.sp3};
@@ -1,4 +1,4 @@
1
- import{V as t,q as ue,aM as A,hm as lt,aK as Z,n as ve,hx as ct,m as Ye,aO as $e,o as a,F as R,y as c,L as Ne,l as dt,b7 as ut,ap as ft,D as be,ag as De,ak as fe,aN as ce,fv as pt,a8 as Xe,cB as mt,aV as ht,aL as gt,p as J,ab as qe,fz as ke,fA as Ae,g7 as wt,bQ as ye,g1 as xt,hy as $t,c as o,fj as bt,cf as Ze,bZ as Dt,eX as yt,bH as Tt,al as He,fM as Ct,dq as St,b$ as Je,hn as vt,hp as kt}from"./index-8Oyhb03N.js";import{a as u}from"./sentry-DlgT2cdq.js";import{n}from"./mui-g2D8ciyb.js";import{bL as At}from"./zeni-epic-state-C06d6qPM.js";import{v as Lt}from"./ZeniTransferAmountSlider-yvd98l69-5MOeCpj6.js";import{r as Pt}from"./AccountInfoPageContent-Bu-ZFVKf-C4GdgvFu.js";import"./liveblocks-Cv4_XqIL.js";import"./core-CAJzT_Z5.js";import"./recharts-D25xpbsw.js";import"./lottie-CHtoTuG1.js";import"./analytics-8Xbq3yYL.js";import"./lexical-Dn8yVWzX.js";import"./utils-6fMPdJur.js";import"./downloadPdf-D1MhyCE3-DSprID13.js";import"./commonDimensions-7B20r1RL-DX4q8TH6.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},r=new e.Error().stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="d2d72937-9d0e-458b-bb3a-5c26b9f84a39",e._sentryDebugIdIdentifier="sentry-dbid-d2d72937-9d0e-458b-bb3a-5c26b9f84a39")}catch{}})();const{common:de,spendManagement:{zeniAccounts:{zeniAccountList:D}}}=R.getLocalizedStrings(),Ge="amount",jt="transferTo",Le="transferFrom",k="transferDetails",Ue="transferDetailPage",ge=(e,r)=>`${e}.${r}`,Ke=e=>`${e}_form`,p={largeLabelWidth:new c(120,120,160),rowContentPaddingLeft:new c(o[3],o[4]),labeleMarginLeft:new c(o[0],o[0]),labelMarginRight:new c(o[3],o[3]),labeleMarginBottom:new c(o[2],o[0]),labeledFieldPaddingLeft:new c(o[3],o[0]),labeledFieldPaddingRight:new c(o[3],o[2]),labeledFieldPaddingTop:new c(o[3],o[3]),labeledFieldPaddingBottom:new c(o[3],o[2]),infoLabelPaddingRight:new c(o[0],o[3]),infoLabelMarginTop:new c(o[1],o[0]),controllerWrapperFlex:new c(1,o[0])};function zt({plaidConnectionDetails:e,transferDetails:r,zeniAccountsConfigDetail:g,isCalculatorOpen:$,showAnnualYieldEarned:y,transferAmount:w,yieldEarned:d,totalBalance:f,maxInsuredAmount:l,setIsCalculatorOpen:T,setShowAnnualYieldEarned:C,setTransferAmount:S,setYieldEarned:F,setTotalBalance:M,onSaveChangesToLocalStore:G,onBackClick:E,onEstablishConnectionClick:O,fireTrackTransferBetweenAccountsFormClicked:_,onFetchLinkTokenClick:U,onReviewClick:K}){const i=ue(),I=p.largeLabelWidth.value(i),[V,j]=u.useState(!1),m=e.link_account_no_microdeposit,[v,W]=u.useState(m.linkToken??null),[x,z]=u.useState(!1),[Y,N]=u.useState(!1),Q=r.transferMoneyPartiesFetchState,oe=ce(Q),X=r.transferDetailLocalData.transferFrom?.id,ee=r.transferDetailLocalData.transferTo?.id,ie=ce(X),Te=ce(ee),pe=r.transferMoneyParties.map(s=>s.id),me=ce(pe),Qe=u.useCallback(s=>{O?.(s),E(),N(!1),z(!1)},[E,O]),et=u.useCallback((s,h)=>{s!=null&&console.log("Plaid Connection Error",s,h)},[]),{open:q,ready:te}=pt({token:v,onSuccess:Qe,onExit:et}),se=u.useCallback(s=>{s.preventDefault(),s.stopPropagation(),te?q():z(!0)},[q,te]),L=Xe({mode:"all",reValidateMode:"onBlur",defaultValues:u.useMemo(()=>Pe(r,se),[r])});u.useEffect(()=>{m.fetchStatus.fetchState==="Completed"&&m.linkToken!=null&&m.linkToken!==v&&W(m.linkToken)},[m.fetchStatus.fetchState,m.linkToken,v]),u.useEffect(()=>{m.linkToken===v&&m.fetchStatus.fetchState==="Completed"&&te&&N(!0)},[te,v,m.fetchStatus,m.linkToken,m.fetchStatus.fetchState]),u.useEffect(()=>{Y&&x&&q()},[Y,q,x]),u.useEffect(()=>{(At(new Date().toISOString()).isAfter(m.expiration)||m.linkToken==null)&&U?.("link_account_no_microdeposit")},[]),u.useEffect(()=>{const s=me!=null&&JSON.stringify(me)!==JSON.stringify(pe);(oe==="In-Progress"&&Q==="Completed"||ie!==X||Te!==ee||s)&&L.reset(Pe(r,()=>q()))},[te,v,m.fetchStatus.fetchState,oe,Q,ie,Te,ee,X,me,pe,L,r,q]);const{isValid:tt}=L.formState,at=async(s,h)=>{if(s!=null){const B={...h},le={amount:{amount:B[k].amount??0,currencyCode:"USD",currencySymbol:"$"},transferFrom:r.transferMoneyParties.find(ae=>ae.id===B[k].transferFrom.selectedOption),transferTo:r.transferMoneyParties.find(ae=>ae.id===B[k].transferTo.selectedOption)};G(le)}};u.useEffect(()=>{const s=L.watch((h,{name:B})=>{if(B!=null&&h!=null){const le=h[k]?.amount??0,ae=h[k]?.transferFrom,ot=h[k]?.transferTo,it=r.transferMoneyParties.find(he=>he.id===ae?.selectedOption),st=r.transferMoneyParties.find(he=>he.id===ot?.selectedOption);it?.accType==="paymentAccount"&&st?.accType==="depositAccount"&&le!==0?(T(!0),C(!0)):C(!1),S(le)}});return()=>{s.unsubscribe()}},[L,r.transferMoneyParties]),u.useEffect(()=>{const s=L.watch((h,{name:B})=>{B!=null&&h!=null&&mt(()=>at(B,h))});return()=>{s.unsubscribe()}}),u.useEffect(()=>{r.reviewTransferDetail.error!=null?j(!0):j(!1)},[r.reviewTransferDetail.error]);const nt=L.handleSubmit(()=>{tt&&(_("Review","Amount Details"),K())});u.useEffect(()=>{r.transferDetailLocalData.transferTo?.accType==="depositAccount"&&r.transferDetailLocalData.transferTo.accountBalance?.available?.amount===0&&r.transferDetailLocalData.transferFrom?.id==null&&L.setValue(`${k}.${Le}`,{selectedOption:r.primaryPaymentAccount?.paymentAccountId,allOptions:ne(r,!0,se,!0,!0)})},[r.transferDetailLocalData.transferTo?.id]);const Ce=g.zeniAccountsConfigDetail.depositProductConfig.depositProducts,Se=Ce[Ce.length-1].annualPercentageYield.toString(),rt=ht(gt(l),l,de.currency.currencySymbol).toUpperCase();return t.jsx(t.Fragment,{children:m.fetchStatus.fetchState==="Completed"?t.jsxs(t.Fragment,{children:[V?t.jsx(Ft,{children:t.jsxs(Et,{children:[t.jsxs(It,{children:[t.jsx(Ot,{}),t.jsxs(_t,{children:[t.jsx(Vt,{children:r.reviewTransferDetail.error?.title}),t.jsx(Wt,{children:r.reviewTransferDetail.error?.message})]})]}),t.jsx(Rt,{children:t.jsx(na,{"data-testid":A("amount-details-error-close"),onClick:()=>{_("Cross","Amount Details"),j(!1)},style:{width:a.sp3,height:a.sp3,color:J.heroLight}})})]})}):null,t.jsx(Yt,{children:Z("0,0.[00]",r.transferDetailLocalData.amount)}),t.jsx(qe,{...L,children:t.jsxs(Mt,{id:Ke(Ue),onSubmit:nt,children:[t.jsxs(ta,{children:[t.jsx(Ee,{size:i,children:t.jsx(je,{label:{label:de.labels.transferFrom,width:I,style:{marginLeft:p.labeleMarginLeft.valuePx(i),marginBottom:p.labeleMarginBottom.valuePx(i),marginRight:p.labelMarginRight.valuePx(i)}},errorInfoLabel:D.transferDrawer.transferFromError,style:{paddingTop:p.labeledFieldPaddingTop.valuePx(i),paddingBottom:p.labeledFieldPaddingBottom.valuePx(i),paddingLeft:p.labeledFieldPaddingLeft.valuePx(i),paddingRight:p.labeledFieldPaddingRight.valuePx(i),border:"none",width:"100%",outline:"none",padding:0,display:i==="small"?"flex":"inherit"},infoLabelStyle:{textAlign:i==="small"?"left":"right",paddingRight:p.infoLabelPaddingRight.valuePx(i),marginTop:p.infoLabelMarginTop.valuePx(i)},singleSelectPickerField:{name:ge(k,Le),placeholder:D.transferDrawer.transferFromPlaceholder,style:{position:"relative"},capitalizeOptions:!0,valueToLogo:(s,h)=>Ae(r.transferMoneyParties,s,h),valueToSubLabels:(s,h)=>ke(r.transferMoneyParties,s,h,!1),defaultValue:{selectedOption:r.transferDetailLocalData.transferFrom?.id,allOptions:ne(r,!0,se,!0,!0)},textAlignment:"right",registerOptions:{required:!0,validate:s=>s!=null&&!!s.selectedOption}}})}),t.jsx(Me,{}),t.jsx(Ee,{size:i,children:t.jsx(aa,{size:i,children:t.jsx(je,{label:{label:de.labels.transferTo,width:I,style:{marginLeft:p.labeleMarginLeft.valuePx(i),marginBottom:p.labeleMarginBottom.valuePx(i),marginRight:p.labelMarginRight.valuePx(i)}},errorInfoLabel:D.transferDrawer.transferToError,style:{paddingTop:p.labeledFieldPaddingTop.valuePx(i),paddingBottom:p.labeledFieldPaddingBottom.valuePx(i),paddingLeft:p.labeledFieldPaddingLeft.valuePx(i),paddingRight:p.labeledFieldPaddingRight.valuePx(i),border:"none",width:"100%",outline:"none",padding:0,display:i==="small"?"flex":"inherit"},infoLabelStyle:{textAlign:i==="small"?"left":"right",paddingRight:p.infoLabelPaddingRight.valuePx(i),marginTop:p.infoLabelMarginTop.valuePx(i)},singleSelectPickerField:{name:ge(k,jt),placeholder:D.transferDrawer.transferToPlaceholder,capitalizeOptions:!0,style:{position:"relative"},valueToLogo:(s,h)=>Ae(r.transferMoneyParties,s,h),valueToSubLabels:(s,h)=>ke(r.transferMoneyParties,s,h,!1),defaultValue:{selectedOption:r.transferDetailLocalData.transferTo?.id,allOptions:ne(r,!1,se)},textAlignment:"right",registerOptions:{required:!0,validate:s=>s!=null&&!!s.selectedOption}}})})}),t.jsx(Me,{}),t.jsx(wt,{showAdditionalInfoLabel:!1,label:{label:de.labels.amount,width:I},additionalInfoLabel:D.transferDrawer.amountError,formattedTextField:{type:"number",name:ge(k,Ge),defaultValue:r.transferDetailLocalData.amount.amount===0?void 0:r.transferDetailLocalData.amount.amount,placeholder:D.transferDrawer.amountPlaceholder,returnValueType:"floatValue",prefix:"$",allowNegative:!1,isNumericString:!1,registerOptions:{required:!0,validate:s=>!!s&&s>0},autoComplete:"off",decimalSeparator:".",decimalScale:2,fixedDecimalScale:!1,thousandSeparator:!0,allowLeadingZeros:!1},style:{width:"auto"}})]}),t.jsxs(Zt,{children:[$?t.jsxs(Nt,{children:[t.jsx(Xt,{children:D.transferDrawer.calculator.heading.replace("__rate__",Se).replace("__amount__",rt)}),t.jsx(Lt,{minStep:.01,currentAccountBalance:r.transferDetailLocalData.transferTo?.accountBalance?.available?.amount??0,transferAmount:w,zeniAccountsConfigDetail:g,setYieldEarned:F,setTotalBalance:M})]}):null,t.jsxs(Ht,{windowSize:i,children:[t.jsx(Ut,{windowSize:i,children:y?t.jsxs(t.Fragment,{children:[t.jsxs(Jt,{children:[t.jsx(ze,{children:`${D.transferDrawer.calculator.footerText.annualYieldEarned} ${Z("0,0",{amount:d,currencySymbol:"$"})}`}),t.jsx(ye,{variant:"small-description",display:"flex",data:D.transferDrawer.calculator.footerText.annualYieldEarnedTooltipText,placement:i==="small"?"bottom":"right",children:t.jsx(qt,{})})]}),t.jsx(Gt,{windowSize:i}),t.jsx(Kt,{children:`${D.transferDrawer.calculator.footerText.forTotalBalance} ${Z("0,0",{amount:f,currencySymbol:"$"})}`})]}):t.jsx(ze,{children:D.transferDrawer.calculator.footerText.earnUptoText.replace("__rate__",Se)})}),$?t.jsxs(Fe,{windowSize:i,onClick:()=>T(!1),"data-testid":A("calculator-footer-close"),children:[t.jsx(Be,{className:"calculatorFooterLeftText",children:D.transferDrawer.calculator.footerText.hide}),t.jsx(Qt,{className:"calculatorFooterArrowIcon"})]}):t.jsxs(Fe,{windowSize:i,onClick:()=>T(!0),"data-testid":A("calculator-footer-show"),children:[t.jsx(Be,{className:"calculatorFooterLeftText",children:D.transferDrawer.calculator.footerText.showYieldCalculator}),t.jsx(ea,{className:"calculatorFooterArrowIcon"})]})]})]})]})})]}):t.jsx(Ye,{size:"Standard",start:!0,style:{display:"flex",justifyContent:"center",alignItems:"center",height:"calc(100vh - 500px)"}})})}const ne=(e,r,g,$=!1,y=!1)=>{const w=e.transferMoneyParties.map(d=>{const f={label:d.label,value:d.id};return $&&(r?f.isDisabled=d.id===e?.transferDetailLocalData?.transferTo?.id||d.accType==="paymentAccount"&&e.transferDetailLocalData.transferTo?.accType==="paymentAccount":f.isDisabled=d.id===e.transferDetailLocalData.transferFrom?.id||d.accType==="paymentAccount"&&e.transferDetailLocalData.transferFrom?.accType==="paymentAccount"),f});if(y){const d={label:D.transferDrawer.selectAddAccount,value:"",type:"button",onClick:g};w.push(d)}return w},Pe=(e,r)=>({transferDetails:{[Ge]:e.transferDetailLocalData.amount.amount===0?void 0:e.transferDetailLocalData.amount.amount,transferFrom:{allOptions:ne(e,!0,r,!0,!0),selectedOption:e.transferDetailLocalData.transferFrom?.id!=null?e.transferDetailLocalData.transferFrom?.id:Bt(e)},transferTo:{allOptions:ne(e,!1,r,!0,!1),selectedOption:e.transferDetailLocalData.transferTo?.id}}}),Bt=e=>e.transferDetailLocalData.transferTo?.accType==="depositAccount"&&e.transferDetailLocalData.transferTo?.accountBalance?.available?.amount===0?e.primaryPaymentAccount?.paymentAccountId:void 0,Ft=n.div`
1
+ import{V as t,q as ue,aM as A,hm as lt,aK as Z,n as ve,hx as ct,m as Ye,aO as $e,o as a,F as R,y as c,L as Ne,l as dt,b7 as ut,ap as ft,D as be,ag as De,ak as fe,aN as ce,fv as pt,a8 as Xe,cB as mt,aV as ht,aL as gt,p as J,ab as qe,fz as ke,fA as Ae,g7 as wt,bQ as ye,g1 as xt,hy as $t,c as o,fj as bt,cf as Ze,bZ as Dt,eX as yt,bH as Tt,al as He,fM as Ct,dq as St,b$ as Je,hn as vt,hp as kt}from"./index-BBJ8MbHB.js";import{a as u}from"./sentry-CTfRDee5.js";import{n}from"./mui-CqcpY1UR.js";import{bL as At}from"./zeni-epic-state-n7oqKrUc.js";import{v as Lt}from"./ZeniTransferAmountSlider-g9qU5Lsq-BdpWeRuR.js";import{r as Pt}from"./AccountInfoPageContent-Dv1IPcdF-ChZIyLOA.js";import"./liveblocks-BstIT-4Z.js";import"./core-BiYEzgTE.js";import"./recharts-bDaLwU4I.js";import"./lottie-Dcr3TlBE.js";import"./analytics-C6bOaJY9.js";import"./lexical-Cbl76XZt.js";import"./utils-BI6ira9J.js";import"./downloadPdf-B8UMaJCC-BA2fFFfC.js";import"./commonDimensions-Ds75pRzR-DJ4H9OI5.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},r=new e.Error().stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="48b3f9c0-9348-4d16-b239-e2a8658f1211",e._sentryDebugIdIdentifier="sentry-dbid-48b3f9c0-9348-4d16-b239-e2a8658f1211")}catch{}})();const{common:de,spendManagement:{zeniAccounts:{zeniAccountList:D}}}=R.getLocalizedStrings(),Ge="amount",jt="transferTo",Le="transferFrom",k="transferDetails",Ue="transferDetailPage",ge=(e,r)=>`${e}.${r}`,Ke=e=>`${e}_form`,p={largeLabelWidth:new c(120,120,160),rowContentPaddingLeft:new c(o[3],o[4]),labeleMarginLeft:new c(o[0],o[0]),labelMarginRight:new c(o[3],o[3]),labeleMarginBottom:new c(o[2],o[0]),labeledFieldPaddingLeft:new c(o[3],o[0]),labeledFieldPaddingRight:new c(o[3],o[2]),labeledFieldPaddingTop:new c(o[3],o[3]),labeledFieldPaddingBottom:new c(o[3],o[2]),infoLabelPaddingRight:new c(o[0],o[3]),infoLabelMarginTop:new c(o[1],o[0]),controllerWrapperFlex:new c(1,o[0])};function zt({plaidConnectionDetails:e,transferDetails:r,zeniAccountsConfigDetail:g,isCalculatorOpen:$,showAnnualYieldEarned:y,transferAmount:w,yieldEarned:d,totalBalance:f,maxInsuredAmount:l,setIsCalculatorOpen:T,setShowAnnualYieldEarned:C,setTransferAmount:S,setYieldEarned:F,setTotalBalance:M,onSaveChangesToLocalStore:G,onBackClick:E,onEstablishConnectionClick:O,fireTrackTransferBetweenAccountsFormClicked:_,onFetchLinkTokenClick:U,onReviewClick:K}){const i=ue(),I=p.largeLabelWidth.value(i),[V,j]=u.useState(!1),m=e.link_account_no_microdeposit,[v,W]=u.useState(m.linkToken??null),[x,z]=u.useState(!1),[Y,N]=u.useState(!1),Q=r.transferMoneyPartiesFetchState,oe=ce(Q),X=r.transferDetailLocalData.transferFrom?.id,ee=r.transferDetailLocalData.transferTo?.id,ie=ce(X),Te=ce(ee),pe=r.transferMoneyParties.map(s=>s.id),me=ce(pe),Qe=u.useCallback(s=>{O?.(s),E(),N(!1),z(!1)},[E,O]),et=u.useCallback((s,h)=>{s!=null&&console.log("Plaid Connection Error",s,h)},[]),{open:q,ready:te}=pt({token:v,onSuccess:Qe,onExit:et}),se=u.useCallback(s=>{s.preventDefault(),s.stopPropagation(),te?q():z(!0)},[q,te]),L=Xe({mode:"all",reValidateMode:"onBlur",defaultValues:u.useMemo(()=>Pe(r,se),[r])});u.useEffect(()=>{m.fetchStatus.fetchState==="Completed"&&m.linkToken!=null&&m.linkToken!==v&&W(m.linkToken)},[m.fetchStatus.fetchState,m.linkToken,v]),u.useEffect(()=>{m.linkToken===v&&m.fetchStatus.fetchState==="Completed"&&te&&N(!0)},[te,v,m.fetchStatus,m.linkToken,m.fetchStatus.fetchState]),u.useEffect(()=>{Y&&x&&q()},[Y,q,x]),u.useEffect(()=>{(At(new Date().toISOString()).isAfter(m.expiration)||m.linkToken==null)&&U?.("link_account_no_microdeposit")},[]),u.useEffect(()=>{const s=me!=null&&JSON.stringify(me)!==JSON.stringify(pe);(oe==="In-Progress"&&Q==="Completed"||ie!==X||Te!==ee||s)&&L.reset(Pe(r,()=>q()))},[te,v,m.fetchStatus.fetchState,oe,Q,ie,Te,ee,X,me,pe,L,r,q]);const{isValid:tt}=L.formState,at=async(s,h)=>{if(s!=null){const B={...h},le={amount:{amount:B[k].amount??0,currencyCode:"USD",currencySymbol:"$"},transferFrom:r.transferMoneyParties.find(ae=>ae.id===B[k].transferFrom.selectedOption),transferTo:r.transferMoneyParties.find(ae=>ae.id===B[k].transferTo.selectedOption)};G(le)}};u.useEffect(()=>{const s=L.watch((h,{name:B})=>{if(B!=null&&h!=null){const le=h[k]?.amount??0,ae=h[k]?.transferFrom,ot=h[k]?.transferTo,it=r.transferMoneyParties.find(he=>he.id===ae?.selectedOption),st=r.transferMoneyParties.find(he=>he.id===ot?.selectedOption);it?.accType==="paymentAccount"&&st?.accType==="depositAccount"&&le!==0?(T(!0),C(!0)):C(!1),S(le)}});return()=>{s.unsubscribe()}},[L,r.transferMoneyParties]),u.useEffect(()=>{const s=L.watch((h,{name:B})=>{B!=null&&h!=null&&mt(()=>at(B,h))});return()=>{s.unsubscribe()}}),u.useEffect(()=>{r.reviewTransferDetail.error!=null?j(!0):j(!1)},[r.reviewTransferDetail.error]);const nt=L.handleSubmit(()=>{tt&&(_("Review","Amount Details"),K())});u.useEffect(()=>{r.transferDetailLocalData.transferTo?.accType==="depositAccount"&&r.transferDetailLocalData.transferTo.accountBalance?.available?.amount===0&&r.transferDetailLocalData.transferFrom?.id==null&&L.setValue(`${k}.${Le}`,{selectedOption:r.primaryPaymentAccount?.paymentAccountId,allOptions:ne(r,!0,se,!0,!0)})},[r.transferDetailLocalData.transferTo?.id]);const Ce=g.zeniAccountsConfigDetail.depositProductConfig.depositProducts,Se=Ce[Ce.length-1].annualPercentageYield.toString(),rt=ht(gt(l),l,de.currency.currencySymbol).toUpperCase();return t.jsx(t.Fragment,{children:m.fetchStatus.fetchState==="Completed"?t.jsxs(t.Fragment,{children:[V?t.jsx(Ft,{children:t.jsxs(Et,{children:[t.jsxs(It,{children:[t.jsx(Ot,{}),t.jsxs(_t,{children:[t.jsx(Vt,{children:r.reviewTransferDetail.error?.title}),t.jsx(Wt,{children:r.reviewTransferDetail.error?.message})]})]}),t.jsx(Rt,{children:t.jsx(na,{"data-testid":A("amount-details-error-close"),onClick:()=>{_("Cross","Amount Details"),j(!1)},style:{width:a.sp3,height:a.sp3,color:J.heroLight}})})]})}):null,t.jsx(Yt,{children:Z("0,0.[00]",r.transferDetailLocalData.amount)}),t.jsx(qe,{...L,children:t.jsxs(Mt,{id:Ke(Ue),onSubmit:nt,children:[t.jsxs(ta,{children:[t.jsx(Ee,{size:i,children:t.jsx(je,{label:{label:de.labels.transferFrom,width:I,style:{marginLeft:p.labeleMarginLeft.valuePx(i),marginBottom:p.labeleMarginBottom.valuePx(i),marginRight:p.labelMarginRight.valuePx(i)}},errorInfoLabel:D.transferDrawer.transferFromError,style:{paddingTop:p.labeledFieldPaddingTop.valuePx(i),paddingBottom:p.labeledFieldPaddingBottom.valuePx(i),paddingLeft:p.labeledFieldPaddingLeft.valuePx(i),paddingRight:p.labeledFieldPaddingRight.valuePx(i),border:"none",width:"100%",outline:"none",padding:0,display:i==="small"?"flex":"inherit"},infoLabelStyle:{textAlign:i==="small"?"left":"right",paddingRight:p.infoLabelPaddingRight.valuePx(i),marginTop:p.infoLabelMarginTop.valuePx(i)},singleSelectPickerField:{name:ge(k,Le),placeholder:D.transferDrawer.transferFromPlaceholder,style:{position:"relative"},capitalizeOptions:!0,valueToLogo:(s,h)=>Ae(r.transferMoneyParties,s,h),valueToSubLabels:(s,h)=>ke(r.transferMoneyParties,s,h,!1),defaultValue:{selectedOption:r.transferDetailLocalData.transferFrom?.id,allOptions:ne(r,!0,se,!0,!0)},textAlignment:"right",registerOptions:{required:!0,validate:s=>s!=null&&!!s.selectedOption}}})}),t.jsx(Me,{}),t.jsx(Ee,{size:i,children:t.jsx(aa,{size:i,children:t.jsx(je,{label:{label:de.labels.transferTo,width:I,style:{marginLeft:p.labeleMarginLeft.valuePx(i),marginBottom:p.labeleMarginBottom.valuePx(i),marginRight:p.labelMarginRight.valuePx(i)}},errorInfoLabel:D.transferDrawer.transferToError,style:{paddingTop:p.labeledFieldPaddingTop.valuePx(i),paddingBottom:p.labeledFieldPaddingBottom.valuePx(i),paddingLeft:p.labeledFieldPaddingLeft.valuePx(i),paddingRight:p.labeledFieldPaddingRight.valuePx(i),border:"none",width:"100%",outline:"none",padding:0,display:i==="small"?"flex":"inherit"},infoLabelStyle:{textAlign:i==="small"?"left":"right",paddingRight:p.infoLabelPaddingRight.valuePx(i),marginTop:p.infoLabelMarginTop.valuePx(i)},singleSelectPickerField:{name:ge(k,jt),placeholder:D.transferDrawer.transferToPlaceholder,capitalizeOptions:!0,style:{position:"relative"},valueToLogo:(s,h)=>Ae(r.transferMoneyParties,s,h),valueToSubLabels:(s,h)=>ke(r.transferMoneyParties,s,h,!1),defaultValue:{selectedOption:r.transferDetailLocalData.transferTo?.id,allOptions:ne(r,!1,se)},textAlignment:"right",registerOptions:{required:!0,validate:s=>s!=null&&!!s.selectedOption}}})})}),t.jsx(Me,{}),t.jsx(wt,{showAdditionalInfoLabel:!1,label:{label:de.labels.amount,width:I},additionalInfoLabel:D.transferDrawer.amountError,formattedTextField:{type:"number",name:ge(k,Ge),defaultValue:r.transferDetailLocalData.amount.amount===0?void 0:r.transferDetailLocalData.amount.amount,placeholder:D.transferDrawer.amountPlaceholder,returnValueType:"floatValue",prefix:"$",allowNegative:!1,isNumericString:!1,registerOptions:{required:!0,validate:s=>!!s&&s>0},autoComplete:"off",decimalSeparator:".",decimalScale:2,fixedDecimalScale:!1,thousandSeparator:!0,allowLeadingZeros:!1},style:{width:"auto"}})]}),t.jsxs(Zt,{children:[$?t.jsxs(Nt,{children:[t.jsx(Xt,{children:D.transferDrawer.calculator.heading.replace("__rate__",Se).replace("__amount__",rt)}),t.jsx(Lt,{minStep:.01,currentAccountBalance:r.transferDetailLocalData.transferTo?.accountBalance?.available?.amount??0,transferAmount:w,zeniAccountsConfigDetail:g,setYieldEarned:F,setTotalBalance:M})]}):null,t.jsxs(Ht,{windowSize:i,children:[t.jsx(Ut,{windowSize:i,children:y?t.jsxs(t.Fragment,{children:[t.jsxs(Jt,{children:[t.jsx(ze,{children:`${D.transferDrawer.calculator.footerText.annualYieldEarned} ${Z("0,0",{amount:d,currencySymbol:"$"})}`}),t.jsx(ye,{variant:"small-description",display:"flex",data:D.transferDrawer.calculator.footerText.annualYieldEarnedTooltipText,placement:i==="small"?"bottom":"right",children:t.jsx(qt,{})})]}),t.jsx(Gt,{windowSize:i}),t.jsx(Kt,{children:`${D.transferDrawer.calculator.footerText.forTotalBalance} ${Z("0,0",{amount:f,currencySymbol:"$"})}`})]}):t.jsx(ze,{children:D.transferDrawer.calculator.footerText.earnUptoText.replace("__rate__",Se)})}),$?t.jsxs(Fe,{windowSize:i,onClick:()=>T(!1),"data-testid":A("calculator-footer-close"),children:[t.jsx(Be,{className:"calculatorFooterLeftText",children:D.transferDrawer.calculator.footerText.hide}),t.jsx(Qt,{className:"calculatorFooterArrowIcon"})]}):t.jsxs(Fe,{windowSize:i,onClick:()=>T(!0),"data-testid":A("calculator-footer-show"),children:[t.jsx(Be,{className:"calculatorFooterLeftText",children:D.transferDrawer.calculator.footerText.showYieldCalculator}),t.jsx(ea,{className:"calculatorFooterArrowIcon"})]})]})]})]})})]}):t.jsx(Ye,{size:"Standard",start:!0,style:{display:"flex",justifyContent:"center",alignItems:"center",height:"calc(100vh - 500px)"}})})}const ne=(e,r,g,$=!1,y=!1)=>{const w=e.transferMoneyParties.map(d=>{const f={label:d.label,value:d.id};return $&&(r?f.isDisabled=d.id===e?.transferDetailLocalData?.transferTo?.id||d.accType==="paymentAccount"&&e.transferDetailLocalData.transferTo?.accType==="paymentAccount":f.isDisabled=d.id===e.transferDetailLocalData.transferFrom?.id||d.accType==="paymentAccount"&&e.transferDetailLocalData.transferFrom?.accType==="paymentAccount"),f});if(y){const d={label:D.transferDrawer.selectAddAccount,value:"",type:"button",onClick:g};w.push(d)}return w},Pe=(e,r)=>({transferDetails:{[Ge]:e.transferDetailLocalData.amount.amount===0?void 0:e.transferDetailLocalData.amount.amount,transferFrom:{allOptions:ne(e,!0,r,!0,!0),selectedOption:e.transferDetailLocalData.transferFrom?.id!=null?e.transferDetailLocalData.transferFrom?.id:Bt(e)},transferTo:{allOptions:ne(e,!1,r,!0,!1),selectedOption:e.transferDetailLocalData.transferTo?.id}}}),Bt=e=>e.transferDetailLocalData.transferTo?.accType==="depositAccount"&&e.transferDetailLocalData.transferTo?.accountBalance?.available?.amount===0?e.primaryPaymentAccount?.paymentAccountId:void 0,Ft=n.div`
2
2
  margin-top: ${a.sp3};
3
3
  display: flex;
4
4
  background-color: ${e=>e.theme.colors.grey5};
@@ -1,4 +1,4 @@
1
- import{q as C,d as M,a7 as Ne,ca as Ke,V as t,aK as V,bQ as ae,bz as Ve,b as ie,aM as W,m as We,o as i,ag as k,F as L,p as w,bH as Ee,y,fc as X,a as B,c as p,b2 as ne,bL as Le,aQ as Me,av as Ge,fP as Ue,gV as _e,n as Je,ak as R,aZ as Xe,ji as Ze,jV as Qe,be as qe,eH as et,d5 as tt,fM as it,kP as ot,iU as Re,iV as Oe,cq as rt,iL as at,iM as nt,kQ as st,al as E,bO as lt,cv as le,iT as dt,cy as ct}from"./index-8Oyhb03N.js";import{a as f,w as ht}from"./sentry-DlgT2cdq.js";import{n as o,c as de}from"./mui-g2D8ciyb.js";import{bL as G,c4 as pt}from"./zeni-epic-state-C06d6qPM.js";import{s as xt}from"./commonDimensions-7B20r1RL-DX4q8TH6.js";import{g as ce}from"./BoxItem-Cb4_ZBkK-B6f6pk_I.js";import{o as gt}from"./transaction-placeholder-CpOwZAMG-RkVgOUGZ.js";import{o as mt}from"./shield-DOlUxcFf-D7jPBNjK.js";import{U as he,F as pe,X as xe,Y as ge,G as me,J as ut}from"./recharts-D25xpbsw.js";import"./liveblocks-Cv4_XqIL.js";import"./core-CAJzT_Z5.js";import"./lottie-CHtoTuG1.js";import"./analytics-8Xbq3yYL.js";import"./lexical-Dn8yVWzX.js";import"./utils-6fMPdJur.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},r=new e.Error().stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="d242d769-75a9-424d-9dd9-b2859e4b054b",e._sentryDebugIdIdentifier="sentry-dbid-d242d769-75a9-424d-9dd9-b2859e4b054b")}catch{}})();const se=L.getLocalizedStrings().spendManagement.treasury.overviewPage.header,yt={key:"description",value:se.trasnactionTitle,sortOrder:"ascending",width:new y(120,250,400,400,500)},ft={key:"date",value:se.paymentDate,sortOrder:"ascending",width:new y(100,120,200,250,300)},wt={key:"amount",value:se.amount,sortOrder:"ascending",width:new y(80,100,150,180,200)},oe=()=>[yt,ft,wt],S={containerPaddingLeft:i.sp4,containerPaddingRight:i.sp4,containerPaddingTop:i.sp3,containerPaddingBottom:i.sp3,headerLastColumnTopPadding:new y(p[0],p[4]),headerLastColumnRightPadding:new y(p[3],p[11]),headerLastColumnBottomPadding:new y(p[0],p[4]),headerLastColumnLeftPadding:new y(p[3],p[11]),headerHeight:new y(Re,Oe),sortIconSize:new y(p[2],p[2]),headerPaddingTop:new y(p[0],2)};function $t({companyNameSticky:e,sortConfig:r,onColumnSortConfigChanged:n}){const h=M(),l=C(),[a,u]=f.useState(oe());f.useEffect(()=>{const c=[...a];for(const s of c)s.key===r.sortKey?s.sortOrder=r.sortOrder:s.sortOrder="ascending";u(c)},[r.sortKey,r.sortOrder]);const d=(c,s)=>{let m=s;r.sortKey===c&&(m=s==="ascending"?"descending":"ascending"),n(c,m)},g=a.find(c=>c.key===r.sortKey)??a[0],x=c=>a.find(s=>s.key===c)?.value??"",$=a.map(c=>c.key),j=L.getLocalizedStrings().spendManagement.chargeCard.cardList;return l==="small"?t.jsxs(St,{windowSize:l,children:[t.jsxs(zt,{children:[t.jsx(Dt,{children:t.jsx(Pt,{})}),t.jsx(lt,{title:j.sortBy,placeholder:j.sortBy,pickerValues:$,valueToLabel:x,selectedValue:r.sortKey,onPickerSelectionChanged:c=>{d(c,"ascending")},optionTextStyle:ie.extraSmallRegular,titleTextStyle:ie.extraSmallRegular,titleColor:h.colors.primary,selectedOptionColor:h.colors.hero,optionBackgroundColor:h.colors.grey5,downChevronVisible:!1,backgroundColor:h.colors.grey4})]}),t.jsxs(Mt,{onClick:()=>d(g.key,g.sortOrder),"data-testid":W("mobile-cards-list-sort-clicked",r.sortKey),children:[t.jsx(E,{children:g.value}),t.jsx(ue,{windowSize:l,sortDataValue:r.sortKey,headerdata:g,children:t.jsx(ye,{windowSize:l,isSelected:r.sortKey===g.key,children:t.jsx(le,{})})})]})]}):t.jsx(bt,{windowSize:l,children:t.jsx(vt,{children:a.map(c=>c.width.value(l)!==0&&t.jsxs(kt,{companyNameSticky:e,sortDataValue:r.sortKey,actualDataValue:c.key,wrapperWidth:c.width,windowSize:l,children:[t.jsxs(Lt,{onClick:()=>d(c.key,c.sortOrder),"data-testid":W("cards-list-sort-clicked",r.sortKey),children:[t.jsx(E,{children:c.value}),t.jsx(ue,{windowSize:l,sortDataValue:r.sortKey,headerdata:c,children:t.jsx(ye,{windowSize:l,isSelected:r.sortKey===c.key,children:t.jsx(le,{})})})]}),t.jsx(Tt,{sortDataValue:r.sortKey,windowSize:l,isVisible:r.sortKey===c.key&&c.key!=="date",children:t.jsx(Ct,{onClick:()=>d("date","ascending"),"data-testid":W("cards-list-sort-cancel",r.sortKey)})})]},c.key))})})}const jt=ht.memo($t),bt=o.div`
1
+ import{q as C,d as M,a7 as Ne,ca as Ke,V as t,aK as V,bQ as ae,bz as Ve,b as ie,aM as W,m as We,o as i,ag as k,F as L,p as w,bH as Ee,y,fc as X,a as B,c as p,b2 as ne,bL as Le,aQ as Me,av as Ge,fP as Ue,gV as _e,n as Je,ak as R,aZ as Xe,ji as Ze,jV as Qe,be as qe,eH as et,d5 as tt,fM as it,kP as ot,iU as Re,iV as Oe,cq as rt,iL as at,iM as nt,kQ as st,al as E,bO as lt,cv as le,iT as dt,cy as ct}from"./index-BBJ8MbHB.js";import{a as f,w as ht}from"./sentry-CTfRDee5.js";import{n as o,c as de}from"./mui-CqcpY1UR.js";import{bL as G,c4 as pt}from"./zeni-epic-state-n7oqKrUc.js";import{s as xt}from"./commonDimensions-Ds75pRzR-DJ4H9OI5.js";import{g as ce}from"./BoxItem-WOrvBzns-DD4R649W.js";import{o as gt}from"./transaction-placeholder-CpOwZAMG-DpKoIbbu.js";import{o as mt}from"./shield-DOlUxcFf-CaZu4NEg.js";import{U as he,F as pe,X as xe,Y as ge,G as me,J as ut}from"./recharts-bDaLwU4I.js";import"./liveblocks-BstIT-4Z.js";import"./core-BiYEzgTE.js";import"./lottie-Dcr3TlBE.js";import"./analytics-C6bOaJY9.js";import"./lexical-Cbl76XZt.js";import"./utils-BI6ira9J.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},r=new e.Error().stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="4b356d63-68a8-4dd0-b9df-d79024dcc697",e._sentryDebugIdIdentifier="sentry-dbid-4b356d63-68a8-4dd0-b9df-d79024dcc697")}catch{}})();const se=L.getLocalizedStrings().spendManagement.treasury.overviewPage.header,yt={key:"description",value:se.trasnactionTitle,sortOrder:"ascending",width:new y(120,250,400,400,500)},ft={key:"date",value:se.paymentDate,sortOrder:"ascending",width:new y(100,120,200,250,300)},wt={key:"amount",value:se.amount,sortOrder:"ascending",width:new y(80,100,150,180,200)},oe=()=>[yt,ft,wt],S={containerPaddingLeft:i.sp4,containerPaddingRight:i.sp4,containerPaddingTop:i.sp3,containerPaddingBottom:i.sp3,headerLastColumnTopPadding:new y(p[0],p[4]),headerLastColumnRightPadding:new y(p[3],p[11]),headerLastColumnBottomPadding:new y(p[0],p[4]),headerLastColumnLeftPadding:new y(p[3],p[11]),headerHeight:new y(Re,Oe),sortIconSize:new y(p[2],p[2]),headerPaddingTop:new y(p[0],2)};function $t({companyNameSticky:e,sortConfig:r,onColumnSortConfigChanged:n}){const h=M(),l=C(),[a,u]=f.useState(oe());f.useEffect(()=>{const c=[...a];for(const s of c)s.key===r.sortKey?s.sortOrder=r.sortOrder:s.sortOrder="ascending";u(c)},[r.sortKey,r.sortOrder]);const d=(c,s)=>{let m=s;r.sortKey===c&&(m=s==="ascending"?"descending":"ascending"),n(c,m)},g=a.find(c=>c.key===r.sortKey)??a[0],x=c=>a.find(s=>s.key===c)?.value??"",$=a.map(c=>c.key),j=L.getLocalizedStrings().spendManagement.chargeCard.cardList;return l==="small"?t.jsxs(St,{windowSize:l,children:[t.jsxs(zt,{children:[t.jsx(Dt,{children:t.jsx(Pt,{})}),t.jsx(lt,{title:j.sortBy,placeholder:j.sortBy,pickerValues:$,valueToLabel:x,selectedValue:r.sortKey,onPickerSelectionChanged:c=>{d(c,"ascending")},optionTextStyle:ie.extraSmallRegular,titleTextStyle:ie.extraSmallRegular,titleColor:h.colors.primary,selectedOptionColor:h.colors.hero,optionBackgroundColor:h.colors.grey5,downChevronVisible:!1,backgroundColor:h.colors.grey4})]}),t.jsxs(Mt,{onClick:()=>d(g.key,g.sortOrder),"data-testid":W("mobile-cards-list-sort-clicked",r.sortKey),children:[t.jsx(E,{children:g.value}),t.jsx(ue,{windowSize:l,sortDataValue:r.sortKey,headerdata:g,children:t.jsx(ye,{windowSize:l,isSelected:r.sortKey===g.key,children:t.jsx(le,{})})})]})]}):t.jsx(bt,{windowSize:l,children:t.jsx(vt,{children:a.map(c=>c.width.value(l)!==0&&t.jsxs(kt,{companyNameSticky:e,sortDataValue:r.sortKey,actualDataValue:c.key,wrapperWidth:c.width,windowSize:l,children:[t.jsxs(Lt,{onClick:()=>d(c.key,c.sortOrder),"data-testid":W("cards-list-sort-clicked",r.sortKey),children:[t.jsx(E,{children:c.value}),t.jsx(ue,{windowSize:l,sortDataValue:r.sortKey,headerdata:c,children:t.jsx(ye,{windowSize:l,isSelected:r.sortKey===c.key,children:t.jsx(le,{})})})]}),t.jsx(Tt,{sortDataValue:r.sortKey,windowSize:l,isVisible:r.sortKey===c.key&&c.key!=="date",children:t.jsx(Ct,{onClick:()=>d("date","ascending"),"data-testid":W("cards-list-sort-cancel",r.sortKey)})})]},c.key))})})}const jt=ht.memo($t),bt=o.div`
2
2
  top: ${i.sp0};
3
3
  left: ${i.sp0};
4
4
  z-index: 2;
@@ -1,4 +1,4 @@
1
- import{d as ce,q as V,av as $e,a7 as fe,aN as ye,V as r,bz as be,fo as ke,b2 as je,o as t,ji as Se,bQ as ze,ag as k,n as Z,aM as J,F as A,a as $,ap as F,p as a,y as z,ak as R,d5 as ve,bS as Le,l as Me,al as Pe,f6 as Be,c as h,dK as Ee,bd as Te,D as Ie,L as De,b as ee,d0 as We}from"./index-8Oyhb03N.js";import{a as s,w as _e}from"./sentry-DlgT2cdq.js";import{n as i}from"./mui-g2D8ciyb.js";import{Go as Re}from"./zeni-epic-state-C06d6qPM.js";import{I as Ne,N as Ge}from"./VideoPlayer-BgTXP1p7-QMbp4b9s.js";import{r as He}from"./auto-transfer-rule-mbafm5D3-2oXIVweK.js";import{o as Ve}from"./shield-DOlUxcFf-D7jPBNjK.js";import"./liveblocks-Cv4_XqIL.js";import"./core-CAJzT_Z5.js";import"./recharts-D25xpbsw.js";import"./lottie-CHtoTuG1.js";import"./analytics-8Xbq3yYL.js";import"./lexical-Dn8yVWzX.js";import"./utils-6fMPdJur.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},g=new e.Error().stack;g&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[g]="2cfd43e1-1e9c-4cc1-98b8-94beb9a8f56f",e._sentryDebugIdIdentifier="sentry-dbid-2cfd43e1-1e9c-4cc1-98b8-94beb9a8f56f")}catch{}})();const Ae=({isOpen:e,onClose:g})=>{const d=V(),C=A.getLocalizedStrings().spendManagement.treasury.promoPage;return r.jsx(Be,{anchor:"right",slotProps:{paper:{sx:{width:d==="small"||d==="medium-compact"?"100%":"60%",boxShadow:"none"}}},open:e,onClose:g,style:{backgroundColor:a.drawerBackground},transitionDuration:250,children:r.jsxs(Fe,{windowSize:d,children:[r.jsx(Oe,{children:r.jsx(Ye,{onClick:g})}),r.jsxs(qe,{children:[r.jsx(Ue,{windowSize:d,children:C.agreementDrawer.title}),r.jsx(re,{children:C.agreementDrawer.intro}),r.jsx(G,{children:C.agreementDrawer.introBullets.map((p,w)=>r.jsx(ie,{children:p},w))}),r.jsx(G,{children:C.agreementDrawer.documents.map((p,w)=>r.jsx(Ke,{children:p.hasMultipleLinks===!0&&p.links?r.jsx(Qe,{children:p.links.map((u,b)=>r.jsx(Ze,{children:u.link!==""?r.jsx(te,{href:u.link,target:"_blank",rel:"noopener noreferrer",children:u.text}):u.text},b))}):r.jsx(te,{href:p.link,target:"_blank",rel:"noopener noreferrer",children:p.text})},w))}),r.jsx(re,{style:{marginTop:t.sp2},children:C.agreementDrawer.confirmTitle}),r.jsx(G,{children:C.agreementDrawer.confirmBullets.map((p,w)=>r.jsx(ie,{children:p},w))})]})]})})},Fe=i.div`
1
+ import{d as ce,q as V,av as $e,a7 as fe,aN as ye,V as r,bz as be,fo as ke,b2 as je,o as t,ji as Se,bQ as ze,ag as k,n as Z,aM as J,F as A,a as $,ap as F,p as a,y as z,ak as R,d5 as ve,bS as Le,l as Me,al as Pe,f6 as Be,c as h,dK as Ee,bd as Te,D as Ie,L as De,b as ee,d0 as We}from"./index-BBJ8MbHB.js";import{a as s,w as _e}from"./sentry-CTfRDee5.js";import{n as i}from"./mui-CqcpY1UR.js";import{Go as Re}from"./zeni-epic-state-n7oqKrUc.js";import{I as Ne,N as Ge}from"./VideoPlayer-9rYRtSLf-C_MG4aUQ.js";import{r as He}from"./auto-transfer-rule-mbafm5D3-C5MrpFJF.js";import{o as Ve}from"./shield-DOlUxcFf-CaZu4NEg.js";import"./liveblocks-BstIT-4Z.js";import"./core-BiYEzgTE.js";import"./recharts-bDaLwU4I.js";import"./lottie-Dcr3TlBE.js";import"./analytics-C6bOaJY9.js";import"./lexical-Cbl76XZt.js";import"./utils-BI6ira9J.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},g=new e.Error().stack;g&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[g]="71d80594-ecc2-4795-b101-1ab7dbcb8c51",e._sentryDebugIdIdentifier="sentry-dbid-71d80594-ecc2-4795-b101-1ab7dbcb8c51")}catch{}})();const Ae=({isOpen:e,onClose:g})=>{const d=V(),C=A.getLocalizedStrings().spendManagement.treasury.promoPage;return r.jsx(Be,{anchor:"right",slotProps:{paper:{sx:{width:d==="small"||d==="medium-compact"?"100%":"60%",boxShadow:"none"}}},open:e,onClose:g,style:{backgroundColor:a.drawerBackground},transitionDuration:250,children:r.jsxs(Fe,{windowSize:d,children:[r.jsx(Oe,{children:r.jsx(Ye,{onClick:g})}),r.jsxs(qe,{children:[r.jsx(Ue,{windowSize:d,children:C.agreementDrawer.title}),r.jsx(re,{children:C.agreementDrawer.intro}),r.jsx(G,{children:C.agreementDrawer.introBullets.map((p,w)=>r.jsx(ie,{children:p},w))}),r.jsx(G,{children:C.agreementDrawer.documents.map((p,w)=>r.jsx(Ke,{children:p.hasMultipleLinks===!0&&p.links?r.jsx(Qe,{children:p.links.map((u,b)=>r.jsx(Ze,{children:u.link!==""?r.jsx(te,{href:u.link,target:"_blank",rel:"noopener noreferrer",children:u.text}):u.text},b))}):r.jsx(te,{href:p.link,target:"_blank",rel:"noopener noreferrer",children:p.text})},w))}),r.jsx(re,{style:{marginTop:t.sp2},children:C.agreementDrawer.confirmTitle}),r.jsx(G,{children:C.agreementDrawer.confirmBullets.map((p,w)=>r.jsx(ie,{children:p},w))})]})]})})},Fe=i.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  width: 100%;
@@ -1,4 +1,4 @@
1
- import{d as v,q as j,V as t,bz as z,b1 as I,o as r,F as P,p as m,cq as C,y as T,c as p,ak as D}from"./index-8Oyhb03N.js";import{a as h}from"./sentry-DlgT2cdq.js";import{n as o}from"./mui-g2D8ciyb.js";import{$ as E}from"./BoxItem-Cb4_ZBkK-B6f6pk_I.js";import{o as B}from"./commonDimensions-7B20r1RL-DX4q8TH6.js";import{O as L}from"./StatementItem-BMV39A0D-p14qABNB.js";import"./liveblocks-Cv4_XqIL.js";import"./core-CAJzT_Z5.js";import"./recharts-D25xpbsw.js";import"./zeni-epic-state-C06d6qPM.js";import"./lottie-CHtoTuG1.js";import"./analytics-8Xbq3yYL.js";import"./lexical-Dn8yVWzX.js";import"./utils-6fMPdJur.js";import"./downloadPdf-D1MhyCE3-DSprID13.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]="b9761a7a-07d8-4f5a-95be-5c927248718d",e._sentryDebugIdIdentifier="sentry-dbid-b9761a7a-07d8-4f5a-95be-5c927248718d")}catch{}})();const b=P.getLocalizedStrings().spendManagement.treasury.statements,w={listItemMargin:new T(p[3],p[8])},re=({currentTenantCompanyName:e,authParams:a,downloadEndPoint:c,statementListView:n,onBackClick:f})=>{const g=v(),i=j(),x=h.createRef(),y=h.useRef(),$=n.statements.length===0,k=()=>B.transactionItemHeightResponsive.value(i),S=({index:s,style:l})=>{const d=n.statements[s];return $===!1?t.jsx(u,{windowSize:i,style:{...l,width:`calc(100% - 2*${w.listItemMargin.valuePx(i)})`},children:t.jsx(L,{currentTenantCompanyName:e,accountLast4:"",data:d,authParams:a,downloadEndPoint:c,documentType:"treasuryStatement",boxType:E(s,n.statements.length)},d.id)}):t.jsx(M,{style:{...l},children:t.jsx(R,{children:t.jsx(u,{windowSize:i,children:t.jsx(N,{children:b.noStatements})})})})};return t.jsxs(_,{children:[t.jsx(z,{title:b.title,backgroundColor:g.colors.grey4,style:{zIndex:3},onBackClick:f,source:"treasury"}),t.jsx(V,{windowSize:i,children:t.jsx(I,{children:({height:s,width:l})=>t.jsx(q,{ref:x,height:s,width:l,innerRef:y,itemKey:d=>d,itemCount:n.statements.length,itemSize:k,initialScrollOffset:0,children:S})})})]})},M=o.div``,u=o.div`
1
+ import{d as v,q as j,V as t,bz as z,b1 as I,o as r,F as P,p as m,cq as C,y as T,c as p,ak as D}from"./index-BBJ8MbHB.js";import{a as h}from"./sentry-CTfRDee5.js";import{n as o}from"./mui-CqcpY1UR.js";import{$ as E}from"./BoxItem-WOrvBzns-DD4R649W.js";import{o as B}from"./commonDimensions-Ds75pRzR-DJ4H9OI5.js";import{O as L}from"./StatementItem-hcBoe79o-BTjI_1ZK.js";import"./liveblocks-BstIT-4Z.js";import"./core-BiYEzgTE.js";import"./recharts-bDaLwU4I.js";import"./zeni-epic-state-n7oqKrUc.js";import"./lottie-Dcr3TlBE.js";import"./analytics-C6bOaJY9.js";import"./lexical-Cbl76XZt.js";import"./utils-BI6ira9J.js";import"./downloadPdf-B8UMaJCC-BA2fFFfC.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]="045571b1-ce43-4d9f-94a4-3a5d04962a26",e._sentryDebugIdIdentifier="sentry-dbid-045571b1-ce43-4d9f-94a4-3a5d04962a26")}catch{}})();const b=P.getLocalizedStrings().spendManagement.treasury.statements,w={listItemMargin:new T(p[3],p[8])},re=({currentTenantCompanyName:e,authParams:a,downloadEndPoint:c,statementListView:n,onBackClick:f})=>{const g=v(),i=j(),x=h.createRef(),y=h.useRef(),$=n.statements.length===0,k=()=>B.transactionItemHeightResponsive.value(i),S=({index:s,style:l})=>{const d=n.statements[s];return $===!1?t.jsx(u,{windowSize:i,style:{...l,width:`calc(100% - 2*${w.listItemMargin.valuePx(i)})`},children:t.jsx(L,{currentTenantCompanyName:e,accountLast4:"",data:d,authParams:a,downloadEndPoint:c,documentType:"treasuryStatement",boxType:E(s,n.statements.length)},d.id)}):t.jsx(M,{style:{...l},children:t.jsx(R,{children:t.jsx(u,{windowSize:i,children:t.jsx(N,{children:b.noStatements})})})})};return t.jsxs(_,{children:[t.jsx(z,{title:b.title,backgroundColor:g.colors.grey4,style:{zIndex:3},onBackClick:f,source:"treasury"}),t.jsx(V,{windowSize:i,children:t.jsx(I,{children:({height:s,width:l})=>t.jsx(q,{ref:x,height:s,width:l,innerRef:y,itemKey:d=>d,itemCount:n.statements.length,itemSize:k,initialScrollOffset:0,children:S})})})]})},M=o.div``,u=o.div`
2
2
  margin: ${e=>`${r.sp0} ${w.listItemMargin.valuePx(e.windowSize)}`};
3
3
  &:hover {
4
4
  position: relative;