@sheerid/jslib-nightly 2.262.0-alpha.3 → 2.263.0-alpha.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (400) hide show
  1. package/_mysheerid-preview.css +4 -4
  2. package/_mysheerid-preview.js +1511 -1394
  3. package/_mysheerid-preview.js.map +1 -1
  4. package/chunk/{AddressComponent-C4EQ1638.js → AddressComponent-0vaEURVZ.js} +6 -6
  5. package/chunk/{AddressComponent-BEOTwoo8.js.map → AddressComponent-0vaEURVZ.js.map} +1 -1
  6. package/chunk/{AddressComponent-BEOTwoo8.js → AddressComponent-D9R5iYEq.js} +6 -6
  7. package/chunk/{AddressComponent-C4EQ1638.js.map → AddressComponent-D9R5iYEq.js.map} +1 -1
  8. package/chunk/{AnnouncingHeader-BQ8ZM0VA.js → AnnouncingHeader-2fKF8wpi.js} +6 -6
  9. package/chunk/{AnnouncingHeader-BQ8ZM0VA.js.map → AnnouncingHeader-2fKF8wpi.js.map} +1 -1
  10. package/chunk/{AnnouncingHeader-BxnHzcl6.js → AnnouncingHeader-C46Kp2B-.js} +6 -6
  11. package/chunk/{AnnouncingHeader-BxnHzcl6.js.map → AnnouncingHeader-C46Kp2B-.js.map} +1 -1
  12. package/chunk/{ApiUrls-CV7PU5EV.js → ApiUrls-CcYW2aEq.js} +13 -13
  13. package/chunk/{ApiUrls-CV7PU5EV.js.map → ApiUrls-CcYW2aEq.js.map} +1 -1
  14. package/chunk/{ApiUrls-nZXwhWiR.js → ApiUrls-DlpncFa4.js} +6 -6
  15. package/chunk/{ApiUrls-nZXwhWiR.js.map → ApiUrls-DlpncFa4.js.map} +1 -1
  16. package/chunk/{BirthDateComponent-DW-1r_MV.js → BirthDateComponent-CPX6e-oS.js} +7 -7
  17. package/chunk/{BirthDateComponent-DW-1r_MV.js.map → BirthDateComponent-CPX6e-oS.js.map} +1 -1
  18. package/chunk/{BirthDateComponent-Dn4Pkaiz.js → BirthDateComponent-DiB89V9D.js} +7 -7
  19. package/chunk/{BirthDateComponent-Dn4Pkaiz.js.map → BirthDateComponent-DiB89V9D.js.map} +1 -1
  20. package/chunk/{CaptchaComponent-Eh4up7Aj.js → CaptchaComponent-D5Dv1noI.js} +151 -151
  21. package/chunk/{CaptchaComponent-6YC__tfs.js.map → CaptchaComponent-D5Dv1noI.js.map} +1 -1
  22. package/chunk/{CaptchaComponent-6YC__tfs.js → CaptchaComponent-gd5yubvd.js} +151 -151
  23. package/chunk/{CaptchaComponent-Eh4up7Aj.js.map → CaptchaComponent-gd5yubvd.js.map} +1 -1
  24. package/chunk/{ChangeLocaleComponent-CiTWGwun.js → ChangeLocaleComponent-B8O2m2HE.js} +7 -7
  25. package/chunk/{ChangeLocaleComponent-Brii1NXA.js.map → ChangeLocaleComponent-B8O2m2HE.js.map} +1 -1
  26. package/chunk/{ChangeLocaleComponent-Brii1NXA.js → ChangeLocaleComponent-BTZAq7uW.js} +7 -7
  27. package/chunk/{ChangeLocaleComponent-CiTWGwun.js.map → ChangeLocaleComponent-BTZAq7uW.js.map} +1 -1
  28. package/chunk/{City-DSfS926t.js → City-B6J8thJW.js} +6 -6
  29. package/chunk/{City-B2YRxbl9.js.map → City-B6J8thJW.js.map} +1 -1
  30. package/chunk/{City-B2YRxbl9.js → City-CLyjXYQj.js} +6 -6
  31. package/chunk/{City-DSfS926t.js.map → City-CLyjXYQj.js.map} +1 -1
  32. package/chunk/{CollegeNameComponent-uGitSOUf.js → CollegeNameComponent-CzyeuqK7.js} +8 -8
  33. package/chunk/{CollegeNameComponent-DU90yMx3.js.map → CollegeNameComponent-CzyeuqK7.js.map} +1 -1
  34. package/chunk/{CollegeNameComponent-DU90yMx3.js → CollegeNameComponent-VCRUE6e_.js} +8 -8
  35. package/chunk/{CollegeNameComponent-uGitSOUf.js.map → CollegeNameComponent-VCRUE6e_.js.map} +1 -1
  36. package/chunk/{CopyToClipboardComponent-RewXk0sK.js → CopyToClipboardComponent-C3q4w3A8.js} +6 -6
  37. package/chunk/{CopyToClipboardComponent-28EiBssf.js.map → CopyToClipboardComponent-C3q4w3A8.js.map} +1 -1
  38. package/chunk/{CopyToClipboardComponent-28EiBssf.js → CopyToClipboardComponent-mgX-iqqn.js} +6 -6
  39. package/chunk/{CopyToClipboardComponent-RewXk0sK.js.map → CopyToClipboardComponent-mgX-iqqn.js.map} +1 -1
  40. package/chunk/{CountryComponentWrapper-3OT-MoBx.js → CountryComponentWrapper-BGajYZrL.js} +24 -24
  41. package/chunk/{CountryComponentWrapper-3OT-MoBx.js.map → CountryComponentWrapper-BGajYZrL.js.map} +1 -1
  42. package/chunk/CountryComponentWrapper-CLGBVkRB.js +74 -0
  43. package/chunk/{CountryComponentWrapper-DKuB4eQA.js.map → CountryComponentWrapper-CLGBVkRB.js.map} +1 -1
  44. package/chunk/{DischargeDateComponent-1-3M2rHI.js → DischargeDateComponent-CrJy29pH.js} +18 -18
  45. package/chunk/{DischargeDateComponent-02d47HpL.js.map → DischargeDateComponent-CrJy29pH.js.map} +1 -1
  46. package/chunk/{DischargeDateComponent-02d47HpL.js → DischargeDateComponent-S0alvYUT.js} +16 -16
  47. package/chunk/{DischargeDateComponent-1-3M2rHI.js.map → DischargeDateComponent-S0alvYUT.js.map} +1 -1
  48. package/chunk/{DriverLicenseNumberComponent-DnmKchNM.js → DriverLicenseNumberComponent-5Zli2AqS.js} +6 -6
  49. package/chunk/{DriverLicenseNumberComponent-CEUybEf8.js.map → DriverLicenseNumberComponent-5Zli2AqS.js.map} +1 -1
  50. package/chunk/{DriverLicenseNumberComponent-CEUybEf8.js → DriverLicenseNumberComponent-Cn9W9CIk.js} +6 -6
  51. package/chunk/{DriverLicenseNumberComponent-DnmKchNM.js.map → DriverLicenseNumberComponent-Cn9W9CIk.js.map} +1 -1
  52. package/chunk/{EmailLoopPending-CcT00POj.js → EmailLoopPending-DY_CezIw.js} +22 -22
  53. package/chunk/{EmailLoopPending-CcT00POj.js.map → EmailLoopPending-DY_CezIw.js.map} +1 -1
  54. package/chunk/{EmailLoopPending-CauMM4y6.js → EmailLoopPending-yAg-0vC3.js} +18 -18
  55. package/chunk/{EmailLoopPending-CauMM4y6.js.map → EmailLoopPending-yAg-0vC3.js.map} +1 -1
  56. package/chunk/{ExtraMessage-BppIwzQ5.js → ExtraMessage-UbmnijRM.js} +7 -7
  57. package/chunk/{ExtraMessage-BppIwzQ5.js.map → ExtraMessage-UbmnijRM.js.map} +1 -1
  58. package/chunk/{ExtraMessage-LK23_Ou9.js → ExtraMessage-vcQ9SW6K.js} +7 -7
  59. package/chunk/{ExtraMessage-LK23_Ou9.js.map → ExtraMessage-vcQ9SW6K.js.map} +1 -1
  60. package/chunk/{FirstResponderOrganizationComponent-BTBEk0SV.js → FirstResponderOrganizationComponent-DMOFM1oz.js} +7 -7
  61. package/chunk/{FirstResponderOrganizationComponent-BHHEnu32.js.map → FirstResponderOrganizationComponent-DMOFM1oz.js.map} +1 -1
  62. package/chunk/{FirstResponderOrganizationComponent-BHHEnu32.js → FirstResponderOrganizationComponent-NKG9W0hn.js} +7 -7
  63. package/chunk/{FirstResponderOrganizationComponent-BTBEk0SV.js.map → FirstResponderOrganizationComponent-NKG9W0hn.js.map} +1 -1
  64. package/chunk/{FormFieldInputSelect-C6RnAJlO.js → FormFieldInputSelect-Bi8LOivJ.js} +7 -7
  65. package/chunk/{FormFieldInputSelect-C6RnAJlO.js.map → FormFieldInputSelect-Bi8LOivJ.js.map} +1 -1
  66. package/chunk/{FormFieldInputSelect-Cp0KLU3t.js → FormFieldInputSelect-DtvPrvCM.js} +7 -7
  67. package/chunk/{FormFieldInputSelect-Cp0KLU3t.js.map → FormFieldInputSelect-DtvPrvCM.js.map} +1 -1
  68. package/chunk/{FormFieldLayout-BGlrOIA_.js → FormFieldLayout-CM-yJADZ.js} +6 -6
  69. package/chunk/{FormFieldLayout-ByyE03RB.js.map → FormFieldLayout-CM-yJADZ.js.map} +1 -1
  70. package/chunk/{FormFieldLayout-ByyE03RB.js → FormFieldLayout-x7EaxmB4.js} +6 -6
  71. package/chunk/{FormFieldLayout-BGlrOIA_.js.map → FormFieldLayout-x7EaxmB4.js.map} +1 -1
  72. package/chunk/{FormFieldText-D85-RYTm.js → FormFieldText-ByMirgSm.js} +7 -7
  73. package/chunk/{FormFieldText-D85-RYTm.js.map → FormFieldText-ByMirgSm.js.map} +1 -1
  74. package/chunk/{FormFieldText-ZGZooQh1.js → FormFieldText-Cer6Ul3T.js} +7 -7
  75. package/chunk/{FormFieldText-ZGZooQh1.js.map → FormFieldText-Cer6Ul3T.js.map} +1 -1
  76. package/chunk/{FormFieldTypeahead-DZzZXvKC.js → FormFieldTypeahead-CS8Gc1-N.js} +136 -136
  77. package/chunk/{FormFieldTypeahead-DZzZXvKC.js.map → FormFieldTypeahead-CS8Gc1-N.js.map} +1 -1
  78. package/chunk/{FormFieldTypeahead-DH4pE3j0.js → FormFieldTypeahead-pogmD1N2.js} +47 -47
  79. package/chunk/{FormFieldTypeahead-DH4pE3j0.js.map → FormFieldTypeahead-pogmD1N2.js.map} +1 -1
  80. package/chunk/{FormFooterComponent-DB0-FOF0.js → FormFooterComponent-Bf1bxfK_.js} +1682 -1601
  81. package/chunk/FormFooterComponent-Bf1bxfK_.js.map +1 -0
  82. package/chunk/{FormFooterComponent-Cgu8_872.js → FormFooterComponent-hQ9YVK_9.js} +2278 -2209
  83. package/chunk/FormFooterComponent-hQ9YVK_9.js.map +1 -0
  84. package/chunk/{FormSelectChoice-DZ3D1_pD.js → FormSelectChoice-CD4kEzVG.js} +13 -9
  85. package/chunk/{FormSelectChoice-C_wNKkAd.js.map → FormSelectChoice-CD4kEzVG.js.map} +1 -1
  86. package/chunk/{FormSelectChoice-C_wNKkAd.js → FormSelectChoice-DFW__bqf.js} +9 -13
  87. package/chunk/{FormSelectChoice-DZ3D1_pD.js.map → FormSelectChoice-DFW__bqf.js.map} +1 -1
  88. package/chunk/{InputText-DQ-OK_iF.js → InputText-CFKx7skU.js} +7 -7
  89. package/chunk/{InputText-CZCqykcE.js.map → InputText-CFKx7skU.js.map} +1 -1
  90. package/chunk/{InputText-CZCqykcE.js → InputText-rG2lFIuH.js} +7 -7
  91. package/chunk/{InputText-DQ-OK_iF.js.map → InputText-rG2lFIuH.js.map} +1 -1
  92. package/chunk/{LicensedProfessionalOrganizationComponent-BQmqXV5V.js → LicensedProfessionalOrganizationComponent-CabaokFb.js} +7 -7
  93. package/chunk/{LicensedProfessionalOrganizationComponent-BQmqXV5V.js.map → LicensedProfessionalOrganizationComponent-CabaokFb.js.map} +1 -1
  94. package/chunk/{LicensedProfessionalOrganizationComponent-DlZsN8Ah.js → LicensedProfessionalOrganizationComponent-DmjiRyX1.js} +7 -7
  95. package/chunk/{LicensedProfessionalOrganizationComponent-DlZsN8Ah.js.map → LicensedProfessionalOrganizationComponent-DmjiRyX1.js.map} +1 -1
  96. package/chunk/{LogoComponent-DfYUd29W.js → LogoComponent-40n5vaD0.js} +6 -6
  97. package/chunk/{LogoComponent-DLw4pZDn.js.map → LogoComponent-40n5vaD0.js.map} +1 -1
  98. package/chunk/{LogoComponent-DLw4pZDn.js → LogoComponent-lTeCnowz.js} +6 -6
  99. package/chunk/{LogoComponent-DfYUd29W.js.map → LogoComponent-lTeCnowz.js.map} +1 -1
  100. package/chunk/{LowIncomeOrganizationComponent-CUYnhGeZ.js → LowIncomeOrganizationComponent-DHP7BAWQ.js} +16 -16
  101. package/chunk/{LowIncomeOrganizationComponent-Bc9lkn66.js.map → LowIncomeOrganizationComponent-DHP7BAWQ.js.map} +1 -1
  102. package/chunk/{LowIncomeOrganizationComponent-Bc9lkn66.js → LowIncomeOrganizationComponent-uUgJiZtV.js} +16 -16
  103. package/chunk/{LowIncomeOrganizationComponent-CUYnhGeZ.js.map → LowIncomeOrganizationComponent-uUgJiZtV.js.map} +1 -1
  104. package/chunk/{MedicalProfessionalOrganizationComponent-Bei1ny_n.js → MedicalProfessionalOrganizationComponent-B1QLHEJV.js} +7 -7
  105. package/chunk/{MedicalProfessionalOrganizationComponent-Bei1ny_n.js.map → MedicalProfessionalOrganizationComponent-B1QLHEJV.js.map} +1 -1
  106. package/chunk/{MedicalProfessionalOrganizationComponent-CpY5QvlU.js → MedicalProfessionalOrganizationComponent-CkhM5nex.js} +7 -7
  107. package/chunk/{MedicalProfessionalOrganizationComponent-CpY5QvlU.js.map → MedicalProfessionalOrganizationComponent-CkhM5nex.js.map} +1 -1
  108. package/chunk/{MemberIdComponent-ByLsGDO-.js → MemberIdComponent-BJC0oeuE.js} +6 -6
  109. package/chunk/{MemberIdComponent-ByLsGDO-.js.map → MemberIdComponent-BJC0oeuE.js.map} +1 -1
  110. package/chunk/{MemberIdComponent-DlhBKfuU.js → MemberIdComponent-F3J2XAp3.js} +6 -6
  111. package/chunk/{MemberIdComponent-DlhBKfuU.js.map → MemberIdComponent-F3J2XAp3.js.map} +1 -1
  112. package/chunk/{MembershipOrganizationComponent-BHf7Ie57.js → MembershipOrganizationComponent-0uqSgnl9.js} +7 -7
  113. package/chunk/{MembershipOrganizationComponent-BERnC4LT.js.map → MembershipOrganizationComponent-0uqSgnl9.js.map} +1 -1
  114. package/chunk/{MembershipOrganizationComponent-BERnC4LT.js → MembershipOrganizationComponent-n6dsAj9D.js} +7 -7
  115. package/chunk/{MembershipOrganizationComponent-BHf7Ie57.js.map → MembershipOrganizationComponent-n6dsAj9D.js.map} +1 -1
  116. package/chunk/Onfido-CTCgAwnB.js +4 -4
  117. package/chunk/{PersonalInfoStepSubmitButton-clzrobVs.js → PersonalInfoStepSubmitButton-BS7TwIFn.js} +16 -16
  118. package/chunk/{PersonalInfoStepSubmitButton-DuUlUXYD.js.map → PersonalInfoStepSubmitButton-BS7TwIFn.js.map} +1 -1
  119. package/chunk/{PersonalInfoStepSubmitButton-DuUlUXYD.js → PersonalInfoStepSubmitButton-IMW1ww2e.js} +19 -19
  120. package/chunk/{PersonalInfoStepSubmitButton-clzrobVs.js.map → PersonalInfoStepSubmitButton-IMW1ww2e.js.map} +1 -1
  121. package/chunk/{PersonalInfoStepWrapper-D8lig4zW.js → PersonalInfoStepWrapper-CZDrFaqC.js} +8 -8
  122. package/chunk/{PersonalInfoStepWrapper-D8lig4zW.js.map → PersonalInfoStepWrapper-CZDrFaqC.js.map} +1 -1
  123. package/chunk/{PersonalInfoStepWrapper-D3KT38ON.js → PersonalInfoStepWrapper-DwvV4VsT.js} +7 -7
  124. package/chunk/{PersonalInfoStepWrapper-D3KT38ON.js.map → PersonalInfoStepWrapper-DwvV4VsT.js.map} +1 -1
  125. package/chunk/{PostalCodeComponent-BByC-zpa.js → PostalCodeComponent-BDFy_9yi.js} +6 -6
  126. package/chunk/{PostalCodeComponent-BByC-zpa.js.map → PostalCodeComponent-BDFy_9yi.js.map} +1 -1
  127. package/chunk/{PostalCodeComponent-COaeeNXA.js → PostalCodeComponent-DuEPciUA.js} +6 -6
  128. package/chunk/{PostalCodeComponent-COaeeNXA.js.map → PostalCodeComponent-DuEPciUA.js.map} +1 -1
  129. package/chunk/{SSN-Dp0h787p.js → SSN-DYqbsF85.js} +7 -7
  130. package/chunk/{SSN-Dp0h787p.js.map → SSN-DYqbsF85.js.map} +1 -1
  131. package/chunk/{SSN-iGqsPg4C.js → SSN-DvsdFp8R.js} +7 -7
  132. package/chunk/{SSN-iGqsPg4C.js.map → SSN-DvsdFp8R.js.map} +1 -1
  133. package/chunk/{StateSelectComponent-xOKtNAUf.js → StateSelectComponent-CFY00_F5.js} +6 -6
  134. package/chunk/{StateSelectComponent-M54AviWD.js.map → StateSelectComponent-CFY00_F5.js.map} +1 -1
  135. package/chunk/{StateSelectComponent-M54AviWD.js → StateSelectComponent-CN7u7Z5P.js} +6 -6
  136. package/chunk/{StateSelectComponent-xOKtNAUf.js.map → StateSelectComponent-CN7u7Z5P.js.map} +1 -1
  137. package/chunk/{StatusComponent-DPhnz8ZI.js → StatusComponent-BLbeJdVB.js} +7 -7
  138. package/chunk/{StatusComponent-DPhnz8ZI.js.map → StatusComponent-BLbeJdVB.js.map} +1 -1
  139. package/chunk/{StatusComponent-Dxna8rvR.js → StatusComponent-CvMMC2MR.js} +7 -7
  140. package/chunk/{StatusComponent-Dxna8rvR.js.map → StatusComponent-CvMMC2MR.js.map} +1 -1
  141. package/chunk/{StepActiveMilitaryPersonalInfoComponent-3Mbij1P9.js → StepActiveMilitaryPersonalInfoComponent-Dv9E-wNt.js} +23 -23
  142. package/chunk/{StepActiveMilitaryPersonalInfoComponent-3Mbij1P9.js.map → StepActiveMilitaryPersonalInfoComponent-Dv9E-wNt.js.map} +1 -1
  143. package/chunk/{StepActiveMilitaryPersonalInfoComponent-FFvDeDRG.js → StepActiveMilitaryPersonalInfoComponent-XDLAbyN0.js} +24 -24
  144. package/chunk/{StepActiveMilitaryPersonalInfoComponent-FFvDeDRG.js.map → StepActiveMilitaryPersonalInfoComponent-XDLAbyN0.js.map} +1 -1
  145. package/chunk/{StepAgePersonalInfo-DG9Hb5S-.js → StepAgePersonalInfo-BsTJ2oQP.js} +18 -18
  146. package/chunk/{StepAgePersonalInfo-DG9Hb5S-.js.map → StepAgePersonalInfo-BsTJ2oQP.js.map} +1 -1
  147. package/chunk/{StepAgePersonalInfo-Dux-oXiF.js → StepAgePersonalInfo-CD8rmbII.js} +18 -18
  148. package/chunk/{StepAgePersonalInfo-Dux-oXiF.js.map → StepAgePersonalInfo-CD8rmbII.js.map} +1 -1
  149. package/chunk/{StepCard-BnBrK5Xn.js → StepCard-Bp4YtbLH.js} +5 -5
  150. package/chunk/{StepCard-B0Stfmvc.js.map → StepCard-Bp4YtbLH.js.map} +1 -1
  151. package/chunk/{StepCard-B0Stfmvc.js → StepCard-Bzt1Ked6.js} +5 -5
  152. package/chunk/{StepCard-BnBrK5Xn.js.map → StepCard-Bzt1Ked6.js.map} +1 -1
  153. package/chunk/{StepCollectIdentifier-nslQ_uiD.js → StepCollectIdentifier-DbqT3QQe.js} +10 -10
  154. package/chunk/{StepCollectIdentifier-CUfJd9lR.js.map → StepCollectIdentifier-DbqT3QQe.js.map} +1 -1
  155. package/chunk/{StepCollectIdentifier-CUfJd9lR.js → StepCollectIdentifier-_CGgV5yn.js} +8 -8
  156. package/chunk/{StepCollectIdentifier-nslQ_uiD.js.map → StepCollectIdentifier-_CGgV5yn.js.map} +1 -1
  157. package/chunk/StepCollectMilitaryStatusComponent-D48r1TIH.js +9 -0
  158. package/chunk/{StepCollectMilitaryStatusComponent-Csz5hXck.js → StepCollectMilitaryStatusComponent-yDElymyn.js} +5 -5
  159. package/chunk/{StepCollectPersonalInfo-DFocRlxy.js → StepCollectPersonalInfo-DBt095uS.js} +98 -98
  160. package/chunk/{StepCollectPersonalInfo-BdYq3OaA.js.map → StepCollectPersonalInfo-DBt095uS.js.map} +1 -1
  161. package/chunk/{StepCollectPersonalInfo-BdYq3OaA.js → StepCollectPersonalInfo-qc9qiwM9.js} +131 -131
  162. package/chunk/{StepCollectPersonalInfo-DFocRlxy.js.map → StepCollectPersonalInfo-qc9qiwM9.js.map} +1 -1
  163. package/chunk/{StepCompleteAuthentication-DIu2DNgh.js → StepCompleteAuthentication-D5eAqv1G.js} +7 -7
  164. package/chunk/{StepCompleteAuthentication-CbAA1cG8.js.map → StepCompleteAuthentication-D5eAqv1G.js.map} +1 -1
  165. package/chunk/{StepCompleteAuthentication-CbAA1cG8.js → StepCompleteAuthentication-Dn2a9n2B.js} +7 -7
  166. package/chunk/{StepCompleteAuthentication-DIu2DNgh.js.map → StepCompleteAuthentication-Dn2a9n2B.js.map} +1 -1
  167. package/chunk/{StepConsolation-CPppVczj.js → StepConsolation-98Hyjrx9.js} +9 -9
  168. package/chunk/{StepConsolation-CPppVczj.js.map → StepConsolation-98Hyjrx9.js.map} +1 -1
  169. package/chunk/{StepConsolation-Ga2Deo3F.js → StepConsolation-XE4XTZd0.js} +9 -9
  170. package/chunk/{StepConsolation-Ga2Deo3F.js.map → StepConsolation-XE4XTZd0.js.map} +1 -1
  171. package/chunk/{StepDocUpload-DBL1iycT.js → StepDocUpload-DCVjwY0r.js} +208 -208
  172. package/chunk/{StepDocUpload-DBL1iycT.js.map → StepDocUpload-DCVjwY0r.js.map} +1 -1
  173. package/chunk/{StepDocUpload-BkCbuH5X.js → StepDocUpload-DIJmY36O.js} +216 -216
  174. package/chunk/{StepDocUpload-BkCbuH5X.js.map → StepDocUpload-DIJmY36O.js.map} +1 -1
  175. package/chunk/{StepDriverLicensePersonalInfoComponent-CrADIMOS.js → StepDriverLicensePersonalInfoComponent-BVLj7Snm.js} +15 -15
  176. package/chunk/{StepDriverLicensePersonalInfoComponent-CUiqvHhA.js.map → StepDriverLicensePersonalInfoComponent-BVLj7Snm.js.map} +1 -1
  177. package/chunk/{StepDriverLicensePersonalInfoComponent-CUiqvHhA.js → StepDriverLicensePersonalInfoComponent-DpQbQRYk.js} +15 -15
  178. package/chunk/{StepDriverLicensePersonalInfoComponent-CrADIMOS.js.map → StepDriverLicensePersonalInfoComponent-DpQbQRYk.js.map} +1 -1
  179. package/chunk/{StepEmailLoop-BLpzq_JF.js → StepEmailLoop-DijPspCu.js} +14 -14
  180. package/chunk/{StepEmailLoop-4i91aS0V.js.map → StepEmailLoop-DijPspCu.js.map} +1 -1
  181. package/chunk/{StepEmailLoop-4i91aS0V.js → StepEmailLoop-DlMwekLO.js} +11 -11
  182. package/chunk/{StepEmailLoop-BLpzq_JF.js.map → StepEmailLoop-DlMwekLO.js.map} +1 -1
  183. package/chunk/{StepEmploymentPersonalInfo-X7zDA2LO.js → StepEmploymentPersonalInfo-CK1WQrFc.js} +18 -18
  184. package/chunk/{StepEmploymentPersonalInfo-BdrrnW6U.js.map → StepEmploymentPersonalInfo-CK1WQrFc.js.map} +1 -1
  185. package/chunk/{StepEmploymentPersonalInfo-BdrrnW6U.js → StepEmploymentPersonalInfo-Io5lDANI.js} +18 -18
  186. package/chunk/{StepEmploymentPersonalInfo-X7zDA2LO.js.map → StepEmploymentPersonalInfo-Io5lDANI.js.map} +1 -1
  187. package/chunk/{StepFirstResponderPersonalInfo-DlMdPlSa.js → StepFirstResponderPersonalInfo-BNBFV9nZ.js} +26 -26
  188. package/chunk/{StepFirstResponderPersonalInfo-Cpjozwj9.js.map → StepFirstResponderPersonalInfo-BNBFV9nZ.js.map} +1 -1
  189. package/chunk/{StepFirstResponderPersonalInfo-Cpjozwj9.js → StepFirstResponderPersonalInfo-y8pLS7Ot.js} +24 -24
  190. package/chunk/{StepFirstResponderPersonalInfo-DlMdPlSa.js.map → StepFirstResponderPersonalInfo-y8pLS7Ot.js.map} +1 -1
  191. package/chunk/{StepGeneralIdentityPersonalInfoComponent-BrkQbrIa.js → StepGeneralIdentityPersonalInfoComponent-BOVFxi7E.js} +18 -18
  192. package/chunk/{StepGeneralIdentityPersonalInfoComponent-BrkQbrIa.js.map → StepGeneralIdentityPersonalInfoComponent-BOVFxi7E.js.map} +1 -1
  193. package/chunk/{StepGeneralIdentityPersonalInfoComponent-GQ0_pyiW.js → StepGeneralIdentityPersonalInfoComponent-DN4fDgmT.js} +18 -18
  194. package/chunk/{StepGeneralIdentityPersonalInfoComponent-GQ0_pyiW.js.map → StepGeneralIdentityPersonalInfoComponent-DN4fDgmT.js.map} +1 -1
  195. package/chunk/{StepHybridIdentityPersonalInfoComponent-DBQA9Czz.js → StepHybridIdentityPersonalInfoComponent-B7GiImzs.js} +19 -19
  196. package/chunk/{StepHybridIdentityPersonalInfoComponent-DBQA9Czz.js.map → StepHybridIdentityPersonalInfoComponent-B7GiImzs.js.map} +1 -1
  197. package/chunk/{StepHybridIdentityPersonalInfoComponent-DGJ-K8jL.js → StepHybridIdentityPersonalInfoComponent-CpLwzKR3.js} +19 -19
  198. package/chunk/{StepHybridIdentityPersonalInfoComponent-DGJ-K8jL.js.map → StepHybridIdentityPersonalInfoComponent-CpLwzKR3.js.map} +1 -1
  199. package/chunk/{StepIDCheckLoop-CmDYY5x_.js → StepIDCheckLoop-BvXMO0o-.js} +8 -8
  200. package/chunk/{StepIDCheckLoop-CmDYY5x_.js.map → StepIDCheckLoop-BvXMO0o-.js.map} +1 -1
  201. package/chunk/{StepIDCheckLoop-N0V-opfP.js → StepIDCheckLoop-mjicZN47.js} +8 -8
  202. package/chunk/{StepIDCheckLoop-N0V-opfP.js.map → StepIDCheckLoop-mjicZN47.js.map} +1 -1
  203. package/chunk/{StepIDCheckLoopOnfido-DrbnvX-v.js → StepIDCheckLoopOnfido-BOV4prFg.js} +38 -38
  204. package/chunk/{StepIDCheckLoopOnfido-DrbnvX-v.js.map → StepIDCheckLoopOnfido-BOV4prFg.js.map} +1 -1
  205. package/chunk/{StepIDCheckLoopOnfido-vUiFK8kD.js → StepIDCheckLoopOnfido-DruIo3QT.js} +37 -37
  206. package/chunk/{StepIDCheckLoopOnfido-vUiFK8kD.js.map → StepIDCheckLoopOnfido-DruIo3QT.js.map} +1 -1
  207. package/chunk/{StepIDCheckLoopRegula-DUQqWyY7.js → StepIDCheckLoopRegula-DyBl3yuL.js} +20 -20
  208. package/chunk/{StepIDCheckLoopRegula-6F05II31.js.map → StepIDCheckLoopRegula-DyBl3yuL.js.map} +1 -1
  209. package/chunk/{StepIDCheckLoopRegula-6F05II31.js → StepIDCheckLoopRegula-_AQpP8Wd.js} +21 -21
  210. package/chunk/{StepIDCheckLoopRegula-DUQqWyY7.js.map → StepIDCheckLoopRegula-_AQpP8Wd.js.map} +1 -1
  211. package/chunk/{StepInactiveMilitaryPersonalInfoComponent-WvnubM6a.js → StepInactiveMilitaryPersonalInfoComponent-DCG2AMPg.js} +35 -35
  212. package/chunk/{StepInactiveMilitaryPersonalInfoComponent-CZNK0Ym-.js.map → StepInactiveMilitaryPersonalInfoComponent-DCG2AMPg.js.map} +1 -1
  213. package/chunk/{StepInactiveMilitaryPersonalInfoComponent-CZNK0Ym-.js → StepInactiveMilitaryPersonalInfoComponent-DyWjru-q.js} +32 -32
  214. package/chunk/{StepInactiveMilitaryPersonalInfoComponent-WvnubM6a.js.map → StepInactiveMilitaryPersonalInfoComponent-DyWjru-q.js.map} +1 -1
  215. package/chunk/{StepLicensedProfessionalPersonalInfo-B6orcA1q.js → StepLicensedProfessionalPersonalInfo-CeTlSVd_.js} +17 -17
  216. package/chunk/{StepLicensedProfessionalPersonalInfo-B6orcA1q.js.map → StepLicensedProfessionalPersonalInfo-CeTlSVd_.js.map} +1 -1
  217. package/chunk/{StepLicensedProfessionalPersonalInfo-Cybuz5wl.js → StepLicensedProfessionalPersonalInfo-l2Kz9fjT.js} +17 -17
  218. package/chunk/{StepLicensedProfessionalPersonalInfo-Cybuz5wl.js.map → StepLicensedProfessionalPersonalInfo-l2Kz9fjT.js.map} +1 -1
  219. package/chunk/{StepLowIncomePersonalInfo-Bex7yLTA.js → StepLowIncomePersonalInfo-CprfWbyi.js} +30 -30
  220. package/chunk/{StepLowIncomePersonalInfo-Bex7yLTA.js.map → StepLowIncomePersonalInfo-CprfWbyi.js.map} +1 -1
  221. package/chunk/{StepLowIncomePersonalInfo-PGMXtmeY.js → StepLowIncomePersonalInfo-LJsDGPUb.js} +33 -33
  222. package/chunk/{StepLowIncomePersonalInfo-PGMXtmeY.js.map → StepLowIncomePersonalInfo-LJsDGPUb.js.map} +1 -1
  223. package/chunk/{StepMedicalProfessionalPersonalInfo-D9Dq4buf.js → StepMedicalProfessionalPersonalInfo-CCmT6j7D.js} +25 -25
  224. package/chunk/{StepMedicalProfessionalPersonalInfo-BCh4dVMx.js.map → StepMedicalProfessionalPersonalInfo-CCmT6j7D.js.map} +1 -1
  225. package/chunk/{StepMedicalProfessionalPersonalInfo-BCh4dVMx.js → StepMedicalProfessionalPersonalInfo-wIOQmTNI.js} +21 -21
  226. package/chunk/{StepMedicalProfessionalPersonalInfo-D9Dq4buf.js.map → StepMedicalProfessionalPersonalInfo-wIOQmTNI.js.map} +1 -1
  227. package/chunk/{StepMemberPersonalInfo-h4gOJKVO.js → StepMemberPersonalInfo-BBo85iSh.js} +16 -16
  228. package/chunk/{StepMemberPersonalInfo-CZ4eG64m.js.map → StepMemberPersonalInfo-BBo85iSh.js.map} +1 -1
  229. package/chunk/{StepMemberPersonalInfo-CZ4eG64m.js → StepMemberPersonalInfo-Bl21iEdB.js} +16 -16
  230. package/chunk/{StepMemberPersonalInfo-h4gOJKVO.js.map → StepMemberPersonalInfo-Bl21iEdB.js.map} +1 -1
  231. package/chunk/{StepMoverPersonalInfo-1qubJ21-.js → StepMoverPersonalInfo-CPfQCBOL.js} +14 -14
  232. package/chunk/{StepMoverPersonalInfo-1qubJ21-.js.map → StepMoverPersonalInfo-CPfQCBOL.js.map} +1 -1
  233. package/chunk/{StepMoverPersonalInfo-DjmlleEw.js → StepMoverPersonalInfo-WIqMMlAQ.js} +14 -14
  234. package/chunk/{StepMoverPersonalInfo-DjmlleEw.js.map → StepMoverPersonalInfo-WIqMMlAQ.js.map} +1 -1
  235. package/chunk/{StepOverrideComponent-C5LO9dxP.js → StepOverrideComponent-Bx00Gy5b.js} +15 -15
  236. package/chunk/{StepOverrideComponent-C5LO9dxP.js.map → StepOverrideComponent-Bx00Gy5b.js.map} +1 -1
  237. package/chunk/{StepOverrideComponent-DGSV1P5q.js → StepOverrideComponent-DkwzqsMM.js} +15 -15
  238. package/chunk/{StepOverrideComponent-DGSV1P5q.js.map → StepOverrideComponent-DkwzqsMM.js.map} +1 -1
  239. package/chunk/{StepSMSLoop-Cb56n7Er.js → StepSMSLoop-DF072Jty.js} +16 -16
  240. package/chunk/{StepSMSLoop-Cb56n7Er.js.map → StepSMSLoop-DF072Jty.js.map} +1 -1
  241. package/chunk/{StepSMSLoop-XVN6o1NS.js → StepSMSLoop-WSBQ_nIW.js} +16 -16
  242. package/chunk/{StepSMSLoop-XVN6o1NS.js.map → StepSMSLoop-WSBQ_nIW.js.map} +1 -1
  243. package/chunk/StepSSO-BRFhNvkp.js +4 -4
  244. package/chunk/StepSSO-BaFk7RFJ.js +4 -4
  245. package/chunk/{StepSocialSecurityNumber-B0kLt_Ff.js → StepSocialSecurityNumber-B46D7NFt.js} +16 -16
  246. package/chunk/{StepSocialSecurityNumber-B0kLt_Ff.js.map → StepSocialSecurityNumber-B46D7NFt.js.map} +1 -1
  247. package/chunk/{StepSocialSecurityNumber-CE3z8DHI.js → StepSocialSecurityNumber-DABlcVKf.js} +16 -16
  248. package/chunk/{StepSocialSecurityNumber-CE3z8DHI.js.map → StepSocialSecurityNumber-DABlcVKf.js.map} +1 -1
  249. package/chunk/{StepStudentPersonalInfo-BI9ktkUU.js → StepStudentPersonalInfo-CP_4yhlJ.js} +50 -50
  250. package/chunk/{StepStudentPersonalInfo-BI9ktkUU.js.map → StepStudentPersonalInfo-CP_4yhlJ.js.map} +1 -1
  251. package/chunk/{StepStudentPersonalInfo-MarIxoV4.js → StepStudentPersonalInfo-CTZIwyV3.js} +17 -17
  252. package/chunk/{StepStudentPersonalInfo-MarIxoV4.js.map → StepStudentPersonalInfo-CTZIwyV3.js.map} +1 -1
  253. package/chunk/{StepSuccess-BDy48JTw.js → StepSuccess-C6Uc5k_Q.js} +34 -30
  254. package/chunk/{StepSuccess-BDy48JTw.js.map → StepSuccess-C6Uc5k_Q.js.map} +1 -1
  255. package/chunk/{StepSuccess-C3xkPK0R.js → StepSuccess-CBdsz8MT.js} +29 -33
  256. package/chunk/{StepSuccess-C3xkPK0R.js.map → StepSuccess-CBdsz8MT.js.map} +1 -1
  257. package/chunk/{StepTeacherPersonalInfo-Cd-1RDI8.js → StepTeacherPersonalInfo-60j8F4p1.js} +17 -17
  258. package/chunk/{StepTeacherPersonalInfo-Cd-1RDI8.js.map → StepTeacherPersonalInfo-60j8F4p1.js.map} +1 -1
  259. package/chunk/{StepTeacherPersonalInfo-CfaA5EF-.js → StepTeacherPersonalInfo-BCHnJj4O.js} +17 -17
  260. package/chunk/{StepTeacherPersonalInfo-CfaA5EF-.js.map → StepTeacherPersonalInfo-BCHnJj4O.js.map} +1 -1
  261. package/chunk/StepThirdPartyLoop-BGHCbduX.js +4 -4
  262. package/chunk/StepThirdPartyLoop-ZHByQpHa.js +4 -4
  263. package/chunk/{TeacherSchoolComponent-QMCnfKO6.js → TeacherSchoolComponent-BBl8EFEF.js} +8 -8
  264. package/chunk/{TeacherSchoolComponent-QMCnfKO6.js.map → TeacherSchoolComponent-BBl8EFEF.js.map} +1 -1
  265. package/chunk/{TeacherSchoolComponent-D9WEKaHi.js → TeacherSchoolComponent-en6KtVzc.js} +8 -8
  266. package/chunk/{TeacherSchoolComponent-D9WEKaHi.js.map → TeacherSchoolComponent-en6KtVzc.js.map} +1 -1
  267. package/chunk/TestingRouteOverrides-BGh0Kqkp.js +77 -0
  268. package/chunk/{TestingRouteOverrides-BddK1BnO.js.map → TestingRouteOverrides-BGh0Kqkp.js.map} +1 -1
  269. package/chunk/TestingRouteOverrides-CWSI3tlL.js +81 -0
  270. package/chunk/{TestingRouteOverrides-D2lQ2iql.js.map → TestingRouteOverrides-CWSI3tlL.js.map} +1 -1
  271. package/chunk/ThreatMetrix-D_TbL50B.js +4 -4
  272. package/chunk/{VerificationApiClient-CXH2RHWK.js → VerificationApiClient-CAFyrI7O.js} +110 -103
  273. package/chunk/VerificationApiClient-CAFyrI7O.js.map +1 -0
  274. package/chunk/{VerificationApiClient-BTNoYJ13.js → VerificationApiClient-ClWX625R.js} +169 -162
  275. package/chunk/VerificationApiClient-ClWX625R.js.map +1 -0
  276. package/chunk/{VerificationApiUtils-jjMt3smk.js → VerificationApiUtils-CGXDqW3c.js} +7 -7
  277. package/chunk/{VerificationApiUtils-DEt8hCJB.js.map → VerificationApiUtils-CGXDqW3c.js.map} +1 -1
  278. package/chunk/VerificationApiUtils-Cqrb105H.js +21 -0
  279. package/chunk/{VerificationApiUtils-jjMt3smk.js.map → VerificationApiUtils-Cqrb105H.js.map} +1 -1
  280. package/chunk/ar-oaTqX-Bi.js +4 -4
  281. package/chunk/bg-FRD3ihTE.js +4 -4
  282. package/chunk/bn-IN-Dy8OAkhr.js +4 -4
  283. package/chunk/{countryUtils-D6zs2LHQ.js → countryUtils-1JE4C2YN.js} +5 -5
  284. package/chunk/{countryUtils-D6zs2LHQ.js.map → countryUtils-1JE4C2YN.js.map} +1 -1
  285. package/chunk/countryUtils-DDvwDj32.js +12 -0
  286. package/chunk/{countryUtils-FDuHjQVt.js.map → countryUtils-DDvwDj32.js.map} +1 -1
  287. package/chunk/cs-enxrquzj.js +4 -4
  288. package/chunk/da-xnww0OFf.js +4 -4
  289. package/chunk/de-Bpbr5cGf.js +4 -4
  290. package/chunk/{downshift.esm-BsLBKER5.js → downshift.esm-CD2wa3dL.js} +43 -43
  291. package/chunk/{downshift.esm-BsLBKER5.js.map → downshift.esm-CD2wa3dL.js.map} +1 -1
  292. package/chunk/{downshift.esm-CtV-zKqm.js → downshift.esm-DuUxTaVX.js} +122 -122
  293. package/chunk/{downshift.esm-CtV-zKqm.js.map → downshift.esm-DuUxTaVX.js.map} +1 -1
  294. package/chunk/el-CGE77D1a.js +4 -4
  295. package/chunk/{empties-CUtOn4FK.js → empties-CadVejwz.js} +49 -49
  296. package/chunk/{empties-BE8mPIWm.js.map → empties-CadVejwz.js.map} +1 -1
  297. package/chunk/{empties-BE8mPIWm.js → empties-DPqJljgl.js} +5 -5
  298. package/chunk/{empties-CUtOn4FK.js.map → empties-DPqJljgl.js.map} +1 -1
  299. package/chunk/en-GB-DtYEpdGz.js +4 -4
  300. package/chunk/es-B7Lqo7bY.js +4 -4
  301. package/chunk/es-ES-DMWW2FXA.js +4 -4
  302. package/chunk/et-q5WIKwz8.js +4 -4
  303. package/chunk/eventEmitter-CSG6jR7V.js +4 -4
  304. package/chunk/fa-BsqNfa1o.js +4 -4
  305. package/chunk/fi-CcuqPTQ2.js +4 -4
  306. package/chunk/fr-8Mug3b2y.js +4 -4
  307. package/chunk/fr-CA-DNMuEFMS.js +4 -4
  308. package/chunk/ga-BCyuagqq.js +4 -4
  309. package/chunk/hi-IN-s-W34sti.js +4 -4
  310. package/chunk/hr-B5aHCY4_.js +4 -4
  311. package/chunk/hu-C5qCDre-.js +4 -4
  312. package/chunk/id-B1goA5xk.js +4 -4
  313. package/chunk/{intl-CSRMUNER.js → intl-RejEV_0u.js} +409 -401
  314. package/chunk/intl-RejEV_0u.js.map +1 -0
  315. package/chunk/is-BW-t-Zif.js +4 -4
  316. package/chunk/it-DvCMm2we.js +4 -4
  317. package/chunk/iw-69T_ZKoI.js +4 -4
  318. package/chunk/ja-D-tWJV9S.js +4 -4
  319. package/chunk/{jsx-runtime-Dwjl7cK_.js → jsx-runtime-BzjRi5cY.js} +5 -5
  320. package/chunk/{jsx-runtime-ad-EElqi.js.map → jsx-runtime-BzjRi5cY.js.map} +1 -1
  321. package/chunk/{jsx-runtime-ad-EElqi.js → jsx-runtime-C8rHQFpC.js} +5 -5
  322. package/chunk/{jsx-runtime-Dwjl7cK_.js.map → jsx-runtime-C8rHQFpC.js.map} +1 -1
  323. package/chunk/kk-Cen4nsDW.js +4 -4
  324. package/chunk/ko-CKXa3e4S.js +4 -4
  325. package/chunk/lo-B4V3NOya.js +4 -4
  326. package/chunk/lt-CfHYjV7E.js +4 -4
  327. package/chunk/lv-bF1azTKb.js +4 -4
  328. package/chunk/{militaryStepHelpers-ZTXJBaSu.js → militaryStepHelpers-DIXJbH-e.js} +5 -5
  329. package/chunk/{militaryStepHelpers-7zTr1SAJ.js.map → militaryStepHelpers-DIXJbH-e.js.map} +1 -1
  330. package/chunk/{militaryStepHelpers-7zTr1SAJ.js → militaryStepHelpers-DjUPkHuN.js} +5 -5
  331. package/chunk/{militaryStepHelpers-ZTXJBaSu.js.map → militaryStepHelpers-DjUPkHuN.js.map} +1 -1
  332. package/chunk/{mocks-pQI41mbh.js → mocks-C4r3kSBm.js} +9 -9
  333. package/chunk/{mocks-CqvJ21vO.js.map → mocks-C4r3kSBm.js.map} +1 -1
  334. package/chunk/{mocks-CqvJ21vO.js → mocks-ZRlDr2zp.js} +9 -9
  335. package/chunk/{mocks-pQI41mbh.js.map → mocks-ZRlDr2zp.js.map} +1 -1
  336. package/chunk/ms-DIzxVhax.js +4 -4
  337. package/chunk/nl-BE-BP03y6BO.js +4 -4
  338. package/chunk/nl-DfctTqxe.js +4 -4
  339. package/chunk/no-RQH9Zv2G.js +4 -4
  340. package/chunk/{options-BbtwtZJW.js → options-5u5_TcMp.js} +394 -386
  341. package/chunk/{options-BbtwtZJW.js.map → options-5u5_TcMp.js.map} +1 -1
  342. package/chunk/pl-DbogtaWs.js +4 -4
  343. package/chunk/programThemeGetters-BXh5zb0K.js +165 -0
  344. package/chunk/{programThemeGetters-BntsyO45.js.map → programThemeGetters-BXh5zb0K.js.map} +1 -1
  345. package/chunk/{programThemeGetters-Cs5pPYoq.js → programThemeGetters-D-drBRV1.js} +18 -18
  346. package/chunk/{programThemeGetters-Cs5pPYoq.js.map → programThemeGetters-D-drBRV1.js.map} +1 -1
  347. package/chunk/pt-B2V6YtyG.js +4 -4
  348. package/chunk/pt-BR-CVJoyXno.js +4 -4
  349. package/chunk/{refs-DAyn6DqR.js → refs-BxfzLCJo.js} +5 -5
  350. package/chunk/{refs-DAyn6DqR.js.map → refs-BxfzLCJo.js.map} +1 -1
  351. package/chunk/{refs-jwRCkD4_.js → refs-Dbu3I4qq.js} +5 -5
  352. package/chunk/{refs-jwRCkD4_.js.map → refs-Dbu3I4qq.js.map} +1 -1
  353. package/chunk/ro-FX-D-E91.js +4 -4
  354. package/chunk/ru-DMxlV75G.js +4 -4
  355. package/chunk/sk-CligiCej.js +4 -4
  356. package/chunk/sl-DQanH4Ky.js +4 -4
  357. package/chunk/sr-BZNIdT32.js +4 -4
  358. package/chunk/strings-DWLVdUcm.js +4 -4
  359. package/chunk/sv-BfXPNNfM.js +4 -4
  360. package/chunk/sw-Cw__J23Z.js +4 -4
  361. package/chunk/ta-Chf_KWJv.js +4 -4
  362. package/chunk/th-BC7lSeIN.js +4 -4
  363. package/chunk/tl-BIXqJsLl.js +4 -4
  364. package/chunk/tr-C_V4PV3Q.js +4 -4
  365. package/chunk/uk-ebwNkDb6.js +4 -4
  366. package/chunk/ur-BbRoatfN.js +4 -4
  367. package/chunk/{useCollectFieldsEndpoint-T8xZdFDS.js → useCollectFieldsEndpoint-7AsHsqB8.js} +11 -11
  368. package/chunk/{useCollectFieldsEndpoint-DGhrHYA3.js.map → useCollectFieldsEndpoint-7AsHsqB8.js.map} +1 -1
  369. package/chunk/{useCollectFieldsEndpoint-DGhrHYA3.js → useCollectFieldsEndpoint-Ce2HnQ3I.js} +12 -12
  370. package/chunk/{useCollectFieldsEndpoint-T8xZdFDS.js.map → useCollectFieldsEndpoint-Ce2HnQ3I.js.map} +1 -1
  371. package/chunk/{useMetrics-Dq3FoQl7.js → useMetrics-CLtxtSUO.js} +7 -11
  372. package/chunk/{useMetrics-CNgGT8bK.js.map → useMetrics-CLtxtSUO.js.map} +1 -1
  373. package/chunk/{useMetrics-CNgGT8bK.js → useMetrics-CnnipBHm.js} +11 -7
  374. package/chunk/{useMetrics-Dq3FoQl7.js.map → useMetrics-CnnipBHm.js.map} +1 -1
  375. package/chunk/{validators-D7nh3NtK.js → validators-BTSkTV2f.js} +288 -288
  376. package/chunk/{validators-BCgU1EZZ.js.map → validators-BTSkTV2f.js.map} +1 -1
  377. package/chunk/{validators-BCgU1EZZ.js → validators-Bs1tWRSl.js} +86 -86
  378. package/chunk/{validators-D7nh3NtK.js.map → validators-Bs1tWRSl.js.map} +1 -1
  379. package/chunk/vi-B3RXegfW.js +4 -4
  380. package/chunk/zh-CD_hFClw.js +4 -4
  381. package/chunk/zh-HK-CGOvOtYE.js +4 -4
  382. package/chunk/zu-BMx7nUPZ.js +4 -4
  383. package/package.json +3 -2
  384. package/sheerid-install.css +4 -4
  385. package/sheerid-install.js +4 -4
  386. package/sheerid.css +4 -4
  387. package/sheerid.js +1427 -1400
  388. package/sheerid.js.map +1 -1
  389. package/chunk/CountryComponentWrapper-DKuB4eQA.js +0 -74
  390. package/chunk/FormFooterComponent-Cgu8_872.js.map +0 -1
  391. package/chunk/FormFooterComponent-DB0-FOF0.js.map +0 -1
  392. package/chunk/StepCollectMilitaryStatusComponent-BLY_y2Bh.js +0 -9
  393. package/chunk/TestingRouteOverrides-BddK1BnO.js +0 -77
  394. package/chunk/TestingRouteOverrides-D2lQ2iql.js +0 -81
  395. package/chunk/VerificationApiClient-BTNoYJ13.js.map +0 -1
  396. package/chunk/VerificationApiClient-CXH2RHWK.js.map +0 -1
  397. package/chunk/VerificationApiUtils-DEt8hCJB.js +0 -21
  398. package/chunk/countryUtils-FDuHjQVt.js +0 -12
  399. package/chunk/intl-CSRMUNER.js.map +0 -1
  400. package/chunk/programThemeGetters-BntsyO45.js +0 -165
