@sheerid/jslib-nightly 2.141.0-alpha.5 → 2.143.0-alpha.0

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 (248) hide show
  1. package/_mysheerid-preview.css +4 -4
  2. package/_mysheerid-preview.js +5500 -5464
  3. package/_mysheerid-preview.js.map +1 -1
  4. package/chunk/EmailLoopPending-CHILFZYc.js +4 -4
  5. package/chunk/EmailLoopPending-Nn_H3cfS.js +4 -4
  6. package/chunk/LicensedProfessionalOrganizationComponent-BYijEfDT.js +4 -4
  7. package/chunk/LicensedProfessionalOrganizationComponent-CiYU-2dW.js +4 -4
  8. package/chunk/Onfido-BX3RMDPu.js +4 -4
  9. package/chunk/StepIDCheckLoopOnfido-CdtGsqUQ.js +4 -4
  10. package/chunk/StepIDCheckLoopOnfido-wDQ56PaN.js +4 -4
  11. package/chunk/StepIDCheckLoopRegula-BHrKTobC.js +4 -4
  12. package/chunk/StepIDCheckLoopRegula-Bxzg0ROh.js +4 -4
  13. package/chunk/StepInactiveMilitaryPersonalInfoComponent-B_SLFztq.js +4 -4
  14. package/chunk/StepInactiveMilitaryPersonalInfoComponent-D5bERGdY.js +4 -4
  15. package/chunk/ar-DgWnOHb0.js +4 -4
  16. package/chunk/bg-BOoVh0N7.js +4 -4
  17. package/chunk/bn-IN-DfQpdb68.js +4 -4
  18. package/chunk/cs-B9lN4RVR.js +4 -4
  19. package/chunk/da-BaOy33h_.js +4 -4
  20. package/chunk/de-uUHs3YXy.js +4 -4
  21. package/chunk/el-xIXJ9sqU.js +4 -4
  22. package/chunk/en-GB-8EI1uDkp.js +4 -4
  23. package/chunk/es-B7SMjWOB.js +4 -4
  24. package/chunk/es-ES-DZwHzn0T.js +4 -4
  25. package/chunk/fi-DdpuBVsY.js +4 -4
  26. package/chunk/fr-CA-CWSDRram.js +4 -4
  27. package/chunk/fr-Crh-QCJ-.js +4 -4
  28. package/chunk/ga-2XNN2X9n.js +4 -4
  29. package/chunk/hi-IN-CXpzvJ5p.js +4 -4
  30. package/chunk/hr-BWFHQt1b.js +4 -4
  31. package/chunk/hu-BQsQ1_1B.js +4 -4
  32. package/chunk/id-D1BredfW.js +4 -4
  33. package/chunk/index-1Cpf6KJI.js +4 -4
  34. package/chunk/index-2ob_KvkC.js +4 -4
  35. package/chunk/index-AHdKDpDe.js +4 -4
  36. package/chunk/index-B0fLWq5B.js +4 -4
  37. package/chunk/{index-dt1aUu5L.js → index-BARZY0Ha.js} +76 -69
  38. package/chunk/index-BARZY0Ha.js.map +1 -0
  39. package/chunk/index-BFhiexXx.js +4 -4
  40. package/chunk/index-BU0HFLKm.js +4 -4
  41. package/chunk/{index-DR8uqKnQ.js → index-BbZgRCJA.js} +76 -69
  42. package/chunk/index-BbZgRCJA.js.map +1 -0
  43. package/chunk/{index-Ab6NJ5Bn.js → index-ByHaYlzv.js} +443 -426
  44. package/chunk/{index-Ab6NJ5Bn.js.map → index-ByHaYlzv.js.map} +1 -1
  45. package/chunk/index-C3XrPBfJ.js +4 -4
  46. package/chunk/index-C4OCK6G0.js +4 -4
  47. package/chunk/index-C6KSFLsT.js +4 -4
  48. package/chunk/index-C8UuTatc.js +4 -4
  49. package/chunk/index-CBk9S5Sk.js +4 -4
  50. package/chunk/index-CRJId5Zv.js +4 -4
  51. package/chunk/index-CVEIzLov.js +4 -4
  52. package/chunk/index-CcE-GFi6.js +4 -4
  53. package/chunk/index-CjcYFvhf.js +4 -4
  54. package/chunk/index-CzOav1ZI.js +4 -4
  55. package/chunk/index-D3gKaa4t.js +4 -4
  56. package/chunk/index-D4FMD-a0.js +4 -4
  57. package/chunk/index-DAE3SOJH.js +4 -4
  58. package/chunk/index-DCTYdT7J.js +4 -4
  59. package/chunk/index-DFajPA-e.js +4 -4
  60. package/chunk/index-DHnJQWxO.js +4 -4
  61. package/chunk/index-DHtYIKVA.js +4 -4
  62. package/chunk/index-DIkWpujR.js +4 -4
  63. package/chunk/index-DJo820YY.js +4 -4
  64. package/chunk/index-DdQD36Ht.js +4 -4
  65. package/chunk/index-Dg1E2EXp.js +4 -4
  66. package/chunk/index-Nrs9NgvW.js +4 -4
  67. package/chunk/index-SwnUiXjr.js +4 -4
  68. package/chunk/index-eFXOIqbw.js +4 -4
  69. package/chunk/index-huf3obhv.js +4 -4
  70. package/chunk/index-n6fChAZJ.js +4 -4
  71. package/chunk/index-oHEY5B58.js +4 -4
  72. package/chunk/index-oagew295.js +4 -4
  73. package/chunk/{index-BKeGcdZT.js → index-xT_pYFTE.js} +443 -426
  74. package/chunk/{index-BKeGcdZT.js.map → index-xT_pYFTE.js.map} +1 -1
  75. package/chunk/index-zX2rojxg.js +4 -4
  76. package/chunk/is-BQ1w_dZd.js +4 -4
  77. package/chunk/it-DWcg5lrp.js +4 -4
  78. package/chunk/iw-CH8pA0K5.js +4 -4
  79. package/chunk/ja-DTB4oZtr.js +4 -4
  80. package/chunk/ko-YjkGeAf9.js +4 -4
  81. package/chunk/lo-BUmUlWoZ.js +4 -4
  82. package/chunk/lt-DyDf6oJm.js +4 -4
  83. package/chunk/ms-CIV35HiR.js +4 -4
  84. package/chunk/nl-BE-qnndQXN-.js +4 -4
  85. package/chunk/nl-BEcCaCBh.js +4 -4
  86. package/chunk/no-6tZgKN0w.js +4 -4
  87. package/chunk/pl-CfngpFII.js +4 -4
  88. package/chunk/pt-BR-BkmnC8r-.js +4 -4
  89. package/chunk/pt-D3Gz8aCi.js +4 -4
  90. package/chunk/ro-SIuDm7Nt.js +4 -4
  91. package/chunk/ru-DrinNLb3.js +4 -4
  92. package/chunk/sk-DK0CgugP.js +4 -4
  93. package/chunk/sl-BSnDNZ_p.js +4 -4
  94. package/chunk/sr-t_C4aOh0.js +4 -4
  95. package/chunk/sv-hjxeMgEO.js +4 -4
  96. package/chunk/sw-Bx_fcZ4c.js +4 -4
  97. package/chunk/th-kkF4cO_F.js +4 -4
  98. package/chunk/tr-Dra2pQ5h.js +4 -4
  99. package/chunk/uk-UEKtnnPj.js +4 -4
  100. package/chunk/ur-COGBRjXF.js +4 -4
  101. package/chunk/useCollectFieldsEndpoint-DFo1yXvN.js +4 -4
  102. package/chunk/useCollectFieldsEndpoint-DPX8CT4Y.js +4 -4
  103. package/chunk/useEmailFirstExperiment-0w7ddaGM.js +4 -4
  104. package/chunk/useEmailFirstExperiment-BT8sb1Ma.js +4 -4
  105. package/chunk/vi-CAhGkrs3.js +4 -4
  106. package/chunk/zh-CobVQtU0.js +4 -4
  107. package/chunk/zh-HK-BuYPE4ck.js +4 -4
  108. package/chunk/zu-LijCPCBd.js +4 -4
  109. package/es6.css +4 -4
  110. package/jslib.js +20 -20
  111. package/lib/{EmailLoopPending-Brdc1-m5.js → EmailLoopPending-BnDYLSO9.js} +5 -5
  112. package/lib/{EmailLoopPending-Brdc1-m5.js.map → EmailLoopPending-BnDYLSO9.js.map} +1 -1
  113. package/lib/{LicensedProfessionalOrganizationComponent-D35e3jZW.js → LicensedProfessionalOrganizationComponent-BKShSJbz.js} +5 -5
  114. package/lib/{LicensedProfessionalOrganizationComponent-D35e3jZW.js.map → LicensedProfessionalOrganizationComponent-BKShSJbz.js.map} +1 -1
  115. package/lib/Onfido-BX3RMDPu.js +4 -4
  116. package/lib/StepCollectMilitaryStatusComponent-DjGAzdM3.js +11 -0
  117. package/lib/{StepCollectMilitaryStatusComponent-BkLy11_p.js.map → StepCollectMilitaryStatusComponent-DjGAzdM3.js.map} +1 -1
  118. package/lib/{StepIDCheckLoopOnfido-KCTOACvX.js → StepIDCheckLoopOnfido-BHHsIklN.js} +5 -5
  119. package/lib/{StepIDCheckLoopOnfido-KCTOACvX.js.map → StepIDCheckLoopOnfido-BHHsIklN.js.map} +1 -1
  120. package/lib/{StepIDCheckLoopRegula-C5lpCjCi.js → StepIDCheckLoopRegula-D5LYuadY.js} +5 -5
  121. package/lib/{StepIDCheckLoopRegula-C5lpCjCi.js.map → StepIDCheckLoopRegula-D5LYuadY.js.map} +1 -1
  122. package/lib/{StepInactiveMilitaryPersonalInfoComponent-C18af8iU.js → StepInactiveMilitaryPersonalInfoComponent-DYpumpb8.js} +66 -66
  123. package/lib/{StepInactiveMilitaryPersonalInfoComponent-C18af8iU.js.map → StepInactiveMilitaryPersonalInfoComponent-DYpumpb8.js.map} +1 -1
  124. package/lib/{VerificationApiUtils-Dlb7zd1m.js → VerificationApiUtils-DlK8JX1J.js} +5 -5
  125. package/lib/{VerificationApiUtils-Dlb7zd1m.js.map → VerificationApiUtils-DlK8JX1J.js.map} +1 -1
  126. package/lib/ar-DgWnOHb0.js +4 -4
  127. package/lib/bg-BOoVh0N7.js +4 -4
  128. package/lib/bn-IN-DfQpdb68.js +4 -4
  129. package/lib/cs-B9lN4RVR.js +4 -4
  130. package/lib/da-BaOy33h_.js +4 -4
  131. package/lib/de-uUHs3YXy.js +4 -4
  132. package/lib/el-xIXJ9sqU.js +4 -4
  133. package/lib/en-GB-8EI1uDkp.js +4 -4
  134. package/lib/es-B7SMjWOB.js +4 -4
  135. package/lib/es-ES-DZwHzn0T.js +4 -4
  136. package/lib/{es6-BO1tywJY.js → es6-hLz0cQTn.js} +4676 -4646
  137. package/lib/es6-hLz0cQTn.js.map +1 -0
  138. package/lib/fi-DdpuBVsY.js +4 -4
  139. package/lib/fr-CA-CWSDRram.js +4 -4
  140. package/lib/fr-Crh-QCJ-.js +4 -4
  141. package/lib/ga-2XNN2X9n.js +4 -4
  142. package/lib/hi-IN-CXpzvJ5p.js +4 -4
  143. package/lib/hr-BWFHQt1b.js +4 -4
  144. package/lib/hu-BQsQ1_1B.js +4 -4
  145. package/lib/id-D1BredfW.js +4 -4
  146. package/lib/{index-BYAPjTOH.js → index-5ScADjEj.js} +5 -5
  147. package/lib/{index-BYAPjTOH.js.map → index-5ScADjEj.js.map} +1 -1
  148. package/lib/{index-B5W6f4nd.js → index-7VxR6WI5.js} +7 -7
  149. package/lib/{index-B5W6f4nd.js.map → index-7VxR6WI5.js.map} +1 -1
  150. package/lib/{index-DF92N4MM.js → index-7YIcTRAA.js} +42 -35
  151. package/lib/index-7YIcTRAA.js.map +1 -0
  152. package/lib/{index-CESRp3l3.js → index-7mbMbgFf.js} +21 -21
  153. package/lib/{index-CESRp3l3.js.map → index-7mbMbgFf.js.map} +1 -1
  154. package/lib/{index-DlhZ54gh.js → index-BEPTMNaN.js} +6 -6
  155. package/lib/{index-DlhZ54gh.js.map → index-BEPTMNaN.js.map} +1 -1
  156. package/lib/{index-B0O99H0S.js → index-Bc7dn4TB.js} +6 -6
  157. package/lib/{index-B0O99H0S.js.map → index-Bc7dn4TB.js.map} +1 -1
  158. package/lib/index-BhyyemZX.js +11 -0
  159. package/lib/index-BhyyemZX.js.map +1 -0
  160. package/lib/index-BiQnlagr.js +11 -0
  161. package/lib/index-BiQnlagr.js.map +1 -0
  162. package/lib/{index-DvLIUyhD.js → index-BsStY8bb.js} +6 -6
  163. package/lib/{index-DvLIUyhD.js.map → index-BsStY8bb.js.map} +1 -1
  164. package/lib/{index-CC8LGjaS.js → index-BtvKRZe_.js} +9 -9
  165. package/lib/{index-CC8LGjaS.js.map → index-BtvKRZe_.js.map} +1 -1
  166. package/lib/{index-DZQ-n_80.js → index-CB38EB7B.js} +5 -5
  167. package/lib/{index-DZQ-n_80.js.map → index-CB38EB7B.js.map} +1 -1
  168. package/lib/{index-n6KkaqX4.js → index-CVvT6Abk.js} +5 -5
  169. package/lib/{index-n6KkaqX4.js.map → index-CVvT6Abk.js.map} +1 -1
  170. package/lib/{index-CLtqi7bV.js → index-Cgn5YwQZ.js} +6 -6
  171. package/lib/{index-CLtqi7bV.js.map → index-Cgn5YwQZ.js.map} +1 -1
  172. package/lib/{index-V1Y5S8wm.js → index-CgwSBIkx.js} +6 -6
  173. package/lib/{index-V1Y5S8wm.js.map → index-CgwSBIkx.js.map} +1 -1
  174. package/lib/{index-Bc1PgaGG.js → index-CyKubSWn.js} +10 -10
  175. package/lib/{index-Bc1PgaGG.js.map → index-CyKubSWn.js.map} +1 -1
  176. package/lib/index-D69zvhj4.js +11 -0
  177. package/lib/index-D69zvhj4.js.map +1 -0
  178. package/lib/index-DAOA4i1S.js +11 -0
  179. package/lib/index-DAOA4i1S.js.map +1 -0
  180. package/lib/index-DIkWpujR.js +4 -4
  181. package/lib/{index-ChMrlPLY.js → index-D_RRY_-e.js} +5 -5
  182. package/lib/{index-ChMrlPLY.js.map → index-D_RRY_-e.js.map} +1 -1
  183. package/lib/{index-Dm4CGJqD.js → index-Dj5ofyXV.js} +15 -15
  184. package/lib/{index-Dm4CGJqD.js.map → index-Dj5ofyXV.js.map} +1 -1
  185. package/lib/{index-C0sNIRbr.js → index-DmmCZGjv.js} +5 -5
  186. package/lib/{index-C0sNIRbr.js.map → index-DmmCZGjv.js.map} +1 -1
  187. package/lib/{index-BDWr3YMG.js → index-IJ1qzoc2.js} +11 -11
  188. package/lib/{index-BDWr3YMG.js.map → index-IJ1qzoc2.js.map} +1 -1
  189. package/lib/{index-82zVOhEL.js → index-LLgqwu1f.js} +5 -5
  190. package/lib/{index-82zVOhEL.js.map → index-LLgqwu1f.js.map} +1 -1
  191. package/lib/{index-DSnW0lkG.js → index-gT7kxzOV.js} +572 -555
  192. package/lib/{index-DSnW0lkG.js.map → index-gT7kxzOV.js.map} +1 -1
  193. package/lib/is-BQ1w_dZd.js +4 -4
  194. package/lib/it-DWcg5lrp.js +4 -4
  195. package/lib/iw-CH8pA0K5.js +4 -4
  196. package/lib/ja-DTB4oZtr.js +4 -4
  197. package/lib/ko-YjkGeAf9.js +4 -4
  198. package/lib/lo-BUmUlWoZ.js +4 -4
  199. package/lib/lt-DyDf6oJm.js +4 -4
  200. package/lib/ms-CIV35HiR.js +4 -4
  201. package/lib/nl-BE-qnndQXN-.js +4 -4
  202. package/lib/nl-BEcCaCBh.js +4 -4
  203. package/lib/no-6tZgKN0w.js +4 -4
  204. package/lib/pl-CfngpFII.js +4 -4
  205. package/lib/pt-BR-BkmnC8r-.js +4 -4
  206. package/lib/pt-D3Gz8aCi.js +4 -4
  207. package/lib/ro-SIuDm7Nt.js +4 -4
  208. package/lib/ru-DrinNLb3.js +4 -4
  209. package/lib/sk-DK0CgugP.js +4 -4
  210. package/lib/sl-BSnDNZ_p.js +4 -4
  211. package/lib/sr-t_C4aOh0.js +4 -4
  212. package/lib/sv-hjxeMgEO.js +4 -4
  213. package/lib/sw-Bx_fcZ4c.js +4 -4
  214. package/lib/th-kkF4cO_F.js +4 -4
  215. package/lib/tr-Dra2pQ5h.js +4 -4
  216. package/lib/uk-UEKtnnPj.js +4 -4
  217. package/lib/ur-COGBRjXF.js +4 -4
  218. package/lib/{useCollectFieldsEndpoint-GLAiT40e.js → useCollectFieldsEndpoint-DuVXD5XO.js} +6 -6
  219. package/lib/{useCollectFieldsEndpoint-GLAiT40e.js.map → useCollectFieldsEndpoint-DuVXD5XO.js.map} +1 -1
  220. package/lib/{useEmailFirstExperiment-C1VQ7MPZ.js → useEmailFirstExperiment-D2glplyp.js} +14 -14
  221. package/lib/{useEmailFirstExperiment-C1VQ7MPZ.js.map → useEmailFirstExperiment-D2glplyp.js.map} +1 -1
  222. package/lib/vi-CAhGkrs3.js +4 -4
  223. package/lib/zh-CobVQtU0.js +4 -4
  224. package/lib/zh-HK-BuYPE4ck.js +4 -4
  225. package/lib/zu-LijCPCBd.js +4 -4
  226. package/package.json +1 -1
  227. package/sheerid-install.css +4 -4
  228. package/sheerid-install.js +5 -5
  229. package/sheerid.css +5 -5
  230. package/sheerid.js +5892 -5856
  231. package/sheerid.js.map +1 -1
  232. package/src/components/FetchOrganizationsComponent.d.ts +2 -1
  233. package/src/lib/GoogleAnalytics/ga.d.ts +13 -0
  234. package/src/lib/types/types.d.ts +4 -2
  235. package/types-reference.zip +0 -0
  236. package/chunk/index-DR8uqKnQ.js.map +0 -1
  237. package/chunk/index-dt1aUu5L.js.map +0 -1
  238. package/lib/StepCollectMilitaryStatusComponent-BkLy11_p.js +0 -11
  239. package/lib/es6-BO1tywJY.js.map +0 -1
  240. package/lib/index-BcsbrgBm.js +0 -11
  241. package/lib/index-BcsbrgBm.js.map +0 -1
  242. package/lib/index-ByNYdlHp.js +0 -11
  243. package/lib/index-ByNYdlHp.js.map +0 -1
  244. package/lib/index-Cy30ZpkV.js +0 -11
  245. package/lib/index-Cy30ZpkV.js.map +0 -1
  246. package/lib/index-DF92N4MM.js.map +0 -1
  247. package/lib/index-rRYZ6OIK.js +0 -11
  248. package/lib/index-rRYZ6OIK.js.map +0 -1
