@tesouro/embedded-components-react 0.5.222 → 0.5.224

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 (261) hide show
  1. package/dist/index.d.ts +214 -214
  2. package/dist/index.js +1 -1
  3. package/dist/lib/BillPayWidget.d.ts +151 -151
  4. package/dist/lib/BillPayWidget.js +1 -1
  5. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/feature/dist/index21.js +20 -10
  6. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/feature/dist/index26.js +251 -251
  7. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/data-access/dist/index.js +22 -0
  8. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/data-access/dist/index10.js +34 -0
  9. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{data-access/dist/lib/usePayableMutations/useForceApprovePayableMutation.js → bill-detail/data-access/dist/index11.js} +7 -7
  10. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{data-access/dist/lib/usePayableMutations/useForceRejectPayableMutation.js → bill-detail/data-access/dist/index12.js} +7 -7
  11. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{data-access/dist/lib/usePayableMutations/useReopenPayableMutation.js → bill-detail/data-access/dist/index13.js} +7 -7
  12. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{data-access/dist/lib/usePayableMutations/useSubmitPayableForApprovalMutation.js → bill-detail/data-access/dist/index14.js} +9 -9
  13. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{data-access/dist/lib/usePayableMutations/useUpdatePayableMutation.js → bill-detail/data-access/dist/index15.js} +7 -7
  14. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{data-access/dist/lib/usePayableMutations/useValidatePayableMutation.js → bill-detail/data-access/dist/index16.js} +5 -5
  15. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/data-access/dist/index17.js +12 -0
  16. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{data-access/dist/lib/usePayablePaymentRecordsQuery.js → bill-detail/data-access/dist/index18.js} +1 -1
  17. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{data-access/dist/lib/usePayableSuggestionsQuery.js → bill-detail/data-access/dist/index19.js} +1 -1
  18. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{data-access/dist/lib/usePayableApprovalRequests.js → bill-detail/data-access/dist/index2.js} +6 -5
  19. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{data-access/dist/lib/payablePolicyAssignmentQueryOptions.js → bill-detail/data-access/dist/index20.js} +1 -1
  20. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{data-access/dist/lib/usePayablesQueries/usePayableQuery.js → bill-detail/data-access/dist/index21.js} +9 -8
  21. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{data-access/dist/lib/usePayablesQueries/usePayablesByIdsQueries.js → bill-detail/data-access/dist/index22.js} +6 -6
  22. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/data-access/dist/index23.js +2 -0
  23. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{data-access/dist/lib/usePayableHistoryQuery.js → bill-detail/data-access/dist/index3.js} +1 -1
  24. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{data-access/dist/lib/usePayableLineItems.js → bill-detail/data-access/dist/index4.js} +3 -3
  25. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{data-access/dist/lib/usePayableMutations/useAttachPayableFileMutation.js → bill-detail/data-access/dist/index5.js} +7 -7
  26. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{data-access/dist/lib/usePayableMutations/useCancelPayableMutation.js → bill-detail/data-access/dist/index6.js} +7 -7
  27. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/data-access/dist/index7.js +40 -0
  28. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/data-access/dist/index8.js +34 -0
  29. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/data-access/dist/index9.js +34 -0
  30. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index.js +12 -0
  31. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index10.js +11 -0
  32. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{feature → bill-detail/feature}/dist/index11.js +2 -2
  33. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{feature → bill-detail/feature}/dist/index12.js +11 -11
  34. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{feature → bill-detail/feature}/dist/index13.js +2 -2
  35. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{feature → bill-detail/feature}/dist/index14.js +8 -8
  36. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{feature → bill-detail/feature}/dist/index15.js +11 -11
  37. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{feature/dist/index17.js → bill-detail/feature/dist/index16.js} +8 -8
  38. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{feature/dist/index18.js → bill-detail/feature/dist/index17.js} +9 -9
  39. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{feature/dist/index19.js → bill-detail/feature/dist/index18.js} +7 -7
  40. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{feature/dist/index20.js → bill-detail/feature/dist/index19.js} +9 -9
  41. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index2.js +59 -0
  42. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{feature/dist/index21.js → bill-detail/feature/dist/index20.js} +1 -1
  43. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{feature/dist/index22.js → bill-detail/feature/dist/index21.js} +2 -2
  44. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{feature/dist/index23.js → bill-detail/feature/dist/index22.js} +1 -1
  45. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{feature/dist/index24.js → bill-detail/feature/dist/index23.js} +11 -11
  46. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{feature/dist/index25.js → bill-detail/feature/dist/index24.js} +5 -5
  47. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{feature/dist/index26.js → bill-detail/feature/dist/index25.js} +1 -1
  48. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{feature/dist/index27.js → bill-detail/feature/dist/index26.js} +9 -9
  49. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{feature/dist/index28.js → bill-detail/feature/dist/index27.js} +19 -19
  50. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{feature/dist/index29.js → bill-detail/feature/dist/index28.js} +1 -1
  51. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{feature/dist/index30.js → bill-detail/feature/dist/index29.js} +2 -2
  52. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index3.js +7 -0
  53. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{feature/dist/index31.js → bill-detail/feature/dist/index30.js} +3 -3
  54. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{feature/dist/index32.js → bill-detail/feature/dist/index31.js} +14 -14
  55. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{feature/dist/index33.js → bill-detail/feature/dist/index32.js} +3 -3
  56. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{feature/dist/index34.js → bill-detail/feature/dist/index33.js} +5 -5
  57. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{feature/dist/index35.js → bill-detail/feature/dist/index34.js} +1 -1
  58. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{feature/dist/index36.js → bill-detail/feature/dist/index35.js} +71 -70
  59. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index36.js +4 -0
  60. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{feature/dist/index38.js → bill-detail/feature/dist/index37.js} +4 -4
  61. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{feature/dist/index39.js → bill-detail/feature/dist/index38.js} +49 -48
  62. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index39.js +3 -0
  63. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index4.js +17 -0
  64. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index40.js +5 -0
  65. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index41.js +67 -0
  66. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index42.js +1 -0
  67. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index5.js +40 -0
  68. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index6.js +229 -0
  69. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index7.js +87 -0
  70. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index8.js +50 -0
  71. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index9.js +16 -0
  72. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index.js +50 -0
  73. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{ui/dist/index29.js → bill-detail/ui/dist/index10.js} +4 -4
  74. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{ui/dist/index30.js → bill-detail/ui/dist/index11.js} +3 -3
  75. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{ui/dist/index31.js → bill-detail/ui/dist/index12.js} +4 -4
  76. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index13.js +2 -0
  77. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{ui/dist/index33.js → bill-detail/ui/dist/index14.js} +12 -13
  78. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{ui/dist/index34.js → bill-detail/ui/dist/index15.js} +27 -28
  79. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index16.js +2 -0
  80. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{ui/dist/index36.js → bill-detail/ui/dist/index17.js} +2 -2
  81. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{ui/dist/index37.js → bill-detail/ui/dist/index18.js} +3 -3
  82. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index19.js +2 -0
  83. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index2.js +15 -0
  84. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{ui/dist/index42.js → bill-detail/ui/dist/index20.js} +2 -2
  85. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{ui/dist/index43.js → bill-detail/ui/dist/index21.js} +3 -3
  86. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index22.js +2 -0
  87. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{ui/dist/index45.js → bill-detail/ui/dist/index23.js} +2 -2
  88. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{ui/dist/index46.js → bill-detail/ui/dist/index24.js} +3 -3
  89. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index25.js +2 -0
  90. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{ui/dist/index48.js → bill-detail/ui/dist/index26.js} +5 -5
  91. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{ui/dist/index49.js → bill-detail/ui/dist/index27.js} +7 -7
  92. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index28.js +2 -0
  93. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{ui/dist/index51.js → bill-detail/ui/dist/index29.js} +10 -10
  94. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index3.js +55 -0
  95. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{ui/dist/index52.js → bill-detail/ui/dist/index30.js} +1 -1
  96. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{ui/dist/index53.js → bill-detail/ui/dist/index31.js} +19 -19
  97. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{ui → bill-detail/ui}/dist/index32.js +1 -1
  98. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{ui/dist/index61.js → bill-detail/ui/dist/index33.js} +8 -9
  99. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{ui/dist/index62.js → bill-detail/ui/dist/index34.js} +22 -24
  100. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{ui/dist/index69.js → bill-detail/ui/dist/index36.js} +1 -1
  101. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{ui/dist/index70.js → bill-detail/ui/dist/index37.js} +8 -9
  102. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{ui/dist/index72.js → bill-detail/ui/dist/index39.js} +1 -1
  103. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index4.js +2 -0
  104. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{ui/dist/index73.js → bill-detail/ui/dist/index40.js} +2 -2
  105. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{ui/dist/index64.js → bill-detail/ui/dist/index42.js} +1 -1
  106. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{ui/dist/index65.js → bill-detail/ui/dist/index43.js} +3 -3
  107. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{ui/dist/index89.js → bill-detail/ui/dist/index45.js} +1 -1
  108. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{ui/dist/index90.js → bill-detail/ui/dist/index46.js} +2 -2
  109. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{ui/dist/index95.js → bill-detail/ui/dist/index48.js} +3 -3
  110. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{ui/dist/index96.js → bill-detail/ui/dist/index49.js} +5 -5
  111. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index5.js +19 -0
  112. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{ui/dist/index98.js → bill-detail/ui/dist/index51.js} +1 -1
  113. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{ui/dist/index99.js → bill-detail/ui/dist/index52.js} +3 -3
  114. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{ui/dist/index54.js → bill-detail/ui/dist/index53.js} +1 -1
  115. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index6.js +23 -0
  116. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index7.js +1 -0
  117. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index8.js +32 -0
  118. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index9.js +1 -0
  119. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/data-access/dist/index.js +6 -0
  120. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{data-access/dist/lib/usePayablesQueries/useFirstPayablesPagesQuery.js → bills-list/data-access/dist/index2.js} +8 -8
  121. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{data-access/dist/lib/usePayablesQueries/usePayablesCountQueries.js → bills-list/data-access/dist/index3.js} +8 -7
  122. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{data-access/dist/lib/usePayablesQueries/usePayablesQuery.js → bills-list/data-access/dist/index4.js} +8 -7
  123. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/data-access/dist/index5.js +30 -0
  124. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/data-access/dist/index6.js +4 -0
  125. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/feature/dist/index.js +8 -0
  126. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/feature/dist/index10.js +17 -0
  127. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{feature/dist/index52.js → bills-list/feature/dist/index11.js} +1 -1
  128. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{feature/dist/index53.js → bills-list/feature/dist/index12.js} +1 -1
  129. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{feature/dist/index54.js → bills-list/feature/dist/index13.js} +3 -3
  130. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{feature/dist/index55.js → bills-list/feature/dist/index14.js} +23 -23
  131. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{feature/dist/index56.js → bills-list/feature/dist/index15.js} +5 -5
  132. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/feature/dist/index16.js +398 -0
  133. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/feature/dist/index17.js +246 -0
  134. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/feature/dist/index18.js +4 -0
  135. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/feature/dist/index19.js +5 -0
  136. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{feature/dist/index44.js → bills-list/feature/dist/index2.js} +3 -3
  137. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/feature/dist/index20.js +40 -0
  138. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/feature/dist/index21.js +1 -0
  139. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{feature/dist/index45.js → bills-list/feature/dist/index3.js} +1 -1
  140. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{feature/dist/index46.js → bills-list/feature/dist/index4.js} +2 -2
  141. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{feature/dist/index47.js → bills-list/feature/dist/index5.js} +1 -1
  142. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{feature/dist/index48.js → bills-list/feature/dist/index6.js} +2 -2
  143. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{feature/dist/index49.js → bills-list/feature/dist/index7.js} +2 -2
  144. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{feature/dist/index50.js → bills-list/feature/dist/index8.js} +3 -6
  145. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/feature/dist/index9.js +22 -0
  146. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/ui/dist/index.js +21 -0
  147. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{ui/dist/index77.js → bills-list/ui/dist/index10.js} +4 -4
  148. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/ui/dist/index11.js +3 -0
  149. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{ui/dist/index79.js → bills-list/ui/dist/index12.js} +1 -1
  150. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{ui/dist/index80.js → bills-list/ui/dist/index13.js} +3 -3
  151. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/ui/dist/index14.js +2 -0
  152. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{ui/dist/index82.js → bills-list/ui/dist/index15.js} +1 -1
  153. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{ui/dist/index83.js → bills-list/ui/dist/index16.js} +3 -3
  154. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/ui/dist/index17.js +2 -0
  155. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{ui/dist/index85.js → bills-list/ui/dist/index18.js} +15 -16
  156. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{ui/dist/index86.js → bills-list/ui/dist/index19.js} +1 -1
  157. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/ui/dist/index2.js +14 -0
  158. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{ui/dist/index87.js → bills-list/ui/dist/index20.js} +24 -27
  159. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/ui/dist/index21.js +3 -0
  160. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/ui/dist/index3.js +64 -0
  161. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/ui/dist/index4.js +2 -0
  162. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/ui/dist/index5.js +8 -0
  163. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/ui/dist/index6.js +35 -0
  164. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/ui/dist/index7.js +2 -0
  165. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{ui/dist/index75.js → bills-list/ui/dist/index8.js} +2 -2
  166. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{ui/dist/index76.js → bills-list/ui/dist/index9.js} +1 -1
  167. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index.js +3 -28
  168. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/invalidation.js +8 -8
  169. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index.js +1 -15
  170. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index10.js +23 -7
  171. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index2.js +3 -57
  172. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index3.js +43 -4
  173. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index4.js +1 -17
  174. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index5.js +3 -36
  175. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index6.js +109 -219
  176. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index7.js +5 -85
  177. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index8.js +104 -47
  178. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index9.js +1 -16
  179. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/pay-bill/ui/dist/index5.js +1 -1
  180. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/pay-bill/ui/dist/index6.js +1 -1
  181. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index.js +17 -83
  182. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index10.js +50 -31
  183. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index12.js +2 -13
  184. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index13.js +36 -50
  185. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index15.js +10 -9
  186. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index16.js +14 -25
  187. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index17.js +2 -18
  188. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index18.js +8 -16
  189. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index19.js +74 -19
  190. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index2.js +16 -8
  191. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index21.js +2 -14
  192. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index22.js +25 -14
  193. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index23.js +4 -2
  194. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index24.js +28 -2
  195. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index25.js +2 -30
  196. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index26.js +7 -2
  197. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index27.js +30 -28
  198. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index28.js +1 -0
  199. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index3.js +16 -75
  200. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/{index59.js → index4.js} +2 -2
  201. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index5.js +1 -1
  202. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index6.js +10 -11
  203. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index7.js +2 -64
  204. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index8.js +0 -1
  205. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index9.js +16 -6
  206. package/dist/libs/tesouro-embedded-components-react/settings-widget/feature/dist/index6.js +9 -9
  207. package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/index.js +5 -4
  208. package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/build-info.js +1 -1
  209. package/dist/libs/tesouro-embedded-components-react/{bill-pay-widget/feature/dist/index16.js → shared/feature/dist/lib/calendar/useLocalCalendarDay.js} +1 -1
  210. package/dist/libs/tesouro-embedded-components-react/widget-suite/feature/dist/index8.js +1 -1
  211. package/package.json +1 -1
  212. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/lib/usePayableMutations/index.js +0 -12
  213. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/lib/usePayableMutations/useCancelScheduledPaymentMutation.js +0 -40
  214. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/lib/usePayableMutations/useCreatePayableMutation.js +0 -34
  215. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/lib/usePayableMutations/useDeletePayableFileMutation.js +0 -34
  216. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/lib/usePayableMutations/useDeletePayableMutation.js +0 -34
  217. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/lib/usePayablesQueries/index.js +0 -6
  218. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/lib/usePayablesQueries/usePayablesTotalCountQuery.js +0 -29
  219. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index37.js +0 -4
  220. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index40.js +0 -3
  221. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index41.js +0 -5
  222. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index42.js +0 -46
  223. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index43.js +0 -1
  224. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index51.js +0 -22
  225. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index57.js +0 -396
  226. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index58.js +0 -334
  227. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index59.js +0 -4
  228. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index60.js +0 -7
  229. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index61.js +0 -108
  230. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index62.js +0 -1
  231. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index63.js +0 -27
  232. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index100.js +0 -2
  233. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index20.js +0 -1
  234. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index39.js +0 -18
  235. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index40.js +0 -54
  236. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index55.js +0 -4
  237. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index56.js +0 -41
  238. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index57.js +0 -2
  239. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index58.js +0 -19
  240. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index60.js +0 -2
  241. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index63.js +0 -2
  242. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index66.js +0 -2
  243. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index67.js +0 -2
  244. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index68.js +0 -1
  245. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index71.js +0 -2
  246. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index74.js +0 -2
  247. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index78.js +0 -3
  248. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index81.js +0 -2
  249. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index84.js +0 -2
  250. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index88.js +0 -3
  251. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index91.js +0 -2
  252. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index92.js +0 -7
  253. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index93.js +0 -34
  254. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index94.js +0 -2
  255. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index97.js +0 -2
  256. /package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{ui → bill-detail/ui}/dist/index35.js +0 -0
  257. /package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{ui → bill-detail/ui}/dist/index38.js +0 -0
  258. /package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{ui → bill-detail/ui}/dist/index41.js +0 -0
  259. /package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{ui → bill-detail/ui}/dist/index44.js +0 -0
  260. /package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{ui → bill-detail/ui}/dist/index47.js +0 -0
  261. /package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{ui → bill-detail/ui}/dist/index50.js +0 -0
