@sheerid/jslib 1.100.0 → 1.102.1

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 (207) hide show
  1. package/__tests__/__mocks__/mockRequestsAndViewModels.d.ts +2 -1
  2. package/__tests__/__mocks__/mockResponses.d.ts +2 -1
  3. package/__tests__/__mocks__/mockVerificationService.d.ts +1 -0
  4. package/es5/Tmetrix.bundle.js +5 -5
  5. package/es5/messages_ar.bundle.js +5 -5
  6. package/es5/messages_bg.bundle.js +5 -5
  7. package/es5/messages_cs.bundle.js +5 -5
  8. package/es5/messages_da.bundle.js +5 -5
  9. package/es5/messages_de.bundle.js +5 -5
  10. package/es5/messages_el.bundle.js +5 -5
  11. package/es5/messages_en-GB.bundle.js +5 -5
  12. package/es5/messages_es-ES.bundle.js +5 -5
  13. package/es5/messages_es.bundle.js +5 -5
  14. package/es5/messages_fi.bundle.js +5 -5
  15. package/es5/messages_fr-CA.bundle.js +5 -5
  16. package/es5/messages_fr.bundle.js +5 -5
  17. package/es5/messages_ga.bundle.js +5 -5
  18. package/es5/messages_hr.bundle.js +5 -5
  19. package/es5/messages_hu.bundle.js +5 -5
  20. package/es5/messages_id.bundle.js +5 -5
  21. package/es5/messages_it.bundle.js +5 -5
  22. package/es5/messages_iw.bundle.js +5 -5
  23. package/es5/messages_ja.bundle.js +5 -5
  24. package/es5/messages_ko.bundle.js +5 -5
  25. package/es5/messages_lo.bundle.js +5 -5
  26. package/es5/messages_lt.bundle.js +5 -5
  27. package/es5/messages_ms.bundle.js +5 -5
  28. package/es5/messages_nl.bundle.js +5 -5
  29. package/es5/messages_no.bundle.js +5 -5
  30. package/es5/messages_pl.bundle.js +5 -5
  31. package/es5/messages_pt-BR.bundle.js +5 -5
  32. package/es5/messages_pt.bundle.js +5 -5
  33. package/es5/messages_ru.bundle.js +5 -5
  34. package/es5/messages_sk.bundle.js +5 -5
  35. package/es5/messages_sl.bundle.js +5 -5
  36. package/es5/messages_sr.bundle.js +5 -5
  37. package/es5/messages_sv.bundle.js +5 -5
  38. package/es5/messages_th.bundle.js +5 -5
  39. package/es5/messages_tr.bundle.js +5 -5
  40. package/es5/messages_zh-HK.bundle.js +5 -5
  41. package/es5/messages_zh.bundle.js +5 -5
  42. package/es6/{ar-aa7923c0.es.js → ar-93a526ca.es.js} +27 -5
  43. package/es6/{cs-0102f276.es.js.map → ar-93a526ca.es.js.map} +1 -1
  44. package/es6/{bg-7716e1e1.es.js → bg-22178b64.es.js} +26 -4
  45. package/es6/{ar-aa7923c0.es.js.map → bg-22178b64.es.js.map} +1 -1
  46. package/es6/{cs-0102f276.es.js → cs-283f4f4f.es.js} +33 -11
  47. package/es6/{da-7ea93323.es.js.map → cs-283f4f4f.es.js.map} +1 -1
  48. package/es6/{da-7ea93323.es.js → da-2d24d349.es.js} +28 -6
  49. package/es6/{bg-7716e1e1.es.js.map → da-2d24d349.es.js.map} +1 -1
  50. package/es6/{de-37bf2739.es.js → de-6b0a9bd8.es.js} +27 -5
  51. package/es6/de-6b0a9bd8.es.js.map +1 -0
  52. package/es6/{el-04fa4103.es.js → el-677aadeb.es.js} +28 -6
  53. package/es6/el-677aadeb.es.js.map +1 -0
  54. package/es6/{en-GB-8acf43be.es.js → en-GB-5874ccc1.es.js} +28 -6
  55. package/es6/{en-GB-8acf43be.es.js.map → en-GB-5874ccc1.es.js.map} +1 -1
  56. package/es6/{es-5112b32e.es.js → es-833eb4a0.es.js} +46 -24
  57. package/es6/es-833eb4a0.es.js.map +1 -0
  58. package/es6/{es-ES-c906634a.es.js → es-ES-21ddc896.es.js} +44 -22
  59. package/es6/{es-ES-c906634a.es.js.map → es-ES-21ddc896.es.js.map} +1 -1
  60. package/es6/{fi-2277ea1e.es.js → fi-91fed483.es.js} +28 -6
  61. package/es6/fi-91fed483.es.js.map +1 -0
  62. package/es6/{fr-CA-bfca14f3.es.js → fr-CA-479f7e7e.es.js} +61 -39
  63. package/es6/{fr-CA-bfca14f3.es.js.map → fr-CA-479f7e7e.es.js.map} +1 -1
  64. package/es6/{fr-b9d3dc58.es.js → fr-d3dc580b.es.js} +27 -5
  65. package/es6/fr-d3dc580b.es.js.map +1 -0
  66. package/es6/{ga-4bf9710e.es.js → ga-d8610062.es.js} +27 -5
  67. package/es6/ga-d8610062.es.js.map +1 -0
  68. package/es6/{hr-ed9b974f.es.js → hr-602b4ef6.es.js} +27 -5
  69. package/es6/hr-602b4ef6.es.js.map +1 -0
  70. package/es6/{hu-a36c8244.es.js → hu-c9db7f8e.es.js} +27 -5
  71. package/es6/hu-c9db7f8e.es.js.map +1 -0
  72. package/es6/{id-5896c7f1.es.js → id-d5f251dc.es.js} +26 -4
  73. package/es6/id-d5f251dc.es.js.map +1 -0
  74. package/es6/{it-7c28e015.es.js → it-d2da9a96.es.js} +27 -5
  75. package/es6/it-d2da9a96.es.js.map +1 -0
  76. package/es6/{iw-e61ca28b.es.js → iw-0e212eca.es.js} +27 -5
  77. package/es6/iw-0e212eca.es.js.map +1 -0
  78. package/es6/{ja-5e5d13be.es.js → ja-88e60aa3.es.js} +27 -5
  79. package/es6/ja-88e60aa3.es.js.map +1 -0
  80. package/es6/{ko-e4c5d44d.es.js → ko-fbc8a84a.es.js} +27 -5
  81. package/es6/ko-fbc8a84a.es.js.map +1 -0
  82. package/es6/{lo-3d03c534.es.js → lo-d483fdaa.es.js} +27 -5
  83. package/es6/lo-d483fdaa.es.js.map +1 -0
  84. package/es6/{lt-99c6971e.es.js → lt-146f2d30.es.js} +26 -4
  85. package/es6/lt-146f2d30.es.js.map +1 -0
  86. package/es6/{ms-e537ec43.es.js → ms-a9a79e9a.es.js} +27 -5
  87. package/es6/ms-a9a79e9a.es.js.map +1 -0
  88. package/es6/{nl-162d7a39.es.js → nl-fedc45b6.es.js} +27 -5
  89. package/es6/nl-fedc45b6.es.js.map +1 -0
  90. package/es6/{no-53861522.es.js → no-bbf26a90.es.js} +27 -5
  91. package/es6/no-bbf26a90.es.js.map +1 -0
  92. package/es6/{pl-b2b55c9f.es.js → pl-8e2c1688.es.js} +26 -4
  93. package/es6/pl-8e2c1688.es.js.map +1 -0
  94. package/es6/{pt-61825a2b.es.js → pt-3bdb1ff1.es.js} +27 -5
  95. package/es6/pt-3bdb1ff1.es.js.map +1 -0
  96. package/es6/{pt-BR-a9efa2ab.es.js → pt-BR-a4783678.es.js} +27 -5
  97. package/es6/{pt-BR-a9efa2ab.es.js.map → pt-BR-a4783678.es.js.map} +1 -1
  98. package/es6/{ru-cba590b5.es.js → ru-84d7d4fb.es.js} +26 -4
  99. package/es6/ru-84d7d4fb.es.js.map +1 -0
  100. package/es6/{sk-a190ec18.es.js → sk-43ad741e.es.js} +26 -4
  101. package/es6/sk-43ad741e.es.js.map +1 -0
  102. package/es6/{sl-fb23d48f.es.js → sl-34da7717.es.js} +26 -4
  103. package/es6/sl-34da7717.es.js.map +1 -0
  104. package/es6/{sr-07ed6a42.es.js → sr-06f3f223.es.js} +27 -5
  105. package/es6/sr-06f3f223.es.js.map +1 -0
  106. package/es6/{sv-bd7e69b0.es.js → sv-997fb8ea.es.js} +27 -5
  107. package/es6/sv-997fb8ea.es.js.map +1 -0
  108. package/es6/{th-ee9b4c94.es.js → th-1d7d80c5.es.js} +27 -5
  109. package/es6/th-1d7d80c5.es.js.map +1 -0
  110. package/es6/{tr-133c4315.es.js → tr-b4dd39c1.es.js} +27 -5
  111. package/es6/tr-b4dd39c1.es.js.map +1 -0
  112. package/es6/{zh-52690171.es.js → zh-5b4411b0.es.js} +25 -3
  113. package/es6/zh-5b4411b0.es.js.map +1 -0
  114. package/es6/{zh-HK-bea37a07.es.js → zh-HK-e929b1ae.es.js} +25 -3
  115. package/es6/zh-HK-e929b1ae.es.js.map +1 -0
  116. package/localized-messages/ar.json +26 -4
  117. package/localized-messages/bg.json +25 -3
  118. package/localized-messages/cs.json +32 -10
  119. package/localized-messages/da.json +27 -5
  120. package/localized-messages/de.json +26 -4
  121. package/localized-messages/el.json +27 -5
  122. package/localized-messages/en-GB.json +27 -5
  123. package/localized-messages/en-US.json +26 -4
  124. package/localized-messages/es-ES.json +43 -21
  125. package/localized-messages/es.json +45 -23
  126. package/localized-messages/fi.json +27 -5
  127. package/localized-messages/fr-CA.json +60 -38
  128. package/localized-messages/fr.json +26 -4
  129. package/localized-messages/ga.json +26 -4
  130. package/localized-messages/hr.json +26 -4
  131. package/localized-messages/hu.json +26 -4
  132. package/localized-messages/id.json +25 -3
  133. package/localized-messages/it.json +26 -4
  134. package/localized-messages/iw.json +26 -4
  135. package/localized-messages/ja.json +26 -4
  136. package/localized-messages/ko.json +26 -4
  137. package/localized-messages/lo.json +26 -4
  138. package/localized-messages/lt.json +25 -3
  139. package/localized-messages/ms.json +26 -4
  140. package/localized-messages/nl.json +26 -4
  141. package/localized-messages/no.json +26 -4
  142. package/localized-messages/pl.json +25 -3
  143. package/localized-messages/pt-BR.json +26 -4
  144. package/localized-messages/pt.json +26 -4
  145. package/localized-messages/ru.json +25 -3
  146. package/localized-messages/sk.json +25 -3
  147. package/localized-messages/sl.json +25 -3
  148. package/localized-messages/sr.json +26 -4
  149. package/localized-messages/sv.json +26 -4
  150. package/localized-messages/th.json +26 -4
  151. package/localized-messages/tr.json +26 -4
  152. package/localized-messages/zh-HK.json +24 -2
  153. package/localized-messages/zh.json +24 -2
  154. package/manifest.json +48 -48
  155. package/package.json +1 -1
  156. package/sheerid-requestOrg.css +5 -5
  157. package/sheerid-requestOrg.css.map +1 -1
  158. package/sheerid-requestOrg.js +15 -15
  159. package/sheerid-requestOrg.js.map +1 -1
  160. package/sheerid-utils.js +9 -9
  161. package/sheerid-utils.js.map +1 -1
  162. package/sheerid.css +5 -5
  163. package/sheerid.css.map +1 -1
  164. package/sheerid.js +18 -18
  165. package/sheerid.js.map +1 -1
  166. package/sheerides6.js +311 -65
  167. package/sheerides6.js.map +1 -1
  168. package/src/components/FormFields/LowIncomeOrganization/LowIncomeOrganizationComponent.d.ts +7 -0
  169. package/src/components/FormFields/LowIncomeOrganization/LowIncomeOrganizationComponent.test.d.ts +1 -0
  170. package/src/components/StepLowIncomePersonalInfo/StepLowIncomePersonalInfoComponent.d.ts +11 -0
  171. package/src/components/StepLowIncomePersonalInfo/StepLowIncomePersonalInfoComponent.test.d.ts +1 -0
  172. package/src/es6.d.ts +3 -2
  173. package/src/lib/intl/messages/lowIncomeMessages.d.ts +2 -0
  174. package/src/lib/types/empties.d.ts +2 -1
  175. package/src/lib/types/runtimeTypes.d.ts +9 -2
  176. package/src/lib/types/types.d.ts +39 -9
  177. package/src/serverMocks/mocks.d.ts +3 -1
  178. package/types-reference.zip +0 -0
  179. package/es6/de-37bf2739.es.js.map +0 -1
  180. package/es6/el-04fa4103.es.js.map +0 -1
  181. package/es6/es-5112b32e.es.js.map +0 -1
  182. package/es6/fi-2277ea1e.es.js.map +0 -1
  183. package/es6/fr-b9d3dc58.es.js.map +0 -1
  184. package/es6/ga-4bf9710e.es.js.map +0 -1
  185. package/es6/hr-ed9b974f.es.js.map +0 -1
  186. package/es6/hu-a36c8244.es.js.map +0 -1
  187. package/es6/id-5896c7f1.es.js.map +0 -1
  188. package/es6/it-7c28e015.es.js.map +0 -1
  189. package/es6/iw-e61ca28b.es.js.map +0 -1
  190. package/es6/ja-5e5d13be.es.js.map +0 -1
  191. package/es6/ko-e4c5d44d.es.js.map +0 -1
  192. package/es6/lo-3d03c534.es.js.map +0 -1
  193. package/es6/lt-99c6971e.es.js.map +0 -1
  194. package/es6/ms-e537ec43.es.js.map +0 -1
  195. package/es6/nl-162d7a39.es.js.map +0 -1
  196. package/es6/no-53861522.es.js.map +0 -1
  197. package/es6/pl-b2b55c9f.es.js.map +0 -1
  198. package/es6/pt-61825a2b.es.js.map +0 -1
  199. package/es6/ru-cba590b5.es.js.map +0 -1
  200. package/es6/sk-a190ec18.es.js.map +0 -1
  201. package/es6/sl-fb23d48f.es.js.map +0 -1
  202. package/es6/sr-07ed6a42.es.js.map +0 -1
  203. package/es6/sv-bd7e69b0.es.js.map +0 -1
  204. package/es6/th-ee9b4c94.es.js.map +0 -1
  205. package/es6/tr-133c4315.es.js.map +0 -1
  206. package/es6/zh-52690171.es.js.map +0 -1
  207. package/es6/zh-HK-bea37a07.es.js.map +0 -1
