bhl-forms 0.6.1 → 0.6.3

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 (79) hide show
  1. package/dist/bhl-forms.es.js +6452 -7469
  2. package/dist/bhl-forms.iife.js +4 -11
  3. package/dist/bhl-forms.modern.es.js +16311 -0
  4. package/dist/bhl-forms.modern.iife.js +14 -0
  5. package/dist/bhl-forms.modern.umd.js +14 -0
  6. package/dist/bhl-forms.umd.js +4 -11
  7. package/dist/forms/accidentsAndInjuries.es.js +1285 -0
  8. package/dist/forms/accidentsAndInjuries.iife.js +1 -0
  9. package/dist/forms/accidentsAndInjuries.json +1 -0
  10. package/dist/forms/appraisals.es.js +346 -0
  11. package/dist/forms/appraisals.iife.js +1 -0
  12. package/dist/forms/appraisals.json +1 -0
  13. package/dist/forms/childAndFamily.es.js +1685 -0
  14. package/dist/forms/childAndFamily.iife.js +1 -0
  15. package/dist/forms/childAndFamily.json +1 -0
  16. package/dist/forms/childAndFamilySingle.es.js +1816 -0
  17. package/dist/forms/childAndFamilySingle.iife.js +1 -0
  18. package/dist/forms/childAndFamilySingle.json +1 -0
  19. package/dist/forms/civilLawsuit.es.js +2156 -0
  20. package/dist/forms/civilLawsuit.iife.js +1 -0
  21. package/dist/forms/civilLawsuit.json +1 -0
  22. package/dist/forms/coins.es.js +346 -0
  23. package/dist/forms/coins.iife.js +1 -0
  24. package/dist/forms/coins.json +1 -0
  25. package/dist/forms/contracts.es.js +1000 -0
  26. package/dist/forms/contracts.iife.js +1 -0
  27. package/dist/forms/contracts.json +1 -0
  28. package/dist/forms/criminal.es.js +3254 -0
  29. package/dist/forms/criminal.iife.js +1 -0
  30. package/dist/forms/criminal.json +1 -0
  31. package/dist/forms/employmentAndWorkplace.es.js +1386 -0
  32. package/dist/forms/employmentAndWorkplace.iife.js +1 -0
  33. package/dist/forms/employmentAndWorkplace.json +1 -0
  34. package/dist/forms/generalLegal.es.js +3393 -0
  35. package/dist/forms/generalLegal.iife.js +1 -0
  36. package/dist/forms/generalLegal.json +1 -0
  37. package/dist/forms/generalLegalPopUnder.es.js +3395 -0
  38. package/dist/forms/generalLegalPopUnder.iife.js +1 -0
  39. package/dist/forms/generalLegalPopUnder.json +1 -0
  40. package/dist/forms/generalLegalPopUnderTF.es.js +3093 -0
  41. package/dist/forms/generalLegalPopUnderTF.iife.js +1 -0
  42. package/dist/forms/generalLegalPopUnderTF.json +1 -0
  43. package/dist/forms/generalLegalSingle.es.js +4315 -0
  44. package/dist/forms/generalLegalSingle.iife.js +1 -0
  45. package/dist/forms/generalLegalSingle.json +1 -0
  46. package/dist/forms/generalLegalThankYou.es.js +3073 -0
  47. package/dist/forms/generalLegalThankYou.iife.js +1 -0
  48. package/dist/forms/generalLegalThankYou.json +1 -0
  49. package/dist/forms/harassmentAndDiscrimination.es.js +1036 -0
  50. package/dist/forms/harassmentAndDiscrimination.iife.js +1 -0
  51. package/dist/forms/harassmentAndDiscrimination.json +1 -0
  52. package/dist/forms/malpractice.es.js +1259 -0
  53. package/dist/forms/malpractice.iife.js +1 -0
  54. package/dist/forms/malpractice.json +1 -0
  55. package/dist/forms/mechanics.es.js +386 -0
  56. package/dist/forms/mechanics.iife.js +1 -0
  57. package/dist/forms/mechanics.json +1 -0
  58. package/dist/forms/realEstate.es.js +2956 -0
  59. package/dist/forms/realEstate.iife.js +1 -0
  60. package/dist/forms/realEstate.json +1 -0
  61. package/dist/forms/repossession.es.js +1267 -0
  62. package/dist/forms/repossession.iife.js +1 -0
  63. package/dist/forms/repossession.json +1 -0
  64. package/dist/forms/ssdi.es.js +1079 -0
  65. package/dist/forms/ssdi.iife.js +1 -0
  66. package/dist/forms/ssdi.json +1 -0
  67. package/dist/forms/testForm.es.js +730 -0
  68. package/dist/forms/testForm.iife.js +1 -0
  69. package/dist/forms/testForm.json +1 -0
  70. package/dist/forms/testRedirects.es.js +542 -0
  71. package/dist/forms/testRedirects.iife.js +1 -0
  72. package/dist/forms/testRedirects.json +1 -0
  73. package/dist/forms/vets.es.js +349 -0
  74. package/dist/forms/vets.iife.js +1 -0
  75. package/dist/forms/vets.json +1 -0
  76. package/dist/forms/willsAndTrusts.es.js +1220 -0
  77. package/dist/forms/willsAndTrusts.iife.js +1 -0
  78. package/dist/forms/willsAndTrusts.json +1 -0
  79. package/package.json +5 -5