@@ -38,24 +38,24 @@ import { valuesKey as g } from "./index17.js";
38
38
  import { AdditionalOwnersStep as be } from "./index18.js";
39
39
  import { buildCreateApplicationBody as xe, buildUpdateApplicationBody as Se } from "./index19.js";
40
40
  import { buildOnboardingPrefill as Ce } from "./index20.js";
41
- import { acceptDraftedValues as we, asCreateBody as Te, buildDraftApplicationBody as Ee, draftOwners as De } from "./index21.js";
42
- import { OnboardingApplicationView as Oe, applicationStatusNoticeFor as ke, hiddenViewReason as Ae, isNoticeView as je, mergeApplicationStatusLabels as Me, onboardingApplicationViewFor as Ne } from "./index23.js";
43
- import { OnboardingAnalyticsEvent as Pe, WIDGET_NAME as Fe } from "./index24.js";
44
- import { withoutResumeOnlyOwnerFields as Ie, withoutStoredIdentifierMarkers as Le } from "./index25.js";
45
- import { ApplicationClientSecretProvider as Re, useApplicationClientSecret as ze } from "../../data-access/dist/index3.js";
46
- import { useCreateApplication as Be } from "../../data-access/dist/index5.js";
47
- import { useUpdateApplication as Ve } from "../../data-access/dist/index6.js";
48
- import { useSubmitApplication as He } from "../../data-access/dist/index7.js";
49
- import { useDeleteApplication as Ue } from "../../data-access/dist/index8.js";
50
- import { usePollApplicationCompletion as We } from "../../data-access/dist/index9.js";
51
- import { useResumableBankAccountApplication as Ge } from "../../data-access/dist/index11.js";
52
- import { useStartedBankAccountApplication as Ke } from "../../data-access/dist/index12.js";
41
+ import { acceptDraftedValues as we, asCreateBody as Te, buildDraftApplicationBody as Ee, draftOwners as De, withApplicantWorkEmail as Oe } from "./index21.js";
42
+ import { OnboardingApplicationView as ke, applicationStatusNoticeFor as Ae, hiddenViewReason as je, isNoticeView as Me, mergeApplicationStatusLabels as Ne, onboardingApplicationViewFor as Pe } from "./index23.js";
43
+ import { OnboardingAnalyticsEvent as Fe, WIDGET_NAME as Ie } from "./index24.js";
44
+ import { withoutResumeOnlyOwnerFields as Le, withoutStoredIdentifierMarkers as Re } from "./index25.js";
45
+ import { ApplicationClientSecretProvider as ze, useApplicationClientSecret as Be } from "../../data-access/dist/index3.js";
46
+ import { useCreateApplication as Ve } from "../../data-access/dist/index5.js";
47
+ import { useUpdateApplication as He } from "../../data-access/dist/index6.js";
48
+ import { useSubmitApplication as Ue } from "../../data-access/dist/index7.js";
49
+ import { useDeleteApplication as We } from "../../data-access/dist/index8.js";
50
+ import { usePollApplicationCompletion as Ge } from "../../data-access/dist/index9.js";
51
+ import { useResumableBankAccountApplication as Ke } from "../../data-access/dist/index11.js";
52
+ import { useStartedBankAccountApplication as qe } from "../../data-access/dist/index12.js";
53
53
  import "../../data-access/dist/index.js";