package/sheerides6.js CHANGED
@@ -517,6 +517,7 @@ var VerificationStepsEnum;
517
517
  VerificationStepsEnum["collectHybridIdentityPersonalInfo"] = "collectHybridIdentityPersonalInfo";
518
518
  VerificationStepsEnum["collectLicensedProfessionalPersonalInfo"] = "collectLicensedProfessionalPersonalInfo";
519
519
  VerificationStepsEnum["collectMoverPersonalInfo"] = "collectMoverPersonalInfo";
520
+ VerificationStepsEnum["collectLowIncomePersonalInfo"] = "collectLowIncomePersonalInfo";
520
521
  VerificationStepsEnum["docUpload"] = "docUpload";
521
522
  VerificationStepsEnum["pending"] = "pending";
522
523
  VerificationStepsEnum["docReviewLimitExceeded"] = "docReviewLimitExceeded";
@@ -575,6 +576,7 @@ var SegmentEnum;
575
576
  SegmentEnum["IDENTITY"] = "identity";
576
577
  SegmentEnum["LICENSED_PROFESSIONAL"] = "licensedProfessional";
577
578
  SegmentEnum["RECENT_MOVER"] = "recentMover";
579
+ SegmentEnum["LOW_INCOME"] = "lowIncome";
578
580
  })(SegmentEnum || (SegmentEnum = {}));
579
581
  const Segments = Object.values(SegmentEnum); // For runtime checks
580
582
  var SubSegmentEnum;
@@ -597,6 +599,7 @@ var SubSegmentEnum;
597
599
  SubSegmentEnum["LICENSED_COSMETOLOGIST"] = "licensedCosmetologist";
598
600
  SubSegmentEnum["LICENSED_REAL_ESTATE_AGENT"] = "licensedRealEstateAgent";
599
601
  SubSegmentEnum["VETERINARIAN"] = "Veterinarian";
602
+ SubSegmentEnum["SNAP_BENEFITS"] = "snapBenefits";
600
603
  })(SubSegmentEnum || (SubSegmentEnum = {}));
601
604
  Object.values(SubSegmentEnum); // For runtime checks
602
605
  var MilitaryStatusDefaultMessagesEnum;
@@ -636,10 +639,15 @@ var RecentMoverStatusDefaultMessagesEnum;
636
639
  RecentMoverStatusDefaultMessagesEnum["HOME_BUYER"] = "Home Buyer";
637
640
  RecentMoverStatusDefaultMessagesEnum["OTHER_MOVER"] = "Other Mover";
638
641
  })(RecentMoverStatusDefaultMessagesEnum || (RecentMoverStatusDefaultMessagesEnum = {}));
642
+ var LowIncomeStatusDefaultMessagesEnum;
643
+ (function (LowIncomeStatusDefaultMessagesEnum) {
644
+ LowIncomeStatusDefaultMessagesEnum["SNAP_BENEFITS"] = "Snap Benefits Recipient";
645
+ })(LowIncomeStatusDefaultMessagesEnum || (LowIncomeStatusDefaultMessagesEnum = {}));
639
646
  Object.values(MilitaryStatusDefaultMessagesEnum); // For runtime checks
640
647
  Object.values(FirstResponderStatusDefaultMessagesEnum); // For runtime checks
641
648
  Object.values(MedicalProfessionalStatusDefaultMessagesEnum); // For runtime checks
642
649
  Object.values(RecentMoverStatusDefaultMessagesEnum); // For runtime checks
650
+ Object.values(LowIncomeStatusDefaultMessagesEnum); // For runtime checks
643
651
  var FieldIdEnum;
