@sheerid/jslib 1.111.0 → 1.114.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 (201) hide show
  1. package/es5/Tmetrix.bundle.js +5 -5
  2. package/es5/messages_ar.bundle.js +5 -5
  3. package/es5/messages_bg.bundle.js +5 -5
  4. package/es5/messages_cs.bundle.js +5 -5
  5. package/es5/messages_da.bundle.js +5 -5
  6. package/es5/messages_de.bundle.js +5 -5
  7. package/es5/messages_el.bundle.js +5 -5
  8. package/es5/messages_en-GB.bundle.js +5 -5
  9. package/es5/messages_es-ES.bundle.js +5 -5
  10. package/es5/messages_es.bundle.js +5 -5
  11. package/es5/messages_fi.bundle.js +5 -5
  12. package/es5/messages_fr-CA.bundle.js +5 -5
  13. package/es5/messages_fr.bundle.js +5 -5
  14. package/es5/messages_ga.bundle.js +5 -5
  15. package/es5/messages_hr.bundle.js +5 -5
  16. package/es5/messages_hu.bundle.js +5 -5
  17. package/es5/messages_id.bundle.js +5 -5
  18. package/es5/messages_it.bundle.js +5 -5
  19. package/es5/messages_iw.bundle.js +5 -5
  20. package/es5/messages_ja.bundle.js +5 -5
  21. package/es5/messages_ko.bundle.js +5 -5
  22. package/es5/messages_lo.bundle.js +5 -5
  23. package/es5/messages_lt.bundle.js +5 -5
  24. package/es5/messages_ms.bundle.js +5 -5
  25. package/es5/messages_nl.bundle.js +5 -5
  26. package/es5/messages_no.bundle.js +5 -5
  27. package/es5/messages_pl.bundle.js +5 -5
  28. package/es5/messages_pt-BR.bundle.js +5 -5
  29. package/es5/messages_pt.bundle.js +5 -5
  30. package/es5/messages_ru.bundle.js +5 -5
  31. package/es5/messages_sk.bundle.js +5 -5
  32. package/es5/messages_sl.bundle.js +5 -5
  33. package/es5/messages_sr.bundle.js +5 -5
  34. package/es5/messages_sv.bundle.js +5 -5
  35. package/es5/messages_th.bundle.js +5 -5
  36. package/es5/messages_tr.bundle.js +5 -5
  37. package/es5/messages_zh-HK.bundle.js +5 -5
  38. package/es5/messages_zh.bundle.js +5 -5
  39. package/es6/{ar-3ae39586.es.js → ar-27f8a3fb.es.js} +9 -3
  40. package/es6/{cs-9acf0460.es.js.map → ar-27f8a3fb.es.js.map} +1 -1
  41. package/es6/{bg-6620ee13.es.js → bg-a9edc7f5.es.js} +9 -3
  42. package/es6/{ar-3ae39586.es.js.map → bg-a9edc7f5.es.js.map} +1 -1
  43. package/es6/{cs-9acf0460.es.js → cs-0a738d79.es.js} +9 -3
  44. package/es6/{da-0b0465fd.es.js.map → cs-0a738d79.es.js.map} +1 -1
  45. package/es6/{da-0b0465fd.es.js → da-6d465014.es.js} +9 -3
  46. package/es6/{bg-6620ee13.es.js.map → da-6d465014.es.js.map} +1 -1
  47. package/es6/{de-e370c535.es.js → de-ecfb36e6.es.js} +9 -3
  48. package/es6/de-ecfb36e6.es.js.map +1 -0
  49. package/es6/{el-98e713da.es.js → el-efb0eb96.es.js} +9 -3
  50. package/es6/el-efb0eb96.es.js.map +1 -0
  51. package/es6/{en-GB-4c9b2809.es.js → en-GB-ec95a71d.es.js} +9 -3
  52. package/es6/{en-GB-4c9b2809.es.js.map → en-GB-ec95a71d.es.js.map} +1 -1
  53. package/es6/{es-29447ba1.es.js → es-02739eef.es.js} +9 -3
  54. package/es6/es-02739eef.es.js.map +1 -0
  55. package/es6/{es-ES-ad689109.es.js → es-ES-6e018097.es.js} +9 -3
  56. package/es6/{es-ES-ad689109.es.js.map → es-ES-6e018097.es.js.map} +1 -1
  57. package/es6/{fi-9a9cfb4b.es.js → fi-639ce3ed.es.js} +9 -3
  58. package/es6/fi-639ce3ed.es.js.map +1 -0
  59. package/es6/{fr-bbb1ff16.es.js → fr-1f9d20d7.es.js} +9 -3
  60. package/es6/fr-1f9d20d7.es.js.map +1 -0
  61. package/es6/{fr-CA-6318fdae.es.js → fr-CA-ea4679bd.es.js} +9 -3
  62. package/es6/{fr-CA-6318fdae.es.js.map → fr-CA-ea4679bd.es.js.map} +1 -1
  63. package/es6/{ga-1ef386d0.es.js → ga-834b76d1.es.js} +9 -3
  64. package/es6/ga-834b76d1.es.js.map +1 -0
  65. package/es6/{hr-3a56687e.es.js → hr-acda52c1.es.js} +9 -3
  66. package/es6/hr-acda52c1.es.js.map +1 -0
  67. package/es6/{hu-a70ecd9a.es.js → hu-1f25d049.es.js} +9 -3
  68. package/es6/hu-1f25d049.es.js.map +1 -0
  69. package/es6/{id-66daacc1.es.js → id-63296be9.es.js} +9 -3
  70. package/es6/id-63296be9.es.js.map +1 -0
  71. package/es6/{it-2032b91e.es.js → it-50e6c872.es.js} +9 -3
  72. package/es6/it-50e6c872.es.js.map +1 -0
  73. package/es6/{iw-7c41f1f9.es.js → iw-c2e37d78.es.js} +9 -3
  74. package/es6/iw-c2e37d78.es.js.map +1 -0
  75. package/es6/{ja-fb4128c9.es.js → ja-96f7c7dd.es.js} +9 -3
  76. package/es6/ja-96f7c7dd.es.js.map +1 -0
  77. package/es6/{ko-54d59d72.es.js → ko-78d7b382.es.js} +9 -3
  78. package/es6/ko-78d7b382.es.js.map +1 -0
  79. package/es6/{lo-0b09b49c.es.js → lo-e211dcec.es.js} +9 -3
  80. package/es6/lo-e211dcec.es.js.map +1 -0
  81. package/es6/{lt-85367514.es.js → lt-b08d150f.es.js} +9 -3
  82. package/es6/lt-b08d150f.es.js.map +1 -0
  83. package/es6/{ms-0decdf24.es.js → ms-d7018245.es.js} +9 -3
  84. package/es6/ms-d7018245.es.js.map +1 -0
  85. package/es6/{nl-06109373.es.js → nl-51a9f4ec.es.js} +9 -3
  86. package/es6/nl-51a9f4ec.es.js.map +1 -0
  87. package/es6/{no-a26a72a5.es.js → no-a8391221.es.js} +9 -3
  88. package/es6/no-a8391221.es.js.map +1 -0
  89. package/es6/{pl-dc0c2f70.es.js → pl-4502a589.es.js} +9 -3
  90. package/es6/pl-4502a589.es.js.map +1 -0
  91. package/es6/{pt-BR-80d5ee2f.es.js → pt-BR-3ef8396a.es.js} +9 -3
  92. package/es6/{pt-BR-80d5ee2f.es.js.map → pt-BR-3ef8396a.es.js.map} +1 -1
  93. package/es6/{pt-c72dbd5e.es.js → pt-c335287a.es.js} +9 -3
  94. package/es6/pt-c335287a.es.js.map +1 -0
  95. package/es6/{ru-18843366.es.js → ru-3e70d7bf.es.js} +9 -3
  96. package/es6/ru-3e70d7bf.es.js.map +1 -0
  97. package/es6/{sk-1cd8142d.es.js → sk-3cfda03f.es.js} +9 -3
  98. package/es6/sk-3cfda03f.es.js.map +1 -0
  99. package/es6/{sl-626bf398.es.js → sl-91041e4c.es.js} +9 -3
  100. package/es6/sl-91041e4c.es.js.map +1 -0
  101. package/es6/{sr-81bca4d0.es.js → sr-cc3139eb.es.js} +9 -3
  102. package/es6/sr-cc3139eb.es.js.map +1 -0
  103. package/es6/{sv-98cd630e.es.js → sv-178885a6.es.js} +9 -3
  104. package/es6/sv-178885a6.es.js.map +1 -0
  105. package/es6/{th-36130f7a.es.js → th-54b3e8ec.es.js} +9 -3
  106. package/es6/th-54b3e8ec.es.js.map +1 -0
  107. package/es6/{tr-b8f5e402.es.js → tr-63995de1.es.js} +9 -3
  108. package/es6/tr-63995de1.es.js.map +1 -0
  109. package/es6/{zh-866fc64f.es.js → zh-038b18f8.es.js} +9 -3
  110. package/es6/zh-038b18f8.es.js.map +1 -0
  111. package/es6/{zh-HK-f2672873.es.js → zh-HK-fa9bd73f.es.js} +9 -3
  112. package/es6/zh-HK-fa9bd73f.es.js.map +1 -0
  113. package/localized-messages/ar.json +8 -2
  114. package/localized-messages/bg.json +8 -2
  115. package/localized-messages/cs.json +8 -2
  116. package/localized-messages/da.json +8 -2
  117. package/localized-messages/de.json +8 -2
  118. package/localized-messages/el.json +8 -2
  119. package/localized-messages/en-GB.json +8 -2
  120. package/localized-messages/en-US.json +8 -2
  121. package/localized-messages/es-ES.json +8 -2
  122. package/localized-messages/es.json +8 -2
  123. package/localized-messages/fi.json +8 -2
  124. package/localized-messages/fr-CA.json +8 -2
  125. package/localized-messages/fr.json +8 -2
  126. package/localized-messages/ga.json +8 -2
  127. package/localized-messages/hr.json +8 -2
  128. package/localized-messages/hu.json +8 -2
  129. package/localized-messages/id.json +8 -2
  130. package/localized-messages/it.json +8 -2
  131. package/localized-messages/iw.json +8 -2
  132. package/localized-messages/ja.json +8 -2
  133. package/localized-messages/ko.json +8 -2
  134. package/localized-messages/lo.json +8 -2
  135. package/localized-messages/lt.json +8 -2
  136. package/localized-messages/ms.json +8 -2
  137. package/localized-messages/nl.json +8 -2
  138. package/localized-messages/no.json +8 -2
  139. package/localized-messages/pl.json +8 -2
  140. package/localized-messages/pt-BR.json +8 -2
  141. package/localized-messages/pt.json +8 -2
  142. package/localized-messages/ru.json +8 -2
  143. package/localized-messages/sk.json +8 -2
  144. package/localized-messages/sl.json +8 -2
  145. package/localized-messages/sr.json +8 -2
  146. package/localized-messages/sv.json +8 -2
  147. package/localized-messages/th.json +8 -2
  148. package/localized-messages/tr.json +8 -2
  149. package/localized-messages/zh-HK.json +8 -2
  150. package/localized-messages/zh.json +8 -2
  151. package/manifest.json +46 -46
  152. package/package.json +1 -1
  153. package/sheerid-requestOrg.css +4 -4
  154. package/sheerid-requestOrg.js +15 -15
  155. package/sheerid-requestOrg.js.map +1 -1
  156. package/sheerid-utils.js +9 -9
  157. package/sheerid-utils.js.map +1 -1
  158. package/sheerid.css +4 -4
  159. package/sheerid.js +14 -14
  160. package/sheerid.js.map +1 -1
  161. package/sheerides6.js +186 -138
  162. package/sheerides6.js.map +1 -1
  163. package/src/components/FormFields/ChangeLocale/ChangeLocaleComponent.d.ts +14 -2
  164. package/src/components/FormFields/Country/CountryComponentWrapper.d.ts +6 -4
  165. package/src/components/RequestOrganization/RequestOrganizationSearchResultComponent.d.ts +7 -2
  166. package/src/components/StepMemberPersonalInfo/StepMemberPersonalInfoComponent.d.ts +2 -9
  167. package/src/components/StepStudentPersonalInfo/StepStudentPersonalInfoComponent.d.ts +2 -9
  168. package/src/components/StepTeacherPersonalInfo/StepTeacherPersonalInfoComponent.d.ts +2 -10
  169. package/src/constants.d.ts +1 -0
  170. package/src/lib/installScript/iframe.d.ts +1 -0
  171. package/src/lib/types/types.d.ts +8 -0
  172. package/types-reference.zip +0 -0
  173. package/es6/de-e370c535.es.js.map +0 -1
  174. package/es6/el-98e713da.es.js.map +0 -1
  175. package/es6/es-29447ba1.es.js.map +0 -1
  176. package/es6/fi-9a9cfb4b.es.js.map +0 -1
  177. package/es6/fr-bbb1ff16.es.js.map +0 -1
  178. package/es6/ga-1ef386d0.es.js.map +0 -1
  179. package/es6/hr-3a56687e.es.js.map +0 -1
  180. package/es6/hu-a70ecd9a.es.js.map +0 -1
  181. package/es6/id-66daacc1.es.js.map +0 -1
  182. package/es6/it-2032b91e.es.js.map +0 -1
  183. package/es6/iw-7c41f1f9.es.js.map +0 -1
  184. package/es6/ja-fb4128c9.es.js.map +0 -1
  185. package/es6/ko-54d59d72.es.js.map +0 -1
  186. package/es6/lo-0b09b49c.es.js.map +0 -1
  187. package/es6/lt-85367514.es.js.map +0 -1
  188. package/es6/ms-0decdf24.es.js.map +0 -1
  189. package/es6/nl-06109373.es.js.map +0 -1
  190. package/es6/no-a26a72a5.es.js.map +0 -1
  191. package/es6/pl-dc0c2f70.es.js.map +0 -1
  192. package/es6/pt-c72dbd5e.es.js.map +0 -1
  193. package/es6/ru-18843366.es.js.map +0 -1
  194. package/es6/sk-1cd8142d.es.js.map +0 -1
  195. package/es6/sl-626bf398.es.js.map +0 -1
  196. package/es6/sr-81bca4d0.es.js.map +0 -1
  197. package/es6/sv-98cd630e.es.js.map +0 -1
  198. package/es6/th-36130f7a.es.js.map +0 -1
  199. package/es6/tr-b8f5e402.es.js.map +0 -1
  200. package/es6/zh-866fc64f.es.js.map +0 -1
  201. package/es6/zh-HK-f2672873.es.js.map +0 -1
