@tesouro/embedded-components-react 0.5.189 → 0.5.191

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 (293) hide show
  1. package/dist/index.d.ts +0 -1
  2. package/dist/index.js +1 -1
  3. package/dist/lib/BankAccountsWidget.d.ts +0 -1
  4. package/dist/lib/BillPayWidget.js +1 -1
  5. package/dist/lib/WidgetSuite.d.ts +0 -1
  6. package/dist/libs/tesouro-embedded-components-react/accept-disclosures-widget/feature/dist/index5.js +34 -34
  7. package/dist/libs/tesouro-embedded-components-react/balances-widget/feature/dist/index3.js +18 -18
  8. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/data-access/dist/index9.js +2 -2
  9. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/feature/dist/index25.js +263 -263
  10. package/dist/libs/tesouro-embedded-components-react/bank-accounts-widget/account-details/ui/dist/index5.js +0 -1
  11. package/dist/libs/tesouro-embedded-components-react/bank-accounts-widget/account-details/ui/dist/index7.js +1 -2
  12. package/dist/libs/tesouro-embedded-components-react/bank-accounts-widget/feature/dist/index7.js +89 -89
  13. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index.js +33 -14
  14. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index10.js +29 -74
  15. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index11.js +18 -55
  16. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index12.js +24 -42
  17. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index13.js +13 -327
  18. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index14.js +31 -7
  19. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index15.js +8 -35
  20. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index16.js +92 -14
  21. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index17.js +20 -137
  22. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index18.js +69 -28
  23. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index19.js +58 -0
  24. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index2.js +35 -0
  25. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index20.js +47 -0
  26. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index21.js +88 -0
  27. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index22.js +36 -0
  28. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index23.js +35 -0
  29. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index24.js +40 -0
  30. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index25.js +34 -0
  31. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index26.js +34 -0
  32. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index27.js +34 -0
  33. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index28.js +36 -0
  34. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index29.js +36 -0
  35. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index3.js +16 -4
  36. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index30.js +36 -0
  37. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index31.js +8 -0
  38. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index32.js +35 -0
  39. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index33.js +49 -0
  40. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index34.js +36 -0
  41. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index35.js +47 -0
  42. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index36.js +27 -0
  43. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index37.js +15 -0
  44. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index38.js +35 -0
  45. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index39.js +55 -0
  46. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index4.js +27 -13
  47. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index40.js +20 -0
  48. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index41.js +43 -0
  49. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index42.js +27 -0
  50. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index43.js +35 -0
  51. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index44.js +29 -0
  52. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index45.js +29 -0
  53. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index46.js +6 -0
  54. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index47.js +39 -0
  55. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index5.js +2 -33
  56. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index6.js +35 -255
  57. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index7.js +59 -123
  58. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index8.js +13 -91
  59. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index9.js +29 -29
  60. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index.js +19 -21
  61. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index10.js +5 -62
  62. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index11.js +15 -4
  63. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index12.js +22 -5
  64. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index13.js +51 -211
  65. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index14.js +1 -4
  66. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index15.js +84 -15
  67. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index16.js +5 -24
  68. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index17.js +31 -62
  69. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index18.js +41 -2
  70. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index19.js +167 -81
  71. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index2.js +56 -5
  72. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index20.js +46 -3
  73. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index21.js +1 -7
  74. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index22.js +47 -3
  75. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index23.js +13 -32
  76. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index24.js +8 -38
  77. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index25.js +7 -163
  78. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index26.js +61 -41
  79. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index27.js +13 -1
  80. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index28.js +24 -45
  81. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index29.js +162 -13
  82. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index3.js +4 -56
  83. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index30.js +25 -8
  84. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index31.js +16 -7
  85. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index32.js +32 -57
  86. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index33.js +96 -8
  87. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index34.js +81 -24
  88. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index35.js +3 -158
  89. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index36.js +45 -10
  90. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index37.js +111 -23
  91. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index38.js +189 -21
  92. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index39.js +69 -33
  93. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index4.js +38 -5
  94. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index40.js +29 -13
  95. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index41.js +89 -8
  96. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index42.js +412 -4
  97. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index43.js +12 -97
  98. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index44.js +83 -82
  99. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index45.js +80 -3
  100. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index46.js +224 -134
  101. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index47.js +44 -45
  102. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index48.js +247 -109
  103. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index49.js +22 -191
  104. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index5.js +6 -38
  105. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index50.js +614 -66
  106. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index51.js +4 -35
  107. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index52.js +42 -89
  108. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index53.js +243 -398
  109. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index54.js +3 -16
  110. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index55.js +3 -86
  111. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index56.js +43 -80
  112. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index57.js +1 -232
  113. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index58.js +6 -44
  114. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index59.js +11 -252
  115. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index6.js +24 -5
  116. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index60.js +130 -23
  117. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index61.js +3 -628
  118. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index62.js +6 -4
  119. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index63.js +127 -40
  120. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index64.js +8 -257
  121. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index65.js +10 -3
  122. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index66.js +82 -2
  123. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index67.js +22 -44
  124. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index68.js +22 -1
  125. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index69.js +29 -6
  126. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index7.js +12 -22
  127. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index70.js +83 -10
  128. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index71.js +48 -130
  129. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index72.js +262 -3
  130. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index73.js +32 -3
  131. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index74.js +387 -124
  132. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index75.js +307 -8
  133. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index76.js +4 -10
  134. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index77.js +4 -81
  135. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index78.js +111 -21
  136. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index79.js +1 -22
  137. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index8.js +37 -13
  138. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index80.js +24 -28
  139. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index9.js +222 -35
  140. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index.js +46 -42
  141. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index100.js +10 -126
  142. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index101.js +105 -1
  143. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index102.js +2 -33
  144. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index103.js +28 -7
  145. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index104.js +73 -126
  146. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index105.js +1 -1
  147. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index106.js +30 -11
  148. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index107.js +8 -106
  149. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index108.js +181 -2
  150. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index109.js +2 -10
  151. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index110.js +12 -50
  152. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index111.js +108 -2
  153. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index112.js +2 -0
  154. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index113.js +10 -0
  155. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index114.js +52 -0
  156. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index115.js +2 -0
  157. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index20.js +1 -14
  158. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index21.js +12 -16
  159. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index22.js +18 -2
  160. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index23.js +2 -4
  161. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index24.js +2 -28
  162. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index25.js +30 -2
  163. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index26.js +2 -32
  164. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index27.js +32 -1
  165. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index28.js +1 -35
  166. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index29.js +32 -18
  167. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index30.js +19 -135
  168. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index31.js +137 -2
  169. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index32.js +2 -4
  170. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index33.js +78 -12
  171. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index34.js +278 -1
  172. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index35.js +2 -4
  173. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index36.js +16 -17
  174. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index37.js +56 -2
  175. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index38.js +1 -106
  176. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index39.js +15 -76
  177. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index40.js +51 -275
  178. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index42.js +19 -5
  179. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index43.js +368 -50
  180. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index45.js +19 -14
  181. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index46.js +92 -50
  182. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index48.js +25 -28
  183. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index49.js +43 -363
  184. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index51.js +48 -15
  185. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index52.js +10 -93
  186. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index53.js +197 -2
  187. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index54.js +1 -31
  188. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index55.js +2 -52
  189. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index56.js +41 -2
  190. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index57.js +1 -55
  191. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index58.js +16 -10
  192. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index59.js +75 -184
  193. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index60.js +1 -1
  194. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index61.js +46 -2
  195. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index62.js +313 -36
  196. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index64.js +6 -16
  197. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index65.js +26 -81
  198. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index67.js +2 -317
  199. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index68.js +1 -9
  200. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index69.js +13 -31
  201. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index70.js +170 -2
  202. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index71.js +2 -2
  203. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index72.js +4 -1
  204. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index73.js +34 -13
  205. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index74.js +2 -170
  206. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index75.js +39 -2
  207. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index76.js +10 -2
  208. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index77.js +195 -30
  209. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index78.js +1 -0
  210. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index79.js +2 -37
  211. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index80.js +14 -10
  212. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index81.js +2 -201
  213. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index82.js +4 -3
  214. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index83.js +20 -16
  215. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index84.js +1 -508
  216. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index85.js +62 -7
  217. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index86.js +14 -5
  218. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index87.js +493 -77
  219. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{feature/dist/index87.js → ui/dist/index88.js} +1 -2
  220. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index89.js +10 -2
  221. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index90.js +5 -3
  222. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index91.js +88 -25
  223. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index93.js +2 -7
  224. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index94.js +5 -32
  225. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index95.js +30 -2
  226. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index96.js +2 -12
  227. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index97.js +5 -104
  228. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index98.js +34 -2
  229. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index99.js +2 -31
  230. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/util/dist/lib/billDetailLabels.js +146 -0
  231. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/util/dist/lib/derivePayableStatus.js +62 -0
  232. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/util/dist/lib/formatBillMoney.js +7 -0
  233. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/util/dist/lib/formatScheduledDateLabel.js +12 -0
  234. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/util/dist/lib/isEditablePayableStatus.js +7 -0
  235. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/util/dist/lib/isLiveScheduledPaymentRecord.js +7 -0
  236. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/util/dist/lib/maskAccountNumber.js +6 -0
  237. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/util/dist/lib/payableDuplicates.js +48 -0
  238. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/util/dist/lib/payableTotals.js +18 -0
  239. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/util/dist/lib/resolveAmountDue.js +6 -0
  240. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/util/dist/lib/resolveLineItemAmount.js +11 -0
  241. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/util/dist/lib/resolveLineItemQuantity.js +7 -0
  242. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/util/dist/lib/resolveVendor.js +9 -0
  243. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/util/dist/lib/widgetName.js +4 -0
  244. package/dist/libs/tesouro-embedded-components-react/cards-widget/create-card/feature/dist/index8.js +95 -95
  245. package/dist/libs/tesouro-embedded-components-react/counterparts-widget/feature/dist/index4.js +8 -8
  246. package/dist/libs/tesouro-embedded-components-react/expense-management-widget/feature/dist/index13.js +9 -9
  247. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/data-access/dist/index.js +8 -5
  248. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/data-access/dist/index10.js +7 -0
  249. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/data-access/dist/index11.js +6 -0
  250. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/data-access/dist/index2.js +31 -18
  251. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/data-access/dist/index3.js +1 -1
  252. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/data-access/dist/index4.js +2 -32
  253. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/data-access/dist/index5.js +23 -190
  254. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/data-access/dist/index6.js +163 -50
  255. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/data-access/dist/index7.js +1 -80
  256. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/data-access/dist/index8.js +101 -2
  257. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/data-access/dist/index9.js +85 -0
  258. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index10.js +1 -1
  259. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index7.js +3 -3
  260. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index8.js +1 -1
  261. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index9.js +10 -10
  262. package/dist/libs/tesouro-embedded-components-react/linked-accounts-widget/feature/dist/index9.js +104 -104
  263. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index517.js +4 -4
  264. package/dist/libs/tesouro-embedded-components-react/remote-check-capture/feature/dist/lib/RemoteCheckCaptureWidget/useRemoteCheckCaptureWidget.js +47 -47
  265. package/dist/libs/tesouro-embedded-components-react/settings-widget/chart-of-accounts/feature/dist/index7.js +1 -1
  266. package/dist/libs/tesouro-embedded-components-react/settings-widget/profile/feature/dist/index4.js +11 -11
  267. package/dist/libs/tesouro-embedded-components-react/shared/counterpart-management/feature/dist/index.js +10 -10
  268. package/dist/libs/tesouro-embedded-components-react/shared/counterpart-management/feature/dist/lib/subEntityForms.js +15 -15
  269. package/dist/libs/tesouro-embedded-components-react/shared/counterpart-management/feature/dist/lib/useAddressForm.js +9 -9
  270. package/dist/libs/tesouro-embedded-components-react/shared/counterpart-management/feature/dist/lib/useCounterpartDetails.js +7 -7
  271. package/dist/libs/tesouro-embedded-components-react/shared/counterpart-management/feature/dist/lib/useCounterpartForm.js +53 -53
  272. package/dist/libs/tesouro-embedded-components-react/shared/counterpart-management/feature/dist/lib/useCounterpartSelector.js +15 -15
  273. package/dist/libs/tesouro-embedded-components-react/shared/counterpart-management/feature/dist/lib/usePayableAchInstructions.js +4 -4
  274. package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/index.js +35 -35
  275. package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/WidgetProvider/WidgetTokenRefreshProvider.js +4 -4
  276. package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/build-info.js +1 -1
  277. package/dist/libs/tesouro-embedded-components-react/shared/util/dist/lib/mergeLabelTree.js +12 -0
  278. package/dist/libs/tesouro-embedded-components-react/transfers-widget/feature/dist/index4.js +1 -1
  279. package/dist/libs/tesouro-embedded-components-react/transfers-widget/feature/dist/index6.js +46 -46
  280. package/dist/libs/tesouro-embedded-components-react/widget-suite/feature/dist/index4.js +5 -13
  281. package/dist/libs/tesouro-embedded-components-react/widget-suite/feature/dist/index8.js +1 -1
  282. package/package.json +1 -1
  283. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index81.js +0 -86
  284. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index82.js +0 -50
  285. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index83.js +0 -263
  286. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index84.js +0 -35
  287. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index85.js +0 -392
  288. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index86.js +0 -310
  289. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index88.js +0 -7
  290. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index89.js +0 -114
  291. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index90.js +0 -1
  292. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index91.js +0 -27
  293. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index92.js +0 -2