@@ -1,44 +1,44 @@
1
1
 
2
2
  /**
3
- * VERSION: 2.262.0-alpha.3
4
- * BUILD_TIMESTAMP: 1785444444877
5
- * BUILD_DATE: Thu Jul 30 2026 20:47:24 GMT+0000 (Coordinated Universal Time)
6
- * BUILD_COMMIT: 572623f7bc6b5a1e30face657957b5ba18222d0c
3
+ * VERSION: 2.263.0-alpha.0
4
+ * BUILD_TIMESTAMP: 1785516877881
5
+ * BUILD_DATE: Fri Jul 31 2026 16:54:37 GMT+0000 (Coordinated Universal Time)
6
+ * BUILD_COMMIT: d0963a317ee7ec7a22ae43d6645248a7bac89b11
7
7
  */
8
- import { Gt as e, It as t, Vt as n, c as r, n as i, wt as a } from "./options-BbtwtZJW.js";
9
- import { a as o, c as s, n as c, t as l } from "./jsx-runtime-Dwjl7cK_.js";
10
- import { x as u } from "./FormFooterComponent-Cgu8_872.js";
11
- import { a as d } from "./refs-jwRCkD4_.js";
8
+ import { Ht as e, Kt as t, Lt as n, Tt as r, c as i, n as a } from "./options-5u5_TcMp.js";
9
+ import { a as o, c as s, n as c, t as l } from "./jsx-runtime-BzjRi5cY.js";
10
+ import { C as u } from "./FormFooterComponent-hQ9YVK_9.js";
11
+ import { a as d } from "./refs-Dbu3I4qq.js";
12
12
  import { G as f, I as p, K as m, L as h, V as g, et as _, r as v, tt as y } from "../sheerid.js";
