@sheerid/jslib-nightly 2.128.0-alpha.0 → 2.128.0-alpha.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/_mysheerid-preview.css +3 -3
- package/_mysheerid-preview.js +1099 -1070
- package/_mysheerid-preview.js.map +1 -1
- package/chunk/EmailLoopPending-CHILFZYc.js +3 -3
- package/chunk/EmailLoopPending-Nn_H3cfS.js +3 -3
- package/chunk/LicensedProfessionalOrganizationComponent-BYijEfDT.js +3 -3
- package/chunk/LicensedProfessionalOrganizationComponent-CiYU-2dW.js +3 -3
- package/chunk/Onfido-AyvUk6wg.js +3 -3
- package/chunk/StepIDCheckLoopOnfido-Bl1QfUZZ.js +3 -3
- package/chunk/StepIDCheckLoopOnfido-D0kpzIyk.js +3 -3
- package/chunk/StepIDCheckLoopRegula-BkTDnK3G.js +3 -3
- package/chunk/StepIDCheckLoopRegula-D6freNro.js +3 -3
- package/chunk/StepInactiveMilitaryPersonalInfoComponent-CooMPgH1.js +3 -3
- package/chunk/StepInactiveMilitaryPersonalInfoComponent-DTtUadmx.js +3 -3
- package/chunk/ar--TDb5qE5.js +3 -3
- package/chunk/bg-D3cL-ciP.js +3 -3
- package/chunk/bn-IN-BqsOEBPN.js +3 -3
- package/chunk/cs-7pQwm9YC.js +3 -3
- package/chunk/da-C2xASa_G.js +3 -3
- package/chunk/de-D4nlAbMa.js +3 -3
- package/chunk/el-C-PZe5CV.js +3 -3
- package/chunk/en-GB-DXa6bdA_.js +3 -3
- package/chunk/es-CNTVekqW.js +3 -3
- package/chunk/es-ES-inNoG-F1.js +3 -3
- package/chunk/fi-CcolQnAY.js +3 -3
- package/chunk/fr-BjHvlhn5.js +3 -3
- package/chunk/fr-CA-CmZKx-C9.js +3 -3
- package/chunk/ga-D-rK3PZy.js +3 -3
- package/chunk/hi-IN-B5SHv4t9.js +3 -3
- package/chunk/hr-CwvyeMFM.js +3 -3
- package/chunk/hu-BCZWPgvf.js +3 -3
- package/chunk/id-CRNXXELT.js +3 -3
- package/chunk/index--Wcf_zsf.js +3 -3
- package/chunk/index-1Cpf6KJI.js +3 -3
- package/chunk/index-2ob_KvkC.js +3 -3
- package/chunk/index-B4HIyFVA.js +3 -3
- package/chunk/index-B5Db6m8t.js +3 -3
- package/chunk/index-BJg9BX3v.js +3 -3
- package/chunk/index-BLIxYZFr.js +3 -3
- package/chunk/index-BU0HFLKm.js +3 -3
- package/chunk/index-Bofro8C_.js +3 -3
- package/chunk/index-BqUi3r5Z.js +3 -3
- package/chunk/index-Br3LkCoX.js +3 -3
- package/chunk/index-C4OCK6G0.js +3 -3
- package/chunk/index-C8UuTatc.js +3 -3
- package/chunk/index-CVEIzLov.js +3 -3
- package/chunk/index-CcE-GFi6.js +3 -3
- package/chunk/index-CjcYFvhf.js +3 -3
- package/chunk/index-Cnc52tkD.js +3 -3
- package/chunk/index-CoPQ1aC2.js +3 -3
- package/chunk/index-Cu25bQnA.js +3 -3
- package/chunk/index-CxH2IKXK.js +3 -3
- package/chunk/index-CyTruyP6.js +3 -3
- package/chunk/index-DAE3SOJH.js +3 -3
- package/chunk/index-DCTYdT7J.js +3 -3
- package/chunk/index-DFajPA-e.js +3 -3
- package/chunk/index-DHtYIKVA.js +3 -3
- package/chunk/index-DIkWpujR.js +3 -3
- package/chunk/index-DJo820YY.js +3 -3
- package/chunk/index-DSi_yLKY.js +3 -3
- package/chunk/index-DdQD36Ht.js +3 -3
- package/chunk/index-Dg1E2EXp.js +3 -3
- package/chunk/index-DljRrdj9.js +3 -3
- package/chunk/index-N20c5WiN.js +3 -3
- package/chunk/index-SwnUiXjr.js +3 -3
- package/chunk/index-dDH8B6_D.js +3 -3
- package/chunk/index-huf3obhv.js +3 -3
- package/chunk/index-n6fChAZJ.js +3 -3
- package/chunk/index-oHEY5B58.js +3 -3
- package/chunk/index-xgVNIuKt.js +3 -3
- package/chunk/index-zX2rojxg.js +3 -3
- package/chunk/is-BFoDLV-f.js +3 -3
- package/chunk/it-B_iK-eSd.js +3 -3
- package/chunk/iw-DL48t5mZ.js +3 -3
- package/chunk/ja-C5bG2SRl.js +3 -3
- package/chunk/ko-CmmVl873.js +3 -3
- package/chunk/lo-DvBsVm-4.js +3 -3
- package/chunk/lt-DWoqI4gx.js +3 -3
- package/chunk/ms-BCHBEoqA.js +3 -3
- package/chunk/nl-BE-DLixID0q.js +3 -3
- package/chunk/nl-CeBqOv0i.js +3 -3
- package/chunk/no-BR2xqD23.js +3 -3
- package/chunk/pl-Dl77tRgW.js +3 -3
- package/chunk/pt-BR--SxHOWht.js +3 -3
- package/chunk/pt-D0bmI49-.js +3 -3
- package/chunk/ro-HCkS3amY.js +3 -3
- package/chunk/ru-BDMi1lvr.js +3 -3
- package/chunk/sk-C4zNHeM6.js +3 -3
- package/chunk/sl-BbQVw1S0.js +3 -3
- package/chunk/sr-8d4sC8Hd.js +3 -3
- package/chunk/sv-B0-e7r_0.js +3 -3
- package/chunk/sw-Bo9F25Vc.js +3 -3
- package/chunk/th-DDuVbwLh.js +3 -3
- package/chunk/tr-CUwkgj2T.js +3 -3
- package/chunk/uk-BPrGA4MJ.js +3 -3
- package/chunk/ur-Cdtm-A0s.js +3 -3
- package/chunk/useCollectFieldsEndpoint-DFo1yXvN.js +3 -3
- package/chunk/useCollectFieldsEndpoint-DPX8CT4Y.js +3 -3
- package/chunk/useEmailFirstExperiment-DH410dM-.js +3 -3
- package/chunk/useEmailFirstExperiment-q-thhCji.js +3 -3
- package/chunk/vi-JbWizd9m.js +3 -3
- package/chunk/zh-DjbXrser.js +3 -3
- package/chunk/zh-HK-DXcspp2Y.js +3 -3
- package/chunk/zu-BzwZfIDF.js +3 -3
- package/es6.css +3 -3
- package/jslib.js +4 -4
- package/lib/{EmailLoopPending-BzfbZp91.js → EmailLoopPending-BBM_jVFP.js} +4 -4
- package/lib/{EmailLoopPending-BzfbZp91.js.map → EmailLoopPending-BBM_jVFP.js.map} +1 -1
- package/lib/{LicensedProfessionalOrganizationComponent-ByG67b5l.js → LicensedProfessionalOrganizationComponent-CfwB3XN5.js} +4 -4
- package/lib/{LicensedProfessionalOrganizationComponent-ByG67b5l.js.map → LicensedProfessionalOrganizationComponent-CfwB3XN5.js.map} +1 -1
- package/lib/Onfido-AyvUk6wg.js +3 -3
- package/lib/StepCollectMilitaryStatusComponent-C-V9O6M6.js +11 -0
- package/lib/{StepCollectMilitaryStatusComponent-D-nnSo4z.js.map → StepCollectMilitaryStatusComponent-C-V9O6M6.js.map} +1 -1
- package/lib/{StepIDCheckLoopOnfido-BivXkdsm.js → StepIDCheckLoopOnfido-CkD18-jk.js} +4 -4
- package/lib/{StepIDCheckLoopOnfido-BivXkdsm.js.map → StepIDCheckLoopOnfido-CkD18-jk.js.map} +1 -1
- package/lib/{StepIDCheckLoopRegula-B4d0DQIo.js → StepIDCheckLoopRegula-DODkHwvA.js} +4 -4
- package/lib/{StepIDCheckLoopRegula-B4d0DQIo.js.map → StepIDCheckLoopRegula-DODkHwvA.js.map} +1 -1
- package/lib/{StepInactiveMilitaryPersonalInfoComponent-B-lIEGgY.js → StepInactiveMilitaryPersonalInfoComponent-DzATvK3o.js} +5 -5
- package/lib/{StepInactiveMilitaryPersonalInfoComponent-B-lIEGgY.js.map → StepInactiveMilitaryPersonalInfoComponent-DzATvK3o.js.map} +1 -1
- package/lib/{VerificationApiUtils-DZz1GACV.js → VerificationApiUtils-DZdJZP3R.js} +4 -4
- package/lib/{VerificationApiUtils-DZz1GACV.js.map → VerificationApiUtils-DZdJZP3R.js.map} +1 -1
- package/lib/ar--TDb5qE5.js +3 -3
- package/lib/bg-D3cL-ciP.js +3 -3
- package/lib/bn-IN-BqsOEBPN.js +3 -3
- package/lib/cs-7pQwm9YC.js +3 -3
- package/lib/da-C2xASa_G.js +3 -3
- package/lib/de-D4nlAbMa.js +3 -3
- package/lib/el-C-PZe5CV.js +3 -3
- package/lib/en-GB-DXa6bdA_.js +3 -3
- package/lib/es-CNTVekqW.js +3 -3
- package/lib/es-ES-inNoG-F1.js +3 -3
- package/lib/{es6-7oJH07Vy.js → es6-1Lj51mBr.js} +76 -47
- package/lib/{es6-7oJH07Vy.js.map → es6-1Lj51mBr.js.map} +1 -1
- package/lib/fi-CcolQnAY.js +3 -3
- package/lib/fr-BjHvlhn5.js +3 -3
- package/lib/fr-CA-CmZKx-C9.js +3 -3
- package/lib/ga-D-rK3PZy.js +3 -3
- package/lib/hi-IN-B5SHv4t9.js +3 -3
- package/lib/hr-CwvyeMFM.js +3 -3
- package/lib/hu-BCZWPgvf.js +3 -3
- package/lib/id-CRNXXELT.js +3 -3
- package/lib/{index-BHZPAec2.js → index-2Vi8oPT-.js} +4 -4
- package/lib/{index-BHZPAec2.js.map → index-2Vi8oPT-.js.map} +1 -1
- package/lib/{index-CFkUbzrM.js → index-9Bih-9DA.js} +4 -4
- package/lib/{index-CFkUbzrM.js.map → index-9Bih-9DA.js.map} +1 -1
- package/lib/{index-DK7wX3a3.js → index-B2SnwAJc.js} +4 -4
- package/lib/{index-DK7wX3a3.js.map → index-B2SnwAJc.js.map} +1 -1
- package/lib/{index-BbR5eyfI.js → index-BM7i2UKd.js} +4 -4
- package/lib/{index-BbR5eyfI.js.map → index-BM7i2UKd.js.map} +1 -1
- package/lib/{index-DnKya3xa.js → index-BOeW4AVd.js} +5 -5
- package/lib/{index-DnKya3xa.js.map → index-BOeW4AVd.js.map} +1 -1
- package/lib/{index-bEYCkfGN.js → index-BhuSPAg_.js} +5 -5
- package/lib/{index-bEYCkfGN.js.map → index-BhuSPAg_.js.map} +1 -1
- package/lib/index-Bm2AlUx0.js +11 -0
- package/lib/index-Bm2AlUx0.js.map +1 -0
- package/lib/{index-C37O-uN6.js → index-CCthkFLX.js} +5 -5
- package/lib/{index-C37O-uN6.js.map → index-CCthkFLX.js.map} +1 -1
- package/lib/{index-BlXSYWHP.js → index-CLWezuYm.js} +6 -6
- package/lib/{index-BlXSYWHP.js.map → index-CLWezuYm.js.map} +1 -1
- package/lib/{index-Olap6UBu.js → index-Ce8DJi8z.js} +5 -5
- package/lib/{index-Olap6UBu.js.map → index-Ce8DJi8z.js.map} +1 -1
- package/lib/{index-CGW22h12.js → index-D4wqkqB5.js} +4 -4
- package/lib/{index-CGW22h12.js.map → index-D4wqkqB5.js.map} +1 -1
- package/lib/{index-gNRRDtFh.js → index-DDwk_XEP.js} +5 -5
- package/lib/{index-gNRRDtFh.js.map → index-DDwk_XEP.js.map} +1 -1
- package/lib/index-DIkWpujR.js +3 -3
- package/lib/{index-B2wdeL7k.js → index-Dmgo05GK.js} +5 -5
- package/lib/{index-B2wdeL7k.js.map → index-Dmgo05GK.js.map} +1 -1
- package/lib/index-Dp68ZLPw.js +11 -0
- package/lib/index-Dp68ZLPw.js.map +1 -0
- package/lib/{index-BMnOIZs9.js → index-DuDEZOYl.js} +4 -4
- package/lib/{index-BMnOIZs9.js.map → index-DuDEZOYl.js.map} +1 -1
- package/lib/index-DvCXLetC.js +11 -0
- package/lib/index-DvCXLetC.js.map +1 -0
- package/lib/{index-Cox_YUe5.js → index-HFOFVADq.js} +5 -5
- package/lib/{index-Cox_YUe5.js.map → index-HFOFVADq.js.map} +1 -1
- package/lib/{index-D9rG_WAb.js → index-MDKFM74s.js} +4 -4
- package/lib/{index-D9rG_WAb.js.map → index-MDKFM74s.js.map} +1 -1
- package/lib/{index-BgG2DkYt.js → index-S_dLc-4N.js} +6 -6
- package/lib/{index-BgG2DkYt.js.map → index-S_dLc-4N.js.map} +1 -1
- package/lib/{index-DmNULGIr.js → index-Sgf7xlJp.js} +4 -4
- package/lib/{index-DmNULGIr.js.map → index-Sgf7xlJp.js.map} +1 -1
- package/lib/{index-DkizudqO.js → index-cSmMr4E3.js} +4 -4
- package/lib/{index-DkizudqO.js.map → index-cSmMr4E3.js.map} +1 -1
- package/lib/index-dd1acRmC.js +11 -0
- package/lib/index-dd1acRmC.js.map +1 -0
- package/lib/{index-BsFIadui.js → index-raaT32I1.js} +4 -4
- package/lib/{index-BsFIadui.js.map → index-raaT32I1.js.map} +1 -1
- package/lib/is-BFoDLV-f.js +3 -3
- package/lib/it-B_iK-eSd.js +3 -3
- package/lib/iw-DL48t5mZ.js +3 -3
- package/lib/ja-C5bG2SRl.js +3 -3
- package/lib/ko-CmmVl873.js +3 -3
- package/lib/lo-DvBsVm-4.js +3 -3
- package/lib/lt-DWoqI4gx.js +3 -3
- package/lib/ms-BCHBEoqA.js +3 -3
- package/lib/nl-BE-DLixID0q.js +3 -3
- package/lib/nl-CeBqOv0i.js +3 -3
- package/lib/no-BR2xqD23.js +3 -3
- package/lib/pl-Dl77tRgW.js +3 -3
- package/lib/pt-BR--SxHOWht.js +3 -3
- package/lib/pt-D0bmI49-.js +3 -3
- package/lib/ro-HCkS3amY.js +3 -3
- package/lib/ru-BDMi1lvr.js +3 -3
- package/lib/sk-C4zNHeM6.js +3 -3
- package/lib/sl-BbQVw1S0.js +3 -3
- package/lib/sr-8d4sC8Hd.js +3 -3
- package/lib/sv-B0-e7r_0.js +3 -3
- package/lib/sw-Bo9F25Vc.js +3 -3
- package/lib/th-DDuVbwLh.js +3 -3
- package/lib/tr-CUwkgj2T.js +3 -3
- package/lib/uk-BPrGA4MJ.js +3 -3
- package/lib/ur-Cdtm-A0s.js +3 -3
- package/lib/{useCollectFieldsEndpoint-D_75R_wl.js → useCollectFieldsEndpoint-DQh6zNjY.js} +5 -5
- package/lib/{useCollectFieldsEndpoint-D_75R_wl.js.map → useCollectFieldsEndpoint-DQh6zNjY.js.map} +1 -1
- package/lib/{useEmailFirstExperiment-BM-qrFUc.js → useEmailFirstExperiment-wX1ZEZyP.js} +4 -4
- package/lib/{useEmailFirstExperiment-BM-qrFUc.js.map → useEmailFirstExperiment-wX1ZEZyP.js.map} +1 -1
- package/lib/vi-JbWizd9m.js +3 -3
- package/lib/zh-DjbXrser.js +3 -3
- package/lib/zh-HK-DXcspp2Y.js +3 -3
- package/lib/zu-BzwZfIDF.js +3 -3
- package/package.json +1 -1
- package/sheerid-install.css +3 -3
- package/sheerid-install.js +4 -4
- package/sheerid.css +3 -3
- package/sheerid.js +1195 -1166
- package/sheerid.js.map +1 -1
- package/types-reference.zip +0 -0
- package/lib/StepCollectMilitaryStatusComponent-D-nnSo4z.js +0 -11
- package/lib/index-BmncBrPL.js +0 -11
- package/lib/index-BmncBrPL.js.map +0 -1
- package/lib/index-Cog6QUg4.js +0 -11
- package/lib/index-Cog6QUg4.js.map +0 -1
- package/lib/index-DRDDwwmf.js +0 -11
- package/lib/index-DRDDwwmf.js.map +0 -1
- package/lib/index-a07Nbdfj.js +0 -11
- package/lib/index-a07Nbdfj.js.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StepInactiveMilitaryPersonalInfoComponent-B-lIEGgY.js","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 \"../../lib/utils/logger/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\";\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 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 <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"],"names":["StepInactiveMilitaryPersonalInfo","intl","verificationService","viewModel","previousViewModel","fieldValidationErrors","verificationResponse","failedInstantMatch","hasFailedInstantMatch","optionalFields","setOptionalFields","React","availableStatuses","getAvailableMilitaryStatuses","locale","options","getOptions","updateInactiveMilitaryViewModel","key","value","updateMilitaryViewModel","submitStep","nextState","produce","logger","VerificationStepsEnum","_a","collectFieldsResponse","getFieldsToCollect","_c","_b","f","error","resetRefs","jsxs","PersonalInfoWrapper","jsx","PersonalInfoHeader","Fragment","ChangeLocaleV2Component","CountryComponentWrapper","getFieldConfigByFieldId","MilitaryStatus","getStatusLabel","MilitaryStatusDefaultMessagesEnum","status","updateFieldValidationErrorsByFieldId","BranchOfService","choice","updateViewModelOrganization","FirstName","_d","newValue","LastName","_e","BirthDate","_f","ActiveDutyStartDateComponent","_g","DischargeDate","_h","Email","FormattedHTMLMessage","event","handleEmailOnKeyDown","_i","PhoneNumber","_j","AddressComponent","_k","_l","CityComponent","_m","_n","StateSelectComponent","getAvailableStateChoices","stateChoice","stateValue","_o","_p","PostalCodeComponent","_q","_r","config","FormFieldCustom","MarketConsentWrapper","_s","ExtraMessage","PersonalInfoStepSubmitButton","StepInactiveMilitaryPersonalInfoComponent","injectIntl"],"mappings":";;;;AAkEO,MAAMA,KAAmC,CAAC;AAAA,EAC/C,MAAAC;AAAA,EACA,qBAAAC;AACF,MAAsD;;AACpD,QAAMC,IAAYD,EAAoB,WAChCE,IACJF,EAAoB,mBAChB,EAAE,uBAAAG,MAA0BH,GAC5BI,IACJJ,EAAoB,sBAChBK,IAAqBC,EAAsBF,CAAoB,GAC/D,CAACG,GAAgBC,CAAiB,IAAIC,EAAM,SAAS,CAAA,CAAE,GACvDC,IAAoBC,EAA6BX,GAAqBD,CAAI,GAC1Ea,IAASX,EAAU,aAAa,OAChCY,IAAUC,EAAW,GAErBC,IAAkC,CACtCC,GACAC,MACG;AACiB,IAAAjB,EAAA;AAAA,MAClBkB,GAAwBF,GAAKC,GAAOjB,GAAqBU,CAAiB;AAAA,IAC5E;AAAA,EACF,GAEMS,IAAa,MAAM;AACjB,UAAAC,IAAYC,GAAQpB,GAAW,MAAM;AAAA,IAAA,C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AAA,cACnC,UAAU,CAAC+C,MAAa;AACtB,gBAAAnC,EAAgC,YAAY;AAAA,kBAC1C,GAAGf,EAAoB,UAAU;AAAA,kBACjC,oBAAoBkD;AAAA,gBAAA,CACrB,GACDN;AAAA,kBACE;AAAA,kBACAM;AAAA,kBACAlD;AAAA,gBACF;AAAA,cACF;AAAA,cACA,WAAAC;AAAA,cACA,WAAUmF,IAAA7C,EAAwB,oBAAoB,MAA5C,gBAAA6C,EAA+C;AAAA,YAAA;AAAA,UAC3D;AAAA,UAEClD,gBAAAA,EAAAA,IAAAmD,IAAA,EAAa,qBAAArF,GAA0C,QAAO,qBAAqB,CAAA;AAAA,UAEpFkC,gBAAAA,EAAA;AAAA,YAACoD;AAAA,YAAA;AAAA,cACC,MAAM/D,EAAsB;AAAA,cAC5B,qBAAAvB;AAAA,cACA,WAAAC;AAAA,cACA,oBAAAI;AAAA,cACA,YACE6B,gBAAAA,EAAA;AAAA,gBAAC0B;AAAA,gBAAA;AAAA,kBACC,IAAG;AAAA,kBACH,gBAAe;AAAA,gBAAA;AAAA,cAAA;AAAA,YACjB;AAAA,UAAA;AAAA,QAEJ,EACF,CAAA;AAAA,MAAA;AAAA,IAAA;AAAA,EACF;AAEJ,GAEa2B,KAA4CC;AAAA,EACvD1F;AACF;"}
|
|
1
|
+
{"version":3,"file":"StepInactiveMilitaryPersonalInfoComponent-DzATvK3o.js","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 \"../../lib/utils/logger/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\";\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 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 <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"],"names":["StepInactiveMilitaryPersonalInfo","intl","verificationService","viewModel","previousViewModel","fieldValidationErrors","verificationResponse","failedInstantMatch","hasFailedInstantMatch","optionalFields","setOptionalFields","React","availableStatuses","getAvailableMilitaryStatuses","locale","options","getOptions","updateInactiveMilitaryViewModel","key","value","updateMilitaryViewModel","submitStep","nextState","produce","logger","VerificationStepsEnum","_a","collectFieldsResponse","getFieldsToCollect","_c","_b","f","error","resetRefs","jsxs","PersonalInfoWrapper","jsx","PersonalInfoHeader","Fragment","ChangeLocaleV2Component","CountryComponentWrapper","getFieldConfigByFieldId","MilitaryStatus","getStatusLabel","MilitaryStatusDefaultMessagesEnum","status","updateFieldValidationErrorsByFieldId","BranchOfService","choice","updateViewModelOrganization","FirstName","_d","newValue","LastName","_e","BirthDate","_f","ActiveDutyStartDateComponent","_g","DischargeDate","_h","Email","FormattedHTMLMessage","event","handleEmailOnKeyDown","_i","PhoneNumber","_j","AddressComponent","_k","_l","CityComponent","_m","_n","StateSelectComponent","getAvailableStateChoices","stateChoice","stateValue","_o","_p","PostalCodeComponent","_q","_r","config","FormFieldCustom","MarketConsentWrapper","_s","ExtraMessage","PersonalInfoStepSubmitButton","StepInactiveMilitaryPersonalInfoComponent","injectIntl"],"mappings":";;;;AAkEO,MAAMA,KAAmC,CAAC;AAAA,EAC/C,MAAAC;AAAA,EACA,qBAAAC;AACF,MAAsD;;AACpD,QAAMC,IAAYD,EAAoB,WAChCE,IACJF,EAAoB,mBAChB,EAAE,uBAAAG,M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 @@
|
|
|
1
1
|
|
|
2
2
|
/**
|
|
3
|
-
* VERSION: 2.128.0-alpha.
|
|
4
|
-
* BUILD_TIMESTAMP:
|
|
5
|
-
* BUILD_DATE: Wed Sep 24 2025
|
|
3
|
+
* VERSION: 2.128.0-alpha.1
|
|
4
|
+
* BUILD_TIMESTAMP: 1758707446118
|
|
5
|
+
* BUILD_DATE: Wed Sep 24 2025 09:50:46 GMT+0000 (Coordinated Universal Time)
|
|
6
6
|
* BUILD_COMMIT: 654d7fc1aaba56601eb06bfc20080f48c256040c
|
|
7
7
|
*/
|
|
8
|
-
import { V as n, s as i, P as l, g as a } from "./es6-
|
|
8
|
+
import { V as n, s as i, P as l, g as a } from "./es6-1Lj51mBr.js";
|
|
9
9
|
async function d(r, e, t) {
|
|
10
10
|
if (n[e]) {
|
|
11
11
|
const s = i[e](t), o = await l(
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"VerificationApiUtils-
|
|
1
|
+
{"version":3,"file":"VerificationApiUtils-DZdJZP3R.js","sources":["../../src/lib/ServerApi/VerificationApiUtils.ts"],"sourcesContent":["import { VerificationStepsEnum } from \"../types/runtimeTypes\";\nimport { CollectFieldsResponse, DatabaseId, VerificationStep, ViewModel } from \"../types/types\";\nimport { getFieldsToCollectUrl } from \"./ApiUrls\";\nimport * as Network from \"./Network\";\nimport { stepToRequest } from \"./StepToRequest\";\n\n/**\n * EXPERIMENTAL - Check which fields are required and optional for a given view model\n */\nexport async function getFieldsToCollect(\n verificationId: DatabaseId,\n step: VerificationStep,\n viewModel: ViewModel,\n): Promise<CollectFieldsResponse> {\n if (VerificationStepsEnum[step]) {\n const requestBody = stepToRequest[step](viewModel);\n const response = (await Network.PostJson(\n getFieldsToCollectUrl(verificationId, step),\n requestBody,\n )) as CollectFieldsResponse;\n if (response.currentStep === \"error\") {\n throw new Error(`Failed to determine fields to collect: ${response}`);\n }\n return response as CollectFieldsResponse;\n }\n throw new Error(`Unknown step ${step}`);\n}\n"],"names":["getFieldsToCollect","verificationId","step","viewModel","VerificationStepsEnum","requestBody","stepToRequest","response","Network.PostJson","getFieldsToCollectUrl"],"mappings":";AASsB,eAAAA,EACpBC,GACAC,GACAC,GACgC;AAC5B,MAAAC,EAAsBF,CAAI,GAAG;AAC/B,UAAMG,IAAcC,EAAcJ,CAAI,EAAEC,CAAS,GAC3CI,IAAY,MAAMC;AAAAA,MACtBC,EAAsBR,GAAgBC,CAAI;AAAA,MAC1CG;AAAA,IACF;AACI,QAAAE,EAAS,gBAAgB;AAC3B,YAAM,IAAI,MAAM,0CAA0CA,CAAQ,EAAE;AAE/D,WAAAA;AAAA,EAAA;AAET,QAAM,IAAI,MAAM,gBAAgBL,CAAI,EAAE;AACxC;"}
|
package/lib/ar--TDb5qE5.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
|
|
2
2
|
/**
|
|
3
|
-
* VERSION: 2.128.0-alpha.
|
|
4
|
-
* BUILD_TIMESTAMP:
|
|
5
|
-
* BUILD_DATE: Wed Sep 24 2025
|
|
3
|
+
* VERSION: 2.128.0-alpha.1
|
|
4
|
+
* BUILD_TIMESTAMP: 1758707446118
|
|
5
|
+
* BUILD_DATE: Wed Sep 24 2025 09:50:46 GMT+0000 (Coordinated Universal Time)
|
|
6
6
|
* BUILD_COMMIT: 654d7fc1aaba56601eb06bfc20080f48c256040c
|
|
7
7
|
*/
|
|
8
8
|
const e = {
|
package/lib/bg-D3cL-ciP.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
|
|
2
2
|
/**
|
|
3
|
-
* VERSION: 2.128.0-alpha.
|
|
4
|
-
* BUILD_TIMESTAMP:
|
|
5
|
-
* BUILD_DATE: Wed Sep 24 2025
|
|
3
|
+
* VERSION: 2.128.0-alpha.1
|
|
4
|
+
* BUILD_TIMESTAMP: 1758707446118
|
|
5
|
+
* BUILD_DATE: Wed Sep 24 2025 09:50:46 GMT+0000 (Coordinated Universal Time)
|
|
6
6
|
* BUILD_COMMIT: 654d7fc1aaba56601eb06bfc20080f48c256040c
|
|
7
7
|
*/
|
|
8
8
|
const e = {
|
package/lib/bn-IN-BqsOEBPN.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
|
|
2
2
|
/**
|
|
3
|
-
* VERSION: 2.128.0-alpha.
|
|
4
|
-
* BUILD_TIMESTAMP:
|
|
5
|
-
* BUILD_DATE: Wed Sep 24 2025
|
|
3
|
+
* VERSION: 2.128.0-alpha.1
|
|
4
|
+
* BUILD_TIMESTAMP: 1758707446118
|
|
5
|
+
* BUILD_DATE: Wed Sep 24 2025 09:50:46 GMT+0000 (Coordinated Universal Time)
|
|
6
6
|
* BUILD_COMMIT: 654d7fc1aaba56601eb06bfc20080f48c256040c
|
|
7
7
|
*/
|
|
8
8
|
const e = {
|
package/lib/cs-7pQwm9YC.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
|
|
2
2
|
/**
|
|
3
|
-
* VERSION: 2.128.0-alpha.
|
|
4
|
-
* BUILD_TIMESTAMP:
|
|
5
|
-
* BUILD_DATE: Wed Sep 24 2025
|
|
3
|
+
* VERSION: 2.128.0-alpha.1
|
|
4
|
+
* BUILD_TIMESTAMP: 1758707446118
|
|
5
|
+
* BUILD_DATE: Wed Sep 24 2025 09:50:46 GMT+0000 (Coordinated Universal Time)
|
|
6
6
|
* BUILD_COMMIT: 654d7fc1aaba56601eb06bfc20080f48c256040c
|
|
7
7
|
*/
|
|
8
8
|
const e = {
|
package/lib/da-C2xASa_G.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
|
|
2
2
|
/**
|
|
3
|
-
* VERSION: 2.128.0-alpha.
|
|
4
|
-
* BUILD_TIMESTAMP:
|
|
5
|
-
* BUILD_DATE: Wed Sep 24 2025
|
|
3
|
+
* VERSION: 2.128.0-alpha.1
|
|
4
|
+
* BUILD_TIMESTAMP: 1758707446118
|
|
5
|
+
* BUILD_DATE: Wed Sep 24 2025 09:50:46 GMT+0000 (Coordinated Universal Time)
|
|
6
6
|
* BUILD_COMMIT: 654d7fc1aaba56601eb06bfc20080f48c256040c
|
|
7
7
|
*/
|
|
8
8
|
const e = {
|
package/lib/de-D4nlAbMa.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
|
|
2
2
|
/**
|
|
3
|
-
* VERSION: 2.128.0-alpha.
|
|
4
|
-
* BUILD_TIMESTAMP:
|
|
5
|
-
* BUILD_DATE: Wed Sep 24 2025
|
|
3
|
+
* VERSION: 2.128.0-alpha.1
|
|
4
|
+
* BUILD_TIMESTAMP: 1758707446118
|
|
5
|
+
* BUILD_DATE: Wed Sep 24 2025 09:50:46 GMT+0000 (Coordinated Universal Time)
|
|
6
6
|
* BUILD_COMMIT: 654d7fc1aaba56601eb06bfc20080f48c256040c
|
|
7
7
|
*/
|
|
8
8
|
const e = {
|
package/lib/el-C-PZe5CV.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
|
|
2
2
|
/**
|
|
3
|
-
* VERSION: 2.128.0-alpha.
|
|
4
|
-
* BUILD_TIMESTAMP:
|
|
5
|
-
* BUILD_DATE: Wed Sep 24 2025
|
|
3
|
+
* VERSION: 2.128.0-alpha.1
|
|
4
|
+
* BUILD_TIMESTAMP: 1758707446118
|
|
5
|
+
* BUILD_DATE: Wed Sep 24 2025 09:50:46 GMT+0000 (Coordinated Universal Time)
|
|
6
6
|
* BUILD_COMMIT: 654d7fc1aaba56601eb06bfc20080f48c256040c
|
|
7
7
|
*/
|
|
8
8
|
const e = {
|
package/lib/en-GB-DXa6bdA_.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
|
|
2
2
|
/**
|
|
3
|
-
* VERSION: 2.128.0-alpha.
|
|
4
|
-
* BUILD_TIMESTAMP:
|
|
5
|
-
* BUILD_DATE: Wed Sep 24 2025
|
|
3
|
+
* VERSION: 2.128.0-alpha.1
|
|
4
|
+
* BUILD_TIMESTAMP: 1758707446118
|
|
5
|
+
* BUILD_DATE: Wed Sep 24 2025 09:50:46 GMT+0000 (Coordinated Universal Time)
|
|
6
6
|
* BUILD_COMMIT: 654d7fc1aaba56601eb06bfc20080f48c256040c
|
|
7
7
|
*/
|
|
8
8
|
const e = {
|
package/lib/es-CNTVekqW.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
|
|
2
2
|
/**
|
|
3
|
-
* VERSION: 2.128.0-alpha.
|
|
4
|
-
* BUILD_TIMESTAMP:
|
|
5
|
-
* BUILD_DATE: Wed Sep 24 2025
|
|
3
|
+
* VERSION: 2.128.0-alpha.1
|
|
4
|
+
* BUILD_TIMESTAMP: 1758707446118
|
|
5
|
+
* BUILD_DATE: Wed Sep 24 2025 09:50:46 GMT+0000 (Coordinated Universal Time)
|
|
6
6
|
* BUILD_COMMIT: 654d7fc1aaba56601eb06bfc20080f48c256040c
|
|
7
7
|
*/
|
|
8
8
|
const e = {
|
package/lib/es-ES-inNoG-F1.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
|
|
2
2
|
/**
|
|
3
|
-
* VERSION: 2.128.0-alpha.
|
|
4
|
-
* BUILD_TIMESTAMP:
|
|
5
|
-
* BUILD_DATE: Wed Sep 24 2025
|
|
3
|
+
* VERSION: 2.128.0-alpha.1
|
|
4
|
+
* BUILD_TIMESTAMP: 1758707446118
|
|
5
|
+
* BUILD_DATE: Wed Sep 24 2025 09:50:46 GMT+0000 (Coordinated Universal Time)
|
|
6
6
|
* BUILD_COMMIT: 654d7fc1aaba56601eb06bfc20080f48c256040c
|
|
7
7
|
*/
|
|
8
8
|
const e = {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
|
|
2
2
|
/**
|
|
3
|
-
* VERSION: 2.128.0-alpha.
|
|
4
|
-
* BUILD_TIMESTAMP:
|
|
5
|
-
* BUILD_DATE: Wed Sep 24 2025
|
|
3
|
+
* VERSION: 2.128.0-alpha.1
|
|
4
|
+
* BUILD_TIMESTAMP: 1758707446118
|
|
5
|
+
* BUILD_DATE: Wed Sep 24 2025 09:50:46 GMT+0000 (Coordinated Universal Time)
|
|
6
6
|
* BUILD_COMMIT: 654d7fc1aaba56601eb06bfc20080f48c256040c
|
|
7
7
|
*/
|
|
8
8
|
var BM = Object.defineProperty;
|
|
@@ -105,7 +105,7 @@ const e0 = (e) => e && e.stack && e.message, Ii = (...e) => {
|
|
|
105
105
|
locale: ve(() => o.programTheme.intl.locale),
|
|
106
106
|
isTestMode: ve(() => o.programTheme.isTestMode),
|
|
107
107
|
openOrgSearchEnabled: ve(() => o.programTheme.openOrgSearchEnabled),
|
|
108
|
-
jslibVerActual: ve(() => "2.128.0-alpha.
|
|
108
|
+
jslibVerActual: ve(() => "2.128.0-alpha.1", "?"),
|
|
109
109
|
...r
|
|
110
110
|
};
|
|
111
111
|
}
|
|
@@ -3674,7 +3674,7 @@ const $$ = (e, t) => {
|
|
|
3674
3674
|
}, _y = () => `${Ie().restApi.serviceUrl}${Ie().restApi.resources.verification}`, Cw = (e) => `${_y()}${e}`, Tw = () => _y(), Pw = (e, t = null) => {
|
|
3675
3675
|
const r = `${Ie().restApi.serviceUrl}${Ie().restApi.resources.program.base}${e}/${Ie().restApi.resources.program.theme}`;
|
|
3676
3676
|
return t ? `${r}?locale=${t}` : `${r}`;
|
|
3677
|
-
}, Rw = (e) => `${Ie().restApi.serviceUrl}rest/v2/verification/${e}/step/smsLoop/retry`, Aw = (e) => `${Ie().restApi.serviceUrl}rest/v2/verification/${e}/step/emailLoop/retry`, Nw = (e, t) => `${Ie().restApi.serviceUrl}rest/v2/verification/${e}/${t}/fields`, Ow = (e, t) => `${Ie().restApi.serviceUrl}rest/v2/verification/${e}/step/idCheckLoop/getDocumentTypesForCountries?countries=${t}`, V$ = (e, t, r) => `${Ie().restApi.serviceUrl}rest/v2/verification/${e}/barcode?rewardKey=${t}&symbology=${r}`, Dd = () => "2.128.0-alpha.
|
|
3677
|
+
}, Rw = (e) => `${Ie().restApi.serviceUrl}rest/v2/verification/${e}/step/smsLoop/retry`, Aw = (e) => `${Ie().restApi.serviceUrl}rest/v2/verification/${e}/step/emailLoop/retry`, Nw = (e, t) => `${Ie().restApi.serviceUrl}rest/v2/verification/${e}/${t}/fields`, Ow = (e, t) => `${Ie().restApi.serviceUrl}rest/v2/verification/${e}/step/idCheckLoop/getDocumentTypesForCountries?countries=${t}`, V$ = (e, t, r) => `${Ie().restApi.serviceUrl}rest/v2/verification/${e}/barcode?rewardKey=${t}&symbology=${r}`, Dd = () => "2.128.0-alpha.1", Dw = () => window.location.href, Ly = () => {
|
|
3678
3678
|
try {
|
|
3679
3679
|
const e = new URLSearchParams(window.location.search);
|
|
3680
3680
|
if (e.get(Gr))
|
|
@@ -13784,25 +13784,25 @@ const mI = ({
|
|
|
13784
13784
|
}, td = ze(GD), WD = {
|
|
13785
13785
|
StepPendingComponent: _D,
|
|
13786
13786
|
StepErrorComponent: td,
|
|
13787
|
-
StepStudentPersonalInfoComponent: te.lazy(() => import("./index-
|
|
13788
|
-
StepOverrideComponent: te.lazy(() => import("./index-
|
|
13789
|
-
StepAgePersonalInfoComponent: te.lazy(() => import("./index-
|
|
13790
|
-
StepSeniorPersonalInfoComponent: te.lazy(() => import("./index-
|
|
13787
|
+
StepStudentPersonalInfoComponent: te.lazy(() => import("./index-Dmgo05GK.js")),
|
|
13788
|
+
StepOverrideComponent: te.lazy(() => import("./index-Bm2AlUx0.js")),
|
|
13789
|
+
StepAgePersonalInfoComponent: te.lazy(() => import("./index-BhuSPAg_.js")),
|
|
13790
|
+
StepSeniorPersonalInfoComponent: te.lazy(() => import("./index-BhuSPAg_.js")),
|
|
13791
13791
|
StepActiveMilitaryPersonalInfoComponent: te.lazy(
|
|
13792
13792
|
() => Promise.resolve().then(() => XF)
|
|
13793
13793
|
),
|
|
13794
13794
|
StepCollectMilitaryStatusComponent: te.lazy(
|
|
13795
|
-
() => import("./StepCollectMilitaryStatusComponent-
|
|
13795
|
+
() => import("./StepCollectMilitaryStatusComponent-C-V9O6M6.js")
|
|
13796
13796
|
),
|
|
13797
13797
|
StepInactiveMilitaryPersonalInfoComponent: te.lazy(
|
|
13798
|
-
() => import("./StepInactiveMilitaryPersonalInfoComponent-
|
|
13798
|
+
() => import("./StepInactiveMilitaryPersonalInfoComponent-DzATvK3o.js")
|
|
13799
13799
|
),
|
|
13800
13800
|
StepDriverLicensePersonalInfoComponent: te.lazy(
|
|
13801
13801
|
() => Promise.resolve().then(() => a$)
|
|
13802
13802
|
),
|
|
13803
|
-
StepEmploymentPersonalInfoComponent: te.lazy(() => import("./index-
|
|
13803
|
+
StepEmploymentPersonalInfoComponent: te.lazy(() => import("./index-B2SnwAJc.js")),
|
|
13804
13804
|
StepFirstResponderPersonalInfoComponent: te.lazy(
|
|
13805
|
-
() => import("./index-
|
|
13805
|
+
() => import("./index-CCthkFLX.js")
|
|
13806
13806
|
),
|
|
13807
13807
|
StepGeneralIdentityPersonalInfoComponent: te.lazy(
|
|
13808
13808
|
() => Promise.resolve().then(() => o$)
|
|
@@ -13810,29 +13810,29 @@ const mI = ({
|
|
|
13810
13810
|
StepHybridIdentityPersonalInfoComponent: te.lazy(
|
|
13811
13811
|
() => Promise.resolve().then(() => s$)
|
|
13812
13812
|
),
|
|
13813
|
-
StepIDCheckLoopComponent: te.lazy(() => import("./index-
|
|
13813
|
+
StepIDCheckLoopComponent: te.lazy(() => import("./index-CLWezuYm.js")),
|
|
13814
13814
|
StepLicensedProfessionalPersonalInfoComponent: te.lazy(
|
|
13815
|
-
() => import("./index-
|
|
13815
|
+
() => import("./index-HFOFVADq.js")
|
|
13816
13816
|
),
|
|
13817
|
-
StepLowIncomePersonalInfoComponent: te.lazy(() => import("./index-
|
|
13817
|
+
StepLowIncomePersonalInfoComponent: te.lazy(() => import("./index-dd1acRmC.js")),
|
|
13818
13818
|
StepMedicalProfessionalPersonalInfoComponent: te.lazy(
|
|
13819
|
-
() => import("./index-
|
|
13819
|
+
() => import("./index-S_dLc-4N.js")
|
|
13820
13820
|
),
|
|
13821
|
-
StepMemberPersonalInfoComponent: te.lazy(() => import("./index-
|
|
13822
|
-
StepConsolationComponent: te.lazy(() => import("./index-
|
|
13823
|
-
StepDocUploadComponent: te.lazy(() => import("./index-
|
|
13824
|
-
StepEmailLoopComponent: te.lazy(() => import("./index-
|
|
13825
|
-
StepPendingEmailLoopComponent: te.lazy(() => import("./EmailLoopPending-
|
|
13826
|
-
StepMoverPersonalInfoComponent: te.lazy(() => import("./index-
|
|
13827
|
-
StepSMSLoopComponent: te.lazy(() => import("./index-
|
|
13828
|
-
StepSocialSecurity: te.lazy(() => import("./index-
|
|
13829
|
-
StepSSOComponent: te.lazy(() => import("./index-
|
|
13830
|
-
StepSuccessComponent: te.lazy(() => import("./index-
|
|
13831
|
-
StepTeacherPersonalInfoComponent: te.lazy(() => import("./index-
|
|
13832
|
-
StepCompleteAuthentication: te.lazy(() => import("./index-
|
|
13833
|
-
StepCollectIdentifierComponent: te.lazy(() => import("./index-
|
|
13834
|
-
StepCollectPersonalInfo: te.lazy(() => import("./index-
|
|
13835
|
-
StepThirdPartyLoopComponent: te.lazy(() => import("./index-
|
|
13821
|
+
StepMemberPersonalInfoComponent: te.lazy(() => import("./index-D4wqkqB5.js")),
|
|
13822
|
+
StepConsolationComponent: te.lazy(() => import("./index-BM7i2UKd.js")),
|
|
13823
|
+
StepDocUploadComponent: te.lazy(() => import("./index-MDKFM74s.js")),
|
|
13824
|
+
StepEmailLoopComponent: te.lazy(() => import("./index-DDwk_XEP.js")),
|
|
13825
|
+
StepPendingEmailLoopComponent: te.lazy(() => import("./EmailLoopPending-BBM_jVFP.js")),
|
|
13826
|
+
StepMoverPersonalInfoComponent: te.lazy(() => import("./index-cSmMr4E3.js")),
|
|
13827
|
+
StepSMSLoopComponent: te.lazy(() => import("./index-raaT32I1.js")),
|
|
13828
|
+
StepSocialSecurity: te.lazy(() => import("./index-9Bih-9DA.js")),
|
|
13829
|
+
StepSSOComponent: te.lazy(() => import("./index-DvCXLetC.js")),
|
|
13830
|
+
StepSuccessComponent: te.lazy(() => import("./index-2Vi8oPT-.js")),
|
|
13831
|
+
StepTeacherPersonalInfoComponent: te.lazy(() => import("./index-BOeW4AVd.js")),
|
|
13832
|
+
StepCompleteAuthentication: te.lazy(() => import("./index-Sgf7xlJp.js")),
|
|
13833
|
+
StepCollectIdentifierComponent: te.lazy(() => import("./index-DuDEZOYl.js")),
|
|
13834
|
+
StepCollectPersonalInfo: te.lazy(() => import("./index-Ce8DJi8z.js")),
|
|
13835
|
+
StepThirdPartyLoopComponent: te.lazy(() => import("./index-Dp68ZLPw.js"))
|
|
13836
13836
|
}, Ze = (e) => {
|
|
13837
13837
|
A.info("getComponent", e);
|
|
13838
13838
|
const t = sP(e);
|
|
@@ -19298,10 +19298,39 @@ VS.defaultProps = {
|
|
|
19298
19298
|
id: void 0
|
|
19299
19299
|
};
|
|
19300
19300
|
const Tj = VS, Pj = ({ label: e }) => /* @__PURE__ */ u.jsxs(u.Fragment, { children: [
|
|
19301
|
-
/* @__PURE__ */ u.jsxs(
|
|
19302
|
-
"
|
|
19303
|
-
|
|
19304
|
-
|
|
19301
|
+
/* @__PURE__ */ u.jsxs(
|
|
19302
|
+
"span",
|
|
19303
|
+
{
|
|
19304
|
+
style: {
|
|
19305
|
+
fontWeight: 600,
|
|
19306
|
+
marginRight: 10,
|
|
19307
|
+
marginLeft: 10,
|
|
19308
|
+
display: "inline-flex",
|
|
19309
|
+
alignItems: "center"
|
|
19310
|
+
},
|
|
19311
|
+
children: [
|
|
19312
|
+
/* @__PURE__ */ u.jsx(
|
|
19313
|
+
"svg",
|
|
19314
|
+
{
|
|
19315
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
19316
|
+
viewBox: "3.48 3.06 67.67 37.07",
|
|
19317
|
+
"aria-hidden": "true",
|
|
19318
|
+
focusable: "false",
|
|
19319
|
+
style: { height: "1em", width: "auto", marginRight: 8, display: "inline-block" },
|
|
19320
|
+
children: /* @__PURE__ */ u.jsx(
|
|
19321
|
+
"path",
|
|
19322
|
+
{
|
|
19323
|
+
fill: "currentColor",
|
|
19324
|
+
stroke: "none",
|
|
19325
|
+
d: "m 4.53,38.37 -1.05,-1.75 2.56,-0.81 c 4.27,-1.35 9.26,-3.96 12.59,-6.59 0.46,-0.36 0.47,-0.45 0.11,-0.87 -4.36,-5.09 -5.75,-7.32 -7.63,-12.24 l -0.96,-2.51 -2.96,-0.07 -2.96,-0.07 V 11.48 9.5 h 7.81 c 7.41,0 7.8,-0.02 7.56,-0.47 -0.14,-0.26 -0.92,-1.4 -1.73,-2.53 -0.81,-1.13 -1.48,-2.1 -1.48,-2.16 0,-0.05 0.63,-0.33 1.39,-0.61 2.65,-0.98 2.41,-1.04 3.57,0.8 0.58,0.92 1.43,2.41 1.89,3.32 l 0.83,1.65 h 7.54 7.54 v 1.98 1.98 l -2.98,0.07 -2.98,0.07 -0.61,1.72 c -1.44,4.04 -4.11,8.89 -6.44,11.68 -0.56,0.68 -1.02,1.39 -1.02,1.59 0,0.42 4,3.14 6.89,4.7 1.1,0.59 3.3,1.62 4.89,2.28 1.59,0.67 2.94,1.26 3,1.32 0.09,0.09 -0.54,1.14 -1.84,3.1 -0.39,0.59 -8.46,-3.29 -12.5,-6.02 -3.87,-2.62 -3.41,-2.46 -4.65,-1.57 -4.56,3.28 -7.64,4.93 -12.51,6.7 l -2.83,1.03 z M 23.84,23.73 c 1.66,-2.24 4.6,-7.89 4.9,-9.4 l 0.17,-0.86 h -7.34 -7.34 l 0.17,0.86 c 0.25,1.27 2.39,5.4 3.73,7.19 1.67,2.23 3.57,4.39 3.86,4.39 0.14,0 0.98,-0.98 1.86,-2.17 z M 44.03,35.51 c 0.08,-0.26 2.45,-6.96 5.27,-14.89 l 5.12,-14.42 3.06,-0.07 3.06,-0.07 0.39,1.13 c 0.43,1.23 9.28,26.16 9.86,27.79 l 0.36,0.99 h -2.83 -2.83 l -1.19,-3.77 -1.19,-3.77 -5.56,-0.07 -5.56,-0.07 -1.23,3.78 -1.23,3.78 -2.82,0.08 c -2.6,0.07 -2.81,0.04 -2.67,-0.4 z M 61.64,23.99 c -0.03,-0.54 -3.96,-12.23 -4.13,-12.29 -0.19,-0.06 -4.07,11.52 -4.07,12.16 0,0.11 1.85,0.2 4.1,0.2 2.26,0 4.1,-0.03 4.1,-0.07 z"
|
|
19326
|
+
}
|
|
19327
|
+
)
|
|
19328
|
+
}
|
|
19329
|
+
),
|
|
19330
|
+
e
|
|
19331
|
+
]
|
|
19332
|
+
}
|
|
19333
|
+
),
|
|
19305
19334
|
/* @__PURE__ */ u.jsx("svg", { width: "18", height: "16", viewBox: "0 0 24 24", "aria-hidden": "true", focusable: "false", children: /* @__PURE__ */ u.jsx(
|
|
19306
19335
|
"path",
|
|
19307
19336
|
{
|
|
@@ -25214,7 +25243,7 @@ const _M = ({
|
|
|
25214
25243
|
]
|
|
25215
25244
|
}
|
|
25216
25245
|
);
|
|
25217
|
-
},
|
|
25246
|
+
}, e2 = ze(f$), t2 = async (e, t) => {
|
|
25218
25247
|
const r = await Nn.fetchProgramTheme(t);
|
|
25219
25248
|
ve(() => r.threatMetrixEnabled, !1) && uv(e), bI(r, e);
|
|
25220
25249
|
}, p$ = ({
|
|
@@ -25234,7 +25263,7 @@ const _M = ({
|
|
|
25234
25263
|
] })
|
|
25235
25264
|
]
|
|
25236
25265
|
}
|
|
25237
|
-
),
|
|
25266
|
+
), r2 = p$;
|
|
25238
25267
|
var bi = {}, ip = {};
|
|
25239
25268
|
Object.defineProperty(ip, "__esModule", { value: !0 });
|
|
25240
25269
|
const m$ = [
|
|
@@ -26971,7 +27000,7 @@ const h$ = ({ icon: e, title: t, subtitle: r, setDocType: n }) => /* @__PURE__ *
|
|
|
26971
27000
|
] })
|
|
26972
27001
|
] })
|
|
26973
27002
|
] });
|
|
26974
|
-
},
|
|
27003
|
+
}, n2 = ze(y$), v$ = async (e, t, r) => {
|
|
26975
27004
|
A.info(`uploading files to ${e}`);
|
|
26976
27005
|
const n = new FormData();
|
|
26977
27006
|
return n.append("frontImage", t), n.append("backImage", r), fetch(e, {
|
|
@@ -27161,7 +27190,7 @@ const Bg = ({ addFile: e, upload: t, imageSide: r }) => {
|
|
|
27161
27190
|
}
|
|
27162
27191
|
) })
|
|
27163
27192
|
] });
|
|
27164
|
-
},
|
|
27193
|
+
}, a2 = S$;
|
|
27165
27194
|
function jM(e) {
|
|
27166
27195
|
var t, r, n = "";
|
|
27167
27196
|
if (typeof e == "string" || typeof e == "number") n += e;
|
|
@@ -27205,7 +27234,7 @@ const zr = {
|
|
|
27205
27234
|
children: n
|
|
27206
27235
|
}
|
|
27207
27236
|
);
|
|
27208
|
-
}, Js = (e) => ({ isDisabled: t = !1, onClick: r, children: n }) => /* @__PURE__ */ u.jsx(E$, { type: e, onClick: r, isDisabled: t, children: n }),
|
|
27237
|
+
}, Js = (e) => ({ isDisabled: t = !1, onClick: r, children: n }) => /* @__PURE__ */ u.jsx(E$, { type: e, onClick: r, isDisabled: t, children: n }), o2 = {
|
|
27209
27238
|
Primary: Js(zr.PRIMARY),
|
|
27210
27239
|
Secondary: Js(zr.SECONDARY),
|
|
27211
27240
|
Destructive: Js(zr.DESTRUCTIVE),
|
|
@@ -27219,8 +27248,8 @@ export {
|
|
|
27219
27248
|
mD as D,
|
|
27220
27249
|
ls as E,
|
|
27221
27250
|
ua as F,
|
|
27222
|
-
|
|
27223
|
-
|
|
27251
|
+
a2 as G,
|
|
27252
|
+
r2 as H,
|
|
27224
27253
|
ty as I,
|
|
27225
27254
|
o3 as J,
|
|
27226
27255
|
wD as K,
|
|
@@ -27231,7 +27260,7 @@ export {
|
|
|
27231
27260
|
ts as P,
|
|
27232
27261
|
co as Q,
|
|
27233
27262
|
Yg as R,
|
|
27234
|
-
|
|
27263
|
+
e2 as S,
|
|
27235
27264
|
us as T,
|
|
27236
27265
|
ds as U,
|
|
27237
27266
|
je as V,
|
|
@@ -27249,7 +27278,7 @@ export {
|
|
|
27249
27278
|
pI as a4,
|
|
27250
27279
|
hc as a5,
|
|
27251
27280
|
T3 as a6,
|
|
27252
|
-
|
|
27281
|
+
n2 as a7,
|
|
27253
27282
|
gD as a8,
|
|
27254
27283
|
p3 as a9,
|
|
27255
27284
|
It as aA,
|
|
@@ -27508,9 +27537,9 @@ export {
|
|
|
27508
27537
|
jg as e5,
|
|
27509
27538
|
xr as e6,
|
|
27510
27539
|
nc as e7,
|
|
27511
|
-
|
|
27540
|
+
t2 as e8,
|
|
27512
27541
|
g$ as e9,
|
|
27513
|
-
|
|
27542
|
+
o2 as ea,
|
|
27514
27543
|
Sp as eb,
|
|
27515
27544
|
L0 as ec,
|
|
27516
27545
|
U0 as ed,
|