@@ -3,72 +3,72 @@
3
3
  "use client";
4
4
  "use client";
5
5
  import { Dialog as e, DialogContent as t, DialogTitle as n, toast as r } from "../../../../../packages/shared-ui-shadcn/dist/index.js";
6
- import { useEmbedApi as i } from "../../../shared/data-access/dist/lib/EmbedApiContext.js";
7
- import { useAcceptWidgetDisclosures as a } from "../../../shared/data-access/dist/lib/disclosures/useAcceptWidgetDisclosures.js";
8
- import { useDisclosuresQuery as o } from "../../../shared/data-access/dist/lib/disclosures/useDisclosuresQuery.js";
9
- import { OnboardingSuppressionReason as s } from "../../../shared/data-access/dist/lib/onboardingSuppressionReason.js";
10
- import { useOrganizationOnboardingSuppression as c } from "../../../shared/data-access/dist/lib/useOrganizationOnboardingSuppression.js";
6
+ import { getStateOptions as i } from "../../../shared/util/dist/lib/usStates.js";
7
+ import { extractApiErrorMessage as a } from "../../../shared/util/dist/lib/apiErrors.js";
8
+ import { useEmbedApi as o } from "../../../shared/data-access/dist/lib/EmbedApiContext.js";
9
+ import { useAcceptWidgetDisclosures as s } from "../../../shared/data-access/dist/lib/disclosures/useAcceptWidgetDisclosures.js";
10
+ import { useDisclosuresQuery as c } from "../../../shared/data-access/dist/lib/disclosures/useDisclosuresQuery.js";
11
+ import { OnboardingSuppressionReason as l } from "../../../shared/data-access/dist/lib/onboardingSuppressionReason.js";
12
+ import { useOrganizationOnboardingSuppression as u } from "../../../shared/data-access/dist/lib/useOrganizationOnboardingSuppression.js";
11
13
  import "../../../shared/data-access/dist/index.js";
12
- import { EmbeddedToaster as l } from "../../../shared/ui/dist/lib/EmbeddedToaster.js";
13
- import { OnboardingShell as u } from "../../../shared/ui/dist/lib/OnboardingShell/OnboardingShell.js";
14
+ import { EmbeddedToaster as ee } from "../../../shared/ui/dist/lib/EmbeddedToaster.js";
15
+ import { OnboardingShell as te } from "../../../shared/ui/dist/lib/OnboardingShell/OnboardingShell.js";
14
16
  import "../../../shared/ui/dist/index.js";