package/sheerides6.js CHANGED
@@ -1136,6 +1136,7 @@ const iframeClassNames = {
1136
1136
  CLOSE_TEXT: "sid-modal__close-text",
1137
1137
  CLOSE_ICON: "sid-modal__close-icon",
1138
1138
  };
1139
+ const iframeTitle = "SheerID Verification Form";
1139
1140
  const iframeConstants = {
1140
1141
  CLASS_NAMES: iframeClassNames,
1141
1142
  DEFAULT_MOBILE_THRESHOLD_WIDTH: 620,
@@ -2550,14 +2551,20 @@ var enUSMessages = {
2550
2551
  "requestOrganizationMessages.ineligibleOrgs": "Ineligible Schools. We are sorry, people from these schools are not eligible for this offer:",
2551
2552
  "requestOrganizationMessages.noCountry": "Don't see your school’s country or region? You are not eligible for this offer.",
2552
2553
  "requestOrganizationMessages.none": "None",
2554
+ "requestOrganizationMessages.orgType.eligible": " - Eligible for this offer. Click the icon to copy name then return to the verification form:",
2555
+ "requestOrganizationMessages.orgType.highSchool": "High Schools / Secondary Schools {e}",
2556
+ "requestOrganizationMessages.orgType.ineligible": " - (Not eligible for this offer)",
2557
+ "requestOrganizationMessages.orgType.k12": "K12 {e}",
2558
+ "requestOrganizationMessages.orgType.postSecondary": "Post Secondary Institutions {e}",
2559
+ "requestOrganizationMessages.orgType.university": "Universities {e}",
2553
2560
  "requestOrganizationMessages.poweredBy": "Verification services powered by SheerID",
2554
2561
  "requestOrganizationMessages.searchByOrgName": "Don't see your school? Search by name.",
2555
2562
  "requestOrganizationMessages.step.error.contactUs": "contact us",
2556
2563
  "requestOrganizationMessages.step.error.description": "Sorry we are not able to process your request. Please try again later.",
2557
2564
  "requestOrganizationMessages.step.error.seeingProblem": "If you keep seeing this problem <a class='sid-link' href='{feedbackUrl}&pid={programId}' target='_blank'>contact us</a>.",
2558
2565
  "requestOrganizationMessages.step.error.title": "An unexpected error occurred",
2559
- "requestOrganizationMessages.step.success.description": "As a reminder, each request is evaluated by SheerID against the requirements set by this offer. There is no guarantee that your school will be added. The evaluation process takes up to 7 business days.",
2560
- "requestOrganizationMessages.step.success.title": "Thank you for submitting your school request",
2566
+ "requestOrganizationMessages.step.success.description": "Your request to add your educational institution has been received. As a reminder, each request is evaluated by SheerID against the requirements set by this offer. There is no guarantee that your school will be added. The evaluation process can take up to 7 business days.",
2567
+ "requestOrganizationMessages.step.success.title": "Thank you",
2561
2568
  "requestOrganizationMessages.submit": "Submit",
2562
2569
  "requestOrganizationMessages.title": "Request to Add School",
2563
2570
  "segmentMessages.age.emailExplanation": "Needed to send you your unique code",
@@ -2776,154 +2783,154 @@ const getMessagesModuleByLocale = async (locale) => {
2776
2783
  switch (locale) {
2777
2784
  case "ar":
2778
2785
  localizedMessages = await import(
2779
- /* webpackChunkName: "messages_ar" */ './es6/ar-3ae39586.es.js').then((m) => m.default);
2786
+ /* webpackChunkName: "messages_ar" */ './es6/ar-27f8a3fb.es.js').then((m) => m.default);
2780
2787
  break;
2781
2788
  case "bg":
2782
2789
  localizedMessages = await import(
2783
- /* webpackChunkName: "messages_bg" */ './es6/bg-6620ee13.es.js').then((m) => m.default);
2790
+ /* webpackChunkName: "messages_bg" */ './es6/bg-a9edc7f5.es.js').then((m) => m.default);
2784
2791
  break;
2785
2792
  case "cs":
2786
2793
  localizedMessages = await import(
2787
- /* webpackChunkName: "messages_cs" */ './es6/cs-9acf0460.es.js').then((m) => m.default);
2794
+ /* webpackChunkName: "messages_cs" */ './es6/cs-0a738d79.es.js').then((m) => m.default);
2788
2795
  break;
2789
2796
  case "da":
2790
2797
  localizedMessages = await import(
2791
- /* webpackChunkName: "messages_da" */ './es6/da-0b0465fd.es.js').then((m) => m.default);
2798
+ /* webpackChunkName: "messages_da" */ './es6/da-6d465014.es.js').then((m) => m.default);
2792
2799
  break;
2793
2800
  case "de":
2794
2801
  localizedMessages = await import(
2795
- /* webpackChunkName: "messages_de" */ './es6/de-e370c535.es.js').then((m) => m.default);
2802
+ /* webpackChunkName: "messages_de" */ './es6/de-ecfb36e6.es.js').then((m) => m.default);
2796
2803
  break;
2797
2804
  case "el":
2798
2805
  localizedMessages = await import(
2799
- /* webpackChunkName: "messages_el" */ './es6/el-98e713da.es.js').then((m) => m.default);
2806
+ /* webpackChunkName: "messages_el" */ './es6/el-efb0eb96.es.js').then((m) => m.default);
2800
2807
  break;