644
652
  (function (FieldIdEnum) {
645
653
  FieldIdEnum["firstName"] = "firstName";
@@ -1804,6 +1812,7 @@ var enUSMessages = {
1804
1812
  "defaultMessages.PHARMACIST": "Pharmacist",
1805
1813
  "defaultMessages.POLICE": "Police",
1806
1814
  "defaultMessages.RESERVIST": "Reservist or National Guard",
1815
+ "defaultMessages.SNAP_BENEFITS": "Snap Benefits Recipient",
1807
1816
  "defaultMessages.VETERAN": "Military Veteran or Retiree",
1808
1817
  "defaultMessages.VETERINARIAN": "Veterinarian",
1809
1818
  "defaultMessages.address": "Address",
@@ -2316,6 +2325,10 @@ var enUSMessages = {
2316
2325
  "defaultMessages.step.docUpload.acceptableUploads.firstResponder.letter": "An official letter",
2317
2326
  "defaultMessages.step.docUpload.acceptableUploads.firstResponder.payStub": "Pay stub from within last 60 days",
2318
2327
  "defaultMessages.step.docUpload.acceptableUploads.licensedProfessional.license": "Certificate of license",
2328
+ "defaultMessages.step.docUpload.acceptableUploads.lowIncome.programApprovalLetter": "Approval letter of the selected government assistance program issued by a government agency (for example, a Supplemental Security Income (SSI) eligibility letter).",
2329
+ "defaultMessages.step.docUpload.acceptableUploads.lowIncome.programApprovalScreenshot": "A screenshot of the online portal of the selected government assistance program showing you qualify for it (Screenshot of your Medicare application status on your online account).",
2330
+ "defaultMessages.step.docUpload.acceptableUploads.lowIncome.programBankStatement": "A bank statement showing recent payment of the selected benefit.",
2331
+ "defaultMessages.step.docUpload.acceptableUploads.lowIncome.programCard": "Back and front of a card showing you qualify for the selected government assistance program (for example, an EBT card for a SNAP Program).",
2319
2332
  "defaultMessages.step.docUpload.acceptableUploads.medical.idCard": "Nursing ID card with expiration date",
2320
2333
  "defaultMessages.step.docUpload.acceptableUploads.medical.licenseCertificate": "Certificate of license",
2321
2334
  "defaultMessages.step.docUpload.acceptableUploads.medical.photoPayStub": "Photo ID and recent Pay Stub",
@@ -2405,6 +2418,8 @@ var enUSMessages = {
2405
2418
  "defaultMessages.step.docUpload.uploadInfo.identity.validDate": "A currently valid date",
2406
2419
  "defaultMessages.step.docUpload.uploadInfo.licensedProfessional.licenseStatus": "Your professional license and/or certification status",
2407
2420
  "defaultMessages.step.docUpload.uploadInfo.licensedProfessional.validDate": "A currently valid date",
2421
+ "defaultMessages.step.docUpload.uploadInfo.lowIncome.fullName": "Your full name",
2422
+ "defaultMessages.step.docUpload.uploadInfo.lowIncome.validDate": "A valid date of issue (within the last 12 months) or date of expiry (must be valid)",
2408
2423
  "defaultMessages.step.docUpload.uploadInfo.medical.status": "Your medical professional status",
2409
2424
  "defaultMessages.step.docUpload.uploadInfo.medical.validDate": "A currently valid date",
2410
2425
  "defaultMessages.step.docUpload.uploadInfo.military.currentAffiliation": "Your current affiliation with the armed services",
@@ -2421,8 +2436,8 @@ var enUSMessages = {
2421
2436
  "defaultMessages.step.docUpload.uploadInfo.teacher.school": "Your school",
2422
2437
  "defaultMessages.step.emailLoop.errors.resend": "Error sending email",
2423
2438
  "defaultMessages.step.emailLoop.resendButton": "Re-send",
2424
- "defaultMessages.step.emailLoop.skipEmail": "Unable to retrieve this email? Click ",
2425
- "defaultMessages.step.emailLoop.skipEmail2": " to proceed.",
2439
+ "defaultMessages.step.emailLoop.skipEmail": "Unable to retrieve this email? Click",
2440
+ "defaultMessages.step.emailLoop.skipEmail2": "to proceed.",
2426
2441
  "defaultMessages.step.emailLoop.skipEmailCTA": "here",
2427
2442
  "defaultMessages.step.emailLoop.subtitle2": "Please check for an email from us (verify@sheerid.com) for all the details.",
2428
2443
  "defaultMessages.step.emailLoop.subtitleWithEmail": "An email has been sent to {email} with a personalized link to complete the verification process.",
@@ -2451,8 +2466,8 @@ var enUSMessages = {
2451
2466
  "defaultMessages.step.smsLoop.errors.codeResendLimit": "Maximum number of re-tries has been reached.",
2452
2467
  "defaultMessages.step.smsLoop.errors.codeVerification": "Verification code could not be validated.",
2453
2468
  "defaultMessages.step.smsLoop.errors.resend": "Error sending the SMS message",
2454
- "defaultMessages.step.smsLoop.incorrectNumber.incorrectNumber1": "Incorrect number? Click ",
2455
- "defaultMessages.step.smsLoop.incorrectNumber.incorrectNumber2": "here ",
2469
+ "defaultMessages.step.smsLoop.incorrectNumber.incorrectNumber1": "Incorrect number? Click",
2470
+ "defaultMessages.step.smsLoop.incorrectNumber.incorrectNumber2": "here",
2456
2471
  "defaultMessages.step.smsLoop.incorrectNumber.incorrectNumber3": "to return to {companyName}",
2457
2472
  "defaultMessages.step.smsLoop.resendButton": "Re-send",
2458
2473
  "defaultMessages.step.smsLoop.submitButton": "Submit",
@@ -2473,6 +2488,7 @@ var enUSMessages = {
2473
2488
  "defaultMessages.universityName": "University name",
2474
2489
  "defaultMessages.verificationPurposesOnly": "Used for verification purposes only",
2475
2490
  "defaultMessages.verifyAndContinue": "Verify and continue",
2491
+ "defaultMessages.verifyLowIncomeStatus": "Verify my status",
2476
2492
  "defaultMessages.verifyMyEmploymentStatus": "Verify My Employee Status",
2477
2493
  "defaultMessages.verifyMyFirstResponderStatus": "Verify My First Responder Status",
2478
2494
  "defaultMessages.verifyMyIdentityStatus": "Verify My Identity",
@@ -2591,6 +2607,20 @@ var enUSMessages = {
2591
2607
  "segmentMessages.licensedProfessional.step.success.redirectButtonText": "Use code now",
2592
2608
  "segmentMessages.licensedProfessional.step.success.subtitle": "Here is your personal coupon code. It is unique to you and can only be used once.",
2593
2609
  "segmentMessages.licensedProfessional.step.success.title": "You've been verified",
2610
+ "segmentMessages.lowIncome.emailExplanation": "Needed to send you your unique code",
2611
+ "segmentMessages.lowIncome.step.docUpload.howDoesVerifyingWorkDetails": "Document review is handled by SheerID, a trusted partner who specializes in verifying your eligibility.\n <br><br>\n Documents are used only for verifying your eligibility status is current and will be permanently deleted after review is finalized. They will not be shared with {companyName}",
2612
+ "segmentMessages.lowIncome.step.docUpload.subtitle": "Documents will be reviewed in {estimatedWaitTime} by staff at SheerID, a trusted partner.",
2613
+ "segmentMessages.lowIncome.step.docUpload.title": "We need some more info",
2614
+ "segmentMessages.lowIncome.step.docUpload.uploadInstructions": "Upload an official document that shows:",
2615
+ "segmentMessages.lowIncome.step.personalInfo.howDoesVerifyingWorkDetails": "\n To be eligible for this offer, you must currently qualify for an eligible government assistance program. The eligible Government Assistance Programs for this offer can be found in the box below. \n <br><br>\n {companyName} uses SheerID, a trusted partner, to verify that you are a recipient of these benefits. \n SheerID only collects information that assists in verifying your eligibility. Additional information or documentation may be requested.",
2616
+ "segmentMessages.lowIncome.step.personalInfo.subtitle": "Verify you qualify for an eligible government assistance program.",
2617
+ "segmentMessages.lowIncome.step.personalInfo.title": "Unlock this Special Offer",
2618
+ "segmentMessages.lowIncome.step.personalInfo.tryAgain.subtitle": "Your information must match what is on your government-issued document(s).",
2619
+ "segmentMessages.lowIncome.step.personalInfo.tryAgain.title": "Check Your full name & other fields",
2620
+ "segmentMessages.lowIncome.step.personalInfo.verifyingTitle": "Verifying your status",
2621
+ "segmentMessages.lowIncome.step.success.redirectButtonText": "Use code now",
2622
+ "segmentMessages.lowIncome.step.success.subtitle": "Here is your personal coupon code. It is unique to you and can only be used once.",
2623
+ "segmentMessages.lowIncome.step.success.title": "You've been verified",
2594
2624
  "segmentMessages.medical.emailExplanation": "Use your work email if you have one",
2595
2625
  "segmentMessages.medical.step.docUpload.howDoesVerifyingWorkDetails": "Document review is handled by SheerID, a trusted partner who specializes in verifying\n medical professionals.<br><br>Documents are used only for verifying your medical professional status is\n current and will be permanently deleted after review is finalized. They will not be shared with {companyName}.",
2596
2626
  "segmentMessages.medical.step.docUpload.subtitle": "Documents will be reviewed in {estimatedWaitTime} by staff at SheerID, a trusted partner.",
@@ -2718,154 +2748,154 @@ const getMessagesModuleByLocale = async (locale) => {
2718
2748
  switch (locale) {
2719
2749
  case "ar":
2720
2750
  localizedMessages = await import(
2721
- /* webpackChunkName: "messages_ar" */ './es6/ar-aa7923c0.es.js').then((m) => m.default);
2751
+ /* webpackChunkName: "messages_ar" */ './es6/ar-93a526ca.es.js').then((m) => m.default);
2722
2752
  break;
2723
2753
  case "bg":
2724
2754
  localizedMessages = await import(
2725
- /* webpackChunkName: "messages_bg" */ './es6/bg-7716e1e1.es.js').then((m) => m.default);
2755
+ /* webpackChunkName: "messages_bg" */ './es6/bg-22178b64.es.js').then((m) => m.default);
2726
2756
  break;
2727
2757
  case "cs":
2728
2758
  localizedMessages = await import(
2729
- /* webpackChunkName: "messages_cs" */ './es6/cs-0102f276.es.js').then((m) => m.default);
2759
+ /* webpackChunkName: "messages_cs" */ './es6/cs-283f4f4f.es.js').then((m) => m.default);
2730
2760
  break;
2731
2761
  case "da":
2732
2762
  localizedMessages = await import(
2733
- /* webpackChunkName: "messages_da" */ './es6/da-7ea93323.es.js').then((m) => m.default);
2763
+ /* webpackChunkName: "messages_da" */ './es6/da-2d24d349.es.js').then((m) => m.default);
2734
2764
  break;
2735
2765
  case "de":
2736
2766
  localizedMessages = await import(
2737
- /* webpackChunkName: "messages_de" */ './es6/de-37bf2739.es.js').then((m) => m.default);
2767
+ /* webpackChunkName: "messages_de" */ './es6/de-6b0a9bd8.es.js').then((m) => m.default);
2738
2768
  break;
2739
2769
  case "el":
2740
2770
  localizedMessages = await import(
2741
- /* webpackChunkName: "messages_el" */ './es6/el-04fa4103.es.js').then((m) => m.default);
2771
+ /* webpackChunkName: "messages_el" */ './es6/el-677aadeb.es.js').then((m) => m.default);
2742
2772
  break;
2743
2773
  case "en-GB":
2744
2774
  localizedMessages = await import(
2745
- /* webpackChunkName: "messages_en-GB" */ './es6/en-GB-8acf43be.es.js').then((m) => m.default);
2775
+ /* webpackChunkName: "messages_en-GB" */ './es6/en-GB-5874ccc1.es.js').then((m) => m.default);
2746
2776
  break;
2747
2777
  case "en-US":
2748
2778
  localizedMessages = enUSMessages;
2749
2779
  break;
2750
2780
  case "es-ES":
2751
2781
  localizedMessages = await import(
2752
- /* webpackChunkName: "messages_es-ES" */ './es6/es-ES-c906634a.es.js').then((m) => m.default);
2782
+ /* webpackChunkName: "messages_es-ES" */ './es6/es-ES-21ddc896.es.js').then((m) => m.default);
2753
2783
  break;
2754
2784
  case "es":
2755
2785
  localizedMessages = await import(
2756
- /* webpackChunkName: "messages_es" */ './es6/es-5112b32e.es.js').then((m) => m.default);
2786
+ /* webpackChunkName: "messages_es" */ './es6/es-833eb4a0.es.js').then((m) => m.default);
2757
2787
  break;
2758
2788
  case "fi":
2759
2789
  localizedMessages = await import(
2760
- /* webpackChunkName: "messages_fi" */ './es6/fi-2277ea1e.es.js').then((m) => m.default);
2790
+ /* webpackChunkName: "messages_fi" */ './es6/fi-91fed483.es.js').then((m) => m.default);
2761
2791
  break;
2762
2792
  case "fr-CA":
2763
2793
  localizedMessages = await import(
2764
- /* webpackChunkName: "messages_fr-CA" */ './es6/fr-CA-bfca14f3.es.js').then((m) => m.default);
2794
+ /* webpackChunkName: "messages_fr-CA" */ './es6/fr-CA-479f7e7e.es.js').then((m) => m.default);
2765
2795
  break;
2766
2796
  case "fr":
2767
2797
  localizedMessages = await import(
2768
- /* webpackChunkName: "messages_fr" */ './es6/fr-b9d3dc58.es.js').then((m) => m.default);
2798
+ /* webpackChunkName: "messages_fr" */ './es6/fr-d3dc580b.es.js').then((m) => m.default);
2769
2799
  break;
2770
2800
  case "ga":
2771
2801
  localizedMessages = await import(
2772
- /* webpackChunkName: "messages_ga" */ './es6/ga-4bf9710e.es.js').then((m) => m.default);
2802
+ /* webpackChunkName: "messages_ga" */ './es6/ga-d8610062.es.js').then((m) => m.default);
2773
2803
  break;
2774
2804
  case "hr":
2775
2805
  localizedMessages = await import(
2776
- /* webpackChunkName: "messages_hr" */ './es6/hr-ed9b974f.es.js').then((m) => m.default);
2806
+ /* webpackChunkName: "messages_hr" */ './es6/hr-602b4ef6.es.js').then((m) => m.default);
2777
2807
  break;
2778
2808
  case "hu":
2779
2809
  localizedMessages = await import(
2780
- /* webpackChunkName: "messages_hu" */ './es6/hu-a36c8244.es.js').then((m) => m.default);
2810
+ /* webpackChunkName: "messages_hu" */ './es6/hu-c9db7f8e.es.js').then((m) => m.default);
2781
2811
  break;
2782
2812
  case "id":
2783
2813
  localizedMessages = await import(
2784
- /* webpackChunkName: "messages_id" */ './es6/id-5896c7f1.es.js').then((m) => m.default);
2814
+ /* webpackChunkName: "messages_id" */ './es6/id-d5f251dc.es.js').then((m) => m.default);
2785
2815
  break;
2786
2816
  case "it":
2787
2817
  localizedMessages = await import(
2788
- /* webpackChunkName: "messages_it" */ './es6/it-7c28e015.es.js').then((m) => m.default);
2818
+ /* webpackChunkName: "messages_it" */ './es6/it-d2da9a96.es.js').then((m) => m.default);
2789
2819
  break;
2790
2820
  case "iw":
2791
2821
  localizedMessages = await import(
2792
- /* webpackChunkName: "messages_iw" */ './es6/iw-e61ca28b.es.js').then((m) => m.default);
2822
+ /* webpackChunkName: "messages_iw" */ './es6/iw-0e212eca.es.js').then((m) => m.default);
2793
2823
  break;
2794
2824
  case "ja":
2795
2825
  localizedMessages = await import(
2796
- /* webpackChunkName: "messages_ja" */ './es6/ja-5e5d13be.es.js').then((m) => m.default);
2826
+ /* webpackChunkName: "messages_ja" */ './es6/ja-88e60aa3.es.js').then((m) => m.default);
2797
2827
  break;
2798
2828
  case "ko":
2799
2829
  localizedMessages = await import(
2800
- /* webpackChunkName: "messages_ko" */ './es6/ko-e4c5d44d.es.js').then((m) => m.default);
2830
+ /* webpackChunkName: "messages_ko" */ './es6/ko-fbc8a84a.es.js').then((m) => m.default);
2801
2831
  break;
2802
2832
  case "lo":
2803
2833
  localizedMessages = await import(
2804
- /* webpackChunkName: "messages_lo" */ './es6/lo-3d03c534.es.js').then((m) => m.default);
2834
+ /* webpackChunkName: "messages_lo" */ './es6/lo-d483fdaa.es.js').then((m) => m.default);
2805
2835
  break;