15
- import { useAnalyticsTrack as ee } from "../../../shared/feature/dist/lib/analytics/hooks.js";
16
- import { WidgetProvider as d } from "../../../shared/feature/dist/lib/WidgetProvider/WidgetProvider.js";
17
- import { getStateOptions as f } from "../../../shared/util/dist/lib/usStates.js";
18
- import { extractApiErrorMessage as te } from "../../../shared/util/dist/lib/apiErrors.js";
19
- import { useRefetchWidget as ne, useWidgetConfig as re } from "../../../shared/feature/dist/lib/WidgetProvider/hooks.js";
20
- import { getNaicsOptions as ie } from "../../../shared/feature/dist/lib/naicsCodeMap.js";
17
+ import { useAnalyticsTrack as d } from "../../../shared/feature/dist/lib/analytics/hooks.js";
18
+ import { WidgetProvider as ne } from "../../../shared/feature/dist/lib/WidgetProvider/WidgetProvider.js";
19
+ import { useRefetchWidget as re, useWidgetConfig as ie } from "../../../shared/feature/dist/lib/WidgetProvider/hooks.js";
20
+ import { getNaicsOptions as ae } from "../../../shared/feature/dist/lib/naicsCodeMap.js";
21
21
  import "../../../shared/feature/dist/index.js";
22
- import { identifierLast4 as ae, isIdentifierEnteredOrStored as oe } from "./index7.js";
23
- import { bankAccountOnboardingTestIds as p } from "./index12.js";
24
- import { ADDITIONAL_OWNERS_LABELS_EN as m } from "../../ui/dist/index5.js";
25
- import { interpolateBankName as se } from "../../ui/dist/index7.js";
26
- import { ResultStep as ce } from "../../ui/dist/index12.js";
27
- import { UnsavedApplicationDialog as le } from "../../ui/dist/index26.js";
28
- import { DeleteApplicationDialog as ue } from "../../ui/dist/index28.js";
22
+ import { identifierLast4 as oe, isIdentifierEnteredOrStored as se } from "./index7.js";
23
+ import { bankAccountOnboardingTestIds as f } from "./index12.js";
24
+ import { ADDITIONAL_OWNERS_LABELS_EN as p } from "../../ui/dist/index5.js";
25
+ import { interpolateBankName as ce } from "../../ui/dist/index7.js";
26
+ import { ResultStep as le } from "../../ui/dist/index12.js";
27
+ import { UnsavedApplicationDialog as ue } from "../../ui/dist/index26.js";
28
+ import { DeleteApplicationDialog as de } from "../../ui/dist/index28.js";
29
29
  import "../../ui/dist/index.js";
30
- import { BusinessDetailsStep as de } from "./index13.js";
31
- import { PersonalDetailsStep as fe } from "./index15.js";
32
- import { valuesKey as h } from "./index17.js";
33
- import { AdditionalOwnersStep as pe } from "./index18.js";
34
- import { buildCreateApplicationBody as me, buildUpdateApplicationBody as he } from "./index19.js";
35
- import { buildOnboardingPrefill as ge } from "./index20.js";
36
- import { acceptDraftedValues as _e, asCreateBody as ve, buildDraftApplicationBody as ye, draftOwners as be } from "./index21.js";
37
- import { OnboardingAnalyticsEvent as xe, WIDGET_NAME as Se } from "./index22.js";
38
- import { DEFAULT_LABELS as g } from "./index23.js";
39
- import { withoutResumeOnlyOwnerFields as Ce, withoutStoredIdentifierMarkers as we } from "./index24.js";
40
- import { ApplicationClientSecretProvider as Te, useApplicationClientSecret as Ee } from "../../data-access/dist/index3.js";
41
- import { useCreateApplication as De } from "../../data-access/dist/index5.js";
42
- import { useUpdateApplication as Oe } from "../../data-access/dist/index6.js";
43
- import { useSubmitApplication as ke } from "../../data-access/dist/index7.js";
44
- import { useDeleteApplication as Ae } from "../../data-access/dist/index8.js";
45
- import { usePollApplicationCompletion as je } from "../../data-access/dist/index9.js";
46
- import { useResumableBankAccountApplication as Me } from "../../data-access/dist/index11.js";
47
- import { useStartedBankAccountApplication as Ne } from "../../data-access/dist/index12.js";
30
+ import { BusinessDetailsStep as fe } from "./index13.js";
31
+ import { PersonalDetailsStep as pe } from "./index15.js";
32
+ import { valuesKey as m } from "./index17.js";
33
+ import { AdditionalOwnersStep as me } from "./index18.js";
34
+ import { buildCreateApplicationBody as he, buildUpdateApplicationBody as ge } from "./index19.js";
35
+ import { buildOnboardingPrefill as _e } from "./index20.js";
36
+ import { acceptDraftedValues as ve, asCreateBody as ye, buildDraftApplicationBody as be, draftOwners as xe } from "./index21.js";
37
+ import { OnboardingAnalyticsEvent as Se, WIDGET_NAME as Ce } from "./index22.js";
38
+ import { DEFAULT_LABELS as h } from "./index23.js";
39
+ import { withoutResumeOnlyOwnerFields as we, withoutStoredIdentifierMarkers as Te } from "./index24.js";
40
+ import { ApplicationClientSecretProvider as Ee, useApplicationClientSecret as De } from "../../data-access/dist/index3.js";
41
+ import { useCreateApplication as Oe } from "../../data-access/dist/index5.js";
42
+ import { useUpdateApplication as ke } from "../../data-access/dist/index6.js";
43
+ import { useSubmitApplication as Ae } from "../../data-access/dist/index7.js";
44
+ import { useDeleteApplication as je } from "../../data-access/dist/index8.js";
45
+ import { usePollApplicationCompletion as Me } from "../../data-access/dist/index9.js";
46
+ import { useResumableBankAccountApplication as Ne } from "../../data-access/dist/index11.js";
47
+ import { useStartedBankAccountApplication as Pe } from "../../data-access/dist/index12.js";
48
48
  import "../../data-access/dist/index.js";
49
- import { useCallback as Pe, useEffect as _, useMemo as v, useRef as Fe, useState as y } from "react";
50
- import { Fragment as Ie, jsx as b, jsxs as Le } from "react/jsx-runtime";
49
+ import { useCallback as Fe, useEffect as g, useMemo as _, useRef as Ie, useState as v } from "react";
50
+ import { Fragment as Le, jsx as y, jsxs as Re } from "react/jsx-runtime";
51
51
  //#region ../../libs/tesouro-embedded-components-react/bank-account-onboarding-widget/feature/dist/index25.js