2801
2808
  case "en-GB":
2802
2809
  localizedMessages = await import(
2803
- /* webpackChunkName: "messages_en-GB" */ './es6/en-GB-4c9b2809.es.js').then((m) => m.default);
2810
+ /* webpackChunkName: "messages_en-GB" */ './es6/en-GB-ec95a71d.es.js').then((m) => m.default);
2804
2811
  break;
2805
2812
  case "en-US":
2806
2813
  localizedMessages = enUSMessages;
2807
2814
  break;
2808
2815
  case "es-ES":
2809
2816
  localizedMessages = await import(
2810
- /* webpackChunkName: "messages_es-ES" */ './es6/es-ES-ad689109.es.js').then((m) => m.default);
2817
+ /* webpackChunkName: "messages_es-ES" */ './es6/es-ES-6e018097.es.js').then((m) => m.default);
2811
2818
  break;
2812
2819
  case "es":
2813
2820
  localizedMessages = await import(
2814
- /* webpackChunkName: "messages_es" */ './es6/es-29447ba1.es.js').then((m) => m.default);
2821
+ /* webpackChunkName: "messages_es" */ './es6/es-02739eef.es.js').then((m) => m.default);
2815
2822
  break;
2816
2823
  case "fi":
2817
2824
  localizedMessages = await import(
2818
- /* webpackChunkName: "messages_fi" */ './es6/fi-9a9cfb4b.es.js').then((m) => m.default);
2825
+ /* webpackChunkName: "messages_fi" */ './es6/fi-639ce3ed.es.js').then((m) => m.default);
2819
2826
  break;
2820
2827
  case "fr-CA":
2821
2828
  localizedMessages = await import(
2822
- /* webpackChunkName: "messages_fr-CA" */ './es6/fr-CA-6318fdae.es.js').then((m) => m.default);
2829
+ /* webpackChunkName: "messages_fr-CA" */ './es6/fr-CA-ea4679bd.es.js').then((m) => m.default);
2823
2830
  break;
2824
2831
  case "fr":
2825
2832
  localizedMessages = await import(
2826
- /* webpackChunkName: "messages_fr" */ './es6/fr-bbb1ff16.es.js').then((m) => m.default);
2833
+ /* webpackChunkName: "messages_fr" */ './es6/fr-1f9d20d7.es.js').then((m) => m.default);
2827
2834
  break;
2828
2835
  case "ga":
2829
2836
  localizedMessages = await import(
2830
- /* webpackChunkName: "messages_ga" */ './es6/ga-1ef386d0.es.js').then((m) => m.default);
2837
+ /* webpackChunkName: "messages_ga" */ './es6/ga-834b76d1.es.js').then((m) => m.default);
2831
2838
  break;
2832
2839
  case "hr":
2833
2840
  localizedMessages = await import(
2834
- /* webpackChunkName: "messages_hr" */ './es6/hr-3a56687e.es.js').then((m) => m.default);
2841
+ /* webpackChunkName: "messages_hr" */ './es6/hr-acda52c1.es.js').then((m) => m.default);
2835
2842
  break;
2836
2843
  case "hu":
2837
2844
  localizedMessages = await import(
2838
- /* webpackChunkName: "messages_hu" */ './es6/hu-a70ecd9a.es.js').then((m) => m.default);
2845
+ /* webpackChunkName: "messages_hu" */ './es6/hu-1f25d049.es.js').then((m) => m.default);
2839
2846
  break;
2840
2847
  case "id":
2841
2848
  localizedMessages = await import(
2842
- /* webpackChunkName: "messages_id" */ './es6/id-66daacc1.es.js').then((m) => m.default);
2849
+ /* webpackChunkName: "messages_id" */ './es6/id-63296be9.es.js').then((m) => m.default);
2843
2850
  break;
2844
2851
  case "it":
2845
2852
  localizedMessages = await import(
2846
- /* webpackChunkName: "messages_it" */ './es6/it-2032b91e.es.js').then((m) => m.default);
2853
+ /* webpackChunkName: "messages_it" */ './es6/it-50e6c872.es.js').then((m) => m.default);
2847
2854
  break;
2848
2855
  case "iw":
2849
2856
  localizedMessages = await import(
2850
- /* webpackChunkName: "messages_iw" */ './es6/iw-7c41f1f9.es.js').then((m) => m.default);
2857
+ /* webpackChunkName: "messages_iw" */ './es6/iw-c2e37d78.es.js').then((m) => m.default);
2851
2858
  break;
2852
2859
  case "ja":
2853
2860
  localizedMessages = await import(
2854
- /* webpackChunkName: "messages_ja" */ './es6/ja-fb4128c9.es.js').then((m) => m.default);
2861
+ /* webpackChunkName: "messages_ja" */ './es6/ja-96f7c7dd.es.js').then((m) => m.default);
2855
2862
  break;
2856
2863
  case "ko":
2857
2864
  localizedMessages = await import(
2858
- /* webpackChunkName: "messages_ko" */ './es6/ko-54d59d72.es.js').then((m) => m.default);
2865
+ /* webpackChunkName: "messages_ko" */ './es6/ko-78d7b382.es.js').then((m) => m.default);
2859
2866
  break;
2860
2867
  case "lo":
2861
2868
  localizedMessages = await import(
2862
- /* webpackChunkName: "messages_lo" */ './es6/lo-0b09b49c.es.js').then((m) => m.default);
2869
+ /* webpackChunkName: "messages_lo" */ './es6/lo-e211dcec.es.js').then((m) => m.default);
2863
2870
  break;
2864
2871
  case "lt":
2865
2872
  localizedMessages = await import(
2866
- /* webpackChunkName: "messages_lt" */ './es6/lt-85367514.es.js').then((m) => m.default);
2873
+ /* webpackChunkName: "messages_lt" */ './es6/lt-b08d150f.es.js').then((m) => m.default);
2867
2874
  break;
2868
2875
  case "ms":
2869
2876
  localizedMessages = await import(
2870
- /* webpackChunkName: "messages_ms" */ './es6/ms-0decdf24.es.js').then((m) => m.default);
2877
+ /* webpackChunkName: "messages_ms" */ './es6/ms-d7018245.es.js').then((m) => m.default);
2871
2878
  break;
2872
2879
  case "nl":
2873
2880
  localizedMessages = await import(
2874
- /* webpackChunkName: "messages_nl" */ './es6/nl-06109373.es.js').then((m) => m.default);
2881
+ /* webpackChunkName: "messages_nl" */ './es6/nl-51a9f4ec.es.js').then((m) => m.default);
2875
2882
  break;
2876
2883
  case "no":
2877
2884
  localizedMessages = await import(
2878
- /* webpackChunkName: "messages_no" */ './es6/no-a26a72a5.es.js').then((m) => m.default);
2885
+ /* webpackChunkName: "messages_no" */ './es6/no-a8391221.es.js').then((m) => m.default);
2879
2886
  break;
2880
2887
  case "pl":
2881
2888
  localizedMessages = await import(
2882
- /* webpackChunkName: "messages_pl" */ './es6/pl-dc0c2f70.es.js').then((m) => m.default);
2889
+ /* webpackChunkName: "messages_pl" */ './es6/pl-4502a589.es.js').then((m) => m.default);
2883
2890
  break;
2884
2891
  case "pt-BR":
2885
2892
  localizedMessages = await import(
2886
- /* webpackChunkName: "messages_pt-BR" */ './es6/pt-BR-80d5ee2f.es.js').then((m) => m.default);
2893
+ /* webpackChunkName: "messages_pt-BR" */ './es6/pt-BR-3ef8396a.es.js').then((m) => m.default);
2887
2894
  break;
2888
2895
  case "pt":
2889
2896
  localizedMessages = await import(
2890
- /* webpackChunkName: "messages_pt" */ './es6/pt-c72dbd5e.es.js').then((m) => m.default);
2897
+ /* webpackChunkName: "messages_pt" */ './es6/pt-c335287a.es.js').then((m) => m.default);
2891
2898
  break;
2892
2899
  case "ru":
2893
2900
  localizedMessages = await import(
2894
- /* webpackChunkName: "messages_ru" */ './es6/ru-18843366.es.js').then((m) => m.default);
2901
+ /* webpackChunkName: "messages_ru" */ './es6/ru-3e70d7bf.es.js').then((m) => m.default);
2895
2902
  break;
2896
2903
  case "sk":
2897
2904
  localizedMessages = await import(
2898
- /* webpackChunkName: "messages_sk" */ './es6/sk-1cd8142d.es.js').then((m) => m.default);
2905
+ /* webpackChunkName: "messages_sk" */ './es6/sk-3cfda03f.es.js').then((m) => m.default);
2899
2906
  break;
2900
2907
  case "sl":
2901
2908
  localizedMessages = await import(
2902
- /* webpackChunkName: "messages_sl" */ './es6/sl-626bf398.es.js').then((m) => m.default);
2909
+ /* webpackChunkName: "messages_sl" */ './es6/sl-91041e4c.es.js').then((m) => m.default);
2903
2910
  break;
2904
2911
  case "sr":
2905
2912
  localizedMessages = await import(
2906
- /* webpackChunkName: "messages_sr" */ './es6/sr-81bca4d0.es.js').then((m) => m.default);
2913
+ /* webpackChunkName: "messages_sr" */ './es6/sr-cc3139eb.es.js').then((m) => m.default);
2907
2914
  break;
2908
2915
  case "sv":
2909
2916
  localizedMessages = await import(
2910
- /* webpackChunkName: "messages_sv" */ './es6/sv-98cd630e.es.js').then((m) => m.default);
2917
+ /* webpackChunkName: "messages_sv" */ './es6/sv-178885a6.es.js').then((m) => m.default);
2911
2918
  break;
2912
2919
  case "th":
