@sheerid/jslib-nightly 2.110.0-alpha.3 → 2.111.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 (244) hide show
  1. package/_mysheerid-preview.css +3 -3
  2. package/_mysheerid-preview.js +8 -9
  3. package/_mysheerid-preview.js.map +1 -1
  4. package/chunk/EmailLoopPending-Dtf0p85F.js +3 -3
  5. package/chunk/EmailLoopPending-Dy8mLFvV.js +3 -3
  6. package/chunk/LicensedProfessionalOrganizationComponent-BYijEfDT.js +3 -3
  7. package/chunk/LicensedProfessionalOrganizationComponent-CiYU-2dW.js +3 -3
  8. package/chunk/Onfido-AyvUk6wg.js +3 -3
  9. package/chunk/StepIDCheckLoopOnfido-CmNwFqjD.js +3 -3
  10. package/chunk/StepIDCheckLoopOnfido-DtbplNxs.js +3 -3
  11. package/chunk/StepIDCheckLoopRegula-RoX971sR.js +3 -3
  12. package/chunk/StepIDCheckLoopRegula-oqf-QxHT.js +3 -3
  13. package/chunk/StepInactiveMilitaryPersonalInfoComponent-CTCfr5Y8.js +3 -3
  14. package/chunk/StepInactiveMilitaryPersonalInfoComponent-D4veFRlW.js +3 -3
  15. package/chunk/ar-cFyEJIaF.js +3 -3
  16. package/chunk/bg-CWxXfiDq.js +3 -3
  17. package/chunk/bn-IN-BA_ZFkiC.js +3 -3
  18. package/chunk/cs-HevyelX7.js +3 -3
  19. package/chunk/da-ZHKfCxcv.js +3 -3
  20. package/chunk/de-DTV1_ggb.js +3 -3
  21. package/chunk/el-B6NFmX7D.js +3 -3
  22. package/chunk/en-GB-ByNBaer-.js +3 -3
  23. package/chunk/es-CL_dUc9X.js +3 -3
  24. package/chunk/es-ES-DGgrEzrl.js +3 -3
  25. package/chunk/fi-CCyjkr-W.js +3 -3
  26. package/chunk/fr-BDU-1C6f.js +3 -3
  27. package/chunk/fr-CA-CzepV5Ug.js +3 -3
  28. package/chunk/ga--Z6POXE0.js +3 -3
  29. package/chunk/hi-IN-CnIX7S9Z.js +3 -3
  30. package/chunk/hr-CIwjOgZE.js +3 -3
  31. package/chunk/hu-DBtsZZjv.js +3 -3
  32. package/chunk/id-Cn95yKOu.js +3 -3
  33. package/chunk/index-4APUDd8S.js +3 -3
  34. package/chunk/index-9OD0Bw98.js +3 -3
  35. package/chunk/index-B-PpnUEO.js +3 -3
  36. package/chunk/index-B8F8N-JM.js +3 -3
  37. package/chunk/index-B8KPM--K.js +3 -3
  38. package/chunk/index-BD2bjH-C.js +3 -3
  39. package/chunk/index-BD_a0MZT.js +3 -3
  40. package/chunk/index-BDrKYann.js +3 -3
  41. package/chunk/index-BTMETMEE.js +3 -3
  42. package/chunk/index-Bi9QXN5x.js +3 -3
  43. package/chunk/index-Bmq6cJ3F.js +3 -3
  44. package/chunk/index-BpZoH-Wz.js +3 -3
  45. package/chunk/index-BuX76GyE.js +3 -3
  46. package/chunk/index-C2h0Wj84.js +3 -3
  47. package/chunk/index-C8MQD8EK.js +3 -3
  48. package/chunk/index-C8u9IJUa.js +3 -3
  49. package/chunk/index-C96ntS0u.js +3 -3
  50. package/chunk/index-CHK5i4jj.js +3 -3
  51. package/chunk/index-CTb96lOK.js +3 -3
  52. package/chunk/index-CcRowarb.js +3 -3
  53. package/chunk/index-CeHu2Npu.js +3 -3
  54. package/chunk/index-DIkWpujR.js +3 -3
  55. package/chunk/index-DKWjcFJK.js +3 -3
  56. package/chunk/index-DLz31Fzh.js +3 -3
  57. package/chunk/index-DO5Z3e-E.js +3 -3
  58. package/chunk/index-DRlGAW07.js +3 -3
  59. package/chunk/{index-DWyv9mdQ.js → index-DVmKzrKI.js} +263 -294
  60. package/chunk/index-DVmKzrKI.js.map +1 -0
  61. package/chunk/index-DVynViqA.js +3 -3
  62. package/chunk/index-D_9J6arc.js +3 -3
  63. package/chunk/index-Dg8t7-dm.js +3 -3
  64. package/chunk/index-DhGg9lvf.js +3 -3
  65. package/chunk/index-DsgCNIS5.js +3 -3
  66. package/chunk/index-DvQoVn8P.js +3 -3
  67. package/chunk/index-DzqRsB7_.js +3 -3
  68. package/chunk/index-FjzhfDlx.js +3 -3
  69. package/chunk/index-Gfy-1H7s.js +3 -3
  70. package/chunk/{index-CvKNMbJg.js → index-UDwOiPQx.js} +263 -294
  71. package/chunk/index-UDwOiPQx.js.map +1 -0
  72. package/chunk/index-YSVzGeq_.js +3 -3
  73. package/chunk/index-_t8SsXjy.js +3 -3
  74. package/chunk/is-C-35gV5O.js +3 -3
  75. package/chunk/it-1g1KCZ3_.js +3 -3
  76. package/chunk/iw-T3y_XkEz.js +3 -3
  77. package/chunk/ja-_LmLOV42.js +3 -3
  78. package/chunk/ko-BTqYp7gP.js +3 -3
  79. package/chunk/lo-BEf8aFjR.js +3 -3
  80. package/chunk/lt-9RarMLGX.js +3 -3
  81. package/chunk/ms-Bq94w_cc.js +3 -3
  82. package/chunk/nl-BE-Bn-CRfZN.js +3 -3
  83. package/chunk/nl-DUekr_NI.js +3 -3
  84. package/chunk/no-FJ46uIhb.js +3 -3
  85. package/chunk/pl-C6tVMqAz.js +3 -3
  86. package/chunk/pt-BR-DsIC74KO.js +3 -3
  87. package/chunk/pt-BnK7xRT_.js +3 -3
  88. package/chunk/ro-B8dYmJdF.js +3 -3
  89. package/chunk/ru-CfX_ugYU.js +3 -3
  90. package/chunk/sk-BRnHg9rH.js +3 -3
  91. package/chunk/sl-CNx-fEyK.js +3 -3
  92. package/chunk/sr-D6KuLRjU.js +3 -3
  93. package/chunk/sv-Fhl5RgKE.js +3 -3
  94. package/chunk/sw-2Q7Jo6wp.js +3 -3
  95. package/chunk/th-Dl_Lc--C.js +3 -3
  96. package/chunk/tr-DgJYEssx.js +3 -3
  97. package/chunk/uk-Ck6jZOSR.js +3 -3
  98. package/chunk/ur-DnISxIMR.js +3 -3
  99. package/chunk/useCollectFieldsEndpoint-C5fsaYJe.js +3 -3
  100. package/chunk/useCollectFieldsEndpoint-kmLFyUA-.js +3 -3
  101. package/chunk/useEmailFirstExperiment-BbDrKQEs.js +3 -3
  102. package/chunk/useEmailFirstExperiment-CgU-itQI.js +3 -3
  103. package/chunk/vi-DcYRuK_r.js +3 -3
  104. package/chunk/zh-HK-BI-IHOGG.js +3 -3
  105. package/chunk/zh-eoMG5RFC.js +3 -3
  106. package/chunk/zu-DXIuiqYP.js +3 -3
  107. package/es6.css +3 -3
  108. package/jslib.js +4 -4
  109. package/lib/{EmailLoopPending-Cre8qjIh.js → EmailLoopPending-DjN3vZ8h.js} +4 -4
  110. package/lib/{EmailLoopPending-Cre8qjIh.js.map → EmailLoopPending-DjN3vZ8h.js.map} +1 -1
  111. package/lib/{LicensedProfessionalOrganizationComponent-CgXOcHnS.js → LicensedProfessionalOrganizationComponent-lVfHy0UC.js} +4 -4
  112. package/lib/{LicensedProfessionalOrganizationComponent-CgXOcHnS.js.map → LicensedProfessionalOrganizationComponent-lVfHy0UC.js.map} +1 -1
  113. package/lib/Onfido-AyvUk6wg.js +3 -3
  114. package/lib/StepCollectMilitaryStatusComponent-Dt0eboK3.js +11 -0
  115. package/lib/{StepCollectMilitaryStatusComponent-BS5xb4Yd.js.map → StepCollectMilitaryStatusComponent-Dt0eboK3.js.map} +1 -1
  116. package/lib/{StepIDCheckLoopOnfido-BXwRpGGs.js → StepIDCheckLoopOnfido-YZJ-2a-D.js} +4 -4
  117. package/lib/{StepIDCheckLoopOnfido-BXwRpGGs.js.map → StepIDCheckLoopOnfido-YZJ-2a-D.js.map} +1 -1
  118. package/lib/{StepIDCheckLoopRegula-auo3RIsK.js → StepIDCheckLoopRegula-DqZNt7Ht.js} +4 -4
  119. package/lib/{StepIDCheckLoopRegula-auo3RIsK.js.map → StepIDCheckLoopRegula-DqZNt7Ht.js.map} +1 -1
  120. package/lib/{StepInactiveMilitaryPersonalInfoComponent-BTqXxSbx.js → StepInactiveMilitaryPersonalInfoComponent-DE0jIIwv.js} +5 -5
  121. package/lib/{StepInactiveMilitaryPersonalInfoComponent-BTqXxSbx.js.map → StepInactiveMilitaryPersonalInfoComponent-DE0jIIwv.js.map} +1 -1
  122. package/lib/{VerificationApiUtils-CYrhLAc5.js → VerificationApiUtils-Do_4_Dnv.js} +4 -4
  123. package/lib/{VerificationApiUtils-CYrhLAc5.js.map → VerificationApiUtils-Do_4_Dnv.js.map} +1 -1
  124. package/lib/ar-cFyEJIaF.js +3 -3
  125. package/lib/bg-CWxXfiDq.js +3 -3
  126. package/lib/bn-IN-BA_ZFkiC.js +3 -3
  127. package/lib/cs-HevyelX7.js +3 -3
  128. package/lib/da-ZHKfCxcv.js +3 -3
  129. package/lib/de-DTV1_ggb.js +3 -3
  130. package/lib/el-B6NFmX7D.js +3 -3
  131. package/lib/en-GB-ByNBaer-.js +3 -3
  132. package/lib/es-CL_dUc9X.js +3 -3
  133. package/lib/es-ES-DGgrEzrl.js +3 -3
  134. package/lib/{es6-DSl75XAT.js → es6-poxVoIzJ.js} +34 -35
  135. package/lib/{es6-DSl75XAT.js.map → es6-poxVoIzJ.js.map} +1 -1
  136. package/lib/fi-CCyjkr-W.js +3 -3
  137. package/lib/fr-BDU-1C6f.js +3 -3
  138. package/lib/fr-CA-CzepV5Ug.js +3 -3
  139. package/lib/ga--Z6POXE0.js +3 -3
  140. package/lib/hi-IN-CnIX7S9Z.js +3 -3
  141. package/lib/hr-CIwjOgZE.js +3 -3
  142. package/lib/hu-DBtsZZjv.js +3 -3
  143. package/lib/id-Cn95yKOu.js +3 -3
  144. package/lib/{index-I6AeeLDL.js → index-8gvNHNuQ.js} +4 -4
  145. package/lib/{index-I6AeeLDL.js.map → index-8gvNHNuQ.js.map} +1 -1
  146. package/lib/{index-B_370pYV.js → index-B9L18YbP.js} +4 -4
  147. package/lib/{index-B_370pYV.js.map → index-B9L18YbP.js.map} +1 -1
  148. package/lib/{index-D0pD3Ff_.js → index-BAA5-Q6s.js} +5 -5
  149. package/lib/{index-D0pD3Ff_.js.map → index-BAA5-Q6s.js.map} +1 -1
  150. package/lib/{index-Ckk4kPQ0.js → index-BBTKJMqc.js} +5 -5
  151. package/lib/{index-Ckk4kPQ0.js.map → index-BBTKJMqc.js.map} +1 -1
  152. package/lib/{index-CybAgREt.js → index-BNHoT25f.js} +4 -4
  153. package/lib/{index-CybAgREt.js.map → index-BNHoT25f.js.map} +1 -1
  154. package/lib/{index-CAS4KMwI.js → index-BUDQ6kB0.js} +5 -5
  155. package/lib/{index-CAS4KMwI.js.map → index-BUDQ6kB0.js.map} +1 -1
  156. package/lib/{index-BPBdoCZC.js → index-BXBbpLgr.js} +4 -4
  157. package/lib/{index-BPBdoCZC.js.map → index-BXBbpLgr.js.map} +1 -1
  158. package/lib/{index-Dp_S_XV2.js → index-BafpQcYR.js} +4 -4
  159. package/lib/{index-Dp_S_XV2.js.map → index-BafpQcYR.js.map} +1 -1
  160. package/lib/index-Bbn400m7.js +11 -0
  161. package/lib/index-Bbn400m7.js.map +1 -0
  162. package/lib/{index-olSfAcZP.js → index-Br7WHwsb.js} +4 -4
  163. package/lib/{index-olSfAcZP.js.map → index-Br7WHwsb.js.map} +1 -1
  164. package/lib/{index-DdgME0fB.js → index-COTaGNqp.js} +5 -5
  165. package/lib/{index-DdgME0fB.js.map → index-COTaGNqp.js.map} +1 -1
  166. package/lib/{index-C4XS_bZQ.js → index-CYo27bij.js} +5 -5
  167. package/lib/{index-C4XS_bZQ.js.map → index-CYo27bij.js.map} +1 -1
  168. package/lib/{index-BZVT2rtp.js → index-Ca1jYME7.js} +4 -4
  169. package/lib/{index-BZVT2rtp.js.map → index-Ca1jYME7.js.map} +1 -1
  170. package/lib/index-CrWMSGa9.js +11 -0
  171. package/lib/index-CrWMSGa9.js.map +1 -0
  172. package/lib/{index-D1vG2Egn.js → index-D6OMQaSW.js} +5 -5
  173. package/lib/{index-D1vG2Egn.js.map → index-D6OMQaSW.js.map} +1 -1
  174. package/lib/{index-BGiqQRJv.js → index-D6XQwzn4.js} +6 -6
  175. package/lib/{index-BGiqQRJv.js.map → index-D6XQwzn4.js.map} +1 -1
  176. package/lib/{index-Cf2izpm6.js → index-DETmoNz-.js} +4 -4
  177. package/lib/{index-Cf2izpm6.js.map → index-DETmoNz-.js.map} +1 -1
  178. package/lib/index-DIkWpujR.js +3 -3
  179. package/lib/index-DJZqeNC1.js +11 -0
  180. package/lib/index-DJZqeNC1.js.map +1 -0
  181. package/lib/index-DMMKTaJQ.js +11 -0
  182. package/lib/index-DMMKTaJQ.js.map +1 -0
  183. package/lib/{index-DpW_qPLD.js → index-Dfqgoe4S.js} +486 -517
  184. package/lib/index-Dfqgoe4S.js.map +1 -0
  185. package/lib/{index-2M1vkGQp.js → index-Do5fqw8L.js} +5 -5
  186. package/lib/{index-2M1vkGQp.js.map → index-Do5fqw8L.js.map} +1 -1
  187. package/lib/{index--7YcvqGB.js → index-DtlOIrRu.js} +4 -4
  188. package/lib/{index--7YcvqGB.js.map → index-DtlOIrRu.js.map} +1 -1
  189. package/lib/{index-CkGCV3iJ.js → index-L6wHHeDC.js} +6 -6
  190. package/lib/{index-CkGCV3iJ.js.map → index-L6wHHeDC.js.map} +1 -1
  191. package/lib/is-C-35gV5O.js +3 -3
  192. package/lib/it-1g1KCZ3_.js +3 -3
  193. package/lib/iw-T3y_XkEz.js +3 -3
  194. package/lib/ja-_LmLOV42.js +3 -3
  195. package/lib/ko-BTqYp7gP.js +3 -3
  196. package/lib/lo-BEf8aFjR.js +3 -3
  197. package/lib/lt-9RarMLGX.js +3 -3
  198. package/lib/ms-Bq94w_cc.js +3 -3
  199. package/lib/nl-BE-Bn-CRfZN.js +3 -3
  200. package/lib/nl-DUekr_NI.js +3 -3
  201. package/lib/no-FJ46uIhb.js +3 -3
  202. package/lib/pl-C6tVMqAz.js +3 -3
  203. package/lib/pt-BR-DsIC74KO.js +3 -3
  204. package/lib/pt-BnK7xRT_.js +3 -3
  205. package/lib/ro-B8dYmJdF.js +3 -3
  206. package/lib/ru-CfX_ugYU.js +3 -3
  207. package/lib/sk-BRnHg9rH.js +3 -3
  208. package/lib/sl-CNx-fEyK.js +3 -3
  209. package/lib/sr-D6KuLRjU.js +3 -3
  210. package/lib/sv-Fhl5RgKE.js +3 -3
  211. package/lib/sw-2Q7Jo6wp.js +3 -3
  212. package/lib/th-Dl_Lc--C.js +3 -3
  213. package/lib/tr-DgJYEssx.js +3 -3
  214. package/lib/uk-Ck6jZOSR.js +3 -3
  215. package/lib/ur-DnISxIMR.js +3 -3
  216. package/lib/{useCollectFieldsEndpoint-ns7qNsiO.js → useCollectFieldsEndpoint-gjfFTjKY.js} +5 -5
  217. package/lib/{useCollectFieldsEndpoint-ns7qNsiO.js.map → useCollectFieldsEndpoint-gjfFTjKY.js.map} +1 -1
  218. package/lib/{useEmailFirstExperiment-Pt42Fdx4.js → useEmailFirstExperiment-Bdboa39j.js} +4 -4
  219. package/lib/{useEmailFirstExperiment-Pt42Fdx4.js.map → useEmailFirstExperiment-Bdboa39j.js.map} +1 -1
  220. package/lib/vi-DcYRuK_r.js +3 -3
  221. package/lib/zh-HK-BI-IHOGG.js +3 -3
  222. package/lib/zh-eoMG5RFC.js +3 -3
  223. package/lib/zu-DXIuiqYP.js +3 -3
  224. package/package.json +1 -1
  225. package/sheerid-install.css +3 -3
  226. package/sheerid-install.js +4 -4
  227. package/sheerid.css +3 -3
  228. package/sheerid.js +8 -9
  229. package/sheerid.js.map +1 -1
  230. package/src/components/FeatureFlags/flags.d.ts +0 -1
  231. package/src/lib/types/runtimeTypes.d.ts +1 -1
  232. package/types-reference.zip +0 -0
  233. package/chunk/index-CvKNMbJg.js.map +0 -1
  234. package/chunk/index-DWyv9mdQ.js.map +0 -1
  235. package/lib/StepCollectMilitaryStatusComponent-BS5xb4Yd.js +0 -11
  236. package/lib/index-CdNQfqWr.js +0 -11
  237. package/lib/index-CdNQfqWr.js.map +0 -1
  238. package/lib/index-DUy4cVnB.js +0 -11
  239. package/lib/index-DUy4cVnB.js.map +0 -1
  240. package/lib/index-DpW_qPLD.js.map +0 -1
  241. package/lib/index-NT4L5pb-.js +0 -11
  242. package/lib/index-NT4L5pb-.js.map +0 -1
  243. package/lib/index-olrPjiQU.js +0 -11
  244. package/lib/index-olrPjiQU.js.map +0 -1