2806
2836
  case "lt":
2807
2837
  localizedMessages = await import(
2808
- /* webpackChunkName: "messages_lt" */ './es6/lt-99c6971e.es.js').then((m) => m.default);
2838
+ /* webpackChunkName: "messages_lt" */ './es6/lt-146f2d30.es.js').then((m) => m.default);
2809
2839
  break;
2810
2840
  case "ms":
2811
2841
  localizedMessages = await import(
2812
- /* webpackChunkName: "messages_ms" */ './es6/ms-e537ec43.es.js').then((m) => m.default);
2842
+ /* webpackChunkName: "messages_ms" */ './es6/ms-a9a79e9a.es.js').then((m) => m.default);
2813
2843
  break;
2814
2844
  case "nl":
2815
2845
  localizedMessages = await import(
2816
- /* webpackChunkName: "messages_nl" */ './es6/nl-162d7a39.es.js').then((m) => m.default);
2846
+ /* webpackChunkName: "messages_nl" */ './es6/nl-fedc45b6.es.js').then((m) => m.default);
2817
2847
  break;
2818
2848
  case "no":
2819
2849
  localizedMessages = await import(
2820
- /* webpackChunkName: "messages_no" */ './es6/no-53861522.es.js').then((m) => m.default);
2850
+ /* webpackChunkName: "messages_no" */ './es6/no-bbf26a90.es.js').then((m) => m.default);
2821
2851
  break;
2822
2852
  case "pl":
2823
2853
  localizedMessages = await import(
2824
- /* webpackChunkName: "messages_pl" */ './es6/pl-b2b55c9f.es.js').then((m) => m.default);
2854
+ /* webpackChunkName: "messages_pl" */ './es6/pl-8e2c1688.es.js').then((m) => m.default);
2825
2855
  break;
2826
2856
  case "pt-BR":
2827
2857
  localizedMessages = await import(
2828
- /* webpackChunkName: "messages_pt-BR" */ './es6/pt-BR-a9efa2ab.es.js').then((m) => m.default);
2858
+ /* webpackChunkName: "messages_pt-BR" */ './es6/pt-BR-a4783678.es.js').then((m) => m.default);
2829
2859
  break;
2830
2860
  case "pt":
2831
2861
  localizedMessages = await import(
2832
- /* webpackChunkName: "messages_pt" */ './es6/pt-61825a2b.es.js').then((m) => m.default);
2862
+ /* webpackChunkName: "messages_pt" */ './es6/pt-3bdb1ff1.es.js').then((m) => m.default);
2833
2863
  break;
2834
2864
  case "ru":
2835
2865
  localizedMessages = await import(
2836
- /* webpackChunkName: "messages_ru" */ './es6/ru-cba590b5.es.js').then((m) => m.default);
2866
+ /* webpackChunkName: "messages_ru" */ './es6/ru-84d7d4fb.es.js').then((m) => m.default);
2837
2867
  break;
2838
2868
  case "sk":
2839
2869
  localizedMessages = await import(
2840
- /* webpackChunkName: "messages_sk" */ './es6/sk-a190ec18.es.js').then((m) => m.default);
2870
+ /* webpackChunkName: "messages_sk" */ './es6/sk-43ad741e.es.js').then((m) => m.default);
2841
2871
  break;
2842
2872
  case "sl":
2843
2873
  localizedMessages = await import(
2844
- /* webpackChunkName: "messages_sl" */ './es6/sl-fb23d48f.es.js').then((m) => m.default);
2874
+ /* webpackChunkName: "messages_sl" */ './es6/sl-34da7717.es.js').then((m) => m.default);
2845
2875
  break;
2846
2876
  case "sr":
2847
2877
  localizedMessages = await import(
2848
- /* webpackChunkName: "messages_sr" */ './es6/sr-07ed6a42.es.js').then((m) => m.default);
2878
+ /* webpackChunkName: "messages_sr" */ './es6/sr-06f3f223.es.js').then((m) => m.default);
2849
2879
  break;
2850
2880
  case "sv":
2851
2881
  localizedMessages = await import(
2852
- /* webpackChunkName: "messages_sv" */ './es6/sv-bd7e69b0.es.js').then((m) => m.default);
2882
+ /* webpackChunkName: "messages_sv" */ './es6/sv-997fb8ea.es.js').then((m) => m.default);
2853
2883
  break;
2854
2884
  case "th":
2855
2885
  localizedMessages = await import(
2856
- /* webpackChunkName: "messages_th" */ './es6/th-ee9b4c94.es.js').then((m) => m.default);
2886
+ /* webpackChunkName: "messages_th" */ './es6/th-1d7d80c5.es.js').then((m) => m.default);
2857
2887
  break;
2858
2888
  case "tr":
2859
2889
  localizedMessages = await import(
2860
- /* webpackChunkName: "messages_tr" */ './es6/tr-133c4315.es.js').then((m) => m.default);
2890
+ /* webpackChunkName: "messages_tr" */ './es6/tr-b4dd39c1.es.js').then((m) => m.default);
2861
2891
  break;
2862
2892
  case "zh-HK":
2863
2893
  localizedMessages = await import(
2864
- /* webpackChunkName: "messages_zh-HK" */ './es6/zh-HK-bea37a07.es.js').then((m) => m.default);
2894
+ /* webpackChunkName: "messages_zh-HK" */ './es6/zh-HK-e929b1ae.es.js').then((m) => m.default);
2865
2895
  break;
2866
2896
  case "zh":
2867
2897
  localizedMessages = await import(
2868
- /* webpackChunkName: "messages_zh" */ './es6/zh-52690171.es.js').then((m) => m.default);
2898
+ /* webpackChunkName: "messages_zh" */ './es6/zh-5b4411b0.es.js').then((m) => m.default);
2869
2899
  break;
2870
2900
  default:
2871
2901
  logger.warn(`getMessagesModuleByLocale: Unable to load messages for ${locale}, falling back to en-US`);
@@ -3525,6 +3555,22 @@ const moverPInfoReqEmpty = {
3525
3555
  refererUrl: window.location.href,
3526
3556
  },
3527
3557
  };
3558
+ const lowIncomePInfoReqEmpty = {
3559
+ ...coreFieldsEmpty,
3560
+ ...withFieldsToSkipValidationEmpty,
3561
+ ...withLocaleAndCountryEmpty,
3562
+ birthDate: "",
3563
+ postalCode: "",
3564
+ organization: {
3565
+ id: 0,
3566
+ name: "",
3567
+ },
3568
+ statuses: [],
3569
+ metadata: {
3570
+ marketConsentValue: false,
3571
+ refererUrl: window.location.href,
3572
+ },
3573
+ };
3528
3574
  // TODO use Object.freeze here