13
- import { t as b } from "./VerificationApiUtils-DEt8hCJB.js";
14
- import { a as x, i as S, n as C, o as w, s as T, t as E } from "./CaptchaComponent-Eh4up7Aj.js";
15
- import { n as D, t as O } from "./PersonalInfoStepSubmitButton-DuUlUXYD.js";
16
- import { t as k } from "./BirthDateComponent-DW-1r_MV.js";
17
- import { t as A } from "./PostalCodeComponent-BByC-zpa.js";
18
- import { t as j } from "./CountryComponentWrapper-DKuB4eQA.js";
19
- import { t as M } from "./City-B2YRxbl9.js";
20
- import { t as N } from "./AddressComponent-BEOTwoo8.js";
21
- import { t as P } from "./ExtraMessage-BppIwzQ5.js";
22
- import { t as F } from "./ChangeLocaleComponent-CiTWGwun.js";
23
- import { t as I } from "./PersonalInfoStepWrapper-D3KT38ON.js";
24
- import { t as L } from "./StateSelectComponent-M54AviWD.js";
25
- import { n as R, r as z, t as B } from "./DischargeDateComponent-02d47HpL.js";
26
- import { t as V } from "./StatusComponent-DPhnz8ZI.js";
27
- import { t as H } from "./militaryStepHelpers-ZTXJBaSu.js";
13
+ import { t as b } from "./VerificationApiUtils-Cqrb105H.js";
14
+ import { a as x, i as S, n as C, o as w, s as T, t as E } from "./CaptchaComponent-D5Dv1noI.js";
15
+ import { n as D, t as O } from "./PersonalInfoStepSubmitButton-IMW1ww2e.js";
16
+ import { t as k } from "./BirthDateComponent-CPX6e-oS.js";
17
+ import { t as A } from "./PostalCodeComponent-BDFy_9yi.js";
18
+ import { t as j } from "./CountryComponentWrapper-CLGBVkRB.js";
19
+ import { t as M } from "./City-CLyjXYQj.js";
20
+ import { t as N } from "./AddressComponent-D9R5iYEq.js";
21
+ import { t as P } from "./ExtraMessage-UbmnijRM.js";
22
+ import { t as F } from "./ChangeLocaleComponent-B8O2m2HE.js";
23
+ import { t as I } from "./PersonalInfoStepWrapper-DwvV4VsT.js";
24
+ import { t as L } from "./StateSelectComponent-CN7u7Z5P.js";
25
+ import { n as R, r as z, t as B } from "./DischargeDateComponent-S0alvYUT.js";
26
+ import { t as V } from "./StatusComponent-BLbeJdVB.js";
27
+ import { t as H } from "./militaryStepHelpers-DIXJbH-e.js";
28
28
  //#region src/components/StepMilitaryPersonalInfo/StepInactiveMilitaryPersonalInfoComponent.tsx