52
- var Re = "DRAFT", ze = [], x = (e) => oe(e, void 0);
53
- function Be(e) {
52
+ var ze = "DRAFT", Be = [], b = (e) => se(e, void 0);
53
+ function Ve(e) {
54
54
  return {
55
55
  ...e,
56
56
  taxId: "",
57
- taxIdOnFileLast4: ae(e.taxId),
57
+ taxIdOnFileLast4: oe(e.taxId),
58
58
  taxIdOnFileStructure: e.companyStructure === "" ? void 0 : e.companyStructure
59
59
  };
60
60
  }
61
- function S(e) {
61
+ function x(e) {
62
62
  return {
63
63
  ...e,
64
64
  ssn: "",
65
- ssnOnFileLast4: ae(e.ssn)
65
+ ssnOnFileLast4: oe(e.ssn)
66
66
  };
67
67
  }
68
- function Ve(e, t) {
68
+ function He(e, t) {
69
69
  return t ? t.index === null ? [...e, t.owner] : e.map((e, n) => n === t.index ? t.owner : e) : e;
70
70
  }
71
- var He = {
71
+ var Ue = {
72
72
  companyLegalName: "",
73
73
  companyDbaName: "",
74
74
  businessAddress: "",
@@ -82,7 +82,7 @@ var He = {
82
82
  naicsCode: "",
83
83
  isAuthorized: null,
84
84
  isCheckboxChecked: !1
85
- }, Ue = {
85
+ }, We = {
86
86
  firstName: "",
87
87
  lastName: "",
88
88
  dateOfBirth: void 0,
@@ -96,7 +96,7 @@ var He = {
96
96
  ownsOver25Percent: null,
97
97
  ownershipPercentage: null
98
98
  };
99
- function We(e, t) {
99
+ function Ge(e, t) {
100
100
  if (e === 0) return {
101
101
  title: t.businessReviewTitle,
102
102
  subtitle: t.businessReviewSubtitle
@@ -106,7 +106,7 @@ function We(e, t) {
106
106
  subtitle: t.personalReviewSubtitle
107
107
  };
108
108
  let n = {
109
- ...m,
109
+ ...p,
110
110
  ...t.additionalOwners
111
111
  };
112
112
  return {
@@ -114,60 +114,60 @@ function We(e, t) {
114
114
  subtitle: n.subheading
115
115
  };
116
116
  }
117
- function Ge({ onEmbeddedOnboardingCompletedSuccessfully: d, onNavigateToDashboard: oe, labels: m, initialBusinessDetails: ge, initialPersonalDetails: Se, initialAdditionalOwners: we, initialApplicationId: Te = null, initialBoundAuthEpoch: Me, onEditableDraftChange: Ne, onApplicationDeleted: Re, bankLogoSrc: Ge, disclosureLinks: Ke, open: qe, defaultOpen: Je, onOpenChange: C, isFullScreenInline: w = !1 }) {
118
- let T = ee(), { authEpoch: Ye } = i();
119
- _(() => {
120
- T(xe.Mounted);
121
- }, [T]);
122
- let E = {
123
- ...g,
124
- ...m,
117
+ function Ke({ onEmbeddedOnboardingCompletedSuccessfully: ne, onNavigateToDashboard: se, labels: p, initialBusinessDetails: _e, initialPersonalDetails: Ce, initialAdditionalOwners: Te, initialApplicationId: Ee = null, initialBoundAuthEpoch: Ne, onEditableDraftChange: Pe, onApplicationDeleted: ze, bankLogoSrc: Ke, disclosureLinks: qe, open: Je, defaultOpen: Ye, onOpenChange: S, isFullScreenInline: C = !1 }) {
118
+ let w = d(), { authEpoch: Xe } = o();
119
+ g(() => {
120
+ w(Se.Mounted);
121
+ }, [w]);
122
+ let T = {
123
+ ...h,
124
+ ...p,
125
125
  stepIndicator: {
126
- ...g.stepIndicator,
127
- ...m?.stepIndicator
126
+ ...h.stepIndicator,
127
+ ...p?.stepIndicator
128
128
  },
129
- businessDetails: m?.businessDetails ?? {},
130
- personalDetails: m?.personalDetails ?? {},
131
- additionalOwners: m?.additionalOwners ?? {},
129
+ businessDetails: p?.businessDetails ?? {},
130
+ personalDetails: p?.personalDetails ?? {},
131
+ additionalOwners: p?.additionalOwners ?? {},
132
132
  result: {
133
- ...g.result,
134
- ...m?.result
133
+ ...h.result,
134
+ ...p?.result
135
135
  },
136
- unsavedApplicationDialog: m?.unsavedApplicationDialog ?? {},
137
- deleteApplicationDialog: m?.deleteApplicationDialog ?? {}
138
- }, D = re().initResponse, { termsHref: Xe, privacyHref: Ze, electronicCommunicationHref: Qe, patriotActHref: $e } = Ke ?? {}, et = qe === void 0, [tt, nt] = y(() => Je ?? !1), rt = et ? tt : qe, it = Je ?? !1, O = Pe((e) => {
139
- et && nt(e), C?.(e);
140
- }, [C, et]), at = Pe(() => {
141
- d();
142
- }, [d]), ot = ne(), [k, st] = y(0), [A, j] = y(() => ({
143
- ...He,
144
- ...ge
145
- })), [M, N] = y(() => ({
136
+ unsavedApplicationDialog: p?.unsavedApplicationDialog ?? {},
137
+ deleteApplicationDialog: p?.deleteApplicationDialog ?? {}
138
+ }, E = ie().initResponse, { termsHref: Ze, privacyHref: Qe, electronicCommunicationHref: $e, patriotActHref: et } = qe ?? {}, tt = Je === void 0, [nt, rt] = v(() => Ye ?? !1), it = tt ? nt : Je, at = Ye ?? !1, D = Fe((e) => {
139
+ tt && rt(e), S?.(e);
140
+ }, [S, tt]), ot = Fe(() => {
141
+ ne();
142
+ }, [ne]), st = re(), [O, ct] = v(0), [k, A] = v(() => ({
146
143
  ...Ue,
147
- ...Se
148
- })), [P, F] = y(() => we ?? []), [I, ct] = y(() => ({
149
- business: A,
150
- personal: M,
151
- owners: P
152
- })), [lt, ut] = y(null);
153
- _(() => {
154
- if (!lt) return;
144
+ ..._e
145
+ })), [j, M] = v(() => ({
146
+ ...We,
147
+ ...Ce
148
+ })), [N, P] = v(() => Te ?? []), [F, lt] = v(() => ({
149
+ business: k,
150
+ personal: j,
151
+ owners: N
152
+ })), [I, ut] = v(null);
153
+ g(() => {
154
+ if (!I) return;
155
155
  let e = {
156
- business: A,
157
- personal: M,
158
- owners: P
156
+ business: k,
157
+ personal: j,
158
+ owners: N
159
159
  };
160
- ct((t) => lt.next(e, t)), ut(null);
160
+ lt((t) => I.next(e, t)), ut(null);
161
161
  }, [
162
- lt,
163
- A,
164
- M,
165
- P
162
+ I,
163
+ k,
164
+ j,
165
+ N
166
166
  ]);
167
167
  let dt = (e, { owners: t = "none" } = {}) => ut({ next: (n, r) => ({
168
168
  business: e.includes("business") ? n.business : r.business,
169
169
  personal: e.includes("personal") ? n.personal : r.personal,
170
- owners: t === "cleared" ? ze : t === "restored" ? _e({
170
+ owners: t === "cleared" ? Be : t === "restored" ? ve({
171
171
  current: n,
172
172
  saved: r,
173
173
  dirty: {
@@ -177,76 +177,76 @@ function Ge({ onEmbeddedOnboardingCompletedSuccessfully: d, onNavigateToDashboar
177
177
  },
178
178
  ownersWrite: "list"
179
179
  }).owners : e.includes("owners") ? n.owners : r.owners
180
- }) }), [ft, pt] = y(null), [mt, ht] = y(0), [gt, L] = y(!1), [_t, vt] = y(!1), [R, yt] = y(null), [z, bt] = y(null), [xt, St] = y(null), [B, Ct] = y(Te), [wt, Tt] = y(!1), [V, Et] = y({}), Dt = (e) => Et((t) => ({
180
+ }) }), [ft, pt] = v(null), [mt, ht] = v(0), [gt, L] = v(!1), [_t, vt] = v(!1), [R, yt] = v(null), [z, bt] = v(null), [xt, St] = v(null), [B, Ct] = v(Ee), [wt, Tt] = v(!1), [V, Et] = v({}), Dt = (e) => Et((t) => ({
181
181
  ...t,
182
- ...e.taxId && x(e.taxId) && e.taxIdStructure ? {
182
+ ...e.taxId && b(e.taxId) && e.taxIdStructure ? {
183
183
  taxId: e.taxId,
184
184
  taxIdStructure: e.taxIdStructure
185
185
  } : {},
186
- ...e.ssn && x(e.ssn) ? { ssn: e.ssn } : {}
186
+ ...e.ssn && b(e.ssn) ? { ssn: e.ssn } : {}
187
187
  })), Ot = (e) => {
188
- let { taxId: t, taxIdStructure: n } = V, r = t !== void 0 && n !== void 0 && e.companyStructure !== A.companyStructure && e.companyStructure !== "" && e.companyStructure === "SOLE_PROPRIETORSHIP" != (n === "SOLE_PROPRIETORSHIP");
189
- j(r ? {
188
+ let { taxId: t, taxIdStructure: n } = V, r = t !== void 0 && n !== void 0 && e.companyStructure !== k.companyStructure && e.companyStructure !== "" && e.companyStructure === "SOLE_PROPRIETORSHIP" != (n === "SOLE_PROPRIETORSHIP");
189
+ A(r ? {
190
190
  ...e,
191
191
  taxId: e.taxId === t ? "" : e.taxId,
192
- taxIdOnFileLast4: ae(t),
192
+ taxIdOnFileLast4: oe(t),
193
193
  taxIdOnFileStructure: n
194
194
  } : e);
195
- }, [kt, At] = y(Me ?? Ye), [jt, H] = y(null), [Mt, Nt] = y(!1), [Pt, U] = y(!1);
196
- !w && !rt && Pt && U(!1);
197
- let [Ft, It] = y(!1), [Lt, Rt] = y(null), zt = De(), W = Oe(), Bt = ke(), Vt = Ae(), Ht = je(), { setClientSecret: Ut } = Ee(), { data: Wt, refetch: Gt } = o(), { mutateAsync: Kt } = a(), qt = c(), Jt = Fe(null);
198
- _(() => () => Jt.current?.abort(), []);
199
- let Yt = v(() => ie(E.businessDetails.naicsTitles), [E.businessDetails.naicsTitles]), Xt = v(() => f(E.businessDetails.stateTitles), [E.businessDetails.stateTitles]), Zt = v(() => f(E.personalDetails.stateTitles), [E.personalDetails.stateTitles]), Qt = v(() => f(E.additionalOwners.stateTitles), [E.additionalOwners.stateTitles]), G = Ft || Lt !== null, $t = D?.status === "ACTIVE" || D?.status === "INACTIVE", en = D?.status === "INVITED", K = !!D && !G && ($t || en || qt.isSuppressed), q = K ? $t ? s.UserAlreadyOnboarded : en ? s.UserInvitedToOrganization : qt.reason : null;
200
- _(() => {
201
- K && q && (T(xe.Suppressed, { reason: q }), console.info(`[onboarding] not shown: ${q}`));
195
+ }, [kt, At] = v(Ne ?? Xe), [jt, H] = v(null), [Mt, Nt] = v(!1), [Pt, U] = v(!1);
196
+ !C && !it && Pt && U(!1);
197
+ let [Ft, It] = v(!1), [Lt, Rt] = v(null), zt = Oe(), W = ke(), Bt = Ae(), Vt = je(), Ht = Me(), { setClientSecret: Ut } = De(), { data: Wt, refetch: Gt } = c(), { mutateAsync: Kt } = s(), qt = u(), Jt = Ie(null);
198
+ g(() => () => Jt.current?.abort(), []);
199
+ let Yt = _(() => ae(T.businessDetails.naicsTitles), [T.businessDetails.naicsTitles]), Xt = _(() => i(T.businessDetails.stateTitles), [T.businessDetails.stateTitles]), Zt = _(() => i(T.personalDetails.stateTitles), [T.personalDetails.stateTitles]), Qt = _(() => i(T.additionalOwners.stateTitles), [T.additionalOwners.stateTitles]), G = Ft || Lt !== null, $t = E?.status === "ACTIVE" || E?.status === "INACTIVE", en = E?.status === "INVITED", K = !!E && !G && ($t || en || qt.isSuppressed), q = K ? $t ? l.UserAlreadyOnboarded : en ? l.UserInvitedToOrganization : qt.reason : null;
200
+ g(() => {
201
+ K && q && (w(Se.Suppressed, { reason: q }), console.info(`[onboarding] not shown: ${q}`));
202
202
  }, [
203
203
  K,
204
204
  q,
205
- T
206
- ]), _(() => {
207
- Ne?.(G || B === null ? null : {
205
+ w
206
+ ]), g(() => {
207
+ Pe?.(G || B === null ? null : {
208
208
  applicationId: B,
209
209
  authEpoch: kt
210
210
  });
211
211
  }, [
212
- Ne,
212
+ Pe,
213
213
  G,
214
214
  B,
215
215
  kt
216
216
  ]);
217
- let tn = Fe(Ye);
218
- if (tn.current = Ye, !D || !G && (K || !qt.isResolved)) return null;
217
+ let tn = Ie(Xe);
218
+ if (tn.current = Xe, !E || !G && (K || !qt.isResolved)) return null;
219
219
  let J = R?.companyStructure === "SOLE_PROPRIETORSHIP", nn = [
220
- E.stepIndicator.business,
221
- E.stepIndicator.personal,
222
- E.stepIndicator.ownership
223
- ], rn = k === 0 ? R : k === 1 ? z : k === 2 ? xt : null, Y = zt.isPending || W.isPending || Bt.isPending || Vt.isPending || Ft, an = () => {
224
- H(null), st((e) => e === 0 ? 0 : e - 1);
220
+ T.stepIndicator.business,
221
+ T.stepIndicator.personal,
222
+ T.stepIndicator.ownership
223
+ ], rn = O === 0 ? R : O === 1 ? z : O === 2 ? xt : null, Y = zt.isPending || W.isPending || Bt.isPending || Vt.isPending || Ft, an = () => {
224
+ H(null), ct((e) => e === 0 ? 0 : e - 1);
225
225
  }, X = {
226
- business: h(A) !== h(I.business),
227
- personal: h(M) !== h(I.personal),
228
- owners: h(A.companyStructure === "SOLE_PROPRIETORSHIP" ? ze : Ve(P, ft)) !== h(I.owners)
226
+ business: m(k) !== m(F.business),
227
+ personal: m(j) !== m(F.personal),
228
+ owners: m(k.companyStructure === "SOLE_PROPRIETORSHIP" ? Be : He(N, ft)) !== m(F.owners)
229
229
  }, on = X.business || X.personal || X.owners, Z = {
230
- business: (e) => V.taxId && e.taxId === V.taxId ? Be(e) : e,
231
- personal: (e) => V.ssn && e.ssn === V.ssn ? S(e) : e,
232
- owners: (e) => e.map((e) => e.id && x(e.ssn) ? S(e) : e)
233
- }, sn = () => ct((e) => ({
230
+ business: (e) => V.taxId && e.taxId === V.taxId ? Ve(e) : e,
231
+ personal: (e) => V.ssn && e.ssn === V.ssn ? x(e) : e,
232
+ owners: (e) => e.map((e) => e.id && b(e.ssn) ? x(e) : e)
233
+ }, sn = () => lt((e) => ({
234
234
  business: Z.business(e.business),
235
235
  personal: Z.personal(e.personal),
236
236
  owners: Z.owners(e.owners)
237
237
  })), cn = () => {
238
- Y || (on ? L(!0) : (j(Z.business), N(Z.personal), F(Z.owners), sn(), O(!1)));
238
+ Y || (on ? L(!0) : (A(Z.business), M(Z.personal), P(Z.owners), sn(), D(!1)));
239
239
  }, ln = (e) => {
240
- e ? O(!0) : cn();
240
+ e ? D(!0) : cn();
241
241
  }, un = cn, dn = async (e) => {
242
- It(!0), O(!0);
242
+ It(!0), D(!0);
243
243
  let t = new AbortController();
244
244
  Jt.current = t;
245
245
  let n = !1;
246
246
  try {
247
247
  let r = await Bt.mutateAsync({ path: { id: e } });
248
248
  if (t.signal.aborted) return;
249
- if (!r.id) throw Error(E.submitFailedError);
249
+ if (!r.id) throw Error(T.submitFailedError);
250
250
  if (n = !0, (await Ht(e, { signal: t.signal })).status === "complete") {
251
251
  let e = Wt;
252
252
  if (e === void 0 && (e = (await Gt()).data), t.signal.aborted) return;
@@ -254,7 +254,7 @@ function Ge({ onEmbeddedOnboardingCompletedSuccessfully: d, onNavigateToDashboar
254
254
  await Kt({ displayedVersion: e.version ?? null });
255
255
  } catch {}
256
256
  if (t.signal.aborted) return;
257
- Rt("success"), ot(), at();
257
+ Rt("success"), st(), ot();
258
258
  } else Rt("pending");
259
259
  } catch (e) {
260
260
  if (e instanceof DOMException && e.name === "AbortError") return;
@@ -264,39 +264,39 @@ function Ge({ onEmbeddedOnboardingCompletedSuccessfully: d, onNavigateToDashboar
264
264
  Jt.current = null, It(!1);
265
265
  }
266
266
  }, Q = ({ evenWithoutMarker: e = !1 } = {}) => {
267
- j((t) => (t.taxIdOnFileLast4 || e) && x(t.taxId) ? Be(t) : t);
267
+ A((t) => (t.taxIdOnFileLast4 || e) && b(t.taxId) ? Ve(t) : t);
268
268
  }, fn = ({ evenWithoutMarker: e = !1 } = {}) => {
269
- N((t) => (t.ssnOnFileLast4 || e) && x(t.ssn) ? S(t) : t);
269
+ M((t) => (t.ssnOnFileLast4 || e) && b(t.ssn) ? x(t) : t);
270
270
  }, pn = ({ evenWithoutMarker: e = !1 } = {}) => {
271
- F((t) => t.map((t) => (t.ssnOnFileLast4 || e && t.id) && x(t.ssn) ? S(t) : t));
271
+ P((t) => t.map((t) => (t.ssnOnFileLast4 || e && t.id) && b(t.ssn) ? x(t) : t));
272
272
  }, mn = () => {
273
- F((e) => e.map(Ce));
273
+ P((e) => e.map(we));
274
274
  }, hn = async (e) => {
275
275
  let t = tn.current, n = await zt.mutateAsync({ body: e });
276
276
  return Ct(n.id), At(t), n.clientSecret && Ut(n.id, n.clientSecret), n.id;
277
277
  }, gn = async () => {
278
- let e = I.business.companyStructure === "SOLE_PROPRIETORSHIP" && !J ? be(P) : [], t = e.length > 0 ? { businessOwners: e } : {};
279
- if (k === 0) {
278
+ let e = F.business.companyStructure === "SOLE_PROPRIETORSHIP" && !J ? xe(N) : [], t = e.length > 0 ? { businessOwners: e } : {};
279
+ if (O === 0) {
280
280
  if (!R) return null;
281
281
  let e = B;
282
282
  return e ? await W.mutateAsync({
283
283
  path: { id: e },
284
284
  body: {
285
- ...he({
285
+ ...ge({
286
286
  businessDetails: R,
287
287
  carryConsent: !wt
288
288
  }),
289
289
  ...t
290
290
  }
291
- }) : (e = await hn(me(R)), Tt(!0)), Dt({
291
+ }) : (e = await hn(he(R)), Tt(!0)), Dt({
292
292
  taxId: R.taxId,
293
293
  taxIdStructure: R.companyStructure
294
294
  }), Q(), J && mn(), dt(["business"], { owners: J ? "cleared" : t.businessOwners ? "restored" : "none" }), e;
295
295
  }
296
- return k === 1 ? !z || !R || !B ? null : (await W.mutateAsync({
296
+ return O === 1 ? !z || !R || !B ? null : (await W.mutateAsync({
297
297
  path: { id: B },
298
298
  body: {
299
- ...he({
299
+ ...ge({
300
300
  businessDetails: R,
301
301
  applicant: z,
302
302
  carryConsent: !wt
@@ -307,16 +307,16 @@ function Ge({ onEmbeddedOnboardingCompletedSuccessfully: d, onNavigateToDashboar
307
307
  taxId: R.taxId,
308
308
  taxIdStructure: R.companyStructure,
309
309
  ssn: z.ssn
310
- }), Q(), fn(), dt(["business", "personal"], { owners: J ? "cleared" : t.businessOwners ? "restored" : "none" }), B) : k === 2 ? !xt || !B ? null : (await W.mutateAsync({
310
+ }), Q(), fn(), dt(["business", "personal"], { owners: J ? "cleared" : t.businessOwners ? "restored" : "none" }), B) : O === 2 ? !xt || !B ? null : (await W.mutateAsync({
311
311
  path: { id: B },
312
- body: he({ businessOwners: xt })
312
+ body: ge({ businessOwners: xt })
313
313
  }), pn(), dt(["owners"]), B) : null;
314
- }, $ = (e) => te(e) ?? (e instanceof Error ? e.message : void 0) ?? E.genericRetryError, _n = async () => {
314
+ }, $ = (e) => a(e) ?? (e instanceof Error ? e.message : void 0) ?? T.genericRetryError, _n = async () => {
315
315
  H(null);
316
316
  try {
317
317
  let e = await gn();
318
318
  if (e === null) return;
319
- k === 2 ? await dn(e) : st(k + 1);
319
+ O === 2 ? await dn(e) : ct(O + 1);
320
320
  } catch (e) {
321
321
  H($(e));
322
322
  }
@@ -324,52 +324,52 @@ function Ge({ onEmbeddedOnboardingCompletedSuccessfully: d, onNavigateToDashboar
324
324
  H(null), Nt(!0);
325
325
  try {
326
326
  if (await gn() === null) return;
327
- Q({ evenWithoutMarker: !0 }), k >= 1 && fn({ evenWithoutMarker: !0 }), k === 2 && pn({ evenWithoutMarker: !0 }), r.success(E.applicationSavedToast), O(!1);
327
+ Q({ evenWithoutMarker: !0 }), O >= 1 && fn({ evenWithoutMarker: !0 }), O === 2 && pn({ evenWithoutMarker: !0 }), r.success(T.applicationSavedToast), D(!1);
328
328
  } catch (e) {
329
329
  r.error($(e));
330
330
  } finally {
331
331
  Nt(!1);
332
332
  }
333
333
  }, yn = async () => {
334
- let e = Ve(P, ft), t = ye({
335
- businessDetails: A,
336
- applicant: M,
334
+ let e = He(N, ft), t = be({
335
+ businessDetails: k,
336
+ applicant: j,
337
337
  businessOwners: e,
338
- savedBusinessDetails: I.business,
339
- savedOwners: I.owners,
338
+ savedBusinessDetails: F.business,
339
+ savedOwners: F.owners,
340
340
  dirty: X
341
341
  }), n = X;
342
342
  vt(!0);
343
343
  try {
344
344
  if (!t) {
345
- r.error(E.saveDraftNothingValidError);
345
+ r.error(T.saveDraftNothingValidError);
346
346
  return;
347
347
  }
348
348
  let i = !B;
349
349
  B ? await W.mutateAsync({
350
350
  path: { id: B },
351
351
  body: t
352
- }) : await hn(ve(t)), ft && F(e), r.success(E.applicationSavedToast);
352
+ }) : await hn(ye(t)), ft && P(e), r.success(T.applicationSavedToast);
353
353
  let a = t;
354
354
  i && a.applicant?.isLegallyAuthorized && a.applicant?.hasAcceptedDisclosures && Tt(!0), Dt({
355
355
  taxId: a.businessDetails?.taxId?.value,
356
- taxIdStructure: A.companyStructure,
356
+ taxIdStructure: k.companyStructure,
357
357
  ssn: a.applicant?.personalIdentificationNumber?.value
358
358
  }), a.businessDetails?.taxId !== void 0 && Q({ evenWithoutMarker: !0 }), a.applicant?.personalIdentificationNumber !== void 0 && fn({ evenWithoutMarker: !0 }), Array.isArray(a.businessOwners) && pn({ evenWithoutMarker: !0 }), a.businessOwners === null && e.length > 0 && mn();
359
359
  let o = Array.isArray(a.businessOwners) ? "list" : a.businessOwners === null ? "cleared" : "none";
360
- ut({ next: (e, t) => _e({
360
+ ut({ next: (e, t) => ve({
361
361
  current: e,
362
362
  saved: t,
363
363
  dirty: n,
364
364
  ownersWrite: o
365
- }) }), pt(null), ht((e) => e + 1), L(!1), O(!1);
365
+ }) }), pt(null), ht((e) => e + 1), L(!1), D(!1);
366
366
  } catch (e) {
367
367
  r.error($(e));
368
368
  } finally {
369
369
  vt(!1);
370
370
  }
371
371
  }, bn = () => {
372
- j(Z.business(I.business)), N(Z.personal(I.personal)), F(Z.owners(I.owners)), sn(), pt(null), ht((e) => e + 1), H(null), L(!1), O(!1);
372
+ A(Z.business(F.business)), M(Z.personal(F.personal)), P(Z.owners(F.owners)), sn(), pt(null), ht((e) => e + 1), H(null), L(!1), D(!1);
373
373
  }, xn = async () => {
374
374
  if (B !== null) {
375
375
  try {
@@ -378,18 +378,18 @@ function Ge({ onEmbeddedOnboardingCompletedSuccessfully: d, onNavigateToDashboar
378
378
  r.error($(e));
379
379
  return;
380
380
  }
381
- r.success(E.applicationDeletedToast);
381
+ r.success(T.applicationDeletedToast);
382
382
  }
383
- U(!1), O(!1), Re?.();
384
- }, Sn = We(Math.min(k, 2), E), Cn = D.bankName?.trim() || E.fallbackBankName, wn = se(E.shellFdicDisclaimer, Cn);
383
+ U(!1), D(!1), ze?.();
384
+ }, Sn = Ge(Math.min(O, 2), T), Cn = E.bankName?.trim() || T.fallbackBankName, wn = ce(T.shellFdicDisclaimer, Cn);
385
385
  if (G) {
386
- let r = R?.companyLegalName ?? "", i = D.bankName?.trim() || E.fallbackBankName, a = Lt ?? "pending", o = a === "success", s = {
387
- ...g.result,
388
- ...E.result
389
- }, c = /* @__PURE__ */ b(ce, {
386
+ let r = R?.companyLegalName ?? "", i = E.bankName?.trim() || T.fallbackBankName, a = Lt ?? "pending", o = a === "success", s = {
387
+ ...h.result,
388
+ ...T.result
389
+ }, c = /* @__PURE__ */ y(le, {
390
390
  testIds: {
391
- processing: p.resultProcessing,
392
- dashboardButton: p.resultDashboardButton
391
+ processing: f.resultProcessing,
392
+ dashboardButton: f.resultDashboardButton
393
393
  },
394
394
  status: a,
395
395
  isLoading: Ft,
@@ -400,40 +400,40 @@ function Ge({ onEmbeddedOnboardingCompletedSuccessfully: d, onNavigateToDashboar
400
400
  followUpEmail: z?.workEmail ?? "",
401
401
  emailBoxLead: s.pendingEmailBoxLead,
402
402
  navigateToDashboardLabel: s.navigateToDashboard,
403
- bankLogoSrc: Ge,
404
- bankLogoAlt: se(s.bankLogoAlt, i),
405
- fdicDisclaimer: se(s.fdicDisclaimer, i),
406
- onNavigateToDashboard: oe
403
+ bankLogoSrc: Ke,
404
+ bankLogoAlt: ce(s.bankLogoAlt, i),
405
+ fdicDisclaimer: ce(s.fdicDisclaimer, i),
406
+ onNavigateToDashboard: se
407
407
  });
408
- return w ? /* @__PURE__ */ b("div", {
408
+ return C ? /* @__PURE__ */ y("div", {
409
409
  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",
410
410
  children: c
411
- }) : /* @__PURE__ */ b(e, {
412
- open: rt,
413
- onOpenChange: O,
414
- children: /* @__PURE__ */ Le(t, {
411
+ }) : /* @__PURE__ */ y(e, {
412
+ open: it,
413
+ onOpenChange: D,
414
+ children: /* @__PURE__ */ Re(t, {
415
415
  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",
416
- children: [/* @__PURE__ */ b(n, {
416
+ children: [/* @__PURE__ */ y(n, {
417
417
  className: "ttw:sr-only",
418
- children: E.modalTitle
418
+ children: T.modalTitle
419
419
  }), c]
420
420
  })
421
421
  });
422
422
  }
423
- let Tn = k === 2 ? E.submit : E.next, En = rn === null || Y;
424
- return /* @__PURE__ */ Le(Ie, { children: [
425
- /* @__PURE__ */ Le(u, {
426
- open: rt,
427
- defaultOpen: it,
423
+ let Tn = O === 2 ? T.submit : T.next, En = rn === null || Y;
424
+ return /* @__PURE__ */ Re(Le, { children: [
425
+ /* @__PURE__ */ Re(te, {
426
+ open: it,
427
+ defaultOpen: at,
428
428
  onOpenChange: ln,
429
- isFullScreenInline: w,
429
+ isFullScreenInline: C,
430
430
  title: Sn.title,
431
431
  subtitle: Sn.subtitle,
432
432
  stepLabels: nn,
433
- activeStep: k,
433
+ activeStep: O,
434
434
  disclaimerText: wn,
435
- onBack: k === 0 ? un : an,
436
- onCancel: k > 0 ? un : void 0,
435
+ onBack: O === 0 ? un : an,
436
+ onCancel: O > 0 ? un : void 0,
437
437
  onNext: _n,
438
438
  onSaveAndClose: vn,
439
439
  onDelete: () => U(!0),
@@ -446,95 +446,95 @@ function Ge({ onEmbeddedOnboardingCompletedSuccessfully: d, onNavigateToDashboar
446
446
  nextIcon: null,
447
447
  errorMessage: jt,
448
448
  labels: {
449
- backButton: k === 0 ? E.cancel : E.back,
450
- cancelButton: E.cancel,
451
- saveAndCloseButton: E.saveAndClose,
452
- deleteButton: E.deleteApplication
449
+ backButton: O === 0 ? T.cancel : T.back,
450
+ cancelButton: T.cancel,
451
+ saveAndCloseButton: T.saveAndClose,
452
+ deleteButton: T.deleteApplication
453
453
  },
454
454
  testIds: {
455
- root: p.shell,
456
- dismiss: p.shellDismiss,
457
- back: p.shellBack,
458
- cancel: p.shellCancel,
459
- saveAndClose: p.shellSaveAndClose,
460
- delete: p.shellDelete,
461
- next: p.shellNext,
455
+ root: f.shell,
456
+ dismiss: f.shellDismiss,
457
+ back: f.shellBack,
458
+ cancel: f.shellCancel,
459
+ saveAndClose: f.shellSaveAndClose,
460
+ delete: f.shellDelete,
461
+ next: f.shellNext,
462
462
  scrollRegion: {
463
- root: p.shellScrollRegion,
464
- fade: p.shellScrollFade,
465
- hint: p.shellScrollHint
463
+ root: f.shellScrollRegion,
464
+ fade: f.shellScrollFade,
465
+ hint: f.shellScrollHint
466
466
  }
467
467
  },
468
468
  children: [
469
- k === 0 ? /* @__PURE__ */ b(de, {
470
- value: A,
469
+ O === 0 ? /* @__PURE__ */ y(fe, {
470
+ value: k,
471
471
  onValueChange: Ot,
472
472
  onSnapshotChange: yt,
473
473
  naicsOptions: Yt,
474
474
  stateOptions: Xt,
475
475
  isSubmitting: Y,
476
- labels: E.businessDetails,
476
+ labels: T.businessDetails,
477
477
  bankName: Cn,
478
- termsHref: Xe,
479
- privacyHref: Ze,
480
- electronicCommunicationHref: Qe,
481
- patriotActHref: $e
478
+ termsHref: Ze,
479
+ privacyHref: Qe,
480
+ electronicCommunicationHref: $e,
481
+ patriotActHref: et
482
482
  }, "business") : null,
483
- k === 1 ? /* @__PURE__ */ b(fe, {
484
- value: M,
485
- onValueChange: N,
483
+ O === 1 ? /* @__PURE__ */ y(pe, {
484
+ value: j,
485
+ onValueChange: M,
486
486
  onSnapshotChange: bt,
487
487
  stateOptions: Zt,
488
488
  isSubmitting: Y,
489
- labels: E.personalDetails
489
+ labels: T.personalDetails
490
490
  }, "personal") : null,
491
- k === 2 ? /* @__PURE__ */ b(pe, {
492
- owners: J ? ze : P,
493
- onOwnersChange: F,
494
- primaryOwnerName: `${M.firstName} ${M.lastName}`.trim(),
491
+ O === 2 ? /* @__PURE__ */ y(me, {
492
+ owners: J ? Be : N,
493
+ onOwnersChange: P,
494
+ primaryOwnerName: `${j.firstName} ${j.lastName}`.trim(),
495
495
  primaryOwnerPercentage: J ? 100 : z?.ownsOver25Percent === !0 ? z.ownershipPercentage ?? 0 : 0,
496
496
  stateOptions: Qt,
497
497
  onSnapshotChange: St,
498
498
  onPendingOwnerChange: pt,
499
499
  isSubmitting: Y,
500
- labels: E.additionalOwners
500
+ labels: T.additionalOwners
501
501
  }, mt) : null
502
502
  ]
503
503
  }),
504
- /* @__PURE__ */ b(le, {
504
+ /* @__PURE__ */ y(ue, {
505
505
  open: gt,
506
506
  onSaveDraft: yn,
507
507
  onDiscard: bn,
508
508
  onCancel: () => L(!1),
509
509
  isSaving: _t,
510
- labels: E.unsavedApplicationDialog,
510
+ labels: T.unsavedApplicationDialog,
511
511
  testIds: {
512
- root: p.unsavedDialog,
513
- saveDraft: p.unsavedDialogSaveDraft,
514
- discard: p.unsavedDialogDiscard,
515
- close: p.unsavedDialogClose
512
+ root: f.unsavedDialog,
513
+ saveDraft: f.unsavedDialogSaveDraft,
514
+ discard: f.unsavedDialogDiscard,
515
+ close: f.unsavedDialogClose
516
516
  }
517
517
  }),
518
- /* @__PURE__ */ b(ue, {
518
+ /* @__PURE__ */ y(de, {
519
519
  open: Pt,
520
520
  onConfirm: xn,
521
521
  onCancel: () => U(!1),
522
522
  isDeleting: Vt.isPending,
523
523
  labels: {
524
- descriptionEmphasis: E.saveAndClose,
525
- ...E.deleteApplicationDialog
524
+ descriptionEmphasis: T.saveAndClose,
525
+ ...T.deleteApplicationDialog
526
526
  },
527
527
  testIds: {
528
- root: p.deleteDialog,
529
- confirm: p.deleteDialogConfirm,
530
- cancel: p.deleteDialogCancel
528
+ root: f.deleteDialog,
529
+ confirm: f.deleteDialogConfirm,
530
+ cancel: f.deleteDialogCancel
531
531
  }
532
532
  }),
533
- /* @__PURE__ */ b(l, {})
533
+ /* @__PURE__ */ y(ee, {})
534
534
  ] });
535
535
  }
536
- function Ke({ baseUrl: e, widgetToken: t, organizationId: n, configClient: r, gatewayRouting: i, linkComponent: a, implementation: o, uiFramework: s, errorFallback: c, onError: l, analytics: u, disclosuresAcceptance: ee, providerLabels: f, ...te }) {
537
- return /* @__PURE__ */ b(d, {
536
+ function qe({ baseUrl: e, widgetToken: t, organizationId: n, configClient: r, gatewayRouting: i, linkComponent: a, implementation: o, uiFramework: s, errorFallback: c, onError: l, analytics: u, disclosuresAcceptance: ee, providerLabels: te, ...d }) {
537
+ return /* @__PURE__ */ y(ne, {
538
538
  baseUrl: e,
539
539
  widgetToken: t,
540
540
  organizationId: n,
@@ -547,72 +547,72 @@ function Ke({ baseUrl: e, widgetToken: t, organizationId: n, configClient: r, ga
547
547
  onError: l,
548
548
  analytics: u,
549
549
  disclosuresAcceptance: ee,
550
- providerLabels: f,
551
- widgetName: Se,
552
- children: /* @__PURE__ */ b(qe, { ...te })
550
+ providerLabels: te,
551
+ widgetName: Ce,
552
+ children: /* @__PURE__ */ y(Je, { ...d })
553
553
  });
554
554
  }
555
- function qe(e) {
556
- let { initResponse: t } = re(), { client: n } = i(), r = t?.userId ?? null, [a, o] = y(r), [s, c] = y(0);
557
- r !== a && (o(r), a !== null && r !== null && c((e) => e + 1));
558
- let [l, u] = y(n);
559
- return n !== l && (u(n), c((e) => e + 1)), /* @__PURE__ */ b(Je, { ...e }, s);
560
- }
561
555
  function Je(e) {
562
- let { authEpoch: t } = i(), { ownApplicationIds: n } = Me(), [r, a] = y(null), [o, s] = y(0), [c, l] = y(!1), u = Pe(() => {
563
- a(null), l(!0), s((e) => e + 1);
556
+ let { initResponse: t } = ie(), { client: n } = o(), r = t?.userId ?? null, [i, a] = v(r), [s, c] = v(0);
557
+ r !== i && (a(r), i !== null && r !== null && c((e) => e + 1));
558
+ let [l, u] = v(n);
559
+ return n !== l && (u(n), c((e) => e + 1)), /* @__PURE__ */ y(Ye, { ...e }, s);
560
+ }
561
+ function Ye(e) {
562
+ let { authEpoch: t } = o(), { ownApplicationIds: n } = Ne(), [r, i] = v(null), [a, s] = v(0), [c, l] = v(!1), u = Fe(() => {
563
+ i(null), l(!0), s((e) => e + 1);
564
564
  }, []);
565
- return r !== null && t !== r.authEpoch && n !== null && !n.includes(r.applicationId) && (a(null), s((e) => e + 1)), /* @__PURE__ */ b(Te, { children: /* @__PURE__ */ b(w, {
565
+ return r !== null && t !== r.authEpoch && n !== null && !n.includes(r.applicationId) && (i(null), s((e) => e + 1)), /* @__PURE__ */ y(Ee, { children: /* @__PURE__ */ y(C, {
566
566
  ...e,
567
567
  defaultOpen: !c && e.defaultOpen,
568
- onEditableDraftChange: a,
568
+ onEditableDraftChange: i,
569
569
  onApplicationDeleted: u
570
- }, o) }, o);
570
+ }, a) }, a);
571
571
  }
572
- var C = { canRender: !1 };
573
- function w(e) {
574
- let { authEpoch: t } = i(), { applicationId: n, clientSecret: r, isResolved: a } = Me(), { application: o, isResolved: s, isUnavailable: c } = Ne(n, r), [l, u] = y(null);
575
- if (_(() => {
576
- if (l?.canRender !== !0 && a && s) {
572
+ var S = { canRender: !1 };
573
+ function C(e) {
574
+ let { authEpoch: t } = o(), { applicationId: n, clientSecret: r, isResolved: i } = Ne(), { application: a, isResolved: s, isUnavailable: c } = Pe(n, r), [l, u] = v(null);
575
+ if (g(() => {
576
+ if (l?.canRender !== !0 && i && s) {
577
577
  if (c) {
578
- u(C);
578
+ u(S);
579
579
  return;
580
580
  }
581
- if (o !== null && o.status !== void 0 && o.status !== Re) {
582
- u(C);
581
+ if (a !== null && a.status !== void 0 && a.status !== ze) {
582
+ u(S);
583
583
  return;
584
584
  }
585
585
  u({
586
586
  canRender: !0,
587
- applicationId: o === null ? null : n,
587
+ applicationId: a === null ? null : n,
588
588
  authEpoch: t,
589
- prefill: ge(o)
589
+ prefill: _e(a)
590
590
  });
591
591
  }
592
592
  }, [
593
593
  t,
594
594
  l,
595
- a,
595
+ i,
596
596
  s,
597
597
  c,
598
- o,
598
+ a,
599
599
  n
600
600
  ]), l === null || !l.canRender) return null;
601
- let { applicationId: ee, authEpoch: d, prefill: f } = l;
602
- return /* @__PURE__ */ b(Ge, {
601
+ let { applicationId: ee, authEpoch: te, prefill: d } = l;
602
+ return /* @__PURE__ */ y(Ke, {
603
603
  ...e,
604
604
  initialApplicationId: ee,
605
- initialBoundAuthEpoch: d,
605
+ initialBoundAuthEpoch: te,
606
606
  initialBusinessDetails: {
607
- ...we(e.initialBusinessDetails),
608
- ...f?.businessDetails
607
+ ...Te(e.initialBusinessDetails),
608
+ ...d?.businessDetails
609
609
  },
610
610
  initialPersonalDetails: {
611
- ...we(e.initialPersonalDetails),
612
- ...f?.personalDetails
611
+ ...Te(e.initialPersonalDetails),
612
+ ...d?.personalDetails
613
613
  },
614
- initialAdditionalOwners: f?.additionalOwners ?? e.initialAdditionalOwners?.map(Ce)
614
+ initialAdditionalOwners: d?.additionalOwners ?? e.initialAdditionalOwners?.map(we)
615
615
  });
616
616
  }
617
617
  //#endregion
618
- export { Ke as BankAccountOnboardingWidget, Ke as default };
618
+ export { qe as BankAccountOnboardingWidget, qe as default };