2913
2920
  localizedMessages = await import(
2914
- /* webpackChunkName: "messages_th" */ './es6/th-36130f7a.es.js').then((m) => m.default);
2921
+ /* webpackChunkName: "messages_th" */ './es6/th-54b3e8ec.es.js').then((m) => m.default);
2915
2922
  break;
2916
2923
  case "tr":
2917
2924
  localizedMessages = await import(
2918
- /* webpackChunkName: "messages_tr" */ './es6/tr-b8f5e402.es.js').then((m) => m.default);
2925
+ /* webpackChunkName: "messages_tr" */ './es6/tr-63995de1.es.js').then((m) => m.default);
2919
2926
  break;
2920
2927
  case "zh-HK":
2921
2928
  localizedMessages = await import(
2922
- /* webpackChunkName: "messages_zh-HK" */ './es6/zh-HK-f2672873.es.js').then((m) => m.default);
2929
+ /* webpackChunkName: "messages_zh-HK" */ './es6/zh-HK-fa9bd73f.es.js').then((m) => m.default);
2923
2930
  break;
2924
2931
  case "zh":
2925
2932
  localizedMessages = await import(
2926
- /* webpackChunkName: "messages_zh" */ './es6/zh-866fc64f.es.js').then((m) => m.default);
2933
+ /* webpackChunkName: "messages_zh" */ './es6/zh-038b18f8.es.js').then((m) => m.default);
2927
2934
  break;
2928
2935
  default:
2929
2936
  logger.warn(`getMessagesModuleByLocale: Unable to load messages for ${locale}, falling back to en-US`);
@@ -3819,9 +3826,9 @@ const RequestOrganizationSuccessComponent = ({ requestOrganizationService, }) =>
3819
3826
  React.createElement("div", { className: "sid-logo sid-l-space-top-lg" },
3820
3827
  React.createElement("img", { className: "sid-logo__icon", alt: "Success", src: "https://assets-resources.sheerid.com/common/images/requestOrganization/circle-check.svg" })),
3821
3828
  React.createElement("div", { className: "sid-title" },
3822
- React.createElement(FormattedHTMLMessage, { id: "step.success.title", defaultMessage: "Thank you for submitting your school request" })),
3829
+ React.createElement(FormattedHTMLMessage, { id: "step.success.title", defaultMessage: "Thank you" })),
3823
3830
  React.createElement("div", { className: "sid-soft-font-color" },
3824
- React.createElement(FormattedHTMLMessage, { id: "step.success.description", defaultMessage: "As a reminder, each request is evaluated by SheerID against the requirements set by this offer. There is no guarantee that your school will be added. The evaluation process takes up to 7 business days." })))));
3831
+ React.createElement(FormattedHTMLMessage, { id: "step.success.description", defaultMessage: "Your request to add your educational institution has been received. As a reminder, each request is evaluated by SheerID against the requirements set by this offer. There is no guarantee that your school will be added. The evaluation process can take up to 7 business days." })))));
3825
3832
  };
3826
3833
 
3827
3834
  var CountryCode;
@@ -5086,20 +5093,64 @@ const Email = ({ value, isErrored, onChange, explanation, intl, onKeyDown = unde
5086
5093
  React.createElement(FormattedHTMLMessage, { id: "errorId.invalidEmail", defaultMessage: "Invalid email" }))) : null));
5087
5094
  const EmailComponent = injectIntl(Email);
5088
5095
 
5089
- const RequestOrganizationSearchResultComponent = ({ eligibleOrgs, ineligibleOrgs, }) => {
5096
+ const orgTypes = {
5097
+ university: "UNIVERSITY",
5098
+ k12: "K12",
5099
+ postSecondary: "POST_SECONDARY",
5100
+ highSchool: "HIGH_SCHOOL",
5101
+ };
5102
+ function byType(org) {
5103
+ return org.type === orgTypes[this];
5104
+ } // "this" is the second parameter (the string) provided to .filter() on the following lines. Note you can't use an arrow function b/c of `this` scoping rules. This defn can be moved outside (above) the React component as well.
5105
+ const RequestOrganizationSearchResult = ({ eligibleOrgs, ineligibleOrgs, intl, }) => {
5090
5106
  const hasMaxResults = () => eligibleOrgs.length + ineligibleOrgs.length >= requestOrganizationConstants.MAX_RESULT_SIZE;
5107
+ const eligibleUniversities = eligibleOrgs.filter(byType, "university");
5108
+ const eligibleK12 = eligibleOrgs.filter(byType, "k12");
5109
+ const eligiblePostSecondaries = eligibleOrgs.filter(byType, "postSecondary");
5110
+ const eligibleHighSchools = eligibleOrgs.filter(byType, "highSchool");
5111
+ const ineligibleUniversities = ineligibleOrgs.filter(byType, "university");
5112
+ const ineligibleK12 = ineligibleOrgs.filter(byType, "k12");
5113
+ const ineligiblePostSecondaries = ineligibleOrgs.filter(byType, "postSecondary");
5114
+ const ineligibleHighSchools = ineligibleOrgs.filter(byType, "highSchool");
5091
5115
  return (React.createElement("div", { className: "sid-l-space-top-md" },
5092
5116
  hasMaxResults() ? (React.createElement("div", { className: "sid-header__subtitle--error" },
5093
5117
  React.createElement(FormattedHTMLMessage, { id: "errorId.tooManyResults", defaultMessage: "Your search returned too many results, please refine your search and try again" }))) : null,
5094
- React.createElement("div", null,
5095
- React.createElement(FormattedHTMLMessage, { id: "eligibleOrgs", defaultMessage: "Eligible schools. Click the icon to copy name then return to the verification form:" })),
5096
- React.createElement("div", { className: "sid-l-space-top-sm" }, eligibleOrgs.length > 0 ? (eligibleOrgs.map((organization) => (React.createElement(OrganizationResultComponent, { key: organization.id, organization: organization, isEligible: true })))) : (React.createElement("div", null,
5097
- React.createElement(FormattedHTMLMessage, { id: "none", defaultMessage: "None" })))),
5098
- React.createElement("div", { className: "sid-l-space-top-md" },
5099
- React.createElement(FormattedHTMLMessage, { id: "ineligibleOrgs", defaultMessage: "Ineligible Schools. We are sorry, people from these schools are not eligible for this offer:" })),
5100
- React.createElement("div", { className: "sid-l-space-top-sm" }, ineligibleOrgs.length > 0 ? (ineligibleOrgs.map((organization) => (React.createElement(OrganizationResultComponent, { key: organization.id, organization: organization, isEligible: false })))) : (React.createElement("div", null,
5101
- React.createElement(FormattedHTMLMessage, { id: "none", defaultMessage: "None" }))))));
5102
- };
5118
+ (eligibleOrgs.length === 0 || ineligibleOrgs.length === 0) && (React.createElement("div", null,
5119
+ React.createElement(FormattedHTMLMessage, { id: "none", defaultMessage: "None" }))),
5120
+ eligibleUniversities.length > 0 && (React.createElement(React.Fragment, null,
5121
+ React.createElement("div", { className: "sid-l-space-top-sm" },
5122
+ React.createElement(FormattedHTMLMessage, { id: "orgType.university", defaultMessage: "Universities ({e})", values: { e: intl.formatHTMLMessage({ id: "orgType.eligible" }) } })),
5123
+ React.createElement("div", { className: "sid-l-space-top-sm" }, eligibleUniversities.map((organization) => (React.createElement(OrganizationResultComponent, { key: organization.id, organization: organization, isEligible: true })))))),
5124
+ eligibleK12.length > 0 && (React.createElement(React.Fragment, null,
5125
+ React.createElement("div", { className: "sid-l-space-top-sm" },
5126
+ React.createElement(FormattedHTMLMessage, { id: "orgType.k12", defaultMessage: "K12 ({e})", values: { e: intl.formatHTMLMessage({ id: "orgType.eligible" }) } })),
5127
+ React.createElement("div", { className: "sid-l-space-top-sm" }, eligibleK12.map((organization) => (React.createElement(OrganizationResultComponent, { key: organization.id, organization: organization, isEligible: true })))))),
5128
+ eligiblePostSecondaries.length > 0 && (React.createElement(React.Fragment, null,
5129
+ React.createElement("div", { className: "sid-l-space-top-sm" },
5130
+ React.createElement(FormattedHTMLMessage, { id: "orgType.postSecondary", defaultMessage: "Post Secondary Institutions ({e})", values: { e: intl.formatHTMLMessage({ id: "orgType.eligible" }) } })),
5131
+ React.createElement("div", { className: "sid-l-space-top-sm" }, eligiblePostSecondaries.map((organization) => (React.createElement(OrganizationResultComponent, { key: organization.id, organization: organization, isEligible: true })))))),
5132
+ eligibleHighSchools.length > 0 && (React.createElement(React.Fragment, null,
5133
+ React.createElement("div", { className: "sid-l-space-top-sm" },
5134
+ React.createElement(FormattedHTMLMessage, { id: "orgType.highSchool", defaultMessage: "High Schools / Secondary Schools ({e})", values: { e: intl.formatHTMLMessage({ id: "orgType.eligible" }) } })),
5135
+ React.createElement("div", { className: "sid-l-space-top-sm" }, eligibleHighSchools.map((organization) => (React.createElement(OrganizationResultComponent, { key: organization.id, organization: organization, isEligible: true })))))),
5136
+ ineligibleUniversities.length > 0 && (React.createElement(React.Fragment, null,
5137
+ React.createElement("div", { className: "sid-l-space-top-sm" },
5138
+ React.createElement(FormattedHTMLMessage, { id: "orgType.university", defaultMessage: "Universities ({e})", values: { e: intl.formatHTMLMessage({ id: "orgType.ineligible" }) } })),
5139
+ React.createElement("div", { className: "sid-l-space-top-sm" }, ineligibleUniversities.map((organization) => (React.createElement(OrganizationResultComponent, { key: organization.id, organization: organization, isEligible: false })))))),
5140
+ ineligibleK12.length > 0 && (React.createElement(React.Fragment, null,
5141
+ React.createElement("div", { className: "sid-l-space-top-sm" },
5142
+ React.createElement(FormattedHTMLMessage, { id: "orgType.k12", defaultMessage: "K12 ({e})", values: { e: intl.formatHTMLMessage({ id: "orgType.ineligible" }) } })),
5143
+ React.createElement("div", { className: "sid-l-space-top-sm" }, ineligibleK12.map((organization) => (React.createElement(OrganizationResultComponent, { key: organization.id, organization: organization, isEligible: false })))))),
5144
+ ineligiblePostSecondaries.length > 0 && (React.createElement(React.Fragment, null,
5145
+ React.createElement("div", { className: "sid-l-space-top-sm" },
5146
+ React.createElement(FormattedHTMLMessage, { id: "orgType.postSecondary", defaultMessage: "Post Secondary Institutions ({e})", values: { e: intl.formatHTMLMessage({ id: "orgType.ineligible" }) } })),
5147
+ React.createElement("div", { className: "sid-l-space-top-sm" }, ineligiblePostSecondaries.map((organization) => (React.createElement(OrganizationResultComponent, { key: organization.id, organization: organization, isEligible: false })))))),
5148
+ ineligibleHighSchools.length > 0 && (React.createElement(React.Fragment, null,
5149
+ React.createElement("div", { className: "sid-l-space-top-sm" },
5150
+ React.createElement(FormattedHTMLMessage, { id: "orgType.highSchool", defaultMessage: "High Schools / Secondary Schools ({e})", values: { e: intl.formatHTMLMessage({ id: "orgType.ineligible" }) } })),
5151
+ React.createElement("div", { className: "sid-l-space-top-sm" }, ineligibleHighSchools.map((organization) => (React.createElement(OrganizationResultComponent, { key: organization.id, organization: organization, isEligible: false }))))))));
5152
+ };
5153
+ const RequestOrganizationSearchResultComponent = injectIntl(RequestOrganizationSearchResult);
5103
5154
 