29
- var U = /* @__PURE__ */ e(s(), 1), W = l(), G = ({ intl: e, verificationService: o }) => {
30
- let s = o.viewModel, l = o.previousViewModel, { fieldValidationErrors: G } = o, K = o.verificationResponse, q = u(K), [J, Y] = U.useState([]), X = p(o, e), Z = s.localeChoice.value, Q = i(), $ = (e, t) => {
29
+ var U = /* @__PURE__ */ t(s(), 1), W = l(), G = ({ intl: t, verificationService: o }) => {
30
+ let s = o.viewModel, l = o.previousViewModel, { fieldValidationErrors: G } = o, K = o.verificationResponse, q = u(K), [J, Y] = U.useState([]), X = p(o, t), Z = s.localeChoice.value, Q = a(), $ = (e, t) => {
31
31
  o.updateViewModel(H(e, t, o, X));
32
32
  };
33
- return (s.status && l && l.status !== s.status || s.status && o.verificationResponse.currentStep === t.collectMilitaryStatus) && (() => {
34
- let e = r(s, () => {});
35
- n.info("StepMilitaryStatusComponent submitting form"), o.submitStep(t.collectMilitaryStatus, e, o.previousVerificationResponse || o.verificationResponse);
33
+ return (s.status && l && l.status !== s.status || s.status && o.verificationResponse.currentStep === n.collectMilitaryStatus) && (() => {
34
+ let t = i(s, () => {});
35
+ e.info("StepMilitaryStatusComponent submitting form"), o.submitStep(n.collectMilitaryStatus, t, o.previousVerificationResponse || o.verificationResponse);
36
36
  })(), U.useEffect(() => {
37
37
  (async () => {
38
- if (o.verificationResponse.currentStep === t.collectInactiveMilitaryPersonalInfo && s.countryChoice?.value === "US") try {
39
- Y((await b(K.verificationId, t.collectInactiveMilitaryPersonalInfo, s))?.fieldsToCollect?.optional?.map((e) => e.key));
40
- } catch (e) {
41
- n.error(`Failed to determine fields to collect: ${e}`, t.collectInactiveMilitaryPersonalInfo);
38
+ if (o.verificationResponse.currentStep === n.collectInactiveMilitaryPersonalInfo && s.countryChoice?.value === "US") try {
39
+ Y((await b(K.verificationId, n.collectInactiveMilitaryPersonalInfo, s))?.fieldsToCollect?.optional?.map((e) => e.key));
40
+ } catch (t) {
41
+ e.error(`Failed to determine fields to collect: ${t}`, n.collectInactiveMilitaryPersonalInfo);
42
42
  }
43
43
  })();
44
44
  }, [o.verificationResponse.currentStep, s.countryChoice]), U.useEffect(() => {
@@ -60,7 +60,7 @@ var U = /* @__PURE__ */ e(s(), 1), W = l(), G = ({ intl: e, verificationService:
60
60
  segmentId: "military",
61
61
  value: {
62
62
  value: s.status,
63
- label: f(e, s.status, a)
63
+ label: f(t, s.status, r)
64
64
  },
65
65
  isErrored: !!G.status,
66
66
  errorId: "invalidMilitaryStatus",
@@ -172,7 +172,7 @@ var U = /* @__PURE__ */ e(s(), 1), W = l(), G = ({ intl: e, verificationService:
172
172
  isRequired: g("city")?.requireIfOptional
173
173
  }),
174
174
  J.includes("state") && /* @__PURE__ */ (0, W.jsx)(L, {
175
- options: h(o.programTheme, e),
175
+ options: h(o.programTheme, t),
176
176
  value: s.state || void 0,
177
177
  isErrored: !!G.state,
178
178
  onChange: async (e) => {
@@ -220,7 +220,7 @@ var U = /* @__PURE__ */ e(s(), 1), W = l(), G = ({ intl: e, verificationService:
220
220
  isErrored: !!G.captchaToken
221
221
  }),
222
222
  /* @__PURE__ */ (0, W.jsx)(O, {
223
- step: t.collectInactiveMilitaryPersonalInfo,
223
+ step: n.collectInactiveMilitaryPersonalInfo,
224
224
  verificationService: o,
225
225
  viewModel: s,
226
226
  failedInstantMatch: q,
@@ -1 +1 @@
1
- {"version":3,"file":"StepInactiveMilitaryPersonalInfoComponent-CZNK0Ym-.js","names":[],"sources":["../../src/components/StepMilitaryPersonalInfo/StepInactiveMilitaryPersonalInfoComponent.tsx"],"sourcesContent":["/* eslint-disable */\n/**\n * TODO - preamble\n */\nimport React from \"react\";\nimport { FormattedHTMLMessage, injectIntl } from \"react-intl\";\nimport { produce } from \"immer\";\n\nimport {\n VerificationStepsEnum,\n MilitaryStatusDefaultMessagesEnum,\n} from \"../../lib/types/runtimeTypes\";\nimport { hasFailedInstantMatch } from \"../../lib/VerificationService/VerificationServiceHelpers\";\nimport { resetRefs } from \"../../lib/refs/refs\";\nimport { logger } from \"@jslib/shared/utils/logger\";\nimport {\n VerificationService,\n FormSelectChoice,\n Organization,\n InactiveMilitaryPersonalInfoViewModel,\n InactiveMilitaryPersonalInfoResponse,\n CustomFormFieldConfig,\n CollectFieldsResponse,\n State,\n} from \"../../lib/types/types\";\nimport {\n handleEmailOnKeyDown,\n updateFieldValidationErrorsByFieldId,\n updateViewModelOrganization,\n getAvailableMilitaryStatuses,\n getStatusLabel,\n getAvailableStateChoices,\n getFieldConfigByFieldId,\n} from \"../../lib/utils/stepComponentHelpers/stepComponentHelpers\";\n\nimport { PhoneNumberComponent as PhoneNumber } from \"../FormFields/PhoneNumber/PhoneNumberComponent\";\nimport { FirstNameComponent as FirstName } from \"../FormFields/FirstName/FirstNameComponent\";\nimport { LastNameComponent as LastName } from \"../FormFields/LastName/LastNameComponent\";\nimport { EmailComponent as Email } from \"../FormFields/Email/EmailComponent\";\nimport { BirthDateComponent as BirthDate } from \"../FormFields/BirthDate/BirthDateComponent\";\nimport { StatusComponent as MilitaryStatus } from \"../FormFields/Status/StatusComponent\";\nimport { BranchOfServiceComponent as BranchOfService } from \"../FormFields/BranchOfService/BranchOfServiceComponent\";\nimport { DischargeDateComponent as DischargeDate } from \"../FormFields/DischargeDate/DischargeDateComponent\";\nimport { MarketConsentWrapperComponent as MarketConsentWrapper } from \"../FormFields/MarketConsentWrapper/MarketConsentWrapperComponent\";\nimport { CountryComponentWrapper } from \"../FormFields/Country/CountryComponentWrapper\";\nimport { updateMilitaryViewModel } from \"./militaryStepHelpers\";\n\nimport { FormFieldCustom } from \"../FormFields/FormFieldCustom/FormFieldCustom\";\nimport { getOptions } from \"../../options/options\";\nimport { ExtraMessage } from \"../ExtraMessage\";\nimport { ChangeLocaleV2Component } from \"../FormFields/ChangeLocale/ChangeLocaleComponent\";\nimport { ActiveDutyStartDateComponent } from \"../FormFields/ActiveDutyStartDate/ActiveDutyStartDateComponent\";\nimport { PersonalInfoWrapper } from \"../PersonalInfoStepWrapper/PersonalInfoStepWrapper\";\nimport { PersonalInfoStepSubmitButton } from \"../PersonalInfoStepSubmitButton/PersonalInfoStepSubmitButton\";\nimport { CityComponent } from \"../FormFields/City/City\";\nimport { AddressComponent } from \"../FormFields/Address/AddressComponent\";\nimport { PostalCodeComponent } from \"../FormFields/PostalCode/PostalCodeComponent\";\nimport { StateSelectComponent } from \"../FormFields/State/StateSelectComponent\";\nimport { getFieldsToCollect } from \"../../lib/ServerApi/VerificationApiUtils\";\nimport { PersonalInfoHeader } from \"../FormHeader/StepHeaders/PersonalInfoHeaderComponent\";\nimport { CaptchaComponent } from \"../FormFields/Captcha/CaptchaComponent\";\n\ninterface StepInactiveMilitaryPersonalInfoComponentProps {\n intl: any;\n verificationService: VerificationService;\n}\n\nexport const StepInactiveMilitaryPersonalInfo = ({\n intl,\n verificationService,\n}: StepInactiveMilitaryPersonalInfoComponentProps) => {\n const viewModel = verificationService.viewModel as InactiveMilitaryPersonalInfoViewModel;\n const previousViewModel =\n verificationService.previousViewModel as InactiveMilitaryPersonalInfoViewModel;\n const { fieldValidationErrors } = verificationService;\n const verificationResponse =\n verificationService.verificationResponse as InactiveMilitaryPersonalInfoResponse;\n const failedInstantMatch = hasFailedInstantMatch(verificationResponse);\n const [optionalFields, setOptionalFields] = React.useState([]);\n const availableStatuses = getAvailableMilitaryStatuses(verificationService, intl);\n const locale = viewModel.localeChoice.value;\n const options = getOptions();\n\n const updateInactiveMilitaryViewModel = (\n key: keyof InactiveMilitaryPersonalInfoViewModel,\n value: any,\n ) => {\n verificationService.updateViewModel(\n updateMilitaryViewModel(key, value, verificationService, availableStatuses),\n );\n };\n\n const submitStep = () => {\n const nextState = produce(viewModel, () => {});\n logger.info(\"StepMilitaryStatusComponent submitting form\");\n verificationService.submitStep(\n VerificationStepsEnum.collectMilitaryStatus,\n nextState,\n verificationService.previousVerificationResponse || verificationService.verificationResponse,\n );\n };\n\n if (\n (viewModel.status && previousViewModel && previousViewModel.status !== viewModel.status) ||\n (viewModel.status &&\n verificationService.verificationResponse.currentStep ===\n VerificationStepsEnum.collectMilitaryStatus)\n ) {\n submitStep();\n }\n\n React.useEffect(() => {\n (async () => {\n if (\n verificationService.verificationResponse.currentStep ===\n VerificationStepsEnum.collectInactiveMilitaryPersonalInfo &&\n viewModel.countryChoice?.value === \"US\"\n ) {\n try {\n const collectFieldsResponse: CollectFieldsResponse = await getFieldsToCollect(\n verificationResponse.verificationId,\n VerificationStepsEnum.collectInactiveMilitaryPersonalInfo,\n viewModel,\n );\n\n setOptionalFields(collectFieldsResponse?.fieldsToCollect?.optional?.map((f) => f.key));\n } catch (error) {\n logger.error(\n `Failed to determine fields to collect: ${error}`,\n VerificationStepsEnum.collectInactiveMilitaryPersonalInfo,\n );\n }\n }\n })();\n }, [verificationService.verificationResponse.currentStep, viewModel.countryChoice]);\n\n React.useEffect(() => {\n if (viewModel.countryChoice?.value !== \"US\") {\n setOptionalFields([]);\n }\n }, [viewModel.countryChoice]);\n\n // Refs should be reset to ensure the field order isn't affected by the previous step\n resetRefs();\n\n return (\n <PersonalInfoWrapper\n verificationService={verificationService}\n step={verificationResponse.currentStep}\n className=\"sid-military-personal-info-container\"\n >\n <PersonalInfoHeader\n verificationService={verificationService}\n classNameIdentifier=\"inactive-military-personal-info\"\n />\n\n <>\n <ChangeLocaleV2Component verificationService={verificationService} />\n <CountryComponentWrapper\n verificationService={verificationService}\n disabled={getFieldConfigByFieldId(\"country\")?.disabled}\n />\n {availableStatuses ? (\n <MilitaryStatus\n segmentId=\"military\"\n value={{\n value: viewModel.status,\n label: getStatusLabel(intl, viewModel.status, MilitaryStatusDefaultMessagesEnum),\n }}\n isErrored={!!fieldValidationErrors.status}\n errorId=\"invalidMilitaryStatus\"\n options={availableStatuses}\n disabled={getFieldConfigByFieldId(\"status\")?.disabled}\n onChange={(status: FormSelectChoice) => {\n updateInactiveMilitaryViewModel(\"status\", status ? (status.value as string) : \"\");\n updateFieldValidationErrorsByFieldId(\n \"status\",\n status ? (status.value as string) : \"\",\n verificationService,\n );\n }}\n />\n ) : null}\n\n <BranchOfService\n isErrored={!!fieldValidationErrors.organization}\n onChange={(choice: Organization) => {\n updateViewModelOrganization(choice, verificationService);\n updateFieldValidationErrorsByFieldId(\"organization\", choice, verificationService);\n }}\n value={{\n value: (verificationService.viewModel as InactiveMilitaryPersonalInfoViewModel)\n .organization.id,\n label: (verificationService.viewModel as InactiveMilitaryPersonalInfoViewModel)\n .organization.name,\n }}\n verificationService={verificationService}\n disabled={getFieldConfigByFieldId(\"organization\")?.disabled}\n />\n\n <div className=\"sid-names\">\n <FirstName\n value={viewModel.firstName}\n isErrored={!!fieldValidationErrors.firstName}\n disabled={getFieldConfigByFieldId(\"firstName\")?.disabled}\n onChange={(newValue) => {\n updateInactiveMilitaryViewModel(\"firstName\", newValue);\n updateFieldValidationErrorsByFieldId(\"firstName\", newValue, verificationService);\n }}\n />\n\n <LastName\n value={viewModel.lastName}\n isErrored={!!fieldValidationErrors.lastName}\n disabled={getFieldConfigByFieldId(\"lastName\")?.disabled}\n onChange={(newValue) => {\n updateInactiveMilitaryViewModel(\"lastName\", newValue);\n updateFieldValidationErrorsByFieldId(\"lastName\", newValue, verificationService);\n }}\n />\n </div>\n\n <BirthDate\n errorId={fieldValidationErrors.birthDate}\n locale={locale}\n onChange={(newValue) => {\n updateInactiveMilitaryViewModel(\"birthDate\", newValue);\n updateFieldValidationErrorsByFieldId(\"birthDate\", newValue, verificationService);\n }}\n value={viewModel.birthDate}\n disabled={getFieldConfigByFieldId(\"birthDate\")?.disabled}\n />\n\n {verificationService.programTheme.strictMilitaryValidationEnabled && (\n <ActiveDutyStartDateComponent\n errorId={fieldValidationErrors.activeDutyStartDate}\n locale={locale}\n onChange={(newValue) => {\n updateInactiveMilitaryViewModel(\"activeDutyStartDate\", newValue);\n updateFieldValidationErrorsByFieldId(\n \"activeDutyStartDate\",\n newValue,\n verificationService,\n );\n }}\n value={viewModel.activeDutyStartDate}\n disabled={getFieldConfigByFieldId(\"activeDutyStartDate\")?.disabled}\n />\n )}\n\n <DischargeDate\n mode={\n !!verificationService.programTheme.transitionalMilitaryValidityDays ? \"date\" : \"month\"\n }\n errorId={fieldValidationErrors.dischargeDate}\n onChange={(newValue) => {\n updateInactiveMilitaryViewModel(\"dischargeDate\", newValue);\n updateFieldValidationErrorsByFieldId(\"dischargeDate\", newValue, verificationService);\n }}\n value={viewModel.dischargeDate}\n locale={locale}\n disabled={getFieldConfigByFieldId(\"dischargeDate\")?.disabled}\n />\n <Email\n value={viewModel.email}\n isErrored={!!fieldValidationErrors.email}\n explanation={\n <FormattedHTMLMessage\n id=\"emailExplanation\"\n defaultMessage=\"Personal email address is recommended\"\n />\n }\n onChange={(newValue) => {\n updateInactiveMilitaryViewModel(\"email\", newValue);\n updateFieldValidationErrorsByFieldId(\"email\", newValue, verificationService);\n }}\n onKeyDown={(event) => handleEmailOnKeyDown(event)}\n disabled={getFieldConfigByFieldId(\"email\")?.disabled}\n />\n {verificationService.programTheme.isSmsNotifierConfigured ||\n verificationService.programTheme.smsLoopEnabled ? (\n <PhoneNumber\n isRequired={!!verificationService.programTheme.smsLoopEnabled}\n value={viewModel.phoneNumber}\n isErrored={!!fieldValidationErrors.phoneNumber}\n onChange={(newValue) => {\n updateInactiveMilitaryViewModel(\"phoneNumber\", newValue);\n updateFieldValidationErrorsByFieldId(\"phoneNumber\", newValue, verificationService);\n }}\n selectedCountryCode={viewModel.countryChoice && viewModel.countryChoice.value}\n disabled={getFieldConfigByFieldId(\"phoneNumber\")?.disabled}\n />\n ) : null}\n\n {optionalFields.includes(\"address1\") && (\n <AddressComponent\n value={viewModel.address1}\n isErrored={!!fieldValidationErrors.address1}\n errorId={fieldValidationErrors.address1}\n disabled={getFieldConfigByFieldId(\"address1\")?.disabled}\n onChange={(value) => {\n updateInactiveMilitaryViewModel(\"address1\", value);\n updateFieldValidationErrorsByFieldId(\"address1\", value, verificationService);\n }}\n isRequired={getFieldConfigByFieldId(\"address1\")?.requireIfOptional}\n />\n )}\n {optionalFields.includes(\"city\") && (\n <CityComponent\n value={viewModel.city}\n isErrored={!!fieldValidationErrors.city}\n errorId={fieldValidationErrors.city}\n disabled={getFieldConfigByFieldId(\"city\")?.disabled}\n onChange={(value) => {\n updateInactiveMilitaryViewModel(\"city\", value);\n updateFieldValidationErrorsByFieldId(\"city\", value, verificationService);\n }}\n isRequired={getFieldConfigByFieldId(\"city\")?.requireIfOptional}\n />\n )}\n {optionalFields.includes(\"state\") && (\n <StateSelectComponent\n options={getAvailableStateChoices(verificationService.programTheme, intl)}\n value={viewModel.state || undefined}\n isErrored={Boolean(fieldValidationErrors.state)}\n onChange={async (stateChoice: FormSelectChoice<State, string>) => {\n const stateValue = stateChoice ? stateChoice.value : undefined;\n updateInactiveMilitaryViewModel(\"state\", stateValue);\n updateFieldValidationErrorsByFieldId(\"state\", stateValue, verificationService);\n }}\n label={<FormattedHTMLMessage id=\"state\" defaultMessage=\"State\" />}\n disabled={getFieldConfigByFieldId(\"state\")?.disabled}\n isRequired={getFieldConfigByFieldId(\"state\")?.requireIfOptional}\n />\n )}\n {optionalFields.includes(\"postalCode\") && (\n <PostalCodeComponent\n required={getFieldConfigByFieldId(\"postalCode\")?.requireIfOptional}\n isErrored={!!fieldValidationErrors.postalCode}\n onChange={(newValue) => {\n updateInactiveMilitaryViewModel(\"postalCode\", newValue);\n updateFieldValidationErrorsByFieldId(\"postalCode\", newValue, verificationService);\n }}\n value={viewModel.postalCode}\n disabled={getFieldConfigByFieldId(\"postalCode\")?.disabled}\n />\n )}\n\n {options.customFormFields.map((config: CustomFormFieldConfig) => (\n <FormFieldCustom config={config} verificationService={verificationService} />\n ))}\n\n <MarketConsentWrapper\n verificationService={verificationService}\n isErrored={!!fieldValidationErrors.marketConsentValue}\n onChange={(newValue) => {\n updateInactiveMilitaryViewModel(\"metadata\", {\n ...verificationService.viewModel.metadata,\n marketConsentValue: newValue,\n });\n updateFieldValidationErrorsByFieldId(\n \"marketConsentValue\",\n newValue,\n verificationService,\n );\n }}\n viewModel={viewModel}\n disabled={getFieldConfigByFieldId(\"marketConsentValue\")?.disabled}\n />\n\n <ExtraMessage verificationService={verificationService} suffix=\"CollectAboveSubmit\" />\n\n <CaptchaComponent\n verificationService={verificationService}\n isErrored={!!fieldValidationErrors.captchaToken}\n />\n\n <PersonalInfoStepSubmitButton\n step={VerificationStepsEnum.collectInactiveMilitaryPersonalInfo}\n verificationService={verificationService}\n viewModel={viewModel}\n failedInstantMatch={failedInstantMatch}\n buttonText={\n <FormattedHTMLMessage\n id=\"step.personalInfo.submitButtonText\"\n defaultMessage=\"Verify My Military Status\"\n />\n }\n />\n </>\n </PersonalInfoWrapper>\n );\n};\n\nexport const StepInactiveMilitaryPersonalInfoComponent = injectIntl(\n StepInactiveMilitaryPersonalInfo,\n);\nexport default StepInactiveMilitaryPersonalInfoComponent;\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;4CAmEa,KAAoC,EAC/C,SACA,6BACoD;CACpD,IAAM,IAAY,EAAoB,WAChC,IACJ,EAAoB,mBAChB,EAAE,6BAA0B,GAC5B,IACJ,EAAoB,sBAChB,IAAqB,EAAsB,CAAoB,GAC/D,CAAC,GAAgB,KAAA,EAA2B,SAAS,CAAC,CAAC,GACvD,IAAoB,EAA6B,GAAqB,CAAI,GAC1E,IAAS,EAAU,aAAa,OAChC,IAAU,EAAW,GAErB,KACJ,GACA,MACG;EACH,EAAoB,gBAClB,EAAwB,GAAK,GAAO,GAAqB,CAAiB,CAC5E;CACF;CAuDA,QA1CG,EAAU,UAAU,KAAqB,EAAkB,WAAW,EAAU,UAChF,EAAU,UACT,EAAoB,qBAAqB,gBACvC,EAAsB,iCAdH;EACvB,IAAM,IAAY,EAAQ,SAAiB,CAAC,CAAC;EAE7C,AADA,EAAO,KAAK,6CAA6C,GACzD,EAAoB,WAClB,EAAsB,uBACtB,GACA,EAAoB,gCAAgC,EAAoB,oBAC1E;CACF,GAQa,GAGb,EAAM,gBAAgB;EACpB,CAAC,YAAY;GACX,IACE,EAAoB,qBAAqB,gBACvC,EAAsB,uCACxB,E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ED,iBAAA,GAAA,EAAA,KAAC,GAAD;IAAmC;IAAqB,QAAO;GAAsB,CAAA;GAErF,iBAAA,GAAA,EAAA,KAAC,GAAD;IACuB;IACrB,WAAW,CAAC,CAAC,EAAsB;GACpC,CAAA;GAED,iBAAA,GAAA,EAAA,KAAC,GAAD;IACE,MAAM,EAAsB;IACP;IACV;IACS;IACpB,YACE,iBAAA,GAAA,EAAA,KAAC,GAAD;KACE,IAAG;KACH,gBAAe;IAChB,CAAA;GAEJ,CAAA;EACD,EAAA,CAAA,CACiB;;AAEzB,GAEa,IAA4C,EACvD,CACF"}
1
+ {"version":3,"file":"StepInactiveMilitaryPersonalInfoComponent-DCG2AMPg.js","names":[],"sources":["../../src/components/StepMilitaryPersonalInfo/StepInactiveMilitaryPersonalInfoComponent.tsx"],"sourcesContent":["/* eslint-disable */\n/**\n * TODO - preamble\n */\nimport React from \"react\";\nimport { FormattedHTMLMessage, injectIntl } from \"react-intl\";\nimport { produce } from \"immer\";\n\nimport {\n VerificationStepsEnum,\n MilitaryStatusDefaultMessagesEnum,\n} from \"../../lib/types/runtimeTypes\";\nimport { hasFailedInstantMatch } from \"../../lib/VerificationService/VerificationServiceHelpers\";\nimport { resetRefs } from \"../../lib/refs/refs\";\nimport { logger } from \"@jslib/shared/utils/logger\";\nimport {\n VerificationService,\n FormSelectChoice,\n Organization,\n InactiveMilitaryPersonalInfoViewModel,\n InactiveMilitaryPersonalInfoResponse,\n CustomFormFieldConfig,\n CollectFieldsResponse,\n State,\n} from \"../../lib/types/types\";\nimport {\n handleEmailOnKeyDown,\n updateFieldValidationErrorsByFieldId,\n updateViewModelOrganization,\n getAvailableMilitaryStatuses,\n getStatusLabel,\n getAvailableStateChoices,\n getFieldConfigByFieldId,\n} from \"../../lib/utils/stepComponentHelpers/stepComponentHelpers\";\n\nimport { PhoneNumberComponent as PhoneNumber } from \"../FormFields/PhoneNumber/PhoneNumberComponent\";\nimport { FirstNameComponent as FirstName } from \"../FormFields/FirstName/FirstNameComponent\";\nimport { LastNameComponent as LastName } from \"../FormFields/LastName/LastNameComponent\";\nimport { EmailComponent as Email } from \"../FormFields/Email/EmailComponent\";\nimport { BirthDateComponent as BirthDate } from \"../FormFields/BirthDate/BirthDateComponent\";\nimport { StatusComponent as MilitaryStatus } from \"../FormFields/Status/StatusComponent\";\nimport { BranchOfServiceComponent as BranchOfService } from \"../FormFields/BranchOfService/BranchOfServiceComponent\";\nimport { DischargeDateComponent as DischargeDate } from \"../FormFields/DischargeDate/DischargeDateComponent\";\nimport { MarketConsentWrapperComponent as MarketConsentWrapper } from \"../FormFields/MarketConsentWrapper/MarketConsentWrapperComponent\";\nimport { CountryComponentWrapper } from \"../FormFields/Country/CountryComponentWrapper\";\nimport { updateMilitaryViewModel } from \"./militaryStepHelpers\";\n\nimport { FormFieldCustom } from \"../FormFields/FormFieldCustom/FormFieldCustom\";\nimport { getOptions } from \"../../options/options\";\nimport { ExtraMessage } from \"../ExtraMessage\";\nimport { ChangeLocaleV2Component } from \"../FormFields/ChangeLocale/ChangeLocaleComponent\";\nimport { ActiveDutyStartDateComponent } from \"../FormFields/ActiveDutyStartDate/ActiveDutyStartDateComponent\";\nimport { PersonalInfoWrapper } from \"../PersonalInfoStepWrapper/PersonalInfoStepWrapper\";\nimport { PersonalInfoStepSubmitButton } from \"../PersonalInfoStepSubmitButton/PersonalInfoStepSubmitButton\";\nimport { CityComponent } from \"../FormFields/City/City\";\nimport { AddressComponent } from \"../FormFields/Address/AddressComponent\";\nimport { PostalCodeComponent } from \"../FormFields/PostalCode/PostalCodeComponent\";\nimport { StateSelectComponent } from \"../FormFields/State/StateSelectComponent\";\nimport { getFieldsToCollect } from \"../../lib/ServerApi/VerificationApiUtils\";\nimport { PersonalInfoHeader } from \"../FormHeader/StepHeaders/PersonalInfoHeaderComponent\";\nimport { CaptchaComponent } from \"../FormFields/Captcha/CaptchaComponent\";\n\ninterface StepInactiveMilitaryPersonalInfoComponentProps {\n intl: any;\n verificationService: VerificationService;\n}\n\nexport const StepInactiveMilitaryPersonalInfo = ({\n intl,\n verificationService,\n}: StepInactiveMilitaryPersonalInfoComponentProps) => {\n const viewModel = verificationService.viewModel as InactiveMilitaryPersonalInfoViewModel;\n const previousViewModel =\n verificationService.previousViewModel as InactiveMilitaryPersonalInfoViewModel;\n const { fieldValidationErrors } = verificationService;\n const verificationResponse =\n verificationService.verificationResponse as InactiveMilitaryPersonalInfoResponse;\n const failedInstantMatch = hasFailedInstantMatch(verificationResponse);\n const [optionalFields, setOptionalFields] = React.useState([]);\n const availableStatuses = getAvailableMilitaryStatuses(verificationService, intl);\n const locale = viewModel.localeChoice.value;\n const options = getOptions();\n\n const updateInactiveMilitaryViewModel = (\n key: keyof InactiveMilitaryPersonalInfoViewModel,\n value: any,\n ) => {\n verificationService.updateViewModel(\n updateMilitaryViewModel(key, value, verificationService, availableStatuses),\n );\n };\n\n const submitStep = () => {\n const nextState = produce(viewModel, () => {});\n logger.info(\"StepMilitaryStatusComponent submitting form\");\n verificationService.submitStep(\n VerificationStepsEnum.collectMilitaryStatus,\n nextState,\n verificationService.previousVerificationResponse || verificationService.verificationResponse,\n );\n };\n\n if (\n (viewModel.status && previousViewModel && previousViewModel.status !== viewModel.status) ||\n (viewModel.status &&\n verificationService.verificationResponse.currentStep ===\n VerificationStepsEnum.collectMilitaryStatus)\n ) {\n submitStep();\n }\n\n React.useEffect(() => {\n (async () => {\n if (\n verificationService.verificationResponse.currentStep ===\n VerificationStepsEnum.collectInactiveMilitaryPersonalInfo &&\n viewModel.countryChoice?.value === \"US\"\n ) {\n try {\n const collectFieldsResponse: CollectFieldsResponse = await getFieldsToCollect(\n verificationResponse.verificationId,\n VerificationStepsEnum.collectInactiveMilitaryPersonalInfo,\n viewModel,\n );\n\n setOptionalFields(collectFieldsResponse?.fieldsToCollect?.optional?.map((f) => f.key));\n } catch (error) {\n logger.error(\n `Failed to determine fields to collect: ${error}`,\n VerificationStepsEnum.collectInactiveMilitaryPersonalInfo,\n );\n }\n }\n })();\n }, [verificationService.verificationResponse.currentStep, viewModel.countryChoice]);\n\n React.useEffect(() => {\n if (viewModel.countryChoice?.value !== \"US\") {\n setOptionalFields([]);\n }\n }, [viewModel.countryChoice]);\n\n // Refs should be reset to ensure the field order isn't affected by the previous step\n resetRefs();\n\n return (\n <PersonalInfoWrapper\n verificationService={verificationService}\n step={verificationResponse.currentStep}\n className=\"sid-military-personal-info-container\"\n >\n <PersonalInfoHeader\n verificationService={verificationService}\n classNameIdentifier=\"inactive-military-personal-info\"\n />\n\n <>\n <ChangeLocaleV2Component verificationService={verificationService} />\n <CountryComponentWrapper\n verificationService={verificationService}\n disabled={getFieldConfigByFieldId(\"country\")?.disabled}\n />\n {availableStatuses ? (\n <MilitaryStatus\n segmentId=\"military\"\n value={{\n value: viewModel.status,\n label: getStatusLabel(intl, viewModel.status, MilitaryStatusDefaultMessagesEnum),\n }}\n isErrored={!!fieldValidationErrors.status}\n errorId=\"invalidMilitaryStatus\"\n options={availableStatuses}\n disabled={getFieldConfigByFieldId(\"status\")?.disabled}\n onChange={(status: FormSelectChoice) => {\n updateInactiveMilitaryViewModel(\"status\", status ? (status.value as string) : \"\");\n updateFieldValidationErrorsByFieldId(\n \"status\",\n status ? (status.value as string) : \"\",\n verificationService,\n );\n }}\n />\n ) : null}\n\n <BranchOfService\n isErrored={!!fieldValidationErrors.organization}\n onChange={(choice: Organization) => {\n updateViewModelOrganization(choice, verificationService);\n updateFieldValidationErrorsByFieldId(\"organization\", choice, verificationService);\n }}\n value={{\n value: (verificationService.viewModel as InactiveMilitaryPersonalInfoViewModel)\n .organization.id,\n label: (verificationService.viewModel as InactiveMilitaryPersonalInfoViewModel)\n .organization.name,\n }}\n verificationService={verificationService}\n disabled={getFieldConfigByFieldId(\"organization\")?.disabled}\n />\n\n <div className=\"sid-names\">\n <FirstName\n value={viewModel.firstName}\n isErrored={!!fieldValidationErrors.firstName}\n disabled={getFieldConfigByFieldId(\"firstName\")?.disabled}\n onChange={(newValue) => {\n updateInactiveMilitaryViewModel(\"firstName\", newValue);\n updateFieldValidationErrorsByFieldId(\"firstName\", newValue, verificationService);\n }}\n />\n\n <LastName\n value={viewModel.lastName}\n isErrored={!!fieldValidationErrors.lastName}\n disabled={getFieldConfigByFieldId(\"lastName\")?.disabled}\n onChange={(newValue) => {\n updateInactiveMilitaryViewModel(\"lastName\", newValue);\n updateFieldValidationErrorsByFieldId(\"lastName\", newValue, verificationService);\n }}\n />\n </div>\n\n <BirthDate\n errorId={fieldValidationErrors.birthDate}\n locale={locale}\n onChange={(newValue) => {\n updateInactiveMilitaryViewModel(\"birthDate\", newValue);\n updateFieldValidationErrorsByFieldId(\"birthDate\", newValue, verificationService);\n }}\n value={viewModel.birthDate}\n disabled={getFieldConfigByFieldId(\"birthDate\")?.disabled}\n />\n\n {verificationService.programTheme.strictMilitaryValidationEnabled && (\n <ActiveDutyStartDateComponent\n errorId={fieldValidationErrors.activeDutyStartDate}\n locale={locale}\n onChange={(newValue) => {\n updateInactiveMilitaryViewModel(\"activeDutyStartDate\", newValue);\n updateFieldValidationErrorsByFieldId(\n \"activeDutyStartDate\",\n newValue,\n verificationService,\n );\n }}\n value={viewModel.activeDutyStartDate}\n disabled={getFieldConfigByFieldId(\"activeDutyStartDate\")?.disabled}\n />\n )}\n\n <DischargeDate\n mode={\n !!verificationService.programTheme.transitionalMilitaryValidityDays ? \"date\" : \"month\"\n }\n errorId={fieldValidationErrors.dischargeDate}\n onChange={(newValue) => {\n updateInactiveMilitaryViewModel(\"dischargeDate\", newValue);\n updateFieldValidationErrorsByFieldId(\"dischargeDate\", newValue, verificationService);\n }}\n value={viewModel.dischargeDate}\n locale={locale}\n disabled={getFieldConfigByFieldId(\"dischargeDate\")?.disabled}\n />\n <Email\n value={viewModel.email}\n isErrored={!!fieldValidationErrors.email}\n explanation={\n <FormattedHTMLMessage\n id=\"emailExplanation\"\n defaultMessage=\"Personal email address is recommended\"\n />\n }\n onChange={(newValue) => {\n updateInactiveMilitaryViewModel(\"email\", newValue);\n updateFieldValidationErrorsByFieldId(\"email\", newValue, verificationService);\n }}\n onKeyDown={(event) => handleEmailOnKeyDown(event)}\n disabled={getFieldConfigByFieldId(\"email\")?.disabled}\n />\n {verificationService.programTheme.isSmsNotifierConfigured ||\n verificationService.programTheme.smsLoopEnabled ? (\n <PhoneNumber\n isRequired={!!verificationService.programTheme.smsLoopEnabled}\n value={viewModel.phoneNumber}\n isErrored={!!fieldValidationErrors.phoneNumber}\n onChange={(newValue) => {\n updateInactiveMilitaryViewModel(\"phoneNumber\", newValue);\n updateFieldValidationErrorsByFieldId(\"phoneNumber\", newValue, verificationService);\n }}\n selectedCountryCode={viewModel.countryChoice && viewModel.countryChoice.value}\n disabled={getFieldConfigByFieldId(\"phoneNumber\")?.disabled}\n />\n ) : null}\n\n {optionalFields.includes(\"address1\") && (\n <AddressComponent\n value={viewModel.address1}\n isErrored={!!fieldValidationErrors.address1}\n errorId={fieldValidationErrors.address1}\n disabled={getFieldConfigByFieldId(\"address1\")?.disabled}\n onChange={(value) => {\n updateInactiveMilitaryViewModel(\"address1\", value);\n updateFieldValidationErrorsByFieldId(\"address1\", value, verificationService);\n }}\n isRequired={getFieldConfigByFieldId(\"address1\")?.requireIfOptional}\n />\n )}\n {optionalFields.includes(\"city\") && (\n <CityComponent\n value={viewModel.city}\n isErrored={!!fieldValidationErrors.city}\n errorId={fieldValidationErrors.city}\n disabled={getFieldConfigByFieldId(\"city\")?.disabled}\n onChange={(value) => {\n updateInactiveMilitaryViewModel(\"city\", value);\n updateFieldValidationErrorsByFieldId(\"city\", value, verificationService);\n }}\n isRequired={getFieldConfigByFieldId(\"city\")?.requireIfOptional}\n />\n )}\n {optionalFields.includes(\"state\") && (\n <StateSelectComponent\n options={getAvailableStateChoices(verificationService.programTheme, intl)}\n value={viewModel.state || undefined}\n isErrored={Boolean(fieldValidationErrors.state)}\n onChange={async (stateChoice: FormSelectChoice<State, string>) => {\n const stateValue = stateChoice ? stateChoice.value : undefined;\n updateInactiveMilitaryViewModel(\"state\", stateValue);\n updateFieldValidationErrorsByFieldId(\"state\", stateValue, verificationService);\n }}\n label={<FormattedHTMLMessage id=\"state\" defaultMessage=\"State\" />}\n disabled={getFieldConfigByFieldId(\"state\")?.disabled}\n isRequired={getFieldConfigByFieldId(\"state\")?.requireIfOptional}\n />\n )}\n {optionalFields.includes(\"postalCode\") && (\n <PostalCodeComponent\n required={getFieldConfigByFieldId(\"postalCode\")?.requireIfOptional}\n isErrored={!!fieldValidationErrors.postalCode}\n onChange={(newValue) => {\n updateInactiveMilitaryViewModel(\"postalCode\", newValue);\n updateFieldValidationErrorsByFieldId(\"postalCode\", newValue, verificationService);\n }}\n value={viewModel.postalCode}\n disabled={getFieldConfigByFieldId(\"postalCode\")?.disabled}\n />\n )}\n\n {options.customFormFields.map((config: CustomFormFieldConfig) => (\n <FormFieldCustom config={config} verificationService={verificationService} />\n ))}\n\n <MarketConsentWrapper\n verificationService={verificationService}\n isErrored={!!fieldValidationErrors.marketConsentValue}\n onChange={(newValue) => {\n updateInactiveMilitaryViewModel(\"metadata\", {\n ...verificationService.viewModel.metadata,\n marketConsentValue: newValue,\n });\n updateFieldValidationErrorsByFieldId(\n \"marketConsentValue\",\n newValue,\n verificationService,\n );\n }}\n viewModel={viewModel}\n disabled={getFieldConfigByFieldId(\"marketConsentValue\")?.disabled}\n />\n\n <ExtraMessage verificationService={verificationService} suffix=\"CollectAboveSubmit\" />\n\n <CaptchaComponent\n verificationService={verificationService}\n isErrored={!!fieldValidationErrors.captchaToken}\n />\n\n <PersonalInfoStepSubmitButton\n step={VerificationStepsEnum.collectInactiveMilitaryPersonalInfo}\n verificationService={verificationService}\n viewModel={viewModel}\n failedInstantMatch={failedInstantMatch}\n buttonText={\n <FormattedHTMLMessage\n id=\"step.personalInfo.submitButtonText\"\n defaultMessage=\"Verify My Military Status\"\n />\n }\n />\n </>\n </PersonalInfoWrapper>\n );\n};\n\nexport const StepInactiveMilitaryPersonalInfoComponent = injectIntl(\n StepInactiveMilitaryPerson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B;IAC/E;IACA,OAAO,iBAAA,GAAA,EAAA,KAAC,GAAD;KAAsB,IAAG;KAAQ,gBAAe;IAAS,CAAA;IAChE,UAAU,EAAwB,OAAO,GAAG;IAC5C,YAAY,EAAwB,OAAO,GAAG;GAC/C,CAAA;GAEF,EAAe,SAAS,YAAY,KACnC,iBAAA,GAAA,EAAA,KAAC,GAAD;IACE,UAAU,EAAwB,YAAY,GAAG;IACjD,WAAW,CAAC,CAAC,EAAsB;IACnC,WAAW,MAAa;KAEtB,AADA,EAAgC,cAAc,CAAQ,GACtD,EAAqC,cAAc,GAAU,CAAmB;IAClF;IACA,OAAO,EAAU;IACjB,UAAU,EAAwB,YAAY,GAAG;GAClD,CAAA;GAGF,EAAQ,iBAAiB,KAAK,MAC7B,iBAAA,GAAA,EAAA,KAAC,GAAD;IAAyB;IAA6B;GAAsB,CAAA,CAC7E;GAED,iBAAA,GAAA,EAAA,KAAC,GAAD;IACuB;IACrB,WAAW,CAAC,CAAC,EAAsB;IACnC,WAAW,MAAa;KAKtB,AAJA,EAAgC,YAAY;MAC1C,GAAG,EAAoB,UAAU;MACjC,oBAAoB;KACtB,CAAC,GACD,EACE,sBACA,GACA,CACF;IACF;IACW;IACX,UAAU,EAAwB,oBAAoB,GAAG;GAC1D,CAAA;GAED,iBAAA,GAAA,EAAA,KAAC,GAAD;IAAmC;IAAqB,QAAO;GAAsB,CAAA;GAErF,iBAAA,GAAA,EAAA,KAAC,GAAD;IACuB;IACrB,WAAW,CAAC,CAAC,EAAsB;GACpC,CAAA;GAED,iBAAA,GAAA,EAAA,KAAC,GAAD;IACE,MAAM,EAAsB;IACP;IACV;IACS;IACpB,YACE,iBAAA,GAAA,EAAA,KAAC,GAAD;KACE,IAAG;KACH,gBAAe;IAChB,CAAA;GAEJ,CAAA;EACD,EAAA,CAAA,CACiB;;AAEzB,GAEa,IAA4C,EACvD,CACF"}
@@ -4,45 +4,45 @@
4
4
  * This file is not intended for use in other contexts and there are no guarantees about its behavior outside of MySheerID.
5
5
  */
6
6
  /**
7
- * VERSION: 2.262.0-alpha.3
8
- * BUILD_TIMESTAMP: 1785444448827
9
- * BUILD_DATE: Thu Jul 30 2026 20:47:28 GMT+0000 (Coordinated Universal Time)
10
- * BUILD_COMMIT: 572623f7bc6b5a1e30face657957b5ba18222d0c
7
+ * VERSION: 2.263.0-alpha.0
8
+ * BUILD_TIMESTAMP: 1785516882559
9
+ * BUILD_DATE: Fri Jul 31 2026 16:54:42 GMT+0000 (Coordinated Universal Time)
10
+ * BUILD_COMMIT: d0963a317ee7ec7a22ae43d6645248a7bac89b11
11
11
  */
12
- import { Mt as e, Rt as t, Ut as n, bt as r, p as i, s as a } from "./intl-CSRMUNER.js";
13
- import { a as o, c as s, n as c, t as l } from "./jsx-runtime-ad-EElqi.js";
14
- import { T as u } from "./FormFooterComponent-DB0-FOF0.js";
15
- import { a as d } from "./refs-DAyn6DqR.js";
12
+ import { Ct as e, Ft as t, Kt as n, Vt as r, p as i, s as a } from "./intl-RejEV_0u.js";
13
+ import { a as o, c as s, n as c, t as l } from "./jsx-runtime-C8rHQFpC.js";
14
+ import { D as u } from "./FormFooterComponent-Bf1bxfK_.js";
15
+ import { a as d } from "./refs-BxfzLCJo.js";
16
16
  import { $ as f, B as p, F as m, G as h, I as g, W as _, et as v, n as y } from "../_mysheerid-preview.js";
17
- import { t as b } from "./VerificationApiUtils-jjMt3smk.js";
18
- import { a as x, i as S, n as C, o as w, s as T, t as E } from "./CaptchaComponent-6YC__tfs.js";
19
- import { n as D, t as O } from "./PersonalInfoStepSubmitButton-clzrobVs.js";
20
- import { t as k } from "./BirthDateComponent-Dn4Pkaiz.js";
21
- import { t as A } from "./PostalCodeComponent-COaeeNXA.js";
22
- import { t as j } from "./CountryComponentWrapper-3OT-MoBx.js";
23
- import { t as M } from "./City-DSfS926t.js";
24
- import { t as N } from "./AddressComponent-C4EQ1638.js";
25
- import { t as P } from "./ExtraMessage-LK23_Ou9.js";
26
- import { t as F } from "./ChangeLocaleComponent-Brii1NXA.js";
27
- import { t as I } from "./PersonalInfoStepWrapper-D8lig4zW.js";
28
- import { t as L } from "./StateSelectComponent-xOKtNAUf.js";
29
- import { n as R, r as z, t as B } from "./DischargeDateComponent-1-3M2rHI.js";
30
- import { t as V } from "./StatusComponent-Dxna8rvR.js";
31
- import { t as H } from "./militaryStepHelpers-7zTr1SAJ.js";
17
+ import { t as b } from "./VerificationApiUtils-CGXDqW3c.js";
18
+ import { a as x, i as S, n as C, o as w, s as T, t as E } from "./CaptchaComponent-gd5yubvd.js";
19
+ import { n as D, t as O } from "./PersonalInfoStepSubmitButton-BS7TwIFn.js";
20
+ import { t as k } from "./BirthDateComponent-DiB89V9D.js";
21
+ import { t as A } from "./PostalCodeComponent-DuEPciUA.js";
22
+ import { t as j } from "./CountryComponentWrapper-BGajYZrL.js";
23
+ import { t as M } from "./City-B6J8thJW.js";
24
+ import { t as N } from "./AddressComponent-0vaEURVZ.js";
25
+ import { t as P } from "./ExtraMessage-vcQ9SW6K.js";
26
+ import { t as F } from "./ChangeLocaleComponent-BTZAq7uW.js";
27
+ import { t as I } from "./PersonalInfoStepWrapper-CZDrFaqC.js";
28
+ import { t as L } from "./StateSelectComponent-CFY00_F5.js";
29
+ import { n as R, r as z, t as B } from "./DischargeDateComponent-CrJy29pH.js";
30
+ import { t as V } from "./StatusComponent-CvMMC2MR.js";
31
+ import { t as H } from "./militaryStepHelpers-DjUPkHuN.js";
32
32
  //#region src/components/StepMilitaryPersonalInfo/StepInactiveMilitaryPersonalInfoComponent.tsx
33
33
  var U = /* @__PURE__ */ n(s(), 1), W = l(), G = ({ intl: n, verificationService: o }) => {
34
34
  let s = o.viewModel, l = o.previousViewModel, { fieldValidationErrors: G } = o, K = o.verificationResponse, q = u(K), [J, Y] = U.useState([]), X = m(o, n), Z = s.localeChoice.value, Q = a(), $ = (e, t) => {
35
35
  o.updateViewModel(H(e, t, o, X));
36
36
  };
37
- return (s.status && l && l.status !== s.status || s.status && o.verificationResponse.currentStep === e.collectMilitaryStatus) && (() => {
38
- let n = i(s, () => {});
39
- t.info("StepMilitaryStatusComponent submitting form"), o.submitStep(e.collectMilitaryStatus, n, o.previousVerificationResponse || o.verificationResponse);
37
+ return (s.status && l && l.status !== s.status || s.status && o.verificationResponse.currentStep === t.collectMilitaryStatus) && (() => {
38
+ let e = i(s, () => {});
39
+ r.info("StepMilitaryStatusComponent submitting form"), o.submitStep(t.collectMilitaryStatus, e, o.previousVerificationResponse || o.verificationResponse);
40
40
  })(), U.useEffect(() => {
41
41
  (async () => {
42
- if (o.verificationResponse.currentStep === e.collectInactiveMilitaryPersonalInfo && s.countryChoice?.value === "US") try {
43
- Y((await b(K.verificationId, e.collectInactiveMilitaryPersonalInfo, s))?.fieldsToCollect?.optional?.map((e) => e.key));
44
- } catch (n) {
45
- t.error(`Failed to determine fields to collect: ${n}`, e.collectInactiveMilitaryPersonalInfo);
42
+ if (o.verificationResponse.currentStep === t.collectInactiveMilitaryPersonalInfo && s.countryChoice?.value === "US") try {
43
+ Y((await b(K.verificationId, t.collectInactiveMilitaryPersonalInfo, s))?.fieldsToCollect?.optional?.map((e) => e.key));
44
+ } catch (e) {
45
+ r.error(`Failed to determine fields to collect: ${e}`, t.collectInactiveMilitaryPersonalInfo);
46
46
  }
47
47
  })();
48
48
  }, [o.verificationResponse.currentStep, s.countryChoice]), U.useEffect(() => {
@@ -64,7 +64,7 @@ var U = /* @__PURE__ */ n(s(), 1), W = l(), G = ({ intl: n, verificationService:
64
64
  segmentId: "military",
65
65
  value: {
66
66
  value: s.status,
67
- label: _(n, s.status, r)
67
+ label: _(n, s.status, e)
68
68
  },
69
69
  isErrored: !!G.status,
70
70
  errorId: "invalidMilitaryStatus",
@@ -224,7 +224,7 @@ var U = /* @__PURE__ */ n(s(), 1), W = l(), G = ({ intl: n, verificationService:
224
224
  isErrored: !!G.captchaToken
225
225
  }),
226
226
  /* @__PURE__ */ (0, W.jsx)(O, {
227
- step: e.collectInactiveMilitaryPersonalInfo,
227
+ step: t.collectInactiveMilitaryPersonalInfo,
228
228
  verificationService: o,
229
229
  viewModel: s,
230
230
  failedInstantMatch: q,
@@ -1 +1 @@
1
- {"version":3,"file":"StepInactiveMilitaryPersonalInfoComponent-WvnubM6a.js","names":[],"sources":["../../src/components/StepMilitaryPersonalInfo/StepInactiveMilitaryPersonalInfoComponent.tsx"],"sourcesContent":["/* eslint-disable */\n/**\n * TODO - preamble\n */\nimport React from \"react\";\nimport { FormattedHTMLMessage, injectIntl } from \"react-intl\";\nimport { produce } from \"immer\";\n\nimport {\n VerificationStepsEnum,\n MilitaryStatusDefaultMessagesEnum,\n} from \"../../lib/types/runtimeTypes\";\nimport { hasFailedInstantMatch } from \"../../lib/VerificationService/VerificationServiceHelpers\";\nimport { resetRefs } from \"../../lib/refs/refs\";\nimport { logger } from \"@jslib/shared/utils/logger\";\nimport {\n VerificationService,\n FormSelectChoice,\n Organization,\n InactiveMilitaryPersonalInfoViewModel,\n InactiveMilitaryPersonalInfoResponse,\n CustomFormFieldConfig,\n CollectFieldsResponse,\n State,\n} from \"../../lib/types/types\";\nimport {\n handleEmailOnKeyDown,\n updateFieldValidationErrorsByFieldId,\n updateViewModelOrganization,\n getAvailableMilitaryStatuses,\n getStatusLabel,\n getAvailableStateChoices,\n getFieldConfigByFieldId,\n} from \"../../lib/utils/stepComponentHelpers/stepComponentHelpers\";\n\nimport { PhoneNumberComponent as PhoneNumber } from \"../FormFields/PhoneNumber/PhoneNumberComponent\";\nimport { FirstNameComponent as FirstName } from \"../FormFields/FirstName/FirstNameComponent\";\nimport { LastNameComponent as LastName } from \"../FormFields/LastName/LastNameComponent\";\nimport { EmailComponent as Email } from \"../FormFields/Email/EmailComponent\";\nimport { BirthDateComponent as BirthDate } from \"../FormFields/BirthDate/BirthDateComponent\";\nimport { StatusComponent as MilitaryStatus } from \"../FormFields/Status/StatusComponent\";\nimport { BranchOfServiceComponent as BranchOfService } from \"../FormFields/BranchOfService/BranchOfServiceComponent\";\nimport { DischargeDateComponent as DischargeDate } from \"../FormFields/DischargeDate/DischargeDateComponent\";\nimport { MarketConsentWrapperComponent as MarketConsentWrapper } from \"../FormFields/MarketConsentWrapper/MarketConsentWrapperComponent\";\nimport { CountryComponentWrapper } from \"../FormFields/Country/CountryComponentWrapper\";\nimport { updateMilitaryViewModel } from \"./militaryStepHelpers\";\n\nimport { FormFieldCustom } from \"../FormFields/FormFieldCustom/FormFieldCustom\";\nimport { getOptions } from \"../../options/options\";\nimport { ExtraMessage } from \"../ExtraMessage\";\nimport { ChangeLocaleV2Component } from \"../FormFields/ChangeLocale/ChangeLocaleComponent\";\nimport { ActiveDutyStartDateComponent } from \"../FormFields/ActiveDutyStartDate/ActiveDutyStartDateComponent\";\nimport { PersonalInfoWrapper } from \"../PersonalInfoStepWrapper/PersonalInfoStepWrapper\";\nimport { PersonalInfoStepSubmitButton } from \"../PersonalInfoStepSubmitButton/PersonalInfoStepSubmitButton\";\nimport { CityComponent } from \"../FormFields/City/City\";\nimport { AddressComponent } from \"../FormFields/Address/AddressComponent\";\nimport { PostalCodeComponent } from \"../FormFields/PostalCode/PostalCodeComponent\";\nimport { StateSelectComponent } from \"../FormFields/State/StateSelectComponent\";\nimport { getFieldsToCollect } from \"../../lib/ServerApi/VerificationApiUtils\";\nimport { PersonalInfoHeader } from \"../FormHeader/StepHeaders/PersonalInfoHeaderComponent\";\nimport { CaptchaComponent } from \"../FormFields/Captcha/CaptchaComponent\";\n\ninterface StepInactiveMilitaryPersonalInfoComponentProps {\n intl: any;\n verificationService: VerificationService;\n}\n\nexport const StepInactiveMilitaryPersonalInfo = ({\n intl,\n verificationService,\n}: StepInactiveMilitaryPersonalInfoComponentProps) => {\n const viewModel = verificationService.viewModel as InactiveMilitaryPersonalInfoViewModel;\n const previousViewModel =\n verificationService.previousViewModel as InactiveMilitaryPersonalInfoViewModel;\n const { fieldValidationErrors } = verificationService;\n const verificationResponse =\n verificationService.verificationResponse as InactiveMilitaryPersonalInfoResponse;\n const failedInstantMatch = hasFailedInstantMatch(verificationResponse);\n const [optionalFields, setOptionalFields] = React.useState([]);\n const availableStatuses = getAvailableMilitaryStatuses(verificationService, intl);\n const locale = viewModel.localeChoice.value;\n const options = getOptions();\n\n const updateInactiveMilitaryViewModel = (\n key: keyof InactiveMilitaryPersonalInfoViewModel,\n value: any,\n ) => {\n verificationService.updateViewModel(\n updateMilitaryViewModel(key, value, verificationService, availableStatuses),\n );\n };\n\n const submitStep = () => {\n const nextState = produce(viewModel, () => {});\n logger.info(\"StepMilitaryStatusComponent submitting form\");\n verificationService.submitStep(\n VerificationStepsEnum.collectMilitaryStatus,\n nextState,\n verificationService.previousVerificationResponse || verificationService.verificationResponse,\n );\n };\n\n if (\n (viewModel.status && previousViewModel && previousViewModel.status !== viewModel.status) ||\n (viewModel.status &&\n verificationService.verificationResponse.currentStep ===\n VerificationStepsEnum.collectMilitaryStatus)\n ) {\n submitStep();\n }\n\n React.useEffect(() => {\n (async () => {\n if (\n verificationService.verificationResponse.currentStep ===\n VerificationStepsEnum.collectInactiveMilitaryPersonalInfo &&\n viewModel.countryChoice?.value === \"US\"\n ) {\n try {\n const collectFieldsResponse: CollectFieldsResponse = await getFieldsToCollect(\n verificationResponse.verificationId,\n VerificationStepsEnum.collectInactiveMilitaryPersonalInfo,\n viewModel,\n );\n\n setOptionalFields(collectFieldsResponse?.fieldsToCollect?.optional?.map((f) => f.key));\n } catch (error) {\n logger.error(\n `Failed to determine fields to collect: ${error}`,\n VerificationStepsEnum.collectInactiveMilitaryPersonalInfo,\n );\n }\n }\n })();\n }, [verificationService.verificationResponse.currentStep, viewModel.countryChoice]);\n\n React.useEffect(() => {\n if (viewModel.countryChoice?.value !== \"US\") {\n setOptionalFields([]);\n }\n }, [viewModel.countryChoice]);\n\n // Refs should be reset to ensure the field order isn't affected by the previous step\n resetRefs();\n\n return (\n <PersonalInfoWrapper\n verificationService={verificationService}\n step={verificationResponse.currentStep}\n className=\"sid-military-personal-info-container\"\n >\n <PersonalInfoHeader\n verificationService={verificationService}\n classNameIdentifier=\"inactive-military-personal-info\"\n />\n\n <>\n <ChangeLocaleV2Component verificationService={verificationService} />\n <CountryComponentWrapper\n verificationService={verificationService}\n disabled={getFieldConfigByFieldId(\"country\")?.disabled}\n />\n {availableStatuses ? (\n <MilitaryStatus\n segmentId=\"military\"\n value={{\n value: viewModel.status,\n label: getStatusLabel(intl, viewModel.status, MilitaryStatusDefaultMessagesEnum),\n }}\n isErrored={!!fieldValidationErrors.status}\n errorId=\"invalidMilitaryStatus\"\n options={availableStatuses}\n disabled={getFieldConfigByFieldId(\"status\")?.disabled}\n onChange={(status: FormSelectChoice) => {\n updateInactiveMilitaryViewModel(\"status\", status ? (status.value as string) : \"\");\n updateFieldValidationErrorsByFieldId(\n \"status\",\n status ? (status.value as string) : \"\",\n verificationService,\n );\n }}\n />\n ) : null}\n\n <BranchOfService\n isErrored={!!fieldValidationErrors.organization}\n onChange={(choice: Organization) => {\n updateViewModelOrganization(choice, verificationService);\n updateFieldValidationErrorsByFieldId(\"organization\", choice, verificationService);\n }}\n value={{\n value: (verificationService.viewModel as InactiveMilitaryPersonalInfoViewModel)\n .organization.id,\n label: (verificationService.viewModel as InactiveMilitaryPersonalInfoViewModel)\n .organization.name,\n }}\n verificationService={verificationService}\n disabled={getFieldConfigByFieldId(\"organization\")?.disabled}\n />\n\n <div className=\"sid-names\">\n <FirstName\n value={viewModel.firstName}\n isErrored={!!fieldValidationErrors.firstName}\n disabled={getFieldConfigByFieldId(\"firstName\")?.disabled}\n onChange={(newValue) => {\n updateInactiveMilitaryViewModel(\"firstName\", newValue);\n updateFieldValidationErrorsByFieldId(\"firstName\", newValue, verificationService);\n }}\n />\n\n <LastName\n value={viewModel.lastName}\n isErrored={!!fieldValidationErrors.lastName}\n disabled={getFieldConfigByFieldId(\"lastName\")?.disabled}\n onChange={(newValue) => {\n updateInactiveMilitaryViewModel(\"lastName\", newValue);\n updateFieldValidationErrorsByFieldId(\"lastName\", newValue, verificationService);\n }}\n />\n </div>\n\n <BirthDate\n errorId={fieldValidationErrors.birthDate}\n locale={locale}\n onChange={(newValue) => {\n updateInactiveMilitaryViewModel(\"birthDate\", newValue);\n updateFieldValidationErrorsByFieldId(\"birthDate\", newValue, verificationService);\n }}\n value={viewModel.birthDate}\n disabled={getFieldConfigByFieldId(\"birthDate\")?.disabled}\n />\n\n {verificationService.programTheme.strictMilitaryValidationEnabled && (\n <ActiveDutyStartDateComponent\n errorId={fieldValidationErrors.activeDutyStartDate}\n locale={locale}\n onChange={(newValue) => {\n updateInactiveMilitaryViewModel(\"activeDutyStartDate\", newValue);\n updateFieldValidationErrorsByFieldId(\n \"activeDutyStartDate\",\n newValue,\n verificationService,\n );\n }}\n value={viewModel.activeDutyStartDate}\n disabled={getFieldConfigByFieldId(\"activeDutyStartDate\")?.disabled}\n />\n )}\n\n <DischargeDate\n mode={\n !!verificationService.programTheme.transitionalMilitaryValidityDays ? \"date\" : \"month\"\n }\n errorId={fieldValidationErrors.dischargeDate}\n onChange={(newValue) => {\n updateInactiveMilitaryViewModel(\"dischargeDate\", newValue);\n updateFieldValidationErrorsByFieldId(\"dischargeDate\", newValue, verificationService);\n }}\n value={viewModel.dischargeDate}\n locale={locale}\n disabled={getFieldConfigByFieldId(\"dischargeDate\")?.disabled}\n />\n <Email\n value={viewModel.email}\n isErrored={!!fieldValidationErrors.email}\n explanation={\n <FormattedHTMLMessage\n id=\"emailExplanation\"\n defaultMessage=\"Personal email address is recommended\"\n />\n }\n onChange={(newValue) => {\n updateInactiveMilitaryViewModel(\"email\", newValue);\n updateFieldValidationErrorsByFieldId(\"email\", newValue, verificationService);\n }}\n onKeyDown={(event) => handleEmailOnKeyDown(event)}\n disabled={getFieldConfigByFieldId(\"email\")?.disabled}\n />\n {verificationService.programTheme.isSmsNotifierConfigured ||\n verificationService.programTheme.smsLoopEnabled ? (\n <PhoneNumber\n isRequired={!!verificationService.programTheme.smsLoopEnabled}\n value={viewModel.phoneNumber}\n isErrored={!!fieldValidationErrors.phoneNumber}\n onChange={(newValue) => {\n updateInactiveMilitaryViewModel(\"phoneNumber\", newValue);\n updateFieldValidationErrorsByFieldId(\"phoneNumber\", newValue, verificationService);\n }}\n selectedCountryCode={viewModel.countryChoice && viewModel.countryChoice.value}\n disabled={getFieldConfigByFieldId(\"phoneNumber\")?.disabled}\n />\n ) : null}\n\n {optionalFields.includes(\"address1\") && (\n <AddressComponent\n value={viewModel.address1}\n isErrored={!!fieldValidationErrors.address1}\n errorId={fieldValidationErrors.address1}\n disabled={getFieldConfigByFieldId(\"address1\")?.disabled}\n onChange={(value) => {\n updateInactiveMilitaryViewModel(\"address1\", value);\n updateFieldValidationErrorsByFieldId(\"address1\", value, verificationService);\n }}\n isRequired={getFieldConfigByFieldId(\"address1\")?.requireIfOptional}\n />\n )}\n {optionalFields.includes(\"city\") && (\n <CityComponent\n value={viewModel.city}\n isErrored={!!fieldValidationErrors.city}\n errorId={fieldValidationErrors.city}\n disabled={getFieldConfigByFieldId(\"city\")?.disabled}\n onChange={(value) => {\n updateInactiveMilitaryViewModel(\"city\", value);\n updateFieldValidationErrorsByFieldId(\"city\", value, verificationService);\n }}\n isRequired={getFieldConfigByFieldId(\"city\")?.requireIfOptional}\n />\n )}\n {optionalFields.includes(\"state\") && (\n <StateSelectComponent\n options={getAvailableStateChoices(verificationService.programTheme, intl)}\n value={viewModel.state || undefined}\n isErrored={Boolean(fieldValidationErrors.state)}\n onChange={async (stateChoice: FormSelectChoice<State, string>) => {\n const stateValue = stateChoice ? stateChoice.value : undefined;\n updateInactiveMilitaryViewModel(\"state\", stateValue);\n updateFieldValidationErrorsByFieldId(\"state\", stateValue, verificationService);\n }}\n label={<FormattedHTMLMessage id=\"state\" defaultMessage=\"State\" />}\n disabled={getFieldConfigByFieldId(\"state\")?.disabled}\n isRequired={getFieldConfigByFieldId(\"state\")?.requireIfOptional}\n />\n )}\n {optionalFields.includes(\"postalCode\") && (\n <PostalCodeComponent\n required={getFieldConfigByFieldId(\"postalCode\")?.requireIfOptional}\n isErrored={!!fieldValidationErrors.postalCode}\n onChange={(newValue) => {\n updateInactiveMilitaryViewModel(\"postalCode\", newValue);\n updateFieldValidationErrorsByFieldId(\"postalCode\", newValue, verificationService);\n }}\n value={viewModel.postalCode}\n disabled={getFieldConfigByFieldId(\"postalCode\")?.disabled}\n />\n )}\n\n {options.customFormFields.map((config: CustomFormFieldConfig) => (\n <FormFieldCustom config={config} verificationService={verificationService} />\n ))}\n\n <MarketConsentWrapper\n verificationService={verificationService}\n isErrored={!!fieldValidationErrors.marketConsentValue}\n onChange={(newValue) => {\n updateInactiveMilitaryViewModel(\"metadata\", {\n ...verificationService.viewModel.metadata,\n marketConsentValue: newValue,\n });\n updateFieldValidationErrorsByFieldId(\n \"marketConsentValue\",\n newValue,\n verificationService,\n );\n }}\n viewModel={viewModel}\n disabled={getFieldConfigByFieldId(\"marketConsentValue\")?.disabled}\n />\n\n <ExtraMessage verificationService={verificationService} suffix=\"CollectAboveSubmit\" />\n\n <CaptchaComponent\n verificationService={verificationService}\n isErrored={!!fieldValidationErrors.captchaToken}\n />\n\n <PersonalInfoStepSubmitButton\n step={VerificationStepsEnum.collectInactiveMilitaryPersonalInfo}\n verificationService={verificationService}\n viewModel={viewModel}\n failedInstantMatch={failedInstantMatch}\n buttonText={\n <FormattedHTMLMessage\n id=\"step.personalInfo.submitButtonText\"\n defaultMessage=\"Verify My Military Status\"\n />\n }\n />\n </>\n </PersonalInfoWrapper>\n );\n};\n\nexport const StepInactiveMilitaryPersonalInfoComponent = injectIntl(\n StepInactiveMilitaryPersonalInfo,\n);\nexport default StepInactiveMilitaryPersonalInfoComponent;\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;4CAmEa,KAAoC,EAC/C,SACA,6BACoD;CACpD,IAAM,IAAY,EAAoB,WAChC,IACJ,EAAoB,mBAChB,EAAE,6BAA0B,GAC5B,IACJ,EAAoB,sBAChB,IAAqB,EAAsB,CAAoB,GAC/D,CAAC,GAAgB,KAAA,EAA2B,SAAS,CAAC,CAAC,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AC,EAAsB;IACnC,WAAW,MAAa;KAEtB,AADA,EAAgC,cAAc,CAAQ,GACtD,EAAqC,cAAc,GAAU,CAAmB;IAClF;IACA,OAAO,EAAU;IACjB,UAAU,EAAwB,YAAY,GAAG;GAClD,CAAA;GAGF,EAAQ,iBAAiB,KAAK,MAC7B,iBAAA,GAAA,EAAA,KAAC,GAAD;IAAyB;IAA6B;GAAsB,CAAA,CAC7E;GAED,iBAAA,GAAA,EAAA,KAAC,GAAD;IACuB;IACrB,WAAW,CAAC,CAAC,EAAsB;IACnC,WAAW,MAAa;KAKtB,AAJA,EAAgC,YAAY;MAC1C,GAAG,EAAoB,UAAU;MACjC,oBAAoB;KACtB,CAAC,GACD,EACE,sBACA,GACA,CACF;IACF;IACW;IACX,UAAU,EAAwB,oBAAoB,GAAG;GAC1D,CAAA;GAED,iBAAA,GAAA,EAAA,KAAC,GAAD;IAAmC;IAAqB,QAAO;GAAsB,CAAA;GAErF,iBAAA,GAAA,EAAA,KAAC,GAAD;IACuB;IACrB,WAAW,CAAC,CAAC,EAAsB;GACpC,CAAA;GAED,iBAAA,GAAA,EAAA,KAAC,GAAD;IACE,MAAM,EAAsB;IACP;IACV;IACS;IACpB,YACE,iBAAA,GAAA,EAAA,KAAC,GAAD;KACE,IAAG;KACH,gBAAe;IAChB,CAAA;GAEJ,CAAA;EACD,EAAA,CAAA,CACiB;;AAEzB,GAEa,IAA4C,EACvD,CACF"}
1
+ {"version":3,"file":"StepInactiveMilitaryPersonalInfoComponent-DyWjru-q.js","names":[],"sources":["../../src/components/StepMilitaryPersonalInfo/StepInactiveMilitaryPersonalInfoComponent.tsx"],"sourcesContent":["/* eslint-disable */\n/**\n * TODO - preamble\n */\nimport React from \"react\";\nimport { FormattedHTMLMessage, injectIntl } from \"react-intl\";\nimport { produce } from \"immer\";\n\nimport {\n VerificationStepsEnum,\n MilitaryStatusDefaultMessagesEnum,\n} from \"../../lib/types/runtimeTypes\";\nimport { hasFailedInstantMatch } from \"../../lib/VerificationService/VerificationServiceHelpers\";\nimport { resetRefs } from \"../../lib/refs/refs\";\nimport { logger } from \"@jslib/shared/utils/logger\";\nimport {\n VerificationService,\n FormSelectChoice,\n Organization,\n InactiveMilitaryPersonalInfoViewModel,\n InactiveMilitaryPersonalInfoResponse,\n CustomFormFieldConfig,\n CollectFieldsResponse,\n State,\n} from \"../../lib/types/types\";\nimport {\n handleEmailOnKeyDown,\n updateFieldValidationErrorsByFieldId,\n updateViewModelOrganization,\n getAvailableMilitaryStatuses,\n getStatusLabel,\n getAvailableStateChoices,\n getFieldConfigByFieldId,\n} from \"../../lib/utils/stepComponentHelpers/stepComponentHelpers\";\n\nimport { PhoneNumberComponent as PhoneNumber } from \"../FormFields/PhoneNumber/PhoneNumberComponent\";\nimport { FirstNameComponent as FirstName } from \"../FormFields/FirstName/FirstNameComponent\";\nimport { LastNameComponent as LastName } from \"../FormFields/LastName/LastNameComponent\";\nimport { EmailComponent as Email } from \"../FormFields/Email/EmailComponent\";\nimport { BirthDateComponent as BirthDate } from \"../FormFields/BirthDate/BirthDateComponent\";\nimport { StatusComponent as MilitaryStatus } from \"../FormFields/Status/StatusComponent\";\nimport { BranchOfServiceComponent as BranchOfService } from \"../FormFields/BranchOfService/BranchOfServiceComponent\";\nimport { DischargeDateComponent as DischargeDate } from \"../FormFields/DischargeDate/DischargeDateComponent\";\nimport { MarketConsentWrapperComponent as MarketConsentWrapper } from \"../FormFields/MarketConsentWrapper/MarketConsentWrapperComponent\";\nimport { CountryComponentWrapper } from \"../FormFields/Country/CountryComponentWrapper\";\nimport { updateMilitaryViewModel } from \"./militaryStepHelpers\";\n\nimport { FormFieldCustom } from \"../FormFields/FormFieldCustom/FormFieldCustom\";\nimport { getOptions } from \"../../options/options\";\nimport { ExtraMessage } from \"../ExtraMessage\";\nimport { ChangeLocaleV2Component } from \"../FormFields/ChangeLocale/ChangeLocaleComponent\";\nimport { ActiveDutyStartDateComponent } from \"../FormFields/ActiveDutyStartDate/ActiveDutyStartDateComponent\";\nimport { PersonalInfoWrapper } from \"../PersonalInfoStepWrapper/PersonalInfoStepWrapper\";\nimport { PersonalInfoStepSubmitButton } from \"../PersonalInfoStepSubmitButton/PersonalInfoStepSubmitButton\";\nimport { CityComponent } from \"../FormFields/City/City\";\nimport { AddressComponent } from \"../FormFields/Address/AddressComponent\";\nimport { PostalCodeComponent } from \"../FormFields/PostalCode/PostalCodeComponent\";\nimport { StateSelectComponent } from \"../FormFields/State/StateSelectComponent\";\nimport { getFieldsToCollect } from \"../../lib/ServerApi/VerificationApiUtils\";\nimport { PersonalInfoHeader } from \"../FormHeader/StepHeaders/PersonalInfoHeaderComponent\";\nimport { CaptchaComponent } from \"../FormFields/Captcha/CaptchaComponent\";\n\ninterface StepInactiveMilitaryPersonalInfoComponentProps {\n intl: any;\n verificationService: VerificationService;\n}\n\nexport const StepInactiveMilitaryPersonalInfo = ({\n intl,\n verificationService,\n}: StepInactiveMilitaryPersonalInfoComponentProps) => {\n const viewModel = verificationService.viewModel as InactiveMilitaryPersonalInfoViewModel;\n const previousViewModel =\n verificationService.previousViewModel as InactiveMilitaryPersonalInfoViewModel;\n const { fieldValidationErrors } = verificationService;\n const verificationResponse =\n verificationService.verificationResponse as InactiveMilitaryPersonalInfoResponse;\n const failedInstantMatch = hasFailedInstantMatch(verificationResponse);\n const [optionalFields, setOptionalFields] = React.useState([]);\n const availableStatuses = getAvailableMilitaryStatuses(verificationService, intl);\n const locale = viewModel.localeChoice.value;\n const options = getOptions();\n\n const updateInactiveMilitaryViewModel = (\n key: keyof InactiveMilitaryPersonalInfoViewModel,\n value: any,\n ) => {\n verificationService.updateViewModel(\n updateMilitaryViewModel(key, value, verificationService, availableStatuses),\n );\n };\n\n const submitStep = () => {\n const nextState = produce(viewModel, () => {});\n logger.info(\"StepMilitaryStatusComponent submitting form\");\n verificationService.submitStep(\n VerificationStepsEnum.collectMilitaryStatus,\n nextState,\n verificationService.previousVerificationResponse || verificationService.verificationResponse,\n );\n };\n\n if (\n (viewModel.status && previousViewModel && previousViewModel.status !== viewModel.status) ||\n (viewModel.status &&\n verificationService.verificationResponse.currentStep ===\n VerificationStepsEnum.collectMilitaryStatus)\n ) {\n submitStep();\n }\n\n React.useEffect(() => {\n (async () => {\n if (\n verificationService.verificationResponse.currentStep ===\n VerificationStepsEnum.collectInactiveMilitaryPersonalInfo &&\n viewModel.countryChoice?.value === \"US\"\n ) {\n try {\n const collectFieldsResponse: CollectFieldsResponse = await getFieldsToCollect(\n verificationResponse.verificationId,\n VerificationStepsEnum.collectInactiveMilitaryPersonalInfo,\n viewModel,\n );\n\n setOptionalFields(collectFieldsResponse?.fieldsToCollect?.optional?.map((f) => f.key));\n } catch (error) {\n logger.error(\n `Failed to determine fields to collect: ${error}`,\n VerificationStepsEnum.collectInactiveMilitaryPersonalInfo,\n );\n }\n }\n })();\n }, [verificationService.verificationResponse.currentStep, viewModel.countryChoice]);\n\n React.useEffect(() => {\n if (viewModel.countryChoice?.value !== \"US\") {\n setOptionalFields([]);\n }\n }, [viewModel.countryChoice]);\n\n // Refs should be reset to ensure the field order isn't affected by the previous step\n resetRefs();\n\n return (\n <PersonalInfoWrapper\n verificationService={verificationService}\n step={verificationResponse.currentStep}\n className=\"sid-military-personal-info-container\"\n >\n <PersonalInfoHeader\n verificationService={verificationService}\n classNameIdentifier=\"inactive-military-personal-info\"\n />\n\n <>\n <ChangeLocaleV2Component verificationService={verificationService} />\n <CountryComponentWrapper\n verificationService={verificationService}\n disabled={getFieldConfigByFieldId(\"country\")?.disabled}\n />\n {availableStatuses ? (\n <MilitaryStatus\n segmentId=\"military\"\n value={{\n value: viewModel.status,\n label: getStatusLabel(intl, viewModel.status, MilitaryStatusDefaultMessagesEnum),\n }}\n isErrored={!!fieldValidationErrors.status}\n errorId=\"invalidMilitaryStatus\"\n options={availableStatuses}\n disabled={getFieldConfigByFieldId(\"status\")?.disabled}\n onChange={(status: FormSelectChoice) => {\n updateInactiveMilitaryViewModel(\"status\", status ? (status.value as string) : \"\");\n updateFieldValidationErrorsByFieldId(\n \"status\",\n status ? (status.value as string) : \"\",\n verificationService,\n );\n }}\n />\n ) : null}\n\n <BranchOfService\n isErrored={!!fieldValidationErrors.organization}\n onChange={(choice: Organization) => {\n updateViewModelOrganization(choice, verificationService);\n updateFieldValidationErrorsByFieldId(\"organization\", choice, verificationService);\n }}\n value={{\n value: (verificationService.viewModel as InactiveMilitaryPersonalInfoViewModel)\n .organization.id,\n label: (verificationService.viewModel as InactiveMilitaryPersonalInfoViewModel)\n .organization.name,\n }}\n verificationService={verificationService}\n disabled={getFieldConfigByFieldId(\"organization\")?.disabled}\n />\n\n <div className=\"sid-names\">\n <FirstName\n value={viewModel.firstName}\n isErrored={!!fieldValidationErrors.firstName}\n disabled={getFieldConfigByFieldId(\"firstName\")?.disabled}\n onChange={(newValue) => {\n updateInactiveMilitaryViewModel(\"firstName\", newValue);\n updateFieldValidationErrorsByFieldId(\"firstName\", newValue, verificationService);\n }}\n />\n\n <LastName\n value={viewModel.lastName}\n isErrored={!!fieldValidationErrors.lastName}\n disabled={getFieldConfigByFieldId(\"lastName\")?.disabled}\n onChange={(newValue) => {\n updateInactiveMilitaryViewModel(\"lastName\", newValue);\n updateFieldValidationErrorsByFieldId(\"lastName\", newValue, verificationService);\n }}\n />\n </div>\n\n <BirthDate\n errorId={fieldValidationErrors.birthDate}\n locale={locale}\n onChange={(newValue) => {\n updateInactiveMilitaryViewModel(\"birthDate\", newValue);\n updateFieldValidationErrorsByFieldId(\"birthDate\", newValue, verificationService);\n }}\n value={viewModel.birthDate}\n disabled={getFieldConfigByFieldId(\"birthDate\")?.disabled}\n />\n\n {verificationService.programTheme.strictMilitaryValidationEnabled && (\n <ActiveDutyStartDateComponent\n errorId={fieldValidationErrors.activeDutyStartDate}\n locale={locale}\n onChange={(newValue) => {\n updateInactiveMilitaryViewModel(\"activeDutyStartDate\", newValue);\n updateFieldValidationErrorsByFieldId(\n \"activeDutyStartDate\",\n newValue,\n verificationService,\n );\n }}\n value={viewModel.activeDutyStartDate}\n disabled={getFieldConfigByFieldId(\"activeDutyStartDate\")?.disabled}\n />\n )}\n\n <DischargeDate\n mode={\n !!verificationService.programTheme.transitionalMilitaryValidityDays ? \"date\" : \"month\"\n }\n errorId={fieldValidationErrors.dischargeDate}\n onChange={(newValue) => {\n updateInactiveMilitaryViewModel(\"dischargeDate\", newValue);\n updateFieldValidationErrorsByFieldId(\"dischargeDate\", newValue, verificationService);\n }}\n value={viewModel.dischargeDate}\n locale={locale}\n disabled={getFieldConfigByFieldId(\"dischargeDate\")?.disabled}\n />\n <Email\n value={viewModel.email}\n isErrored={!!fieldValidationErrors.email}\n explanation={\n <FormattedHTMLMessage\n id=\"emailExplanation\"\n defaultMessage=\"Personal email address is recommended\"\n />\n }\n onChange={(newValue) => {\n updateInactiveMilitaryViewModel(\"email\", newValue);\n updateFieldValidationErrorsByFieldId(\"email\", newValue, verificationService);\n }}\n onKeyDown={(event) => handleEmailOnKeyDown(event)}\n disabled={getFieldConfigByFieldId(\"email\")?.disabled}\n />\n {verificationService.programTheme.isSmsNotifierConfigured ||\n verificationService.programTheme.smsLoopEnabled ? (\n <PhoneNumber\n isRequired={!!verificationService.programTheme.smsLoopEnabled}\n value={viewModel.phoneNumber}\n isErrored={!!fieldValidationErrors.phoneNumber}\n onChange={(newValue) => {\n updateInactiveMilitaryViewModel(\"phoneNumber\", newValue);\n updateFieldValidationErrorsByFieldId(\"phoneNumber\", newValue, verificationService);\n }}\n selectedCountryCode={viewModel.countryChoice && viewModel.countryChoice.value}\n disabled={getFieldConfigByFieldId(\"phoneNumber\")?.disabled}\n />\n ) : null}\n\n {optionalFields.includes(\"address1\") && (\n <AddressComponent\n value={viewModel.address1}\n isErrored={!!fieldValidationErrors.address1}\n errorId={fieldValidationErrors.address1}\n disabled={getFieldConfigByFieldId(\"address1\")?.disabled}\n onChange={(value) => {\n updateInactiveMilitaryViewModel(\"address1\", value);\n updateFieldValidationErrorsByFieldId(\"address1\", value, verificationService);\n }}\n isRequired={getFieldConfigByFieldId(\"address1\")?.requireIfOptional}\n />\n )}\n {optionalFields.includes(\"city\") && (\n <CityComponent\n value={viewModel.city}\n isErrored={!!fieldValidationErrors.city}\n errorId={fieldValidationErrors.city}\n disabled={getFieldConfigByFieldId(\"city\")?.disabled}\n onChange={(value) => {\n updateInactiveMilitaryViewModel(\"city\", value);\n updateFieldValidationErrorsByFieldId(\"city\", value, verificationService);\n }}\n isRequired={getFieldConfigByFieldId(\"city\")?.requireIfOptional}\n />\n )}\n {optionalFields.includes(\"state\") && (\n <StateSelectComponent\n options={getAvailableStateChoices(verificationService.programTheme, intl)}\n value={viewModel.state || undefined}\n isErrored={Boolean(fieldValidationErrors.state)}\n onChange={async (stateChoice: FormSelectChoice<State, string>) => {\n const stateValue = stateChoice ? stateChoice.value : undefined;\n updateInactiveMilitaryViewModel(\"state\", stateValue);\n updateFieldValidationErrorsByFieldId(\"state\", stateValue, verificationService);\n }}\n label={<FormattedHTMLMessage id=\"state\" defaultMessage=\"State\" />}\n disabled={getFieldConfigByFieldId(\"state\")?.disabled}\n isRequired={getFieldConfigByFieldId(\"state\")?.requireIfOptional}\n />\n )}\n {optionalFields.includes(\"postalCode\") && (\n <PostalCodeComponent\n required={getFieldConfigByFieldId(\"postalCode\")?.requireIfOptional}\n isErrored={!!fieldValidationErrors.postalCode}\n onChange={(newValue) => {\n updateInactiveMilitaryViewModel(\"postalCode\", newValue);\n updateFieldValidationErrorsByFieldId(\"postalCode\", newValue, verificationService);\n }}\n value={viewModel.postalCode}\n disabled={getFieldConfigByFieldId(\"postalCode\")?.disabled}\n />\n )}\n\n {options.customFormFields.map((config: CustomFormFieldConfig) => (\n <FormFieldCustom config={config} verificationService={verificationService} />\n ))}\n\n <MarketConsentWrapper\n verificationService={verificationService}\n isErrored={!!fieldValidationErrors.marketConsentValue}\n onChange={(newValue) => {\n updateInactiveMilitaryViewModel(\"metadata\", {\n ...verificationService.viewModel.metadata,\n marketConsentValue: newValue,\n });\n updateFieldValidationErrorsByFieldId(\n \"marketConsentValue\",\n newValue,\n verificationService,\n );\n }}\n viewModel={viewModel}\n disabled={getFieldConfigByFieldId(\"marketConsentValue\")?.disabled}\n />\n\n <ExtraMessage verificationService={verificationService} suffix=\"CollectAboveSubmit\" />\n\n <CaptchaComponent\n verificationService={verificationService}\n isErrored={!!fieldValidationErrors.captchaToken}\n />\n\n <PersonalInfoStepSubmitButton\n step={VerificationStepsEnum.collectInactiveMilitaryPersonalInfo}\n verificationService={verificationService}\n viewModel={viewModel}\n failedInstantMatch={failedInstantMatch}\n buttonText={\n <FormattedHTMLMessage\n id=\"step.personalInfo.submitButtonText\"\n defaultMessage=\"Verify My Military Status\"\n />\n }\n />\n </>\n </PersonalInfoWrapper>\n );\n};\n\nexport const StepInactiveMilitaryPersonalInfoComponent = injectIntl(\n StepInactiveMilitaryPersonalInfo,\n);\nexport default StepInactiveMilitaryPersonalInfoComponent;\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;4CAmEa,KAAoC,EAC/C,SACA,6BACoD;CACpD,IAAM,IAAY,EAAoB,WAChC,IACJ,EAAoB,mBAChB,EAAE,6BAA0B,GAC5B,IACJ,EAAoB,sBAChB,IAAqB,EAAsB,CAAoB,GAC/D,CAAC,GAAgB,KAAA,EAA2B,SAAS,CAAC,CAAC,GACvD,IAAoB,EAA6B,GAAqB,CAAI,GAC1E,IAAS,EAAU,aAAa,OAChC,IAAU,EAAW,GAErB,KACJ,GACA,MACG;EACH,EAAoB,gBAClB,EAAwB,GAAK,GAAO,GAAqB,CAAiB,CAC5E;CACF;CAuDA,QA1CG,EAAU,UAAU,KAAqB,EAAkB,WAAW,EAAU,UAChF,EAAU,UACT,EAAoB,qBAAqB,gBACvC,EAAsB,iCAdH;EACvB,IAAM,IAAY,EAAQ,SAAiB,CAAC,CAAC;EAE7C,AADA,EAAO,KAAK,6CAA6C,GACzD,EAAoB,WAClB,EAAsB,uBACtB,GACA,EAAoB,gCAAgC,EAAoB,oBAC1E;CACF,GAQa,GAGb,EAA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ACE,sBACA,GACA,CACF;IACF;IACW;IACX,UAAU,EAAwB,oBAAoB,GAAG;GAC1D,CAAA;GAED,iBAAA,GAAA,EAAA,KAAC,GAAD;IAAmC;IAAqB,QAAO;GAAsB,CAAA;GAErF,iBAAA,GAAA,EAAA,KAAC,GAAD;IACuB;IACrB,WAAW,CAAC,CAAC,EAAsB;GACpC,CAAA;GAED,iBAAA,GAAA,EAAA,KAAC,GAAD;IACE,MAAM,EAAsB;IACP;IACV;IACS;IACpB,YACE,iBAAA,GAAA,EAAA,KAAC,GAAD;KACE,IAAG;KACH,gBAAe;IAChB,CAAA;GAEJ,CAAA;EACD,EAAA,CAAA,CACiB;;AAEzB,GAEa,IAA4C,EACvD,CACF"}
@@ -4,25 +4,25 @@
4
4
  * This file is not intended for use in other contexts and there are no guarantees about its behavior outside of MySheerID.
5
5
  */
6
6
  /**
7
- * VERSION: 2.262.0-alpha.3
8
- * BUILD_TIMESTAMP: 1785444448827
9
- * BUILD_DATE: Thu Jul 30 2026 20:47:28 GMT+0000 (Coordinated Universal Time)
10
- * BUILD_COMMIT: 572623f7bc6b5a1e30face657957b5ba18222d0c
7
+ * VERSION: 2.263.0-alpha.0
8
+ * BUILD_TIMESTAMP: 1785516882559
9
+ * BUILD_DATE: Fri Jul 31 2026 16:54:42 GMT+0000 (Coordinated Universal Time)
10
+ * BUILD_COMMIT: d0963a317ee7ec7a22ae43d6645248a7bac89b11
11
11
  */
12
- import { Mt as e, p as t, s as n } from "./intl-CSRMUNER.js";
13
- import { a as r, n as i, t as a } from "./jsx-runtime-ad-EElqi.js";
14
- import { T as o } from "./FormFooterComponent-DB0-FOF0.js";
12
+ import { Ft as e, p as t, s as n } from "./intl-RejEV_0u.js";
13
+ import { a as r, n as i, t as a } from "./jsx-runtime-C8rHQFpC.js";
14
+ import { D as o } from "./FormFooterComponent-Bf1bxfK_.js";
15
15
  import { $ as s, B as c, G as l, et as u, n as d } from "../_mysheerid-preview.js";
16
- import { a as f, i as p, n as m, o as h, s as g, t as _ } from "./CaptchaComponent-6YC__tfs.js";
17
- import { n as v, t as y } from "./PersonalInfoStepSubmitButton-clzrobVs.js";
18
- import { t as b } from "./BirthDateComponent-Dn4Pkaiz.js";
19
- import { t as x } from "./PostalCodeComponent-COaeeNXA.js";
20
- import { t as S } from "./CountryComponentWrapper-3OT-MoBx.js";
21
- import { t as C } from "./ExtraMessage-LK23_Ou9.js";
22
- import { t as w } from "./ChangeLocaleComponent-Brii1NXA.js";
23
- import { t as T } from "./PersonalInfoStepWrapper-D8lig4zW.js";
24
- import { t as E } from "./StatusComponent-Dxna8rvR.js";
25
- import { t as D } from "./LicensedProfessionalOrganizationComponent-BQmqXV5V.js";
16
+ import { a as f, i as p, n as m, o as h, s as g, t as _ } from "./CaptchaComponent-gd5yubvd.js";
17
+ import { n as v, t as y } from "./PersonalInfoStepSubmitButton-BS7TwIFn.js";
18
+ import { t as b } from "./BirthDateComponent-DiB89V9D.js";
19
+ import { t as x } from "./PostalCodeComponent-DuEPciUA.js";
20
+ import { t as S } from "./CountryComponentWrapper-BGajYZrL.js";
21
+ import { t as C } from "./ExtraMessage-vcQ9SW6K.js";
22
+ import { t as w } from "./ChangeLocaleComponent-BTZAq7uW.js";
23
+ import { t as T } from "./PersonalInfoStepWrapper-CZDrFaqC.js";
24
+ import { t as E } from "./StatusComponent-CvMMC2MR.js";
25
+ import { t as D } from "./LicensedProfessionalOrganizationComponent-CabaokFb.js";
26
26
  //#region src/components/StepLicensedProfessionalPersonalInfo/StepLicensedProfessionalPersonalInfoComponent.tsx
27
27
  var O = a(), k = {
28
28
  LICENSED_COSMETOLOGIST: "Licensed Cosmetologist",
@@ -1 +1 @@
1
- {"version":3,"file":"StepLicensedProfessionalPersonalInfo-B6orcA1q.js","names":[],"sources":["../../src/components/StepLicensedProfessionalPersonalInfo/StepLicensedProfessionalPersonalInfoComponent.tsx"],"sourcesContent":["import { FormattedHTMLMessage, injectIntl } from \"react-intl\";\nimport { produce } from \"immer\";\n\nimport { VerificationStepsEnum } from \"../../lib/types/runtimeTypes\";\nimport { hasFailedInstantMatch } from \"../../lib/VerificationService/VerificationServiceHelpers\";\nimport {\n type CustomFormFieldConfig,\n type FormSelectChoice,\n type LicensedProfessionalPersonalInfoResponse,\n type LicensedProfessionalPersonalInfoViewModel,\n type LicensedProfessionalStatus,\n type Organization,\n type VerificationService,\n} from \"../../lib/types/types\";\nimport {\n getFieldConfigByFieldId,\n handleEmailOnKeyDown,\n updateFieldValidationErrorsByFieldId,\n updateViewModelOrganization,\n} from \"../../lib/utils/stepComponentHelpers/stepComponentHelpers\";\nimport { BirthDateComponent as BirthDate } from \"../FormFields/BirthDate/BirthDateComponent\";\nimport { EmailComponent as Email } from \"../FormFields/Email/EmailComponent\";\nimport { PhoneNumberComponent as PhoneNumber } from \"../FormFields/PhoneNumber/PhoneNumberComponent\";\nimport { FirstNameComponent as FirstName } from \"../FormFields/FirstName/FirstNameComponent\";\nimport { LastNameComponent as LastName } from \"../FormFields/LastName/LastNameComponent\";\nimport { StatusComponent as LicensedProfessionalStatusComponent } from \"../FormFields/Status/StatusComponent\";\nimport { LicensedProfessionalOrganizationComponent as LicensedProfessionalOrganization } from \"../FormFields/LicensedProfessionalOrganization/LicensedProfessionalOrganizationComponent\";\nimport { MarketConsentWrapperComponent as MarketConsentWrapper } from \"../FormFields/MarketConsentWrapper/MarketConsentWrapperComponent\";\nimport { PostalCodeComponent } from \"../FormFields/PostalCode/PostalCodeComponent\";\nimport { getOptions } from \"../../options/options\";\nimport { FormFieldCustom } from \"../FormFields/FormFieldCustom/FormFieldCustom\";\nimport { ExtraMessage } from \"../ExtraMessage\";\nimport { ChangeLocaleV2Component } from \"../FormFields/ChangeLocale/ChangeLocaleComponent\";\nimport { CountryComponentWrapper } from \"../FormFields/Country/CountryComponentWrapper\";\nimport { PersonalInfoWrapper } from \"../PersonalInfoStepWrapper/PersonalInfoStepWrapper\";\nimport { PersonalInfoStepSubmitButton } from \"../PersonalInfoStepSubmitButton/PersonalInfoStepSubmitButton\";\nimport { PersonalInfoHeader } from \"../FormHeader/StepHeaders/PersonalInfoHeaderComponent\";\nimport { CaptchaComponent } from \"../FormFields/Captcha/CaptchaComponent\";\n\ninterface StepLicensedProfessionalPersonalInfoComponentProps {\n verificationService: VerificationService;\n intl: any;\n}\n\ntype DefaultStatusMessages = {\n [key in LicensedProfessionalStatus]: string;\n};\n\nconst defaultStatusMessages: DefaultStatusMessages = {\n LICENSED_COSMETOLOGIST: \"Licensed Cosmetologist\",\n LICENSED_REAL_ESTATE_AGENT: \"Licensed Real Estate Agent\",\n VETERINARIAN: \"Veterinarian\",\n CHILD_CARE_WORKER: \"Child Care Worker\",\n LIBRARIAN: \"Librarian\",\n INTERIOR_DESIGNER: \"Interior Designer\",\n ARCHITECT: \"Architect\",\n GENERAL_CONTRACTOR: \"General Contractor\",\n NUTRITION_PROFESSIONAL: \"Nutrition Professional\",\n};\n\nconst StepLicensedProfessionalPersonalInfo = ({\n intl,\n verificationService,\n}: StepLicensedProfessionalPersonalInfoComponentProps) => {\n const viewModel = verificationService.viewModel as LicensedProfessionalPersonalInfoViewModel;\n const { fieldValidationErrors } = verificationService;\n const verificationResponse =\n verificationService.verificationResponse as LicensedProfessionalPersonalInfoResponse;\n const failedInstantMatch = hasFailedInstantMatch(verificationResponse);\n\n const locale = viewModel.localeChoice.value;\n const options = getOptions();\n\n const updateLicensedProfessionalViewModel = (\n key: keyof LicensedProfessionalPersonalInfoViewModel,\n value: any,\n ) => {\n const nextState: LicensedProfessionalPersonalInfoViewModel = produce(\n viewModel,\n (draft: LicensedProfessionalPersonalInfoViewModel) => {\n (draft[key] as any) = value;\n },\n );\n verificationService.updateViewModel(nextState);\n };\n\n const getStatusLabel = (status: LicensedProfessionalStatus | undefined): string => {\n if (!status) {\n return \"\";\n }\n return intl.formatHTMLMessage({ id: status, defaultMessage: defaultStatusMessages[status] });\n };\n\n const getAvailableLicensedProfessionalStatuses = () => {\n const availableStatusesResponse = verificationResponse.availableStatuses;\n const availableStatuses: FormSelectChoice[] = [];\n\n if (availableStatusesResponse) {\n for (const status of availableStatusesResponse) {\n availableStatuses.push({\n value: status,\n label: getStatusLabel(status),\n });\n }\n }\n return availableStatuses;\n };\n\n return (\n <PersonalInfoWrapper\n verificationService={verificationService}\n step={verificationResponse.currentStep}\n >\n <PersonalInfoHeader\n verificationService={verificationService}\n classNameIdentifier=\"licensed-professional\"\n />\n\n <ChangeLocaleV2Component verificationService={verificationService} />\n <CountryComponentWrapper\n verificationService={verificationService}\n disabled={getFieldConfigByFieldId(\"country\")?.disabled}\n />\n\n <LicensedProfessionalStatusComponent\n segmentId=\"licensed-professional\"\n value={{\n value: viewModel.statuses ? viewModel.statuses[0] : \"\",\n label: viewModel.statuses ? getStatusLabel(viewModel.statuses[0]) : \"\",\n }}\n isErrored={!!fieldValidationErrors.statuses}\n options={getAvailableLicensedProfessionalStatuses()}\n disabled={getFieldConfigByFieldId(\"statuses\")?.disabled}\n onChange={(status: FormSelectChoice) => {\n const updatedStatuses = status ? [status.value as string] : [];\n updateLicensedProfessionalViewModel(\"statuses\", updatedStatuses);\n updateFieldValidationErrorsByFieldId(\n \"statuses\",\n status ? (status.value as string) : \"\",\n verificationService,\n );\n }}\n />\n <LicensedProfessionalOrganization\n isErrored={!!fieldValidationErrors.organization}\n onChange={(choice: Organization) => {\n updateViewModelOrganization(choice, verificationService);\n updateFieldValidationErrorsByFieldId(\"organization\", choice, verificationService);\n }}\n value={\n (verificationService.viewModel as LicensedProfessionalPersonalInfoViewModel).organization\n }\n verificationService={verificationService}\n disabled={getFieldConfigByFieldId(\"organization\")?.disabled}\n />\n <div className=\"sid-names\">\n <FirstName\n value={viewModel.firstName}\n isErrored={!!fieldValidationErrors.firstName}\n disabled={getFieldConfigByFieldId(\"firstName\")?.disabled}\n onChange={(newValue) => {\n updateLicensedProfessionalViewModel(\"firstName\", newValue);\n updateFieldValidationErrorsByFieldId(\"firstName\", newValue, verificationService);\n }}\n />\n\n <LastName\n value={viewModel.lastName}\n isErrored={!!fieldValidationErrors.lastName}\n disabled={getFieldConfigByFieldId(\"lastName\")?.disabled}\n onChange={(newValue) => {\n updateLicensedProfessionalViewModel(\"lastName\", newValue);\n updateFieldValidationErrorsByFieldId(\"lastName\", newValue, verificationService);\n }}\n />\n </div>\n <BirthDate\n errorId={fieldValidationErrors.birthDate}\n locale={locale}\n onChange={(newValue) => {\n updateLicensedProfessionalViewModel(\"birthDate\", newValue);\n updateFieldValidationErrorsByFieldId(\"birthDate\", newValue, verificationService);\n }}\n value={viewModel.birthDate}\n disabled={getFieldConfigByFieldId(\"birthDate\")?.disabled}\n />\n <PostalCodeComponent\n isErrored={!!fieldValidationErrors.postalCode}\n onChange={(newValue) => {\n updateLicensedProfessionalViewModel(\"postalCode\", newValue);\n updateFieldValidationErrorsByFieldId(\"postalCode\", newValue, verificationService);\n }}\n value={viewModel.postalCode}\n disabled={getFieldConfigByFieldId(\"postalCode\")?.disabled}\n explanation={\n <FormattedHTMLMessage\n id=\"postalCodeExplanation\"\n defaultMessage=\"Use the location on file with your licensing body\"\n />\n }\n />\n <Email\n value={viewModel.email}\n isErrored={!!fieldValidationErrors.email}\n explanation={\n <FormattedHTMLMessage\n id=\"emailExplanation\"\n defaultMessage=\"Needed to send you your unique code\"\n />\n }\n onChange={(newValue) => {\n updateLicensedProfessionalViewModel(\"email\", newValue);\n updateFieldValidationErrorsByFieldId(\"email\", newValue, verificationService);\n }}\n onKeyDown={(event) => handleEmailOnKeyDown(event)}\n disabled={getFieldConfigByFieldId(\"email\")?.disabled}\n />\n {verificationService.programTheme.isSmsNotifierConfigured ||\n verificationService.programTheme.smsLoopEnabled ? (\n <PhoneNumber\n isRequired={!!verificationService.programTheme.smsLoopEnabled}\n value={viewModel.phoneNumber}\n isErrored={!!fieldValidationErrors.phoneNumber}\n onChange={(newValue) => {\n updateLicensedProfessionalViewModel(\"phoneNumber\", newValue);\n updateFieldValidationErrorsByFieldId(\"phoneNumber\", newValue, verificationService);\n }}\n selectedCountryCode={viewModel.countryChoice && viewModel.countryChoice.value}\n disabled={getFieldConfigByFieldId(\"phoneNumber\")?.disabled}\n />\n ) : null}\n\n {options.customFormFields.map((config: CustomFormFieldConfig) => (\n <FormFieldCustom config={config} verificationService={verificationService} />\n ))}\n\n <MarketConsentWrapper\n verificationService={verificationService}\n isErrored={!!fieldValidationErrors.marketConsentValue}\n onChange={(newValue) => {\n updateLicensedProfessionalViewModel(\"metadata\", {\n ...verificationService.viewModel.metadata,\n marketConsentValue: newValue,\n });\n updateFieldValidationErrorsByFieldId(\"marketConsentValue\", newValue, verificationService);\n }}\n viewModel={viewModel}\n disabled={getFieldConfigByFieldId(\"marketConsentValue\")?.disabled}\n />\n\n <ExtraMessage verificationService={verificationService} suffix=\"CollectAboveSubmit\" />\n\n <CaptchaComponent\n verificationService={verificationService}\n isErrored={!!fieldValidationErrors.captchaToken}\n />\n\n <PersonalInfoStepSubmitButton\n step={VerificationStepsEnum.collectLicensedProfessionalPersonalInfo}\n verificationService={verificationService}\n viewModel={viewModel}\n failedInstantMatch={failedInstantMatch}\n buttonText={\n <FormattedHTMLMessage\n id=\"step.personalInfo.submitButtonText\"\n defaultMessage=\"Verify My Licensed Professional Status\"\n />\n }\n />\n </PersonalInfoWrapper>\n );\n};\n\nexport const StepLicensedProfessionalPersonalInfoComponent = injectIntl(\n StepLicensedProfessionalPersonalInfo,\n);\n"],"mappings":";;;;;;;;;;;;;;;aAgDM,IAA+C;CACnD,wBAAwB;CACxB,4BAA4B;CAC5B,cAAc;CACd,mBAAmB;CACnB,WAAW;CACX,mBAAmB;CACnB,WAAW;CACX,oBAAoB;CACpB,wBAAwB;AAC1B,GAuNa,IAAgD,GArNf,EAC5C,SACA,6BACwD;CACxD,IAAM,IAAY,EAAoB,WAChC,EAAE,6BAA0B,GAC5B,IACJ,EAAoB,sBAChB,IAAqB,EAAsB,CAAoB,GAE/D,IAAS,EAAU,aAAa,OAChC,IAAU,EAAW,GAErB,KACJ,GACA,MACG;EACH,IAAM,IAAu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../src/components/StepLicensedProfessionalPersonalInfo/StepLicensedProfessionalPersonalInfoComponent.tsx"],"sourcesContent":["import { FormattedHTMLMessage, injectIntl } from \"react-intl\";\nimport { produce } from \"immer\";\n\nimport { VerificationStepsEnum } from \"../../lib/types/runtimeTypes\";\nimport { hasFailedInstantMatch } from \"../../lib/VerificationService/VerificationServiceHelpers\";\nimport {\n type CustomFormFieldConfig,\n type FormSelectChoice,\n type LicensedProfessionalPersonalInfoResponse,\n type LicensedProfessionalPersonalInfoViewModel,\n type LicensedProfessionalStatus,\n type Organization,\n type VerificationService,\n} from \"../../lib/types/types\";\nimport {\n getFieldConfigByFieldId,\n handleEmailOnKeyDown,\n updateFieldValidationErrorsByFieldId,\n updateViewModelOrganization,\n} from \"../../lib/utils/stepComponentHelpers/stepComponentHelpers\";\nimport { BirthDateComponent as BirthDate } from \"../FormFields/BirthDate/BirthDateComponent\";\nimport { EmailComponent as Email } from \"../FormFields/Email/EmailComponent\";\nimport { PhoneNumberComponent as PhoneNumber } from \"../FormFields/PhoneNumber/PhoneNumberComponent\";\nimport { FirstNameComponent as FirstName } from \"../FormFields/FirstName/FirstNameComponent\";\nimport { LastNameComponent as LastName } from \"../FormFields/LastName/LastNameComponent\";\nimport { StatusComponent as LicensedProfessionalStatusComponent } from \"../FormFields/Status/StatusComponent\";\nimport { LicensedProfessionalOrganizationComponent as LicensedProfessionalOrganization } from \"../FormFields/LicensedProfessionalOrganization/LicensedProfessionalOrganizationComponent\";\nimport { MarketConsentWrapperComponent as MarketConsentWrapper } from \"../FormFields/MarketConsentWrapper/MarketConsentWrapperComponent\";\nimport { PostalCodeComponent } from \"../FormFields/PostalCode/PostalCodeComponent\";\nimport { getOptions } from \"../../options/options\";\nimport { FormFieldCustom } from \"../FormFields/FormFieldCustom/FormFieldCustom\";\nimport { ExtraMessage } from \"../ExtraMessage\";\nimport { ChangeLocaleV2Component } from \"../FormFields/ChangeLocale/ChangeLocaleComponent\";\nimport { CountryComponentWrapper } from \"../FormFields/Country/CountryComponentWrapper\";\nimport { PersonalInfoWrapper } from \"../PersonalInfoStepWrapper/PersonalInfoStepWrapper\";\nimport { PersonalInfoStepSubmitButton } from \"../PersonalInfoStepSubmitButton/PersonalInfoStepSubmitButton\";\nimport { PersonalInfoHeader } from \"../FormHeader/StepHeaders/PersonalInfoHeaderComponent\";\nimport { CaptchaComponent } from \"../FormFields/Captcha/CaptchaComponent\";\n\ninterface StepLicensedProfessionalPersonalInfoComponentProps {\n verificationService: VerificationService;\n intl: any;\n}\n\ntype DefaultStatusMessages = {\n [key in LicensedProfessionalStatus]: string;\n};\n\nconst defaultStatusMessages: DefaultStatusMessages = {\n LICENSED_COSMETOLOGIST: \"Licensed Cosmetologist\",\n LICENSED_REAL_ESTATE_AGENT: \"Licensed Real Estate Agent\",\n VETERINARIAN: \"Veterinarian\",\n CHILD_CARE_WORKER: \"Child Care Worker\",\n LIBRARIAN: \"Librarian\",\n INTERIOR_DESIGNER: \"Interior Designer\",\n ARCHITECT: \"Architect\",\n GENERAL_CONTRACTOR: \"General Contractor\",\n NUTRITION_PROFESSIONAL: \"Nutrition Professional\",\n};\n\nconst StepLicensedProfessionalPersonalInfo = ({\n intl,\n verificationService,\n}: StepLicensedProfessionalPersonalInfoComponentProps) => {\n const viewModel = verificationService.viewModel as LicensedProfessionalPersonalInfoViewModel;\n const { fieldValidationErrors } = verificationService;\n const verificationResponse =\n verificationService.verificationResponse as LicensedProfessionalPersonalInfoResponse;\n const failedInstantMatch = hasFailedInstantMatch(verificationResponse);\n\n const locale = viewModel.localeChoice.value;\n const options = getOptions();\n\n const updateLicensedProfessionalViewModel = (\n key: keyof LicensedProfessionalPersonalInfoViewModel,\n value: any,\n ) => {\n const nextState: LicensedProfessionalPersonalInfoViewModel = produce(\n viewModel,\n (draft: LicensedProfessionalPersonalInfoViewModel) => {\n (draft[key] as any) = value;\n },\n );\n verificationService.updateViewModel(nextState);\n };\n\n const getStatusLabel = (status: LicensedProfessionalStatus | undefined): string => {\n if (!status) {\n return \"\";\n }\n return intl.formatHTMLMessage({ id: status, defaultMessage: defaultStatusMessages[status] });\n };\n\n const getAvailableLicensedProfessionalStatuses = () => {\n const availableStatusesResponse = verificationResponse.availableStatuses;\n const availableStatuses: FormSelectChoice[] = [];\n\n if (availableStatusesResponse) {\n for (const status of availableStatusesResponse) {\n availableStatuses.push({\n value: status,\n label: getStatusLabel(status),\n });\n }\n }\n return availableStatuses;\n };\n\n return (\n <PersonalInfoWrapper\n verificationService={verificationService}\n step={verificationResponse.currentStep}\n >\n <PersonalInfoHeader\n verificationService={verificationService}\n classNameIdentifier=\"licensed-professional\"\n />\n\n <ChangeLocaleV2Component verificationService={verificationService} />\n <CountryComponentWrapper\n verificationService={verificationService}\n disabled={getFieldConfigByFieldId(\"country\")?.disabled}\n />\n\n <LicensedProfessionalStatusComponent\n segmentId=\"licensed-professional\"\n value={{\n value: viewModel.statuses ? viewModel.statuses[0] : \"\",\n label: viewModel.statuses ? getStatusLabel(viewModel.statuses[0]) : \"\",\n }}\n isErrored={!!fieldValidationErrors.statuses}\n options={getAvailableLicensedProfessionalStatuses()}\n disabled={getFieldConfigByFieldId(\"statuses\")?.disabled}\n onChange={(status: FormSelectChoice) => {\n const updatedStatuses = status ? [status.value as string] : [];\n updateLicensedProfessionalViewModel(\"statuses\", updatedStatuses);\n updateFieldValidationErrorsByFieldId(\n \"statuses\",\n status ? (status.value as string) : \"\",\n verificationService,\n );\n }}\n />\n <LicensedProfessionalOrganization\n isErrored={!!fieldValidationErrors.organization}\n onChange={(choice: Organization) => {\n updateViewModelOrganization(choice, verificationService);\n updateFieldValidationErrorsByFieldId(\"organization\", choice, verificationService);\n }}\n value={\n (verificationService.viewModel as LicensedProfessionalPersonalInfoViewModel).organization\n }\n verificationService={verificationService}\n disabled={getFieldConfigByFieldId(\"organization\")?.disabled}\n />\n <div className=\"sid-names\">\n <FirstName\n value={viewModel.firstName}\n isErrored={!!fieldValidationErrors.firstName}\n disabled={getFieldConfigByFieldId(\"firstName\")?.disabled}\n onChange={(newValue) => {\n updateLicensedProfessionalViewModel(\"firstName\", newValue);\n updateFieldValidationErrorsByFieldId(\"firstName\", newValue, verificationService);\n }}\n />\n\n <LastName\n value={viewModel.lastName}\n isErrored={!!fieldValidationErrors.lastName}\n disabled={getFieldConfigByFieldId(\"lastName\")?.disabled}\n onChange={(newValue) => {\n updateLicensedProfessionalViewModel(\"lastName\", newValue);\n updateFieldValidationErrorsByFieldId(\"lastName\", newValue, verificationService);\n }}\n />\n </div>\n <BirthDate\n errorId={fieldValidationErrors.birthDate}\n locale={locale}\n onChange={(newValue) => {\n updateLicensedProfessionalViewModel(\"birthDate\", newValue);\n updateFieldValidationErrorsByFieldId(\"birthDate\", newValue, verificationService);\n }}\n value={viewModel.birthDate}\n disabled={getFieldConfigByFieldId(\"birthDate\")?.disabled}\n />\n <PostalCodeComponent\n isErrored={!!fieldValidationErrors.postalCode}\n onChange={(newValue) => {\n updateLicensedProfessionalViewModel(\"postalCode\", newValue);\n updateFieldValidationErrorsByFieldId(\"postalCode\", newValue, verificationService);\n }}\n value={viewModel.postalCode}\n disabled={getFieldConfigByFieldId(\"postalCode\")?.disabled}\n explanation={\n <FormattedHTMLMessage\n id=\"postalCodeExplanation\"\n defaultMessage=\"Use the location on file with your licensing body\"\n />\n }\n />\n <Email\n value={viewModel.email}\n isErrored={!!fieldValidationErrors.email}\n explanation={\n <FormattedHTMLMessage\n id=\"emailExplanation\"\n defaultMessage=\"Needed to send you your unique code\"\n />\n }\n onChange={(newValue) => {\n updateLicensedProfessionalViewModel(\"email\", newValue);\n updateFieldValidationErrorsByFieldId(\"email\", newValue, verificationService);\n }}\n onKeyDown={(event) => handleEmailOnKeyDown(event)}\n disabled={getFieldConfigByFieldId(\"email\")?.disabled}\n />\n {verificationService.programTheme.isSmsNotifierConfigured ||\n verificationService.programTheme.smsLoopEnabled ? (\n <PhoneNumber\n isRequired={!!verificationService.programTheme.smsLoopEnabled}\n value={viewModel.phoneNumber}\n isErrored={!!fieldValidationErrors.phoneNumber}\n onChange={(newValue) => {\n updateLicensedProfessionalViewModel(\"phoneNumber\", newValue);\n updateFieldValidationErrorsByFieldId(\"phoneNumber\", newValue, verificationService);\n }}\n selectedCountryCode={viewModel.countryChoice && viewModel.countryChoice.value}\n disabled={getFieldConfigByFieldId(\"phoneNumber\")?.disabled}\n />\n ) : null}\n\n {options.customFormFields.map((config: CustomFormFieldConfig) => (\n <FormFieldCustom config={config} verificationService={verificationService} />\n ))}\n\n <MarketConsentWrapper\n verificationService={verificationService}\n isErrored={!!fieldValidationErrors.marketConsentValue}\n onChange={(newValue) => {\n updateLicensedProfessionalViewModel(\"metadata\", {\n ...verificationService.viewModel.metadata,\n marketConsentValue: newValue,\n });\n updateFieldValidationErrorsByFieldId(\"marketConsentValue\", newValue, verificationService);\n }}\n viewModel={viewModel}\n disabled={getFieldConfigByFieldId(\"marketConsentValue\")?.disabled}\n />\n\n <ExtraMessage verificationService={verificationService} suffix=\"CollectAboveSubmit\" />\n\n <CaptchaComponent\n verificationService={verificationService}\n isErrored={!!fieldValidationErrors.captchaToken}\n />\n\n <PersonalInfoStepSubmitButton\n step={VerificationStepsEnum.collectLicensedProfessionalPersonalInfo}\n verificationService={verificationService}\n viewModel={viewModel}\n failedInstantMatch={failedInstantMatch}\n buttonText={\n <FormattedHTMLMessage\n id=\"step.personalInfo.submitButtonText\"\n defaultMessage=\"Verify My Licensed Professional Status\"\n />\n }\n />\n </PersonalInfoWrapper>\n );\n};\n\nexport const StepLicensedProfessionalPersonalInfoComponent = injectIntl(\n StepLicensedProfessionalPersonalInfo,\n);\n"],"mappings":";;;;;;;;;;;;;;;aAgDM,IAA+C;CACnD,wBAAwB;CACxB,4BAA4B;CAC5B,cAAc;CACd,mBAAmB;CACnB,WAAW;CACX,mBAAmB;CACnB,WAAW;CACX,oBAAoB;CACpB,wBAAwB;AAC1B,GAuNa,IAAgD,GArNf,EAC5C,SACA,6BACwD;CACxD,IAAM,IAAY,EAAoB,WAChC,EAAE,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