3529
3575
  const docUploadEmpty = {
3530
3576
  ...withLocaleAndCountryEmpty,
@@ -3594,6 +3640,7 @@ const getAllEmptyViewModels = () => ({
3594
3640
  collectGeneralIdentityPersonalInfo: deepClone(generalIdentityPInfoReqEmpty),
3595
3641
  collectHybridIdentityPersonalInfo: deepClone(hybridIdentityPInfoReqEmpty),
3596
3642
  collectLicensedProfessionalPersonalInfo: deepClone(licensedProfessionalPInfoReqEmpty),
3643
+ collectLowIncomePersonalInfo: deepClone(lowIncomePInfoReqEmpty),
3597
3644
  collectMoverPersonalInfo: deepClone(moverPInfoReqEmpty),
3598
3645
  docUpload: deepClone(docUploadEmpty),
3599
3646
  cancelEmailLoop: deepClone(emailLoopEmpty),
@@ -10401,6 +10448,39 @@ const moverMessages = {
10401
10448
  },
10402
10449
  };
10403
10450
 
10451
+ const lowIncomeMessages = {
10452
+ emailExplanation: "Needed to send you your unique code",
10453
+ step: {
10454
+ personalInfo: {
10455
+ title: "Unlock this Special Offer",
10456
+ subtitle: "Verify you qualify for an eligible government assistance program.",
10457
+ howDoesVerifyingWorkDetails: `
10458
+ To be eligible for this offer, you must currently qualify for an eligible government assistance program. The eligible Government Assistance Programs for this offer can be found in the box below.
10459
+ <br><br>
10460
+ {companyName} uses SheerID, a trusted partner, to verify that you are a recipient of these benefits.
10461
+ SheerID only collects information that assists in verifying your eligibility. Additional information or documentation may be requested.`,
10462
+ tryAgain: {
10463
+ title: "Check Your full name & other fields",
10464
+ subtitle: "Your information must match what is on your government-issued document(s).",
10465
+ },
10466
+ verifyingTitle: "Verifying your status",
10467
+ },
10468
+ docUpload: {
10469
+ title: "We need some more info",
10470
+ subtitle: "Documents will be reviewed in {estimatedWaitTime} by staff at SheerID, a trusted partner.",
10471
+ howDoesVerifyingWorkDetails: `Document review is handled by SheerID, a trusted partner who specializes in verifying your eligibility.
10472
+ <br><br>
10473
+ Documents are used only for verifying your eligibility status is current and will be permanently deleted after review is finalized. They will not be shared with {companyName}`,
10474
+ uploadInstructions: "Upload an official document that shows:",
10475
+ },
10476
+ success: {
10477
+ title: "You've been verified",
10478
+ subtitle: "Here is your personal coupon code. It is unique to you and can only be used once.",
10479
+ redirectButtonText: "Use code now",
10480
+ },
10481
+ },
10482
+ };
10483
+
10404
10484
  // ===================== Student Personal Info ====================
10405
10485
  const mockStudentPersonalInfoResponse = {
10406
10486
  verificationId: "5a3bffd5e4b05f0b878a9762",
@@ -10562,6 +10642,16 @@ const mockMoverPersonalInfoResponse = {
10562
10642
  instantMatchAttempts: 0,
10563
10643
  locale: "en-US",
10564
10644
  };
10645
+ // ===================== Low Income Personal Info =========================
10646
+ const mockLowIncomePersonalInfoResponse = {
10647
+ verificationId: "5a3bffd5e4b05f0b878a9761",
10648
+ currentStep: "collectLowIncomePersonalInfo",
10649
+ segment: "lowIncome",
10650
+ submissionUrl: "",
10651
+ subSegment: "snapBenefits",
10652
+ instantMatchAttempts: 0,
10653
+ locale: "en-US",
10654
+ };
10565
10655
  // ===================== Social Security Number step ====================
10566
10656
  const mockSocialSecurityResponse = {
10567
10657
  verificationId: "5a3bffd5e4b05f0b878a9762",
@@ -10683,6 +10773,7 @@ const allMockedResponses = {
10683
10773
  collectHybridIdentityPersonalInfo: mockHybridIdentityPersonalInfoResponse,
10684
10774
  collectLicensedProfessionalPersonalInfo: mockLicensedProfessionalPersonalInfoResponse,
10685
10775
  collectMoverPersonalInfo: mockMoverPersonalInfoResponse,
10776
+ collectLowIncomePersonalInfo: mockLowIncomePersonalInfoResponse,
10686
10777
  sso: mockSSOResponse,
10687
10778
  smsLoop: mockSMSLoopResponse,
10688
10779
  emailLoop: mockEmailLoopResponse,
@@ -11592,6 +11683,19 @@ const moverViewModelToRequest = (viewModel) => ({
11592
11683
  locale: viewModel.localeChoice.value,
11593
11684
  metadata: viewModel.metadata,
11594
11685
  });
11686
+ const lowIncomeViewModelToRequest = (viewModel) => ({
11687
+ firstName: viewModel.firstName,
11688
+ lastName: viewModel.lastName,
11689
+ email: viewModel.email,
11690
+ phoneNumber: viewModel.phoneNumber,
11691
+ birthDate: viewModel.birthDate,
11692
+ postalCode: viewModel.postalCode,
11693
+ statuses: viewModel.statuses,
11694
+ organization: viewModel.organization,
11695
+ deviceFingerprintHash: viewModel.deviceFingerprintHash,
11696
+ locale: viewModel.localeChoice.value,
11697
+ metadata: viewModel.metadata,
11698
+ });
11595
11699
  const smsLoopViewModelToRequest = (viewModel) => ({
11596
11700
  smsCode: viewModel.smsCode,
11597
11701
  deviceFingerprintHash: viewModel.deviceFingerprintHash,
@@ -11627,6 +11731,7 @@ const stepToRequest = {
11627
11731
  collectHybridIdentityPersonalInfo: hybridIdentityViewModelToRequest,
11628
11732
  collectLicensedProfessionalPersonalInfo: licensedProfessionalViewModelToRequest,
11629
11733
  collectMoverPersonalInfo: moverViewModelToRequest,
11734
+ collectLowIncomePersonalInfo: lowIncomeViewModelToRequest,
11630
11735
  smsLoop: smsLoopViewModelToRequest,
11631
11736
  emailLoop: emailLoopViewModelToRequest,
11632
11737
  cancelSocialSecurityNumber: null,
@@ -18200,8 +18305,8 @@ const FormFooterComponent = ({ verificationService, children }) => {
18200
18305
  updateViewModel(updatedViewModel);
18201
18306
  }, [privacyPolicyRef, locale]);
18202
18307
  return (React.createElement("div", { className: "sid-footer sid-h-small-text sid-l-space-top-md" },
18203
- React.createElement("div", { className: "sid-footer__shield" },
18204
- React.createElement("img", { title: "Powered by SheerID", alt: "design element", src: "https://assets-resources.sheerid.com/common/images/2018/icons/shield-check.svg" })),
18308
+ !children && (React.createElement("div", { className: "sid-footer__shield" },
18309
+ React.createElement("img", { title: "Powered by SheerID", alt: "design element", src: "https://assets-resources.sheerid.com/common/images/2018/icons/shield-check.svg" }))),
18205
18310
  React.createElement("div", null,
18206
18311
  React.createElement("div", { className: "sid-footer__one", ref: privacyPolicyRef }, children || (
18207
18312
  // The footer text block is collapsed until focused and as such is interactive.
@@ -18269,6 +18374,10 @@ function howDoesVerifyingWorkMessages() {
18269
18374
  default: moverMessages.step.personalInfo.howDoesVerifyingWorkDetails,
18270
18375
  docUpload: moverMessages.step.docUpload.howDoesVerifyingWorkDetails,
18271
18376
  },
18377
+ lowIncome: {
18378
+ default: lowIncomeMessages.step.personalInfo.howDoesVerifyingWorkDetails,
18379
+ docUpload: lowIncomeMessages.step.docUpload.howDoesVerifyingWorkDetails,
18380
+ },
18272
18381
  };
18273
18382
  }
18274
18383
 
@@ -18980,7 +19089,7 @@ const MilitaryStatus = ({ value, isErrored, options, onChange, intl, placeholder
18980
19089
  return (React.createElement("div", { className: `sid-field ${inputId}` },
18981
19090
  React.createElement("div", { className: "sid-l-space-top-md" }),
18982
19091
  React.createElement(FieldLabel, { text: React.createElement(FormattedHTMLMessage, { id: "status", defaultMessage: "Status" }), htmlForLabel: inputId, id: `${inputId}-label`, displayClasses: placeholder && "sid-h-screen-reader-only" }),
18983
- React.createElement(InputSelectComponent, { fieldId: "status", inputId: inputId, fieldLabelId: `${inputId}-label`, isErrored: isErrored, options: SortByLabel(options), onChange: (status) => onChange(status), value: value, placeholder: placeholder ||
19092
+ React.createElement(InputSelectComponent, { fieldId: "status", inputId: inputId, fieldLabelId: `${inputId}-label`, isErrored: isErrored, options: SortByLabel(options), onChange: (status) => onChange(status), value: value, isRequired: true, placeholder: placeholder ||
18984
19093
  intl.formatHTMLMessage({ id: "statusPlaceholder", defaultMessage: "Status" }) }),
18985
19094
  isErrored ? (React.createElement("div", { className: "sid-field-error" },
18986
19095
  React.createElement(FormattedHTMLMessage, { id: "errorId.invalidStatus", defaultMessage: "Invalid military status" }))) : null));
@@ -19050,7 +19159,7 @@ const BranchOfService = ({ autoFocus, onChange, value, isErrored, organizations,
19050
19159
  return (React.createElement("div", { className: `sid-field ${inputId}-id` },
19051
19160
  React.createElement("div", { className: "sid-l-space-top-md" }),
19052
19161
  React.createElement(FieldLabel, { text: React.createElement(FormattedHTMLMessage, { id: "branchOfService", defaultMessage: "Branch Of Service" }), htmlForLabel: inputId, id: `${inputId}-label`, displayClasses: placeholder && "sid-h-screen-reader-only" }),
19053
- React.createElement(InputSelectComponent, { autoFocus: autoFocus, fieldId: "organization", inputId: inputId, fieldLabelId: `${inputId}-label`, isErrored: isErrored, options: SortByLabel(options), onChange: (branch) => handleStateChange(branch, onChange), value: value, placeholder: placeholder ||
19162
+ React.createElement(InputSelectComponent, { autoFocus: autoFocus, fieldId: "organization", inputId: inputId, fieldLabelId: `${inputId}-label`, isErrored: isErrored, options: SortByLabel(options), onChange: (branch) => handleStateChange(branch, onChange), value: value, isRequired: true, placeholder: placeholder ||
19054
19163
  intl.formatHTMLMessage({
19055
19164
  id: "branchOfServicePlaceholder",
19056
19165
  defaultMessage: "Branch Of Service",
@@ -19377,7 +19486,7 @@ const FirstResponderStatus = ({ value, isErrored, options, onChange, placeholder
19377
19486
  return (React.createElement("div", { className: `sid-field ${inputId}` },
19378
19487
  React.createElement("div", { className: "sid-l-space-top-md" }),
19379
19488
  React.createElement(FieldLabel, { text: React.createElement(FormattedHTMLMessage, { id: "status", defaultMessage: "Status" }), htmlForLabel: `${inputId}`, id: `${inputId}-label`, displayClasses: placeholder && "sid-h-screen-reader-only" }),
19380
- React.createElement(InputSelectComponent, { fieldId: "status", inputId: inputId, fieldLabelId: `${inputId}-label`, isErrored: isErrored, options: options, onChange: (status) => onChange(status), onKeyDown: onKeyDown, value: value, placeholder: placeholder ||
19489
+ React.createElement(InputSelectComponent, { fieldId: "status", inputId: inputId, fieldLabelId: `${inputId}-label`, isErrored: isErrored, options: options, onChange: (status) => onChange(status), onKeyDown: onKeyDown, value: value, isRequired: true, placeholder: placeholder ||
19381
19490
  intl.formatHTMLMessage({ id: "statusPlaceholder", defaultMessage: "Status" }) }),
19382
19491
  isErrored ? (React.createElement("div", { className: "sid-field-error" },
19383
19492
  React.createElement(FormattedHTMLMessage, { id: "errorId.invalidStatus", defaultMessage: "Invalid first responder status" }))) : null));
@@ -19391,7 +19500,7 @@ const FirstResponderOrganization = ({ onChange, value, isErrored, verificationSe
19391
19500
  React.createElement("div", { className: "sid-l-space-top-md" }),
19392
19501
  React.createElement(FieldLabel, { text: React.createElement(FormattedHTMLMessage, { id: "organization", defaultMessage: "Organization" }), htmlForLabel: id, id: `${id}-label`, displayClasses: placeholder && "sid-h-screen-reader-only" }),
19393
19502
  React.createElement(TypeaheadComponent, { className: isErrored ? "sid-text-input--error" : "", countryCode: getSafe(() => verificationService.viewModel.countryChoice.value), minimumSearchValueLength: getOptions().minimumOrganizationSearchLength, onChange: (choice) => onChange(choice), placeholder: placeholder ||
19394
- intl.formatHTMLMessage({ id: "organizationPlaceholder", defaultMessage: "Organization" }), programId: programId, value: value, inputHtmlId: id, openOrgSearchEnabled: verificationService.programTheme.openOrgSearchEnabled, orgSearchUrl: verificationService.programTheme.config.orgSearchUrl }),
19503
+ intl.formatHTMLMessage({ id: "organizationPlaceholder", defaultMessage: "Organization" }), programId: programId, value: value, isRequired: true, inputHtmlId: id, openOrgSearchEnabled: verificationService.programTheme.openOrgSearchEnabled, orgSearchUrl: verificationService.programTheme.config.orgSearchUrl }),
19395
19504
  isErrored ? (React.createElement("div", { className: "sid-field-error" },
19396
19505
  React.createElement(FormattedHTMLMessage, { id: "errorId.invalidOrganization", defaultMessage: "You must select an organization from the list" }))) : null));
19397
19506
  };
@@ -20274,6 +20383,104 @@ const StepMoverPersonalInfo = ({ verificationService }) => {
20274
20383
  };
20275
20384
  const StepMoverPersonalInfoComponent = injectIntl(StepMoverPersonalInfo);
20276
20385
 
20386
+ const LowIncomeOrganization = ({ value, isErrored, onChange, verificationService, intl, placeholder = "", }) => {
20387
+ const { programId } = verificationService;
20388
+ return (React.createElement("div", { className: "sid-field sid-low-income-id" },
20389
+ React.createElement("div", { className: "sid-l-space-top-md" }),
20390
+ React.createElement(FieldLabel, { text: React.createElement(FormattedHTMLMessage, { id: "organization", defaultMessage: "Government Assistance Program" }), htmlForLabel: "sid-low-income", id: "sid-low-income-label", displayClasses: placeholder && "sid-h-screen-reader-only" }),
20391
+ React.createElement(TypeaheadComponent, { className: isErrored ? "sid-text-input--error" : "", countryCode: getSafe(() => verificationService.viewModel.countryChoice.value), onChange: (choice) => onChange(choice), minimumSearchValueLength: getOptions().minimumOrganizationSearchLength, placeholder: placeholder ||
20392
+ intl.formatHTMLMessage({
20393
+ id: "organizationNamePlaceholder",
20394
+ defaultMessage: "Government Assistance Program",
20395
+ }), programId: programId, value: value, inputHtmlId: "sid-low-income", openOrgSearchEnabled: verificationService.programTheme.openOrgSearchEnabled, orgSearchUrl: verificationService.programTheme.config.orgSearchUrl }),
20396
+ isErrored ? (React.createElement("div", { className: "sid-field-error" },
20397
+ React.createElement(FormattedHTMLMessage, { id: "errorId.invalidOrganization", defaultMessage: "You must select an organization from the list" }))) : null));
20398
+ };
20399
+ const LowIncomeOrganizationComponent = injectIntl(LowIncomeOrganization);
20400
+
20401
+ const StepLowIncomePersonalInfo = ({ intl, verificationService, }) => {
20402
+ const viewModel = verificationService.viewModel;
20403
+ const { fieldValidationErrors } = verificationService;
20404
+ const verificationResponse = verificationService.verificationResponse;
20405
+ const failedInstantMatch = hasFailedInstantMatch(verificationResponse);
20406
+ const localeChoices = getAvailableLocaleChoices(verificationService.programTheme, intl);
20407
+ const defaultLocaleChoice = {
20408
+ value: "en-US",
20409
+ label: "English",
20410
+ };
20411
+ const updateLowIncomeViewModel = (key, value) => {
20412
+ const nextState = fn(viewModel, (draft) => {
20413
+ draft[key] = value;
20414
+ });
20415
+ verificationService.updateViewModel(nextState);
20416
+ };
20417
+ const updateLocale = (localeChoice) => {
20418
+ const nextState = fn(viewModel, (draft) => {
20419
+ draft.localeChoice = localeChoice;
20420
+ });
20421
+ verificationService.updateLocale(nextState, verificationService.programTheme, verificationService.verificationResponse.segment);
20422
+ };
20423
+ return (React.createElement("div", { id: "sid-step-low-income-personal-info", className: "sid-l-container" },
20424
+ failedInstantMatch ? (React.createElement("div", { className: "sid-header" },
20425
+ React.createElement("div", { className: "sid-l-horz-center" },
20426
+ React.createElement(LogoComponent, { verificationService: verificationService })),
20427
+ React.createElement("div", { className: "sid-header__title sid-l-horz-center" },
20428
+ React.createElement(FormattedHTMLMessage, { id: "step.personalInfo.tryAgain.title", defaultMessage: "Check Your full name & other fields" })),
20429
+ React.createElement("div", { className: "sid-header__subtitle sid-l-horz-center sid-header__subtitle--error" },
20430
+ React.createElement(FormattedHTMLMessage, { id: "step.personalInfo.tryAgain.subtitle", defaultMessage: "Your information must match what is on your government-issued document(s)." })))) : (React.createElement("div", { className: "sid-header" },
20431
+ React.createElement("div", { className: "sid-l-horz-center" },
20432
+ React.createElement(LogoComponent, { verificationService: verificationService })),
20433
+ React.createElement("div", { className: "sid-header__title sid-l-horz-center" },
20434
+ React.createElement(FormattedHTMLMessage, { id: "step.personalInfo.title", defaultMessage: "Unlock this Special Offer", tagName: "h1" })),
20435
+ React.createElement("div", { className: "sid-header__subtitle sid-l-horz-center" },
20436
+ React.createElement(FormattedHTMLMessage, { id: "step.personalInfo.subtitle", defaultMessage: "Verify you qualify for an eligible government assistance program." }),
20437
+ "\u00A0",
20438
+ React.createElement(HowDoesVerifyingWorkComponent, { verificationService: verificationService }),
20439
+ React.createElement(RewardsRemainingComponent, { verificationService: verificationService })))),
20440
+ localeChoices.length > 1 ? (React.createElement(ChangeLocaleComponent, { options: localeChoices, value: viewModel.localeChoice || defaultLocaleChoice, isErrored: false, onChange: (localeChoice) => updateLocale(localeChoice) })) : null,
20441
+ React.createElement(CountryComponentWrapper, { verificationService: verificationService, viewModel: viewModel }),
20442
+ React.createElement(LowIncomeOrganizationComponent, { isErrored: !!fieldValidationErrors.organization, onChange: (choice) => {
20443
+ updateViewModelOrganization(choice, verificationService);
20444
+ updateFieldValidationErrorsByFieldId("organization", choice, verificationService);
20445
+ }, value: verificationService.viewModel.organization, verificationService: verificationService }),
20446
+ React.createElement("div", { className: "sid-names" },
20447
+ React.createElement(FirstNameComponent, { value: viewModel.firstName, isErrored: !!fieldValidationErrors.firstName, onChange: (newValue) => {
20448
+ updateLowIncomeViewModel("firstName", newValue);
20449
+ updateFieldValidationErrorsByFieldId("firstName", newValue, verificationService);
20450
+ } }),
20451
+ React.createElement(LastNameComponent, { value: viewModel.lastName, isErrored: !!fieldValidationErrors.lastName, onChange: (newValue) => {
20452
+ updateLowIncomeViewModel("lastName", newValue);
20453
+ updateFieldValidationErrorsByFieldId("lastName", newValue, verificationService);
20454
+ } })),
20455
+ React.createElement(BirthDateComponent, { isErrored: !!fieldValidationErrors.birthDate, errorId: fieldValidationErrors.birthDate, onChange: (newValue) => {
20456
+ updateLowIncomeViewModel("birthDate", newValue);
20457
+ updateFieldValidationErrorsByFieldId("birthDate", newValue, verificationService);
20458
+ }, value: viewModel.birthDate }),
20459
+ React.createElement(PostalCodeComponent, { isErrored: !!fieldValidationErrors.postalCode, onChange: (newValue) => {
20460
+ updateLowIncomeViewModel("postalCode", newValue);
20461
+ updateFieldValidationErrorsByFieldId("postalCode", newValue, verificationService);
20462
+ }, value: viewModel.postalCode, explanation: React.createElement(FormattedHTMLMessage, { id: "postalCodeExplanation", defaultMessage: "Use the location on file with your licensing body" }) }),
20463
+ React.createElement(EmailComponent, { value: viewModel.email, isErrored: !!fieldValidationErrors.email, explanation: React.createElement(FormattedHTMLMessage, { id: "emailExplanation", defaultMessage: "Needed to send you your unique code" }), onChange: (newValue) => {
20464
+ updateLowIncomeViewModel("email", newValue);
20465
+ updateFieldValidationErrorsByFieldId("email", newValue, verificationService);
20466
+ }, onKeyDown: (event) => handleEmailOnKeyDown(event) }),
20467
+ React.createElement(MarketConsentWrapperComponent, { verificationService: verificationService, isErrored: !!fieldValidationErrors.marketConsentValue, onChange: (newValue) => {
20468
+ updateLowIncomeViewModel("metadata", {
20469
+ ...verificationService.viewModel.metadata,
20470
+ marketConsentValue: newValue,
20471
+ });
20472
+ updateFieldValidationErrorsByFieldId("marketConsentValue", newValue, verificationService);
20473
+ }, viewModel: viewModel }),
20474
+ React.createElement("div", { className: "sid-form-region sid-submit-wrapper sid-l-space-top-md" },
20475
+ React.createElement("div", { className: "sid-submit" },
20476
+ React.createElement("button", { id: "sid-submit-btn-collect-info", onClick: () => submitForm(viewModel, verificationService, VerificationStepsEnum.collectLowIncomePersonalInfo), type: "submit", className: `sid-btn sid-btn--dark sid-l-full-width ${!isFormFilled(viewModel, verificationService.formValidationOptions)
20477
+ ? "sid-btn--disabled-like"
20478
+ : ""}`, "aria-labelledby": "verify-status-text", ref: (button) => setRef("submitButton", button) },
20479
+ React.createElement("span", { id: "verify-status-text" }, failedInstantMatch ? (React.createElement(FormattedHTMLMessage, { id: "tryAgain", defaultMessage: "Try Again" })) : (React.createElement(FormattedHTMLMessage, { id: "verifyMyLowIncomeStatus", defaultMessage: "Verify My Status" })))))),
20480
+ React.createElement(FormFooterComponent, { verificationService: verificationService })));
20481
+ };
20482
+ const StepLowIncomePersonalInfoComponent = injectIntl(StepLowIncomePersonalInfo);
20483
+
20277
20484
  // Collect status is identical to Active at this time.
20278
20485
  const StepCollectMilitaryStatusComponent = ({ verificationService, }) => (React.createElement(StepActiveMilitaryPersonalInfoComponent, { verificationService: verificationService }));
20279
20486
 
@@ -20530,7 +20737,7 @@ const StepSuccess = ({ verificationService }) => {
20530
20737
  return (React.createElement("div", { id: "sid-step-success", className: "sid-l-container" },
20531
20738
  React.createElement("div", { className: "sid-header sid-l-horz-center sid-l-space-top-md" },
20532
20739
  React.createElement("div", { className: "sid-l-horz-center" }, hasLogo ? (React.createElement(LogoComponent, { verificationService: verificationService })) : (React.createElement("img", { className: "sid-l-lead-image", alt: "", src: "https://assets-resources.sheerid.com/common/images/2018/icons/circle-check.svg" }))),
20533
- React.createElement("div", { className: "sid-header__title sid-l-horz-center sid-l-space-top-md", role: "status", "aria-live": "polite" },
20740
+ React.createElement("div", { className: "sid-header__title sid-l-horz-center sid-l-space-top-md", role: "alert", "aria-live": "polite" },
20534
20741
  React.createElement(FormattedHTMLMessage, { id: "step.success.title", defaultMessage: "Success! You've been verified." })),
20535
20742
  React.createElement("div", { className: "sid-header__subtitle sid-l-horz-center sid-l-two-thirds-width" },
20536
20743
  React.createElement(FormattedHTMLMessage, { id: "step.success.subtitle", defaultMessage: `Here is your personal coupon code.
@@ -20574,8 +20781,12 @@ const CountDown = React.memo(({ countdownSeconds, onCountdownFinish, logo }) =>
20574
20781
  return `00:${seconds}`;
20575
20782
  };
20576
20783
  React.useEffect(() => {
20577
- timerRef.current = setInterval(tickTimer, 1000);
20578
- return () => clearInterval(timerRef.current);
20784
+ // Don't actually count down when mocking the step, CX-229
20785
+ const isMockingStep = getRouteOverride();
20786
+ if (!isMockingStep) {
20787
+ timerRef.current = setInterval(tickTimer, 1000);
20788
+ return () => clearInterval(timerRef.current);
20789
+ }
20579
20790
  }, []);
20580
20791
  return (React.createElement("div", { className: "sid-header sid-l-horz-center", "data-testid": "sid-countdown-pending" },
20581
20792
  React.createElement("div", { className: "sid-l-horz-center" }, logo),
@@ -20607,6 +20818,10 @@ const SSOPending = ({ logo, cancelSSO }) => (React.createElement("div", { classN
20607
20818
  const SSOPendingComponent = SSOPending;
20608
20819
 
20609
20820
  const timesChanged = (previousResponse, currentResponse) => {
20821
+ const parsed = new URLSearchParams(window.location.search);
20822
+ if (parsed.get("alerting")) {
20823
+ return true;
20824
+ }
20610
20825
  const previousEst = getSafe(() => previousResponse.estimatedReviewTime);
20611
20826
  const previousMax = getSafe(() => previousResponse.maxReviewTime);
20612
20827
  const newEst = getSafe(() => currentResponse.estimatedReviewTime);
@@ -20808,9 +21023,11 @@ const StepSMSLoop = ({ intl, verificationService }) => {
20808
21023
  React.createElement("button", { id: "sid-resend-sms-code", onClick: () => resendSmsCode(verificationResponse.verificationId), type: "submit", className: "sid-btn sid-btn--light sid-submit__cancel", "aria-label": "re-send" },
20809
21024
  React.createElement(FormattedHTMLMessage, { id: "step.smsLoop.resendButton", defaultMessage: "Re-send" }))),
20810
21025
  React.createElement("div", { className: "sid-incorrect-number sid-l-horz-center" },
20811
- React.createElement(FormattedHTMLMessage, { id: "step.smsLoop.incorrectNumber.incorrectNumber1", defaultMessage: "Incorrect number? Click " }),
20812
- React.createElement("button", { type: "button", onClick: () => window.location.reload(), className: "sid-incorrect-number__refresh-link" },
20813
- React.createElement(FormattedHTMLMessage, { id: "step.smsLoop.incorrectNumber.incorrectNumber2", defaultMessage: "here " })),
21026
+ React.createElement(FormattedHTMLMessage, { id: "step.smsLoop.incorrectNumber.incorrectNumber1", defaultMessage: "Incorrect number? Click" }),
21027
+ "\u00A0",
21028
+ React.createElement("button", { type: "button", onClick: () => window.location.reload(), className: "sid-incorrect-number__refresh-link sid-h-btn-link-like" },
21029
+ React.createElement(FormattedHTMLMessage, { id: "step.smsLoop.incorrectNumber.incorrectNumber2", defaultMessage: "here" }),
21030
+ "\u00A0"),
20814
21031
  React.createElement(FormattedHTMLMessage, { id: "companyName", defaultMessage: "{Company}" }, (companyName) => (React.createElement(FormattedHTMLMessage, { id: "step.smsLoop.incorrectNumber.incorrectNumber3", defaultMessage: "to return to {companyName}", values: { companyName } }))))));
20815
21032
  };
20816
21033
  const StepSMSLoopComponent = injectIntl(StepSMSLoop);
@@ -20883,11 +21100,13 @@ const StepEmailLoop = ({ intl, verificationService }) => {
20883
21100
  React.createElement(FormattedHTMLMessage, { id: "step.emailLoop.subtitle2", defaultMessage: "Please check for an email from us (verify@sheerid.com) for all the details." })),
20884
21101
  canCancelEmailLoop && (React.createElement("div", { className: "sid-skip-email sid-l-space-top-lg" },
20885
21102
  React.createElement(FormattedHTMLMessage, { id: "step.emailLoop.skipEmail", defaultMessage: "Unable to retrieve this email? Click " }),
20886
- React.createElement("button", { type: "button", onClick: () => cancelEmailLoop(), className: "sid-incorrect-number__refresh-link" },
21103
+ "\u00A0",
21104
+ React.createElement("button", { type: "button", onClick: () => cancelEmailLoop(), className: "sid-incorrect-number__refresh-link sid-h-btn-link-like" },
20887
21105
  React.createElement(FormattedHTMLMessage, { id: "step.emailLoop.skipEmailCTA", defaultMessage: "here" })),
21106
+ "\u00A0",
20888
21107
  React.createElement(FormattedHTMLMessage, { id: "step.emailLoop.skipEmail2", defaultMessage: " to proceed." }))),
20889
- canResendEmailLoop && (React.createElement("div", { className: "sid-header__resend-btn sid-l-space-top-md" },
20890
- React.createElement("button", { id: "sid-resend-email", onClick: () => resendEmail(verificationId), type: "submit", className: "sid-btn sid-btn--light sid-submit__cancel sid-l-horz-center", "aria-label": "re-send" },
21108
+ canResendEmailLoop && (React.createElement("div", { className: "sid-header__resend-btn sid-l-space-top-md sid-submit sid-l-horz-center" },
21109
+ React.createElement("button", { id: "sid-resend-email", onClick: () => resendEmail(verificationId), type: "submit", className: "sid-btn sid-btn--light sid-submit__cancel", "aria-label": "re-send" },
20891
21110
  React.createElement(FormattedHTMLMessage, { id: "step.emailLoop.resendButton", defaultMessage: "Re-send" })))),
20892
21111
  resendMessage && (React.createElement("div", null,
20893
21112
  React.createElement("p", null, resendMessage))),
@@ -22352,6 +22571,17 @@ const AcceptableUploadsComponent = ({ verificationService }) => {
22352
22571
  React.createElement("li", { className: "sid-acceptable-uploads-list__li" },
22353
22572
  React.createElement(FormattedHTMLMessage, { id: "step.docUpload.acceptableUploads.recentMover.rentalAgreement", defaultMessage: "Lease or rental agreement" }))));
22354
22573
  break;
22574
+ case SegmentEnum.LOW_INCOME:
22575
+ acceptableUploads = (React.createElement("ul", { className: "sid-acceptable-uploads-list" },
22576
+ React.createElement("li", { className: "sid-acceptable-uploads-list__li" },
22577
+ React.createElement(FormattedHTMLMessage, { id: "step.docUpload.acceptableUploads.lowIncome.programCard", defaultMessage: "Back and front of a card showing you qualify for the selected government assistance program (for example, an EBT card for a SNAP Program)." })),
22578
+ React.createElement("li", { className: "sid-acceptable-uploads-list__li" },
22579
+ React.createElement(FormattedHTMLMessage, { id: "step.docUpload.acceptableUploads.lowIncome.programApprovalLetter", defaultMessage: "Approval letter of the selected government assistance program issued by a government agency (for example, a Supplemental Security Income (SSI) eligibility letter)." })),
22580
+ React.createElement("li", { className: "sid-acceptable-uploads-list__li" },
22581
+ React.createElement(FormattedHTMLMessage, { id: "step.docUpload.acceptableUploads.lowIncome.programApprovalScreenshot", defaultMessage: "A screenshot of the online portal of the selected government assistance program showing you qualify for it (Screenshot of your Medicare application status on your online account)." })),
22582
+ React.createElement("li", { className: "sid-acceptable-uploads-list__li" },
22583
+ React.createElement(FormattedHTMLMessage, { id: "step.docUpload.acceptableUploads.lowIncome.programBankStatement", defaultMessage: "A bank statement showing recent payment of the selected benefit." }))));
22584
+ break;
22355
22585
  default:
22356
22586
  return null;
22357
22587
  }
@@ -22503,6 +22733,16 @@ const UploadInfoComponent = ({ verificationService }) => {
22503
22733
  React.createElement(FormattedHTMLMessage, { id: "step.docUpload.uploadInfo.licensedProfessional.licenseStatus", defaultMessage: "Your professional license and/or certification status" })),
22504
22734
  React.createElement("li", { className: "sid-upload-info-list__li" },
22505
22735
  React.createElement(FormattedHTMLMessage, { id: "step.docUpload.uploadInfo.identity.validDate", defaultMessage: "A currently valid date" })))));
22736
+ case SegmentEnum.LOW_INCOME:
22737
+ return (React.createElement("div", null,
22738
+ React.createElement("span", null,
22739
+ React.createElement("strong", null,
22740
+ React.createElement(FormattedHTMLMessage, { id: "step.docUpload.uploadInstructions", defaultMessage: "Upload an official document that shows:" }))),
22741
+ React.createElement("ul", { className: "sid-upload-info-list" },
22742
+ React.createElement("li", { className: "sid-upload-info-list__li" },
22743
+ React.createElement(FormattedHTMLMessage, { id: "step.docUpload.uploadInfo.fullName", defaultMessage: "Your full name" })),
22744
+ React.createElement("li", { className: "sid-upload-info-list__li" },
22745
+ React.createElement(FormattedHTMLMessage, { id: "step.docUpload.uploadInfo.lowIncome.validDate", defaultMessage: "The date when the document was issued (should be within the last 12 months) or the expiry date" })))));
22506
22746
  case SegmentEnum.RECENT_MOVER:
22507
22747
  return (React.createElement("div", null,
22508
22748
  React.createElement("span", null,
@@ -22686,6 +22926,7 @@ const defaultComponents = {
22686
22926
  StepHybridIdentityPersonalInfoComponent,
22687
22927
  StepLicensedProfessionalPersonalInfoComponent,
22688
22928
  StepMoverPersonalInfoComponent,
22929
+ StepLowIncomePersonalInfoComponent,
22689
22930
  StepSocialSecurityNumber,
22690
22931
  StepSuccessComponent,
22691
22932
  StepDocUploadComponent,
@@ -22757,6 +22998,9 @@ const LoadStepComponent = ({ stepToLoad, verificationService }) => {
22757
22998
  case VerificationStepsEnum.collectMoverPersonalInfo:
22758
22999
  Component = getComponent("StepMoverPersonalInfoComponent");
22759
23000
  break;
23001
+ case VerificationStepsEnum.collectLowIncomePersonalInfo:
23002
+ Component = getComponent("StepLowIncomePersonalInfoComponent");
23003
+ break;
22760
23004
  case VerificationStepsEnum.collectSocialSecurityNumber:
22761
23005
  Component = getComponent("StepSocialSecurityNumber");
22762
23006
  break;
@@ -22930,22 +23174,24 @@ class NewVerification extends React.Component {
22930
23174
  }
22931
23175
  }
22932
23176
  render() {
23177
+ const { viewModel } = this.props.verificationService;
23178
+ const locale = getLocaleSafely(viewModel);
23179
+ let messages;
23180
+ // optional param `messages`. If we do not have it, all <FormattedHTMLMessages /> should use default fallback anyway.
23181
+ if (this.props.messages) {
23182
+ messages = this.props.messages;
23183
+ }
23184
+ const messagesWithOptions = { ...messages, ...flat(getOptionsMessages(locale)) };
22933
23185
  // Note: If we have a loadingStep set we don't use this loading screen, we use the one inside
22934
23186
  // the inner component that is inside the internationalization provoder.
22935
23187
  if (this.props.verificationService.isLoading && !this.props.verificationService.loadingStep) {
22936
23188
  logger.info("NewVerificationComponent: VerificationService is loading");
22937
- return React.createElement(LoadingScreenComponent, null);
23189
+ return (React.createElement(IntlProvider, { locale: "en", key: locale, messages: messagesWithOptions, textComponent: CustomTextWrapper },
23190
+ React.createElement(LoadingScreenComponent, null)));
22938
23191
  }
22939
23192
  const { programTheme } = this.props.verificationService;
22940
23193
  const { verificationResponse } = this.props.verificationService;
22941
- const { viewModel } = this.props.verificationService;
22942
23194
  logger.info("NewVerificationComponent: verificationResponse, viewModel", verificationResponse, viewModel);
22943
- const locale = getLocaleSafely(viewModel);
22944
- let messages;
22945
- // optional param `messages`. If we do not have it, all <FormattedHTMLMessages /> should use default fallback anyway.
22946
- if (this.props.messages) {
22947
- messages = this.props.messages;
22948
- }
22949
23195
  logger.info(`NewVerificationComponent: locale: ${locale}, currentStep: ${verificationResponse.currentStep}, messages: `, messages);
22950
23196
  return (React.createElement(NewVerificationInnerComponent, { locale: locale, messages: messages, programTheme: programTheme, verificationService: this.props.verificationService }));
22951
23197
  }
@@ -23298,5 +23544,5 @@ const collectDeviceProfile = async (verificationId, programId) => {
23298
23544
  includeIPQSDeviceFingerprintScript(programTheme, verificationId);
23299
23545
  };
23300
23546
 
23301
- export { ACCEPTED_DOC_MIME_TYPES, AcceptableUploadsComponent, AddressComponent, BirthDateComponent, BranchOfServiceComponent, ChangeLocaleComponent, CityComponent, CollegeNameComponent, CompanyComponent, CopyToClipboard, CountDownComponent, CountryComponent, CountryComponentWrapper, DEFAULT_LOCALE, DEFAULT_MINIMUM_ORG_SEARCH_VALUE_LENGTH, DEFAULT_PRIVACY_POLICY_URL, DeleteJson, DischargeDateComponent, DriverLicenseNumberComponent, EmailComponent, FaqLinkComponent, FetchOrganizationsComponent, FieldIdEnum, FieldIds, FieldLabel, FirstNameComponent, FirstResponderOrganizationComponent, FirstResponderStatusComponent, FirstResponderStatusDefaultMessagesEnum, FormFooterComponent, GetEmptyTheme, GetJson, GetResponse, HTTP_REQUEST_TIMEOUT, HookNameEnum, HookNames, HowDoesVerifyingWorkComponent, InputSelectButtonComponent, InputSelectComponent, InputSelectListComponent, InputTextComponent, LastNameComponent, LicensedProfessionalOrganizationComponent, LinkExternal, LoadingSpinnerComponent, Locales, LogoComponent, MAX_DOC_UPLOAD_DOCS_ALLOWED, MarketConsentWrapperComponent as MarketConsentWrapper, MedicalProfessionalOrganizationComponent, MedicalProfessionalStatusDefaultMessagesEnum, MedicalStatusComponent, MemberIdComponent, MembershipOrganizationComponent, MilitaryStatusComponent, MilitaryStatusDefaultMessagesEnum, MockSteps, MockStepsEnum, OptInComponent, OptInInputComponent, OrganizationListComponent, OrganizationResultComponent, PhoneNumberComponent, PostFiles, PostJson, PostalCodeComponent, PostalCodeInputComponent, PoweredByComponent, PrivacyPolicyLinkComponent, QUERY_STRING_ERRORID_OVERRIDE, QUERY_STRING_INSTALL_PAGE_URL, QUERY_STRING_REDIRECT_URL_OVERRIDE, QUERY_STRING_REWARD_CODE_OVERRIDE, QUERY_STRING_SEGMENT_OVERRIDE, QUERY_STRING_STEP_OVERRIDE, QUERY_STRING_SUBSEGMENT_OVERRIDE, RequestOrganizationContext, RequestOrganizationErrorComponent, RequestOrganizationForm, RequestOrganizationFormFooterComponent, RequestOrganizationSearchComponent, RequestOrganizationSearchResultComponent, RequestOrganizationSuccessComponent, ReviewPendingComponent, RewardsRemainingComponent, SHEERID, SMSCodeComponent, SSN_STRING_LENGTH, SSOPendingComponent, SearchFieldComponent, SegmentEnum, Segments, SelectButtonComponent, SelectComponent, SelectListComponent, SocialSecurityNumber, SortByLabel, SsnChoice, StateComponent, StateEnum, StateSelectComponent, StatusComponent, StepActiveMilitaryPersonalInfoComponent, StepDriverLicensePersonalInfoComponent, StepGeneralIdentityPersonalInfoComponent, StepHybridIdentityPersonalInfoComponent, SubSegmentEnum, TeacherSchoolComponent, TryAgainButtonComponent, TryAgainSteps, TypeaheadComponent, UPLOAD_FILE_PREFIX, UploadInfoComponent, VerificationApiClient, VerificationForm, VerificationSteps, VerificationStepsEnum, addFiles, addHook, allMockedResponses, arrayUnique, assertValidConversionRequest, assertValidDatabaseId, assertValidFieldId, assertValidFunction, assertValidHook, assertValidHookName, assertValidHtmlElement, assertValidLocale, assertValidMockStepName, assertValidProgramId, assertValidSegmentName, assertValidTrackingId, assertValidTryAgainStep, assertValidVerificationStepName, carrierConsentValueValidator, closeTabRef, collectDeviceProfile, conversion, convertByTrackingId, convertByVerificationId, customValidatorExists$1 as customValidatorExists, deepClone, deepMerge, displaySSN, employmentPInfoReqEmpty, ensureMaxMetadataKeyValueLengths, ensureTrailingSlash, fetchExistingVerificationRequest, fetchProgramOrganizations, fetchRequestOrganizations, formatTwoDigitValues, getAddSchoolRequestUrl, getAllEmptyViewModels, getAvailableCountryChoices, getAvailableLocaleChoices, getAvailableLocales, getAvailableMilitaryStatuses, getAvailableStateChoices, getCompanyName, getConfiguredCountries, getConfiguredStates, getCustomValidator, getCustomValidatorFields, getDefaultCountryChoice, getDomainFromUrl, getEmptyViewModel, getEstAndMaxReviewTimes, getEstimatedReviewTime, getExtendedFieldValidationErrorsEmpty, getFaqLink, getFieldDisplayOrderFromRefs, getFieldValidationErrors, getFieldValidationErrorsEmpty, getFingerprint, getFirstErroredFieldId, getHook, getLocaleSafely, getLogoUrl, getMarketConsent, getMaxReviewTime, getMessages, getMetadata, getNewEmailCodeResendUrl, getNewSmsCodeResendUrl, getNewVerificationRequestUrl, getOptions, getOrgSearchCountryTags, getOverriddenMock, getOverridenValidator, getPhoneNumberValidationError, getPrivacyPolicyCompanyName, getPrivacyPolicyUrl, getProgramThemeUrl, getQueryParamsFromUrl, getRefByFieldId, getRefs, getRouteOverride, getSafe, getSheerIdScriptBasePath, getStatusLabel, getTabRef, getTrackingIdFromQueryString, getVerificationIdFromQueryString, getVerificationStatusUrl, handleCountryOnKeyDown, handleEmailOnKeyDown, handleStateChange, hasFailedInstantMatch, howDoesVerifyingWorkMessages, isFormErrored, isFormFilled, isTestEmailDomains, isValidLocale, isValidUsPostalCode, listenToSheerIdFrame, loadInModal, loadInlineIframe, logger, orgToOption, orgsInStatus, overrideComponent, overrideValidator, phoneNumberValidator, populateViewModelFromQueryParams, postVerificationSizeUpdates, postalCodeMatchers, postalCodeValidator, produceDraftViewModel, produceDraftViewModelWithRequiredFields, recordEvent, recordVerificationResponse, recordViewModelChange, refreshStore, registerAdditionalLocales, removeAllFiles, removeCustomValidator, removeFile, requestOrganizationConstants, resetCustomValidators, resetHooks, resetMetadata, resetOptions, resetOverriddenComponents, resetOverriddenValidators, resetRefs, resetStore, resetTabRef, resetViewModel, resolveTrackingId, setCustomValidator, setDimension, setFocus, setGaDimensionIsTest, setMetadata, setOptions, setRef, setTabRef, setViewModel, shouldCollectAddressFields, shouldCollectPostalCode, socialSecurityEmpty, speakToOuterFrame, submitAddSchoolRequest, submitForm, unDisplaySSN, updateFieldValidationErrors, updateFieldValidationErrorsByFieldId, updateMilitaryViewModel, updateViewModelOrganization, usePollingInterval, validateFieldById, validateMetadata };
23547
+ export { ACCEPTED_DOC_MIME_TYPES, AcceptableUploadsComponent, AddressComponent, BirthDateComponent, BranchOfServiceComponent, ChangeLocaleComponent, CityComponent, CollegeNameComponent, CompanyComponent, CopyToClipboard, CountDownComponent, CountryComponent, CountryComponentWrapper, DEFAULT_LOCALE, DEFAULT_MINIMUM_ORG_SEARCH_VALUE_LENGTH, DEFAULT_PRIVACY_POLICY_URL, DeleteJson, DischargeDateComponent, DriverLicenseNumberComponent, EmailComponent, FaqLinkComponent, FetchOrganizationsComponent, FieldIdEnum, FieldIds, FieldLabel, FirstNameComponent, FirstResponderOrganizationComponent, FirstResponderStatusComponent, FirstResponderStatusDefaultMessagesEnum, FormFooterComponent, GetEmptyTheme, GetJson, GetResponse, HTTP_REQUEST_TIMEOUT, HookNameEnum, HookNames, HowDoesVerifyingWorkComponent, InputSelectButtonComponent, InputSelectComponent, InputSelectListComponent, InputTextComponent, LastNameComponent, LinkExternal, LoadingSpinnerComponent, Locales, LogoComponent, LowIncomeOrganizationComponent, LowIncomeStatusDefaultMessagesEnum, MAX_DOC_UPLOAD_DOCS_ALLOWED, MarketConsentWrapperComponent as MarketConsentWrapper, MedicalProfessionalOrganizationComponent, MedicalProfessionalStatusDefaultMessagesEnum, MedicalStatusComponent, MemberIdComponent, MembershipOrganizationComponent, MilitaryStatusComponent, MilitaryStatusDefaultMessagesEnum, MockSteps, MockStepsEnum, OptInComponent, OptInInputComponent, OrganizationListComponent, OrganizationResultComponent, PhoneNumberComponent, PostFiles, PostJson, PostalCodeComponent, PostalCodeInputComponent, PoweredByComponent, PrivacyPolicyLinkComponent, QUERY_STRING_ERRORID_OVERRIDE, QUERY_STRING_INSTALL_PAGE_URL, QUERY_STRING_REDIRECT_URL_OVERRIDE, QUERY_STRING_REWARD_CODE_OVERRIDE, QUERY_STRING_SEGMENT_OVERRIDE, QUERY_STRING_STEP_OVERRIDE, QUERY_STRING_SUBSEGMENT_OVERRIDE, RequestOrganizationContext, RequestOrganizationErrorComponent, RequestOrganizationForm, RequestOrganizationFormFooterComponent, RequestOrganizationSearchComponent, RequestOrganizationSearchResultComponent, RequestOrganizationSuccessComponent, ReviewPendingComponent, RewardsRemainingComponent, SHEERID, SMSCodeComponent, SSN_STRING_LENGTH, SSOPendingComponent, SearchFieldComponent, SegmentEnum, Segments, SelectButtonComponent, SelectComponent, SelectListComponent, SocialSecurityNumber, SortByLabel, SsnChoice, StateComponent, StateEnum, StateSelectComponent, StatusComponent, StepActiveMilitaryPersonalInfoComponent, StepDriverLicensePersonalInfoComponent, StepGeneralIdentityPersonalInfoComponent, StepHybridIdentityPersonalInfoComponent, StepLowIncomePersonalInfoComponent, SubSegmentEnum, TeacherSchoolComponent, TryAgainButtonComponent, TryAgainSteps, TypeaheadComponent, UPLOAD_FILE_PREFIX, UploadInfoComponent, VerificationApiClient, VerificationForm, VerificationSteps, VerificationStepsEnum, addFiles, addHook, allMockedResponses, arrayUnique, assertValidConversionRequest, assertValidDatabaseId, assertValidFieldId, assertValidFunction, assertValidHook, assertValidHookName, assertValidHtmlElement, assertValidLocale, assertValidMockStepName, assertValidProgramId, assertValidSegmentName, assertValidTrackingId, assertValidTryAgainStep, assertValidVerificationStepName, carrierConsentValueValidator, closeTabRef, collectDeviceProfile, conversion, convertByTrackingId, convertByVerificationId, customValidatorExists$1 as customValidatorExists, deepClone, deepMerge, displaySSN, employmentPInfoReqEmpty, ensureMaxMetadataKeyValueLengths, ensureTrailingSlash, fetchExistingVerificationRequest, fetchProgramOrganizations, fetchRequestOrganizations, formatTwoDigitValues, getAddSchoolRequestUrl, getAllEmptyViewModels, getAvailableCountryChoices, getAvailableLocaleChoices, getAvailableLocales, getAvailableMilitaryStatuses, getAvailableStateChoices, getCompanyName, getConfiguredCountries, getConfiguredStates, getCustomValidator, getCustomValidatorFields, getDefaultCountryChoice, getDomainFromUrl, getEmptyViewModel, getEstAndMaxReviewTimes, getEstimatedReviewTime, getExtendedFieldValidationErrorsEmpty, getFaqLink, getFieldDisplayOrderFromRefs, getFieldValidationErrors, getFieldValidationErrorsEmpty, getFingerprint, getFirstErroredFieldId, getHook, getLocaleSafely, getLogoUrl, getMarketConsent, getMaxReviewTime, getMessages, getMetadata, getNewEmailCodeResendUrl, getNewSmsCodeResendUrl, getNewVerificationRequestUrl, getOptions, getOrgSearchCountryTags, getOverriddenMock, getOverridenValidator, getPhoneNumberValidationError, getPrivacyPolicyCompanyName, getPrivacyPolicyUrl, getProgramThemeUrl, getQueryParamsFromUrl, getRefByFieldId, getRefs, getRouteOverride, getSafe, getSheerIdScriptBasePath, getStatusLabel, getTabRef, getTrackingIdFromQueryString, getVerificationIdFromQueryString, getVerificationStatusUrl, handleCountryOnKeyDown, handleEmailOnKeyDown, handleStateChange, hasFailedInstantMatch, howDoesVerifyingWorkMessages, isFormErrored, isFormFilled, isTestEmailDomains, isValidLocale, isValidUsPostalCode, listenToSheerIdFrame, loadInModal, loadInlineIframe, logger, orgToOption, orgsInStatus, overrideComponent, overrideValidator, phoneNumberValidator, populateViewModelFromQueryParams, postVerificationSizeUpdates, postalCodeMatchers, postalCodeValidator, produceDraftViewModel, produceDraftViewModelWithRequiredFields, recordEvent, recordVerificationResponse, recordViewModelChange, refreshStore, registerAdditionalLocales, removeAllFiles, removeCustomValidator, removeFile, requestOrganizationConstants, resetCustomValidators, resetHooks, resetMetadata, resetOptions, resetOverriddenComponents, resetOverriddenValidators, resetRefs, resetStore, resetTabRef, resetViewModel, resolveTrackingId, setCustomValidator, setDimension, setFocus, setGaDimensionIsTest, setMetadata, setOptions, setRef, setTabRef, setViewModel, shouldCollectAddressFields, shouldCollectPostalCode, socialSecurityEmpty, speakToOuterFrame, submitAddSchoolRequest, submitForm, unDisplaySSN, updateFieldValidationErrors, updateFieldValidationErrorsByFieldId, updateMilitaryViewModel, updateViewModelOrganization, usePollingInterval, validateFieldById, validateMetadata };
23302
23548
  //# sourceMappingURL=sheerides6.js.map