@@ -1,13 +1,13 @@
1
1
 
2
2
  /**
3
- * VERSION: 2.110.0-alpha.3
4
- * BUILD_TIMESTAMP: 1748876710932
5
- * BUILD_DATE: Mon Jun 02 2025 15:05:10 GMT+0000 (Coordinated Universal Time)
3
+ * VERSION: 2.111.0-alpha.0
4
+ * BUILD_TIMESTAMP: 1748974041865
5
+ * BUILD_DATE: Tue Jun 03 2025 18:07:21 GMT+0000 (Coordinated Universal Time)
6
6
  * BUILD_COMMIT: 1131f80d20a6bbdb0dedde7ae8aefd5ede8d726e
7
7
  */
8
- import { aY as K, aZ as q, a_ as It, a$ as h, j as t, b0 as n, aP as u, at as ye, aD as Et, e as vt, b1 as Ut, i as jt, b2 as We, r as Dt, A as _t, b3 as At, b4 as wt, b5 as Rt, z as Ft, b6 as Nt, b7 as Tt, b8 as Ot, p as Ct, l as Le, V as Ie, b9 as St, ba as Lt, bb as Mt, bc as kt, q as Ge, bd as Pt, be as Bt } from "./es6-DSl75XAT.js";
9
- import * as Ue from "react";
10
- import Yt, { forwardRef as Ht, useImperativeHandle as zt, Fragment as Vt, useMemo as Ee, useRef as Me, useReducer as Wt, useEffect as $e, useCallback as N, useState as ne } from "react";
8
+ import { aY as q, aZ as Z, a_ as It, a$ as h, j as t, b0 as n, aP as u, at as Ce, aD as Et, e as vt, b1 as Ut, i as jt, b2 as We, r as Dt, A as _t, b3 as At, b4 as wt, b5 as Rt, z as Ft, b6 as Nt, b7 as Tt, b8 as Ot, p as Ct, l as Se, V as be, b9 as St, ba as Lt, bb as Mt, bc as kt, q as Ge, bd as Pt, be as Bt } from "./es6-poxVoIzJ.js";
9
+ import * as ve from "react";
10
+ import Yt, { forwardRef as Ht, useImperativeHandle as zt, Fragment as Vt, useMemo as ye, useRef as Le, useReducer as Wt, useEffect as $e, useCallback as F, useState as ne } from "react";
11
11
  import { FormattedHTMLMessage as m, injectIntl as Gt } from "react-intl";