5104
5155
  const SearchFieldComponent = ({ name, label, value, placeholder, isErrored, onChange, onKeyDown, search, }) => {
5105
5156
  const handleOnKeyDown = (e) => {
@@ -9818,7 +9869,25 @@ const ChangeLocale = ({ value, options, onChange, intl, }) => {
9818
9869
  } }),
9819
9870
  React.createElement("div", { className: "sid-l-space-btm-sm" })));
9820
9871
  };
9821
- const ChangeLocaleComponent = injectIntl(ChangeLocale);
9872
+ const ChangeLocaleComponent = injectIntl(ChangeLocale);
9873
+ const ChangeLocaleV2 = ({ verificationService, intl }) => {
9874
+ const localeChoices = getAvailableLocaleChoices(verificationService.programTheme, intl);
9875
+ const defaultLocaleChoice = {
9876
+ value: "en-US",
9877
+ label: "English",
9878
+ };
9879
+ const updateLocale = (localeChoice) => {
9880
+ const nextState = fn(verificationService.viewModel, (draft) => {
9881
+ draft.localeChoice = localeChoice;
9882
+ });
9883
+ verificationService.updateLocale(nextState, verificationService.programTheme, verificationService.verificationResponse.segment);
9884
+ };
9885
+ if (localeChoices.length <= 1) {
9886
+ return null;
9887
+ }
9888
+ return (React.createElement(ChangeLocaleComponent, { options: localeChoices, value: verificationService.viewModel.localeChoice || defaultLocaleChoice, isErrored: false, onChange: (localeChoice) => updateLocale(localeChoice) }));
9889
+ };
9890
+ const ChangeLocaleV2Component = injectIntl(ChangeLocaleV2);
9822
9891
 