54
- import { useCallback as qe, useEffect as _, useMemo as v, useReducer as Je, useRef as Ye, useState as y } from "react";
55
- import { Fragment as Xe, jsx as b, jsxs as x } from "react/jsx-runtime";
54
+ import { useCallback as Je, useEffect as _, useMemo as v, useReducer as Ye, useRef as Xe, useState as y } from "react";
55
+ import { Fragment as Ze, jsx as b, jsxs as Qe } from "react/jsx-runtime";
56
56
  //#region ../../libs/tesouro-embedded-components-react/bank-account-onboarding-widget/feature/dist/index26.js
57
- var Ze = 2 ** 31 - 1, Qe = "DRAFT", $e = [], S = (e) => m(e, void 0);
58
- function et(e) {
57
+ var $e = 2 ** 31 - 1, et = "DRAFT", tt = [], x = (e) => m(e, void 0);
58
+ function nt(e) {
59
59
  return {
60
60
  ...e,
61
61
  taxId: "",
@@ -63,17 +63,17 @@ function et(e) {
63
63
  taxIdOnFileStructure: e.companyStructure === "" ? void 0 : e.companyStructure
64
64
  };
65
65
  }
66
- function C(e) {
66
+ function S(e) {
67
67
  return {
68
68
  ...e,
69
69
  ssn: "",
70
70
  ssnOnFileLast4: _e(e.ssn)
71
71
  };
72
72
  }
73
- function tt(e, t) {
73
+ function rt(e, t) {
74
74
  return t ? t.index === null ? [...e, t.owner] : e.map((e, n) => n === t.index ? t.owner : e) : e;
75
75
  }
76
- var nt = {
76
+ var it = {
77
77
  companyLegalName: "",
78
78
  companyDbaName: "",
79
79
  businessAddress: "",
@@ -87,7 +87,7 @@ var nt = {
87
87
  naicsCode: "",
88
88
  isAuthorized: null,
89
89
  isCheckboxChecked: !1
90
- }, rt = {
90
+ }, at = {
91
91
  firstName: "",
92
92
  lastName: "",
93
93
  dateOfBirth: void 0,
@@ -101,7 +101,7 @@ var nt = {
101
101
  ownsOver25Percent: null,
102
102
  ownershipPercentage: null
103
103
  };
104
- function it(e, t) {
104
+ function ot(e, t) {
105
105
  if (e === 0) return {
106
106
  title: t.businessReviewTitle,
107
107
  subtitle: t.businessReviewSubtitle
@@ -119,12 +119,12 @@ function it(e, t) {
119
119
  subtitle: n.subheading
120
120
  };
121
121
  }
122
- function at({ onEmbeddedOnboardingCompletedSuccessfully: ie, onNavigateToDashboard: de, labels: m, initialBusinessDetails: Ce, initialPersonalDetails: Fe, initialAdditionalOwners: Le, initialApplicationId: Re = null, initialBoundAuthEpoch: Ge, onEditableDraftChange: Ke, onApplicationDeleted: Qe, bankLogoSrc: at, disclosureLinks: ot, open: st, defaultOpen: ct, onOpenChange: w, isFullScreenInline: T = !1 }) {
123
- let E = re(), { authEpoch: lt } = s();
122
+ function st({ onEmbeddedOnboardingCompletedSuccessfully: ie, onNavigateToDashboard: de, labels: m, initialBusinessDetails: Ce, initialPersonalDetails: Ie, initialAdditionalOwners: Re, initialApplicationId: ze = null, initialBoundAuthEpoch: Ke, onEditableDraftChange: qe, onApplicationDeleted: et, bankLogoSrc: st, disclosureLinks: ct, open: lt, defaultOpen: ut, onOpenChange: C, isFullScreenInline: w = !1 }) {
123
+ let T = re(), { authEpoch: dt } = s();
124
124
  _(() => {
125
- E(Pe.Mounted);
126
- }, [E]);
127
- let D = {
125
+ T(Fe.Mounted);
126
+ }, [T]);
127
+ let E = {
128
128
  ...p,
129
129
  ...m,
130
130
  stepIndicator: {
@@ -140,40 +140,40 @@ function at({ onEmbeddedOnboardingCompletedSuccessfully: ie, onNavigateToDashboa
140
140
  },
141
141
  unsavedApplicationDialog: m?.unsavedApplicationDialog ?? {},
142
142
  deleteApplicationDialog: m?.deleteApplicationDialog ?? {},
143
- applicationStatus: Me(m?.applicationStatus)
144
- }, O = oe().initResponse, { termsHref: ut, privacyHref: dt, electronicCommunicationHref: ft, patriotActHref: pt } = ot ?? {}, mt = st === void 0, [ht, gt] = y(() => ct ?? !1), k = mt ? ht : st, _t = ct ?? !1, A = qe((e) => {
145
- mt && gt(e), w?.(e);
146
- }, [w, mt]), vt = qe(() => {
143
+ applicationStatus: Ne(m?.applicationStatus)
144
+ }, D = oe().initResponse, { termsHref: ft, privacyHref: pt, electronicCommunicationHref: mt, patriotActHref: ht } = ct ?? {}, gt = lt === void 0, [_t, vt] = y(() => ut ?? !1), O = gt ? _t : lt, yt = ut ?? !1, k = Je((e) => {
145
+ gt && vt(e), C?.(e);
146
+ }, [C, gt]), bt = Je(() => {
147
147
  ie();
148
- }, [ie]), yt = ae(), [j, bt] = y(0), [M, N] = y(() => ({
149
- ...nt,
148
+ }, [ie]), xt = ae(), [A, St] = y(0), [j, M] = y(() => ({
149
+ ...it,
150
150
  ...Ce
151
- })), [P, F] = y(() => ({
152
- ...rt,
153
- ...Fe
154
- })), [I, L] = y(() => Le ?? []), [R, xt] = y(() => ({
155
- business: M,
156
- personal: P,
157
- owners: I
158
- })), [St, Ct] = y(null);
151
+ })), [N, P] = y(() => ({
152
+ ...at,
153
+ ...Ie
154
+ })), [F, I] = y(() => Re ?? []), [L, Ct] = y(() => ({
155
+ business: j,
156
+ personal: N,
157
+ owners: F
158
+ })), [wt, Tt] = y(null);
159
159
  _(() => {
160
- if (!St) return;
160
+ if (!wt) return;
161
161
  let e = {
162
- business: M,
163
- personal: P,
164
- owners: I
162
+ business: j,
163
+ personal: N,
164
+ owners: F
165
165
  };
166
- xt((t) => St.next(e, t)), Ct(null);
166
+ Ct((t) => wt.next(e, t)), Tt(null);
167
167
  }, [
168
- St,
169
- M,
170
- P,
171
- I
168
+ wt,
169
+ j,
170
+ N,
171
+ F
172
172
  ]);
173
- let wt = (e, { owners: t = "none" } = {}) => Ct({ next: (n, r) => ({
173
+ let Et = (e, { owners: t = "none" } = {}) => Tt({ next: (n, r) => ({
174
174
  business: e.includes("business") ? n.business : r.business,
175
175
  personal: e.includes("personal") ? n.personal : r.personal,
176
- owners: t === "cleared" ? $e : t === "restored" ? we({
176
+ owners: t === "cleared" ? tt : t === "restored" ? we({
177
177
  current: n,
178
178
  saved: r,
179
179
  dirty: {
@@ -183,121 +183,121 @@ function at({ onEmbeddedOnboardingCompletedSuccessfully: ie, onNavigateToDashboa
183
183
  },
184
184
  ownersWrite: "list"
185
185
  }).owners : e.includes("owners") ? n.owners : r.owners
186
- }) }), [Tt, Et] = y(null), [Dt, Ot] = y(0), [kt, At] = y(!1), [jt, Mt] = y(!1), [z, Nt] = y(null), [B, Pt] = y(null), [Ft, It] = y(null), [V, Lt] = y(Re), [Rt, zt] = y(!1), [H, Bt] = y({}), Vt = (e) => Bt((t) => ({
186
+ }) }), [Dt, Ot] = y(null), [kt, At] = y(0), [jt, R] = y(!1), [Mt, Nt] = y(!1), [z, Pt] = y(null), [B, Ft] = y(null), [It, Lt] = y(null), [V, Rt] = y(ze), [zt, Bt] = y(!1), [H, Vt] = y({}), Ht = (e) => Vt((t) => ({
187
187
  ...t,
188
- ...e.taxId && S(e.taxId) && e.taxIdStructure ? {
188
+ ...e.taxId && x(e.taxId) && e.taxIdStructure ? {
189
189
  taxId: e.taxId,
190
190
  taxIdStructure: e.taxIdStructure
191
191
  } : {},
192
- ...e.ssn && S(e.ssn) ? { ssn: e.ssn } : {}
193
- })), Ht = (e) => {
194
- let { taxId: t, taxIdStructure: n } = H, r = t !== void 0 && n !== void 0 && e.companyStructure !== M.companyStructure && e.companyStructure !== "" && e.companyStructure === "SOLE_PROPRIETORSHIP" != (n === "SOLE_PROPRIETORSHIP");
195
- N(r ? {
192
+ ...e.ssn && x(e.ssn) ? { ssn: e.ssn } : {}
193
+ })), Ut = (e) => {
194
+ let { taxId: t, taxIdStructure: n } = H, r = t !== void 0 && n !== void 0 && e.companyStructure !== j.companyStructure && e.companyStructure !== "" && e.companyStructure === "SOLE_PROPRIETORSHIP" != (n === "SOLE_PROPRIETORSHIP");
195
+ M(r ? {
196
196
  ...e,
197
197
  taxId: e.taxId === t ? "" : e.taxId,
198
198
  taxIdOnFileLast4: _e(t),
199
199
  taxIdOnFileStructure: n
200
200
  } : e);
201
- }, [Ut, Wt] = y(Ge ?? lt), [Gt, U] = y(null), [Kt, qt] = y(!1), [Jt, Yt] = y(!1);
202
- !T && !k && Jt && Yt(!1);
203
- let [Xt, Zt] = y(!1), [Qt, $t] = y(null), en = Be(), W = Ve(), tn = He(), nn = Ue(), rn = We(), { setClientSecret: an } = ze(), { data: on, refetch: sn } = u(), { mutateAsync: cn } = l(), ln = ee(), G = f(), un = se(), [dn, fn] = Je((e) => e + 1, 0), pn = v(() => ue(G.applications), [G.applications]), mn = Ye(null);
204
- G.isResolved && (mn.current = { application: pn });
205
- let K = G.isResolved ? pn : mn.current?.application ?? null, hn = le(K), q = Ne(K), gn = G.isResolved || mn.current !== null && q === Oe.Form;
201
+ }, [Wt, Gt] = y(Ke ?? dt), [Kt, U] = y(null), [qt, Jt] = y(!1), [Yt, W] = y(!1);
202
+ !w && !O && Yt && W(!1);
203
+ let [Xt, Zt] = y(!1), [Qt, $t] = y(null), en = Ve(), G = He(), tn = Ue(), nn = We(), rn = Ge(), { setClientSecret: an } = Be(), { data: on, refetch: sn } = u(), { mutateAsync: cn } = l(), ln = ee(), K = f(), un = se(), [dn, fn] = Ye((e) => e + 1, 0), pn = v(() => ue(K.applications), [K.applications]), mn = Xe(null);
204
+ K.isResolved && (mn.current = { application: pn });
205
+ let q = K.isResolved ? pn : mn.current?.application ?? null, hn = le(q), J = Pe(q), gn = K.isResolved || mn.current !== null && J === ke.Form;
206
206
  _(() => {
207
207
  if (hn === null) return;
208
208
  let e = hn - Date.now();
209
209
  if (e < 0) return;
210
- let t = setTimeout(fn, Math.min(e + 1, Ze));
210
+ let t = setTimeout(fn, Math.min(e + 1, $e));
211
211
  return () => clearTimeout(t);
212
212
  }, [hn, dn]);
213
- let _n = Ye(null);
213
+ let _n = Xe(null);
214
214
  _(() => () => _n.current?.abort(), []);
215
- let vn = v(() => ce(D.businessDetails.naicsTitles), [D.businessDetails.naicsTitles]), yn = v(() => a(D.businessDetails.stateTitles), [D.businessDetails.stateTitles]), bn = v(() => a(D.personalDetails.stateTitles), [D.personalDetails.stateTitles]), xn = v(() => a(D.additionalOwners.stateTitles), [D.additionalOwners.stateTitles]), J = Xt || Qt !== null, Sn = O?.status === "ACTIVE" || O?.status === "INACTIVE", Cn = O?.status === "INVITED", wn = Sn || Cn, Tn = ln.isResolved && gn, En = O && !J && !wn && Tn && je(q) ? q : null, Dn = !!O && !J && En === null && (wn || Tn && (ln.isSuppressed || q === Oe.Hidden)), On = Dn ? Sn ? d.UserAlreadyOnboarded : Cn ? d.UserInvitedToOrganization : q === Oe.Hidden ? Ae(K) : ln.reason ?? Ae(K) : null;
215
+ let vn = v(() => ce(E.businessDetails.naicsTitles), [E.businessDetails.naicsTitles]), yn = v(() => a(E.businessDetails.stateTitles), [E.businessDetails.stateTitles]), bn = v(() => a(E.personalDetails.stateTitles), [E.personalDetails.stateTitles]), xn = v(() => a(E.additionalOwners.stateTitles), [E.additionalOwners.stateTitles]), Y = Xt || Qt !== null, Sn = D?.status === "ACTIVE" || D?.status === "INACTIVE", Cn = D?.status === "INVITED", wn = Sn || Cn, Tn = ln.isResolved && gn, En = D && !Y && !wn && Tn && Me(J) ? J : null, Dn = !!D && !Y && En === null && (wn || Tn && (ln.isSuppressed || J === ke.Hidden)), On = Dn ? Sn ? d.UserAlreadyOnboarded : Cn ? d.UserInvitedToOrganization : J === ke.Hidden ? je(q) : ln.reason ?? je(q) : null;
216
216
  _(() => {
217
- Dn && On && (E(Pe.Suppressed, { reason: On }), console.info(`[onboarding] not shown: ${On}`));
217
+ Dn && On && (T(Fe.Suppressed, { reason: On }), console.info(`[onboarding] not shown: ${On}`));
218
218
  }, [
219
219
  Dn,
220
220
  On,
221
- E
221
+ T
222
222
  ]);
223
- let kn = un || !(T || k) ? null : En;
223
+ let kn = un || !(w || O) ? null : En;
224
224
  _(() => {
225
- kn && E(Pe.ApplicationStatusShown, { view: kn });
226
- }, [kn, E]), _(() => {
227
- Ke?.(J || V === null ? null : {
225
+ kn && T(Fe.ApplicationStatusShown, { view: kn });
226
+ }, [kn, T]), _(() => {
227
+ qe?.(Y || V === null ? null : {
228
228
  applicationId: V,
229
- authEpoch: Ut
229
+ authEpoch: Wt
230
230
  });
231
231
  }, [
232
- Ke,
233
- J,
232
+ qe,
233
+ Y,
234
234
  V,
235
- Ut
235
+ Wt
236
236
  ]);
237
- let An = Ye(lt);
238
- if (An.current = lt, !O) return null;
239
- if (!J) {
237
+ let An = Xe(dt);
238
+ if (An.current = dt, !D) return null;
239
+ if (!Y) {
240
240
  if (Dn || !Tn) return null;
241
241
  if (En) {
242
242
  if (un) return null;
243
- let i = ke(En, K, O.bankName?.trim() || D.fallbackBankName, D.applicationStatus), a = /* @__PURE__ */ b(pe, {
243
+ let i = Ae(En, q, D.bankName?.trim() || E.fallbackBankName, E.applicationStatus), a = /* @__PURE__ */ b(pe, {
244
244
  ...i,
245
- className: r("ttw:max-w-2xl", !T && "ttw:pr-12"),
245
+ className: r("ttw:max-w-2xl", !w && "ttw:pr-12"),
246
246
  testIds: {
247
247
  root: h.statusCard,
248
248
  chip: h.statusCardChip
249
249
  }
250
250
  });
251
- return T ? /* @__PURE__ */ b("div", {
251
+ return w ? /* @__PURE__ */ b("div", {
252
252
  className: "ttw:grid ttw:h-full ttw:w-full ttw:place-items-center ttw:overflow-auto ttw:bg-background ttw:p-6",
253
253
  children: a
254
254
  }) : /* @__PURE__ */ b(e, {
255
- open: k,
256
- onOpenChange: A,
257
- children: /* @__PURE__ */ x(t, {
255
+ open: O,
256
+ onOpenChange: k,
257
+ children: /* @__PURE__ */ Qe(t, {
258
258
  showCloseButton: !0,
259
259
  closeButtonTestId: h.statusCardClose,
260
- labels: { close: D.applicationStatus.close },
260
+ labels: { close: E.applicationStatus.close },
261
261
  className: "ttw:max-h-[90vh] ttw:w-[720px] ttw:max-w-[calc(100vw-2rem)] ttw:gap-0 ttw:overflow-y-auto ttw:rounded-2xl ttw:border-0 ttw:p-0",
262
262
  children: [/* @__PURE__ */ b(n, {
263
263
  className: "ttw:sr-only",
264
- children: D.modalTitle
264
+ children: E.modalTitle
265
265
  }), a]
266
266
  })
267
267
  });
268
268
  }
269
269
  }
270
- let Y = z?.companyStructure === "SOLE_PROPRIETORSHIP", jn = [
271
- D.stepIndicator.business,
272
- D.stepIndicator.personal,
273
- D.stepIndicator.ownership
274
- ], Mn = j === 0 ? z : j === 1 ? B : j === 2 ? Ft : null, X = en.isPending || W.isPending || tn.isPending || nn.isPending || Xt, Nn = () => {
275
- U(null), bt((e) => e === 0 ? 0 : e - 1);
276
- }, Z = {
277
- business: g(M) !== g(R.business),
278
- personal: g(P) !== g(R.personal),
279
- owners: g(M.companyStructure === "SOLE_PROPRIETORSHIP" ? $e : tt(I, Tt)) !== g(R.owners)
280
- }, Pn = Z.business || Z.personal || Z.owners, Q = {
281
- business: (e) => H.taxId && e.taxId === H.taxId ? et(e) : e,
282
- personal: (e) => H.ssn && e.ssn === H.ssn ? C(e) : e,
283
- owners: (e) => e.map((e) => e.id && S(e.ssn) ? C(e) : e)
284
- }, Fn = () => xt((e) => ({
285
- business: Q.business(e.business),
286
- personal: Q.personal(e.personal),
287
- owners: Q.owners(e.owners)
270
+ let X = z?.companyStructure === "SOLE_PROPRIETORSHIP", jn = [
271
+ E.stepIndicator.business,
272
+ E.stepIndicator.personal,
273
+ E.stepIndicator.ownership
274
+ ], Mn = A === 0 ? z : A === 1 ? B : A === 2 ? It : null, Z = en.isPending || G.isPending || tn.isPending || nn.isPending || Xt, Nn = () => {
275
+ U(null), St((e) => e === 0 ? 0 : e - 1);
276
+ }, Q = {
277
+ business: g(j) !== g(L.business),
278
+ personal: g(N) !== g(L.personal),
279
+ owners: g(j.companyStructure === "SOLE_PROPRIETORSHIP" ? tt : rt(F, Dt)) !== g(L.owners)
280
+ }, Pn = Q.business || Q.personal || Q.owners, $ = {
281
+ business: (e) => H.taxId && e.taxId === H.taxId ? nt(e) : e,
282
+ personal: (e) => H.ssn && e.ssn === H.ssn ? S(e) : e,
283
+ owners: (e) => e.map((e) => e.id && x(e.ssn) ? S(e) : e)
284
+ }, Fn = () => Ct((e) => ({
285
+ business: $.business(e.business),
286
+ personal: $.personal(e.personal),
287
+ owners: $.owners(e.owners)
288
288
  })), In = () => {
289
- X || (Pn ? At(!0) : (N(Q.business), F(Q.personal), L(Q.owners), Fn(), A(!1)));
289
+ Z || (Pn ? R(!0) : (M($.business), P($.personal), I($.owners), Fn(), k(!1)));
290
290
  }, Ln = (e) => {
291
- e ? A(!0) : In();
291
+ e ? k(!0) : In();
292
292
  }, Rn = In, zn = async (e) => {
293
- Zt(!0), A(!0);
293
+ Zt(!0), k(!0);
294
294
  let t = new AbortController();
295
295
  _n.current = t;
296
296
  let n = !1;
297
297
  try {
298
298
  let r = await tn.mutateAsync({ path: { id: e } });
299
299
  if (t.signal.aborted) return;
300
- if (!r.id) throw Error(D.submitFailedError);
300
+ if (!r.id) throw Error(E.submitFailedError);
301
301
  if (n = !0, (await rn(e, { signal: t.signal })).status === "complete") {
302
302
  let e = on;
303
303
  if (e === void 0 && (e = (await sn()).data), t.signal.aborted) return;
@@ -305,7 +305,7 @@ function at({ onEmbeddedOnboardingCompletedSuccessfully: ie, onNavigateToDashboa
305
305
  await cn({ displayedVersion: c(e)?.disclosureId ?? null });
306
306
  } catch {}
307
307
  if (t.signal.aborted) return;
308
- $t("success"), yt(), vt();
308
+ $t("success"), xt(), bt();
309
309
  } else $t("pending");
310
310
  } catch (e) {
311
311
  if (e instanceof DOMException && e.name === "AbortError") return;
@@ -315,128 +315,128 @@ function at({ onEmbeddedOnboardingCompletedSuccessfully: ie, onNavigateToDashboa
315
315
  _n.current = null, Zt(!1);
316
316
  }
317
317
  }, Bn = ({ evenWithoutMarker: e = !1 } = {}) => {
318
- N((t) => (t.taxIdOnFileLast4 || e) && S(t.taxId) ? et(t) : t);
318
+ M((t) => (t.taxIdOnFileLast4 || e) && x(t.taxId) ? nt(t) : t);
319
319
  }, Vn = ({ evenWithoutMarker: e = !1 } = {}) => {
320
- F((t) => (t.ssnOnFileLast4 || e) && S(t.ssn) ? C(t) : t);
320
+ P((t) => (t.ssnOnFileLast4 || e) && x(t.ssn) ? S(t) : t);
321
321
  }, Hn = ({ evenWithoutMarker: e = !1 } = {}) => {
322
- L((t) => t.map((t) => (t.ssnOnFileLast4 || e && t.id) && S(t.ssn) ? C(t) : t));
322
+ I((t) => t.map((t) => (t.ssnOnFileLast4 || e && t.id) && x(t.ssn) ? S(t) : t));
323
323
  }, Un = () => {
324
- L((e) => e.map(Ie));
324
+ I((e) => e.map(Le));
325
325
  }, Wn = async (e) => {
326
- let t = An.current, n = await en.mutateAsync({ body: e });
327
- return Lt(n.id), Wt(t), n.clientSecret && an(n.id, n.clientSecret), n.id;
326
+ let t = An.current, n = await en.mutateAsync({ body: Oe(e, N) });
327
+ return Rt(n.id), Gt(t), n.clientSecret && an(n.id, n.clientSecret), n.id;
328
328
  }, Gn = async () => {
329
- let e = R.business.companyStructure === "SOLE_PROPRIETORSHIP" && !Y ? De(I) : [], t = e.length > 0 ? { businessOwners: e } : {};
330
- if (j === 0) {
329
+ let e = L.business.companyStructure === "SOLE_PROPRIETORSHIP" && !X ? De(F) : [], t = e.length > 0 ? { businessOwners: e } : {};
330
+ if (A === 0) {
331
331
  if (!z) return null;
332
332
  let e = V;
333
- return e ? await W.mutateAsync({
333
+ return e ? await G.mutateAsync({
334
334
  path: { id: e },
335
335
  body: {
336
336
  ...Se({
337
337
  businessDetails: z,
338
- carryConsent: !Rt
338
+ carryConsent: !zt
339
339
  }),
340
340
  ...t
341
341
  }
342
- }) : (e = await Wn(xe(z)), zt(!0)), Vt({
342
+ }) : (e = await Wn(xe(z)), Bt(!0)), Ht({
343
343
  taxId: z.taxId,
344
344
  taxIdStructure: z.companyStructure
345
- }), Bn(), Y && Un(), wt(["business"], { owners: Y ? "cleared" : t.businessOwners ? "restored" : "none" }), e;
345
+ }), Bn(), X && Un(), Et(["business"], { owners: X ? "cleared" : t.businessOwners ? "restored" : "none" }), e;
346
346
  }
347
- return j === 1 ? !B || !z || !V ? null : (await W.mutateAsync({
347
+ return A === 1 ? !B || !z || !V ? null : (await G.mutateAsync({
348
348
  path: { id: V },
349
349
  body: {
350
350
  ...Se({
351
351
  businessDetails: z,
352
352
  applicant: B,
353
- carryConsent: !Rt
353
+ carryConsent: !zt
354
354
  }),
355
355
  ...t
356
356
  }
357
- }), Vt({
357
+ }), Ht({
358
358
  taxId: z.taxId,
359
359
  taxIdStructure: z.companyStructure,
360
360
  ssn: B.ssn
361
- }), Bn(), Vn(), wt(["business", "personal"], { owners: Y ? "cleared" : t.businessOwners ? "restored" : "none" }), V) : j === 2 ? !Ft || !V ? null : (await W.mutateAsync({
361
+ }), Bn(), Vn(), Et(["business", "personal"], { owners: X ? "cleared" : t.businessOwners ? "restored" : "none" }), V) : A === 2 ? !It || !V ? null : (await G.mutateAsync({
362
362
  path: { id: V },
363
- body: Se({ businessOwners: Ft })
364
- }), Hn(), wt(["owners"]), V) : null;
365
- }, $ = (e) => o(e) ?? (e instanceof Error ? e.message : void 0) ?? D.genericRetryError, Kn = async () => {
363
+ body: Se({ businessOwners: It })
364
+ }), Hn(), Et(["owners"]), V) : null;
365
+ }, Kn = (e) => o(e) ?? (e instanceof Error ? e.message : void 0) ?? E.genericRetryError, qn = async () => {
366
366
  U(null);
367
367
  try {
368
368
  let e = await Gn();
369
369
  if (e === null) return;
370
- j === 2 ? await zn(e) : bt(j + 1);
370
+ A === 2 ? await zn(e) : St(A + 1);
371
371
  } catch (e) {
372
- U($(e));
372
+ U(Kn(e));
373
373
  }
374
- }, qn = async () => {
375
- U(null), qt(!0);
374
+ }, Jn = async () => {
375
+ U(null), Jt(!0);
376
376
  try {
377
377
  if (await Gn() === null) return;
378
- Bn({ evenWithoutMarker: !0 }), j >= 1 && Vn({ evenWithoutMarker: !0 }), j === 2 && Hn({ evenWithoutMarker: !0 }), i.success(D.applicationSavedToast), A(!1);
378
+ Bn({ evenWithoutMarker: !0 }), A >= 1 && Vn({ evenWithoutMarker: !0 }), A === 2 && Hn({ evenWithoutMarker: !0 }), i.success(E.applicationSavedToast), k(!1);
379
379
  } catch (e) {
380
- i.error($(e));
380
+ i.error(Kn(e));
381
381
  } finally {
382
- qt(!1);
382
+ Jt(!1);
383
383
  }
384
- }, Jn = async () => {
385
- let e = tt(I, Tt), t = Ee({
386
- businessDetails: M,
387
- applicant: P,
384
+ }, Yn = async () => {
385
+ let e = rt(F, Dt), t = Ee({
386
+ businessDetails: j,
387
+ applicant: N,
388
388
  businessOwners: e,
389
- savedBusinessDetails: R.business,
390
- savedOwners: R.owners,
391
- dirty: Z
392
- }), n = Z;
393
- Mt(!0);
389
+ savedBusinessDetails: L.business,
390
+ savedOwners: L.owners,
391
+ dirty: Q
392
+ }), n = Q;
393
+ Nt(!0);
394
394
  try {
395
395
  if (!t) {
396
- i.error(D.saveDraftNothingValidError);
396
+ i.error(E.saveDraftNothingValidError);
397
397
  return;
398
398
  }
399
399
  let r = !V;
400
- V ? await W.mutateAsync({
400
+ V ? await G.mutateAsync({
401
401
  path: { id: V },
402
402
  body: t
403
- }) : await Wn(Te(t)), Tt && L(e), i.success(D.applicationSavedToast);
403
+ }) : await Wn(Te(t)), Dt && I(e), i.success(E.applicationSavedToast);
404
404
  let a = t;
405
- r && a.applicant?.isLegallyAuthorized && a.applicant?.hasAcceptedDisclosures && zt(!0), Vt({
405
+ r && a.applicant?.isLegallyAuthorized && a.applicant?.hasAcceptedDisclosures && Bt(!0), Ht({
406
406
  taxId: a.businessDetails?.taxId?.value,
407
- taxIdStructure: M.companyStructure,
407
+ taxIdStructure: j.companyStructure,
408
408
  ssn: a.applicant?.personalIdentificationNumber?.value
409
409
  }), a.businessDetails?.taxId !== void 0 && Bn({ evenWithoutMarker: !0 }), a.applicant?.personalIdentificationNumber !== void 0 && Vn({ evenWithoutMarker: !0 }), Array.isArray(a.businessOwners) && Hn({ evenWithoutMarker: !0 }), a.businessOwners === null && e.length > 0 && Un();
410
410
  let o = Array.isArray(a.businessOwners) ? "list" : a.businessOwners === null ? "cleared" : "none";
411
- Ct({ next: (e, t) => we({
411
+ Tt({ next: (e, t) => we({
412
412
  current: e,
413
413
  saved: t,
414
414
  dirty: n,
415
415
  ownersWrite: o
416
- }) }), Et(null), Ot((e) => e + 1), At(!1), A(!1);
416
+ }) }), Ot(null), At((e) => e + 1), R(!1), k(!1);
417
417
  } catch (e) {
418
- i.error($(e));
418
+ i.error(Kn(e));
419
419
  } finally {
420
- Mt(!1);
420
+ Nt(!1);
421
421
  }
422
- }, Yn = () => {
423
- N(Q.business(R.business)), F(Q.personal(R.personal)), L(Q.owners(R.owners)), Fn(), Et(null), Ot((e) => e + 1), U(null), At(!1), A(!1);
424
- }, Xn = async () => {
422
+ }, Xn = () => {
423
+ M($.business(L.business)), P($.personal(L.personal)), I($.owners(L.owners)), Fn(), Ot(null), At((e) => e + 1), U(null), R(!1), k(!1);
424
+ }, Zn = async () => {
425
425
  if (V !== null) {
426
426
  try {
427
427
  await nn.mutateAsync({ path: { id: V } });
428
428
  } catch (e) {
429
- i.error($(e));
429
+ i.error(Kn(e));
430
430
  return;
431
431
  }
432
- i.success(D.applicationDeletedToast);
432
+ i.success(E.applicationDeletedToast);
433
433
  }
434
- Yt(!1), A(!1), Qe?.();
435
- }, Zn = it(Math.min(j, 2), D), Qn = O.bankName?.trim() || D.fallbackBankName, $n = fe(D.shellFdicDisclaimer, Qn);
436
- if (J) {
437
- let r = z?.companyLegalName ?? "", i = O.bankName?.trim() || D.fallbackBankName, a = Qt ?? "pending", o = a === "success", s = {
434
+ W(!1), k(!1), et?.();
435
+ }, Qn = ot(Math.min(A, 2), E), $n = D.bankName?.trim() || E.fallbackBankName, er = fe(E.shellFdicDisclaimer, $n);
436
+ if (Y) {
437
+ let r = z?.companyLegalName ?? "", i = D.bankName?.trim() || E.fallbackBankName, a = Qt ?? "pending", o = a === "success", s = {
438
438
  ...p.result,
439
- ...D.result
439
+ ...E.result
440
440
  }, c = /* @__PURE__ */ b(me, {
441
441
  testIds: {
442
442
  processing: h.resultProcessing,
@@ -451,56 +451,56 @@ function at({ onEmbeddedOnboardingCompletedSuccessfully: ie, onNavigateToDashboa
451
451
  followUpEmail: B?.workEmail ?? "",
452
452
  emailBoxLead: s.pendingEmailBoxLead,
453
453
  navigateToDashboardLabel: s.navigateToDashboard,
454
- bankLogoSrc: at,
454
+ bankLogoSrc: st,
455
455
  bankLogoAlt: fe(s.bankLogoAlt, i),
456
456
  fdicDisclaimer: fe(s.fdicDisclaimer, i),
457
457
  onNavigateToDashboard: de
458
458
  });
459
- return T ? /* @__PURE__ */ b("div", {
459
+ return w ? /* @__PURE__ */ b("div", {
460
460
  className: "ttw:grid ttw:h-full ttw:w-full ttw:grid-rows-[1fr] ttw:place-items-center ttw:gap-0 ttw:overflow-auto ttw:bg-background",
461
461
  children: c
462
462
  }) : /* @__PURE__ */ b(e, {
463
- open: k,
464
- onOpenChange: A,
465
- children: /* @__PURE__ */ x(t, {
463
+ open: O,
464
+ onOpenChange: k,
465
+ children: /* @__PURE__ */ Qe(t, {
466
466
  className: "ttw:grid ttw:max-h-[95vh] ttw:w-[720px] ttw:max-w-[calc(100vw-2rem)] ttw:grid-rows-[1fr] ttw:gap-0 ttw:overflow-hidden ttw:rounded-2xl ttw:p-0",
467
467
  children: [/* @__PURE__ */ b(n, {
468
468
  className: "ttw:sr-only",
469
- children: D.modalTitle
469
+ children: E.modalTitle
470
470
  }), c]
471
471
  })
472
472
  });
473
473
  }
474
- let er = j === 2 ? D.submit : D.next, tr = Mn === null || X;
475
- return /* @__PURE__ */ x(Xe, { children: [
476
- /* @__PURE__ */ x(ne, {
477
- open: k,
478
- defaultOpen: _t,
474
+ let tr = A === 2 ? E.submit : E.next, nr = Mn === null || Z;
475
+ return /* @__PURE__ */ Qe(Ze, { children: [
476
+ /* @__PURE__ */ Qe(ne, {
477
+ open: O,
478
+ defaultOpen: yt,
479
479
  onOpenChange: Ln,
480
- isFullScreenInline: T,
481
- title: Zn.title,
482
- subtitle: Zn.subtitle,
480
+ isFullScreenInline: w,
481
+ title: Qn.title,
482
+ subtitle: Qn.subtitle,
483
483
  stepLabels: jn,
484
- activeStep: j,
485
- disclaimerText: $n,
486
- onBack: j === 0 ? Rn : Nn,
487
- onCancel: j > 0 ? Rn : void 0,
488
- onNext: Kn,
489
- onSaveAndClose: qn,
490
- onDelete: () => Yt(!0),
484
+ activeStep: A,
485
+ disclaimerText: er,
486
+ onBack: A === 0 ? Rn : Nn,
487
+ onCancel: A > 0 ? Rn : void 0,
488
+ onNext: qn,
489
+ onSaveAndClose: Jn,
490
+ onDelete: () => W(!0),
491
491
  showDismissButton: !1,
492
- isNextDisabled: tr,
493
- isNextLoading: X && !Kt,
494
- isSaveAndCloseDisabled: tr,
495
- isSaveAndCloseLoading: Kt,
496
- nextLabel: er,
492
+ isNextDisabled: nr,
493
+ isNextLoading: Z && !qt,
494
+ isSaveAndCloseDisabled: nr,
495
+ isSaveAndCloseLoading: qt,
496
+ nextLabel: tr,
497
497
  nextIcon: null,
498
- errorMessage: Gt,
498
+ errorMessage: Kt,
499
499
  labels: {
500
- backButton: j === 0 ? D.cancel : D.back,
501
- cancelButton: D.cancel,
502
- saveAndCloseButton: D.saveAndClose,
503
- deleteButton: D.deleteApplication
500
+ backButton: A === 0 ? E.cancel : E.back,
501
+ cancelButton: E.cancel,
502
+ saveAndCloseButton: E.saveAndClose,
503
+ deleteButton: E.deleteApplication
504
504
  },
505
505
  testIds: {
506
506
  root: h.shell,
@@ -517,48 +517,48 @@ function at({ onEmbeddedOnboardingCompletedSuccessfully: ie, onNavigateToDashboa
517
517
  }
518
518
  },
519
519
  children: [
520
- j === 0 ? /* @__PURE__ */ b(ve, {
521
- value: M,
522
- onValueChange: Ht,
523
- onSnapshotChange: Nt,
520
+ A === 0 ? /* @__PURE__ */ b(ve, {
521
+ value: j,
522
+ onValueChange: Ut,
523
+ onSnapshotChange: Pt,
524
524
  naicsOptions: vn,
525
525
  stateOptions: yn,
526
- isSubmitting: X,
527
- labels: D.businessDetails,
528
- bankName: Qn,
529
- termsHref: ut,
530
- privacyHref: dt,
531
- electronicCommunicationHref: ft,
532
- patriotActHref: pt
526
+ isSubmitting: Z,
527
+ labels: E.businessDetails,
528
+ bankName: $n,
529
+ termsHref: ft,
530
+ privacyHref: pt,
531
+ electronicCommunicationHref: mt,
532
+ patriotActHref: ht
533
533
  }, "business") : null,
534
- j === 1 ? /* @__PURE__ */ b(ye, {
535
- value: P,
536
- onValueChange: F,
537
- onSnapshotChange: Pt,
534
+ A === 1 ? /* @__PURE__ */ b(ye, {
535
+ value: N,
536
+ onValueChange: P,
537
+ onSnapshotChange: Ft,
538
538
  stateOptions: bn,
539
- isSubmitting: X,
540
- labels: D.personalDetails
539
+ isSubmitting: Z,
540
+ labels: E.personalDetails
541
541
  }, "personal") : null,
542
- j === 2 ? /* @__PURE__ */ b(be, {
543
- owners: Y ? $e : I,
544
- onOwnersChange: L,
545
- primaryOwnerName: `${P.firstName} ${P.lastName}`.trim(),
546
- primaryOwnerPercentage: Y ? 100 : B?.ownsOver25Percent === !0 ? B.ownershipPercentage ?? 0 : 0,
542
+ A === 2 ? /* @__PURE__ */ b(be, {
543
+ owners: X ? tt : F,
544
+ onOwnersChange: I,
545
+ primaryOwnerName: `${N.firstName} ${N.lastName}`.trim(),
546
+ primaryOwnerPercentage: X ? 100 : B?.ownsOver25Percent === !0 ? B.ownershipPercentage ?? 0 : 0,
547
547
  stateOptions: xn,
548
- onSnapshotChange: It,
549
- onPendingOwnerChange: Et,
550
- isSubmitting: X,
551
- labels: D.additionalOwners
552
- }, Dt) : null
548
+ onSnapshotChange: Lt,
549
+ onPendingOwnerChange: Ot,
550
+ isSubmitting: Z,
551
+ labels: E.additionalOwners
552
+ }, kt) : null
553
553
  ]
554
554
  }),
555
555
  /* @__PURE__ */ b(he, {
556
- open: kt,
557
- onSaveDraft: Jn,
558
- onDiscard: Yn,
559
- onCancel: () => At(!1),
560
- isSaving: jt,
561
- labels: D.unsavedApplicationDialog,
556
+ open: jt,
557
+ onSaveDraft: Yn,
558
+ onDiscard: Xn,
559
+ onCancel: () => R(!1),
560
+ isSaving: Mt,
561
+ labels: E.unsavedApplicationDialog,
562
562
  testIds: {
563
563
  root: h.unsavedDialog,
564
564
  saveDraft: h.unsavedDialogSaveDraft,
@@ -567,13 +567,13 @@ function at({ onEmbeddedOnboardingCompletedSuccessfully: ie, onNavigateToDashboa
567
567
  }
568
568
  }),
569
569
  /* @__PURE__ */ b(ge, {
570
- open: Jt,
571
- onConfirm: Xn,
572
- onCancel: () => Yt(!1),
570
+ open: Yt,
571
+ onConfirm: Zn,
572
+ onCancel: () => W(!1),
573
573
  isDeleting: nn.isPending,
574
574
  labels: {
575
- descriptionEmphasis: D.saveAndClose,
576
- ...D.deleteApplicationDialog
575
+ descriptionEmphasis: E.saveAndClose,
576
+ ...E.deleteApplicationDialog
577
577
  },
578
578
  testIds: {
579
579
  root: h.deleteDialog,
@@ -584,7 +584,7 @@ function at({ onEmbeddedOnboardingCompletedSuccessfully: ie, onNavigateToDashboa
584
584
  /* @__PURE__ */ b(te, {})
585
585
  ] });
586
586
  }
587
- function ot({ baseUrl: e, widgetToken: t, organizationId: n, configClient: r, gatewayRouting: i, linkComponent: a, implementation: o, uiFramework: s, errorFallback: c, onError: l, analytics: u, disclosuresAcceptance: d, providerLabels: ee, ...f }) {
587
+ function ct({ baseUrl: e, widgetToken: t, organizationId: n, configClient: r, gatewayRouting: i, linkComponent: a, implementation: o, uiFramework: s, errorFallback: c, onError: l, analytics: u, disclosuresAcceptance: d, providerLabels: ee, ...f }) {
588
588
  return /* @__PURE__ */ b(ie, {
589
589
  baseUrl: e,
590
590
  widgetToken: t,
@@ -599,38 +599,38 @@ function ot({ baseUrl: e, widgetToken: t, organizationId: n, configClient: r, ga
599
599
  analytics: u,
600
600
  disclosuresAcceptance: d,
601
601
  providerLabels: ee,
602
- widgetName: Fe,
603
- children: /* @__PURE__ */ b(st, { ...f })
602
+ widgetName: Ie,
603
+ children: /* @__PURE__ */ b(lt, { ...f })
604
604
  });
605
605
  }
606
- function st(e) {
606
+ function lt(e) {
607
607
  let { initResponse: t } = oe(), { client: n } = s(), r = t?.userId ?? null, [i, a] = y(r), [o, c] = y(0);
608
608
  r !== i && (a(r), i !== null && r !== null && c((e) => e + 1));
609
609
  let [l, u] = y(n);
610
- return n !== l && (u(n), c((e) => e + 1)), /* @__PURE__ */ b(ct, { ...e }, o);
610
+ return n !== l && (u(n), c((e) => e + 1)), /* @__PURE__ */ b(ut, { ...e }, o);
611
611
  }
612
- function ct(e) {
613
- let { authEpoch: t } = s(), { ownApplicationIds: n } = Ge(), [r, i] = y(null), [a, o] = y(0), [c, l] = y(!1), u = qe(() => {
612
+ function ut(e) {
613
+ let { authEpoch: t } = s(), { ownApplicationIds: n } = Ke(), [r, i] = y(null), [a, o] = y(0), [c, l] = y(!1), u = Je(() => {
614
614
  i(null), l(!0), o((e) => e + 1);
615
615
  }, []);
616
- return r !== null && t !== r.authEpoch && n !== null && !n.includes(r.applicationId) && (i(null), o((e) => e + 1)), /* @__PURE__ */ b(Re, { children: /* @__PURE__ */ b(T, {
616
+ return r !== null && t !== r.authEpoch && n !== null && !n.includes(r.applicationId) && (i(null), o((e) => e + 1)), /* @__PURE__ */ b(ze, { children: /* @__PURE__ */ b(w, {
617
617
  ...e,
618
618
  defaultOpen: !c && e.defaultOpen,
619
619
  onEditableDraftChange: i,
620
620
  onApplicationDeleted: u
621
621
  }, a) }, a);
622
622
  }
623
- var w = { canRender: !1 };
624
- function T(e) {
625
- let { authEpoch: t } = s(), { applicationId: n, clientSecret: r, isResolved: i } = Ge(), { application: a, isResolved: o, isUnavailable: c } = Ke(n, r), [l, u] = y(null);
623
+ var C = { canRender: !1 };
624
+ function w(e) {
625
+ let { authEpoch: t } = s(), { applicationId: n, clientSecret: r, isResolved: i } = Ke(), { application: a, isResolved: o, isUnavailable: c } = qe(n, r), [l, u] = y(null);
626
626
  if (_(() => {
627
627
  if (l?.canRender !== !0 && i && o) {
628
628
  if (c) {
629
- u(w);
629
+ u(C);
630
630
  return;
631
631
  }
632
- if (a !== null && a.status !== void 0 && a.status !== Qe) {
633
- u(w);
632
+ if (a !== null && a.status !== void 0 && a.status !== et) {
633
+ u(C);
634
634
  return;
635
635
  }
636
636
  u({
@@ -650,20 +650,20 @@ function T(e) {
650
650
  n
651
651
  ]), l === null || !l.canRender) return null;
652
652
  let { applicationId: d, authEpoch: ee, prefill: f } = l;
653
- return /* @__PURE__ */ b(at, {
653
+ return /* @__PURE__ */ b(st, {
654
654
  ...e,
655
655
  initialApplicationId: d,
656
656
  initialBoundAuthEpoch: ee,
657
657
  initialBusinessDetails: {
658
- ...Le(e.initialBusinessDetails),
658
+ ...Re(e.initialBusinessDetails),
659
659
  ...f?.businessDetails
660
660
  },
661
661
  initialPersonalDetails: {
662
- ...Le(e.initialPersonalDetails),
662
+ ...Re(e.initialPersonalDetails),
663
663
  ...f?.personalDetails
664
664
  },
665
- initialAdditionalOwners: f?.additionalOwners ?? e.initialAdditionalOwners?.map(Ie)
665
+ initialAdditionalOwners: f?.additionalOwners ?? e.initialAdditionalOwners?.map(Le)
666
666
  });
667
667
  }
668
668
  //#endregion
669
- export { ot as BankAccountOnboardingWidget, ot as default };
669
+ export { ct as BankAccountOnboardingWidget, ct as default };