12
12
  var $t = /* @__PURE__ */ new Map([
13
13
  // https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types/Common_types
@@ -91,23 +91,23 @@ var $t = /* @__PURE__ */ new Map([
91
91
  ["mov", "video/quicktime"],
92
92
  ["msg", "application/vnd.ms-outlook"]
93
93
  ]);
94
- function ie(e, o) {
95
- var a = Kt(e);
96
- if (typeof a.path != "string") {
94
+ function ie(e, a) {
95
+ var o = Kt(e);
96
+ if (typeof o.path != "string") {
97
97
  var r = e.webkitRelativePath;
98
- Object.defineProperty(a, "path", {
99
- value: typeof o == "string" ? o : typeof r == "string" && r.length > 0 ? r : e.name,
98
+ Object.defineProperty(o, "path", {
99
+ value: typeof a == "string" ? a : typeof r == "string" && r.length > 0 ? r : e.name,
100
100
  writable: !1,
101
101
  configurable: !1,
102
102
  enumerable: !0
103
103
  });
104
104
  }
105
- return a;
105
+ return o;
106
106
  }
107
107
  function Kt(e) {
108
- var o = e.name, a = o && o.lastIndexOf(".") !== -1;
109
- if (a && !e.type) {
110
- var r = o.split(".").pop().toLowerCase(), i = $t.get(r);
108
+ var a = e.name, o = a && a.lastIndexOf(".") !== -1;
109
+ if (o && !e.type) {
110
+ var r = a.split(".").pop().toLowerCase(), i = $t.get(r);
111
111
  i && Object.defineProperty(e, "type", {
112
112
  value: i,
113
113
  writable: !1,
@@ -124,58 +124,58 @@ var qt = [
124
124
  // Windows
125
125
  ];
126
126
  function Zt(e) {
127
- return K(this, void 0, void 0, function() {
128
- return q(this, function(o) {
129
- return je(e) && Qt(e) ? [2, to(e.dataTransfer, e.type)] : Xt(e) ? [2, Jt(e)] : Array.isArray(e) && e.every(function(a) {
130
- return "getFile" in a && typeof a.getFile == "function";
131
- }) ? [2, eo(e)] : [2, []];
127
+ return q(this, void 0, void 0, function() {
128
+ return Z(this, function(a) {
129
+ return Ue(e) && Qt(e) ? [2, ta(e.dataTransfer, e.type)] : Xt(e) ? [2, Jt(e)] : Array.isArray(e) && e.every(function(o) {
130
+ return "getFile" in o && typeof o.getFile == "function";
131
+ }) ? [2, ea(e)] : [2, []];
132
132
  });
133
133
  });
134
134
  }
135
135
  function Qt(e) {
136
- return je(e.dataTransfer);
136
+ return Ue(e.dataTransfer);
137
137
  }
138
138
  function Xt(e) {
139
- return je(e) && je(e.target);
139
+ return Ue(e) && Ue(e.target);
140
140
  }
141
- function je(e) {
141
+ function Ue(e) {
142
142
  return typeof e == "object" && e !== null;
143
143
  }
144
144
  function Jt(e) {
145
- return Pe(e.target.files).map(function(o) {
146
- return ie(o);
145
+ return ke(e.target.files).map(function(a) {
146
+ return ie(a);
147
147
  });
148
148
  }
149
- function eo(e) {
150
- return K(this, void 0, void 0, function() {
151
- var o;
152
- return q(this, function(a) {
153
- switch (a.label) {
149
+ function ea(e) {
150
+ return q(this, void 0, void 0, function() {
151
+ var a;
152
+ return Z(this, function(o) {
153
+ switch (o.label) {
154
154
  case 0:
155
155
  return [4, Promise.all(e.map(function(r) {
156
156
  return r.getFile();
157
157
  }))];
158
158
  case 1:
159
- return o = a.sent(), [2, o.map(function(r) {
159
+ return a = o.sent(), [2, a.map(function(r) {
160
160
  return ie(r);
161
161
  })];
162
162
  }
163
163
  });
164
164
  });
165
165
  }
166
- function to(e, o) {
167
- return K(this, void 0, void 0, function() {
168
- var a, r;
169
- return q(this, function(i) {
166
+ function ta(e, a) {
167
+ return q(this, void 0, void 0, function() {
168
+ var o, r;
169
+ return Z(this, function(i) {
170
170
  switch (i.label) {
171
171
  case 0:
172
- return e === null ? [2, []] : e.items ? (a = Pe(e.items).filter(function(d) {
172
+ return e === null ? [2, []] : e.items ? (o = ke(e.items).filter(function(d) {
173
173
  return d.kind === "file";
174
- }), o !== "drop" ? [2, a] : [4, Promise.all(a.map(oo))]) : [3, 2];
174
+ }), a !== "drop" ? [2, o] : [4, Promise.all(o.map(aa))]) : [3, 2];
175
175
  case 1:
176
176
  return r = i.sent(), [2, Ke(lt(r))];
177
177
  case 2:
178
- return [2, Ke(Pe(e.files).map(function(d) {
178
+ return [2, Ke(ke(e.files).map(function(d) {
179
179
  return ie(d);
180
180
  }))];
181
181
  }
@@ -183,68 +183,68 @@ function to(e, o) {
183
183
  });
184
184
  }
185
185
  function Ke(e) {
186
- return e.filter(function(o) {
187
- return qt.indexOf(o.name) === -1;
186
+ return e.filter(function(a) {
187
+ return qt.indexOf(a.name) === -1;
188
188
  });
189
189
  }
190
- function Pe(e) {
190
+ function ke(e) {
191
191
  if (e === null)
192
192
  return [];
193
- for (var o = [], a = 0; a < e.length; a++) {
194
- var r = e[a];
195
- o.push(r);
193
+ for (var a = [], o = 0; o < e.length; o++) {
194
+ var r = e[o];
195
+ a.push(r);
196
196
  }
197
- return o;
197
+ return a;
198
198
  }
199
- function oo(e) {
199
+ function aa(e) {
200
200
  if (typeof e.webkitGetAsEntry != "function")
201
201
  return qe(e);
202
- var o = e.webkitGetAsEntry();
203
- return o && o.isDirectory ? dt(o) : qe(e);
202
+ var a = e.webkitGetAsEntry();
203
+ return a && a.isDirectory ? dt(a) : qe(e);
204
204
  }
205
205
  function lt(e) {
206
- return e.reduce(function(o, a) {
207
- return It(o, Array.isArray(a) ? lt(a) : [a]);
206
+ return e.reduce(function(a, o) {
207
+ return It(a, Array.isArray(o) ? lt(o) : [o]);
208
208
  }, []);
209
209
  }
210
210
  function qe(e) {
211
- var o = e.getAsFile();
212
- if (!o)
211
+ var a = e.getAsFile();
212
+ if (!a)
213
213
  return Promise.reject(e + " is not a File");
214
- var a = ie(o);
215
- return Promise.resolve(a);
214
+ var o = ie(a);
215
+ return Promise.resolve(o);
216
216
  }
217
- function ao(e) {
218
- return K(this, void 0, void 0, function() {
219
- return q(this, function(o) {
220
- return [2, e.isDirectory ? dt(e) : ro(e)];
217
+ function oa(e) {
218
+ return q(this, void 0, void 0, function() {
219
+ return Z(this, function(a) {
220
+ return [2, e.isDirectory ? dt(e) : ra(e)];
221
221
  });
222
222
  });
223
223
  }
224
224
  function dt(e) {
225
- var o = e.createReader();
226
- return new Promise(function(a, r) {
225
+ var a = e.createReader();
226
+ return new Promise(function(o, r) {
227
227
  var i = [];
228
228
  function d() {
229
229
  var f = this;
230
- o.readEntries(function(c) {
231
- return K(f, void 0, void 0, function() {
230
+ a.readEntries(function(c) {
231
+ return q(f, void 0, void 0, function() {
232
232
  var E, g, A;
233
- return q(this, function(j) {
234
- switch (j.label) {
233
+ return Z(this, function(v) {
234
+ switch (v.label) {
235
235
  case 0:
236
236
  if (c.length) return [3, 5];
237
- j.label = 1;
237
+ v.label = 1;
238
238
  case 1:
239
- return j.trys.push([1, 3, , 4]), [4, Promise.all(i)];
239
+ return v.trys.push([1, 3, , 4]), [4, Promise.all(i)];
240
240
  case 2:
241
- return E = j.sent(), a(E), [3, 4];
241
+ return E = v.sent(), o(E), [3, 4];
242
242
  case 3:
243
- return g = j.sent(), r(g), [3, 4];
243
+ return g = v.sent(), r(g), [3, 4];
244
244
  case 4:
245
245
  return [3, 6];
246
246
  case 5:
247
- A = Promise.all(c.map(ao)), i.push(A), d(), j.label = 6;
247
+ A = Promise.all(c.map(oa)), i.push(A), d(), v.label = 6;
248
248
  case 6:
249
249
  return [
250
250
  2
@@ -260,13 +260,13 @@ function dt(e) {
260
260
  d();
261
261
  });
262
262
  }
263
- function ro(e) {
264
- return K(this, void 0, void 0, function() {
265
- return q(this, function(o) {
266
- return [2, new Promise(function(a, r) {
263
+ function ra(e) {
264
+ return q(this, void 0, void 0, function() {
265
+ return Z(this, function(a) {
266
+ return [2, new Promise(function(o, r) {
267
267
  e.file(function(i) {
268
268
  var d = ie(i, e.fullPath);
269
- a(d);
269
+ o(d);
270
270
  }, function(i) {
271
271
  r(i);
272
272
  });
@@ -274,76 +274,76 @@ function ro(e) {
274
274
  });
275
275
  });
276
276
  }
277
- var no = function(e, o) {
278
- if (e && o) {
279
- var a = Array.isArray(o) ? o : o.split(",");
280
- if (a.length === 0)
277
+ var na = function(e, a) {
278
+ if (e && a) {
279
+ var o = Array.isArray(a) ? a : a.split(",");
280
+ if (o.length === 0)
281
281
  return !0;
282
282
  var r = e.name || "", i = (e.type || "").toLowerCase(), d = i.replace(/\/.*$/, "");
283
- return a.some(function(f) {
283
+ return o.some(function(f) {
284
284
  var c = f.trim().toLowerCase();
285
285
  return c.charAt(0) === "." ? r.toLowerCase().endsWith(c) : c.endsWith("/*") ? d === c.replace(/\/.*$/, "") : i === c;
286
286
  });
287
287
  }
288
288
  return !0;
289
289
  };
290
- function Ze(e, o) {
291
- var a = Object.keys(e);
290
+ function Ze(e, a) {
291
+ var o = Object.keys(e);
292
292
  if (Object.getOwnPropertySymbols) {
293
293
  var r = Object.getOwnPropertySymbols(e);
294
- o && (r = r.filter(function(i) {
294
+ a && (r = r.filter(function(i) {
295
295
  return Object.getOwnPropertyDescriptor(e, i).enumerable;
296
- })), a.push.apply(a, r);
296
+ })), o.push.apply(o, r);
297
297
  }
298
- return a;
298
+ return o;
299
299
  }
300
300
  function Qe(e) {
301
- for (var o = 1; o < arguments.length; o++) {
302
- var a = arguments[o] != null ? arguments[o] : {};
303
- o % 2 ? Ze(Object(a), !0).forEach(function(r) {
304
- ct(e, r, a[r]);
305
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(a)) : Ze(Object(a)).forEach(function(r) {
306
- Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(a, r));
301
+ for (var a = 1; a < arguments.length; a++) {
302
+ var o = arguments[a] != null ? arguments[a] : {};
303
+ a % 2 ? Ze(Object(o), !0).forEach(function(r) {
304
+ ct(e, r, o[r]);
305
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(o)) : Ze(Object(o)).forEach(function(r) {
306
+ Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(o, r));
307
307
  });
308
308
  }
309
309
  return e;
310
310
  }
311
- function ct(e, o, a) {
312
- return o in e ? Object.defineProperty(e, o, { value: a, enumerable: !0, configurable: !0, writable: !0 }) : e[o] = a, e;
311
+ function ct(e, a, o) {
312
+ return a in e ? Object.defineProperty(e, a, { value: o, enumerable: !0, configurable: !0, writable: !0 }) : e[a] = o, e;
313
313
  }
314
- function Xe(e, o) {
315
- return co(e) || lo(e, o) || so(e, o) || io();
314
+ function Xe(e, a) {
315
+ return da(e) || la(e, a) || sa(e, a) || ia();
316
316
  }
317
- function io() {
317
+ function ia() {
318
318
  throw new TypeError(`Invalid attempt to destructure non-iterable instance.
319
319
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
320
320
  }
321
- function so(e, o) {
321
+ function sa(e, a) {
322
322
  if (e) {
323
- if (typeof e == "string") return Je(e, o);
324
- var a = Object.prototype.toString.call(e).slice(8, -1);
325
- if (a === "Object" && e.constructor && (a = e.constructor.name), a === "Map" || a === "Set") return Array.from(e);
326
- if (a === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a)) return Je(e, o);
323
+ if (typeof e == "string") return Je(e, a);
324
+ var o = Object.prototype.toString.call(e).slice(8, -1);
325
+ if (o === "Object" && e.constructor && (o = e.constructor.name), o === "Map" || o === "Set") return Array.from(e);
326
+ if (o === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)) return Je(e, a);
327
327
  }
328
328
  }
329
- function Je(e, o) {
330
- (o == null || o > e.length) && (o = e.length);
331
- for (var a = 0, r = new Array(o); a < o; a++)
332
- r[a] = e[a];
329
+ function Je(e, a) {
330
+ (a == null || a > e.length) && (a = e.length);
331
+ for (var o = 0, r = new Array(a); o < a; o++)
332
+ r[o] = e[o];
333
333
  return r;
334
334
  }
335
- function lo(e, o) {
336
- var a = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
337
- if (a != null) {
335
+ function la(e, a) {
336
+ var o = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
337
+ if (o != null) {
338
338
  var r = [], i = !0, d = !1, f, c;
339
339
  try {
340
- for (a = a.call(e); !(i = (f = a.next()).done) && (r.push(f.value), !(o && r.length === o)); i = !0)
340
+ for (o = o.call(e); !(i = (f = o.next()).done) && (r.push(f.value), !(a && r.length === a)); i = !0)
341
341
  ;
342
342
  } catch (E) {
343
343
  d = !0, c = E;
344
344
  } finally {
345
345
  try {
346
- !i && a.return != null && a.return();
346
+ !i && o.return != null && o.return();
347
347
  } finally {
348
348
  if (d) throw c;
349
349
  }
@@ -351,148 +351,148 @@ function lo(e, o) {
351
351
  return r;
352
352
  }
353
353
  }
354
- function co(e) {
354
+ function da(e) {
355
355
  if (Array.isArray(e)) return e;
356
356
  }
357
- var po = "file-invalid-type", uo = "file-too-large", fo = "file-too-small", mo = "too-many-files", ho = function(o) {
358
- o = Array.isArray(o) && o.length === 1 ? o[0] : o;
359
- var a = Array.isArray(o) ? "one of ".concat(o.join(", ")) : o;
357
+ var ca = "file-invalid-type", pa = "file-too-large", ua = "file-too-small", fa = "too-many-files", ma = function(a) {
358
+ a = Array.isArray(a) && a.length === 1 ? a[0] : a;
359
+ var o = Array.isArray(a) ? "one of ".concat(a.join(", ")) : a;
360
360
  return {
361
- code: po,
362
- message: "File type must be ".concat(a)
361
+ code: ca,
362
+ message: "File type must be ".concat(o)
363
363
  };
364
- }, et = function(o) {
364
+ }, et = function(a) {
365
365
  return {
366
- code: uo,
367
- message: "File is larger than ".concat(o, " ").concat(o === 1 ? "byte" : "bytes")
366
+ code: pa,
367
+ message: "File is larger than ".concat(a, " ").concat(a === 1 ? "byte" : "bytes")
368
368
  };
369
- }, tt = function(o) {
369
+ }, tt = function(a) {
370
370
  return {
371
- code: fo,
372
- message: "File is smaller than ".concat(o, " ").concat(o === 1 ? "byte" : "bytes")
371
+ code: ua,
372
+ message: "File is smaller than ".concat(a, " ").concat(a === 1 ? "byte" : "bytes")
373
373
  };
374
- }, go = {
375
- code: mo,
374
+ }, ha = {
375
+ code: fa,
376
376
  message: "Too many files"
377
377
  };
378
- function pt(e, o) {
379
- var a = e.type === "application/x-moz-file" || no(e, o);
380
- return [a, a ? null : ho(o)];
378
+ function pt(e, a) {
379
+ var o = e.type === "application/x-moz-file" || na(e, a);
380
+ return [o, o ? null : ma(a)];
381
381
  }
382
- function ut(e, o, a) {
383
- if (ae(e.size))
384
- if (ae(o) && ae(a)) {
385
- if (e.size > a) return [!1, et(a)];
386
- if (e.size < o) return [!1, tt(o)];
382
+ function ut(e, a, o) {
383
+ if (re(e.size))
384
+ if (re(a) && re(o)) {
385
+ if (e.size > o) return [!1, et(o)];
386
+ if (e.size < a) return [!1, tt(a)];
387
387
  } else {
388
- if (ae(o) && e.size < o) return [!1, tt(o)];
389
- if (ae(a) && e.size > a) return [!1, et(a)];
388
+ if (re(a) && e.size < a) return [!1, tt(a)];
389
+ if (re(o) && e.size > o) return [!1, et(o)];
390
390
  }
391
391
  return [!0, null];
392
392
  }
393
- function ae(e) {
393
+ function re(e) {
394
394
  return e != null;
395
395
  }
396
- function xo(e) {
397
- var o = e.files, a = e.accept, r = e.minSize, i = e.maxSize, d = e.multiple, f = e.maxFiles;
398
- return !d && o.length > 1 || d && f >= 1 && o.length > f ? !1 : o.every(function(c) {
399
- var E = pt(c, a), g = Xe(E, 1), A = g[0], j = ut(c, r, i), T = Xe(j, 1), L = T[0];
400
- return A && L;
396
+ function ga(e) {
397
+ var a = e.files, o = e.accept, r = e.minSize, i = e.maxSize, d = e.multiple, f = e.maxFiles;
398
+ return !d && a.length > 1 || d && f >= 1 && a.length > f ? !1 : a.every(function(c) {
399
+ var E = pt(c, o), g = Xe(E, 1), A = g[0], v = ut(c, r, i), N = Xe(v, 1), w = N[0];
400
+ return A && w;
401
401
  });
402
402
  }
403
- function De(e) {
403
+ function je(e) {
404
404
  return typeof e.isPropagationStopped == "function" ? e.isPropagationStopped() : typeof e.cancelBubble < "u" ? e.cancelBubble : !1;
405
405
  }
406
- function ve(e) {
407
- return e.dataTransfer ? Array.prototype.some.call(e.dataTransfer.types, function(o) {
408
- return o === "Files" || o === "application/x-moz-file";
406
+ function Ie(e) {
407
+ return e.dataTransfer ? Array.prototype.some.call(e.dataTransfer.types, function(a) {
408
+ return a === "Files" || a === "application/x-moz-file";
409
409
  }) : !!e.target && !!e.target.files;
410
410
  }
411
- function ot(e) {
411
+ function at(e) {
412
412
  e.preventDefault();
413
413
  }
414
- function bo(e) {
414
+ function xa(e) {
415
415
  return e.indexOf("MSIE") !== -1 || e.indexOf("Trident/") !== -1;
416
416
  }
417
- function yo(e) {
417
+ function ba(e) {
418
418
  return e.indexOf("Edge/") !== -1;
419
419
  }
420
- function Io() {
420
+ function ya() {
421
421
  var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : window.navigator.userAgent;
422
- return bo(e) || yo(e);
422
+ return xa(e) || ba(e);
423
423
  }
424
- function C() {
425
- for (var e = arguments.length, o = new Array(e), a = 0; a < e; a++)
426
- o[a] = arguments[a];
424
+ function S() {
425
+ for (var e = arguments.length, a = new Array(e), o = 0; o < e; o++)
426
+ a[o] = arguments[o];
427
427
  return function(r) {
428
428
  for (var i = arguments.length, d = new Array(i > 1 ? i - 1 : 0), f = 1; f < i; f++)
429
429
  d[f - 1] = arguments[f];
430
- return o.some(function(c) {
431
- return !De(r) && c && c.apply(void 0, [r].concat(d)), De(r);
430
+ return a.some(function(c) {
431
+ return !je(r) && c && c.apply(void 0, [r].concat(d)), je(r);
432
432
  });
433
433
  };
434
434
  }
435
- function at() {
435
+ function ot() {
436
436
  return "showOpenFilePicker" in window;
437
437
  }
438
- function Eo(e) {
438
+ function Ia(e) {
439
439
  return e = typeof e == "string" ? e.split(",") : e, [{
440
440
  description: "everything",
441
441
  // TODO: Need to handle filtering more elegantly than this!
442
- accept: Array.isArray(e) ? e.filter(function(o) {
443
- return o === "audio/*" || o === "video/*" || o === "image/*" || o === "text/*" || /\w+\/[-+.\w]+/g.test(o);
444
- }).reduce(function(o, a) {
445
- return Qe(Qe({}, o), {}, ct({}, a, []));
442
+ accept: Array.isArray(e) ? e.filter(function(a) {
443
+ return a === "audio/*" || a === "video/*" || a === "image/*" || a === "text/*" || /\w+\/[-+.\w]+/g.test(a);
444
+ }).reduce(function(a, o) {
445
+ return Qe(Qe({}, a), {}, ct({}, o, []));
446
446
  }, {}) : {}
447
447
  }];
448
448
  }
449
- var vo = ["children"], Uo = ["open"], jo = ["refKey", "role", "onKeyDown", "onFocus", "onBlur", "onClick", "onDragEnter", "onDragOver", "onDragLeave", "onDrop"], Do = ["refKey", "onChange", "onClick"];
450
- function _o(e) {
451
- return Ro(e) || wo(e) || ft(e) || Ao();
449
+ var Ea = ["children"], va = ["open"], Ua = ["refKey", "role", "onKeyDown", "onFocus", "onBlur", "onClick", "onDragEnter", "onDragOver", "onDragLeave", "onDrop"], ja = ["refKey", "onChange", "onClick"];
450
+ function Da(e) {
451
+ return wa(e) || Aa(e) || ft(e) || _a();
452
452
  }
453
- function Ao() {
453
+ function _a() {
454
454
  throw new TypeError(`Invalid attempt to spread non-iterable instance.
455
455
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
456
456
  }
457
- function wo(e) {
457
+ function Aa(e) {
458
458
  if (typeof Symbol < "u" && e[Symbol.iterator] != null || e["@@iterator"] != null) return Array.from(e);
459
459
  }
460
- function Ro(e) {
461
- if (Array.isArray(e)) return Be(e);
460
+ function wa(e) {
461
+ if (Array.isArray(e)) return Pe(e);
462
462
  }
463
- function ke(e, o) {
464
- return To(e) || No(e, o) || ft(e, o) || Fo();
463
+ function Me(e, a) {
464
+ return Na(e) || Fa(e, a) || ft(e, a) || Ra();
465
465
  }
466
- function Fo() {
466
+ function Ra() {
467
467
  throw new TypeError(`Invalid attempt to destructure non-iterable instance.
468
468
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
469
469
  }
470
- function ft(e, o) {
470
+ function ft(e, a) {
471
471
  if (e) {
472
- if (typeof e == "string") return Be(e, o);
473
- var a = Object.prototype.toString.call(e).slice(8, -1);
474
- if (a === "Object" && e.constructor && (a = e.constructor.name), a === "Map" || a === "Set") return Array.from(e);
475
- if (a === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a)) return Be(e, o);
472
+ if (typeof e == "string") return Pe(e, a);
473
+ var o = Object.prototype.toString.call(e).slice(8, -1);
474
+ if (o === "Object" && e.constructor && (o = e.constructor.name), o === "Map" || o === "Set") return Array.from(e);
475
+ if (o === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)) return Pe(e, a);
476
476
  }
477
477
  }
478
- function Be(e, o) {
479
- (o == null || o > e.length) && (o = e.length);
480
- for (var a = 0, r = new Array(o); a < o; a++)
481
- r[a] = e[a];
478
+ function Pe(e, a) {
479
+ (a == null || a > e.length) && (a = e.length);
480
+ for (var o = 0, r = new Array(a); o < a; o++)
481
+ r[o] = e[o];
482
482
  return r;
483
483
  }
484
- function No(e, o) {
485
- var a = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
486
- if (a != null) {
484
+ function Fa(e, a) {
485
+ var o = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
486
+ if (o != null) {
487
487
  var r = [], i = !0, d = !1, f, c;
488
488
  try {
489
- for (a = a.call(e); !(i = (f = a.next()).done) && (r.push(f.value), !(o && r.length === o)); i = !0)
489
+ for (o = o.call(e); !(i = (f = o.next()).done) && (r.push(f.value), !(a && r.length === a)); i = !0)
490
490
  ;
491
491
  } catch (E) {
492
492
  d = !0, c = E;
493
493
  } finally {
494
494
  try {
495
- !i && a.return != null && a.return();
495
+ !i && o.return != null && o.return();
496
496
  } finally {
497
497
  if (d) throw c;
498
498
  }
@@ -500,57 +500,57 @@ function No(e, o) {
500
500
  return r;
501
501
  }
502
502
  }
503
- function To(e) {
503
+ function Na(e) {
504
504
  if (Array.isArray(e)) return e;
505
505
  }
506
- function rt(e, o) {
507
- var a = Object.keys(e);
506
+ function rt(e, a) {
507
+ var o = Object.keys(e);
508
508
  if (Object.getOwnPropertySymbols) {
509
509
  var r = Object.getOwnPropertySymbols(e);
510
- o && (r = r.filter(function(i) {
510
+ a && (r = r.filter(function(i) {
511
511
  return Object.getOwnPropertyDescriptor(e, i).enumerable;
512
- })), a.push.apply(a, r);
512
+ })), o.push.apply(o, r);
513
513
  }
514
- return a;
514
+ return o;
515
515
  }
516
516
  function x(e) {
517
- for (var o = 1; o < arguments.length; o++) {
518
- var a = arguments[o] != null ? arguments[o] : {};
519
- o % 2 ? rt(Object(a), !0).forEach(function(r) {
520
- Ye(e, r, a[r]);
521
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(a)) : rt(Object(a)).forEach(function(r) {
522
- Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(a, r));
517
+ for (var a = 1; a < arguments.length; a++) {
518
+ var o = arguments[a] != null ? arguments[a] : {};
519
+ a % 2 ? rt(Object(o), !0).forEach(function(r) {
520
+ Be(e, r, o[r]);
521
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(o)) : rt(Object(o)).forEach(function(r) {
522
+ Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(o, r));
523
523
  });
524
524
  }
525
525
  return e;
526
526
  }
527
- function Ye(e, o, a) {
528
- return o in e ? Object.defineProperty(e, o, { value: a, enumerable: !0, configurable: !0, writable: !0 }) : e[o] = a, e;
527
+ function Be(e, a, o) {
528
+ return a in e ? Object.defineProperty(e, a, { value: o, enumerable: !0, configurable: !0, writable: !0 }) : e[a] = o, e;
529
529
  }
530
- function _e(e, o) {
530
+ function De(e, a) {
531
531
  if (e == null) return {};
532
- var a = Oo(e, o), r, i;
532
+ var o = Ta(e, a), r, i;
533
533
  if (Object.getOwnPropertySymbols) {
534
534
  var d = Object.getOwnPropertySymbols(e);
535
535
  for (i = 0; i < d.length; i++)
536
- r = d[i], !(o.indexOf(r) >= 0) && Object.prototype.propertyIsEnumerable.call(e, r) && (a[r] = e[r]);
536
+ r = d[i], !(a.indexOf(r) >= 0) && Object.prototype.propertyIsEnumerable.call(e, r) && (o[r] = e[r]);
537
537
  }
538
- return a;
538
+ return o;
539
539
  }
540
- function Oo(e, o) {
540
+ function Ta(e, a) {
541
541
  if (e == null) return {};
542
- var a = {}, r = Object.keys(e), i, d;
542
+ var o = {}, r = Object.keys(e), i, d;
543
543
  for (d = 0; d < r.length; d++)
544
- i = r[d], !(o.indexOf(i) >= 0) && (a[i] = e[i]);
545
- return a;
544
+ i = r[d], !(a.indexOf(i) >= 0) && (o[i] = e[i]);
545
+ return o;
546
546
  }
547
- var se = /* @__PURE__ */ Ht(function(e, o) {
548
- var a = e.children, r = _e(e, vo), i = Co(r), d = i.open, f = _e(i, Uo);
549
- return zt(o, function() {
547
+ var se = /* @__PURE__ */ Ht(function(e, a) {
548
+ var o = e.children, r = De(e, Ea), i = Oa(r), d = i.open, f = De(i, va);
549
+ return zt(a, function() {
550
550
  return {
551
551
  open: d
552
552
  };
553
- }, [d]), /* @__PURE__ */ Yt.createElement(Vt, null, a(x(x({}, f), {}, {
553
+ }, [d]), /* @__PURE__ */ Yt.createElement(Vt, null, o(x(x({}, f), {}, {
554
554
  open: d
555
555
  })));
556
556
  });
@@ -731,7 +731,7 @@ se.propTypes = {
731
731
  */
732
732
  validator: h.func
733
733
  };
734
- var He = {
734
+ var Ye = {
735
735
  isFocused: !1,
736
736
  isFileDialogActive: !1,
737
737
  isDragActive: !1,
@@ -741,108 +741,108 @@ var He = {
741
741
  acceptedFiles: [],
742
742
  fileRejections: []
743
743
  };
744
- function Co() {
745
- var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, o = x(x({}, mt), e), a = o.accept, r = o.disabled, i = o.getFilesFromEvent, d = o.maxSize, f = o.minSize, c = o.multiple, E = o.maxFiles, g = o.onDragEnter, A = o.onDragLeave, j = o.onDragOver, T = o.onDrop, L = o.onDropAccepted, S = o.onDropRejected, H = o.onFileDialogCancel, B = o.onFileDialogOpen, Y = o.useFsAccessApi, Z = o.preventDropOnDocument, le = o.noClick, y = o.noKeyboard, de = o.noDrag, v = o.noDragEventsBubbling, ce = o.validator, O = Ee(function() {
744
+ function Oa() {
745
+ var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, a = x(x({}, mt), e), o = a.accept, r = a.disabled, i = a.getFilesFromEvent, d = a.maxSize, f = a.minSize, c = a.multiple, E = a.maxFiles, g = a.onDragEnter, A = a.onDragLeave, v = a.onDragOver, N = a.onDrop, w = a.onDropAccepted, Q = a.onDropRejected, B = a.onFileDialogCancel, z = a.onFileDialogOpen, V = a.useFsAccessApi, X = a.preventDropOnDocument, b = a.noClick, J = a.noKeyboard, T = a.noDrag, P = a.noDragEventsBubbling, O = a.validator, Y = ye(function() {
746
+ return typeof z == "function" ? z : nt;
747
+ }, [z]), H = ye(function() {
746
748
  return typeof B == "function" ? B : nt;
747
- }, [B]), M = Ee(function() {
748
- return typeof H == "function" ? H : nt;
749
- }, [H]), U = Me(null), w = Me(null), pe = Wt(So, He), Ae = ke(pe, 2), z = Ae[0], D = Ae[1], we = z.isFocused, Q = z.isFileDialogActive, X = z.draggedFiles, ue = function() {
750
- Q && setTimeout(function() {
751
- if (w.current) {
752
- var p = w.current.files;
749
+ }, [B]), U = Le(null), j = Le(null), He = Wt(Ca, Ye), le = Me(He, 2), W = le[0], D = le[1], de = W.isFocused, ee = W.isFileDialogActive, ce = W.draggedFiles, pe = function() {
750
+ ee && setTimeout(function() {
751
+ if (j.current) {
752
+ var p = j.current.files;
753
753
  p.length || (D({
754
754
  type: "closeDialog"
755
- }), M());
755
+ }), H());
756
756
  }
757
757
  }, 300);
758
758
  };
759
759
  $e(function() {
760
- return Y && at() ? function() {
761
- } : (window.addEventListener("focus", ue, !1), function() {
762
- window.removeEventListener("focus", ue, !1);
760
+ return V && ot() ? function() {
761
+ } : (window.addEventListener("focus", pe, !1), function() {
762
+ window.removeEventListener("focus", pe, !1);
763
763
  });
764
- }, [w, Q, M, Y]);
765
- var k = Me([]), V = function(p) {
766
- U.current && U.current.contains(p.target) || (p.preventDefault(), k.current = []);
764
+ }, [j, ee, H, V]);
765
+ var C = Le([]), ue = function(p) {
766
+ U.current && U.current.contains(p.target) || (p.preventDefault(), C.current = []);
767
767
  };
768
768
  $e(function() {
769
- return Z && (document.addEventListener("dragover", ot, !1), document.addEventListener("drop", V, !1)), function() {
770
- Z && (document.removeEventListener("dragover", ot), document.removeEventListener("drop", V));
769
+ return X && (document.addEventListener("dragover", at, !1), document.addEventListener("drop", ue, !1)), function() {
770
+ X && (document.removeEventListener("dragover", at), document.removeEventListener("drop", ue));
771
771
  };
772
- }, [U, Z]);
773
- var fe = N(function(l) {
774
- l.preventDefault(), l.persist(), xe(l), k.current = [].concat(_o(k.current), [l.target]), ve(l) && Promise.resolve(i(l)).then(function(p) {
775
- De(l) && !v || (D({
772
+ }, [U, X]);
773
+ var fe = F(function(l) {
774
+ l.preventDefault(), l.persist(), ge(l), C.current = [].concat(Da(C.current), [l.target]), Ie(l) && Promise.resolve(i(l)).then(function(p) {
775
+ je(l) && !P || (D({
776
776
  draggedFiles: p,
777
777
  isDragActive: !0,
778
778
  type: "setDraggedFiles"
779
779
  }), g && g(l));
780
780
  });
781
- }, [i, g, v]), me = N(function(l) {
782
- l.preventDefault(), l.persist(), xe(l);
783
- var p = ve(l);
781
+ }, [i, g, P]), me = F(function(l) {
782
+ l.preventDefault(), l.persist(), ge(l);
783
+ var p = Ie(l);
784
784
  if (p && l.dataTransfer)
785
785
  try {
786
786
  l.dataTransfer.dropEffect = "copy";
787
787
  } catch {
788
788
  }
789
- return p && j && j(l), !1;
790
- }, [j, v]), he = N(function(l) {
791
- l.preventDefault(), l.persist(), xe(l);
792
- var p = k.current.filter(function(_) {
789
+ return p && v && v(l), !1;
790
+ }, [v, P]), G = F(function(l) {
791
+ l.preventDefault(), l.persist(), ge(l);
792
+ var p = C.current.filter(function(_) {
793
793
  return U.current && U.current.contains(_);
794
794
  }), I = p.indexOf(l.target);
795
- I !== -1 && p.splice(I, 1), k.current = p, !(p.length > 0) && (D({
795
+ I !== -1 && p.splice(I, 1), C.current = p, !(p.length > 0) && (D({
796
796
  isDragActive: !1,
797
797
  type: "setDraggedFiles",
798
798
  draggedFiles: []
799
- }), ve(l) && A && A(l));
800
- }, [U, A, v]), P = N(function(l, p) {
799
+ }), Ie(l) && A && A(l));
800
+ }, [U, A, P]), s = F(function(l, p) {
801
801
  var I = [], _ = [];
802
- l.forEach(function(F) {
803
- var oe = pt(F, a), $ = ke(oe, 2), Re = $[0], Fe = $[1], Ne = ut(F, f, d), be = ke(Ne, 2), Te = be[0], Oe = be[1], Ce = ce ? ce(F) : null;
804
- if (Re && Te && !Ce)
805
- I.push(F);
802
+ l.forEach(function(R) {
803
+ var oe = pt(R, o), K = Me(oe, 2), Ae = K[0], we = K[1], Re = ut(R, f, d), xe = Me(Re, 2), Fe = xe[0], Ne = xe[1], Te = O ? O(R) : null;
804
+ if (Ae && Fe && !Te)
805
+ I.push(R);
806
806
  else {
807
- var Se = [Fe, Oe];
808
- Ce && (Se = Se.concat(Ce)), _.push({
809
- file: F,
810
- errors: Se.filter(function(yt) {
807
+ var Oe = [we, Ne];
808
+ Te && (Oe = Oe.concat(Te)), _.push({
809
+ file: R,
810
+ errors: Oe.filter(function(yt) {
811
811
  return yt;
812
812
  })
813
813
  });
814
814
  }
815
- }), (!c && I.length > 1 || c && E >= 1 && I.length > E) && (I.forEach(function(F) {
815
+ }), (!c && I.length > 1 || c && E >= 1 && I.length > E) && (I.forEach(function(R) {
816
816
  _.push({
817
- file: F,
818
- errors: [go]
817
+ file: R,
818
+ errors: [ha]
819
819
  });
820
820
  }), I.splice(0)), D({
821
821
  acceptedFiles: I,
822
822
  fileRejections: _,
823
823
  type: "setFiles"
824
- }), T && T(I, _, p), _.length > 0 && S && S(_, p), I.length > 0 && L && L(I, p);
825
- }, [D, c, a, f, d, E, T, L, S, ce]), s = N(function(l) {
826
- l.preventDefault(), l.persist(), xe(l), k.current = [], ve(l) && Promise.resolve(i(l)).then(function(p) {
827
- De(l) && !v || P(p, l);
824
+ }), N && N(I, _, p), _.length > 0 && Q && Q(_, p), I.length > 0 && w && w(I, p);
825
+ }, [D, c, o, f, d, E, N, w, Q, O]), y = F(function(l) {
826
+ l.preventDefault(), l.persist(), ge(l), C.current = [], Ie(l) && Promise.resolve(i(l)).then(function(p) {
827
+ je(l) && !P || s(p, l);
828
828
  }), D({
829
829
  type: "reset"
830
830
  });
831
- }, [i, P, v]), b = N(function() {
832
- if (Y && at()) {
831
+ }, [i, s, P]), L = F(function() {
832
+ if (V && ot()) {
833
833
  D({
834
834
  type: "openDialog"
835
- }), O();
835
+ }), Y();
836
836
  var l = {
837
837
  multiple: c,
838
- types: Eo(a)
838
+ types: Ia(o)
839
839
  };
840
840
  window.showOpenFilePicker(l).then(function(p) {
841
841
  return i(p);
842
842
  }).then(function(p) {
843
- return P(p, null);
843
+ return s(p, null);
844
844
  }).catch(function(p) {
845
- return M(p);
845
+ return H(p);
846
846
  }).finally(function() {
847
847
  return D({
848
848
  type: "closeDialog"
@@ -850,85 +850,85 @@ function Co() {
850
850
  });
851
851
  return;
852
852
  }
853
- w.current && (D({
853
+ j.current && (D({
854
854
  type: "openDialog"
855
- }), O(), w.current.value = null, w.current.click());
856
- }, [D, O, M, Y, P, a, c]), J = N(function(l) {
857
- !U.current || !U.current.isEqualNode(l.target) || (l.keyCode === 32 || l.keyCode === 13) && (l.preventDefault(), b());
858
- }, [U, w, b]), W = N(function() {
855
+ }), Y(), j.current.value = null, j.current.click());
856
+ }, [D, Y, H, V, s, o, c]), $ = F(function(l) {
857
+ !U.current || !U.current.isEqualNode(l.target) || (l.keyCode === 32 || l.keyCode === 13) && (l.preventDefault(), L());
858
+ }, [U, j, L]), te = F(function() {
859
859
  D({
860
860
  type: "focus"
861
861
  });
862
- }, []), ee = N(function() {
862
+ }, []), ae = F(function() {
863
863
  D({
864
864
  type: "blur"
865
865
  });
866
- }, []), te = N(function() {
867
- le || (Io() ? setTimeout(b, 0) : b());
868
- }, [w, le, b]), R = function(p) {
866
+ }, []), M = F(function() {
867
+ b || (ya() ? setTimeout(L, 0) : L());
868
+ }, [j, b, L]), k = function(p) {
869
869
  return r ? null : p;
870
- }, G = function(p) {
871
- return y ? null : R(p);
870
+ }, _e = function(p) {
871
+ return J ? null : k(p);
872
+ }, he = function(p) {
873
+ return T ? null : k(p);
872
874
  }, ge = function(p) {
873
- return de ? null : R(p);
874
- }, xe = function(p) {
875
- v && p.stopPropagation();
876
- }, ht = Ee(function() {
875
+ P && p.stopPropagation();
876
+ }, ht = ye(function() {
877
877
  return function() {
878
- var l = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, p = l.refKey, I = p === void 0 ? "ref" : p, _ = l.role, F = l.onKeyDown, oe = l.onFocus, $ = l.onBlur, Re = l.onClick, Fe = l.onDragEnter, Ne = l.onDragOver, be = l.onDragLeave, Te = l.onDrop, Oe = _e(l, jo);
879
- return x(x(Ye({
880
- onKeyDown: G(C(F, J)),
881
- onFocus: G(C(oe, W)),
882
- onBlur: G(C($, ee)),
883
- onClick: R(C(Re, te)),
884
- onDragEnter: ge(C(Fe, fe)),
885
- onDragOver: ge(C(Ne, me)),
886
- onDragLeave: ge(C(be, he)),
887
- onDrop: ge(C(Te, s)),
878
+ var l = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, p = l.refKey, I = p === void 0 ? "ref" : p, _ = l.role, R = l.onKeyDown, oe = l.onFocus, K = l.onBlur, Ae = l.onClick, we = l.onDragEnter, Re = l.onDragOver, xe = l.onDragLeave, Fe = l.onDrop, Ne = De(l, Ua);
879
+ return x(x(Be({
880
+ onKeyDown: _e(S(R, $)),
881
+ onFocus: _e(S(oe, te)),
882
+ onBlur: _e(S(K, ae)),
883
+ onClick: k(S(Ae, M)),
884
+ onDragEnter: he(S(we, fe)),
885
+ onDragOver: he(S(Re, me)),
886
+ onDragLeave: he(S(xe, G)),
887
+ onDrop: he(S(Fe, y)),
888
888
  role: typeof _ == "string" && _ !== "" ? _ : "button"
889
- }, I, U), !r && !y ? {
889
+ }, I, U), !r && !J ? {
890
890
  tabIndex: 0
891
- } : {}), Oe);
891
+ } : {}), Ne);
892
892
  };
893
- }, [U, J, W, ee, te, fe, me, he, s, y, de, r]), gt = N(function(l) {
893
+ }, [U, $, te, ae, M, fe, me, G, y, J, T, r]), gt = F(function(l) {
894
894
  l.stopPropagation();
895
- }, []), xt = Ee(function() {
895
+ }, []), xt = ye(function() {
896
896
  return function() {
897
- var l = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, p = l.refKey, I = p === void 0 ? "ref" : p, _ = l.onChange, F = l.onClick, oe = _e(l, Do), $ = Ye({
898
- accept: a,
897
+ var l = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, p = l.refKey, I = p === void 0 ? "ref" : p, _ = l.onChange, R = l.onClick, oe = De(l, ja), K = Be({
898
+ accept: o,
899
899
  multiple: c,
900
900
  type: "file",
901
901
  style: {
902
902
  display: "none"
903
903
  },
904
- onChange: R(C(_, s)),
905
- onClick: R(C(F, gt)),
904
+ onChange: k(S(_, y)),
905
+ onClick: k(S(R, gt)),
906
906
  autoComplete: "off",
907
907
  tabIndex: -1
908
- }, I, w);
909
- return x(x({}, $), oe);
908
+ }, I, j);
909
+ return x(x({}, K), oe);
910
910
  };
911
- }, [w, a, c, s, r]), ze = X.length, Ve = ze > 0 && xo({
912
- files: X,
913
- accept: a,
911
+ }, [j, o, c, y, r]), ze = ce.length, Ve = ze > 0 && ga({
912
+ files: ce,
913
+ accept: o,
914
914
  minSize: f,
915
915
  maxSize: d,
916
916
  multiple: c,
917
917
  maxFiles: E
918
918
  }), bt = ze > 0 && !Ve;
919
- return x(x({}, z), {}, {
919
+ return x(x({}, W), {}, {
920
920
  isDragAccept: Ve,
921
921
  isDragReject: bt,
922
- isFocused: we && !r,
922
+ isFocused: de && !r,
923
923
  getRootProps: ht,
924
924
  getInputProps: xt,
925
925
  rootRef: U,
926
- inputRef: w,
927
- open: R(b)
926
+ inputRef: j,
927
+ open: k(L)
928
928
  });
929
929
  }
930
- function So(e, o) {
931
- switch (o.type) {
930
+ function Ca(e, a) {
931
+ switch (a.type) {
932
932
  case "focus":
933
933
  return x(x({}, e), {}, {
934
934
  isFocused: !0
@@ -938,7 +938,7 @@ function So(e, o) {
938
938
  isFocused: !1
939
939
  });
940
940
  case "openDialog":
941
- return x(x({}, He), {}, {
941
+ return x(x({}, Ye), {}, {
942
942
  isFileDialogActive: !0
943
943
  });
944
944
  case "closeDialog":
@@ -946,42 +946,42 @@ function So(e, o) {
946
946
  isFileDialogActive: !1
947
947
  });
948
948
  case "setDraggedFiles":
949
- var a = o.isDragActive, r = o.draggedFiles;
949
+ var o = a.isDragActive, r = a.draggedFiles;
950
950
  return x(x({}, e), {}, {
951
951
  draggedFiles: r,
952
- isDragActive: a
952
+ isDragActive: o
953
953
  });
954
954
  case "setFiles":
955
955
  return x(x({}, e), {}, {
956
- acceptedFiles: o.acceptedFiles,
957
- fileRejections: o.fileRejections
956
+ acceptedFiles: a.acceptedFiles,
957
+ fileRejections: a.fileRejections
958
958
  });
959
959
  case "reset":
960
- return x({}, He);
960
+ return x({}, Ye);
961
961
  default:
962
962
  return e;
963
963
  }
964
964
  }
965
965
  function nt() {
966
966
  }
967
- function re({
967
+ function Ee({
968
968
  title: e,
969
- children: o,
970
- id: a,
969
+ children: a,
970
+ id: o,
971
971
  defaultState: r = "closed"
972
972
  }) {
973
- const [i, d] = ne(r === "open"), f = `${a}-region`, c = () => d(!i);
973
+ const [i, d] = ne(r === "open"), f = `${o}-region`, c = () => d(!i);
974
974
  return /* @__PURE__ */ t.jsxs(
975
975
  "section",
976
976
  {
977
- className: `sid-expanding-section sid-expanding-section-${a} sid-l-space-top-sm sid-l-space-btm-sm`,
977
+ className: `sid-expanding-section sid-expanding-section-${o} sid-l-space-top-sm sid-l-space-btm-sm`,
978
978
  children: [
979
979
  /* @__PURE__ */ t.jsx("header", { children: /* @__PURE__ */ t.jsxs(
980
980
  "button",
981
981
  {
982
982
  "aria-controls": f,
983
983
  "aria-expanded": i,
984
- id: a,
984
+ id: o,
985
985
  type: "button",
986
986
  className: "sid-expanding-section__title",
987
987
  onClick: c,
@@ -996,12 +996,12 @@ function re({
996
996
  ]
997
997
  }
998
998
  ) }),
999
- /* @__PURE__ */ t.jsx("div", { id: f, role: "region", "aria-labelledby": a, children: i && /* @__PURE__ */ t.jsx("div", { className: "sid-expanding-section__children", children: o }) })
999
+ /* @__PURE__ */ t.jsx("div", { id: f, role: "region", "aria-labelledby": o, children: i && /* @__PURE__ */ t.jsx("div", { className: "sid-expanding-section__children", children: a }) })
1000
1000
  ]
1001
1001
  }
1002
1002
  );
1003
1003
  }
1004
- const Lo = {
1004
+ const Sa = {
1005
1005
  [u.STUDENT]: [
1006
1006
  "step.docUpload.acceptableUploads.student.idCard",
1007
1007
  "step.docUpload.acceptableUploads.student.classSchedule",
@@ -1057,7 +1057,7 @@ const Lo = {
1057
1057
  "step.docUpload.acceptableUploads.lowIncome.programApprovalScreenshot",
1058
1058
  "step.docUpload.acceptableUploads.lowIncome.programBankStatement"
1059
1059
  ]
1060
- }, Mo = {
1060
+ }, La = {
1061
1061
  [n.ACTIVE_DUTY]: [
1062
1062
  "step.docUpload.acceptableUploads.military.active.leaveEarningStatement",
1063
1063
  "step.docUpload.acceptableUploads.military.active.uniformedServicesId"
@@ -1103,7 +1103,7 @@ const Lo = {
1103
1103
  [n.LICENSED_REAL_ESTATE_AGENT]: [
1104
1104
  "step.docUpload.acceptableUploads.licensedProfessional.license"
1105
1105
  ],
1106
- [n.VETERINARIAN]: [],
1106
+ [n.VETERINARIAN]: ["step.docUpload.acceptableUploads.licensedProfessional.license"],
1107
1107
  [n.SNAP_BENEFITS]: [
1108
1108
  "step.docUpload.acceptableUploads.lowIncome.programCard",
1109
1109
  "step.docUpload.acceptableUploads.lowIncome.programApprovalLetter",
@@ -1116,7 +1116,9 @@ const Lo = {
1116
1116
  "step.docUpload.acceptableUploads.lowIncome.programApprovalScreenshot",
1117
1117
  "step.docUpload.acceptableUploads.lowIncome.programBankStatement"
1118
1118
  ],
1119
- [n.CHILD_CARE_WORKER]: [],
1119
+ [n.CHILD_CARE_WORKER]: [
1120
+ "step.docUpload.acceptableUploads.licensedProfessional.license"
1121
+ ],
1120
1122
  [n.LIBRARIAN]: [],
1121
1123
  [n.INTERIOR_DESIGNER]: [],
1122
1124
  [n.ARCHITECT]: [],
@@ -1124,7 +1126,7 @@ const Lo = {
1124
1126
  [n.NUTRITION_PROFESSIONAL]: [
1125
1127
  "step.docUpload.acceptableUploads.licensedProfessional.license"
1126
1128
  ]
1127
- }, ko = {
1129
+ }, Ma = {
1128
1130
  [u.STUDENT]: [
1129
1131
  "step.docUpload.uploadInfo.fullName",
1130
1132
  "step.docUpload.uploadInfo.institutionName",
@@ -1182,7 +1184,7 @@ const Lo = {
1182
1184
  "step.docUpload.uploadInfo.fullName",
1183
1185
  "step.docUpload.uploadInfo.lowIncome.validDate"
1184
1186
  ]
1185
- }, Po = {
1187
+ }, ka = {
1186
1188
  [n.ACTIVE_DUTY]: ["step.docUpload.uploadInfo.military.activeDuty.status"],
1187
1189
  [n.VETERAN]: ["step.docUpload.uploadInfo.military.veteran.status"],
1188
1190
  [n.RESERVIST]: ["step.docUpload.uploadInfo.military.reservist.status"],
@@ -1211,37 +1213,37 @@ const Lo = {
1211
1213
  [n.ARCHITECT]: [],
1212
1214
  [n.GENERAL_CONTRACTOR]: [],
1213
1215
  [n.NUTRITION_PROFESSIONAL]: []
1214
- }, Bo = {
1216
+ }, Pa = {
1215
1217
  // MILITARY_FAMILY is overridden to not show branch of service.
1216
1218
  [n.MILITARY_FAMILY]: [
1217
1219
  "step.docUpload.uploadInfo.fullName",
1218
1220
  "step.docUpload.uploadInfo.military.militaryFamily.status"
1219
1221
  ]
1220
1222
  };
1221
- function Yo(e, o) {
1223
+ function Ba(e, a) {
1222
1224
  return [
1223
1225
  .../* @__PURE__ */ new Set([
1224
- ...Mo[o] || [],
1225
- ...Lo[e] || []
1226
+ ...La[a] || [],
1227
+ ...Sa[e] || []
1226
1228
  ])
1227
1229
  ];
1228
1230
  }
1229
- function Ho(e, o) {
1230
- return Bo[o] || [
1231
+ function Ya(e, a) {
1232
+ return Pa[a] || [
1231
1233
  .../* @__PURE__ */ new Set([
1232
- ...Po[o] || [],
1233
- ...ko[e] || []
1234
+ ...ka[a] || [],
1235
+ ...Ma[e] || []
1234
1236
  ])
1235
1237
  ];
1236
1238
  }
1237
- const zo = ({
1239
+ const Ha = ({
1238
1240
  options: e,
1239
- selected: o,
1240
- onChange: a,
1241
+ selected: a,
1242
+ onChange: o,
1241
1243
  showError: r
1242
1244
  }) => {
1243
1245
  const i = (d, f) => {
1244
- f.target.checked ? a(o.concat(d)) : a(o.filter((c) => c !== d));
1246
+ f.target.checked ? o(a.concat(d)) : o(a.filter((c) => c !== d));
1245
1247
  };
1246
1248
  return /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
1247
1249
  /* @__PURE__ */ t.jsx("h2", { className: "sid-header__subtitle sid-l-space-top-md sid-l-space-btm-md", children: /* @__PURE__ */ t.jsx(
@@ -1261,14 +1263,14 @@ const zo = ({
1261
1263
  type: "checkbox",
1262
1264
  name: "requirements",
1263
1265
  value: d,
1264
- checked: o.includes(d),
1266
+ checked: a.includes(d),
1265
1267
  onChange: i.bind(null, d),
1266
- "aria-invalid": r && !o.includes(d)
1268
+ "aria-invalid": r && !a.includes(d)
1267
1269
  }
1268
1270
  ),
1269
1271
  /* @__PURE__ */ t.jsxs("div", { className: "sid-l-space-btm-md", children: [
1270
1272
  /* @__PURE__ */ t.jsx(m, { id: d }),
1271
- r && !o.includes(d) && /* @__PURE__ */ t.jsx("div", { className: "sid-field-error", children: /* @__PURE__ */ t.jsx(
1273
+ r && !a.includes(d) && /* @__PURE__ */ t.jsx("div", { className: "sid-field-error", children: /* @__PURE__ */ t.jsx(
1272
1274
  m,
1273
1275
  {
1274
1276
  id: "step.docUpload.confirm",
@@ -1279,16 +1281,16 @@ const zo = ({
1279
1281
  ] })
1280
1282
  )) })
1281
1283
  ] });
1282
- }, Vo = ({ children: e }) => /* @__PURE__ */ t.jsxs("div", { className: "sid-named-divider", children: [
1284
+ }, za = ({ children: e }) => /* @__PURE__ */ t.jsxs("div", { className: "sid-named-divider", children: [
1283
1285
  /* @__PURE__ */ t.jsx("hr", { className: "sid-named-divider__rule" }),
1284
1286
  /* @__PURE__ */ t.jsx("p", { className: "sid-named-divider__text", children: e })
1285
1287
  ] });
1286
- function Wo({
1288
+ function Va({
1287
1289
  title: e,
1288
- titleId: o,
1289
- ...a
1290
+ titleId: a,
1291
+ ...o
1290
1292
  }, r) {
1291
- return /* @__PURE__ */ Ue.createElement("svg", Object.assign({
1293
+ return /* @__PURE__ */ ve.createElement("svg", Object.assign({
1292
1294
  xmlns: "http://www.w3.org/2000/svg",
1293
1295
  fill: "none",
1294
1296
  viewBox: "0 0 24 24",
@@ -1297,16 +1299,16 @@ function Wo({
1297
1299
  "aria-hidden": "true",
1298
1300
  "data-slot": "icon",
1299
1301
  ref: r,
1300
- "aria-labelledby": o
1301
- }, a), e ? /* @__PURE__ */ Ue.createElement("title", {
1302
- id: o
1303
- }, e) : null, /* @__PURE__ */ Ue.createElement("path", {
1302
+ "aria-labelledby": a
1303
+ }, o), e ? /* @__PURE__ */ ve.createElement("title", {
1304
+ id: a
1305
+ }, e) : null, /* @__PURE__ */ ve.createElement("path", {
1304
1306
  strokeLinecap: "round",
1305
1307
  strokeLinejoin: "round",
1306
1308
  d: "M12 9v6m3-3H9m12 0a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"
1307
1309
  }));
1308
1310
  }
1309
- const Go = /* @__PURE__ */ Ue.forwardRef(Wo), $o = (e) => /* @__PURE__ */ t.jsxs(
1311
+ const Wa = /* @__PURE__ */ ve.forwardRef(Va), Ga = (e) => /* @__PURE__ */ t.jsxs(
1310
1312
  "svg",
1311
1313
  {
1312
1314
  xmlns: "http://www.w3.org/2000/svg",
@@ -1474,7 +1476,7 @@ const Go = /* @__PURE__ */ Ue.forwardRef(Wo), $o = (e) => /* @__PURE__ */ t.jsxs
1474
1476
  )
1475
1477
  ]
1476
1478
  }
1477
- ), Ko = (e) => /* @__PURE__ */ t.jsxs(
1479
+ ), $a = (e) => /* @__PURE__ */ t.jsxs(
1478
1480
  "svg",
1479
1481
  {
1480
1482
  xmlns: "http://www.w3.org/2000/svg",
@@ -1539,7 +1541,7 @@ const Go = /* @__PURE__ */ Ue.forwardRef(Wo), $o = (e) => /* @__PURE__ */ t.jsxs
1539
1541
  )
1540
1542
  ]
1541
1543
  }
1542
- ), qo = (e) => /* @__PURE__ */ t.jsxs(
1544
+ ), Ka = (e) => /* @__PURE__ */ t.jsxs(
1543
1545
  "svg",
1544
1546
  {
1545
1547
  xmlns: "http://www.w3.org/2000/svg",
@@ -1603,21 +1605,21 @@ const Go = /* @__PURE__ */ Ue.forwardRef(Wo), $o = (e) => /* @__PURE__ */ t.jsxs
1603
1605
  )
1604
1606
  ]
1605
1607
  }
1606
- ), Zo = ["ID_CARD", "SCHEDULE"];
1607
- function Qo(e, o) {
1608
- return e === "ID_CARD" && o === "large" ? $o : e === "ID_CARD" && o === "small" ? it : e === "SCHEDULE" && o === "large" ? Ko : e === "SCHEDULE" && o === "small" ? qo : it;
1608
+ ), qa = ["ID_CARD", "SCHEDULE"];
1609
+ function Za(e, a) {
1610
+ return e === "ID_CARD" && a === "large" ? Ga : e === "ID_CARD" && a === "small" ? it : e === "SCHEDULE" && a === "large" ? $a : e === "SCHEDULE" && a === "small" ? Ka : it;
1609
1611
  }
1610
- const Xo = ({ onFileDrop: e, type: o, style: a = "small" }) => {
1611
- const r = Qo(o, a);
1612
- return /* @__PURE__ */ t.jsx(se, { onDrop: (i) => e(i, o), children: ({ getRootProps: i, getInputProps: d }) => /* @__PURE__ */ t.jsxs("section", { ...i(), className: "sid-document-type-attachment-wrap", children: [
1612
+ const Qa = ({ onFileDrop: e, type: a, style: o = "small" }) => {
1613
+ const r = Za(a, o);
1614
+ return /* @__PURE__ */ t.jsx(se, { onDrop: (i) => e(i, a), children: ({ getRootProps: i, getInputProps: d }) => /* @__PURE__ */ t.jsxs("section", { ...i(), className: "sid-document-type-attachment-wrap", children: [
1613
1615
  /* @__PURE__ */ t.jsx("input", { ...d() }),
1614
- a === "small" ? /* @__PURE__ */ t.jsxs("button", { className: "sid-document-type-attachment", type: "button", children: [
1616
+ o === "small" ? /* @__PURE__ */ t.jsxs("button", { className: "sid-document-type-attachment", type: "button", children: [
1615
1617
  /* @__PURE__ */ t.jsx(r, { className: "sid-document-type-attachment__icon-small" }),
1616
1618
  /* @__PURE__ */ t.jsxs("span", { className: "sid-document-type-attachment__text", children: [
1617
- o === "ID_CARD" && /* @__PURE__ */ t.jsx(t.Fragment, { children: "Dated School ID card" }),
1618
- o === "SCHEDULE" && /* @__PURE__ */ t.jsx(t.Fragment, { children: "Class Schedule" })
1619
+ a === "ID_CARD" && /* @__PURE__ */ t.jsx(t.Fragment, { children: "Dated School ID card" }),
1620
+ a === "SCHEDULE" && /* @__PURE__ */ t.jsx(t.Fragment, { children: "Class Schedule" })
1619
1621
  ] }),
1620
- /* @__PURE__ */ t.jsx(Go, { className: "sid-document-type-attachment__plus" })
1622
+ /* @__PURE__ */ t.jsx(Wa, { className: "sid-document-type-attachment__plus" })
1621
1623
  ] }) : /* @__PURE__ */ t.jsxs(
1622
1624
  "button",
1623
1625
  {
@@ -1626,14 +1628,14 @@ const Xo = ({ onFileDrop: e, type: o, style: a = "small" }) => {
1626
1628
  children: [
1627
1629
  /* @__PURE__ */ t.jsx(r, { className: "sid-document-type-attachment__icon-large" }),
1628
1630
  /* @__PURE__ */ t.jsxs("span", { className: "sid-document-type-attachment__text-large", children: [
1629
- o === "ID_CARD" && /* @__PURE__ */ t.jsx(t.Fragment, { children: "Add your dated school ID card" }),
1630
- o === "SCHEDULE" && /* @__PURE__ */ t.jsx(t.Fragment, { children: "Add your class schedule" })
1631
+ a === "ID_CARD" && /* @__PURE__ */ t.jsx(t.Fragment, { children: "Add your dated school ID card" }),
1632
+ a === "SCHEDULE" && /* @__PURE__ */ t.jsx(t.Fragment, { children: "Add your class schedule" })
1631
1633
  ] })
1632
1634
  ]
1633
1635
  }
1634
1636
  )
1635
1637
  ] }) });
1636
- }, Jo = {
1638
+ }, Xa = {
1637
1639
  [u.STUDENT]: [
1638
1640
  "step.docUpload.uploadInfo.fullName",
1639
1641
  "step.docUpload.uploadInfo.student.school",
@@ -1696,7 +1698,7 @@ const Xo = ({ onFileDrop: e, type: o, style: a = "small" }) => {
1696
1698
  "step.docUpload.uploadInfo.recentMover.address",
1697
1699
  "step.docUpload.uploadInfo.recentMover.validDate"
1698
1700
  ]
1699
- }, ea = {
1701
+ }, Ja = {
1700
1702
  [n.ACTIVE_DUTY]: [],
1701
1703
  [n.VETERAN]: [],
1702
1704
  [n.RESERVIST]: [],
@@ -1725,95 +1727,95 @@ const Xo = ({ onFileDrop: e, type: o, style: a = "small" }) => {
1725
1727
  [n.ARCHITECT]: [],
1726
1728
  [n.GENERAL_CONTRACTOR]: [],
1727
1729
  [n.NUTRITION_PROFESSIONAL]: []
1728
- }, ta = {
1730
+ }, eo = {
1729
1731
  // MILITARY_FAMILY is overridden to not show branch of service.
1730
1732
  [n.MILITARY_FAMILY]: [
1731
1733
  "step.docUpload.uploadInfo.military.uploadInstructionsDependent"
1732
1734
  ]
1733
1735
  };
1734
- function oa(e, o) {
1735
- return ta[o] || [
1736
- ...ea[o] || [],
1737
- ...Jo[e] || []
1736
+ function to(e, a) {
1737
+ return eo[a] || [
1738
+ ...Ja[a] || [],
1739
+ ...Xa[e] || []
1738
1740
  ];
1739
1741
  }
1740
- const st = ({ errorId: e, erroredFileNames: o, fieldValidationErrors: a }) => e ? /* @__PURE__ */ t.jsxs("div", { className: "sid-field-error sid-field-error-redesign__doc-upload", children: [
1742
+ const st = ({ errorId: e, erroredFileNames: a, fieldValidationErrors: o }) => e ? /* @__PURE__ */ t.jsxs("div", { className: "sid-field-error sid-field-error-redesign__doc-upload", children: [
1741
1743
  /* @__PURE__ */ t.jsx(
1742
1744
  m,
1743
1745
  {
1744
- id: `errorId.${a.docUpload}`,
1746
+ id: `errorId.${o.docUpload}`,
1745
1747
  defaultMessage: "No valid files"
1746
1748
  }
1747
1749
  ),
1748
- o ? o.map((r) => /* @__PURE__ */ t.jsx("div", { className: "sid-field-error-redesign__doc-upload__span", children: r }, `error-${r}`)) : null
1749
- ] }) : null, aa = ({ verificationService: e, intl: o }) => {
1750
- const [a, r] = ne(!1), i = e.verificationResponse, { rejectionReasons: d, segment: f, subSegment: c } = i, { programTheme: E } = e, g = e.viewModel, { fieldValidationErrors: A } = e, { overrideEnabled: j } = e.programTheme, T = ye("doc-upload-redesign-use-legacy-message-keys"), L = ye("doc-upload-considerations"), S = (T ? oa : Ho)(
1750
+ a ? a.map((r) => /* @__PURE__ */ t.jsx("div", { className: "sid-field-error-redesign__doc-upload__span", children: r }, `error-${r}`)) : null
1751
+ ] }) : null, ao = ({ verificationService: e, intl: a }) => {
1752
+ const [o, r] = ne(!1), i = e.verificationResponse, { rejectionReasons: d, segment: f, subSegment: c } = i, { programTheme: E } = e, g = e.viewModel, { fieldValidationErrors: A } = e, { overrideEnabled: v } = e.programTheme, N = Ce("doc-upload-redesign-use-legacy-message-keys"), w = (N ? to : Ya)(
1751
1753
  f,
1752
1754
  c
1753
- ), H = e.verificationResponse.country === "US", B = (s) => ({
1755
+ ), Q = e.verificationResponse.country === "US", B = (s) => ({
1754
1756
  name: s.name,
1755
1757
  url: s.type.includes("image") ? URL.createObjectURL(s) : ""
1756
- }), [Y, Z] = ne({}), { userDidConvert: le } = Et(f), y = [], de = ye("doc-upload-may24"), v = i.segment === "student" && i.locale === "en-US" ? de : "default", O = ye("docUpload-assertion-checklist") === "checklist", [M, U] = ne([]), [w, pe] = ne(!1);
1757
- vt(Ut) && y.push({
1758
+ }), [z, V] = ne({}), { userDidConvert: X } = Et(f), b = [], J = Ce("doc-upload-may24"), T = i.segment === "student" && i.locale === "en-US" ? J : "default", O = Ce("docUpload-assertion-checklist") === "checklist", [Y, H] = ne([]), [U, j] = ne(!1);
1759
+ vt(Ut) && b.push({
1758
1760
  name: "myFile.png",
1759
1761
  url: ""
1760
1762
  });
1761
- const z = o.formatMessage({
1763
+ const le = a.formatMessage({
1762
1764
  id: "step.docUpload.addFile",
1763
1765
  defaultMessage: "Add documents"
1764
1766
  });
1765
- g.file1 && g.file1.name && y.push(B(g.file1)), g.file2 && g.file2.name && y.push(B(g.file2)), g.file3 && g.file3.name && y.push(B(g.file3));
1766
- const D = y.map((s) => Y[s.name]), we = (s, b) => {
1767
- r(!1), e.updateViewModel(Bt(g, s, b));
1768
- }, Q = (s) => {
1769
- const b = s + 1;
1770
- r(!1), U([]), pe(!1), e.updateViewModel(St(g, b));
1771
- }, X = A.docUpload || jt(() => e.verificationResponse.errorIds[0], void 0), ue = (s, b) => {
1772
- const J = [], W = [], ee = [];
1773
- for (const R of s) {
1774
- const G = Pt(
1775
- Ie.docUpload,
1776
- R,
1767
+ g.file1 && g.file1.name && b.push(B(g.file1)), g.file2 && g.file2.name && b.push(B(g.file2)), g.file3 && g.file3.name && b.push(B(g.file3));
1768
+ const W = b.map((s) => z[s.name]), D = (s, y) => {
1769
+ r(!1), e.updateViewModel(Bt(g, s, y));
1770
+ }, de = (s) => {
1771
+ const y = s + 1;
1772
+ r(!1), H([]), j(!1), e.updateViewModel(St(g, y));
1773
+ }, ee = A.docUpload || jt(() => e.verificationResponse.errorIds[0], void 0), ce = (s, y) => {
1774
+ const L = [], $ = [], te = [];
1775
+ for (const M of s) {
1776
+ const k = Pt(
1777
+ be.docUpload,
1778
+ M,
1777
1779
  e.formValidationOptions
1778
1780
  );
1779
- G === void 0 ? (b && Z({ ...Y, [R.name]: b }), J.push(R)) : (ee.push(R.name), W.push(G));
1781
+ k === void 0 ? (y && V({ ...z, [M.name]: y }), L.push(M)) : (te.push(M.name), $.push(k));
1780
1782
  }
1781
- let te;
1782
- W && (te = Ge(A, (R) => {
1783
- R.docUpload = W[0];
1784
- })), e.updateFieldValidationErrors(te), we(J, ee);
1785
- }, k = () => {
1786
- Le.info("StepDocUploadComponent submitting form"), pe(!0), (O && S.every((s) => M.includes(s)) || !O) && (e.submitStep(
1787
- Ie.docUpload,
1783
+ let ae;
1784
+ $ && (ae = Ge(A, (M) => {
1785
+ M.docUpload = $[0];
1786
+ })), e.updateFieldValidationErrors(ae), D(L, te);
1787
+ }, pe = () => {
1788
+ Se.info("StepDocUploadComponent submitting form"), j(!0), (O && w.every((s) => Y.includes(s)) || !O) && (e.submitStep(
1789
+ be.docUpload,
1788
1790
  g,
1789
1791
  e.verificationResponse
1790
- ), le(Mt, kt));
1791
- }, V = (s, b) => {
1792
- s.length > 0 ? ue(s, b) : s.length <= 0 && Le.error(
1792
+ ), X(Mt, kt));
1793
+ }, C = (s, y) => {
1794
+ s.length > 0 ? ce(s, y) : s.length <= 0 && Se.error(
1793
1795
  "No files were accepted or rejected. Unknown error.",
1794
- Ie.docUpload
1796
+ be.docUpload
1795
1797
  );
1798
+ }, ue = (s) => {
1799
+ C(Array.from(s.target.files));
1796
1800
  }, fe = (s) => {
1797
- V(Array.from(s.target.files));
1798
- }, me = (s) => {
1799
- const b = Lt("addFile");
1800
- (s.key === "Enter" || s.key === " ") && (s.preventDefault(), s.stopPropagation(), b.click());
1801
- }, he = async () => {
1802
- Le.info("StepDocUploadComponent submitting form after skipping document upload");
1801
+ const y = Lt("addFile");
1802
+ (s.key === "Enter" || s.key === " ") && (s.preventDefault(), s.stopPropagation(), y.click());
1803
+ }, me = async () => {
1804
+ Se.info("StepDocUploadComponent submitting form after skipping document upload");
1803
1805
  const s = Ge(g, () => {
1804
1806
  });
1805
1807
  e.submitStep(
1806
- Ie.cancelDocUpload,
1808
+ be.cancelDocUpload,
1807
1809
  s,
1808
1810
  e.verificationResponse
1809
1811
  );
1810
- }, P = /* @__PURE__ */ t.jsx("div", { className: "sid-upload-wrap sid-l-space-top-md sid-l-space-btm-md", children: v === "doc-type-icons" ? /* @__PURE__ */ t.jsx(t.Fragment, { children: Zo.map(
1811
- (s) => !D.includes(s) && /* @__PURE__ */ t.jsx(
1812
- Xo,
1812
+ }, G = /* @__PURE__ */ t.jsx("div", { className: "sid-upload-wrap sid-l-space-top-md sid-l-space-btm-md", children: T === "doc-type-icons" ? /* @__PURE__ */ t.jsx(t.Fragment, { children: qa.map(
1813
+ (s) => !W.includes(s) && /* @__PURE__ */ t.jsx(
1814
+ Qa,
1813
1815
  {
1814
- onFileDrop: V,
1816
+ onFileDrop: C,
1815
1817
  type: s,
1816
- style: s === "ID_CARD" && y.length === 0 ? "large" : "small"
1818
+ style: s === "ID_CARD" && b.length === 0 ? "large" : "small"
1817
1819
  }
1818
1820
  )
1819
1821
  ) }) : /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
@@ -1821,24 +1823,24 @@ const st = ({ errorId: e, erroredFileNames: o, fieldValidationErrors: a }) => e
1821
1823
  st,
1822
1824
  {
1823
1825
  fieldValidationErrors: A,
1824
- errorId: X,
1826
+ errorId: ee,
1825
1827
  erroredFileNames: g.erroredFileNames
1826
1828
  }
1827
1829
  ),
1828
- /* @__PURE__ */ t.jsx("div", { className: "sid-docdrop-wrap", children: /* @__PURE__ */ t.jsx(se, { onDrop: (s) => V(s), accept: We.join(","), children: ({ getRootProps: s, getInputProps: b }) => /* @__PURE__ */ t.jsxs(
1830
+ /* @__PURE__ */ t.jsx("div", { className: "sid-docdrop-wrap", children: /* @__PURE__ */ t.jsx(se, { onDrop: (s) => C(s), accept: We.join(","), children: ({ getRootProps: s, getInputProps: y }) => /* @__PURE__ */ t.jsxs(
1829
1831
  "div",
1830
1832
  {
1831
1833
  ...s(),
1832
1834
  className: "sid-docdrop-wrap__dropzone sid-docdrop-wrap__dropzone_height",
1833
1835
  children: [
1834
- /* @__PURE__ */ t.jsx("input", { ...b({ accept: We.join(",") }) }),
1836
+ /* @__PURE__ */ t.jsx("input", { ...y({ accept: We.join(",") }) }),
1835
1837
  /* @__PURE__ */ t.jsx(
1836
1838
  "button",
1837
1839
  {
1838
1840
  tabIndex: -1,
1839
1841
  className: "sid-btn sid-btn--dark sid-doc-upload-submit-btn sid-submit__continue border-radius",
1840
1842
  type: "button",
1841
- "aria-label": z,
1843
+ "aria-label": le,
1842
1844
  children: /* @__PURE__ */ t.jsx(
1843
1845
  m,
1844
1846
  {
@@ -1856,7 +1858,7 @@ const st = ({ errorId: e, erroredFileNames: o, fieldValidationErrors: a }) => e
1856
1858
  "div",
1857
1859
  {
1858
1860
  id: "sid-step-doc-upload",
1859
- className: `sid-doc-upload-redesign-container sid-l-container sid-may24-variation__${v}`,
1861
+ className: `sid-doc-upload-redesign-container sid-l-container sid-may24-variation__${T}`,
1860
1862
  children: [
1861
1863
  /* @__PURE__ */ t.jsxs("div", { role: "main", children: [
1862
1864
  /* @__PURE__ */ t.jsxs("div", { className: "sid-header sid-l-space-top-md", children: [
@@ -1887,21 +1889,21 @@ const st = ({ errorId: e, erroredFileNames: o, fieldValidationErrors: a }) => e
1887
1889
  ) })
1888
1890
  ] })
1889
1891
  ] }),
1890
- v === "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" }),
1891
- (O && y.length === 0 || !O) && /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
1892
+ T === "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" }),
1893
+ (O && b.length === 0 || !O) && /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
1892
1894
  /* @__PURE__ */ t.jsx("h2", { className: "sid-header__subtitle sid-l-space-btm-md sid-l-space-top-md", children: /* @__PURE__ */ t.jsx(
1893
1895
  m,
1894
1896
  {
1895
- id: T ? "step.docUpload.uploadInstructions" : "step.docUpload.documentsMustInclude",
1897
+ id: N ? "step.docUpload.uploadInstructions" : "step.docUpload.documentsMustInclude",
1896
1898
  defaultMessage: "Your documents must include:"
1897
1899
  }
1898
1900
  ) }),
1899
- /* @__PURE__ */ t.jsx("ul", { className: "sid-doc-upload-requirements", children: S.map((s) => /* @__PURE__ */ t.jsx("li", { className: "sid-doc-upload-requirements__definition", children: /* @__PURE__ */ t.jsx(m, { id: s }) }, s)) })
1901
+ /* @__PURE__ */ t.jsx("ul", { className: "sid-doc-upload-requirements", children: w.map((s) => /* @__PURE__ */ t.jsx("li", { className: "sid-doc-upload-requirements__definition", children: /* @__PURE__ */ t.jsx(m, { id: s }) }, s)) })
1900
1902
  ] }),
1901
- y.length === 0 && P,
1902
- y.length > 0 ? /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
1903
+ b.length === 0 && G,
1904
+ b.length > 0 ? /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
1903
1905
  /* @__PURE__ */ t.jsxs("div", { className: "sid-file-list sid-l-space-top-md", children: [
1904
- y.map((s, b) => /* @__PURE__ */ t.jsxs("div", { className: "sid-file-list__file", children: [
1906
+ b.map((s, y) => /* @__PURE__ */ t.jsxs("div", { className: "sid-file-list__file", children: [
1905
1907
  /* @__PURE__ */ t.jsx("div", { className: "sid-file-list__thumbnail-wrapper", children: s.url ? /* @__PURE__ */ t.jsx(
1906
1908
  "img",
1907
1909
  {
@@ -1925,19 +1927,19 @@ const st = ({ errorId: e, erroredFileNames: o, fieldValidationErrors: a }) => e
1925
1927
  tabIndex: 0,
1926
1928
  "aria-label": `Remove file ${s.name}`,
1927
1929
  className: "sid-file-list__remove-btn",
1928
- onClick: () => Q(b),
1929
- onKeyPress: () => Q(b)
1930
+ onClick: () => de(y),
1931
+ onKeyPress: () => de(y)
1930
1932
  }
1931
1933
  )
1932
1934
  ] })
1933
1935
  ] }, s.name)),
1934
- y.length < wt && v !== "doc-type-icons" && /* @__PURE__ */ t.jsx(t.Fragment, { children: a ? /* @__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(
1936
+ b.length < wt && T !== "doc-type-icons" && /* @__PURE__ */ t.jsx(t.Fragment, { children: o ? /* @__PURE__ */ t.jsx("div", { className: "sid-add-more-files", children: G }) : /* @__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(
1935
1937
  "label",
1936
1938
  {
1937
1939
  className: "sid-docdrop-wrap__dropzone thumbnail_wrapper",
1938
1940
  htmlFor: "sid-take-photo-input",
1939
1941
  role: "button",
1940
- onKeyUp: (s) => me(s),
1942
+ onKeyUp: (s) => fe(s),
1941
1943
  tabIndex: 0,
1942
1944
  children: [
1943
1945
  /* @__PURE__ */ t.jsx(Rt, { className: "sid-uploadzone__icon", width: "16px" }),
@@ -1951,7 +1953,7 @@ const st = ({ errorId: e, erroredFileNames: o, fieldValidationErrors: a }) => e
1951
1953
  /* @__PURE__ */ t.jsx(
1952
1954
  "input",
1953
1955
  {
1954
- onChange: fe,
1956
+ onChange: ue,
1955
1957
  type: "file",
1956
1958
  id: "sid-take-photo-input",
1957
1959
  hidden: !0,
@@ -1968,28 +1970,28 @@ const st = ({ errorId: e, erroredFileNames: o, fieldValidationErrors: a }) => e
1968
1970
  st,
1969
1971
  {
1970
1972
  fieldValidationErrors: A,
1971
- errorId: X,
1973
+ errorId: ee,
1972
1974
  erroredFileNames: g.erroredFileNames
1973
1975
  }
1974
1976
  ),
1975
- O && y.length >= 1 && /* @__PURE__ */ t.jsx(
1976
- zo,
1977
+ O && b.length >= 1 && /* @__PURE__ */ t.jsx(
1978
+ Ha,
1977
1979
  {
1978
- options: S,
1979
- selected: M,
1980
- onChange: U,
1981
- showError: w
1980
+ options: w,
1981
+ selected: Y,
1982
+ onChange: H,
1983
+ showError: U
1982
1984
  }
1983
1985
  ),
1984
1986
  /* @__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(
1985
1987
  "button",
1986
1988
  {
1987
1989
  id: "sid-submit-doc-upload",
1988
- onClick: k,
1990
+ onClick: pe,
1989
1991
  type: "submit",
1990
1992
  className: "sid-btn sid-btn--dark sid-doc-upload-submit-btn sid-submit__continue border-radius",
1991
- "aria-disabled": y.length <= 0 || O && !S.every((s) => M.includes(s)),
1992
- children: v === "doc-type-icons" ? /* @__PURE__ */ t.jsx(
1993
+ "aria-disabled": b.length <= 0 || O && !w.every((s) => Y.includes(s)),
1994
+ children: T === "doc-type-icons" ? /* @__PURE__ */ t.jsx(
1993
1995
  m,
1994
1996
  {
1995
1997
  id: "_EXPERIMENTAL-VARIATION.step.docUpload.submitButtonLabel",
@@ -1998,48 +2000,55 @@ const st = ({ errorId: e, erroredFileNames: o, fieldValidationErrors: a }) => e
1998
2000
  two {documents}
1999
2001
  other {documents}
2000
2002
  }`,
2001
- values: { count: y.length }
2003
+ values: { count: b.length }
2002
2004
  }
2003
2005
  ) : /* @__PURE__ */ t.jsx(
2004
2006
  m,
2005
2007
  {
2006
2008
  id: "step.docUpload.submitButtonLabel",
2007
2009
  defaultMessage: "Submit",
2008
- values: { count: y.length }
2010
+ values: { count: b.length }
2009
2011
  }
2010
2012
  )
2011
2013
  }
2012
2014
  ) })
2013
2015
  ] }) : null,
2014
- v === "doc-type-icons" ? /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
2015
- y.length > 0 && y.length < 2 && /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
2016
- /* @__PURE__ */ t.jsx(Vo, { children: "Add another document" }),
2017
- P
2016
+ T === "doc-type-icons" ? /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
2017
+ b.length > 0 && b.length < 2 && /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
2018
+ /* @__PURE__ */ t.jsx(za, { children: "Add another document" }),
2019
+ G
2018
2020
  ] }),
2019
2021
  /* @__PURE__ */ t.jsx("h3", { children: "FAQ" }),
2020
- /* @__PURE__ */ t.jsx(re, { id: "suggestedDocs", title: "What information is needed?", children: /* @__PURE__ */ t.jsx("ul", { className: "sid-doc-upload-requirements", children: S.map((s) => /* @__PURE__ */ t.jsx("li", { className: "sid-doc-upload-requirements__definition", children: /* @__PURE__ */ t.jsx(m, { id: s }) }, s)) }) })
2021
- ] }) : /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
2022
- L === "add-doc-considerations" && H && (c === "activeDuty" || c === "reservist") && /* @__PURE__ */ t.jsx(
2023
- re,
2024
- {
2025
- id: "docConsiderations",
2026
- title: /* @__PURE__ */ t.jsx(
2027
- m,
2028
- {
2029
- id: "experiment.step.docUpload.documentConsiderations",
2030
- defaultMessage: "Document considerations"
2031
- }
2032
- ),
2033
- defaultState: "open",
2034
- children: /* @__PURE__ */ t.jsx("span", { className: "sid-doc-upload-considerations", children: /* @__PURE__ */ t.jsxs("p", { children: [
2035
- /* @__PURE__ */ t.jsx("strong", { children: /* @__PURE__ */ t.jsx(
2022
+ /* @__PURE__ */ t.jsx(Ee, { id: "suggestedDocs", title: "What information is needed?", children: /* @__PURE__ */ t.jsx("ul", { className: "sid-doc-upload-requirements", children: w.map((s) => /* @__PURE__ */ t.jsx("li", { className: "sid-doc-upload-requirements__definition", children: /* @__PURE__ */ t.jsx(m, { id: s }) }, s)) }) })
2023
+ ] }) : /* @__PURE__ */ t.jsxs(
2024
+ Ee,
2025
+ {
2026
+ id: "suggestedDocs",
2027
+ title: /* @__PURE__ */ t.jsx(
2028
+ m,
2029
+ {
2030
+ id: "step.docUpload.suggestedDocumentTypes",
2031
+ defaultMessage: "Suggested document types"
2032
+ }
2033
+ ),
2034
+ defaultState: T === "checkbox-requirements" ? "closed" : "open",
2035
+ children: [
2036
+ N && /* @__PURE__ */ t.jsx(m, { id: "step.docUpload.acceptableUploadExamples" }),
2037
+ /* @__PURE__ */ t.jsxs("ul", { className: "sid-acceptable-document-types", children: [
2038
+ (N ? Nt : Ba)(
2039
+ f,
2040
+ c
2041
+ ).map((s) => /* @__PURE__ */ t.jsx("li", { className: "sid-acceptable-document-types__item", children: /* @__PURE__ */ t.jsx(m, { id: s }) }, s)),
2042
+ /* @__PURE__ */ t.jsx("li", { className: "sid-acceptable-document-types__item", children: /* @__PURE__ */ t.jsx(m, { id: "step.docUpload.acceptedTypes" }) })
2043
+ ] }),
2044
+ Q && (c === "activeDuty" || c === "reservist") && /* @__PURE__ */ t.jsx("div", { className: "sid-acceptable-document-types", children: /* @__PURE__ */ t.jsxs("p", { children: [
2045
+ /* @__PURE__ */ t.jsx("span", { className: "display-block", children: /* @__PURE__ */ t.jsx("strong", { children: /* @__PURE__ */ t.jsx(
2036
2046
  m,
2037
2047
  {
2038
2048
  id: "step.docUpload.acceptableUploads.doNotUploadMilitaryIdTitle",
2039
2049
  defaultMessage: "Do not upload a photo of your military ID."
2040
2050
  }
2041
- ) }),
2042
- " ",
2051
+ ) }) }),
2043
2052
  /* @__PURE__ */ t.jsx(
2044
2053
  m,
2045
2054
  {
@@ -2048,51 +2057,11 @@ const st = ({ errorId: e, erroredFileNames: o, fieldValidationErrors: a }) => e
2048
2057
  }
2049
2058
  )
2050
2059
  ] }) })
2051
- }
2052
- ),
2053
- /* @__PURE__ */ t.jsxs(
2054
- re,
2055
- {
2056
- id: "suggestedDocs",
2057
- title: /* @__PURE__ */ t.jsx(
2058
- m,
2059
- {
2060
- id: "step.docUpload.suggestedDocumentTypes",
2061
- defaultMessage: "Suggested document types"
2062
- }
2063
- ),
2064
- defaultState: v === "checkbox-requirements" ? "closed" : "open",
2065
- children: [
2066
- T && /* @__PURE__ */ t.jsx(m, { id: "step.docUpload.acceptableUploadExamples" }),
2067
- /* @__PURE__ */ t.jsxs("ul", { className: "sid-acceptable-document-types", children: [
2068
- (T ? Nt : Yo)(
2069
- f,
2070
- c
2071
- ).map((s) => /* @__PURE__ */ t.jsx("li", { className: "sid-acceptable-document-types__item", children: /* @__PURE__ */ t.jsx(m, { id: s }) }, s)),
2072
- /* @__PURE__ */ t.jsx("li", { className: "sid-acceptable-document-types__item", children: /* @__PURE__ */ t.jsx(m, { id: "step.docUpload.acceptedTypes" }) })
2073
- ] }),
2074
- L !== "add-doc-considerations" && H && (c === "activeDuty" || c === "reservist") && /* @__PURE__ */ t.jsx("div", { className: "sid-acceptable-document-types", children: /* @__PURE__ */ t.jsxs("p", { children: [
2075
- /* @__PURE__ */ t.jsx("span", { className: "display-block", children: /* @__PURE__ */ t.jsx("strong", { children: /* @__PURE__ */ t.jsx(
2076
- m,
2077
- {
2078
- id: "step.docUpload.acceptableUploads.doNotUploadMilitaryIdTitle",
2079
- defaultMessage: "Do not upload a photo of your military ID."
2080
- }
2081
- ) }) }),
2082
- /* @__PURE__ */ t.jsx(
2083
- m,
2084
- {
2085
- id: "step.docUpload.acceptableUploads.doNotUploadMilitaryIdContent",
2086
- defaultMessage: "In accordance with federal law, SheerID does not accept submissions of active duty/reservist military ID cards."
2087
- }
2088
- )
2089
- ] }) })
2090
- ]
2091
- }
2092
- )
2093
- ] }),
2060
+ ]
2061
+ }
2062
+ ),
2094
2063
  /* @__PURE__ */ t.jsxs(
2095
- re,
2064
+ Ee,
2096
2065
  {
2097
2066
  id: "whatHappensNext",
2098
2067
  title: /* @__PURE__ */ t.jsx(
@@ -2124,7 +2093,7 @@ const st = ({ errorId: e, erroredFileNames: o, fieldValidationErrors: a }) => e
2124
2093
  id: "step.docUpload.reviewTime",
2125
2094
  defaultMessage: "Expected review time is {estimatedWaitTime}.",
2126
2095
  values: {
2127
- estimatedWaitTime: Tt(i, E, o).estReviewTime
2096
+ estimatedWaitTime: Tt(i, E, a).estReviewTime
2128
2097
  }
2129
2098
  }
2130
2099
  ) }),
@@ -2133,7 +2102,7 @@ const st = ({ errorId: e, erroredFileNames: o, fieldValidationErrors: a }) => e
2133
2102
  }
2134
2103
  ),
2135
2104
  /* @__PURE__ */ t.jsx(
2136
- re,
2105
+ Ee,
2137
2106
  {
2138
2107
  id: "canIFinishLater",
2139
2108
  title: /* @__PURE__ */ t.jsx(
@@ -2152,12 +2121,12 @@ const st = ({ errorId: e, erroredFileNames: o, fieldValidationErrors: a }) => e
2152
2121
  ) })
2153
2122
  }
2154
2123
  ),
2155
- j && /* @__PURE__ */ t.jsx("div", { className: "sid-submit sid-override-submit sid-l-space-top-sm", children: /* @__PURE__ */ t.jsx(
2124
+ v && /* @__PURE__ */ t.jsx("div", { className: "sid-submit sid-override-submit sid-l-space-top-sm", children: /* @__PURE__ */ t.jsx(
2156
2125
  "a",
2157
2126
  {
2158
2127
  href: "#",
2159
2128
  className: "sid-link sid-override-link",
2160
- onClick: () => he(),
2129
+ onClick: () => me(),
2161
2130
  role: "button",
2162
2131
  children: /* @__PURE__ */ t.jsx(
2163
2132
  m,
@@ -2173,7 +2142,7 @@ const st = ({ errorId: e, erroredFileNames: o, fieldValidationErrors: a }) => e
2173
2142
  ]
2174
2143
  }
2175
2144
  );
2176
- }, sa = Gt(aa);
2145
+ }, io = Gt(ao);
2177
2146
  export {
2178
- sa as default
2147
+ io as default
2179
2148
  };