9823
9892
  const LoadingSpinnerComponent = () => (React.createElement("div", { className: "sid-spinner" },
9824
9893
  React.createElement("div", { className: "sid-spinner__frame" }),
@@ -10995,9 +11064,13 @@ const getRedirectUrlOverride = () => {
10995
11064
  const getErrorStepMockResponseOverrides = (mockResponse) => {
10996
11065
  const mockResponseClone = deepClone(mockResponse);
10997
11066
  const errorMock = getErrorIdOverride();
11067
+ const redirectUrlMock = getRedirectUrlOverride();
10998
11068
  if (errorMock) {
10999
11069
  mockResponseClone.errorIds = [errorMock];
11000
11070
  }
11071
+ if (redirectUrlMock) {
11072
+ mockResponseClone.redirectUrl = redirectUrlMock;
11073
+ }
11001
11074
  return mockResponseClone;
11002
11075
  };
11003
11076
  const getSuccessStepMockResponseOverrides = (mockResponse) => {
@@ -14631,6 +14704,7 @@ const verificationServiceReducer = (state = getInitialState(), action) => {
14631
14704
  case "RESET_STATE":
14632
14705
  return {
14633
14706
  ...deepClone(getInitialState()),
14707
+ programId: state.programId,
14634
14708
  };
14635
14709
  case "FORCE_UPDATE":
14636
14710
  return deepClone(state);
@@ -18494,14 +18568,20 @@ const HowDoesVerifyingWorkComponent = ({ verificationService, initialVisibility
18494
18568
  React.createElement(FaqLinkComponent, { verificationService: verificationService })))) : null));
18495
18569
  };
18496
18570
 
18497
- const BaseCountryComponentWrapper = ({ verificationService, viewModel, intl, viewModelDraftDecorator, }) => {
18571
+ const BaseCountryComponentWrapper = ({ verificationService, viewModelDraftDecorator = undefined, intl, viewModel = undefined, nextFocusField = undefined, }) => {
18572
+ if (viewModel) {
18573
+ logger.warn("viewModel prop is deprecated, use verificationService.viewModel instead");
18574
+ }
18575
+ if (nextFocusField) {
18576
+ logger.warn("nextFocusField prop is deprecated");
18577
+ }
18498
18578
  const countryChoices = getAvailableCountryChoices(verificationService.programTheme, intl);
18499
18579
  const defaultCountryChoice = getDefaultCountryChoice(countryChoices);
18500
18580
  const { fieldValidationErrors } = verificationService;
18501
18581
  const hasMultipleCountries = countryChoices.length > 1;
18502
18582
  const [firstRender, setFirstRender] = React.useState(true);
18503
18583
  const updateCountryChoice = (countryChoice) => {
18504
- const nextState = fn(viewModel, (draft) => {
18584
+ const nextState = fn(verificationService.viewModel, (draft) => {
18505
18585
  draft.countryChoice = countryChoice || undefined;
18506
18586
  // Adds backwards compatibility with Age and Employment programs
18507
18587
  draft.country = countryChoice ? countryChoice.value : undefined;
@@ -18514,8 +18594,8 @@ const BaseCountryComponentWrapper = ({ verificationService, viewModel, intl, vie
18514
18594
  React.useEffect(() => {
18515
18595
  if (firstRender) {
18516
18596
  setFirstRender(false);
18517
- const countryChoice = viewModel.countryChoice
18518
- ? viewModel.countryChoice
18597
+ const countryChoice = verificationService.viewModel.countryChoice
18598
+ ? verificationService.viewModel.countryChoice
18519
18599
  : defaultCountryChoice;
18520
18600
  updateCountryChoice(countryChoice);
18521
18601
  }
@@ -18523,27 +18603,28 @@ const BaseCountryComponentWrapper = ({ verificationService, viewModel, intl, vie
18523
18603
  React.useEffect(() => {
18524
18604
  const includesUS = countryChoices.some((choice) => choice.value === "US");
18525
18605
  if (!hasMultipleCountries && !includesUS) {
18526
- const fieldsToSkip = viewModel.fieldsToSkipValidation
18527
- ? [...viewModel.fieldsToSkipValidation, "country"]
18606
+ const fieldsToSkip = verificationService.viewModel.fieldsToSkipValidation
18607
+ ? [...verificationService.viewModel.fieldsToSkipValidation, "country"]
18528
18608
  : ["country", "address1", "postalCode", "state", "city"];
18529
- verificationService.updateViewModel(produceDraftViewModel(viewModel, "fieldsToSkipValidation", fieldsToSkip));
18609
+ verificationService.updateViewModel(produceDraftViewModel(verificationService.viewModel, "fieldsToSkipValidation", fieldsToSkip));
18530
18610
  }
18531
18611
  }, [hasMultipleCountries]);
18532
18612
  React.useEffect(() => {
18533
18613
  const updatedFieldValidationErrors = fn(verificationService.fieldValidationErrors, (draft) => {
18534
18614
  if (draft.country) {
18535
- draft.country = validateFieldById("country", viewModel.countryChoice, verificationService.formValidationOptions);
18615
+ draft.country = validateFieldById("country", verificationService.viewModel.countryChoice, verificationService.formValidationOptions);
18536
18616
  }
18537
- if ("postalCode" in viewModel && viewModel.postalCode) {
18538
- draft.postalCode = validateFieldById("postalCode", viewModel.postalCode, verificationService.formValidationOptions);
18617
+ if ("postalCode" in verificationService.viewModel &&
18618
+ verificationService.viewModel.postalCode) {
18619
+ draft.postalCode = validateFieldById("postalCode", verificationService.viewModel.postalCode, verificationService.formValidationOptions);
18539
18620
  }
18540
18621
  });
18541
18622
  updateFieldValidationErrors(updatedFieldValidationErrors, verificationService);
18542
- }, [viewModel.countryChoice]);
18623
+ }, [verificationService.viewModel.countryChoice]);
18543
18624
  if (!hasMultipleCountries) {
18544
18625
  return null;
18545
18626
  }
18546
- return (React.createElement(CountryComponent, { isRequired: true, options: countryChoices, value: viewModel.countryChoice, isErrored: Boolean(fieldValidationErrors.country), onChange: async (countryChoice) => {
18627
+ return (React.createElement(CountryComponent, { isRequired: true, options: countryChoices, value: verificationService.viewModel.countryChoice, isErrored: Boolean(fieldValidationErrors.country), onChange: async (countryChoice) => {
18547
18628
  const countryValue = countryChoice ? countryChoice.value : undefined;
18548
18629
  updateCountryChoice(countryChoice);
18549
18630
  updateFieldValidationErrorsByFieldId("country", countryValue, verificationService);
@@ -18625,14 +18706,9 @@ const ExtraMessage = ({ verificationService, suffix }) => verificationService.me
18625
18706
  /**
18626
18707
  * TODO - preamble
18627
18708
  */
18628
- const StepStudentPersonalInfo = ({ intl, verificationService, }) => {
18709
+ const StepStudentPersonalInfo = ({ verificationService, }) => {
18629
18710
  const viewModel = verificationService.viewModel;
18630
18711
  const { fieldValidationErrors } = verificationService;
18631
- const localeChoices = getAvailableLocaleChoices(verificationService.programTheme, intl);
18632
- const defaultLocaleChoice = {
18633
- value: "en-US",
18634
- label: "English",
18635
- };
18636
18712
  const verificationResponse = verificationService.verificationResponse;
18637
18713
  const failedInstantMatch = hasFailedInstantMatch(verificationResponse);
18638
18714
  const updateStudentViewModel = (key, value) => {
@@ -18641,12 +18717,6 @@ const StepStudentPersonalInfo = ({ intl, verificationService, }) => {
18641
18717
  });
18642
18718
  verificationService.updateViewModel(nextState);
18643
18719
  };
18644
- const updateLocale = (localeChoice) => {
18645
- const nextState = fn(viewModel, (draft) => {
18646
- draft.localeChoice = localeChoice;
18647
- });
18648
- verificationService.updateLocale(nextState, verificationService.programTheme, verificationService.verificationResponse.segment);
18649
- };
18650
18720
  return (React.createElement("div", { id: "sid-step-student-personal-info", className: "sid-l-container" },
18651
18721
  failedInstantMatch ? (React.createElement("div", { className: "sid-header" },
18652
18722
  React.createElement("div", { className: "sid-l-horz-center" },
@@ -18664,8 +18734,8 @@ const StepStudentPersonalInfo = ({ intl, verificationService, }) => {
18664
18734
  "\u00A0",
18665
18735
  React.createElement(HowDoesVerifyingWorkComponent, { verificationService: verificationService }),
18666
18736
  React.createElement(RewardsRemainingComponent, { verificationService: verificationService })))),
18667
- localeChoices.length > 1 ? (React.createElement(ChangeLocaleComponent, { options: localeChoices, value: viewModel.localeChoice || defaultLocaleChoice, isErrored: false, onChange: (localeChoice) => updateLocale(localeChoice) })) : null,
18668
- React.createElement(CountryComponentWrapper, { verificationService: verificationService, viewModel: viewModel }),
18737
+ React.createElement(ChangeLocaleV2Component, { verificationService: verificationService }),
18738
+ React.createElement(CountryComponentWrapper, { verificationService: verificationService }),
18669
18739
  React.createElement(CollegeNameComponent, { value: verificationService.viewModel.organization, verificationService: verificationService, isErrored: !!fieldValidationErrors.organization, isRequired: true, onChange: (choice) => {
18670
18740
  updateViewModelOrganization(choice, verificationService);
18671
18741
  updateFieldValidationErrorsByFieldId("organization", choice, verificationService);
@@ -18709,7 +18779,7 @@ const StepStudentPersonalInfo = ({ intl, verificationService, }) => {
18709
18779
  React.createElement("span", { id: "verify-status-text" }, failedInstantMatch ? (React.createElement(FormattedHTMLMessage, { id: "tryAgain", defaultMessage: "Try Again" })) : (React.createElement(FormattedHTMLMessage, { id: "verifyMyStudentStatus", defaultMessage: "Verify My Student Status" })))))),
18710
18780
  React.createElement(FormFooterComponent, { verificationService: verificationService })));
18711
18781
  };
18712
- const StepStudentPersonalInfoComponent = injectIntl(StepStudentPersonalInfo);
18782
+ const StepStudentPersonalInfoComponent = StepStudentPersonalInfo;
18713
18783
 
18714
18784
  const PostalCodeInput = ({ onChange, value, isValid, intl, placeholder = "", ariaLabelledBy, }) => (React.createElement(InputTextComponent, { id: "postal-code", isErrored: !isValid, onChange: (e) => onChange(e.target.value), pattern: "[a-zA-Z0-9 ]*", placeholder: placeholder ||
18715
18785
  intl.formatHTMLMessage({ id: "postalCodePlaceholder", defaultMessage: "Postal Code" }), refId: "postalCode", value: value, required: true, "aria-labelledby": ariaLabelledBy }));
@@ -18739,7 +18809,7 @@ const StepSeniorPersonalInfo = ({ verificationService }) => {
18739
18809
  });
18740
18810
  verificationService.updateViewModel(nextState);
18741
18811
  };
18742
- return (React.createElement("div", { id: "sid-step-student-personal-info", className: "sid-l-container" },
18812
+ return (React.createElement("div", { id: "sid-step-senior-personal-info", className: "sid-l-container" },
18743
18813
  failedInstantMatch ? (React.createElement("div", { className: "sid-header" },
18744
18814
  React.createElement("div", { className: "sid-l-horz-center" },
18745
18815
  React.createElement(LogoComponent, { verificationService: verificationService })),
@@ -18756,6 +18826,7 @@ const StepSeniorPersonalInfo = ({ verificationService }) => {
18756
18826
  "\u00A0",
18757
18827
  React.createElement(HowDoesVerifyingWorkComponent, { verificationService: verificationService }),
18758
18828
  React.createElement(RewardsRemainingComponent, { verificationService: verificationService })))),
18829
+ React.createElement(ChangeLocaleV2Component, { verificationService: verificationService }),
18759
18830
  React.createElement("div", { className: "sid-names" },
18760
18831
  React.createElement(FirstNameComponent, { value: viewModel.firstName, isErrored: !!fieldValidationErrors.firstName, onChange: (newValue) => {
18761
18832
  updateSeniorViewModel("firstName", newValue);
@@ -18905,7 +18976,8 @@ const StepAgePersonalInfo = ({ verificationService, intl }) => {
18905
18976
  "\u00A0",
18906
18977
  React.createElement(HowDoesVerifyingWorkComponent, { verificationService: verificationService }),
18907
18978
  React.createElement(RewardsRemainingComponent, { verificationService: verificationService })))),
18908
- React.createElement(CountryComponentWrapper, { verificationService: verificationService, viewModel: viewModel, viewModelDraftDecorator: (draft, countryChoice) => {
18979
+ React.createElement(ChangeLocaleV2Component, { verificationService: verificationService }),
18980
+ React.createElement(CountryComponentWrapper, { verificationService: verificationService, viewModelDraftDecorator: (draft, countryChoice) => {
18909
18981
  const viewModelDraft = draft;
18910
18982
  const country = countryChoice ? countryChoice.value : undefined;
18911
18983
  if (!displayPhoneNumber(country, smsLoopEnabled)) {
@@ -18988,32 +19060,17 @@ const TeacherSchool = ({ value, isErrored, onChange, verificationService, intl,
18988
19060
  };
18989
19061
  const TeacherSchoolComponent = injectIntl(TeacherSchool);
18990
19062
 
18991
- /**
18992
- * Step Teacher Personal Info Component
18993
- * TODO - We need to import more from es6
18994
- */
18995
- const StepTeacherPersonalInfo = ({ intl, verificationService, }) => {
19063
+ const StepTeacherPersonalInfo = ({ verificationService, }) => {
18996
19064
  const viewModel = verificationService.viewModel;
18997
19065
  const { fieldValidationErrors } = verificationService;
18998
19066
  const verificationResponse = verificationService.verificationResponse;
18999
19067
  const failedInstantMatch = hasFailedInstantMatch(verificationResponse);
19000
- const localeChoices = getAvailableLocaleChoices(verificationService.programTheme, intl);
19001
- const defaultLocaleChoice = {
19002
- value: "en-US",
19003
- label: "English",
19004
- };
19005
19068
  const updateTeacherViewModel = (key, value) => {
19006
19069
  const nextState = fn(viewModel, (draft) => {
19007
19070
  draft[key] = value;
19008
19071
  });
19009
19072
  verificationService.updateViewModel(nextState);
19010
19073
  };
19011
- const updateLocale = (localeChoice) => {
19012
- const nextState = fn(viewModel, (draft) => {
19013
- draft.localeChoice = localeChoice;
19014
- });
19015
- verificationService.updateLocale(nextState, verificationService.programTheme, verificationService.verificationResponse.segment);
19016
- };
19017
19074
  // Don't validate DOB if ID Check is not enabled
19018
19075
  useEffect(() => {
19019
19076
  if (!verificationService.programTheme.idCheckAddOnEnabled) {
@@ -19041,8 +19098,8 @@ const StepTeacherPersonalInfo = ({ intl, verificationService, }) => {
19041
19098
  "\u00A0",
19042
19099
  React.createElement(HowDoesVerifyingWorkComponent, { verificationService: verificationService }),
19043
19100
  React.createElement(RewardsRemainingComponent, { verificationService: verificationService })))),
19044
- localeChoices.length > 1 ? (React.createElement(ChangeLocaleComponent, { options: localeChoices, value: viewModel.localeChoice || defaultLocaleChoice, isErrored: false, onChange: (localeChoice) => updateLocale(localeChoice) })) : null,
19045
- React.createElement(CountryComponentWrapper, { verificationService: verificationService, viewModel: viewModel }),
19101
+ React.createElement(ChangeLocaleV2Component, { verificationService: verificationService }),
19102
+ React.createElement(CountryComponentWrapper, { verificationService: verificationService }),
19046
19103
  React.createElement(TeacherSchoolComponent, { value: verificationService.viewModel.organization, verificationService: verificationService, isErrored: !!fieldValidationErrors.organization, onChange: (choice) => {
19047
19104
  updateViewModelOrganization(choice, verificationService);
19048
19105
  updateFieldValidationErrorsByFieldId("organization", choice, verificationService);
@@ -19090,7 +19147,7 @@ const StepTeacherPersonalInfo = ({ intl, verificationService, }) => {
19090
19147
  React.createElement("span", { id: "verify-status-text" }, failedInstantMatch ? (React.createElement(FormattedHTMLMessage, { id: "tryAgain", defaultMessage: "Try Again" })) : (React.createElement(FormattedHTMLMessage, { id: "verifyMyTeacherStatus", defaultMessage: "Verify My Teacher Status" })))))),
19091
19148
  React.createElement(FormFooterComponent, { verificationService: verificationService })));
19092
19149
  };
19093
- const StepTeacherPersonalInfoComponent = injectIntl(StepTeacherPersonalInfo);
19150
+ const StepTeacherPersonalInfoComponent = StepTeacherPersonalInfo;
19094
19151
 
19095
19152
  const MemberId = ({ value, isErrored, onChange, explanation, intl, placeholder = "", isRequired = false, label, }) => {
19096
19153
  const getDefaultExplanation = () => !isRequired ? React.createElement(FormattedHTMLMessage, { id: "optional", defaultMessage: "Optional" }) : "";
@@ -19119,31 +19176,17 @@ const MembershipOrganization = ({ value, isErrored, onChange, verificationServic
19119
19176
  };
19120
19177
  const MembershipOrganizationComponent = injectIntl(MembershipOrganization);
19121
19178
 
19122
- /**
19123
- * Step Member Personal Info Component
19124
- */
19125
- const StepMemberPersonalInfo = ({ intl, verificationService, }) => {
19179
+ const StepMemberPersonalInfo = ({ verificationService }) => {
19126
19180
  const viewModel = verificationService.viewModel;
19127
19181
  const { fieldValidationErrors } = verificationService;
19128
19182
  const verificationResponse = verificationService.verificationResponse;
19129
19183
  const failedInstantMatch = hasFailedInstantMatch(verificationResponse);
19130
- const localeChoices = getAvailableLocaleChoices(verificationService.programTheme, intl);
19131
- const defaultLocaleChoice = {
19132
- value: "en-US",
19133
- label: "English",
19134
- };
19135
19184
  const updateMemberViewModel = (key, value) => {
19136
19185
  const nextState = fn(viewModel, (draft) => {
19137
19186
  draft[key] = value;
19138
19187
  });
19139
19188
  verificationService.updateViewModel(nextState);
19140
19189
  };
19141
- const updateLocale = (localeChoice) => {
19142
- const nextState = fn(viewModel, (draft) => {
19143
- draft.localeChoice = localeChoice;
19144
- });
19145
- verificationService.updateLocale(nextState, verificationService.programTheme, verificationService.verificationResponse.segment);
19146
- };
19147
19190
  return (React.createElement("div", { id: "sid-step-member-personal-info", className: "sid-l-container" },
19148
19191
  failedInstantMatch ? (React.createElement("div", { className: "sid-header" },
19149
19192
  React.createElement("div", { className: "sid-l-horz-center" },
@@ -19161,8 +19204,8 @@ const StepMemberPersonalInfo = ({ intl, verificationService, }) => {
19161
19204
  "\u00A0",
19162
19205
  React.createElement(HowDoesVerifyingWorkComponent, { verificationService: verificationService }),
19163
19206
  React.createElement(RewardsRemainingComponent, { verificationService: verificationService })))),
19164
- localeChoices.length > 1 ? (React.createElement(ChangeLocaleComponent, { options: localeChoices, value: viewModel.localeChoice || defaultLocaleChoice, isErrored: false, onChange: (localeChoice) => updateLocale(localeChoice) })) : null,
19165
- React.createElement(CountryComponentWrapper, { verificationService: verificationService, viewModel: viewModel }),
19207
+ React.createElement(ChangeLocaleV2Component, { verificationService: verificationService }),
19208
+ React.createElement(CountryComponentWrapper, { verificationService: verificationService }),
19166
19209
  React.createElement(MembershipOrganizationComponent, { value: verificationService.viewModel.organization, verificationService: verificationService, isErrored: !!fieldValidationErrors.organization, onChange: (choice) => {
19167
19210
  updateViewModelOrganization(choice, verificationService);
19168
19211
  updateFieldValidationErrorsByFieldId("organization", choice, verificationService);
@@ -19210,7 +19253,7 @@ const StepMemberPersonalInfo = ({ intl, verificationService, }) => {
19210
19253
  React.createElement("span", { id: "verify-status-text" }, failedInstantMatch ? (React.createElement(FormattedHTMLMessage, { id: "tryAgain", defaultMessage: "Try Again" })) : (React.createElement(FormattedHTMLMessage, { id: "verifyMyMembershipStatus", defaultMessage: "Verify My Membership Status" })))))),
19211
19254
  React.createElement(FormFooterComponent, { verificationService: verificationService })));
19212
19255
  };
19213
- const StepMemberPersonalInfoComponent = injectIntl(StepMemberPersonalInfo);
19256
+ const StepMemberPersonalInfoComponent = StepMemberPersonalInfo;
19214
19257
 
19215
19258
  const compareLabel = (a, b) => {
19216
19259
  let sortValue;
@@ -19353,7 +19396,8 @@ const StepActiveMilitaryPersonalInfo = ({ intl, verificationService, }) => {
19353
19396
  React.createElement("div", { className: "sid-header__how-verifying-works sid-l-horz-center" },
19354
19397
  React.createElement(HowDoesVerifyingWorkComponent, { verificationService: verificationService }),
19355
19398
  React.createElement(RewardsRemainingComponent, { verificationService: verificationService })))),
19356
- React.createElement(CountryComponentWrapper, { verificationService: verificationService, viewModel: viewModel }),
19399
+ React.createElement(ChangeLocaleV2Component, { verificationService: verificationService }),
19400
+ React.createElement(CountryComponentWrapper, { verificationService: verificationService }),
19357
19401
  availableStatuses ? (React.createElement(MilitaryStatusComponent, { value: {
19358
19402
  value: viewModel.status,
19359
19403
  label: getStatusLabel(intl, viewModel.status, MilitaryStatusDefaultMessagesEnum),
@@ -19563,7 +19607,8 @@ const StepInactiveMilitaryPersonalInfo = ({ intl, verificationService, }) => {
19563
19607
  "\u00A0",
19564
19608
  React.createElement(HowDoesVerifyingWorkComponent, { verificationService: verificationService }),
19565
19609
  React.createElement(RewardsRemainingComponent, { verificationService: verificationService })))),
19566
- React.createElement(CountryComponentWrapper, { verificationService: verificationService, viewModel: viewModel }),
19610
+ React.createElement(ChangeLocaleV2Component, { verificationService: verificationService }),
19611
+ React.createElement(CountryComponentWrapper, { verificationService: verificationService }),
19567
19612
  availableStatuses ? (React.createElement(MilitaryStatusComponent, { value: {
19568
19613
  value: viewModel.status,
19569
19614
  label: getStatusLabel(intl, viewModel.status, MilitaryStatusDefaultMessagesEnum),
@@ -19702,7 +19747,8 @@ const StepFirstResponderPersonalInfo = ({ intl, verificationService, }) => {
19702
19747
  React.createElement("div", { className: "sid-header__how-verifying-works sid-l-horz-center" },
19703
19748
  React.createElement(HowDoesVerifyingWorkComponent, { verificationService: verificationService }),
19704
19749
  React.createElement(RewardsRemainingComponent, { verificationService: verificationService })))),
19705
- React.createElement(CountryComponentWrapper, { verificationService: verificationService, viewModel: viewModel }),
19750
+ React.createElement(ChangeLocaleV2Component, { verificationService: verificationService }),
19751
+ React.createElement(CountryComponentWrapper, { verificationService: verificationService }),
19706
19752
  React.createElement(FirstResponderStatusComponent, { value: {
19707
19753
  value: viewModel.status,
19708
19754
  label: getStatusLabel(intl, viewModel.status, FirstResponderStatusDefaultMessagesEnum),
@@ -19857,7 +19903,8 @@ const StepMedicalProfessionalPersonalInfo = ({ intl, verificationService, }) =>
19857
19903
  React.createElement("div", { className: "sid-header__how-verifying-works sid-l-horz-center" },
19858
19904
  React.createElement(HowDoesVerifyingWorkComponent, { verificationService: verificationService }),
19859
19905
  React.createElement(RewardsRemainingComponent, { verificationService: verificationService })))),
19860
- React.createElement(CountryComponentWrapper, { verificationService: verificationService, viewModel: viewModel }),
19906
+ React.createElement(ChangeLocaleV2Component, { verificationService: verificationService }),
19907
+ React.createElement(CountryComponentWrapper, { verificationService: verificationService }),
19861
19908
  React.createElement(MedicalStatusComponent, { value: {
19862
19909
  value: viewModel.status,
19863
19910
  label: getStatusLabel(intl, viewModel.status, MedicalProfessionalStatusDefaultMessagesEnum),
@@ -19981,7 +20028,8 @@ const StepEmploymentPersonalInfo = ({ intl, verificationService, }) => {
19981
20028
  "\u00A0",
19982
20029
  React.createElement(HowDoesVerifyingWorkComponent, { verificationService: verificationService }),
19983
20030
  React.createElement(RewardsRemainingComponent, { verificationService: verificationService }))),
19984
- React.createElement(CountryComponentWrapper, { verificationService: verificationService, viewModel: viewModel, viewModelDraftDecorator: (draft, countryChoice) => {
20031
+ React.createElement(ChangeLocaleV2Component, { verificationService: verificationService }),
20032
+ React.createElement(CountryComponentWrapper, { verificationService: verificationService, viewModelDraftDecorator: (draft, countryChoice) => {
19985
20033
  const viewModel = draft;
19986
20034
  viewModel.shouldCollectAddress = shouldCollectAddressFields(countryChoice, verificationService.programTheme.config.countries);
19987
20035
  if (!viewModel.shouldCollectAddress) {
@@ -20104,6 +20152,7 @@ const StepDriverLicensePersonalInfo = ({ intl, verificationService, }) => {
20104
20152
  React.createElement("div", { className: "sid-header__how-verifying-works sid-l-horz-center" },
20105
20153
  React.createElement(HowDoesVerifyingWorkComponent, { verificationService: verificationService }),
20106
20154
  React.createElement(RewardsRemainingComponent, { verificationService: verificationService })))),
20155
+ React.createElement(ChangeLocaleV2Component, { verificationService: verificationService }),
20107
20156
  React.createElement("div", { className: "sid-names" },
20108
20157
  React.createElement(FirstNameComponent, { value: viewModel.firstName, isErrored: !!fieldValidationErrors.firstName, onChange: (newValue) => {
20109
20158
  updateIdentityViewModel("firstName", newValue);
@@ -20183,6 +20232,7 @@ const StepGeneralIdentityPersonalInfo = ({ intl, verificationService, }) => {
20183
20232
  React.createElement("div", { className: "sid-header__how-verifying-works sid-l-horz-center" },
20184
20233
  React.createElement(HowDoesVerifyingWorkComponent, { verificationService: verificationService }),
20185
20234
  React.createElement(RewardsRemainingComponent, { verificationService: verificationService })))),
20235
+ React.createElement(ChangeLocaleV2Component, { verificationService: verificationService }),
20186
20236
  React.createElement("div", { className: "sid-names" },
20187
20237
  React.createElement(FirstNameComponent, { value: viewModel.firstName, isErrored: !!fieldValidationErrors.firstName, onChange: (newValue) => {
20188
20238
  updateIdentityViewModel("firstName", newValue);
@@ -20275,6 +20325,7 @@ const StepHybridIdentityPersonalInfo = ({ intl, verificationService, }) => {
20275
20325
  React.createElement("div", { className: "sid-header__how-verifying-works sid-l-horz-center" },
20276
20326
  React.createElement(HowDoesVerifyingWorkComponent, { verificationService: verificationService }),
20277
20327
  React.createElement(RewardsRemainingComponent, { verificationService: verificationService })))),
20328
+ React.createElement(ChangeLocaleV2Component, { verificationService: verificationService }),
20278
20329
  React.createElement("div", { className: "sid-names" },
20279
20330
  React.createElement(FirstNameComponent, { value: viewModel.firstName, isErrored: !!fieldValidationErrors.firstName, onChange: (newValue) => {
20280
20331
  updateIdentityViewModel("firstName", newValue);
@@ -20403,7 +20454,9 @@ const StepLicensedProfessionalPersonalInfo = ({ intl, verificationService, }) =>
20403
20454
  return availableStatuses;
20404
20455
  };
20405
20456
  return (React.createElement("div", { id: "sid-step-licensed-professional-personal-info", className: "sid-l-container" },
20406
- failedInstantMatch ? (React.createElement("p", null, "Failied instant match")) : (React.createElement("div", { className: "sid-header" },
20457
+ failedInstantMatch ? (
20458
+ // TODO localize this message
20459
+ React.createElement("p", null, "Failied instant match")) : (React.createElement("div", { className: "sid-header" },
20407
20460
  React.createElement("div", { className: "sid-l-horz-center" },
20408
20461
  React.createElement(LogoComponent, { verificationService: verificationService })),
20409
20462
  React.createElement("div", { className: "sid-header__title sid-l-horz-center" },
@@ -20413,6 +20466,8 @@ const StepLicensedProfessionalPersonalInfo = ({ intl, verificationService, }) =>
20413
20466
  React.createElement("div", { className: "sid-header__how-verifying-works sid-l-horz-center" },
20414
20467
  React.createElement(HowDoesVerifyingWorkComponent, { verificationService: verificationService }),
20415
20468
  React.createElement(RewardsRemainingComponent, { verificationService: verificationService })))),
20469
+ React.createElement(ChangeLocaleV2Component, { verificationService: verificationService }),
20470
+ React.createElement(CountryComponentWrapper, { verificationService: verificationService }),
20416
20471
  React.createElement(StatusComponent, { segmentId: SEGMENT_ID$1, value: {
20417
20472
  value: viewModel.statuses ? viewModel.statuses[0] : "",
20418
20473
  label: viewModel.statuses ? getStatusLabel(viewModel.statuses[0]) : "",
@@ -20502,6 +20557,7 @@ const StepMoverPersonalInfo = ({ verificationService }) => {
20502
20557
  React.createElement("br", null),
20503
20558
  React.createElement(HowDoesVerifyingWorkComponent, { verificationService: verificationService }),
20504
20559
  React.createElement(RewardsRemainingComponent, { verificationService: verificationService })))),
20560
+ React.createElement(ChangeLocaleV2Component, { verificationService: verificationService }),
20505
20561
  React.createElement("div", { className: "sid-names" },
20506
20562
  React.createElement(FirstNameComponent, { value: viewModel.firstName, isErrored: !!fieldValidationErrors.firstName, onChange: (newValue) => {
20507
20563
  updateMoverViewModel("firstName", newValue);
@@ -20576,11 +20632,6 @@ const StepLowIncomePersonalInfo = ({ intl, verificationService, }) => {
20576
20632
  const { fieldValidationErrors } = verificationService;
20577
20633
  const verificationResponse = verificationService.verificationResponse;
20578
20634
  const failedInstantMatch = hasFailedInstantMatch(verificationResponse);
20579
- const localeChoices = getAvailableLocaleChoices(verificationService.programTheme, intl);
20580
- const defaultLocaleChoice = {
20581
- value: "en-US",
20582
- label: "English",
20583
- };
20584
20635
  const selectedStatus = viewModel.statuses[0] ? viewModel.statuses[0] : undefined;
20585
20636
  const isSelectedStatusSnapBenefits = selectedStatus === "SNAP_BENEFITS";
20586
20637
  const updateLowIncomeViewModel = (key, value) => {
@@ -20608,12 +20659,6 @@ const StepLowIncomePersonalInfo = ({ intl, verificationService, }) => {
20608
20659
  }
20609
20660
  return availableStatuses;
20610
20661
  };
20611
- const updateLocale = (localeChoice) => {
20612
- const nextState = fn(viewModel, (draft) => {
20613
- draft.localeChoice = localeChoice;
20614
- });
20615
- verificationService.updateLocale(nextState, verificationService.programTheme, verificationService.verificationResponse.segment);
20616
- };
20617
20662
  React.useEffect(() => {
20618
20663
  if (isSelectedStatusSnapBenefits) {
20619
20664
  const updatedViewModel = { fieldsToSkipValidation: ["organization"] };
@@ -20637,8 +20682,8 @@ const StepLowIncomePersonalInfo = ({ intl, verificationService, }) => {
20637
20682
  "\u00A0",
20638
20683
  React.createElement(HowDoesVerifyingWorkComponent, { verificationService: verificationService }),
20639
20684
  React.createElement(RewardsRemainingComponent, { verificationService: verificationService })))),
20640
- localeChoices.length > 1 ? (React.createElement(ChangeLocaleComponent, { options: localeChoices, value: viewModel.localeChoice || defaultLocaleChoice, isErrored: false, onChange: (localeChoice) => updateLocale(localeChoice) })) : null,
20641
- React.createElement(CountryComponentWrapper, { verificationService: verificationService, viewModel: viewModel }),
20685
+ React.createElement(ChangeLocaleV2Component, { verificationService: verificationService }),
20686
+ React.createElement(CountryComponentWrapper, { verificationService: verificationService }),
20642
20687
  React.createElement(StatusComponent, { segmentId: SEGMENT_ID, value: {
20643
20688
  value: viewModel.statuses ? viewModel.statuses[0] : "",
20644
20689
  label: viewModel.statuses ? getStatusLabel(viewModel.statuses[0]) : "",
@@ -20784,6 +20829,7 @@ const Step = ({ verificationService }) => {
20784
20829
  React.createElement(LogoComponent, { verificationService: verificationService })),
20785
20830
  React.createElement("div", { className: "sid-header__title sid-l-horz-center" },
20786
20831
  React.createElement(FormattedHTMLMessage, { id: "step.collectSocialSecurityNumber.title", defaultMessage: "Enter your social security number" })),
20832
+ React.createElement(ChangeLocaleV2Component, { verificationService: verificationService }),
20787
20833
  React.createElement("div", { className: "sid-ssn-wrapper" },
20788
20834
  React.createElement(SocialSecurityNumber, { value: viewModel.socialSecurityNumber, onChange: (value) => {
20789
20835
  updateSSNViewModel("socialSecurityNumber", value);
@@ -23530,6 +23576,7 @@ class Iframe {
23530
23576
  if (Iframe.isValidHttpUrl(url)) {
23531
23577
  const options = {
23532
23578
  className: iframeConstants.CLASS_NAMES.INLINE_IFRAME_CONTENT,
23579
+ title: iframeTitle,
23533
23580
  };
23534
23581
  this.containerElement = containerElement;
23535
23582
  this.verificationUrl = new URL(getVerificationUrl(url));
@@ -23556,7 +23603,7 @@ class Iframe {
23556
23603
  createIframe(options) {
23557
23604
  this.iframe = document.createElement("iframe");
23558
23605
  this.iframe.classList.add(options.className);
23559
- this.iframe.title = this.verificationUrl.href;
23606
+ this.iframe.title = options.title;
23560
23607
  let mark = "?";
23561
23608
  if (this.verificationUrl.search) {
23562
23609
  mark = "&";
@@ -23681,6 +23728,7 @@ class Modal {
23681
23728
  this.iframeInstance = new Iframe(wrapper, this.verificationUrl);
23682
23729
  const options = {
23683
23730
  className: iframeConstants.CLASS_NAMES.MODAL_IFRAME,
23731
+ title: iframeTitle,
23684
23732
  };
23685
23733
  this.iframeInstance.createIframe(options);
23686
23734
  wrapper.appendChild(this.iframeInstance.iframe);