@@ -4,24 +4,24 @@
4
4
  * This file is not intended for use in other contexts and there are no guarantees about its behavior outside of MySheerID.
5
5
  */
6
6
  /**
7
- * VERSION: 2.141.0-alpha.5
8
- * BUILD_TIMESTAMP: 1761081856280
9
- * BUILD_DATE: Tue Oct 21 2025 21:24:16 GMT+0000 (Coordinated Universal Time)
10
- * BUILD_COMMIT: 5a2335778cddd4b2f7ad5d5330e26517e91f83d5
7
+ * VERSION: 2.143.0-alpha.0
8
+ * BUILD_TIMESTAMP: 1761172073600
9
+ * BUILD_DATE: Wed Oct 22 2025 22:27:53 GMT+0000 (Coordinated Universal Time)
10
+ * BUILD_COMMIT: fda5a0c829e048ad725ead16b45f8c05b094edf5
11
11
  */
12
- import { n as Ee, aS as Be, aT as K, aU as q, aV as gt, t as f, R as xt, aW as g, j as t, aX as n, aJ as u, b as h, i as bt, ag as be, aq as yt, aF as It, aY as Et, d as vt, aZ as ze, L as Ut, A as jt, a_ as Dt, a$ as _t, K as At, b0 as wt, b1 as Rt, b2 as Ft, m as Nt, l as Oe, V as ye, b3 as Ct, b4 as Tt, b5 as Ot, b6 as St } from "../_mysheerid-preview.js";
13
- const Lt = (e, a, o) => Ee(e, (r) => {
12
+ import { n as Ue, aS as Be, aT as ee, aU as te, aV as bt, t as f, R as yt, aW as g, j as t, aX as n, aJ as u, b as h, i as It, ag as Ie, aq as Et, aF as vt, aY as Ut, d as jt, aZ as Ve, L as Dt, A as _t, a_ as At, a$ as Rt, K as wt, b0 as Ft, b1 as Nt, b2 as Ct, m as Ot, l as Te, V as Ee, am as We, al as Ge, b3 as Tt, b4 as St, b5 as Lt, b6 as Mt } from "../_mysheerid-preview.js";
13
+ const kt = (e, a, o) => Ue(e, (r) => {
14
14
  Object.keys(e).filter((s) => !!e[s] && s.includes("file")).map((s) => e[s]).concat(a, Array(Be).fill(void 0)).splice(0, 3).forEach((s, d) => r[`file${d + 1}`] = s), o ? r.erroredFileNames = o : r.erroredFileNames = void 0;
15
- }), Mt = (e, a) => {
15
+ }), Pt = (e, a) => {
16
16
  if (![1, 2, 3].includes(a))
17
17
  throw new Error(
18
18
  `Expected either 1, 2 or 3 for argument "fileNumber", but received ${a}`
19
19
  );
20
- return Ee(e, (o) => {
20
+ return Ue(e, (o) => {
21
21
  Object.keys(e).filter((r) => r.includes("file") && !r.includes(a.toString())).map((r) => e[r]).concat(Array(Be).fill(void 0)).splice(0, 3).forEach((r, s) => o[`file${s + 1}`] = r);
22
22
  });
23
23
  };
24
- var kt = /* @__PURE__ */ new Map([
24
+ var Bt = /* @__PURE__ */ new Map([
25
25
  // https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types/Common_types
26
26
  ["aac", "audio/aac"],
27
27
  ["abw", "application/x-abiword"],
@@ -103,8 +103,8 @@ var kt = /* @__PURE__ */ new Map([
103
103
  ["mov", "video/quicktime"],
104
104
  ["msg", "application/vnd.ms-outlook"]
105
105
  ]);
106
- function ne(e, a) {
107
- var o = Pt(e);
106
+ function ce(e, a) {
107
+ var o = Yt(e);
108
108
  if (typeof o.path != "string") {
109
109
  var r = e.webkitRelativePath;
110
110
  Object.defineProperty(o, "path", {
@@ -116,10 +116,10 @@ function ne(e, a) {
116
116
  }
117
117
  return o;
118
118
  }
119
- function Pt(e) {
119
+ function Yt(e) {
120
120
  var a = e.name, o = a && a.lastIndexOf(".") !== -1;
121
121
  if (o && !e.type) {
122
- var r = a.split(".").pop().toLowerCase(), s = kt.get(r);
122
+ var r = a.split(".").pop().toLowerCase(), s = Bt.get(r);
123
123
  s && Object.defineProperty(e, "type", {
124
124
  value: s,
125
125
  writable: !1,
@@ -129,39 +129,39 @@ function Pt(e) {
129
129
  }
130
130
  return e;
131
131
  }
132
- var Bt = [
132
+ var Ht = [
133
133
  // Thumbnail cache files for macOS and Windows
134
134
  ".DS_Store",
135
135
  "Thumbs.db"
136
136
  // Windows
137
137
  ];
138
- function Yt(e) {
139
- return K(this, void 0, void 0, function() {
140
- return q(this, function(a) {
141
- return ve(e) && Ht(e) ? [2, Gt(e.dataTransfer, e.type)] : zt(e) ? [2, Vt(e)] : Array.isArray(e) && e.every(function(o) {
138
+ function zt(e) {
139
+ return ee(this, void 0, void 0, function() {
140
+ return te(this, function(a) {
141
+ return je(e) && Vt(e) ? [2, Kt(e.dataTransfer, e.type)] : Wt(e) ? [2, Gt(e)] : Array.isArray(e) && e.every(function(o) {
142
142
  return "getFile" in o && typeof o.getFile == "function";
143
- }) ? [2, Wt(e)] : [2, []];
143
+ }) ? [2, $t(e)] : [2, []];
144
144
  });
145
145
  });
146
146
  }
147
- function Ht(e) {
148
- return ve(e.dataTransfer);
147
+ function Vt(e) {
148
+ return je(e.dataTransfer);
149
149
  }
150
- function zt(e) {
151
- return ve(e) && ve(e.target);
150
+ function Wt(e) {
151
+ return je(e) && je(e.target);
152
152
  }
153
- function ve(e) {
153
+ function je(e) {
154
154
  return typeof e == "object" && e !== null;
155
155
  }
156
- function Vt(e) {
156
+ function Gt(e) {
157
157
  return Le(e.target.files).map(function(a) {
158
- return ne(a);
158
+ return ce(a);
159
159
  });
160
160
  }
161
- function Wt(e) {
162
- return K(this, void 0, void 0, function() {
161
+ function $t(e) {
162
+ return ee(this, void 0, void 0, function() {
163
163
  var a;
164
- return q(this, function(o) {
164
+ return te(this, function(o) {
165
165
  switch (o.label) {
166
166
  case 0:
167
167
  return [4, Promise.all(e.map(function(r) {
@@ -169,34 +169,34 @@ function Wt(e) {
169
169
  }))];
170
170
  case 1:
171
171
  return a = o.sent(), [2, a.map(function(r) {
172
- return ne(r);
172
+ return ce(r);
173
173
  })];
174
174
  }
175
175
  });
176
176
  });
177
177
  }
178
- function Gt(e, a) {
179
- return K(this, void 0, void 0, function() {
178
+ function Kt(e, a) {
179
+ return ee(this, void 0, void 0, function() {
180
180
  var o, r;
181
- return q(this, function(s) {
181
+ return te(this, function(s) {
182
182
  switch (s.label) {
183
183
  case 0:
184
184
  return e === null ? [2, []] : e.items ? (o = Le(e.items).filter(function(d) {
185
185
  return d.kind === "file";
186
- }), a !== "drop" ? [2, o] : [4, Promise.all(o.map($t))]) : [3, 2];
186
+ }), a !== "drop" ? [2, o] : [4, Promise.all(o.map(qt))]) : [3, 2];
187
187
  case 1:
188
- return r = s.sent(), [2, Ve(rt(r))];
188
+ return r = s.sent(), [2, $e(it(r))];
189
189
  case 2:
190
- return [2, Ve(Le(e.files).map(function(d) {
191
- return ne(d);
190
+ return [2, $e(Le(e.files).map(function(d) {
191
+ return ce(d);
192
192
  }))];
193
193
  }
194
194
  });
195
195
  });
196
196
  }
197
- function Ve(e) {
197
+ function $e(e) {
198
198
  return e.filter(function(a) {
199
- return Bt.indexOf(a.name) === -1;
199
+ return Ht.indexOf(a.name) === -1;
200
200
  });
201
201
  }
202
202
  function Le(e) {
@@ -208,55 +208,55 @@ function Le(e) {
208
208
  }
209
209
  return a;
210
210
  }
211
- function $t(e) {
211
+ function qt(e) {
212
212
  if (typeof e.webkitGetAsEntry != "function")
213
- return We(e);
213
+ return Ke(e);
214
214
  var a = e.webkitGetAsEntry();
215
- return a && a.isDirectory ? nt(a) : We(e);
215
+ return a && a.isDirectory ? lt(a) : Ke(e);
216
216
  }
217
- function rt(e) {
217
+ function it(e) {
218
218
  return e.reduce(function(a, o) {
219
- return gt(a, Array.isArray(o) ? rt(o) : [o]);
219
+ return bt(a, Array.isArray(o) ? it(o) : [o]);
220
220
  }, []);
221
221
  }
222
- function We(e) {
222
+ function Ke(e) {
223
223
  var a = e.getAsFile();
224
224
  if (!a)
225
225
  return Promise.reject(e + " is not a File");
226
- var o = ne(a);
226
+ var o = ce(a);
227
227
  return Promise.resolve(o);
228
228
  }
229
- function Kt(e) {
230
- return K(this, void 0, void 0, function() {
231
- return q(this, function(a) {
232
- return [2, e.isDirectory ? nt(e) : qt(e)];
229
+ function Zt(e) {
230
+ return ee(this, void 0, void 0, function() {
231
+ return te(this, function(a) {
232
+ return [2, e.isDirectory ? lt(e) : Qt(e)];
233
233
  });
234
234
  });
235
235
  }
236
- function nt(e) {
236
+ function lt(e) {
237
237
  var a = e.createReader();
238
238
  return new Promise(function(o, r) {
239
239
  var s = [];
240
240
  function d() {
241
241
  var m = this;
242
242
  a.readEntries(function(c) {
243
- return K(m, void 0, void 0, function() {
244
- var v, x, w;
245
- return q(this, function(D) {
246
- switch (D.label) {
243
+ return ee(m, void 0, void 0, function() {
244
+ var U, w, C;
245
+ return te(this, function(j) {
246
+ switch (j.label) {
247
247
  case 0:
248
248
  if (c.length) return [3, 5];
249
- D.label = 1;
249
+ j.label = 1;
250
250
  case 1:
251
- return D.trys.push([1, 3, , 4]), [4, Promise.all(s)];
251
+ return j.trys.push([1, 3, , 4]), [4, Promise.all(s)];
252
252
  case 2:
253
- return v = D.sent(), o(v), [3, 4];
253
+ return U = j.sent(), o(U), [3, 4];
254
254
  case 3:
255
- return x = D.sent(), r(x), [3, 4];
255
+ return w = j.sent(), r(w), [3, 4];
256
256
  case 4:
257
257
  return [3, 6];
258
258
  case 5:
259
- w = Promise.all(c.map(Kt)), s.push(w), d(), D.label = 6;
259
+ C = Promise.all(c.map(Zt)), s.push(C), d(), j.label = 6;
260
260
  case 6:
261
261
  return [
262
262
  2
@@ -272,12 +272,12 @@ function nt(e) {
272
272
  d();
273
273
  });
274
274
  }
275
- function qt(e) {
276
- return K(this, void 0, void 0, function() {
277
- return q(this, function(a) {
275
+ function Qt(e) {
276
+ return ee(this, void 0, void 0, function() {
277
+ return te(this, function(a) {
278
278
  return [2, new Promise(function(o, r) {
279
279
  e.file(function(s) {
280
- var d = ne(s, e.fullPath);
280
+ var d = ce(s, e.fullPath);
281
281
  o(d);
282
282
  }, function(s) {
283
283
  r(s);
@@ -286,7 +286,7 @@ function qt(e) {
286
286
  });
287
287
  });
288
288
  }
289
- var Zt = function(e, a) {
289
+ var Xt = function(e, a) {
290
290
  if (e && a) {
291
291
  var o = Array.isArray(a) ? a : a.split(",");
292
292
  if (o.length === 0)
@@ -299,7 +299,7 @@ var Zt = function(e, a) {
299
299
  }
300
300
  return !0;
301
301
  };
302
- function Ge(e, a) {
302
+ function qe(e, a) {
303
303
  var o = Object.keys(e);
304
304
  if (Object.getOwnPropertySymbols) {
305
305
  var r = Object.getOwnPropertySymbols(e);
@@ -309,50 +309,50 @@ function Ge(e, a) {
309
309
  }
310
310
  return o;
311
311
  }
312
- function $e(e) {
312
+ function Ze(e) {
313
313
  for (var a = 1; a < arguments.length; a++) {
314
314
  var o = arguments[a] != null ? arguments[a] : {};
315
- a % 2 ? Ge(Object(o), !0).forEach(function(r) {
316
- st(e, r, o[r]);
317
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(o)) : Ge(Object(o)).forEach(function(r) {
315
+ a % 2 ? qe(Object(o), !0).forEach(function(r) {
316
+ dt(e, r, o[r]);
317
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(o)) : qe(Object(o)).forEach(function(r) {
318
318
  Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(o, r));
319
319
  });
320
320
  }
321
321
  return e;
322
322
  }
323
- function st(e, a, o) {
323
+ function dt(e, a, o) {
324
324
  return a in e ? Object.defineProperty(e, a, { value: o, enumerable: !0, configurable: !0, writable: !0 }) : e[a] = o, e;
325
325
  }
326
- function Ke(e, a) {
327
- return ea(e) || Jt(e, a) || Xt(e, a) || Qt();
326
+ function Qe(e, a) {
327
+ return aa(e) || ta(e, a) || ea(e, a) || Jt();
328
328
  }
329
- function Qt() {
329
+ function Jt() {
330
330
  throw new TypeError(`Invalid attempt to destructure non-iterable instance.
331
331
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
332
332
  }
333
- function Xt(e, a) {
333
+ function ea(e, a) {
334
334
  if (e) {
335
- if (typeof e == "string") return qe(e, a);
335
+ if (typeof e == "string") return Xe(e, a);
336
336
  var o = Object.prototype.toString.call(e).slice(8, -1);
337
337
  if (o === "Object" && e.constructor && (o = e.constructor.name), o === "Map" || o === "Set") return Array.from(e);
338
- if (o === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)) return qe(e, a);
338
+ if (o === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)) return Xe(e, a);
339
339
  }
340
340
  }
341
- function qe(e, a) {
341
+ function Xe(e, a) {
342
342
  (a == null || a > e.length) && (a = e.length);
343
343
  for (var o = 0, r = new Array(a); o < a; o++)
344
344
  r[o] = e[o];
345
345
  return r;
346
346
  }
347
- function Jt(e, a) {
347
+ function ta(e, a) {
348
348
  var o = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
349
349
  if (o != null) {
350
350
  var r = [], s = !0, d = !1, m, c;
351
351
  try {
352
352
  for (o = o.call(e); !(s = (m = o.next()).done) && (r.push(m.value), !(a && r.length === a)); s = !0)
353
353
  ;
354
- } catch (v) {
355
- d = !0, c = v;
354
+ } catch (U) {
355
+ d = !0, c = U;
356
356
  } finally {
357
357
  try {
358
358
  !s && o.return != null && o.return();
@@ -363,123 +363,123 @@ function Jt(e, a) {
363
363
  return r;
364
364
  }
365
365
  }
366
- function ea(e) {
366
+ function aa(e) {
367
367
  if (Array.isArray(e)) return e;
368
368
  }
369
- var ta = "file-invalid-type", aa = "file-too-large", oa = "file-too-small", ra = "too-many-files", na = function(a) {
369
+ var oa = "file-invalid-type", ra = "file-too-large", na = "file-too-small", sa = "too-many-files", ia = function(a) {
370
370
  a = Array.isArray(a) && a.length === 1 ? a[0] : a;
371
371
  var o = Array.isArray(a) ? "one of ".concat(a.join(", ")) : a;
372
372
  return {
373
- code: ta,
373
+ code: oa,
374
374
  message: "File type must be ".concat(o)
375
375
  };
376
- }, Ze = function(a) {
376
+ }, Je = function(a) {
377
377
  return {
378
- code: aa,
378
+ code: ra,
379
379
  message: "File is larger than ".concat(a, " ").concat(a === 1 ? "byte" : "bytes")
380
380
  };
381
- }, Qe = function(a) {
381
+ }, et = function(a) {
382
382
  return {
383
- code: oa,
383
+ code: na,
384
384
  message: "File is smaller than ".concat(a, " ").concat(a === 1 ? "byte" : "bytes")
385
385
  };
386
- }, sa = {
387
- code: ra,
386
+ }, la = {
387
+ code: sa,
388
388
  message: "Too many files"
389
389
  };
390
- function it(e, a) {
391
- var o = e.type === "application/x-moz-file" || Zt(e, a);
392
- return [o, o ? null : na(a)];
390
+ function ct(e, a) {
391
+ var o = e.type === "application/x-moz-file" || Xt(e, a);
392
+ return [o, o ? null : ia(a)];
393
393
  }
394
- function lt(e, a, o) {
395
- if (oe(e.size))
396
- if (oe(a) && oe(o)) {
397
- if (e.size > o) return [!1, Ze(o)];
398
- if (e.size < a) return [!1, Qe(a)];
394
+ function pt(e, a, o) {
395
+ if (le(e.size))
396
+ if (le(a) && le(o)) {
397
+ if (e.size > o) return [!1, Je(o)];
398
+ if (e.size < a) return [!1, et(a)];
399
399
  } else {
400
- if (oe(a) && e.size < a) return [!1, Qe(a)];
401
- if (oe(o) && e.size > o) return [!1, Ze(o)];
400
+ if (le(a) && e.size < a) return [!1, et(a)];
401
+ if (le(o) && e.size > o) return [!1, Je(o)];
402
402
  }
403
403
  return [!0, null];
404
404
  }
405
- function oe(e) {
405
+ function le(e) {
406
406
  return e != null;
407
407
  }
408
- function ia(e) {
408
+ function da(e) {
409
409
  var a = e.files, o = e.accept, r = e.minSize, s = e.maxSize, d = e.multiple, m = e.maxFiles;
410
410
  return !d && a.length > 1 || d && m >= 1 && a.length > m ? !1 : a.every(function(c) {
411
- var v = it(c, o), x = Ke(v, 1), w = x[0], D = lt(c, r, s), C = Ke(D, 1), L = C[0];
412
- return w && L;
411
+ var U = ct(c, o), w = Qe(U, 1), C = w[0], j = pt(c, r, s), b = Qe(j, 1), O = b[0];
412
+ return C && O;
413
413
  });
414
414
  }
415
- function Ue(e) {
415
+ function De(e) {
416
416
  return typeof e.isPropagationStopped == "function" ? e.isPropagationStopped() : typeof e.cancelBubble < "u" ? e.cancelBubble : !1;
417
417
  }
418
- function Ie(e) {
418
+ function ve(e) {
419
419
  return e.dataTransfer ? Array.prototype.some.call(e.dataTransfer.types, function(a) {
420
420
  return a === "Files" || a === "application/x-moz-file";
421
421
  }) : !!e.target && !!e.target.files;
422
422
  }
423
- function Xe(e) {
423
+ function tt(e) {
424
424
  e.preventDefault();
425
425
  }
426
- function la(e) {
426
+ function ca(e) {
427
427
  return e.indexOf("MSIE") !== -1 || e.indexOf("Trident/") !== -1;
428
428
  }
429
- function da(e) {
429
+ function pa(e) {
430
430
  return e.indexOf("Edge/") !== -1;
431
431
  }
432
- function ca() {
432
+ function ua() {
433
433
  var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : window.navigator.userAgent;
434
- return la(e) || da(e);
434
+ return ca(e) || pa(e);
435
435
  }
436
- function O() {
436
+ function L() {
437
437
  for (var e = arguments.length, a = new Array(e), o = 0; o < e; o++)
438
438
  a[o] = arguments[o];
439
439
  return function(r) {
440
440
  for (var s = arguments.length, d = new Array(s > 1 ? s - 1 : 0), m = 1; m < s; m++)
441
441
  d[m - 1] = arguments[m];
442
442
  return a.some(function(c) {
443
- return !Ue(r) && c && c.apply(void 0, [r].concat(d)), Ue(r);
443
+ return !De(r) && c && c.apply(void 0, [r].concat(d)), De(r);
444
444
  });
445
445
  };
446
446
  }
447
- function Je() {
447
+ function at() {
448
448
  return "showOpenFilePicker" in window;
449
449
  }
450
- function pa(e) {
450
+ function fa(e) {
451
451
  return e = typeof e == "string" ? e.split(",") : e, [{
452
452
  description: "everything",
453
453
  // TODO: Need to handle filtering more elegantly than this!
454
454
  accept: Array.isArray(e) ? e.filter(function(a) {
455
455
  return a === "audio/*" || a === "video/*" || a === "image/*" || a === "text/*" || /\w+\/[-+.\w]+/g.test(a);
456
456
  }).reduce(function(a, o) {
457
- return $e($e({}, a), {}, st({}, o, []));
457
+ return Ze(Ze({}, a), {}, dt({}, o, []));
458
458
  }, {}) : {}
459
459
  }];
460
460
  }
461
- var ua = ["children"], fa = ["open"], ma = ["refKey", "role", "onKeyDown", "onFocus", "onBlur", "onClick", "onDragEnter", "onDragOver", "onDragLeave", "onDrop"], ha = ["refKey", "onChange", "onClick"];
462
- function ga(e) {
463
- return ya(e) || ba(e) || dt(e) || xa();
461
+ var ma = ["children"], ha = ["open"], ga = ["refKey", "role", "onKeyDown", "onFocus", "onBlur", "onClick", "onDragEnter", "onDragOver", "onDragLeave", "onDrop"], xa = ["refKey", "onChange", "onClick"];
462
+ function ba(e) {
463
+ return Ea(e) || Ia(e) || ut(e) || ya();
464
464
  }
465
- function xa() {
465
+ function ya() {
466
466
  throw new TypeError(`Invalid attempt to spread non-iterable instance.
467
467
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
468
468
  }
469
- function ba(e) {
469
+ function Ia(e) {
470
470
  if (typeof Symbol < "u" && e[Symbol.iterator] != null || e["@@iterator"] != null) return Array.from(e);
471
471
  }
472
- function ya(e) {
472
+ function Ea(e) {
473
473
  if (Array.isArray(e)) return Me(e);
474
474
  }
475
475
  function Se(e, a) {
476
- return va(e) || Ea(e, a) || dt(e, a) || Ia();
476
+ return ja(e) || Ua(e, a) || ut(e, a) || va();
477
477
  }
478
- function Ia() {
478
+ function va() {
479
479
  throw new TypeError(`Invalid attempt to destructure non-iterable instance.
480
480
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
481
481
  }
482
- function dt(e, a) {
482
+ function ut(e, a) {
483
483
  if (e) {
484
484
  if (typeof e == "string") return Me(e, a);
485
485
  var o = Object.prototype.toString.call(e).slice(8, -1);
@@ -493,15 +493,15 @@ function Me(e, a) {
493
493
  r[o] = e[o];
494
494
  return r;
495
495
  }
496
- function Ea(e, a) {
496
+ function Ua(e, a) {
497
497
  var o = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
498
498
  if (o != null) {
499
499
  var r = [], s = !0, d = !1, m, c;
500
500
  try {
501
501
  for (o = o.call(e); !(s = (m = o.next()).done) && (r.push(m.value), !(a && r.length === a)); s = !0)
502
502
  ;
503
- } catch (v) {
504
- d = !0, c = v;
503
+ } catch (U) {
504
+ d = !0, c = U;
505
505
  } finally {
506
506
  try {
507
507
  !s && o.return != null && o.return();
@@ -512,10 +512,10 @@ function Ea(e, a) {
512
512
  return r;
513
513
  }
514
514
  }
515
- function va(e) {
515
+ function ja(e) {
516
516
  if (Array.isArray(e)) return e;
517
517
  }
518
- function et(e, a) {
518
+ function ot(e, a) {
519
519
  var o = Object.keys(e);
520
520
  if (Object.getOwnPropertySymbols) {
521
521
  var r = Object.getOwnPropertySymbols(e);
@@ -525,12 +525,12 @@ function et(e, a) {
525
525
  }
526
526
  return o;
527
527
  }
528
- function b(e) {
528
+ function x(e) {
529
529
  for (var a = 1; a < arguments.length; a++) {
530
530
  var o = arguments[a] != null ? arguments[a] : {};
531
- a % 2 ? et(Object(o), !0).forEach(function(r) {
531
+ a % 2 ? ot(Object(o), !0).forEach(function(r) {
532
532
  ke(e, r, o[r]);
533
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(o)) : et(Object(o)).forEach(function(r) {
533
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(o)) : ot(Object(o)).forEach(function(r) {
534
534
  Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(o, r));
535
535
  });
536
536
  }
@@ -539,9 +539,9 @@ function b(e) {
539
539
  function ke(e, a, o) {
540
540
  return a in e ? Object.defineProperty(e, a, { value: o, enumerable: !0, configurable: !0, writable: !0 }) : e[a] = o, e;
541
541
  }
542
- function je(e, a) {
542
+ function _e(e, a) {
543
543
  if (e == null) return {};
544
- var o = Ua(e, a), r, s;
544
+ var o = Da(e, a), r, s;
545
545
  if (Object.getOwnPropertySymbols) {
546
546
  var d = Object.getOwnPropertySymbols(e);
547
547
  for (s = 0; s < d.length; s++)
@@ -549,27 +549,27 @@ function je(e, a) {
549
549
  }
550
550
  return o;
551
551
  }
552
- function Ua(e, a) {
552
+ function Da(e, a) {
553
553
  if (e == null) return {};
554
554
  var o = {}, r = Object.keys(e), s, d;
555
555
  for (d = 0; d < r.length; d++)
556
556
  s = r[d], !(a.indexOf(s) >= 0) && (o[s] = e[s]);
557
557
  return o;
558
558
  }
559
- var se = /* @__PURE__ */ f.forwardRef(function(e, a) {
560
- var o = e.children, r = je(e, ua), s = ja(r), d = s.open, m = je(s, fa);
559
+ var pe = /* @__PURE__ */ f.forwardRef(function(e, a) {
560
+ var o = e.children, r = _e(e, ma), s = _a(r), d = s.open, m = _e(s, ha);
561
561
  return f.useImperativeHandle(a, function() {
562
562
  return {
563
563
  open: d
564
564
  };
565
- }, [d]), /* @__PURE__ */ xt.createElement(f.Fragment, null, o(b(b({}, m), {}, {
565
+ }, [d]), /* @__PURE__ */ yt.createElement(f.Fragment, null, o(x(x({}, m), {}, {
566
566
  open: d
567
567
  })));
568
568
  });
569
- se.displayName = "Dropzone";
570
- var ct = {
569
+ pe.displayName = "Dropzone";
570
+ var ft = {
571
571
  disabled: !1,
572
- getFilesFromEvent: Yt,
572
+ getFilesFromEvent: zt,
573
573
  maxSize: 1 / 0,
574
574
  minSize: 0,
575
575
  multiple: !0,
@@ -582,8 +582,8 @@ var ct = {
582
582
  validator: null,
583
583
  useFsAccessApi: !1
584
584
  };
585
- se.defaultProps = ct;
586
- se.propTypes = {
585
+ pe.defaultProps = ft;
586
+ pe.propTypes = {
587
587
  /**
588
588
  * Render function that exposes the dropzone state and prop getter fns
589
589
  *
@@ -753,230 +753,230 @@ var Pe = {
753
753
  acceptedFiles: [],
754
754
  fileRejections: []
755
755
  };
756
- function ja() {
757
- var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, a = b(b({}, ct), e), o = a.accept, r = a.disabled, s = a.getFilesFromEvent, d = a.maxSize, m = a.minSize, c = a.multiple, v = a.maxFiles, x = a.onDragEnter, w = a.onDragLeave, D = a.onDragOver, C = a.onDrop, L = a.onDropAccepted, S = a.onDropRejected, H = a.onFileDialogCancel, B = a.onFileDialogOpen, Y = a.useFsAccessApi, Z = a.preventDropOnDocument, ie = a.noClick, I = a.noKeyboard, le = a.noDrag, U = a.noDragEventsBubbling, de = a.validator, T = f.useMemo(function() {
758
- return typeof B == "function" ? B : tt;
759
- }, [B]), M = f.useMemo(function() {
760
- return typeof H == "function" ? H : tt;
761
- }, [H]), j = f.useRef(null), R = f.useRef(null), ce = f.useReducer(Da, Pe), De = Se(ce, 2), z = De[0], _ = De[1], _e = z.isFocused, Q = z.isFileDialogActive, X = z.draggedFiles, pe = function() {
762
- Q && setTimeout(function() {
763
- if (R.current) {
764
- var p = R.current.files;
765
- p.length || (_({
756
+ function _a() {
757
+ var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, a = x(x({}, ft), e), o = a.accept, r = a.disabled, s = a.getFilesFromEvent, d = a.maxSize, m = a.minSize, c = a.multiple, U = a.maxFiles, w = a.onDragEnter, C = a.onDragLeave, j = a.onDragOver, b = a.onDrop, O = a.onDropAccepted, ae = a.onDropRejected, B = a.onFileDialogCancel, z = a.onFileDialogOpen, T = a.useFsAccessApi, V = a.preventDropOnDocument, W = a.noClick, G = a.noKeyboard, ue = a.noDrag, M = a.noDragEventsBubbling, y = a.validator, oe = f.useMemo(function() {
758
+ return typeof z == "function" ? z : rt;
759
+ }, [z]), R = f.useMemo(function() {
760
+ return typeof B == "function" ? B : rt;
761
+ }, [B]), A = f.useRef(null), I = f.useRef(null), re = f.useReducer(Aa, Pe), ne = Se(re, 2), $ = ne[0], D = ne[1], Ye = $.isFocused, fe = $.isFileDialogActive, me = $.draggedFiles, he = function() {
762
+ fe && setTimeout(function() {
763
+ if (I.current) {
764
+ var p = I.current.files;
765
+ p.length || (D({
766
766
  type: "closeDialog"
767
- }), M());
767
+ }), R());
768
768
  }
769
769
  }, 300);
770
770
  };
771
771
  f.useEffect(function() {
772
- return Y && Je() ? function() {
773
- } : (window.addEventListener("focus", pe, !1), function() {
774
- window.removeEventListener("focus", pe, !1);
772
+ return T && at() ? function() {
773
+ } : (window.addEventListener("focus", he, !1), function() {
774
+ window.removeEventListener("focus", he, !1);
775
775
  });
776
- }, [R, Q, M, Y]);
777
- var k = f.useRef([]), V = function(p) {
778
- j.current && j.current.contains(p.target) || (p.preventDefault(), k.current = []);
776
+ }, [I, fe, R, T]);
777
+ var k = f.useRef([]), se = function(p) {
778
+ A.current && A.current.contains(p.target) || (p.preventDefault(), k.current = []);
779
779
  };
780
780
  f.useEffect(function() {
781
- return Z && (document.addEventListener("dragover", Xe, !1), document.addEventListener("drop", V, !1)), function() {
782
- Z && (document.removeEventListener("dragover", Xe), document.removeEventListener("drop", V));
781
+ return V && (document.addEventListener("dragover", tt, !1), document.addEventListener("drop", se, !1)), function() {
782
+ V && (document.removeEventListener("dragover", tt), document.removeEventListener("drop", se));
783
783
  };
784
- }, [j, Z]);
785
- var ue = f.useCallback(function(l) {
786
- l.preventDefault(), l.persist(), ge(l), k.current = [].concat(ga(k.current), [l.target]), Ie(l) && Promise.resolve(s(l)).then(function(p) {
787
- Ue(l) && !U || (_({
784
+ }, [A, V]);
785
+ var ge = f.useCallback(function(i) {
786
+ i.preventDefault(), i.persist(), F(i), k.current = [].concat(ba(k.current), [i.target]), ve(i) && Promise.resolve(s(i)).then(function(p) {
787
+ De(i) && !M || (D({
788
788
  draggedFiles: p,
789
789
  isDragActive: !0,
790
790
  type: "setDraggedFiles"
791
- }), x && x(l));
791
+ }), w && w(i));
792
792
  });
793
- }, [s, x, U]), fe = f.useCallback(function(l) {
794
- l.preventDefault(), l.persist(), ge(l);
795
- var p = Ie(l);
796
- if (p && l.dataTransfer)
793
+ }, [s, w, M]), xe = f.useCallback(function(i) {
794
+ i.preventDefault(), i.persist(), F(i);
795
+ var p = ve(i);
796
+ if (p && i.dataTransfer)
797
797
  try {
798
- l.dataTransfer.dropEffect = "copy";
798
+ i.dataTransfer.dropEffect = "copy";
799
799
  } catch {
800
800
  }
801
- return p && D && D(l), !1;
802
- }, [D, U]), me = f.useCallback(function(l) {
803
- l.preventDefault(), l.persist(), ge(l);
804
- var p = k.current.filter(function(A) {
805
- return j.current && j.current.contains(A);
806
- }), E = p.indexOf(l.target);
807
- E !== -1 && p.splice(E, 1), k.current = p, !(p.length > 0) && (_({
801
+ return p && j && j(i), !1;
802
+ }, [j, M]), K = f.useCallback(function(i) {
803
+ i.preventDefault(), i.persist(), F(i);
804
+ var p = k.current.filter(function(_) {
805
+ return A.current && A.current.contains(_);
806
+ }), v = p.indexOf(i.target);
807
+ v !== -1 && p.splice(v, 1), k.current = p, !(p.length > 0) && (D({
808
808
  isDragActive: !1,
809
809
  type: "setDraggedFiles",
810
810
  draggedFiles: []
811
- }), Ie(l) && w && w(l));
812
- }, [j, w, U]), P = f.useCallback(function(l, p) {
813
- var E = [], A = [];
814
- l.forEach(function(N) {
815
- var ae = it(N, o), $ = Se(ae, 2), Ae = $[0], we = $[1], Re = lt(N, m, d), xe = Se(Re, 2), Fe = xe[0], Ne = xe[1], Ce = de ? de(N) : null;
811
+ }), ve(i) && C && C(i));
812
+ }, [A, C, M]), q = f.useCallback(function(i, p) {
813
+ var v = [], _ = [];
814
+ i.forEach(function(N) {
815
+ var ie = ct(N, o), J = Se(ie, 2), Ae = J[0], Re = J[1], we = pt(N, m, d), ye = Se(we, 2), Fe = ye[0], Ne = ye[1], Ce = y ? y(N) : null;
816
816
  if (Ae && Fe && !Ce)
817
- E.push(N);
817
+ v.push(N);
818
818
  else {
819
- var Te = [we, Ne];
820
- Ce && (Te = Te.concat(Ce)), A.push({
819
+ var Oe = [Re, Ne];
820
+ Ce && (Oe = Oe.concat(Ce)), _.push({
821
821
  file: N,
822
- errors: Te.filter(function(ht) {
823
- return ht;
822
+ errors: Oe.filter(function(xt) {
823
+ return xt;
824
824
  })
825
825
  });
826
826
  }
827
- }), (!c && E.length > 1 || c && v >= 1 && E.length > v) && (E.forEach(function(N) {
828
- A.push({
827
+ }), (!c && v.length > 1 || c && U >= 1 && v.length > U) && (v.forEach(function(N) {
828
+ _.push({
829
829
  file: N,
830
- errors: [sa]
830
+ errors: [la]
831
831
  });
832
- }), E.splice(0)), _({
833
- acceptedFiles: E,
834
- fileRejections: A,
832
+ }), v.splice(0)), D({
833
+ acceptedFiles: v,
834
+ fileRejections: _,
835
835
  type: "setFiles"
836
- }), C && C(E, A, p), A.length > 0 && S && S(A, p), E.length > 0 && L && L(E, p);
837
- }, [_, c, o, m, d, v, C, L, S, de]), i = f.useCallback(function(l) {
838
- l.preventDefault(), l.persist(), ge(l), k.current = [], Ie(l) && Promise.resolve(s(l)).then(function(p) {
839
- Ue(l) && !U || P(p, l);
840
- }), _({
836
+ }), b && b(v, _, p), _.length > 0 && ae && ae(_, p), v.length > 0 && O && O(v, p);
837
+ }, [D, c, o, m, d, U, b, O, ae, y]), Z = f.useCallback(function(i) {
838
+ i.preventDefault(), i.persist(), F(i), k.current = [], ve(i) && Promise.resolve(s(i)).then(function(p) {
839
+ De(i) && !M || q(p, i);
840
+ }), D({
841
841
  type: "reset"
842
842
  });
843
- }, [s, P, U]), y = f.useCallback(function() {
844
- if (Y && Je()) {
845
- _({
843
+ }, [s, q, M]), Y = f.useCallback(function() {
844
+ if (T && at()) {
845
+ D({
846
846
  type: "openDialog"
847
- }), T();
848
- var l = {
847
+ }), oe();
848
+ var i = {
849
849
  multiple: c,
850
- types: pa(o)
850
+ types: fa(o)
851
851
  };
852
- window.showOpenFilePicker(l).then(function(p) {
852
+ window.showOpenFilePicker(i).then(function(p) {
853
853
  return s(p);
854
854
  }).then(function(p) {
855
- return P(p, null);
855
+ return q(p, null);
856
856
  }).catch(function(p) {
857
- return M(p);
857
+ return R(p);
858
858
  }).finally(function() {
859
- return _({
859
+ return D({
860
860
  type: "closeDialog"
861
861
  });
862
862
  });
863
863
  return;
864
864
  }
865
- R.current && (_({
865
+ I.current && (D({
866
866
  type: "openDialog"
867
- }), T(), R.current.value = null, R.current.click());
868
- }, [_, T, M, Y, P, o, c]), J = f.useCallback(function(l) {
869
- !j.current || !j.current.isEqualNode(l.target) || (l.keyCode === 32 || l.keyCode === 13) && (l.preventDefault(), y());
870
- }, [j, R, y]), W = f.useCallback(function() {
871
- _({
867
+ }), oe(), I.current.value = null, I.current.click());
868
+ }, [D, oe, R, T, q, o, c]), Q = f.useCallback(function(i) {
869
+ !A.current || !A.current.isEqualNode(i.target) || (i.keyCode === 32 || i.keyCode === 13) && (i.preventDefault(), Y());
870
+ }, [A, I, Y]), l = f.useCallback(function() {
871
+ D({
872
872
  type: "focus"
873
873
  });
874
- }, []), ee = f.useCallback(function() {
875
- _({
874
+ }, []), E = f.useCallback(function() {
875
+ D({
876
876
  type: "blur"
877
877
  });
878
- }, []), te = f.useCallback(function() {
879
- ie || (ca() ? setTimeout(y, 0) : y());
880
- }, [R, ie, y]), F = function(p) {
878
+ }, []), P = f.useCallback(function() {
879
+ W || (ua() ? setTimeout(Y, 0) : Y());
880
+ }, [I, W, Y]), S = function(p) {
881
881
  return r ? null : p;
882
- }, G = function(p) {
883
- return I ? null : F(p);
884
- }, he = function(p) {
885
- return le ? null : F(p);
886
- }, ge = function(p) {
887
- U && p.stopPropagation();
888
- }, pt = f.useMemo(function() {
882
+ }, X = function(p) {
883
+ return G ? null : S(p);
884
+ }, H = function(p) {
885
+ return ue ? null : S(p);
886
+ }, F = function(p) {
887
+ M && p.stopPropagation();
888
+ }, be = f.useMemo(function() {
889
889
  return function() {
890
- var l = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, p = l.refKey, E = p === void 0 ? "ref" : p, A = l.role, N = l.onKeyDown, ae = l.onFocus, $ = l.onBlur, Ae = l.onClick, we = l.onDragEnter, Re = l.onDragOver, xe = l.onDragLeave, Fe = l.onDrop, Ne = je(l, ma);
891
- return b(b(ke({
892
- onKeyDown: G(O(N, J)),
893
- onFocus: G(O(ae, W)),
894
- onBlur: G(O($, ee)),
895
- onClick: F(O(Ae, te)),
896
- onDragEnter: he(O(we, ue)),
897
- onDragOver: he(O(Re, fe)),
898
- onDragLeave: he(O(xe, me)),
899
- onDrop: he(O(Fe, i)),
900
- role: typeof A == "string" && A !== "" ? A : "button"
901
- }, E, j), !r && !I ? {
890
+ var i = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, p = i.refKey, v = p === void 0 ? "ref" : p, _ = i.role, N = i.onKeyDown, ie = i.onFocus, J = i.onBlur, Ae = i.onClick, Re = i.onDragEnter, we = i.onDragOver, ye = i.onDragLeave, Fe = i.onDrop, Ne = _e(i, ga);
891
+ return x(x(ke({
892
+ onKeyDown: X(L(N, Q)),
893
+ onFocus: X(L(ie, l)),
894
+ onBlur: X(L(J, E)),
895
+ onClick: S(L(Ae, P)),
896
+ onDragEnter: H(L(Re, ge)),
897
+ onDragOver: H(L(we, xe)),
898
+ onDragLeave: H(L(ye, K)),
899
+ onDrop: H(L(Fe, Z)),
900
+ role: typeof _ == "string" && _ !== "" ? _ : "button"
901
+ }, v, A), !r && !G ? {
902
902
  tabIndex: 0
903
903
  } : {}), Ne);
904
904
  };
905
- }, [j, J, W, ee, te, ue, fe, me, i, I, le, r]), ut = f.useCallback(function(l) {
906
- l.stopPropagation();
907
- }, []), ft = f.useMemo(function() {
905
+ }, [A, Q, l, E, P, ge, xe, K, Z, G, ue, r]), mt = f.useCallback(function(i) {
906
+ i.stopPropagation();
907
+ }, []), ht = f.useMemo(function() {
908
908
  return function() {
909
- var l = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, p = l.refKey, E = p === void 0 ? "ref" : p, A = l.onChange, N = l.onClick, ae = je(l, ha), $ = ke({
909
+ var i = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, p = i.refKey, v = p === void 0 ? "ref" : p, _ = i.onChange, N = i.onClick, ie = _e(i, xa), J = ke({
910
910
  accept: o,
911
911
  multiple: c,
912
912
  type: "file",
913
913
  style: {
914
914
  display: "none"
915
915
  },
916
- onChange: F(O(A, i)),
917
- onClick: F(O(N, ut)),
916
+ onChange: S(L(_, Z)),
917
+ onClick: S(L(N, mt)),
918
918
  autoComplete: "off",
919
919
  tabIndex: -1
920
- }, E, R);
921
- return b(b({}, $), ae);
920
+ }, v, I);
921
+ return x(x({}, J), ie);
922
922
  };
923
- }, [R, o, c, i, r]), Ye = X.length, He = Ye > 0 && ia({
924
- files: X,
923
+ }, [I, o, c, Z, r]), He = me.length, ze = He > 0 && da({
924
+ files: me,
925
925
  accept: o,
926
926
  minSize: m,
927
927
  maxSize: d,
928
928
  multiple: c,
929
- maxFiles: v
930
- }), mt = Ye > 0 && !He;
931
- return b(b({}, z), {}, {
932
- isDragAccept: He,
933
- isDragReject: mt,
934
- isFocused: _e && !r,
935
- getRootProps: pt,
936
- getInputProps: ft,
937
- rootRef: j,
938
- inputRef: R,
939
- open: F(y)
929
+ maxFiles: U
930
+ }), gt = He > 0 && !ze;
931
+ return x(x({}, $), {}, {
932
+ isDragAccept: ze,
933
+ isDragReject: gt,
934
+ isFocused: Ye && !r,
935
+ getRootProps: be,
936
+ getInputProps: ht,
937
+ rootRef: A,
938
+ inputRef: I,
939
+ open: S(Y)
940
940
  });
941
941
  }
942
- function Da(e, a) {
942
+ function Aa(e, a) {
943
943
  switch (a.type) {
944
944
  case "focus":
945
- return b(b({}, e), {}, {
945
+ return x(x({}, e), {}, {
946
946
  isFocused: !0
947
947
  });
948
948
  case "blur":
949
- return b(b({}, e), {}, {
949
+ return x(x({}, e), {}, {
950
950
  isFocused: !1
951
951
  });
952
952
  case "openDialog":
953
- return b(b({}, Pe), {}, {
953
+ return x(x({}, Pe), {}, {
954
954
  isFileDialogActive: !0
955
955
  });
956
956
  case "closeDialog":
957
- return b(b({}, e), {}, {
957
+ return x(x({}, e), {}, {
958
958
  isFileDialogActive: !1
959
959
  });
960
960
  case "setDraggedFiles":
961
961
  var o = a.isDragActive, r = a.draggedFiles;
962
- return b(b({}, e), {}, {
962
+ return x(x({}, e), {}, {
963
963
  draggedFiles: r,
964
964
  isDragActive: o
965
965
  });
966
966
  case "setFiles":
967
- return b(b({}, e), {}, {
967
+ return x(x({}, e), {}, {
968
968
  acceptedFiles: a.acceptedFiles,
969
969
  fileRejections: a.fileRejections
970
970
  });
971
971
  case "reset":
972
- return b({}, Pe);
972
+ return x({}, Pe);
973
973
  default:
974
974
  return e;
975
975
  }
976
976
  }
977
- function tt() {
977
+ function rt() {
978
978
  }
979
- function re({
979
+ function de({
980
980
  title: e,
981
981
  children: a,
982
982
  id: o,
@@ -1013,7 +1013,7 @@ function re({
1013
1013
  }
1014
1014
  );
1015
1015
  }
1016
- const _a = {
1016
+ const Ra = {
1017
1017
  [u.STUDENT]: [
1018
1018
  "step.docUpload.acceptableUploads.student.idCard",
1019
1019
  "step.docUpload.acceptableUploads.student.classSchedule",
@@ -1069,7 +1069,7 @@ const _a = {
1069
1069
  "step.docUpload.acceptableUploads.lowIncome.programApprovalScreenshot",
1070
1070
  "step.docUpload.acceptableUploads.lowIncome.programBankStatement"
1071
1071
  ]
1072
- }, Aa = {
1072
+ }, wa = {
1073
1073
  [n.ACTIVE_DUTY]: [
1074
1074
  "step.docUpload.acceptableUploads.military.active.leaveEarningStatement",
1075
1075
  "step.docUpload.acceptableUploads.military.active.uniformedServicesId"
@@ -1138,7 +1138,7 @@ const _a = {
1138
1138
  [n.NUTRITION_PROFESSIONAL]: [
1139
1139
  "step.docUpload.acceptableUploads.licensedProfessional.license"
1140
1140
  ]
1141
- }, wa = {
1141
+ }, Fa = {
1142
1142
  [u.STUDENT]: [
1143
1143
  "step.docUpload.uploadInfo.fullName",
1144
1144
  "step.docUpload.uploadInfo.institutionName",
@@ -1196,7 +1196,7 @@ const _a = {
1196
1196
  "step.docUpload.uploadInfo.fullName",
1197
1197
  "step.docUpload.uploadInfo.lowIncome.validDate"
1198
1198
  ]
1199
- }, Ra = {
1199
+ }, Na = {
1200
1200
  [n.ACTIVE_DUTY]: ["step.docUpload.uploadInfo.military.activeDuty.status"],
1201
1201
  [n.VETERAN]: ["step.docUpload.uploadInfo.military.veteran.status"],
1202
1202
  [n.RESERVIST]: ["step.docUpload.uploadInfo.military.reservist.status"],
@@ -1225,30 +1225,30 @@ const _a = {
1225
1225
  [n.ARCHITECT]: [],
1226
1226
  [n.GENERAL_CONTRACTOR]: [],
1227
1227
  [n.NUTRITION_PROFESSIONAL]: []
1228
- }, Fa = {
1228
+ }, Ca = {
1229
1229
  // MILITARY_FAMILY is overridden to not show branch of service.
1230
1230
  [n.MILITARY_FAMILY]: [
1231
1231
  "step.docUpload.uploadInfo.fullName",
1232
1232
  "step.docUpload.uploadInfo.military.militaryFamily.status"
1233
1233
  ]
1234
1234
  };
1235
- function Na(e, a) {
1235
+ function Oa(e, a) {
1236
1236
  return [
1237
1237
  .../* @__PURE__ */ new Set([
1238
- ...Aa[a] || [],
1239
- ..._a[e] || []
1238
+ ...wa[a] || [],
1239
+ ...Ra[e] || []
1240
1240
  ])
1241
1241
  ];
1242
1242
  }
1243
- function Ca(e, a) {
1244
- return Fa[a] || [
1243
+ function Ta(e, a) {
1244
+ return Ca[a] || [
1245
1245
  .../* @__PURE__ */ new Set([
1246
- ...Ra[a] || [],
1247
- ...wa[e] || []
1246
+ ...Na[a] || [],
1247
+ ...Fa[e] || []
1248
1248
  ])
1249
1249
  ];
1250
1250
  }
1251
- const Ta = ({
1251
+ const Sa = ({
1252
1252
  options: e,
1253
1253
  selected: a,
1254
1254
  onChange: o,
@@ -1293,11 +1293,11 @@ const Ta = ({
1293
1293
  ] })
1294
1294
  )) })
1295
1295
  ] });
1296
- }, Oa = ({ children: e }) => /* @__PURE__ */ t.jsxs("div", { className: "sid-named-divider", children: [
1296
+ }, La = ({ children: e }) => /* @__PURE__ */ t.jsxs("div", { className: "sid-named-divider", children: [
1297
1297
  /* @__PURE__ */ t.jsx("hr", { className: "sid-named-divider__rule" }),
1298
1298
  /* @__PURE__ */ t.jsx("p", { className: "sid-named-divider__text", children: e })
1299
1299
  ] });
1300
- function Sa({
1300
+ function Ma({
1301
1301
  title: e,
1302
1302
  titleId: a,
1303
1303
  ...o
@@ -1320,7 +1320,7 @@ function Sa({
1320
1320
  d: "M12 9v6m3-3H9m12 0a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"
1321
1321
  }));
1322
1322
  }
1323
- const La = /* @__PURE__ */ f.forwardRef(Sa), Ma = (e) => /* @__PURE__ */ t.jsxs(
1323
+ const ka = /* @__PURE__ */ f.forwardRef(Ma), Pa = (e) => /* @__PURE__ */ t.jsxs(
1324
1324
  "svg",
1325
1325
  {
1326
1326
  xmlns: "http://www.w3.org/2000/svg",
@@ -1408,7 +1408,7 @@ const La = /* @__PURE__ */ f.forwardRef(Sa), Ma = (e) => /* @__PURE__ */ t.jsxs(
1408
1408
  )
1409
1409
  ]
1410
1410
  }
1411
- ), at = (e) => /* @__PURE__ */ t.jsxs(
1411
+ ), nt = (e) => /* @__PURE__ */ t.jsxs(
1412
1412
  "svg",
1413
1413
  {
1414
1414
  xmlns: "http://www.w3.org/2000/svg",
@@ -1488,7 +1488,7 @@ const La = /* @__PURE__ */ f.forwardRef(Sa), Ma = (e) => /* @__PURE__ */ t.jsxs(
1488
1488
  )
1489
1489
  ]
1490
1490
  }
1491
- ), ka = (e) => /* @__PURE__ */ t.jsxs(
1491
+ ), Ba = (e) => /* @__PURE__ */ t.jsxs(
1492
1492
  "svg",
1493
1493
  {
1494
1494
  xmlns: "http://www.w3.org/2000/svg",
@@ -1553,7 +1553,7 @@ const La = /* @__PURE__ */ f.forwardRef(Sa), Ma = (e) => /* @__PURE__ */ t.jsxs(
1553
1553
  )
1554
1554
  ]
1555
1555
  }
1556
- ), Pa = (e) => /* @__PURE__ */ t.jsxs(
1556
+ ), Ya = (e) => /* @__PURE__ */ t.jsxs(
1557
1557
  "svg",
1558
1558
  {
1559
1559
  xmlns: "http://www.w3.org/2000/svg",
@@ -1617,13 +1617,13 @@ const La = /* @__PURE__ */ f.forwardRef(Sa), Ma = (e) => /* @__PURE__ */ t.jsxs(
1617
1617
  )
1618
1618
  ]
1619
1619
  }
1620
- ), Ba = ["ID_CARD", "SCHEDULE"];
1621
- function Ya(e, a) {
1622
- return e === "ID_CARD" && a === "large" ? Ma : e === "ID_CARD" && a === "small" ? at : e === "SCHEDULE" && a === "large" ? ka : e === "SCHEDULE" && a === "small" ? Pa : at;
1620
+ ), Ha = ["ID_CARD", "SCHEDULE"];
1621
+ function za(e, a) {
1622
+ return e === "ID_CARD" && a === "large" ? Pa : e === "ID_CARD" && a === "small" ? nt : e === "SCHEDULE" && a === "large" ? Ba : e === "SCHEDULE" && a === "small" ? Ya : nt;
1623
1623
  }
1624
- const Ha = ({ onFileDrop: e, type: a, style: o = "small" }) => {
1625
- const r = Ya(a, o);
1626
- return /* @__PURE__ */ t.jsx(se, { onDrop: (s) => e(s, a), children: ({ getRootProps: s, getInputProps: d }) => /* @__PURE__ */ t.jsxs("section", { ...s(), className: "sid-document-type-attachment-wrap", children: [
1624
+ const Va = ({ onFileDrop: e, type: a, style: o = "small" }) => {
1625
+ const r = za(a, o);
1626
+ return /* @__PURE__ */ t.jsx(pe, { onDrop: (s) => e(s, a), children: ({ getRootProps: s, getInputProps: d }) => /* @__PURE__ */ t.jsxs("section", { ...s(), className: "sid-document-type-attachment-wrap", children: [
1627
1627
  /* @__PURE__ */ t.jsx("input", { ...d() }),
1628
1628
  o === "small" ? /* @__PURE__ */ t.jsxs("button", { className: "sid-document-type-attachment", type: "button", children: [
1629
1629
  /* @__PURE__ */ t.jsx(r, { className: "sid-document-type-attachment__icon-small" }),
@@ -1631,7 +1631,7 @@ const Ha = ({ onFileDrop: e, type: a, style: o = "small" }) => {
1631
1631
  a === "ID_CARD" && /* @__PURE__ */ t.jsx(t.Fragment, { children: "Dated School ID card" }),
1632
1632
  a === "SCHEDULE" && /* @__PURE__ */ t.jsx(t.Fragment, { children: "Class Schedule" })
1633
1633
  ] }),
1634
- /* @__PURE__ */ t.jsx(La, { className: "sid-document-type-attachment__plus" })
1634
+ /* @__PURE__ */ t.jsx(ka, { className: "sid-document-type-attachment__plus" })
1635
1635
  ] }) : /* @__PURE__ */ t.jsxs(
1636
1636
  "button",
1637
1637
  {
@@ -1647,7 +1647,7 @@ const Ha = ({ onFileDrop: e, type: a, style: o = "small" }) => {
1647
1647
  }
1648
1648
  )
1649
1649
  ] }) });
1650
- }, za = {
1650
+ }, Wa = {
1651
1651
  [u.STUDENT]: [
1652
1652
  "step.docUpload.uploadInfo.fullName",
1653
1653
  "step.docUpload.uploadInfo.student.school",
@@ -1710,7 +1710,7 @@ const Ha = ({ onFileDrop: e, type: a, style: o = "small" }) => {
1710
1710
  "step.docUpload.uploadInfo.recentMover.address",
1711
1711
  "step.docUpload.uploadInfo.recentMover.validDate"
1712
1712
  ]
1713
- }, Va = {
1713
+ }, Ga = {
1714
1714
  [n.ACTIVE_DUTY]: [],
1715
1715
  [n.VETERAN]: [],
1716
1716
  [n.RESERVIST]: [],
@@ -1739,19 +1739,19 @@ const Ha = ({ onFileDrop: e, type: a, style: o = "small" }) => {
1739
1739
  [n.ARCHITECT]: [],
1740
1740
  [n.GENERAL_CONTRACTOR]: [],
1741
1741
  [n.NUTRITION_PROFESSIONAL]: []
1742
- }, Wa = {
1742
+ }, $a = {
1743
1743
  // MILITARY_FAMILY is overridden to not show branch of service.
1744
1744
  [n.MILITARY_FAMILY]: [
1745
1745
  "step.docUpload.uploadInfo.military.uploadInstructionsDependent"
1746
1746
  ]
1747
1747
  };
1748
- function Ga(e, a) {
1749
- return Wa[a] || [
1750
- ...Va[a] || [],
1751
- ...za[e] || []
1748
+ function Ka(e, a) {
1749
+ return $a[a] || [
1750
+ ...Ga[a] || [],
1751
+ ...Wa[e] || []
1752
1752
  ];
1753
1753
  }
1754
- const ot = ({ errorId: e, erroredFileNames: a, fieldValidationErrors: o }) => e ? /* @__PURE__ */ t.jsxs("div", { className: "sid-field-error sid-field-error-redesign__doc-upload", children: [
1754
+ const st = ({ errorId: e, erroredFileNames: a, fieldValidationErrors: o }) => e ? /* @__PURE__ */ t.jsxs("div", { className: "sid-field-error sid-field-error-redesign__doc-upload", children: [
1755
1755
  /* @__PURE__ */ t.jsx(
1756
1756
  h,
1757
1757
  {
@@ -1760,99 +1760,116 @@ const ot = ({ errorId: e, erroredFileNames: a, fieldValidationErrors: o }) => e
1760
1760
  }
1761
1761
  ),
1762
1762
  a ? a.map((r) => /* @__PURE__ */ t.jsx("div", { className: "sid-field-error-redesign__doc-upload__span", children: r }, `error-${r}`)) : null
1763
- ] }) : null, $a = ({ verificationService: e, intl: a }) => {
1764
- const [o, r] = f.useState(!1), s = e.verificationResponse, { rejectionReasons: d, segment: m, subSegment: c } = s, { programTheme: v } = e, x = e.viewModel, { fieldValidationErrors: w } = e, { overrideEnabled: D } = e.programTheme, C = be("doc-upload-redesign-use-legacy-message-keys"), L = be("doc-upload-considerations"), S = (C ? Ga : Ca)(
1763
+ ] }) : null, qa = ({ verificationService: e, intl: a }) => {
1764
+ const [o, r] = f.useState(!1), s = e.verificationResponse, { rejectionReasons: d, segment: m, subSegment: c, verificationId: U, locale: w } = s, { programTheme: C, programId: j } = e, b = e.viewModel, { fieldValidationErrors: O } = e, { overrideEnabled: ae } = e.programTheme, B = Ie("doc-upload-redesign-use-legacy-message-keys"), z = Ie("doc-upload-considerations"), T = (B ? Ka : Ta)(
1765
1765
  m,
1766
1766
  c
1767
- ), H = e.verificationResponse.country === "US", B = (i) => ({
1768
- name: i.name,
1769
- url: i.type.includes("image") ? URL.createObjectURL(i) : ""
1770
- }), [Y, Z] = f.useState({}), { userDidConvert: ie } = yt({ segment: m }), I = [], le = be("doc-upload-may24"), U = s.segment === "student" && s.locale === "en-US" ? le : "default", T = be("docUpload-assertion-checklist") === "checklist", [M, j] = f.useState([]), [R, ce] = f.useState(!1);
1771
- It(Et) && I.push({
1767
+ ), V = e.verificationResponse.country === "US", W = (l) => ({
1768
+ name: l.name,
1769
+ url: l.type.includes("image") ? URL.createObjectURL(l) : ""
1770
+ }), [G, ue] = f.useState({}), { userDidConvert: M } = Et({ segment: m }), y = [], oe = Ie("doc-upload-may24"), R = s.segment === "student" && s.locale === "en-US" ? oe : "default", I = Ie("docUpload-assertion-checklist") === "checklist", [re, ne] = f.useState([]), [$, D] = f.useState(!1);
1771
+ vt(Ut) && y.push({
1772
1772
  name: "myFile.png",
1773
1773
  url: ""
1774
1774
  });
1775
- const z = a.formatMessage({
1775
+ const fe = a.formatMessage({
1776
1776
  id: "step.docUpload.addFile",
1777
1777
  defaultMessage: "Add documents"
1778
1778
  });
1779
- x.file1 && x.file1.name && I.push(B(x.file1)), x.file2 && x.file2.name && I.push(B(x.file2)), x.file3 && x.file3.name && I.push(B(x.file3));
1780
- const _ = I.map((i) => Y[i.name]), _e = (i, y) => {
1781
- r(!1), e.updateViewModel(Lt(x, i, y));
1782
- }, Q = (i) => {
1783
- const y = i + 1;
1784
- r(!1), j([]), ce(!1), e.updateViewModel(Mt(x, y));
1785
- }, X = w.docUpload || vt(() => e.verificationResponse.errorIds[0], void 0), pe = (i, y) => {
1786
- const J = [], W = [], ee = [];
1787
- for (const F of i) {
1788
- const G = St(
1789
- ye.docUpload,
1779
+ b.file1 && b.file1.name && y.push(W(b.file1)), b.file2 && b.file2.name && y.push(W(b.file2)), b.file3 && b.file3.name && y.push(W(b.file3));
1780
+ const me = y.map((l) => G[l.name]), he = (l, E) => {
1781
+ const P = {
1782
+ eventName: We.DOC_UPLOAD_ADD_FILES,
1783
+ params: {
1784
+ programId: j,
1785
+ locale: w,
1786
+ verificationId: U
1787
+ }
1788
+ };
1789
+ Ge(P), r(!1), e.updateViewModel(kt(b, l, E));
1790
+ }, k = (l) => {
1791
+ const E = {
1792
+ eventName: We.DOC_UPLOAD_REMOVE_FILES,
1793
+ params: {
1794
+ programId: j,
1795
+ locale: w,
1796
+ verificationId: U
1797
+ }
1798
+ };
1799
+ Ge(E);
1800
+ const P = l + 1;
1801
+ r(!1), ne([]), D(!1), e.updateViewModel(Pt(b, P));
1802
+ }, se = O.docUpload || jt(() => e.verificationResponse.errorIds[0], void 0), ge = (l, E) => {
1803
+ const P = [], S = [], X = [];
1804
+ for (const F of l) {
1805
+ const be = Mt(
1806
+ Ee.docUpload,
1790
1807
  F,
1791
1808
  e.formValidationOptions
1792
1809
  );
1793
- G === void 0 ? (y && Z({ ...Y, [F.name]: y }), J.push(F)) : (ee.push(F.name), W.push(G));
1810
+ be === void 0 ? (E && ue({ ...G, [F.name]: E }), P.push(F)) : (X.push(F.name), S.push(be));
1794
1811
  }
1795
- let te;
1796
- W && (te = Ee(w, (F) => {
1797
- F.docUpload = W[0];
1798
- })), e.updateFieldValidationErrors(te), _e(J, ee);
1799
- }, k = () => {
1800
- Oe.info("StepDocUploadComponent submitting form"), ce(!0), (T && S.every((i) => M.includes(i)) || !T) && (e.submitStep(
1801
- ye.docUpload,
1802
- x,
1812
+ let H;
1813
+ S && (H = Ue(O, (F) => {
1814
+ F.docUpload = S[0];
1815
+ })), e.updateFieldValidationErrors(H), he(P, X);
1816
+ }, xe = () => {
1817
+ Te.info("StepDocUploadComponent submitting form"), D(!0), (I && T.every((l) => re.includes(l)) || !I) && (e.submitStep(
1818
+ Ee.docUpload,
1819
+ b,
1803
1820
  e.verificationResponse
1804
- ), ie(Tt, Ot));
1805
- }, V = (i, y) => {
1806
- i.length > 0 ? pe(i, y) : i.length <= 0 && Oe.error(
1821
+ ), M(St, Lt));
1822
+ }, K = (l, E) => {
1823
+ l.length > 0 ? ge(l, E) : l.length <= 0 && Te.error(
1807
1824
  "No files were accepted or rejected. Unknown error.",
1808
- ye.docUpload
1825
+ Ee.docUpload
1809
1826
  );
1810
- }, ue = (i) => {
1811
- V(Array.from(i.target.files));
1812
- }, fe = (i) => {
1813
- const y = Ct("addFile");
1814
- (i.key === "Enter" || i.key === " ") && (i.preventDefault(), i.stopPropagation(), y.click());
1815
- }, me = async () => {
1816
- Oe.info("StepDocUploadComponent submitting form after skipping document upload");
1817
- const i = Ee(x, () => {
1827
+ }, q = (l) => {
1828
+ K(Array.from(l.target.files));
1829
+ }, Z = (l) => {
1830
+ const E = Tt("addFile");
1831
+ (l.key === "Enter" || l.key === " ") && (l.preventDefault(), l.stopPropagation(), E.click());
1832
+ }, Y = async () => {
1833
+ Te.info("StepDocUploadComponent submitting form after skipping document upload");
1834
+ const l = Ue(b, () => {
1818
1835
  });
1819
1836
  e.submitStep(
1820
- ye.cancelDocUpload,
1821
- i,
1837
+ Ee.cancelDocUpload,
1838
+ l,
1822
1839
  e.verificationResponse
1823
1840
  );
1824
- }, P = /* @__PURE__ */ t.jsx("div", { className: "sid-upload-wrap sid-l-space-top-md sid-l-space-btm-md", children: U === "doc-type-icons" ? /* @__PURE__ */ t.jsx(t.Fragment, { children: Ba.map(
1825
- (i) => !_.includes(i) && /* @__PURE__ */ t.jsx(
1826
- Ha,
1841
+ }, Q = /* @__PURE__ */ t.jsx("div", { className: "sid-upload-wrap sid-l-space-top-md sid-l-space-btm-md", children: R === "doc-type-icons" ? /* @__PURE__ */ t.jsx(t.Fragment, { children: Ha.map(
1842
+ (l) => !me.includes(l) && /* @__PURE__ */ t.jsx(
1843
+ Va,
1827
1844
  {
1828
- onFileDrop: V,
1829
- type: i,
1830
- style: i === "ID_CARD" && I.length === 0 ? "large" : "small"
1845
+ onFileDrop: K,
1846
+ type: l,
1847
+ style: l === "ID_CARD" && y.length === 0 ? "large" : "small"
1831
1848
  }
1832
1849
  )
1833
1850
  ) }) : /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
1834
1851
  /* @__PURE__ */ t.jsx(
1835
- ot,
1852
+ st,
1836
1853
  {
1837
- fieldValidationErrors: w,
1838
- errorId: X,
1839
- erroredFileNames: x.erroredFileNames
1854
+ fieldValidationErrors: O,
1855
+ errorId: se,
1856
+ erroredFileNames: b.erroredFileNames
1840
1857
  }
1841
1858
  ),
1842
- /* @__PURE__ */ t.jsx("div", { className: "sid-docdrop-wrap", children: /* @__PURE__ */ t.jsx(se, { onDrop: (i) => V(i), accept: ze.join(","), children: ({ getRootProps: i, getInputProps: y }) => /* @__PURE__ */ t.jsxs(
1859
+ /* @__PURE__ */ t.jsx("div", { className: "sid-docdrop-wrap", children: /* @__PURE__ */ t.jsx(pe, { onDrop: (l) => K(l), accept: Ve.join(","), children: ({ getRootProps: l, getInputProps: E }) => /* @__PURE__ */ t.jsxs(
1843
1860
  "div",
1844
1861
  {
1845
- ...i(),
1862
+ ...l(),
1846
1863
  className: "sid-docdrop-wrap__dropzone sid-docdrop-wrap__dropzone_height",
1847
1864
  children: [
1848
- /* @__PURE__ */ t.jsx("input", { ...y({ accept: ze.join(",") }) }),
1865
+ /* @__PURE__ */ t.jsx("input", { ...E({ accept: Ve.join(",") }) }),
1849
1866
  /* @__PURE__ */ t.jsx(
1850
1867
  "button",
1851
1868
  {
1852
1869
  tabIndex: -1,
1853
1870
  className: "sid-btn sid-btn--dark sid-doc-upload-submit-btn sid-submit__continue border-radius",
1854
1871
  type: "button",
1855
- "aria-label": z,
1872
+ "aria-label": fe,
1856
1873
  children: /* @__PURE__ */ t.jsx(
1857
1874
  h,
1858
1875
  {
@@ -1870,13 +1887,13 @@ const ot = ({ errorId: e, erroredFileNames: a, fieldValidationErrors: o }) => e
1870
1887
  "div",
1871
1888
  {
1872
1889
  id: "sid-step-doc-upload",
1873
- className: `sid-doc-upload-redesign-container sid-l-container sid-may24-variation__${U}`,
1890
+ className: `sid-doc-upload-redesign-container sid-l-container sid-may24-variation__${R}`,
1874
1891
  children: [
1875
1892
  /* @__PURE__ */ t.jsxs("div", { role: "main", children: [
1876
1893
  /* @__PURE__ */ t.jsxs("div", { className: "sid-header sid-l-space-top-md", children: [
1877
- /* @__PURE__ */ t.jsx("div", { className: "sid-doc-upload-logo-container sid-l-horz-center", children: /* @__PURE__ */ t.jsx(Ut, { verificationService: e }) }),
1878
- /* @__PURE__ */ t.jsx(jt, { align: "start", children: /* @__PURE__ */ t.jsx(h, { id: "step.docUpload.title", tagName: "h1" }) }),
1879
- /* @__PURE__ */ t.jsx(Dt, { verificationService: e }),
1894
+ /* @__PURE__ */ t.jsx("div", { className: "sid-doc-upload-logo-container sid-l-horz-center", children: /* @__PURE__ */ t.jsx(Dt, { verificationService: e }) }),
1895
+ /* @__PURE__ */ t.jsx(_t, { align: "start", children: /* @__PURE__ */ t.jsx(h, { id: "step.docUpload.title", tagName: "h1" }) }),
1896
+ /* @__PURE__ */ t.jsx(At, { verificationService: e }),
1880
1897
  d && d.length > 0 && /* @__PURE__ */ t.jsxs("div", { className: "sid-upload-rejection__wrapper", children: [
1881
1898
  /* @__PURE__ */ t.jsx("div", { className: "sid-header__subtitle-doc-upload-rejected", children: /* @__PURE__ */ t.jsx(
1882
1899
  h,
@@ -1885,13 +1902,13 @@ const ot = ({ errorId: e, erroredFileNames: a, fieldValidationErrors: o }) => e
1885
1902
  defaultMessage: "We were unable to confirm your eligibility due to:"
1886
1903
  }
1887
1904
  ) }),
1888
- /* @__PURE__ */ t.jsx("ul", { className: "sid-upload-rejection-list", children: d.map((i) => /* @__PURE__ */ t.jsx("li", { className: "sid-upload-rejection-list__li", children: /* @__PURE__ */ t.jsx(
1905
+ /* @__PURE__ */ t.jsx("ul", { className: "sid-upload-rejection-list", children: d.map((l) => /* @__PURE__ */ t.jsx("li", { className: "sid-upload-rejection-list__li", children: /* @__PURE__ */ t.jsx(
1889
1906
  h,
1890
1907
  {
1891
- id: `step.docUpload.rejectionReasons.${i}`,
1892
- defaultMessage: `${i}`
1908
+ id: `step.docUpload.rejectionReasons.${l}`,
1909
+ defaultMessage: `${l}`
1893
1910
  }
1894
- ) }, i)) }),
1911
+ ) }, l)) }),
1895
1912
  /* @__PURE__ */ t.jsx("div", { className: "sid-upload-rejection__next-step", children: /* @__PURE__ */ t.jsx(
1896
1913
  h,
1897
1914
  {
@@ -1901,26 +1918,26 @@ const ot = ({ errorId: e, erroredFileNames: a, fieldValidationErrors: o }) => e
1901
1918
  ) })
1902
1919
  ] })
1903
1920
  ] }),
1904
- U === "doc-type-icons" && /* @__PURE__ */ t.jsx("p", { children: "Documents must be dated within the current academic year OR no more than 90 days from today" }),
1905
- (T && I.length === 0 || !T) && /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
1921
+ R === "doc-type-icons" && /* @__PURE__ */ t.jsx("p", { children: "Documents must be dated within the current academic year OR no more than 90 days from today" }),
1922
+ (I && y.length === 0 || !I) && /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
1906
1923
  /* @__PURE__ */ t.jsx("h2", { className: "sid-header__subtitle sid-l-space-btm-md sid-l-space-top-md", children: /* @__PURE__ */ t.jsx(
1907
1924
  h,
1908
1925
  {
1909
- id: C ? "step.docUpload.uploadInstructions" : "step.docUpload.documentsMustInclude",
1926
+ id: B ? "step.docUpload.uploadInstructions" : "step.docUpload.documentsMustInclude",
1910
1927
  defaultMessage: "Your documents must include:"
1911
1928
  }
1912
1929
  ) }),
1913
- /* @__PURE__ */ t.jsx("ul", { className: "sid-doc-upload-requirements", children: S.map((i) => /* @__PURE__ */ t.jsx("li", { className: "sid-doc-upload-requirements__definition", children: /* @__PURE__ */ t.jsx(h, { id: i }) }, i)) })
1930
+ /* @__PURE__ */ t.jsx("ul", { className: "sid-doc-upload-requirements", children: T.map((l) => /* @__PURE__ */ t.jsx("li", { className: "sid-doc-upload-requirements__definition", children: /* @__PURE__ */ t.jsx(h, { id: l }) }, l)) })
1914
1931
  ] }),
1915
- I.length === 0 && P,
1916
- I.length > 0 ? /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
1932
+ y.length === 0 && Q,
1933
+ y.length > 0 ? /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
1917
1934
  /* @__PURE__ */ t.jsxs("div", { className: "sid-file-list sid-l-space-top-md", children: [
1918
- I.map((i, y) => /* @__PURE__ */ t.jsxs("div", { className: "sid-file-list__file", children: [
1919
- /* @__PURE__ */ t.jsx("div", { className: "sid-file-list__thumbnail-wrapper", children: i.url ? /* @__PURE__ */ t.jsx(
1935
+ y.map((l, E) => /* @__PURE__ */ t.jsxs("div", { className: "sid-file-list__file", children: [
1936
+ /* @__PURE__ */ t.jsx("div", { className: "sid-file-list__thumbnail-wrapper", children: l.url ? /* @__PURE__ */ t.jsx(
1920
1937
  "img",
1921
1938
  {
1922
1939
  className: "sid-file-list__thumbnail border-radius",
1923
- src: i.url,
1940
+ src: l.url,
1924
1941
  alt: "File thumbnail"
1925
1942
  }
1926
1943
  ) : /* @__PURE__ */ t.jsx("div", { className: "sid-file-list__no-thumbnail", children: /* @__PURE__ */ t.jsx(
@@ -1931,30 +1948,30 @@ const ot = ({ errorId: e, erroredFileNames: a, fieldValidationErrors: o }) => e
1931
1948
  }
1932
1949
  ) }) }),
1933
1950
  /* @__PURE__ */ t.jsxs("div", { className: "sid-file-list__name-wrapper", children: [
1934
- /* @__PURE__ */ t.jsx("div", { className: "sid-file-list__name", title: i.name, children: i.name }),
1951
+ /* @__PURE__ */ t.jsx("div", { className: "sid-file-list__name", title: l.name, children: l.name }),
1935
1952
  /* @__PURE__ */ t.jsx(
1936
1953
  "div",
1937
1954
  {
1938
1955
  role: "button",
1939
1956
  tabIndex: 0,
1940
- "aria-label": `Remove file ${i.name}`,
1957
+ "aria-label": `Remove file ${l.name}`,
1941
1958
  className: "sid-file-list__remove-btn",
1942
- onClick: () => Q(y),
1943
- onKeyPress: () => Q(y)
1959
+ onClick: () => k(E),
1960
+ onKeyPress: () => k(E)
1944
1961
  }
1945
1962
  )
1946
1963
  ] })
1947
- ] }, i.name)),
1948
- I.length < Be && U !== "doc-type-icons" && /* @__PURE__ */ t.jsx(t.Fragment, { children: o ? /* @__PURE__ */ t.jsx("div", { className: "sid-add-more-files", children: P }) : /* @__PURE__ */ t.jsx("div", { className: "sid-file-list__file", children: /* @__PURE__ */ t.jsx("div", { className: "sid-file-list__thumbnail-wrapper thumbnail_wrapper_width", children: /* @__PURE__ */ t.jsxs(
1964
+ ] }, l.name)),
1965
+ y.length < Be && R !== "doc-type-icons" && /* @__PURE__ */ t.jsx(t.Fragment, { children: o ? /* @__PURE__ */ t.jsx("div", { className: "sid-add-more-files", children: Q }) : /* @__PURE__ */ t.jsx("div", { className: "sid-file-list__file", children: /* @__PURE__ */ t.jsx("div", { className: "sid-file-list__thumbnail-wrapper thumbnail_wrapper_width", children: /* @__PURE__ */ t.jsxs(
1949
1966
  "label",
1950
1967
  {
1951
1968
  className: "sid-docdrop-wrap__dropzone thumbnail_wrapper",
1952
1969
  htmlFor: "sid-take-photo-input",
1953
1970
  role: "button",
1954
- onKeyUp: (i) => fe(i),
1971
+ onKeyUp: (l) => Z(l),
1955
1972
  tabIndex: 0,
1956
1973
  children: [
1957
- /* @__PURE__ */ t.jsx(_t, { className: "sid-uploadzone__icon", width: "16px" }),
1974
+ /* @__PURE__ */ t.jsx(Rt, { className: "sid-uploadzone__icon", width: "16px" }),
1958
1975
  /* @__PURE__ */ t.jsx("p", { className: "sid-docdrop-wrap__instructions thumbnail_wrapper-text", children: /* @__PURE__ */ t.jsx(
1959
1976
  h,
1960
1977
  {
@@ -1965,13 +1982,13 @@ const ot = ({ errorId: e, erroredFileNames: a, fieldValidationErrors: o }) => e
1965
1982
  /* @__PURE__ */ t.jsx(
1966
1983
  "input",
1967
1984
  {
1968
- onChange: ue,
1985
+ onChange: q,
1969
1986
  type: "file",
1970
1987
  id: "sid-take-photo-input",
1971
1988
  hidden: !0,
1972
1989
  accept: "image/jpeg,image/png,application/pdf",
1973
1990
  multiple: !0,
1974
- ref: (i) => At("addFile", i)
1991
+ ref: (l) => wt("addFile", l)
1975
1992
  }
1976
1993
  )
1977
1994
  ]
@@ -1979,31 +1996,31 @@ const ot = ({ errorId: e, erroredFileNames: a, fieldValidationErrors: o }) => e
1979
1996
  ) }) }) })
1980
1997
  ] }),
1981
1998
  /* @__PURE__ */ t.jsx(
1982
- ot,
1999
+ st,
1983
2000
  {
1984
- fieldValidationErrors: w,
1985
- errorId: X,
1986
- erroredFileNames: x.erroredFileNames
2001
+ fieldValidationErrors: O,
2002
+ errorId: se,
2003
+ erroredFileNames: b.erroredFileNames
1987
2004
  }
1988
2005
  ),
1989
- T && I.length >= 1 && /* @__PURE__ */ t.jsx(
1990
- Ta,
2006
+ I && y.length >= 1 && /* @__PURE__ */ t.jsx(
2007
+ Sa,
1991
2008
  {
1992
- options: S,
1993
- selected: M,
1994
- onChange: j,
1995
- showError: R
2009
+ options: T,
2010
+ selected: re,
2011
+ onChange: ne,
2012
+ showError: $
1996
2013
  }
1997
2014
  ),
1998
2015
  /* @__PURE__ */ t.jsx("div", { className: "sid-submit sid-doc-upload-submit sid-l-space-top-md sid-submit-doc-upload_pb", children: /* @__PURE__ */ t.jsx(
1999
2016
  "button",
2000
2017
  {
2001
2018
  id: "sid-submit-doc-upload",
2002
- onClick: k,
2019
+ onClick: xe,
2003
2020
  type: "submit",
2004
2021
  className: "sid-btn sid-btn--dark sid-doc-upload-submit-btn sid-submit__continue border-radius",
2005
- "aria-disabled": I.length <= 0 || T && !S.every((i) => M.includes(i)),
2006
- children: U === "doc-type-icons" ? /* @__PURE__ */ t.jsx(
2022
+ "aria-disabled": y.length <= 0 || I && !T.every((l) => re.includes(l)),
2023
+ children: R === "doc-type-icons" ? /* @__PURE__ */ t.jsx(
2007
2024
  h,
2008
2025
  {
2009
2026
  id: "_EXPERIMENTAL-VARIATION.step.docUpload.submitButtonLabel",
@@ -2012,29 +2029,29 @@ const ot = ({ errorId: e, erroredFileNames: a, fieldValidationErrors: o }) => e
2012
2029
  two {documents}
2013
2030
  other {documents}
2014
2031
  }`,
2015
- values: { count: I.length }
2032
+ values: { count: y.length }
2016
2033
  }
2017
2034
  ) : /* @__PURE__ */ t.jsx(
2018
2035
  h,
2019
2036
  {
2020
2037
  id: "step.docUpload.submitButtonLabel",
2021
2038
  defaultMessage: "Submit",
2022
- values: { count: I.length }
2039
+ values: { count: y.length }
2023
2040
  }
2024
2041
  )
2025
2042
  }
2026
2043
  ) })
2027
2044
  ] }) : null,
2028
- U === "doc-type-icons" ? /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
2029
- I.length > 0 && I.length < 2 && /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
2030
- /* @__PURE__ */ t.jsx(Oa, { children: "Add another document" }),
2031
- P
2045
+ R === "doc-type-icons" ? /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
2046
+ y.length > 0 && y.length < 2 && /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
2047
+ /* @__PURE__ */ t.jsx(La, { children: "Add another document" }),
2048
+ Q
2032
2049
  ] }),
2033
2050
  /* @__PURE__ */ t.jsx("h3", { children: "FAQ" }),
2034
- /* @__PURE__ */ t.jsx(re, { id: "suggestedDocs", title: "What information is needed?", children: /* @__PURE__ */ t.jsx("ul", { className: "sid-doc-upload-requirements", children: S.map((i) => /* @__PURE__ */ t.jsx("li", { className: "sid-doc-upload-requirements__definition", children: /* @__PURE__ */ t.jsx(h, { id: i }) }, i)) }) })
2051
+ /* @__PURE__ */ t.jsx(de, { id: "suggestedDocs", title: "What information is needed?", children: /* @__PURE__ */ t.jsx("ul", { className: "sid-doc-upload-requirements", children: T.map((l) => /* @__PURE__ */ t.jsx("li", { className: "sid-doc-upload-requirements__definition", children: /* @__PURE__ */ t.jsx(h, { id: l }) }, l)) }) })
2035
2052
  ] }) : /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
2036
- L === "add-doc-considerations" && H && (c === "activeDuty" || c === "reservist") && /* @__PURE__ */ t.jsx(
2037
- re,
2053
+ z === "add-doc-considerations" && V && (c === "activeDuty" || c === "reservist") && /* @__PURE__ */ t.jsx(
2054
+ de,
2038
2055
  {
2039
2056
  id: "docConsiderations",
2040
2057
  title: /* @__PURE__ */ t.jsx(
@@ -2065,7 +2082,7 @@ const ot = ({ errorId: e, erroredFileNames: a, fieldValidationErrors: o }) => e
2065
2082
  }
2066
2083
  ),
2067
2084
  /* @__PURE__ */ t.jsxs(
2068
- re,
2085
+ de,
2069
2086
  {
2070
2087
  id: "suggestedDocs",
2071
2088
  title: /* @__PURE__ */ t.jsx(
@@ -2075,17 +2092,17 @@ const ot = ({ errorId: e, erroredFileNames: a, fieldValidationErrors: o }) => e
2075
2092
  defaultMessage: "Suggested document types"
2076
2093
  }
2077
2094
  ),
2078
- defaultState: U === "checkbox-requirements" ? "closed" : "open",
2095
+ defaultState: R === "checkbox-requirements" ? "closed" : "open",
2079
2096
  children: [
2080
- C && /* @__PURE__ */ t.jsx(h, { id: "step.docUpload.acceptableUploadExamples" }),
2097
+ B && /* @__PURE__ */ t.jsx(h, { id: "step.docUpload.acceptableUploadExamples" }),
2081
2098
  /* @__PURE__ */ t.jsxs("ul", { className: "sid-acceptable-document-types", children: [
2082
- (C ? wt : Na)(
2099
+ (B ? Ft : Oa)(
2083
2100
  m,
2084
2101
  c
2085
- ).map((i) => /* @__PURE__ */ t.jsx("li", { className: "sid-acceptable-document-types__item", children: /* @__PURE__ */ t.jsx(h, { id: i }) }, i)),
2102
+ ).map((l) => /* @__PURE__ */ t.jsx("li", { className: "sid-acceptable-document-types__item", children: /* @__PURE__ */ t.jsx(h, { id: l }) }, l)),
2086
2103
  /* @__PURE__ */ t.jsx("li", { className: "sid-acceptable-document-types__item", children: /* @__PURE__ */ t.jsx(h, { id: "step.docUpload.acceptedTypes" }) })
2087
2104
  ] }),
2088
- L !== "add-doc-considerations" && H && (c === "activeDuty" || c === "reservist") && /* @__PURE__ */ t.jsx("div", { className: "sid-acceptable-document-types", children: /* @__PURE__ */ t.jsxs("p", { children: [
2105
+ z !== "add-doc-considerations" && V && (c === "activeDuty" || c === "reservist") && /* @__PURE__ */ t.jsx("div", { className: "sid-acceptable-document-types", children: /* @__PURE__ */ t.jsxs("p", { children: [
2089
2106
  /* @__PURE__ */ t.jsx("span", { className: "display-block", children: /* @__PURE__ */ t.jsx("strong", { children: /* @__PURE__ */ t.jsx(
2090
2107
  h,
2091
2108
  {
@@ -2106,7 +2123,7 @@ const ot = ({ errorId: e, erroredFileNames: a, fieldValidationErrors: o }) => e
2106
2123
  )
2107
2124
  ] }),
2108
2125
  /* @__PURE__ */ t.jsxs(
2109
- re,
2126
+ de,
2110
2127
  {
2111
2128
  id: "whatHappensNext",
2112
2129
  title: /* @__PURE__ */ t.jsx(
@@ -2138,16 +2155,16 @@ const ot = ({ errorId: e, erroredFileNames: a, fieldValidationErrors: o }) => e
2138
2155
  id: "step.docUpload.reviewTime",
2139
2156
  defaultMessage: "Expected review time is {estimatedWaitTime}.",
2140
2157
  values: {
2141
- estimatedWaitTime: Rt(s, v, a).estReviewTime
2158
+ estimatedWaitTime: Nt(s, C, a).estReviewTime
2142
2159
  }
2143
2160
  }
2144
2161
  ) }),
2145
- /* @__PURE__ */ t.jsx("p", { children: /* @__PURE__ */ t.jsx(Ft, { verificationService: e }) })
2162
+ /* @__PURE__ */ t.jsx("p", { children: /* @__PURE__ */ t.jsx(Ct, { verificationService: e }) })
2146
2163
  ]
2147
2164
  }
2148
2165
  ),
2149
2166
  /* @__PURE__ */ t.jsx(
2150
- re,
2167
+ de,
2151
2168
  {
2152
2169
  id: "canIFinishLater",
2153
2170
  title: /* @__PURE__ */ t.jsx(
@@ -2166,12 +2183,12 @@ const ot = ({ errorId: e, erroredFileNames: a, fieldValidationErrors: o }) => e
2166
2183
  ) })
2167
2184
  }
2168
2185
  ),
2169
- D && /* @__PURE__ */ t.jsx("div", { className: "sid-submit sid-override-submit sid-l-space-top-sm", children: /* @__PURE__ */ t.jsx(
2186
+ ae && /* @__PURE__ */ t.jsx("div", { className: "sid-submit sid-override-submit sid-l-space-top-sm", children: /* @__PURE__ */ t.jsx(
2170
2187
  "a",
2171
2188
  {
2172
2189
  href: "#",
2173
2190
  className: "sid-link sid-override-link",
2174
- onClick: () => me(),
2191
+ onClick: () => Y(),
2175
2192
  role: "button",
2176
2193
  children: /* @__PURE__ */ t.jsx(
2177
2194
  h,
@@ -2183,11 +2200,11 @@ const ot = ({ errorId: e, erroredFileNames: a, fieldValidationErrors: o }) => e
2183
2200
  }
2184
2201
  ) })
2185
2202
  ] }),
2186
- /* @__PURE__ */ t.jsx(Nt, { verificationService: e, showShield: !1 })
2203
+ /* @__PURE__ */ t.jsx(Ot, { verificationService: e, showShield: !1 })
2187
2204
  ]
2188
2205
  }
2189
2206
  );
2190
- }, qa = bt($a);
2207
+ }, Qa = It(qa);
2191
2208
  export {
2192
- qa as default
2209
+ Qa as default
2193
2210
  };