@@ -0,0 +1,1079 @@
1
+ function merge() {
2
+ return Object.assign({}, ...arguments)
3
+ }
4
+
5
+ function LegalRedirectUrl() {
6
+ return 'https://listings.ziplawyer.com/api/v1/redirect?zone_id=4&vertical=Legal&category=${properties.Type_Of_Legal_Problem}&Degree_Of_Interest=${properties.Degree_Of_Interest}&zip_code=${properties.Zip}&sub_id=${properties.vid}'
7
+ }
8
+
9
+ var TCPA_LANGUAGE = "By checking this box, I a) agree to the Terms of Use, and b) consent to be contacted by lawyers, lawyer networks, and partners of this website using live, autodialed, pre-recorded, or artificial voice calls, as well as text messages. Your consent is not required as a condition of purchasing any goods or services. To submit this request without this consent, call 878-213-4937.";
10
+
11
+ const DEFAULT_COMMENTS_PLACEHOLDER_DYNAMIC = '$getKey($meta, "commentsPlaceholders." + $get(Type_Of_Legal_Problem).value, $meta.defaultCommentsPlaceholder)';
12
+ const DEFAULT_COMMENTS_LABEL = 'Please briefly describe your legal issue in a few words:';
13
+ const DEFAULT_FINAL_HEADLINE = 'Submit Your Case';
14
+ const DEFAULT_FINAL_HEADLINE_DYNAMIC = '$getKey($meta, "finalHeadlines." + $get(Type_Of_Legal_Problem).value, $meta.defaultFinalHeadline)';
15
+ const DEFAULT_FINAL_SUBHEADLINE = 'You may benefit from speaking with a legal professional. Please verify your contact information.';
16
+ const DEFAULT_FINAL_SUBHEADLINE_DYNAMIC = '$getKey($meta, "finalSubHeadlines." + $get(Type_Of_Legal_Problem).value, $meta.defaultFinalSubHeadline)';
17
+
18
+ const formPropDefaults = {
19
+ type: 'form',
20
+ id: 'form',
21
+ config: { validationVisibility: 'submit' },
22
+ onSubmit: '$submit($submitUrl, $prepData, $handleRedirect, "text/plain; charset=UTF-8")',
23
+ plugins: '$plugins',
24
+ actions: false,
25
+ anchorElement: 'form-anchor',
26
+ useLocalStorage: true,
27
+ prepop: {
28
+ fromURL: true
29
+ },
30
+ errorCodes: {
31
+ 403: { message: "An Error Occurred", abort: false },
32
+ 409: { abort: false },
33
+ 429: "An Error Occurred",
34
+ 504: { message: "An Error Occurred", abort: false },
35
+ },
36
+ formClass: '!t-max-w-[40rem]'
37
+ };
38
+
39
+ function formProps(updates) {
40
+ const props = merge(
41
+ formPropDefaults,
42
+ updates
43
+ );
44
+ if (props.formId && !props.name) {
45
+ props.name = props.formId;
46
+ }
47
+ return props
48
+ }
49
+
50
+ const metaDefaults = {
51
+ tcpaLanguage: TCPA_LANGUAGE
52
+ };
53
+
54
+ function metaProps(updates) {
55
+ const data = merge(
56
+ metaDefaults,
57
+ updates
58
+ );
59
+ return {
60
+ type: 'meta',
61
+ data
62
+ }
63
+ }
64
+
65
+ function defaultMetaProps() {
66
+ return metaProps({
67
+ defaultCommentsPlaceholder: DEFAULT_COMMENTS_PLACEHOLDER_DYNAMIC,
68
+ commentsPlaceholders: TOLPCommentsPlaceholders,
69
+ defaultFinalHeadline: DEFAULT_FINAL_HEADLINE,
70
+ finalHeadlines: TOLPFinalHeadlines,
71
+ defaultFinalSubHeadline: DEFAULT_FINAL_SUBHEADLINE,
72
+ finalSubHeadlines: TOLPFinalSubHeadlines,
73
+ // Added everywhere for now
74
+ // trustedFormTOLPs: trustedFormTOLPs
75
+ })
76
+ }
77
+
78
+ const formAnchorDefaults = {
79
+ $el: 'div',
80
+ children: [
81
+ {
82
+ $el: 'div',
83
+ attrs: {
84
+ id: 'form-anchor',
85
+ class: 't-absolute',
86
+ style: { top: '-30px', left: 0 }
87
+ }
88
+ }
89
+ ],
90
+ attrs: {
91
+ class: 't-relative'
92
+ }
93
+ };
94
+
95
+ function formAnchor(updates) {
96
+ return merge(
97
+ formAnchorDefaults,
98
+ updates
99
+ )
100
+ }
101
+
102
+ const progressBarDefaults = {
103
+ $el: 'div',
104
+ attrs: {
105
+ class: 't-mt-7 t-mb-5 t-w-full t-flex t-flex-col t-justify-center t-items-center',
106
+ style: {
107
+ if: '$fns.eq($activeStep, $firstStep()) || $fns.eq($activeStep, $lastStep())',
108
+ then: 'display: none'
109
+ },
110
+ },
111
+ children: [
112
+ {
113
+ $el: 'div',
114
+ attrs: {
115
+ class: 't-flex t-justify-center'
116
+ },
117
+ children: [
118
+ {
119
+ $el: 'span',
120
+ attrs: {
121
+ id: 'progress-bar-text',
122
+ class: 't-text-sm t-mb-1'
123
+ },
124
+ children: [
125
+ "0% Complete"
126
+ ]
127
+ },
128
+ ]
129
+ },
130
+ {
131
+ $el: 'div',
132
+ attrs: {
133
+ class: 't-bg-gray-100 t-w-9/12 t-rounded'
134
+ },
135
+ children: [
136
+ {
137
+ $el: 'div',
138
+ attrs: {
139
+ id: 'progress-bar',
140
+ class: 't-flex t-flex-col t-justify-center t-text-center t-whitespace-nowrap t-w-[10%] t-h-1.5 t-rounded t-text-white t-bg-[#007bff]',
141
+ style: {
142
+ transition: 'width 0.5s ease'
143
+ },
144
+ },
145
+ }
146
+ ]
147
+ }
148
+ ]
149
+ };
150
+
151
+ function progressBar(updates) {
152
+ return merge(
153
+ progressBarDefaults,
154
+ updates
155
+ )
156
+ }
157
+
158
+ function headlineDefaults(updates = {}) {
159
+ return {
160
+ $el: 'h1',
161
+ attrs: {
162
+ class: 't-flex t-justify-center t-text-center !t-text-[2rem] t-font-semibold t-pt-5 t-px-7 md:t-px-3' + ' ' + (updates.headlineClass || '')
163
+ }
164
+ }
165
+ }
166
+
167
+ function headline(updates = {}) {
168
+ return merge(
169
+ headlineDefaults(updates),
170
+ updates
171
+ )
172
+ }
173
+
174
+ function subHeadlineDefaults(updates = {}) {
175
+ return {
176
+ $el: 'h3',
177
+ attrs: {
178
+ class: 't-flex t-justify-center t-text-center !t-text-[1.2rem] t-font-medium t-text-blue-500 t-px-10' + ' ' + (updates.subheadlineClass || '')
179
+ }
180
+ }
181
+ }
182
+
183
+ function subHeadline(updates = {}) {
184
+ return merge(
185
+ subHeadlineDefaults(updates),
186
+ updates
187
+ )
188
+ }
189
+
190
+ const secureIconDefault = {
191
+ $el: 'div',
192
+ if: '$activeStep === $lastStep()',
193
+ attrs: {
194
+ class: 't-flex t-justify-center t-items-center t-text-sm t-text-gray-500'
195
+ },
196
+ children: [
197
+ {
198
+ $el: 'img',
199
+ attrs: {
200
+ loading: 'lazy',
201
+ alt: '',
202
+ style: {
203
+ border: 0
204
+ },
205
+ width: '25',
206
+ height: '25',
207
+ src: 'https://d27hmee62k45vz.cloudfront.net/lock_icon_1.jpeg',
208
+ }
209
+ },
210
+ {
211
+ $el: 'span',
212
+ children: 'Secure & Encrypted',
213
+ attrs: {
214
+ class: 't-pl-2 t-pt-1 t-font-medium'
215
+ }
216
+ }
217
+ ]
218
+ };
219
+
220
+
221
+ function secureIcon(updates) {
222
+ return merge(
223
+ secureIconDefault,
224
+ updates
225
+ )
226
+ }
227
+
228
+ const hiddenInputsBase = [
229
+ {
230
+ $formkit: 'hidden',
231
+ name: "gclid",
232
+ value: null
233
+ },
234
+ {
235
+ $formkit: 'hidden',
236
+ name: "campaignid",
237
+ value: null
238
+ },
239
+ {
240
+ $formkit: 'hidden',
241
+ name: "s",
242
+ value: null
243
+ }
244
+ ];
245
+
246
+ const hiddenInputsLegal = [
247
+ {
248
+ $formkit: 'hidden',
249
+ name: "vertical",
250
+ value: "Legal"
251
+ },
252
+ {
253
+ $formkit: 'hidden',
254
+ name: "TCPA_Language",
255
+ value: "$meta.tcpaLanguage"
256
+ },
257
+ ...hiddenInputsBase
258
+ ];
259
+
260
+ const TOLPCommentsPlaceholders = {
261
+ 'Adoption': 'Example: "I need help with adoption forms"',
262
+ 'Asbestos and Mesothelioma': 'Example: "I was exposed to asbestos at work and would like to file a claim"',
263
+ 'Auto and Car Accidents': 'Example: "A truck crashed into my car on the highway" or "I\'ve been involved in a hit and run accident"',
264
+ 'Bankruptcy': 'Example: "I need help filing for bankruptcy"',
265
+ 'Birth Certificate and Name Change': 'Example: "Just married and would like to change my last name"',
266
+ 'Business Lawyers': 'Example: "I need help incorporating a business" or "I would like a legal contract reviewed"',
267
+ 'Child Custody and Support': 'Example: "Need help getting custody" or "Issues with child support payments"',
268
+ 'Child Custody': 'Example: "Need help getting custody"',
269
+ 'Child Support': 'Example: "Issues with child support payments"',
270
+ 'Civil Rights and Discrimination': 'Example: "Police brutality" or "Coworker keeps harassing me"',
271
+ 'Civil Lawsuit': 'Example: "A contractor took my money and never completed the job" or "I am being sued by a neighbor"',
272
+ 'File a Lawsuit': 'Example: "A contractor took my money and never completed the job"',
273
+ 'Defend a Lawsuit': 'Example: "I am being sued by a neighbor"',
274
+ 'Consumer Lawyers': 'Example: "Someone committed fraud against me" or "A contractor took my money and never completed the job"',
275
+ 'Copyrights and Trademarks': 'Example: "I would like to register a trademark or copyright a name"',
276
+ 'Criminal and Felony': 'Example: "I was arrested for DUI and need legal defense" or "I am being charged with assault"',
277
+ 'Debt and Collections': 'Example: "I would like to consolidate my debt" or "A collection agency is harassing me"',
278
+ 'Divorce and Separation': 'Example: "I would like to file for an uncontested divorce"',
279
+ 'DUI and DWI': 'Example: "I was arrested for DUI and need legal defense"',
280
+ 'Elder Law': 'Example: "I would like help with Estate Planning" or "I need help with a guardianship"',
281
+ 'Employment and Workplace': 'Example: "I was injured while on the job" or "My company is discriminating against me"',
282
+ 'Expungement': 'Example: "I would like to file for an expungement and clear my record"',
283
+ 'Family Issues': 'Example: "I need help with guardianship" or "I need a simple will created"',
284
+ 'Foreclosure': 'Example: "I need help to avoid foreclosure on my house"',
285
+ 'Guardianship': 'Example: "I need help with guardianship documents"',
286
+ 'Harassment and Discrimination': 'Example: "I am being discriminated at work" or "My neighbor is harassing me"',
287
+ 'Sexual Harassment': 'Example: "I am being sexually harassed by a coworker"',
288
+ 'Workplace Harassment': 'Example: "My coworker is being aggressive towards me"',
289
+ 'Non-Workplace Harassment': 'Example: "My neighbor is harassing me"',
290
+ 'Workplace Discrimination': 'Example: "I am being discriminated at work based on my age"',
291
+ 'Non-Workplace Discrimination': 'Example: "I am being discriminated against by a local official"',
292
+ 'Identity Theft': 'Example: "Someone stole my identity and I need help fixing the issue"',
293
+ 'Immigration and Visas': 'Example: "I need help filing for a visa" or "Help with a green card"',
294
+ 'Insurance': 'Example: "I need help filing an insurance claim for damage to my house"',
295
+ 'Landlord and Tenant': 'Example: "I need help to fight an eviction" or "I would like a lawyer to review a rental contract"',
296
+ 'Lemon Law': 'Example: "I purchased a new vehicle that broke down already and seller will not assist"',
297
+ 'Long Term Disability': 'Example: "I was injured on the job and would like to file for benefits" or "I need help filing for disability benefits"',
298
+ 'Medical Malpractice': 'Example: "A doctor performed surgery on the wrong limb and I would like to file a lawsuit"',
299
+ 'Patents and Intellectual Property': 'Example: "I would like to file for a patent" or "I need to copyright a name"',
300
+ 'Personal Injury': 'Example: "I was bit by the neighbor\'s dog" or "I fell in the icy grocery store parking lot"',
301
+ 'Power of Attorney': 'Example: "I need help with a limited or general power of attorney"',
302
+ 'Probate and Estates': 'Example: "I need help with planning for my estate" or "A family member passed without a will in place"',
303
+ 'Product Liability': 'Example: "My car battery caught on fire" or "I purchased a faulty product"',
304
+ 'Property Damage': 'Example: "The neighbor\'s tree fell on my fence" or "My car was hit in the parking lot"',
305
+ 'Real Estate': 'Example: "I need help with a quitclaim deed" or "I need a lawyer to review a purchase and sales agreement"',
306
+ 'Social Security Disability and Insurance': 'Example: "I would like help filing for disability benefits" or "I\'ve been denied for SSDI and would like to appeal"',
307
+ 'Tax and IRS': 'Example: "I need help fighting an IRS tax claim" or "I need audit defense"',
308
+ 'Traffic and Tickets': 'Example: "I need help reinstating a supsended license" or "I would like to fight a traffic ticket"',
309
+ 'Unemployment': 'Example: "I need help filing for unemployment benefits"',
310
+ 'Victim of a Crime': 'Example: "I was assaulted in the store" or "I am being discriminated against at work"',
311
+ 'Wills and Trusts': 'Example: "I need a simple will created" or "I would like guidance on creating a trust fund"',
312
+ 'Workers Compensation': 'Example: "I was injured at work and would like to file for workers compensation benefits"',
313
+ 'Wrongful Death': 'Example: "A family member was killed on the job and we need legal representation"',
314
+ 'Wrongful Termination': 'Example: "I was fired by my employer without cause"',
315
+ 'Not Sure or Other': 'Example: "I was involved in a car accident" or "I need help setting up power of attorney"'
316
+ };
317
+
318
+ const TOLPFinalHeadlines = {
319
+ // 'Adoption': '',
320
+ };
321
+
322
+ const TOLPFinalSubHeadlines = {
323
+ 'Adoption': 'You may benefit from speaking with an adoption professional. Please verify your contact information.',
324
+ // 'Asbestos and Mesothelioma': '',
325
+ 'Auto and Car Accidents': 'You may benefit from speaking with an accident professional. Please verify your contact information.',
326
+ 'Bankruptcy': 'You may benefit from speaking with a bankruptcy professional. Please verify your contact information.',
327
+ // 'Birth Certificate and Name Change': '',
328
+ // 'Business Lawyers': '',
329
+ // 'Child Custody and Support': '',
330
+ // 'Civil Rights and Discrimination': '',
331
+ // 'Civil Lawsuit': '',
332
+ // 'Consumer Lawyers': '',
333
+ 'Copyrights and Trademarks': 'You may benefit from speaking with a copyright and trademark professional. Please verify your contact information.',
334
+ // 'Criminal and Felony': '',
335
+ // 'Debt and Collections': '',
336
+ 'Divorce and Separation': 'You may benefit from speaking with a divorce professional. Please verify your contact information.',
337
+ 'DUI and DWI': 'You may benefit from speaking with a DUI professional. Please verify your contact information.',
338
+ 'Elder Law': 'You may benefit from speaking with an elder law professional. Please verify your contact information.',
339
+ // 'Employment and Workplace': '',
340
+ // 'Expungement': '',
341
+ // 'Family Issues': '',
342
+ 'Foreclosure': 'You may benefit from speaking with a foreclosure professional. Please verify your contact information.',
343
+ 'Guardianship': 'You may benefit from speaking with a guardianship professional. Please verify your contact information.',
344
+ // 'Harassment and Discrimination': '',
345
+ // 'Identity Theft': '',
346
+ 'Immigration and Visas': 'You may benefit from speaking with a immigration professional. Please verify your contact information.',
347
+ // 'Insurance': '',
348
+ 'Landlord and Tenant': 'You may benefit from speaking with a landlord and tenant legal professional. Please verify your contact information.',
349
+ // 'Lemon Law': '',
350
+ 'Long Term Disability': 'You may benefit from speaking with a disability legal professional. Please verify your contact information.',
351
+ 'Medical Malpractice': 'You may benefit from speaking with a malpractice professional. Please verify your contact information.',
352
+ 'Patents and Intellectual Property': 'You may benefit from speaking with a patent professional. Please verify your contact information.',
353
+ 'Personal Injury': 'You may benefit from speaking with a personal injury professional. Please verify your contact information.',
354
+ // 'Power of Attorney': '',
355
+ 'Probate and Estates': 'You may benefit from speaking with a probate and estate professional. Please verify your contact information.',
356
+ // 'Product Liability': '',
357
+ // 'Property Damage': '',
358
+ 'Real Estate': 'You may benefit from speaking with a real estate professional. Please verify your contact information.',
359
+ 'Social Security Disability and Insurance': 'You may benefit from speaking with an SSDI professional. Please verify your contact information.',
360
+ 'Tax and IRS': 'You may benefit from speaking with a tax professional. Please verify your contact information.',
361
+ // 'Traffic and Tickets': '',
362
+ 'Unemployment': 'You may benefit from speaking with an unemployment professional. Please verify your contact information.',
363
+ // 'Victim of a Crime': '',
364
+ // 'Wills and Trusts': '',
365
+ 'Workers Compensation': 'You may benefit from speaking with a workers compensation professional. Please verify your contact information.',
366
+ // 'Wrongful Death': '',
367
+ // 'Wrongful Termination': '',
368
+ // 'Not Sure or Other': ''
369
+ // 'Sexual Harassment': '',
370
+ // 'Workplace Harassment': '',
371
+ // 'Non-Workplace Harassment': '',
372
+ // 'Workplace Discrimination': '',
373
+ // 'Non-Workplace Discrimination': '',
374
+ };
375
+
376
+ // ------ Common Base Settings
377
+
378
+ const checkbox = (updates) => {
379
+ if (updates.name && !updates.id) {
380
+ updates.id = updates.name;
381
+ }
382
+ return merge({
383
+ $formkit: 'checkbox',
384
+ validation: 'required',
385
+ validationMessages: {
386
+ required: 'Field is required'
387
+ }
388
+ }, updates)
389
+ };
390
+
391
+ const sbsCheckbox = (updates) => {
392
+ updates.legendClass = 'legend-left required';
393
+ updates.fieldsetClass = '$reset side-by-side';
394
+ updates.optionsClass = 't-pl-1';
395
+ updates.innerClass = 't-flex t-items-center';
396
+ updates.wrapperClass = 't-mb-3';
397
+ return checkbox(updates)
398
+ };
399
+
400
+ const radio = (updates) => {
401
+ if (updates.name && !updates.id) {
402
+ updates.id = updates.name;
403
+ }
404
+ return merge({
405
+ $formkit: 'radio',
406
+ validation: 'required',
407
+ validationMessages: {
408
+ required: 'Field is required'
409
+ },
410
+ optionsClass: 't-pt-3 t-pl-1',
411
+ legendClass: 'required'
412
+ }, updates)
413
+ };
414
+
415
+ const vertical2ItemRadio = (updates) => {
416
+ updates.legendClass = 'legend-left';
417
+ updates.fieldsetClass = '$reset vertical t-items-center';
418
+ updates.optionsClass = 't-flex t-justify-center t-my-4';
419
+ updates.optionClass = 'radiobtn t-mx-2 md:t-mx-5';
420
+ updates.wrapperClass = '$reset formkit-wrapper t-mb-0 t-flex t-items-center t-h-[100%]';
421
+ updates.labelClass = 't-font-semibold t-text-[#1e448f] t-w-[100%]';
422
+ updates.decoratorIcon = false;
423
+ updates.messagesClass = 't-flex t-justify-center';
424
+ return radio(updates)
425
+ };
426
+
427
+ const verticalYesNoRadio = (updates) => {
428
+ updates.options = ['Yes', 'No'];
429
+ return vertical2ItemRadio(updates)
430
+ };
431
+
432
+ const text = (updates) => {
433
+ if (updates.name && !updates.id) {
434
+ updates.id = updates.name;
435
+ }
436
+ return merge({
437
+ $formkit: 'text',
438
+ validation: 'required',
439
+ validationMessages: {
440
+ required: 'Field is required'
441
+ },
442
+ labelClass: 'required'
443
+ }, updates)
444
+ };
445
+
446
+ const sbsText = (updates) => {
447
+ updates.wrapperClass = 'side-by-side t-items-center';
448
+ return text(updates)
449
+ };
450
+
451
+ const verticalText = (updates) => {
452
+ updates.wrapperClass = 't-flex t-justify-center';
453
+ updates.messagesClass = 't-flex t-justify-center';
454
+ updates.inputClass = 't-text-center';
455
+ return text(updates)
456
+ };
457
+
458
+ const textArea = (updates) => {
459
+ if (updates.name && !updates.id) {
460
+ updates.id = updates.name;
461
+ }
462
+ return merge({
463
+ $formkit: 'textarea',
464
+ rows: 5,
465
+ maxlength: 500,
466
+ validation: 'required',
467
+ validationMessages: {
468
+ required: 'Field is required'
469
+ },
470
+ innerClass: 't-max-w-xl',
471
+ labelClass: 'required'
472
+ }, updates)
473
+ };
474
+
475
+ const applicantAgeCenter = (scope) => verticalText({
476
+ name: scope ? scope + ':' + 'Applicant_Age' : 'Applicant_Age',
477
+ value: "50",
478
+ placeholder: 'Age between 18 and 65',
479
+ maxlength: 2,
480
+ inputmode: "numeric",
481
+ validation: "required|min:18,max:65",
482
+ validationMessages: {
483
+ required: 'Applicant Age is required',
484
+ min: 'Invalid Age - must be between 18 and 65',
485
+ max: 'Invalid Age - must be between 18 and 65',
486
+ },
487
+ });
488
+
489
+ const bankruptcyCrossSell = () => sbsCheckbox({
490
+ label: "I'd also like a consultation for bankruptcy or debt elimination (optional)",
491
+ help: "Note: you will be contacted separately by a bankruptcy/debt expert",
492
+ name: 'CrossSell_Bankruptcy',
493
+ id: 'CrossSell_Bankruptcy',
494
+ if: '$getVal($get(form), "Type_Of_Legal_Problem") != "Bankruptcy" && ($getVal($get(form), "Degree_Of_Interest") == "Absolutely Can\'t Afford" || $getVal($get(form), "Degree_Of_Interest") == "Maybe" || $getVal($get(form), "Degree_Of_Interest") == "Probably")',
495
+ validation: null,
496
+ helpClass: "!t-text-sm"
497
+ });
498
+
499
+ const comments = (updates, scope) => textArea(
500
+ merge({
501
+ name: scope ? scope + ':' + 'Comments' : 'Comments',
502
+ label: 'Please briefly describe your situation in a few words:',
503
+ placeholder: 'For Example: "I would like help with child support payments" or "I need help with visitation rights"'
504
+ }, updates)
505
+ );
506
+
507
+ const disabilityConditionStopWorkCenter = (scope) => verticalYesNoRadio({
508
+ name: scope ? scope + ':' + 'Disability_Condition_Stop_Work' : 'Disability_Condition_Stop_Work',
509
+ });
510
+
511
+ const disabilityWorkHistoryCenter = (scope) => verticalYesNoRadio({
512
+ name: scope ? scope + ':' + 'Disability_Work_History' : 'Disability_Work_History',
513
+ });
514
+
515
+ const doctorTreatmentCenter = () => verticalYesNoRadio({
516
+ name: 'Doctor_Treatment',
517
+ });
518
+
519
+ const email = () => sbsText({
520
+ $formkit: 'email',
521
+ name: 'Email',
522
+ label: 'Email Address:',
523
+ placeholder: 'email@domain.com',
524
+ autocomplete: 'email',
525
+ 'data-tf-sensitive': 'false',
526
+ validation: 'required|email',
527
+ validationMessages: {
528
+ required: 'Email is required',
529
+ email: 'Invalid Email'
530
+ }
531
+ });
532
+
533
+ const firstName = () => sbsText({
534
+ $formkit: 'text',
535
+ label: 'First Name:',
536
+ placeholder: 'First',
537
+ name: 'First_Name',
538
+ autocomplete: "given-name",
539
+ validationMessages: {
540
+ required: 'First Name is required'
541
+ }
542
+ });
543
+
544
+ const haveAttorneyCenter = () => verticalYesNoRadio({
545
+ name: 'Have_Attorney',
546
+ });
547
+
548
+ const lastName = () => sbsText({
549
+ $formkit: 'text',
550
+ label: 'Last Name:',
551
+ placeholder: 'Last',
552
+ name: 'Last_Name',
553
+ autocomplete: "family-name",
554
+ validationMessages: {
555
+ required: 'Last Name is required'
556
+ }
557
+ });
558
+
559
+ const phone = () => sbsText({
560
+ $formkit: 'tel',
561
+ name: 'Primary_Phone',
562
+ label: 'Phone Number:',
563
+ placeholder: '###-###-####',
564
+ maxlength: 12,
565
+ help: '10-digit phone number, hyphens optional',
566
+ autocomplete: 'tel-national',
567
+ 'data-tf-sensitive': 'false',
568
+ validation: 'required|matches:/^[0-9]{3}-?[0-9]{3}-?[0-9]{4}$/|valid_phone',
569
+ validationMessages: {
570
+ required: 'Field is required',
571
+ matches: 'Invalid Phone Format, use ###-###-####',
572
+ valid_phone: 'Invalid Phone Number'
573
+ },
574
+ helpClass: "t-mt-2.5 md:t-text-right md:t-mt-[-2px]"
575
+ });
576
+
577
+ const socialSecurityDisabilityReceivingBenefitsCenter = (scope) => verticalYesNoRadio({
578
+ name: scope ? scope + ':' + 'Social_Security_Disability_Receiving_Benefits' : 'Social_Security_Disability_Receiving_Benefits',
579
+ });
580
+
581
+ const TCPAConsent = () => ({
582
+ $formkit: 'checkbox',
583
+ label: '$meta.tcpaLanguage',
584
+ name: 'TCPA_Opt_In',
585
+ 'data-tf-sensitive': 'false',
586
+ validation: 'required|accepted',
587
+ validationMessages: {
588
+ required: 'Consent is required',
589
+ accepted: 'Consent is required'
590
+ },
591
+ classes: {
592
+ label: "t-text-xs t-text-slate-500 t-font-normal"
593
+ }
594
+ });
595
+
596
+ const zipcodeCenter = () => text({
597
+ placeholder: '#####',
598
+ help: "We try to match you with local legal help.",
599
+ name: 'Zip',
600
+ maxlength: 5,
601
+ inputmode: "numeric",
602
+ autocomplete: 'postal-code',
603
+ validation: 'required|matches:/^[0-9]{5}$/',
604
+ validationMessages: {
605
+ required: 'Zip Code is required',
606
+ matches: 'Invalid Zip Code'
607
+ },
608
+ wrapperClass: 't-flex t-justify-center',
609
+ messagesClass: 't-flex t-justify-center',
610
+ inputClass: 't-text-center',
611
+ helpClass: 't-mt-2.5 !t-text-sm t-text-center'
612
+ });
613
+
614
+ const NEXT_ON_ENTER = '$onEnter($setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form))))';
615
+ const NEXT_ON_INPUT = '$onInput($setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form))))';
616
+
617
+ const isInput = (n) => { return (n.type !== 'group' && n.type !== 'section' && n.type !== 'form' && n.$formkit !== 'hidden' && !n.children) };
618
+
619
+ const findLastInput = (n) => {
620
+ if (isInput(n)) {
621
+ return n
622
+ }
623
+ for (var i = n.children.length - 1; i >= 0; i--) {
624
+ if (typeof n.children === 'string') {
625
+ continue
626
+ }
627
+ const child = n.children[i];
628
+ if (isInput(child)) {
629
+ return child
630
+ }
631
+ const res = findLastInput(child);
632
+ if (res) {
633
+ return res
634
+ }
635
+ }
636
+ return null
637
+ };
638
+
639
+ function verticalStepHeadline(updates) {
640
+ return {
641
+ $el: 'h3',
642
+ children: updates.headline || 'Tell Us About Your Situation',
643
+ attrs: {
644
+ class: 't-flex t-justify-center t-text-center t-text-2xl t-font-bold t-text-dark t-pb-5 t-pt-0 t-px-1' + ' ' + (updates.headlineClass || '')
645
+ }
646
+ }
647
+ }
648
+
649
+
650
+
651
+ function commentsStepHeadline(updates) {
652
+ return {
653
+ $el: 'h3',
654
+ children: updates.headline || 'Additional Case Details',
655
+ attrs: {
656
+ class: 't-flex t-justify-center t-text-center t-text-2xl t-font-bold t-text-blue-500 t-pb-5 t-pt-0 t-px-1' + ' ' + (updates.headlineClass || '')
657
+ }
658
+ }
659
+ }
660
+
661
+ function firstAndLastStepHeadline(updates) {
662
+ return {
663
+ $el: 'h3',
664
+ children: updates.headline || 'Please Provide a Contact Name',
665
+ attrs: {
666
+ class: 't-flex t-justify-center t-text-center t-text-2xl t-font-bold t-text-blue-500 t-pb-5 t-pt-0 t-px-1' + ' ' + (updates.headlineClass || '')
667
+ }
668
+ }
669
+ }
670
+
671
+ function contactStepHeadline(updates) {
672
+ return {
673
+ $el: 'h3',
674
+ children: updates.headline || DEFAULT_FINAL_HEADLINE_DYNAMIC,
675
+ attrs: {
676
+ class: 't-flex t-justify-center t-text-center t-text-2xl t-font-bold t-text-blue-500 t-pb-3 t-pt-0 t-px-1' + ' ' + (updates.headlineClass || '')
677
+ }
678
+ }
679
+ }
680
+
681
+ function contactStepSubHeadline(updates) {
682
+ return {
683
+ $el: 'h5',
684
+ children: updates.subheadline || DEFAULT_FINAL_SUBHEADLINE_DYNAMIC,
685
+ attrs: {
686
+ class: 't-flex t-justify-center t-text-center !t-text-lg t-font-semibold t-pb-7 t-pt-0 t-px-3' + ' ' + (updates.subheadlineClass || '')
687
+ }
688
+ }
689
+ }
690
+
691
+ const TRUSTED_FORM_JS = `(function() {
692
+ if (window.xxTrustedFormLoaded) {
693
+ return
694
+ }
695
+ var vid = '';
696
+ if (typeof window.zar !== 'undefined') {
697
+ vid = window.zar.getVID();
698
+ }
699
+ window.xxTrustedFormLoaded = true;
700
+ var sandbox = document.location.hostname.indexOf('localhost') > -1 ? 'true' : 'false'
701
+ var tf = document.createElement('script');
702
+ tf.type = 'text/javascript'; tf.async = true;
703
+ tf.src = ("https:" == document.location.protocol ? 'https' : 'http') + "://api.trustedform.com/trustedform.js?field=xxTrustedFormCertUrl&identifier=" + vid + "&ping_field=xxTrustedFormPingUrl&provideReferrer=false&invert_field_sensitivity=true&sandbox=" + sandbox + "&l=" + new Date().getTime() + Math.random();
704
+ var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(tf, s);
705
+ })();`;
706
+
707
+ function trustedFormScript() {
708
+ return {
709
+ $el: 'script',
710
+ if: '$activeStep === $lastStep()',
711
+ children: TRUSTED_FORM_JS
712
+ }
713
+ }
714
+
715
+ const stepDefaults = (step, stepKey) => ({
716
+ $el: 'section',
717
+ if: '$stepEnabled("' + step + '")',
718
+ attrs: {
719
+ hidden: '$activeStep !== "' + step + '"',
720
+ key: stepKey ? stepKey : step
721
+ }
722
+ });
723
+
724
+ function step(name, inputs, nextOnEnter = true, nextOnInput = false, stepKey = undefined, nextStepMap = undefined, autoFocus = undefined) {
725
+ if (typeof nextOnEnter === 'undefined') {
726
+ nextOnEnter = true;
727
+ }
728
+ if (inputs && inputs.length && (nextOnEnter || nextOnInput)) {
729
+ const lastInput = findLastInput(inputs[inputs.length - 1]);
730
+ if (lastInput && nextOnEnter === true) {
731
+ lastInput.onKeypress = NEXT_ON_ENTER;
732
+ }
733
+ if (lastInput && nextOnInput === true) {
734
+ lastInput.onInput = NEXT_ON_INPUT;
735
+ }
736
+ }
737
+
738
+ return merge(
739
+ stepDefaults(name, stepKey),
740
+ {
741
+ children: [
742
+ {
743
+ $formkit: 'group',
744
+ id: name,
745
+ name: name,
746
+ nextStepMap: nextStepMap,
747
+ autoFocus: autoFocus,
748
+ children: inputs
749
+ }
750
+ ]
751
+ }
752
+ )
753
+ }
754
+
755
+ function commentsWithBankruptcyV2(updates = {}) {
756
+ return step(
757
+ 'commentsWithBankruptcy',
758
+ [
759
+ commentsStepHeadline(updates),
760
+ comments({
761
+ label: typeof updates.label === 'undefined' ? DEFAULT_COMMENTS_LABEL : updates.label,
762
+ placeholder: updates.placeholder || DEFAULT_COMMENTS_PLACEHOLDER_DYNAMIC,
763
+ inputClass: typeof updates.inputClass === 'undefined' ? '!t-h-40' : updates.inputClass,
764
+ }),
765
+ bankruptcyCrossSell(),
766
+ {
767
+ $el: 'div',
768
+ if: '$get(CrossSell_Bankruptcy).value == true',
769
+ children: [
770
+ comments({
771
+ label: 'Bankruptcy or debt details:',
772
+ placeholder: 'Please describe your bankrtupcy or debt situation in a few words...',
773
+ inputClass: '!t-h-16'
774
+ }, 'CrossSell:Bankruptcy')
775
+ ],
776
+ }
777
+ ],
778
+ // TODO: UGLY: use named params!
779
+ updates.nextOnEnter,
780
+ false,
781
+ undefined,
782
+ undefined,
783
+ false
784
+ )
785
+ }
786
+
787
+ function contactInfoV2(updates = {}) {
788
+ return step(
789
+ 'contactInfo',
790
+ [
791
+ contactStepHeadline(updates),
792
+ contactStepSubHeadline(updates),
793
+ // Added TF everywhere
794
+ trustedFormScript(),
795
+ email(),
796
+ phone(),
797
+ TCPAConsent(),
798
+ secureIcon()
799
+ ],
800
+ updates.nextOnEnter
801
+ )
802
+ }
803
+
804
+ function firstAndLastV2(updates = {}) {
805
+ return step(
806
+ 'firstAndLast',
807
+ [
808
+ firstAndLastStepHeadline(updates),
809
+ firstName(),
810
+ lastName()
811
+ ],
812
+ updates.nextOnEnter
813
+ )
814
+ }
815
+
816
+ function ssdiTOLPAndZip(updates = {}) {
817
+ return step(
818
+ 'ssdiTOLPAndZip',
819
+ [
820
+ {
821
+ $formkit: 'hidden',
822
+ name: "Type_Of_Legal_Problem",
823
+ id: "Type_Of_Legal_Problem",
824
+ value: "Social Security Disability and Insurance"
825
+ },
826
+ zipcodeCenter()
827
+ ],
828
+ updates.nextOnEnter,
829
+ updates.nextOnInput
830
+ )
831
+ }
832
+
833
+ function ssdiApplicantAge(updates = {}) {
834
+ return step(
835
+ 'ssdiApplicantAge',
836
+ [
837
+ verticalStepHeadline(updates),
838
+ applicantAgeCenter(),
839
+ ],
840
+ updates.nextOnEnter,
841
+ updates.nextOnInput
842
+ )
843
+ }
844
+
845
+ function ssdiDisabilityConditionStopWork(updates = {}) {
846
+ return step(
847
+ 'ssdiDisabilityConditionStopWork',
848
+ [
849
+ verticalStepHeadline(updates),
850
+ disabilityConditionStopWorkCenter(),
851
+ ],
852
+ updates.nextOnEnter,
853
+ updates.nextOnInput
854
+ )
855
+ }
856
+
857
+ function ssdiDisabilityWorkHistory(updates = {}) {
858
+ return step(
859
+ 'ssdiDisabilityWorkHistory',
860
+ [
861
+ verticalStepHeadline(updates),
862
+ disabilityWorkHistoryCenter(),
863
+ ],
864
+ updates.nextOnEnter,
865
+ updates.nextOnInput
866
+ )
867
+ }
868
+
869
+ function ssdiSocialSecurityDisabilityReceivingBenefits(updates = {}) {
870
+ return step(
871
+ 'ssdiSocialSecurityDisabilityReceivingBenefits',
872
+ [
873
+ verticalStepHeadline(updates),
874
+ socialSecurityDisabilityReceivingBenefitsCenter(),
875
+ ],
876
+ updates.nextOnEnter,
877
+ updates.nextOnInput
878
+ )
879
+ }
880
+
881
+ function ssdiDoctorTreatment(updates = {}) {
882
+ return step(
883
+ 'ssdiDoctorTreatment',
884
+ [
885
+ verticalStepHeadline(updates),
886
+ doctorTreatmentCenter(),
887
+ ],
888
+ updates.nextOnEnter,
889
+ updates.nextOnInput
890
+ )
891
+ }
892
+
893
+
894
+ function ssdiHaveAttorney(updates = {}) {
895
+ return step(
896
+ 'ssdiHaveAttorney',
897
+ [
898
+ verticalStepHeadline(updates),
899
+ haveAttorneyCenter(),
900
+ ],
901
+ updates.nextOnEnter,
902
+ updates.nextOnInput
903
+ )
904
+ }
905
+
906
+ const formNavigationV2 = () => ({
907
+ $el: 'div',
908
+ attrs: {
909
+ class: 'step-nav'
910
+ },
911
+ children: [
912
+ {
913
+ $formkit: 'button',
914
+ name: 'back_button',
915
+ onClick: '$setPreviousStep($prevStepFunc($get(form)))',
916
+ children: 'Back',
917
+ style: {
918
+ if: '$activeStep === $firstStep()',
919
+ then: 'visibility: hidden;'
920
+ }
921
+ },
922
+ {
923
+ $formkit: 'button',
924
+ name: 'next_button',
925
+ onClick: '$setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form)))',
926
+ children: {
927
+ if: '$activeStep === $firstStep()',
928
+ then: 'Start',
929
+ else: 'Next'
930
+ },
931
+ outerClass: {
932
+ if: '$activeStep === $lastStep()',
933
+ then: 't-hidden',
934
+ else: ''
935
+ },
936
+ style: {
937
+ if: '$activeStep === $lastStep()',
938
+ then: 'display: none;'
939
+ }
940
+ },
941
+ {
942
+ $formkit: 'submit',
943
+ name: 'submit_button',
944
+ label: 'Submit',
945
+ if: '$activeStep === $lastStep()',
946
+ style: {
947
+ if: '$activeStep !== $lastStep()',
948
+ then: 'display: none;'
949
+ }
950
+ }
951
+ ]
952
+ });
953
+
954
+ const formDetails = () => ({
955
+ $el: 'pre',
956
+ if: '$urlParam("fdbg", "") == 1',
957
+ children: [
958
+ {
959
+ $el: 'pre',
960
+ children: '$stringify( $get(form).value )',
961
+ attrs: {
962
+ class: 't-text-xs',
963
+ style: 'overflow: scroll'
964
+ }
965
+ },
966
+ {
967
+ $el: 'pre',
968
+ children: ['activeStep: ', '$activeStep'],
969
+ attrs: {
970
+ class: 't-text-xs',
971
+ style: 'overflow: scroll'
972
+ }
973
+ },
974
+ {
975
+ $el: 'pre',
976
+ children: ['stepHistory: ', '$stepHistory'],
977
+ attrs: {
978
+ class: 't-text-xs',
979
+ style: 'overflow: scroll'
980
+ }
981
+ },
982
+ {
983
+ $el: 'pre',
984
+ children: ['stepQueue: ', '$stepQueue'],
985
+ attrs: {
986
+ class: 't-text-xs',
987
+ style: 'overflow: scroll'
988
+ }
989
+ },
990
+ {
991
+ $el: 'pre',
992
+ children: ['steps: ', '$stepKeys()'],
993
+ attrs: {
994
+ class: 't-text-xs',
995
+ style: 'overflow: scroll'
996
+ }
997
+ }
998
+ ]
999
+ });
1000
+
1001
+ const schema = [
1002
+ defaultMetaProps(),
1003
+ formAnchor(),
1004
+ {
1005
+ $cmp: 'FormKit',
1006
+ props: formProps({
1007
+ formId: 'ssdi',
1008
+ redirectMap: {
1009
+ '*': LegalRedirectUrl()
1010
+ },
1011
+ }),
1012
+ children: [
1013
+ progressBar(),
1014
+ headline({
1015
+ children: '$urlParam("hl", "Start Your FREE Case Evaluation")',
1016
+ if: '$activeStep === $firstStep()',
1017
+ headlineClass: '!t-text-dark'
1018
+ }),
1019
+ subHeadline({
1020
+ children: '$urlParam("shl", "You Could Receive up to $3,148 Per Month!")',
1021
+ if: '$activeStep === $firstStep()',
1022
+ subheadlineClass: '!t-text-[#00428A]'
1023
+ }),
1024
+ ...hiddenInputsLegal,
1025
+ {
1026
+ $el: 'div',
1027
+ attrs: {
1028
+ class: 'form-body'
1029
+ },
1030
+ children: [
1031
+ ssdiTOLPAndZip(),
1032
+ ssdiApplicantAge({
1033
+ nextOnInput: true,
1034
+ headline: 'What is the Age of the Applicant?'
1035
+ }),
1036
+ ssdiDisabilityConditionStopWork({
1037
+ nextOnInput: true,
1038
+ headline: "Do You Expect To Be Out Of Work For At Least a Year Due To Your Health?"
1039
+ }),
1040
+ ssdiDisabilityWorkHistory({
1041
+ nextOnInput: true,
1042
+ headline: "Have You Had a Full-Time Job Within the Past 5 Years?"
1043
+ }),
1044
+ ssdiSocialSecurityDisabilityReceivingBenefits({
1045
+ nextOnInput: true,
1046
+ headline: "Are You Currently Receiving Social Security Disability Benefits?"
1047
+ }),
1048
+ ssdiDoctorTreatment({
1049
+ nextOnInput: true,
1050
+ headline: "Have You Recently Been Treated by a Doctor, Hospital or Clinic?"
1051
+ }),
1052
+ ssdiHaveAttorney({
1053
+ nextOnInput: true,
1054
+ headline: "Already Working with An Attorney?"
1055
+ }),
1056
+ commentsWithBankruptcyV2({
1057
+ nextOnEnter: false,
1058
+ label: null,
1059
+ headline: 'Please briefly describe your situation:',
1060
+ headlineClass: '!t-text-dark'
1061
+ }),
1062
+ firstAndLastV2({
1063
+ headlineClass: '!t-text-dark'
1064
+ }),
1065
+ contactInfoV2({
1066
+ headline: 'Submit Your Free Application',
1067
+ headlineClass: '!t-text-[#00428A]',
1068
+ subheadline: 'Based on your input you may qualify for SSDI benefits. Please verify your contact information.',
1069
+ nextOnEnter: false
1070
+ }),
1071
+ formNavigationV2(),
1072
+ formDetails()
1073
+ ]
1074
+ }
1075
+ ]
1076
+ }
1077
+ ];
1078
+
1079
+ export { schema as default };