bhl-forms 0.11.2 → 0.11.4

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 (122) hide show
  1. package/dist/bhl-forms.es.js +382 -376
  2. package/dist/bhl-forms.iife.js +2 -2
  3. package/dist/bhl-forms.modern.es.js +170 -167
  4. package/dist/bhl-forms.modern.iife.js +4 -4
  5. package/dist/bhl-forms.modern.umd.js +4 -4
  6. package/dist/bhl-forms.umd.js +2 -2
  7. package/dist/forms/accidentsAndInjuries.es.js +491 -870
  8. package/dist/forms/accidentsAndInjuries.iife.js +1 -1
  9. package/dist/forms/accidentsAndInjuries.json +1 -1
  10. package/dist/forms/applianceRepairMinimal.es.js +2 -2
  11. package/dist/forms/applianceRepairMinimal.iife.js +1 -1
  12. package/dist/forms/applianceRepairMinimal.json +1 -1
  13. package/dist/forms/appraisals.es.js +1 -1
  14. package/dist/forms/appraisals.iife.js +1 -1
  15. package/dist/forms/appraisals.json +1 -1
  16. package/dist/forms/business.es.js +5 -5
  17. package/dist/forms/business.iife.js +1 -1
  18. package/dist/forms/business.json +1 -1
  19. package/dist/forms/childAndFamily.es.js +5 -5
  20. package/dist/forms/childAndFamily.iife.js +1 -1
  21. package/dist/forms/childAndFamily.json +1 -1
  22. package/dist/forms/childAndFamilySingle.es.js +6 -6
  23. package/dist/forms/childAndFamilySingle.iife.js +1 -1
  24. package/dist/forms/childAndFamilySingle.json +1 -1
  25. package/dist/forms/civilLawsuit.es.js +21 -6
  26. package/dist/forms/civilLawsuit.iife.js +1 -1
  27. package/dist/forms/civilLawsuit.json +1 -1
  28. package/dist/forms/coins.es.js +1 -1
  29. package/dist/forms/coins.iife.js +1 -1
  30. package/dist/forms/coins.json +1 -1
  31. package/dist/forms/contracts.es.js +5 -5
  32. package/dist/forms/contracts.iife.js +1 -1
  33. package/dist/forms/contracts.json +1 -1
  34. package/dist/forms/criminal.es.js +6 -6
  35. package/dist/forms/criminal.iife.js +1 -1
  36. package/dist/forms/criminal.json +1 -1
  37. package/dist/forms/divorce.es.js +6 -6
  38. package/dist/forms/divorce.iife.js +1 -1
  39. package/dist/forms/divorce.json +1 -1
  40. package/dist/forms/employmentAndWorkplace.es.js +21 -6
  41. package/dist/forms/employmentAndWorkplace.iife.js +1 -1
  42. package/dist/forms/employmentAndWorkplace.json +1 -1
  43. package/dist/forms/foreclosure.es.js +112 -70
  44. package/dist/forms/foreclosure.iife.js +1 -1
  45. package/dist/forms/foreclosure.json +1 -1
  46. package/dist/forms/generalContractors.es.js +4 -4
  47. package/dist/forms/generalContractors.iife.js +1 -1
  48. package/dist/forms/generalContractors.json +1 -1
  49. package/dist/forms/generalHomeImprovement.es.js +4 -4
  50. package/dist/forms/generalHomeImprovement.iife.js +1 -1
  51. package/dist/forms/generalHomeImprovement.json +1 -1
  52. package/dist/forms/generalHomeImprovementThankYou.es.js +4 -4
  53. package/dist/forms/generalHomeImprovementThankYou.iife.js +1 -1
  54. package/dist/forms/generalHomeImprovementThankYou.json +1 -1
  55. package/dist/forms/generalLegal.es.js +5 -5
  56. package/dist/forms/generalLegal.iife.js +1 -1
  57. package/dist/forms/generalLegal.json +1 -1
  58. package/dist/forms/generalLegalJustAnswer.es.js +23 -8
  59. package/dist/forms/generalLegalJustAnswer.iife.js +1 -1
  60. package/dist/forms/generalLegalJustAnswer.json +1 -1
  61. package/dist/forms/generalLegalPopUnder.es.js +5 -5
  62. package/dist/forms/generalLegalPopUnder.iife.js +1 -1
  63. package/dist/forms/generalLegalPopUnder.json +1 -1
  64. package/dist/forms/generalLegalPopUnderSingle.es.js +23 -8
  65. package/dist/forms/generalLegalPopUnderSingle.iife.js +1 -1
  66. package/dist/forms/generalLegalPopUnderSingle.json +1 -1
  67. package/dist/forms/generalLegalSingle.es.js +23 -8
  68. package/dist/forms/generalLegalSingle.iife.js +1 -1
  69. package/dist/forms/generalLegalSingle.json +1 -1
  70. package/dist/forms/generalLegalSingleMinimal.es.js +5 -5
  71. package/dist/forms/generalLegalSingleMinimal.iife.js +1 -1
  72. package/dist/forms/generalLegalSingleMinimal.json +1 -1
  73. package/dist/forms/generalLegalThankYou.es.js +4 -4
  74. package/dist/forms/generalLegalThankYou.iife.js +1 -1
  75. package/dist/forms/generalLegalThankYou.json +1 -1
  76. package/dist/forms/generalLegalThankYouConsultation.es.js +23 -8
  77. package/dist/forms/generalLegalThankYouConsultation.iife.js +1 -1
  78. package/dist/forms/generalLegalThankYouConsultation.json +1 -1
  79. package/dist/forms/harassmentAndDiscrimination.es.js +5 -5
  80. package/dist/forms/harassmentAndDiscrimination.iife.js +1 -1
  81. package/dist/forms/harassmentAndDiscrimination.json +1 -1
  82. package/dist/forms/landlordTenant.es.js +6 -6
  83. package/dist/forms/landlordTenant.iife.js +1 -1
  84. package/dist/forms/landlordTenant.json +1 -1
  85. package/dist/forms/malpractice.es.js +4 -4
  86. package/dist/forms/malpractice.iife.js +1 -1
  87. package/dist/forms/malpractice.json +1 -1
  88. package/dist/forms/mechanics.es.js +4 -4
  89. package/dist/forms/mechanics.iife.js +1 -1
  90. package/dist/forms/mechanics.json +1 -1
  91. package/dist/forms/patentsAndIP.es.js +6 -6
  92. package/dist/forms/patentsAndIP.iife.js +1 -1
  93. package/dist/forms/patentsAndIP.json +1 -1
  94. package/dist/forms/realEstate.es.js +5 -5
  95. package/dist/forms/realEstate.iife.js +1 -1
  96. package/dist/forms/realEstate.json +1 -1
  97. package/dist/forms/repossession.es.js +5 -5
  98. package/dist/forms/repossession.iife.js +1 -1
  99. package/dist/forms/repossession.json +1 -1
  100. package/dist/forms/ssdi.es.js +2 -2
  101. package/dist/forms/ssdi.iife.js +1 -1
  102. package/dist/forms/ssdi.json +1 -1
  103. package/dist/forms/testForm.es.js +1 -1
  104. package/dist/forms/testForm.iife.js +1 -1
  105. package/dist/forms/testForm.json +1 -1
  106. package/dist/forms/testRedirects.es.js +4 -4
  107. package/dist/forms/testRedirects.iife.js +1 -1
  108. package/dist/forms/testRedirects.json +1 -1
  109. package/dist/forms/vets.es.js +1 -1
  110. package/dist/forms/vets.iife.js +1 -1
  111. package/dist/forms/vets.json +1 -1
  112. package/dist/forms/willsAndTrusts.es.js +5 -5
  113. package/dist/forms/willsAndTrusts.iife.js +1 -1
  114. package/dist/forms/willsAndTrusts.json +1 -1
  115. package/dist/forms/windows.es.js +4 -4
  116. package/dist/forms/windows.iife.js +1 -1
  117. package/dist/forms/windows.json +1 -1
  118. package/dist/forms/workersCompensation.es.js +5 -5
  119. package/dist/forms/workersCompensation.iife.js +1 -1
  120. package/dist/forms/workersCompensation.json +1 -1
  121. package/dist/main.css +1 -1
  122. package/package.json +2 -2
@@ -99,8 +99,8 @@ const col2RadioCenter = (updates) => {
99
99
  }
100
100
  updates.innerClass = "t-items-start";
101
101
  updates.wrapperClass = "$reset t-flex t-cursor-pointer t-mb-3";
102
- updates.optionClass = "t-pl-4 md:t-pl-8 md:t-min-w-[200px]";
103
- updates.optionsClass = "t-pl-4 t-pt-3 t-grid t-grid-cols-1 md:t-grid-cols-2";
102
+ updates.optionClass = "t-pl-4 sm:t-pl-8 sm:t-min-w-[200px]";
103
+ updates.optionsClass = "t-pl-0 sm:t-pl-4 t-pt-3 t-grid t-grid-cols-1 sm:t-grid-cols-2";
104
104
  updates.messagesClass = "t-flex t-justify-center";
105
105
  updates.helpClass = "t-mt-0 t-mb-4 !t-text-sm t-text-center";
106
106
  return radio(updates)
@@ -259,14 +259,11 @@ const verticalDate = (updates) => {
259
259
  return date(updates)
260
260
  };
261
261
 
262
- const email = (scope, vertical, updates = {}) => {
263
- const func = vertical ? verticalText : sbsText;
264
- const label = vertical ? updates.label : "Email Address:";
265
- return func({
266
- $formkit: "email",
262
+ const emailFL = (scope, updates = {}) => {
263
+ return text({
264
+ $formkit: "FloatingLabelText",
267
265
  name: scope ? scope + ":" + "Email" : "Email",
268
- label,
269
- placeholder: "email@domain.com",
266
+ placeholder: "Email Address",
270
267
  autocomplete: "email",
271
268
  "data-tf-sensitive": "false",
272
269
  validation: "required|email",
@@ -274,59 +271,72 @@ const email = (scope, vertical, updates = {}) => {
274
271
  required: "Email is required",
275
272
  email: "Invalid Email",
276
273
  },
274
+ inputClass: "t-text-center",
275
+ wrapperClass: "t-flex t-justify-center",
277
276
  ...updates,
278
277
  })
279
278
  };
280
279
 
281
- const firstName = (scope, vertical, updates = {}) => {
282
- const func = vertical ? verticalText : sbsText;
283
- const label = vertical ? updates.label : "First Name:";
284
- return func({
285
- label,
280
+ const firstNameFL = (scope, updates = {}) => {
281
+ return text({
282
+ $formkit: "FloatingLabelText",
286
283
  placeholder: "First Name",
287
284
  name: scope ? scope + ":" + "First_Name" : "First_Name",
288
285
  autocomplete: "given-name",
289
286
  validationMessages: {
290
287
  required: "First Name is required",
291
288
  },
289
+ inputClass: "t-text-center",
292
290
  ...updates,
293
291
  })
294
292
  };
295
293
 
296
- const lastName = (scope, vertical, updates = {}) => {
297
- const func = vertical ? verticalText : sbsText;
298
- const label = vertical ? updates.label : "Last Name:";
299
- return func({
300
- label,
294
+ const lastNameFL = (scope, updates = {}) => {
295
+ return text({
296
+ $formkit: "FloatingLabelText",
301
297
  placeholder: "Last Name",
302
298
  name: scope ? scope + ":" + "Last_Name" : "Last_Name",
303
299
  autocomplete: "family-name",
304
300
  validationMessages: {
305
301
  required: "Last Name is required",
306
302
  },
303
+ inputClass: "t-text-center",
307
304
  ...updates,
308
305
  })
309
306
  };
310
307
 
311
- const phone = (scope, vertical, updates = {}) => {
312
- const func = vertical ? verticalText : sbsText;
313
- const label = vertical ? updates.label : "Phone Number:";
314
- return func({
315
- $formkit: "tel",
308
+ const fullNameFLMobileCol = (scope, updates = {}) => {
309
+ return {
310
+ $el: "div",
311
+ attrs: {
312
+ class: "t-flex t-flex-col sm:t-flex-row t-flex-wrap t-gap-x-[2%] t-justify-center sm:!t-max-w-[70%]",
313
+ },
314
+ children: [
315
+ firstNameFL(scope, { outerClass: "sm:!t-max-w-[49%]", ...updates }),
316
+ lastNameFL(scope, { outerClass: "sm:!t-max-w-[49%]", ...updates }),
317
+ ],
318
+ }
319
+ };
320
+
321
+ const phoneFL = (scope, updates = {}) => {
322
+ return text({
323
+ $formkit: "FloatingLabelText",
324
+ datatype: "tel",
316
325
  name: scope ? scope + ":" + "Primary_Phone" : "Primary_Phone",
317
- label,
318
- placeholder: updates.placeholder || "###-###-####",
319
- maxlength: 12,
320
- help: updates.help || "10-digit phone number, hyphens optional",
326
+ placeholder: updates.placeholder || "Phone Number",
327
+ maxlength: 14,
328
+ help: updates.help || null,
321
329
  autocomplete: "tel-national",
322
330
  "data-tf-sensitive": "false",
323
- validation: "required|matches:/^[0-9]{3}-?[0-9]{3}-?[0-9]{4}$/|valid_phone",
331
+ validation: "required|matches:/^[0-9]{3}[0-9]{3}[0-9]{4}$/|valid_phone",
324
332
  validationMessages: {
325
333
  required: "Phone Number is required",
326
- matches: "Invalid Phone Format, use ###-###-####",
334
+ matches: "Invalid Phone Format, use (XXX) YYY-ZZZZ",
327
335
  valid_phone: "Invalid Phone Number",
328
336
  },
329
337
  helpClass: "t-mt-2.5 md:t-text-right md:t-mt-[-2px]",
338
+ inputClass: "t-text-center",
339
+ wrapperClass: "t-flex t-justify-center",
330
340
  ...updates,
331
341
  })
332
342
  };
@@ -1042,6 +1052,24 @@ function secureIcon(updates = {}) {
1042
1052
  return merge(secureIconDefault, updates)
1043
1053
  }
1044
1054
 
1055
+ function secureIconStandalone(updates = {}) {
1056
+ return {
1057
+ if: "$activeStep === $lastStep()",
1058
+ style: {
1059
+ if: "$activeStep !== $lastStep()",
1060
+ then: "display: none;",
1061
+ },
1062
+ children: [
1063
+ secureIcon({
1064
+ attrs: {
1065
+ class: "t-flex t-justify-center t-items-center t-text-sm t-text-gray-500 t-pb-6 sm:t-pb-8",
1066
+ },
1067
+ ...updates,
1068
+ }),
1069
+ ],
1070
+ }
1071
+ }
1072
+
1045
1073
  function crossSellQuestionsStepHeadline(updates) {
1046
1074
  return {
1047
1075
  $el: "h3",
@@ -1068,26 +1096,13 @@ function verticalStepHeadline(updates) {
1068
1096
  children: updates.headline || "Tell Us About Your Situation",
1069
1097
  attrs: {
1070
1098
  class:
1071
- "t-flex t-justify-center t-text-center t-text-xl t-font-bold t-text-dark t-pb-5 t-pt-0 t-px-1" +
1099
+ "t-flex t-justify-center t-text-center t-text-lg sm:t-text-xl t-font-bold t-text-dark t-pb-5 t-pt-0 t-px-1" +
1072
1100
  " " +
1073
1101
  (updates.headlineClass || ""),
1074
1102
  },
1075
1103
  }
1076
1104
  }
1077
1105
 
1078
- function verticalStepSubHeadline(updates) {
1079
- return {
1080
- $el: "h5",
1081
- children: updates.subheadline || "",
1082
- attrs: {
1083
- class:
1084
- "t-flex t-justify-center t-text-center !t-text-lg t-font-normal t-text-dark t-pb-5 t-pt-0 t-px-1" +
1085
- " " +
1086
- (updates.subheadlineClass || ""),
1087
- },
1088
- }
1089
- }
1090
-
1091
1106
  function commentsStepHeadline(updates) {
1092
1107
  return {
1093
1108
  $el: "h3",
@@ -1124,7 +1139,7 @@ function firstAndLastStepHeadline(updates) {
1124
1139
  function legalCrossSellsStepHeadline(updates) {
1125
1140
  return {
1126
1141
  $el: "h3",
1127
- children: updates.headline || "Do any of the following situations apply?",
1142
+ children: updates.headline || "Do any of the following apply?",
1128
1143
  attrs: {
1129
1144
  class:
1130
1145
  "t-flex t-justify-center t-text-center t-text-xl t-font-bold t-text-blue-500 t-pb-5 t-pt-0 t-px-1" +
@@ -1277,23 +1292,40 @@ function commentsWithBankruptcy(updates = {}) {
1277
1292
  )
1278
1293
  }
1279
1294
 
1280
- function contactInfo(updates = {}) {
1295
+ function contactInfoV2(updates = {}) {
1281
1296
  return step(
1282
1297
  "contactInfo",
1283
1298
  [
1284
1299
  contactStepHeadline(updates),
1285
1300
  contactStepSubHeadline(updates),
1286
1301
  trustedFormScript(),
1287
- email(updates.scope),
1288
- phone(updates.scope),
1289
- TCPAConsent(updates.scope),
1290
- secureIcon(),
1302
+ {
1303
+ $el: "div",
1304
+ attrs: {
1305
+ class: "t-flex t-flex-col t-justify-center t-items-center",
1306
+ },
1307
+ children: [
1308
+ emailFL(updates.scope, {
1309
+ outerClass: "!t-max-w-[95%] !t-w-[96%] sm:!t-w-[70%]",
1310
+ innerClass: "!t-w-[98%] !t-max-w-[98%] sm:!t-w-[100%] sm:!t-max-w-[100%]",
1311
+ }),
1312
+ phoneFL(updates.scope, {
1313
+ outerClass: "!t-max-w-[95%] !t-w-[96%] sm:!t-w-[70%]",
1314
+ innerClass: "!t-w-[98%] !t-max-w-[98%] sm:!t-w-[100%] sm:!t-max-w-[100%]",
1315
+ }),
1316
+ ],
1317
+ },
1318
+ TCPAConsent(updates.scope, {
1319
+ outerClass: "!t-flex !t-flex-col !t-justify-center !t-items-center",
1320
+ wrapperClass: "t-w-[95%] sm:t-w-[80%]",
1321
+ messagesClass: "t-w-[95%] sm:t-w-[80%]",
1322
+ }),
1291
1323
  ],
1292
1324
  { nextOnEnter: false }
1293
1325
  )
1294
1326
  }
1295
1327
 
1296
- function firstAndLastV3(updates = {}) {
1328
+ function firstAndLastV4(updates = {}) {
1297
1329
  return step(
1298
1330
  "firstAndLast",
1299
1331
  [
@@ -1301,12 +1333,13 @@ function firstAndLastV3(updates = {}) {
1301
1333
  headline: updates.headline ?? "Who is looking for help?",
1302
1334
  headlineClass: updates.headlineClass,
1303
1335
  }),
1304
- verticalStepSubHeadline({
1305
- subheadline: updates.subheadline ?? "We never share info without consent",
1306
- subheadlineClass: "!t-text-sm !t-text-gray-500",
1307
- }),
1308
- firstName(updates.scope),
1309
- lastName(updates.scope),
1336
+ {
1337
+ $el: "div",
1338
+ attrs: {
1339
+ class: "t-flex t-flex-col t-justify-center t-items-center t-pt-3",
1340
+ },
1341
+ children: [fullNameFLMobileCol(updates.scope)],
1342
+ },
1310
1343
  ],
1311
1344
  updates
1312
1345
  )
@@ -1475,7 +1508,7 @@ function amountPaymentsPastDue(updates = {}) {
1475
1508
  return sqstep(
1476
1509
  "amountPaymentsPastDue",
1477
1510
  amountPaymentsPastDue$1(updates.scope, true, updates.input),
1478
- "Total amount of payments past due:",
1511
+ "Total payments past due:",
1479
1512
  updates
1480
1513
  )
1481
1514
  }
@@ -1488,7 +1521,7 @@ function defaultNotice(updates = {}) {
1488
1521
  return sqstep(
1489
1522
  "defaultNotice",
1490
1523
  defaultNotice$1(updates.scope, true, updates.input),
1491
- "Have you received a loan default notice?",
1524
+ "Did you get a loan default notice?",
1492
1525
  updates
1493
1526
  )
1494
1527
  }
@@ -1509,13 +1542,17 @@ function foreclosureTOLP(updates = {}) {
1509
1542
  )
1510
1543
  }
1511
1544
 
1512
- const formNavigation = (updates = {}) => ({
1545
+ const formNavigationNoFinalBack = (updates = {}) => ({
1513
1546
  $el: "div",
1514
1547
  attrs: {
1515
1548
  class: {
1516
1549
  if: "$activeStep === $firstStep()",
1517
1550
  then: "step-nav " + (updates.firstStepButtonClass || "!t-justify-center sm:!t-justify-between"),
1518
- else: "step-nav !t-justify-between",
1551
+ else: {
1552
+ if: "$activeStep === $lastStep()",
1553
+ then: "step-nav !t-justify-center ",
1554
+ else: "step-nav !t-justify-between",
1555
+ },
1519
1556
  },
1520
1557
  },
1521
1558
  children: [
@@ -1525,12 +1562,12 @@ const formNavigation = (updates = {}) => ({
1525
1562
  onClick: "$setPreviousStep($prevStepFunc($get(form)))",
1526
1563
  children: "Back",
1527
1564
  outerClass: {
1528
- if: "$activeStep === $firstStep()",
1565
+ if: "$fns.eq($activeStep, $firstStep()) || $fns.eq($activeStep, $lastStep())",
1529
1566
  then: "t-hidden sm:t-block",
1530
1567
  else: "",
1531
1568
  },
1532
1569
  style: {
1533
- if: "$activeStep === $firstStep()",
1570
+ if: "$fns.eq($activeStep, $firstStep()) || $fns.eq($activeStep, $lastStep())",
1534
1571
  then: "display: none;",
1535
1572
  },
1536
1573
  classes: {
@@ -1569,7 +1606,8 @@ const formNavigation = (updates = {}) => ({
1569
1606
  then: "display: none;",
1570
1607
  },
1571
1608
  classes: {
1572
- input: (updates.inputClass || "") + " !t-ml-2 sm:!t-ml-auto f-navigation-input",
1609
+ input: (updates.inputClass || "") + " f-navigation-input !t-w-60",
1610
+ outer: "!t-mt-0 !t-mb-0",
1573
1611
  },
1574
1612
  },
1575
1613
  ],
@@ -1780,7 +1818,7 @@ function headlineDefaults(updates = {}) {
1780
1818
  $el: "h1",
1781
1819
  attrs: {
1782
1820
  class:
1783
- "t-flex t-justify-center t-text-center t-text-[2rem] t-font-semibold t-pt-5 t-px-7 md:t-px-3" +
1821
+ "t-flex t-justify-center t-text-center t-text-[1.7rem] sm:t-text-[2rem] t-font-semibold t-pt-5 t-px-7 md:t-px-3" +
1784
1822
  " " +
1785
1823
  (updates.headlineClass || "") +
1786
1824
  " f-first-headline",
@@ -2108,7 +2146,7 @@ meta.data.dynamicSchema = [
2108
2146
  willsAndTrustsCrossSellQuestions(),
2109
2147
  divorceAndSeparationCrossSellQuestions(),
2110
2148
  childCustodyCrossSellQuestions(),
2111
- firstAndLastV3({
2149
+ firstAndLastV4({
2112
2150
  headlineClass: "!t-text-dark",
2113
2151
  }),
2114
2152
  ];
@@ -2140,7 +2178,7 @@ const schema = [
2140
2178
  headlineClass: "!t-pt-8 !t-text-2xl",
2141
2179
  }),
2142
2180
  subHeadline({
2143
- children: '$urlParam("shl", "What Type of Property Is Facing Foreclosure?")',
2181
+ children: '$urlParam("shl", "What Is The Property Type?")',
2144
2182
  if: "$activeStep === $firstStep()",
2145
2183
  }),
2146
2184
  ...hiddenInputsLegal,
@@ -2155,14 +2193,18 @@ const schema = [
2155
2193
  nextStepMap: nextStepsMapForeclosure,
2156
2194
  }),
2157
2195
  dynamicSchemaNode(),
2158
- contactInfo({
2196
+ contactInfoV2({
2159
2197
  headline: "Secure Your Future Today",
2160
2198
  subheadline: "Attorneys Are Ready To Help",
2199
+ subheadlineClass: "!t-text-base",
2161
2200
  }),
2162
- formNavigation({
2163
- startText: "Get Started",
2201
+ formNavigationNoFinalBack({
2202
+ startText: "Start Now",
2203
+ submitLabel: "Get Help Now",
2164
2204
  inputClass: "!t-font-extrabold",
2205
+ firstStepButtonClass: "!t-justify-center",
2165
2206
  }),
2207
+ secureIconStandalone(),
2166
2208
  formDetails(),
2167
2209
  ],
2168
2210
  },
@@ -1 +1 @@
1
- var foreclosure=function(){"use strict";function e(){return Object.assign({},...arguments)}const t='$getKey($meta, "commentsPlaceholders." + $get(Type_Of_Legal_Problem).value, $meta.defaultCommentsPlaceholder)',a='$getKey($meta, "finalHeadlines." + $get(Type_Of_Legal_Problem).value, $meta.defaultFinalHeadline)',s='$getKey($meta, "finalSubHeadlines." + $get(Type_Of_Legal_Problem).value, $meta.defaultFinalSubHeadline)',l=e=>(e.name&&!e.id&&(e.id=e.name),e),i=t=>(l(t),e({$formkit:"checkbox",validation:"required",validationMessages:{required:"Field is required"}},t)),n=e=>(e&&e.legendClass||(e.legendClass="required"),e.fieldsetClass="$reset",e.optionsClass="t-pl-8 md:t-pl-2 t-pt-3 t-grid t-grid-cols-1 md:t-grid-cols-2",e.innerClass="t-items-start",e.wrapperClass="$reset t-flex t-cursor-pointer t-mb-3",i(e)),r=e=>(e&&e.legendClass||(e.legendClass="required t-w-[100%] t-text-center"),e.fieldsetClass="$reset t-flex t-justify-center t-flex-col",e.innerClass="t-items-start",e.wrapperClass="$reset t-flex t-cursor-pointer t-mb-3",e.optionClass="t-pl-4 md:t-pl-16 md:t-min-w-[200px]",e.optionsClass="t-pl-4 t-pt-3 t-grid t-grid-cols-1 md:t-grid-cols-2",e.messagesClass="t-flex t-justify-center",e.helpClass="t-mt-0 t-mb-4 !t-text-sm t-text-center",i(e)),o=t=>(l(t),e({$formkit:"radio",validation:"required",validationMessages:{required:"Field is required"},optionsClass:"t-pt-3 t-pl-1",legendClass:"required"},t)),d=e=>(e.legendClass="required t-w-[100%] t-text-center",void 0===e.fieldsetClass&&(e.fieldsetClass="$reset t-flex t-justify-center"),e.innerClass="t-items-start",e.wrapperClass="$reset t-flex t-cursor-pointer t-mb-3",e.optionClass="t-pl-4 md:t-pl-8 md:t-min-w-[200px]",e.optionsClass="t-pl-4 t-pt-3 t-grid t-grid-cols-1 md:t-grid-cols-2",e.messagesClass="t-flex t-justify-center",e.helpClass="t-mt-0 t-mb-4 !t-text-sm t-text-center",o(e)),u=e=>(e.legendClass="legend-left-flex md:t-max-w-[40%] required",e.fieldsetClass="$reset side-by-side-flex",e.optionsClass="md:t-ml-4 md:t-mt-2 t-grid t-grid-cols-1 md:t-grid-cols-2-125",e.innerClass="t-flex t-items-start",e.wrapperClass="$reset t-flex t-cursor-pointer t-mb-3",o(e)),c=e=>(e.options=["Yes","No"],(e=>(e.legendClass="legend-left t-pb-1 required",e.fieldsetClass="$reset side-by-side t-items-center",e.optionsClass="t-mt-1 t-grid t-grid-cols-1 md:t-grid-cols-2-125 t-items-center",e.innerClass="t-flex t-items-center",e.optionClass="t-pr-1",o(e)))(e)),p=e=>(e.legendClass="legend-left",e.fieldsetClass="$reset t-flex t-justify-center t-flex-col-reverse t-items-center",void 0===e.optionsClass&&(e.optionsClass="t-flex t-flex-col sm:t-flex-row t-justify-center t-my-3"),e.optionClass="radiobtn t-my-2 sm:t-my-0 t-mx-2 md:t-mx-5",e.wrapperClass="$reset formkit-wrapper t-mb-0 t-flex t-items-center t-h-[100%]",e.labelClass="t-font-semibold t-text-[#1e448f] t-w-[100%]",e.decoratorIcon=!1,e.messagesClass="t-flex t-justify-center",e.helpClass="t-mt-2.5 !t-text-sm t-text-center",o(e)),m=e=>(e.options=["Yes","No"],e.optionsClass="t-flex t-justify-center t-my-3",p(e)),f=t=>(l(t),e({$formkit:"select",placeholder:"Please Select",validation:"required",validationMessages:{required:"Field is required"},inputClass:"t-bg-white",labelClass:"required"},t)),h=e=>(e.labelClass="required",e.wrapperClass="side-by-side t-items-center",e.innerClass="select-height-content",e.helpClass="t-mt-2.5 md:t-text-right md:t-mt-[-5px]",f(e)),y=e=>(e.labelClass="required",e.wrapperClass="t-flex t-justify-center",e.messagesClass="t-flex t-justify-center",e.inputClass="t-min-w-[150px] t-bg-white "+(e.inputClass||""),e.helpClass="t-mt-2.5 t-text-center",f(e)),b=t=>(l(t),e({$formkit:"text",validation:"required",validationMessages:{required:"Field is required"},labelClass:"required"},t)),g=e=>(e.wrapperClass="side-by-side t-items-center",b(e)),C=e=>(e.wrapperClass="t-flex t-justify-center",e.messagesClass="t-flex t-justify-center",e.inputClass="t-text-center",e.helpClass="t-mt-2.5 !t-text-sm t-text-center",b(e)),x=t=>(l(t),e({$formkit:"DatePicker",validation:"required",validationMessages:{required:"Field is required"},labelClass:"required t-block t-mb-3 t-font-semibold t-text-base formkit-invalid:t-text-red-500",innerClass:"t-border t-border-gray-400 formkit-invalid:t-border-red-500 t-rounded t-mb-1 focus-within:t-border-blue-500"},t)),v=e=>(e.wrapperClass="side-by-side t-items-center",x(e)),_=e=>(e.wrapperClass="t-flex t-justify-center",e.inputClass="t-text-center",e.messagesClass="t-flex t-justify-center",x(e)),$=(e,t,a={})=>(t?C:g)({$formkit:"email",name:e?e+":Email":"Email",label:t?a.label:"Email Address:",placeholder:"email@domain.com",autocomplete:"email","data-tf-sensitive":"false",validation:"required|email",validationMessages:{required:"Email is required",email:"Invalid Email"},...a}),w=(e,t,a={})=>(t?C:g)({label:t?a.label:"First Name:",placeholder:"First Name",name:e?e+":First_Name":"First_Name",autocomplete:"given-name",validationMessages:{required:"First Name is required"},...a}),S=(e,t,a={})=>(t?C:g)({label:t?a.label:"Last Name:",placeholder:"Last Name",name:e?e+":Last_Name":"Last_Name",autocomplete:"family-name",validationMessages:{required:"Last Name is required"},...a}),I=(e,t,a={})=>(t?C:g)({$formkit:"tel",name:e?e+":Primary_Phone":"Primary_Phone",label:t?a.label:"Phone Number:",placeholder:a.placeholder||"###-###-####",maxlength:12,help:a.help||"10-digit phone number, hyphens optional",autocomplete:"tel-national","data-tf-sensitive":"false",validation:"required|matches:/^[0-9]{3}-?[0-9]{3}-?[0-9]{4}$/|valid_phone",validationMessages:{required:"Phone Number is required",matches:"Invalid Phone Format, use ###-###-####",valid_phone:"Invalid Phone Number"},helpClass:"t-mt-2.5 md:t-text-right md:t-mt-[-2px]",...a}),P=(t,a,s={})=>(a?C:g)(e({label:a?s.label:"Age of Applicant?",placeholder:"Age between 18 and 65",name:t?t+":Applicant_Age":"Applicant_Age",value:a?s.value??"50":null,maxlength:2,inputmode:"numeric",validation:"required|min:18,max:65",validationMessages:{required:"Applicant Age is required",min:"Invalid Age - must be between 18 and 65",max:"Invalid Age - must be between 18 and 65"},...s})),k=(t,a,s={})=>(a?m:c)(e({label:a?s.label:"Were You at Fault?",name:t?t+":At_Fault":"At_Fault"},s)),A=e=>{return(t={label:"I'd also like a consult for bankruptcy or debt elimination (optional)",help:"Note: you will be contacted separately by a bankruptcy/debt expert",name:e?e+":CrossSell_Bankruptcy":"CrossSell_Bankruptcy",id:e?e+":CrossSell_Bankruptcy":"CrossSell_Bankruptcy",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")',validation:null,helpClass:"!t-text-sm"}).legendClass="legend-left required",t.fieldsetClass="$reset side-by-side",t.optionsClass="t-pl-1",t.innerClass="t-flex t-items-center",t.wrapperClass="t-mb-3",i(t);var t},T=(t,a,s={})=>(a?d:h)(e({label:a?s.label:"With Whom Do the Children Currently Live?",name:t?t+":Child_Home":"Child_Home",options:["Mother","Father","Grandparents","Other"]},s)),D=(t,a,s={})=>(a?p:h)(e({label:a?s.label:"Who is the Primary Caregiver?",name:t?t+":Child_Primary_Caregiver":"Child_Primary_Caregiver",options:["Mother","Father","Other"]},s)),E=(t,a,s={})=>(a?d:h)(e({label:a?s.label:"Your Relationship to Child(ren):",name:t?t+":Child_Relationship":"Child_Relationship",options:["Father","Mother","Grandparent","Aunt/Uncle","Other"]},s)),L=(t,a,s={})=>(a?d:h)(e({label:a?s.label:"Status of Claim:",name:t?t+":Claim_Status":"Claim_Status",options:["No action taken yet","Demand for compensation made","Lawsuit filed","Other"]},s)),O=(t,a,s)=>(t=>(l(t),e({$formkit:"textarea",rows:5,maxlength:500,validation:"required",validationMessages:{required:"Field is required"},innerClass:"t-max-w-xl",labelClass:"required"},t)))(e({name:t?t+":Comments":"Comments",label:"Please briefly describe your situation in a few words:",placeholder:'For Example: "I would like help with child support payments" or "I need help with visitation rights"'},s)),W=(t,a,s={})=>(a?d:h)(e({name:t?t+":Degree_Of_Interest":"Degree_Of_Interest",id:t?t+":Degree_Of_Interest":"Degree_Of_Interest",label:a?s.label:"How Likely Are You to Pay if Your Issue Could be Resolved?",help:a?s.help:"No payment necessary to speak with lawyers.",options:["Definitely","Probably","Maybe","Absolutely Can't Afford"]},s)),F=(t,a,s={})=>W(t,a,e(s,{help:"No payment necessary to speak with lawyers."})),j=(t,a,s={})=>(a?m:c)(e({name:t?t+":Disability_Condition_Stop_Work":"Disability_Condition_Stop_Work",label:a?s.label:"Do You Expect To Be Out Of Work For At Least a Year Due To Your Health?"},s)),M=(t,a,s={})=>(a?m:c)(e({name:t?t+":Disability_Work_History":"Disability_Work_History",label:a?s.label:"Have You Had a Full-Time Job Within the Past 5 Years?"},s)),q=(t,a,s={})=>(a?m:c)(e({name:t?t+":Doctor_Treatment":"Doctor_Treatment",label:a?s.label:"Have You Recently Been Treated by a Doctor, Hospital or Clinic?"},s)),N=(t,a,s={})=>(a?d:h)(e({name:t?t+":Estate_Legal_Services_Needed":"Estate_Legal_Services_Needed",label:a?s.label:"Legal Services Needed for Your Estate:",options:["Charitable Giving","Contested Wills","Drafting Wills or Trust","Estate Administration","Asset Protection","Other"]},s)),H=(t,a,s={})=>(a?m:c)(e({label:a?s.label:"Already Working with An Attorney?",name:t?t+":Have_Attorney":"Have_Attorney"},s)),B=(t,a,s={})=>(a?m:c)(e({name:t?t+":Have_Children":"Have_Children",label:a?s.label:"Do You Have Children?"},s)),Y=(t,a,s={})=>(a?_:v)(e({label:a?s.label:"Date of Incident:",name:t?t+":Incident_Date":"Incident_Date"},s)),R=(t,a,s={})=>(a?d:h)(e({label:a?s.label:"How Will You Pay for Legal Fees if You Hire a Lawyer?",help:a?s.help:"No payment necessary to start a consultation.",name:t?t+":Lawyer_Payment_Method":"Lawyer_Payment_Method",options:a?{Cash:"Cash","Credit Card":"Credit Card",Family:"Family or Friend",Other:"Other"}:["Cash","Check","Credit Card","Friend","Family","Other"],fieldsetClass:a?"$reset t-flex t-flex-col t-items-center":void 0},s)),Q=(t,a,s={})=>(a?d:h)(e({label:a?s.label:"Marital Status:",name:t?t+":Marital_Status":"Marital_Status",options:["Unmarried, Living Together","Unmarried, Do Not Live Together","Married, Living Together","Separated","Divorced","Other"]},s)),U=(t,a,s={})=>(a?d:u)(e({label:a?s.label:"Primary Injury:",name:t?t+":Primary_Injury":"Primary_Injury",options:["Anxiety","Back or Neck Pain","Broken Bones","Cuts and Bruises","Headaches","Memory Loss","Loss of Limb","Not Sure or Other"]},s)),K=(t,a,s={})=>(a?m:c)(e({name:t?t+":Police_Report_Filed":"Police_Report_Filed",label:a?s.label:"Was a Police Report Filed?"},s)),V=(t,a,s={})=>(a?d:h)(e({label:a?s.label:"What is Your Role in this Matter?",name:t?t+":Role_In_Matter_Probate":"Role_In_Matter_Probate",options:["Preparing My Will","Executor","Heir","Other"]},s)),G=(t,a,s={})=>(a?m:c)(e({name:t?t+":Social_Security_Disability_Receiving_Benefits":"Social_Security_Disability_Receiving_Benefits",label:a?s.label:"Are You Currently Receiving Social Security Disability Benefits?"},s)),z=(e,t={})=>({$formkit:"checkbox",label:"$meta.tcpaLanguage",__raw__sectionsSchema:{label:{attrs:{innerHTML:"$label"}}},name:e?e+":TCPA_Opt_In":"TCPA_Opt_In","data-tf-sensitive":"false",validation:"required|accepted",validationMessages:{required:"Consent is required",accepted:"Consent is required"},classes:{outer:t.outerClass?t.outerClass:"",wrapper:t.wrapperClass?t.wrapperClass:"",messages:t.messagesClass?t.messagesClass:"",label:"!t-text-[0.7rem] t-text-slate-500 t-font-normal !t-leading-[0.9rem]"+(t.labelClass?" "+t.labelClass:"")}}),Z=(t,a,s={})=>(a?r:n)(e({label:a?s.label:"Type of Assets:",name:t?t+":Type_Of_Assets":"Type_Of_Assets",options:["Business Interests","Cash","Life Insurance Policies","Pensions/Retirement","Personal Possessions","Property","Stock/Bonds"]},s)),J=(t,a,s={})=>(a?d:h)(e({label:a?s.label:"Type of Property:",name:t?t+":Type_Of_Property":"Type_Of_Property",options:["Residential","Commercial","Industrial","Agricultural","Recreational","Other"]},s)),X=(t,a,s={})=>(a?d:h)(e({label:a?s.label:"Value of Your Assets?",name:t?t+":Value_Of_Assets":"Value_Of_Assets",options:["Less than 50K","50K to 100K","100K to 250K","250K to 500K","500K to 1M","More than 1M"]},s)),ee=(t,a)=>e({$cmp:"FormKit",props:{type:"group",key:t,id:t,name:t}},a),te="$onEnter($setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form))))",ae="$onInput($setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form))))",se=e=>"group"!==e.type&&"section"!==e.type&&"form"!==e.type&&"hidden"!==e.$formkit&&!e.children,le=e=>{if(se(e))return e;for(var t=e.children.length-1;t>=0;t--){if("string"==typeof e.children)continue;const a=e.children[t];if(se(a))return a;const s=le(a);if(s)return s}return null},ie={$el:"div",if:"$activeStep === $lastStep()",attrs:{class:"t-flex t-justify-center t-items-center t-text-sm t-text-gray-500"},children:[{$el:"img",attrs:{loading:"lazy",alt:"",style:{border:0},width:"25",height:"25",src:"https://d27hmee62k45vz.cloudfront.net/lock_icon_1.jpeg"}},{$el:"span",children:"Secure & Encrypted",attrs:{class:"t-pl-2 t-pt-1 t-font-medium"}}]};function ne(t={}){return e(ie,t)}function re(e){return{$el:"h3",children:e.headline||"Tell Us About Your Situation",attrs:{class:"t-flex t-justify-center t-text-center t-text-2xl t-font-bold t-text-blue-500 t-pb-4 t-pt-0 t-px-1"}}}function oe(e){return{$el:"h5",children:e.subheadline||"Tell us about your situation:",attrs:{class:"t-flex t-justify-center t-text-dark t-text-center !t-text-lg t-font-semibold t-pb-4 t-pt-0 t-px-3"}}}function de(e){return{$el:"h3",children:e.headline||"Tell Us About Your Situation",attrs:{class:"t-flex t-justify-center t-text-center t-text-xl t-font-bold t-text-dark t-pb-5 t-pt-0 t-px-1 "+(e.headlineClass||"")}}}function ue(e){return{$el:"h5",children:e.subheadline||"",attrs:{class:"t-flex t-justify-center t-text-center !t-text-lg t-font-normal t-text-dark t-pb-5 t-pt-0 t-px-1 "+(e.subheadlineClass||"")}}}function ce(e){return function(e){return{$el:"h3",children:e.headline||"Additional Details",attrs:{class:"t-flex t-justify-center t-text-center t-text-lg sm:t-text-xl t-font-bold t-text-blue-500 t-pb-5 t-pt-0 t-px-1 "+(e.headlineClass||"")}}}({headline:e.headline||"Additional Case Details",headlineClass:e.headlineClass})}function pe(e){return{$el:"h3",children:e.headline||"Please Provide a Contact Name",attrs:{class:"t-flex t-justify-center t-text-center t-text-xl t-font-bold t-text-blue-500 t-pb-5 t-pt-0 t-px-1 "+(e.headlineClass||"")}}}function me(e){return{$el:"h3",children:e.headline||"Do any of the following situations apply?",attrs:{class:"t-flex t-justify-center t-text-center t-text-xl t-font-bold t-text-blue-500 t-pb-5 t-pt-0 t-px-1 "+(e.headlineClass||"")}}}function fe(e){return{$el:"h3",children:e.headline||a,attrs:{class:"t-flex t-justify-center t-text-center t-text-2xl t-font-bold t-text-blue-500 t-pb-3 t-pt-4 t-px-1 "+(e.headlineClass||"")+" f-contact-info-headline"}}}function he(e){return{$el:"h5",children:e.subheadline||s,attrs:{class:"t-flex t-justify-center t-text-center !t-text-lg t-font-semibold t-pb-6 t-pt-0 t-px-3 "+(e.subheadlineClass||"")+" f-contact-info-subheadline"}}}const ye="(function() {\n if (window.xxTrustedFormLoaded) {\n return\n }\n var vid = '';\n if (typeof window.zar !== 'undefined') {\n vid = window.zar.getVID();\n }\n window.xxTrustedFormLoaded = true;\n var sandbox = document.location.hostname.indexOf('localhost') > -1 ? 'true' : 'false'\n var tf = document.createElement('script');\n tf.type = 'text/javascript'; tf.async = true;\n 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();\n var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(tf, s);\n})();";const be=(e,t)=>({$el:"section",if:'$stepEnabled("'+e+'")',attrs:{hidden:'$activeStep !== "'+e+'"',key:t||e}});function ge(t,a,s={}){const{nextOnEnter:l=!0,nextOnInput:i=!1,stepKey:n,nextStepMap:r,triggerRedirectMap:o,autoFocus:d}=s;if(a&&a.length&&(l||i)){const e=le(a[a.length-1]);e&&!0===l&&(e.onKeypress=te),e&&!0===i&&(e.onInput=ae)}return e(be(t,n),{children:[{$formkit:"group",id:t,name:t,nextStepMap:r,triggerRedirectMap:o,autoFocus:d,children:a}]})}function Ce(e,t,a,s={}){return void 0===s.nextOnInput&&(s.nextOnInput=!0),ge(e,[de({headline:s.headline??a,headlineClass:s.headlineClass}),...Array.isArray(t)?t:[t]],s)}const xe={type:"form",id:"form",config:{validationVisibility:"submit"},onSubmit:'$submit($submitUrl, $prepData, $handleRedirect, "text/plain; charset=UTF-8")',plugins:"$plugins",actions:!1,anchorElement:"form-anchor",useLocalStorage:!0,prepop:{fromURL:!0},errorCodes:{403:{message:"An Error Occurred",abort:!1},409:{abort:!1},429:"An Error Occurred",504:{message:"An Error Occurred",abort:!1}},formClass:"!t-max-w-[40rem]"};function ve(e,t){return Object.fromEntries(Object.entries(e).filter((([e])=>t.includes(e))))}const _e={};const $e={$el:"div",children:[{$el:"div",attrs:{id:"form-anchor",class:"t-absolute",style:{top:"-30px",left:0}}}],attrs:{class:"t-relative"}};const we={$el:"div",attrs:{class:"t-mt-7 t-mb-5 t-w-full t-flex t-flex-col t-justify-center t-items-center",style:{if:"$fns.eq($activeStep, $firstStep()) || $fns.eq($activeStep, $lastStep())",then:"display: none"}},children:[{$el:"div",attrs:{class:"t-flex t-justify-center"},children:[{$el:"span",attrs:{id:"progress-bar-text",class:"t-text-sm t-mb-1"},children:["0% Complete"]}]},{$el:"div",attrs:{class:"t-bg-gray-100 t-w-9/12 t-rounded"},children:[{$el:"div",attrs:{id:"progress-bar",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]",style:{transition:"width 0.5s ease"}}}]}]};const Se=[{$formkit:"hidden",name:"vertical",value:"Legal"},{$formkit:"hidden",name:"TCPA_Language",value:"$meta.tcpaLanguage"},{$formkit:"hidden",name:"gclid",value:null},{$formkit:"hidden",name:"campaignid",value:null},{$formkit:"hidden",name:"s",value:null}],Ie={"*":"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}"};const Pe={Adoption:'Example: "I need help with adoption forms"',"Asbestos and Mesothelioma":'Example: "I was exposed to asbestos at work and would like to file a claim"',"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"',Bankruptcy:'Example: "I need help filing for bankruptcy"',"Birth Certificate and Name Change":'Example: "Just married and would like to change my last name"',"Business Lawyers":'Example: "I need help incorporating a business" or "I would like a legal contract reviewed"',"Child Custody and Support":'Example: "Need help getting custody" or "Issues with child support payments"',"Child Custody":'Example: "Need help getting custody"',"Child Support":'Example: "Issues with child support payments"',"Civil Rights and Discrimination":'Example: "Police brutality" or "Coworker keeps harassing me"',"Civil Lawsuit":'Example: "A contractor took my money and never completed the job" or "I am being sued by a neighbor"',"File a Lawsuit":'Example: "A contractor took my money and never completed the job"',"Defend a Lawsuit":'Example: "I am being sued by a neighbor"',"Consumer Lawyers":'Example: "Someone committed fraud against me" or "A contractor took my money and never completed the job"',"Copyrights and Trademarks":'Example: "I would like to register a trademark or copyright a name"',"Criminal and Felony":'Example: "I was arrested for DUI and need legal defense" or "I am being charged with assault"',"Debt and Collections":'Example: "I would like to consolidate my debt" or "A collection agency is harassing me"',"Divorce and Separation":'Example: "I would like to file for an uncontested divorce"',"DUI and DWI":'Example: "I was arrested for DUI and need legal defense"',"Elder Law":'Example: "I would like help with Estate Planning" or "I need help with a guardianship"',"Employment and Workplace":'Example: "I was injured while on the job" or "My company is discriminating against me"',Expungement:'Example: "I would like to file for an expungement and clear my record"',"Family Issues":'Example: "I need help with guardianship" or "I need a simple will created"',Foreclosure:'Example: "I need help to avoid foreclosure on my house"',Guardianship:'Example: "I need help with guardianship documents"',"Harassment and Discrimination":'Example: "I am being discriminated at work" or "My neighbor is harassing me"',"Sexual Harassment":'Example: "I am being sexually harassed by a coworker"',"Workplace Harassment":'Example: "My coworker is being aggressive towards me"',"Non-Workplace Harassment":'Example: "My neighbor is harassing me"',"Workplace Discrimination":'Example: "I am being discriminated at work based on my age"',"Non-Workplace Discrimination":'Example: "I am being discriminated against by a local official"',"Identity Theft":'Example: "Someone stole my identity and I need help fixing the issue"',"Immigration and Visas":'Example: "I need help filing for a visa" or "Help with a green card"',Insurance:'Example: "I need help filing an insurance claim for damage to my house"',"Landlord and Tenant":'Example: "I need help to fight an eviction" or "I would like a lawyer to review a rental contract"',"Lemon Law":'Example: "I purchased a new vehicle that broke down already and seller will not assist"',"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"',"Medical Malpractice":'Example: "A doctor performed surgery on the wrong limb and I would like to file a lawsuit"',"Patents and Intellectual Property":'Example: "I would like to file for a patent" or "I need to copyright a name"',"Personal Injury":'Example: "I was bit by the neighbor\'s dog" or "I fell in the icy grocery store parking lot"',"Power of Attorney":'Example: "I need help with a limited or general power of attorney"',"Probate and Estates":'Example: "I need help with planning for my estate" or "A family member passed without a will in place"',"Product Liability":'Example: "My car battery caught on fire" or "I purchased a faulty product"',"Property Damage":'Example: "The neighbor\'s tree fell on my fence" or "My car was hit in the parking lot"',"Real Estate":'Example: "I need help with a quitclaim deed" or "I need a lawyer to review a purchase and sales agreement"',"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"',"Tax and IRS":'Example: "I need help fighting an IRS tax claim" or "I need audit defense"',"Traffic and Tickets":'Example: "I need help reinstating a supsended license" or "I would like to fight a traffic ticket"',Unemployment:'Example: "I need help filing for unemployment benefits"',"Victim of a Crime":'Example: "I was assaulted in the store" or "I am being discriminated against at work"',"Wills and Trusts":'Example: "I need a simple will created" or "I would like guidance on creating a trust fund"',"Workers Compensation":'Example: "I broke my arm at work and need help getting compensation"',"Wrongful Death":'Example: "A family member was killed on the job and we need legal representation"',"Wrongful Termination":'Example: "I was fired by my employer without cause"',"Not Sure or Other":'Example: "I was involved in a car accident" or "I need help setting up power of attorney"'},ke={Adoption:"Connect With Adoption Professionals Today","Auto and Car Accidents":"Connect With Accident Professionals Today",Bankruptcy:"Take Control of Your Financial Future","Birth Certificate and Name Change":"Start Your Change Today","Business Lawyers":"Connect With Business Professionals Today","Child Custody":"Connect With Custody Professionals Today","Child Support":"Connect With Child Support Professionals","Civil Rights and Discrimination":"Stand Up For Your Rights","Civil Lawsuit":"Connect With Lawsuit Professionals Today","Copyrights and Trademarks":"Protect Your Intellectual Property","Debt and Collections":"Connect With Debt Professionals Today","Divorce and Separation":"Connect With Divorce Professionals Today","DUI and DWI":"Defend Against DUI Charges","Elder Law":"Connect With Elder Law Professionals",Expungement:"Clear Your Record","Family Issues":"Connect With Family Legal Help",Foreclosure:"Fight to Keep Your Home",Guardianship:"Connect With Guardianship Professionals","Immigration and Visas":"Get Immigration Legal Help",Insurance:"Get Insurance Legal Help","Lemon Law":"Connect With Lemon Law Professionals","Long Term Disability":"Connect With Disability Professionals","Medical Malpractice":"Hold Negligent Providers Accountable","Patents and Intellectual Property":"Connect With IP Professionals Today","Personal Injury":"Maximize Your Injury Compensation","Probate and Estates":"Manage Probate with Expert Guidance","Product Liability":"Get Justice for Faulty Products","Real Estate":"Connect With Real Estate Professionals","Sexual Harassment":"Stand Up Against Sexual Harassment","Social Security Disability and Insurance":"Get the Benefits You Deserve","Tax and IRS":"Connect With Tax Legal Help","Traffic and Tickets":"Protect Your Record Today",Unemployment:"Connect With Unemployment Professionals","Victim of a Crime":"Seek Justice as a Crime Victim","Wills and Trusts":"Plan Your Estate with Confidence","Workers Compensation":"Maximize Your Workers' Comp Benefits","Wrongful Death":"Seek Justice for a Loved One","Wrongful Termination":"Fight Back Against Unfair Firing Today"},Ae={},Te={values:{"*":["amountPaymentsPastDue","loanAmount","defaultNotice","ownRealEstate","haveAttorney","degreeOfInterest","commentsWithBankruptcy","zipcode","legalCrossSells","firstAndLast","contactInfo"]}},De=function(a=null){let s=Pe,l=ke,i=Ae;return a&&(s=ve(Pe,a),l=ve(ke,a),i=ve(Ae,a)),{type:"meta",data:e(_e,{tcpaLanguage:"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.",defaultCommentsPlaceholder:t,commentsPlaceholders:s,defaultFinalHeadline:"Connect With The Legal Help You Deserve",finalHeadlines:l,defaultFinalSubHeadline:"Get a no-obligation consultation with a legal expert.",finalSubHeadlines:i})}}();De.data.dynamicSchema=[function(t={}){return Ce("amountPaymentsPastDue",((t,a,s={})=>(a?y:h)(e({label:a?s.label:"Total Amount of Payments that are Past Due:",name:t?t+":Amount_Payments_Past_Due":"Amount_Payments_Past_Due",options:["$0 - $499","$500 - $999","$1,000 - $2,499","$2,500 - $4,999","$5,000 - $9,999","$10,000 - $24,999","$25,000 - $49,999","$50,000 - $99,999","More than $100,000"]},s)))(t.scope,!0,t.input),"Total amount of payments past due:",t)}(),function(t={}){return Ce("defaultNotice",((t,a,s={})=>(a?m:c)(e({name:t?t+":Default_Notice":"Default_Notice",label:a?s.label:"Have You Received a Notice of Loan Default?"},s)))(t.scope,!0,t.input),"Have you received a loan default notice?",t)}(),function(t={}){return Ce("loanAmount",((t,a,s={})=>(a?y:h)(e({label:a?s.label:"Total Amount of Loan?",name:t?t+":Loan_Amount":"Loan_Amount",options:["Less than $10,000","$10,000 - $24,999","$25,000 - $49,999","$50,000 - $99,999","$100,000 - $199,999","$200,000 - $299,999","$300,000 - $399,999","$400,000 - $499,999","$500,000 - $599,999","More than $600,000"]},s)))(t.scope,!0,t.input),"Total amount of the loan:",t)}(),function(t={}){return Ce("ownRealEstate",((t,a,s={})=>(a?m:c)(e({name:t?t+":Own_Real_Estate":"Own_Real_Estate",label:a?s.label:"Do You Own Real Estate?"},s)))(t.scope,!0,t.input),"Do you own real estate?",t)}(),function(e={}){return Ce("typeOfProperty",J(e.scope,!0,e.input),"What type of property is involved?",e)}(),function(e={}){return Ce("degreeOfInterest",W(e.scope,!0,e.input),"Could you pay if your issue could be resolved?",e)}(),function(e={}){return Ce("haveAttorney",H(e.scope,!0,e.input),"Already working with an attorney?",e)}(),function(e={}){return Ce("zipcode",((e,t,a={})=>(t?C:g)({label:t?a.label:"Zip Code:",help:t?a.help??"We try to match you with local help":null,placeholder:"#####",name:e?e+":Zip":"Zip",maxlength:5,inputmode:"numeric",autocomplete:"postal-code",validation:"required|matches:/^[0-9]{5}$/",validationMessages:{required:"Zip Code is required",matches:"Invalid Zip Code"},...a}))(e.scope,!0,e.input),"Please verify your Zip Code",e)}(),function(e={}){return ge("commentsWithBankruptcy",[ce(e),O(e.scope,0,{label:void 0===e.label?"Please briefly describe your legal issue in a few words:":e.label,placeholder:e.placeholder||t,inputClass:void 0===e.inputClass?"!t-h-32":e.inputClass}),A(),{$el:"div",if:"$get(CrossSell_Bankruptcy).value == true",children:[O("CrossSell:Bankruptcy",0,{label:"Bankruptcy or debt details:",placeholder:"Please describe your bankrtupcy or debt situation in a few words...",inputClass:"!t-h-16"})]}],{nextOnEnter:!1})}({label:null,headline:"Please briefly describe your situation:",headlineClass:"!t-text-dark"}),function(e={}){return e.nextOnInput=!1,e.stepKey="$get(Type_Of_Legal_Problem).value",ge("legalCrossSells",[me(e),n({id:"Legal_CrossSells",name:"Legal_CrossSells",help:'Just hit "Next" if none apply',helpClass:"t-text-center !t-text-sm",validation:null,options:'$getCrossSellOptions($get(form), $getVal($get(form), "Type_Of_Legal_Problem"))'})],e)}({headlineClass:"!t-text-dark",nextStepMap:{values:{Legal_CrossSells:{"Auto and Car Accidents":["autoAndCarAccidentCrossSellQuestions"],"Personal Injury":["personalInjuryCrossSellQuestions"],"Workers Compensation":["workersCompensationCrossSellQuestions"],"DUI and DWI":["duiAndDWICrossSellQuestions"],"Long Term Disability":["longTermDisabilityCrossSellQuestions"],"Social Security Disability and Insurance":["ssdiCrossSellQuestions"],Bankruptcy:["bankruptcyCrossSellQuestions"],"Power of Attorney":["powerOfAttorneyCrossSellQuestions"],"Wills and Trusts":["willsAndTrustsCrossSellQuestions"],"Divorce and Separation":["divorceAndSeparationCrossSellQuestions"],"Child Custody":["childCustodyCrossSellQuestions"]},"*":["firstAndLast","contactInfo"]},appendSteps:["firstAndLast","contactInfo"],matchesAllowed:1}}),function(e={}){return ge("autoAndCarAccidentCrossSellQuestions",[re({headline:"You May Be Entitled To Compensation"}),oe({subheadline:"Tell us about your accident:"}),(t="true",a="CrossSell:Auto_and_Car_Accidents",ee("AutoAndCarAccidentsQuestions",{if:t||'$get(Type_Of_Legal_Problem).value == "Auto and Car Accidents"',children:[H(a),Y(a),k(a),U(a),q(a),K(a)]})),O("CrossSell:Auto_and_Car_Accidents",0,{label:"Accident Description:",placeholder:"Please describe your accident in a few words...",inputClass:"!t-h-16"})],e);var t,a}(),function(e={}){return ge("ssdiCrossSellQuestions",[re({headline:"You May Be Entitled To Benefits"}),oe({subheadline:"Tell us about your disability:"}),(t="true",a="CrossSell:Social_Security_Disability_and_Insurance",ee("SocialSecurityDisabilityAndInsuranceQuestions",{if:t||'$get(Type_Of_Legal_Problem).value == "Social Security Disability and Insurance"',children:[H(a),P(a),j(a),M(a),G(a),q(a)]})),O("CrossSell:Social_Security_Disability_and_Insurance",0,{label:"Description:",placeholder:"Please describe your situation in a few words...",inputClass:"!t-h-16"})],e);var t,a}(),function(e={}){return ge("personalInjuryCrossSellQuestions",[re({headline:"You May Be Entitled To Compensation"}),oe({subheadline:"Tell us about your injury:"}),(t="true",a="CrossSell:Personal_Injury",ee("PersonalInjuryQuestions",{if:t||'$get(Type_Of_Legal_Problem).value == "Personal Injury"',children:[H(a),Y(a),L(a),k(a),U(a),q(a)]})),O("CrossSell:Personal_Injury",0,{label:"Injury Description:",placeholder:"Please describe your injury in a few words...",inputClass:"!t-h-16"})],e);var t,a}(),function(e={}){return ge("willsAndTrustsCrossSellQuestions",[re({headline:"Will or Trust Information"}),(t="true",a="CrossSell:Wills_and_Trusts",ee("WillsAndTrustsQuestions",{if:t||'$get(Type_Of_Legal_Problem).value == "Wills and Trusts"',children:[H(a),X(a),Z(a),V(a),N(a),F(a)]})),O("CrossSell:Wills_and_Trusts",0,{label:"Description:",placeholder:"Please describe your situation in a few words...",inputClass:"!t-h-16"})],e);var t,a}(),function(e={}){return ge("divorceAndSeparationCrossSellQuestions",[re({headline:"Divorce or Separation Information"}),(t="true",a="CrossSell:Divorce_and_Separation",ee("DivorceQuestions",{if:t||'$get(Type_Of_Legal_Problem).value == "Divorce and Separation"',children:[H(a),Q(a),B(a),W(a),R(a)]})),O("CrossSell:Divorce_and_Separation",0,{label:"Description:",placeholder:"Please describe your situation in a few words...",inputClass:"!t-h-16"})],e);var t,a}(),function(e={}){return ge("childCustodyCrossSellQuestions",[re({headline:"Child Custody Information"}),(t="true",a="CrossSell:Child_Custody",ee("ChildCustodyQuestions",{if:t||'$get(Type_Of_Legal_Problem).value == "Child Custody"',children:[H(a),E(a),T(a),D(a),W(a),R(a)]})),O("CrossSell:Child_Custody",0,{label:"Description:",placeholder:"Please describe your situation in a few words...",inputClass:"!t-h-16"})],e);var t,a}(),function(e={}){return ge("firstAndLast",[pe({headline:e.headline??"Who is looking for help?",headlineClass:e.headlineClass}),ue({subheadline:e.subheadline??"We never share info without consent",subheadlineClass:"!t-text-sm !t-text-gray-500"}),w(e.scope),S(e.scope)],e)}({headlineClass:"!t-text-dark"})];const Ee=[De,e($e,Le),{$cmp:"FormKit",props:function(t){const a=e(xe,t);return a.formId&&!a.name&&(a.name=a.formId),a}({formId:"foreclosure",redirectMap:function(t){return e(Ie,t)}(),crossSellOptionMap:{Foreclosure:{"Auto and Car Accidents":"Involved in a Car Accident","Wills and Trusts":"Need a Will or Trust","Personal Injury":"Personal or Workplace Injury","Divorce and Separation":"Need a Divorce or Separation","Child Custody":"Need help with Child Custody","Social Security Disability and Insurance":"Interest in SSDI Benefits"}}}),children:[function(t){return e(we,t)}(),function(t={}){return e(function(e={}){return{$el:"h1",attrs:{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 "+(e.headlineClass||"")+" f-first-headline"}}}(t),t)}({children:'$urlParam("hl", "Protect Your Family Today!")',if:"$activeStep === $firstStep()",headlineClass:"!t-pt-8 !t-text-2xl"}),function(t={}){return e(function(e={}){return{$el:"h3",attrs:{class:"t-flex t-justify-center t-text-center t-text-[1.1rem] md:t-text-[1.2rem] t-font-medium t-text-blue-500 t-px-10 t-pb-3 "+(e.subheadlineClass||"")+" f-first-subheadline"}}}(t),t)}({children:'$urlParam("shl", "What Type of Property Is Facing Foreclosure?")',if:"$activeStep === $firstStep()"}),...Se,{$el:"div",attrs:{class:"form-body"},children:[function(e={}){return ge("foreclosureTOLP",[{$formkit:"hidden",name:"Type_Of_Legal_Problem",id:"Type_Of_Legal_Problem",value:"Foreclosure"},J(e.scope,!0,e.input)],e)}({nextOnInput:!1,nextStepMap:Te}),function(e="Type_Of_Legal_Problem"){return{$cmp:"FormKitSchema",if:"$get("+e+").value",props:{schema:"$meta.dynamicSchema",data:"$buildData($meta)"}}}(),function(e={}){return ge("contactInfo",[fe(e),he(e),{$el:"script",if:"$activeStep === $lastStep()",children:ye},$(e.scope),I(e.scope),z(e.scope),ne()],{nextOnEnter:!1})}({headline:"Secure Your Future Today",subheadline:"Attorneys Are Ready To Help"}),((e={})=>({$el:"div",attrs:{class:{if:"$activeStep === $firstStep()",then:"step-nav "+(e.firstStepButtonClass||"!t-justify-center sm:!t-justify-between"),else:"step-nav !t-justify-between"}},children:[{$formkit:"button",name:"back_button",onClick:"$setPreviousStep($prevStepFunc($get(form)))",children:"Back",outerClass:{if:"$activeStep === $firstStep()",then:"t-hidden sm:t-block",else:""},style:{if:"$activeStep === $firstStep()",then:"display: none;"},classes:{input:(e.inputClass||"")+" f-navigation-input"}},{$formkit:"button",name:"next_button",onClick:"$setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form)))",children:{if:"$activeStep === $firstStep()",then:e.startText||"Start",else:"Next"},outerClass:{if:"$activeStep === $lastStep()",then:"t-hidden",else:""},style:{if:"$activeStep === $lastStep()",then:"display: none;"},classes:{input:(e.inputClass||"")+" f-navigation-input"}},{$formkit:"submit",name:"submit_button",label:e.submitLabel||"Submit",if:"$activeStep === $lastStep()",style:{if:"$activeStep !== $lastStep()",then:"display: none;"},classes:{input:(e.inputClass||"")+" !t-ml-2 sm:!t-ml-auto f-navigation-input"}}]}))({startText:"Get Started",inputClass:"!t-font-extrabold"}),{$el:"pre",if:'$urlParam("fdbg", "") == 1',children:[{$el:"pre",children:"$stringify( $get(form).value )",attrs:{class:"t-text-xs",style:"overflow: scroll"}},{$el:"pre",children:["activeStep: ","$activeStep"],attrs:{class:"t-text-xs",style:"overflow: scroll"}},{$el:"pre",children:["stepHistory: ","$stepHistory"],attrs:{class:"t-text-xs",style:"overflow: scroll"}},{$el:"pre",children:["stepQueue: ","$stepQueue"],attrs:{class:"t-text-xs",style:"overflow: scroll"}},{$el:"pre",children:["steps: ","$stepKeys()"],attrs:{class:"t-text-xs",style:"overflow: scroll"}}]}]}]}];var Le;return Ee}();
1
+ var foreclosure=function(){"use strict";function e(){return Object.assign({},...arguments)}const t='$getKey($meta, "commentsPlaceholders." + $get(Type_Of_Legal_Problem).value, $meta.defaultCommentsPlaceholder)',a=e=>(e.name&&!e.id&&(e.id=e.name),e),s=t=>(a(t),e({$formkit:"checkbox",validation:"required",validationMessages:{required:"Field is required"}},t)),l=e=>(e&&e.legendClass||(e.legendClass="required"),e.fieldsetClass="$reset",e.optionsClass="t-pl-8 md:t-pl-2 t-pt-3 t-grid t-grid-cols-1 md:t-grid-cols-2",e.innerClass="t-items-start",e.wrapperClass="$reset t-flex t-cursor-pointer t-mb-3",s(e)),i=e=>(e&&e.legendClass||(e.legendClass="required t-w-[100%] t-text-center"),e.fieldsetClass="$reset t-flex t-justify-center t-flex-col",e.innerClass="t-items-start",e.wrapperClass="$reset t-flex t-cursor-pointer t-mb-3",e.optionClass="t-pl-4 md:t-pl-16 md:t-min-w-[200px]",e.optionsClass="t-pl-4 t-pt-3 t-grid t-grid-cols-1 md:t-grid-cols-2",e.messagesClass="t-flex t-justify-center",e.helpClass="t-mt-0 t-mb-4 !t-text-sm t-text-center",s(e)),n=t=>(a(t),e({$formkit:"radio",validation:"required",validationMessages:{required:"Field is required"},optionsClass:"t-pt-3 t-pl-1",legendClass:"required"},t)),r=e=>(e.legendClass="required t-w-[100%] t-text-center",void 0===e.fieldsetClass&&(e.fieldsetClass="$reset t-flex t-justify-center"),e.innerClass="t-items-start",e.wrapperClass="$reset t-flex t-cursor-pointer t-mb-3",e.optionClass="t-pl-4 sm:t-pl-8 sm:t-min-w-[200px]",e.optionsClass="t-pl-0 sm:t-pl-4 t-pt-3 t-grid t-grid-cols-1 sm:t-grid-cols-2",e.messagesClass="t-flex t-justify-center",e.helpClass="t-mt-0 t-mb-4 !t-text-sm t-text-center",n(e)),o=e=>(e.legendClass="legend-left-flex md:t-max-w-[40%] required",e.fieldsetClass="$reset side-by-side-flex",e.optionsClass="md:t-ml-4 md:t-mt-2 t-grid t-grid-cols-1 md:t-grid-cols-2-125",e.innerClass="t-flex t-items-start",e.wrapperClass="$reset t-flex t-cursor-pointer t-mb-3",n(e)),d=e=>(e.options=["Yes","No"],(e=>(e.legendClass="legend-left t-pb-1 required",e.fieldsetClass="$reset side-by-side t-items-center",e.optionsClass="t-mt-1 t-grid t-grid-cols-1 md:t-grid-cols-2-125 t-items-center",e.innerClass="t-flex t-items-center",e.optionClass="t-pr-1",n(e)))(e)),u=e=>(e.legendClass="legend-left",e.fieldsetClass="$reset t-flex t-justify-center t-flex-col-reverse t-items-center",void 0===e.optionsClass&&(e.optionsClass="t-flex t-flex-col sm:t-flex-row t-justify-center t-my-3"),e.optionClass="radiobtn t-my-2 sm:t-my-0 t-mx-2 md:t-mx-5",e.wrapperClass="$reset formkit-wrapper t-mb-0 t-flex t-items-center t-h-[100%]",e.labelClass="t-font-semibold t-text-[#1e448f] t-w-[100%]",e.decoratorIcon=!1,e.messagesClass="t-flex t-justify-center",e.helpClass="t-mt-2.5 !t-text-sm t-text-center",n(e)),c=e=>(e.options=["Yes","No"],e.optionsClass="t-flex t-justify-center t-my-3",u(e)),p=t=>(a(t),e({$formkit:"select",placeholder:"Please Select",validation:"required",validationMessages:{required:"Field is required"},inputClass:"t-bg-white",labelClass:"required"},t)),m=e=>(e.labelClass="required",e.wrapperClass="side-by-side t-items-center",e.innerClass="select-height-content",e.helpClass="t-mt-2.5 md:t-text-right md:t-mt-[-5px]",p(e)),f=e=>(e.labelClass="required",e.wrapperClass="t-flex t-justify-center",e.messagesClass="t-flex t-justify-center",e.inputClass="t-min-w-[150px] t-bg-white "+(e.inputClass||""),e.helpClass="t-mt-2.5 t-text-center",p(e)),h=t=>(a(t),e({$formkit:"text",validation:"required",validationMessages:{required:"Field is required"},labelClass:"required"},t)),y=e=>(e.wrapperClass="side-by-side t-items-center",h(e)),b=e=>(e.wrapperClass="t-flex t-justify-center",e.messagesClass="t-flex t-justify-center",e.inputClass="t-text-center",e.helpClass="t-mt-2.5 !t-text-sm t-text-center",h(e)),g=t=>(a(t),e({$formkit:"DatePicker",validation:"required",validationMessages:{required:"Field is required"},labelClass:"required t-block t-mb-3 t-font-semibold t-text-base formkit-invalid:t-text-red-500",innerClass:"t-border t-border-gray-400 formkit-invalid:t-border-red-500 t-rounded t-mb-1 focus-within:t-border-blue-500"},t)),C=e=>(e.wrapperClass="side-by-side t-items-center",g(e)),x=e=>(e.wrapperClass="t-flex t-justify-center",e.inputClass="t-text-center",e.messagesClass="t-flex t-justify-center",g(e)),$=(e,t={})=>h({$formkit:"FloatingLabelText",name:e?e+":Email":"Email",placeholder:"Email Address",autocomplete:"email","data-tf-sensitive":"false",validation:"required|email",validationMessages:{required:"Email is required",email:"Invalid Email"},inputClass:"t-text-center",wrapperClass:"t-flex t-justify-center",...t}),w=(e,t={})=>h({$formkit:"FloatingLabelText",placeholder:"First Name",name:e?e+":First_Name":"First_Name",autocomplete:"given-name",validationMessages:{required:"First Name is required"},inputClass:"t-text-center",...t}),v=(e,t={})=>h({$formkit:"FloatingLabelText",placeholder:"Last Name",name:e?e+":Last_Name":"Last_Name",autocomplete:"family-name",validationMessages:{required:"Last Name is required"},inputClass:"t-text-center",...t}),_=(e,t={})=>({$el:"div",attrs:{class:"t-flex t-flex-col sm:t-flex-row t-flex-wrap t-gap-x-[2%] t-justify-center sm:!t-max-w-[70%]"},children:[w(e,{outerClass:"sm:!t-max-w-[49%]",...t}),v(e,{outerClass:"sm:!t-max-w-[49%]",...t})]}),S=(e,t={})=>h({$formkit:"FloatingLabelText",datatype:"tel",name:e?e+":Primary_Phone":"Primary_Phone",placeholder:t.placeholder||"Phone Number",maxlength:14,help:t.help||null,autocomplete:"tel-national","data-tf-sensitive":"false",validation:"required|matches:/^[0-9]{3}[0-9]{3}[0-9]{4}$/|valid_phone",validationMessages:{required:"Phone Number is required",matches:"Invalid Phone Format, use (XXX) YYY-ZZZZ",valid_phone:"Invalid Phone Number"},helpClass:"t-mt-2.5 md:t-text-right md:t-mt-[-2px]",inputClass:"t-text-center",wrapperClass:"t-flex t-justify-center",...t}),I=(t,a,s={})=>(a?b:y)(e({label:a?s.label:"Age of Applicant?",placeholder:"Age between 18 and 65",name:t?t+":Applicant_Age":"Applicant_Age",value:a?s.value??"50":null,maxlength:2,inputmode:"numeric",validation:"required|min:18,max:65",validationMessages:{required:"Applicant Age is required",min:"Invalid Age - must be between 18 and 65",max:"Invalid Age - must be between 18 and 65"},...s})),P=(t,a,s={})=>(a?c:d)(e({label:a?s.label:"Were You at Fault?",name:t?t+":At_Fault":"At_Fault"},s)),k=e=>{return(t={label:"I'd also like a consult for bankruptcy or debt elimination (optional)",help:"Note: you will be contacted separately by a bankruptcy/debt expert",name:e?e+":CrossSell_Bankruptcy":"CrossSell_Bankruptcy",id:e?e+":CrossSell_Bankruptcy":"CrossSell_Bankruptcy",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")',validation:null,helpClass:"!t-text-sm"}).legendClass="legend-left required",t.fieldsetClass="$reset side-by-side",t.optionsClass="t-pl-1",t.innerClass="t-flex t-items-center",t.wrapperClass="t-mb-3",s(t);var t},A=(t,a,s={})=>(a?r:m)(e({label:a?s.label:"With Whom Do the Children Currently Live?",name:t?t+":Child_Home":"Child_Home",options:["Mother","Father","Grandparents","Other"]},s)),T=(t,a,s={})=>(a?u:m)(e({label:a?s.label:"Who is the Primary Caregiver?",name:t?t+":Child_Primary_Caregiver":"Child_Primary_Caregiver",options:["Mother","Father","Other"]},s)),D=(t,a,s={})=>(a?r:m)(e({label:a?s.label:"Your Relationship to Child(ren):",name:t?t+":Child_Relationship":"Child_Relationship",options:["Father","Mother","Grandparent","Aunt/Uncle","Other"]},s)),E=(t,a,s={})=>(a?r:m)(e({label:a?s.label:"Status of Claim:",name:t?t+":Claim_Status":"Claim_Status",options:["No action taken yet","Demand for compensation made","Lawsuit filed","Other"]},s)),L=(t,s,l)=>(t=>(a(t),e({$formkit:"textarea",rows:5,maxlength:500,validation:"required",validationMessages:{required:"Field is required"},innerClass:"t-max-w-xl",labelClass:"required"},t)))(e({name:t?t+":Comments":"Comments",label:"Please briefly describe your situation in a few words:",placeholder:'For Example: "I would like help with child support payments" or "I need help with visitation rights"'},l)),O=(t,a,s={})=>(a?r:m)(e({name:t?t+":Degree_Of_Interest":"Degree_Of_Interest",id:t?t+":Degree_Of_Interest":"Degree_Of_Interest",label:a?s.label:"How Likely Are You to Pay if Your Issue Could be Resolved?",help:a?s.help:"No payment necessary to speak with lawyers.",options:["Definitely","Probably","Maybe","Absolutely Can't Afford"]},s)),j=(t,a,s={})=>O(t,a,e(s,{help:"No payment necessary to speak with lawyers."})),F=(t,a,s={})=>(a?c:d)(e({name:t?t+":Disability_Condition_Stop_Work":"Disability_Condition_Stop_Work",label:a?s.label:"Do You Expect To Be Out Of Work For At Least a Year Due To Your Health?"},s)),W=(t,a,s={})=>(a?c:d)(e({name:t?t+":Disability_Work_History":"Disability_Work_History",label:a?s.label:"Have You Had a Full-Time Job Within the Past 5 Years?"},s)),M=(t,a,s={})=>(a?c:d)(e({name:t?t+":Doctor_Treatment":"Doctor_Treatment",label:a?s.label:"Have You Recently Been Treated by a Doctor, Hospital or Clinic?"},s)),q=(t,a,s={})=>(a?r:m)(e({name:t?t+":Estate_Legal_Services_Needed":"Estate_Legal_Services_Needed",label:a?s.label:"Legal Services Needed for Your Estate:",options:["Charitable Giving","Contested Wills","Drafting Wills or Trust","Estate Administration","Asset Protection","Other"]},s)),N=(t,a,s={})=>(a?c:d)(e({label:a?s.label:"Already Working with An Attorney?",name:t?t+":Have_Attorney":"Have_Attorney"},s)),H=(t,a,s={})=>(a?c:d)(e({name:t?t+":Have_Children":"Have_Children",label:a?s.label:"Do You Have Children?"},s)),Y=(t,a,s={})=>(a?x:C)(e({label:a?s.label:"Date of Incident:",name:t?t+":Incident_Date":"Incident_Date"},s)),B=(t,a,s={})=>(a?r:m)(e({label:a?s.label:"How Will You Pay for Legal Fees if You Hire a Lawyer?",help:a?s.help:"No payment necessary to start a consultation.",name:t?t+":Lawyer_Payment_Method":"Lawyer_Payment_Method",options:a?{Cash:"Cash","Credit Card":"Credit Card",Family:"Family or Friend",Other:"Other"}:["Cash","Check","Credit Card","Friend","Family","Other"],fieldsetClass:a?"$reset t-flex t-flex-col t-items-center":void 0},s)),R=(t,a,s={})=>(a?r:m)(e({label:a?s.label:"Marital Status:",name:t?t+":Marital_Status":"Marital_Status",options:["Unmarried, Living Together","Unmarried, Do Not Live Together","Married, Living Together","Separated","Divorced","Other"]},s)),Q=(t,a,s={})=>(a?r:o)(e({label:a?s.label:"Primary Injury:",name:t?t+":Primary_Injury":"Primary_Injury",options:["Anxiety","Back or Neck Pain","Broken Bones","Cuts and Bruises","Headaches","Memory Loss","Loss of Limb","Not Sure or Other"]},s)),U=(t,a,s={})=>(a?c:d)(e({name:t?t+":Police_Report_Filed":"Police_Report_Filed",label:a?s.label:"Was a Police Report Filed?"},s)),K=(t,a,s={})=>(a?r:m)(e({label:a?s.label:"What is Your Role in this Matter?",name:t?t+":Role_In_Matter_Probate":"Role_In_Matter_Probate",options:["Preparing My Will","Executor","Heir","Other"]},s)),V=(t,a,s={})=>(a?c:d)(e({name:t?t+":Social_Security_Disability_Receiving_Benefits":"Social_Security_Disability_Receiving_Benefits",label:a?s.label:"Are You Currently Receiving Social Security Disability Benefits?"},s)),G=(e,t={})=>({$formkit:"checkbox",label:"$meta.tcpaLanguage",__raw__sectionsSchema:{label:{attrs:{innerHTML:"$label"}}},name:e?e+":TCPA_Opt_In":"TCPA_Opt_In","data-tf-sensitive":"false",validation:"required|accepted",validationMessages:{required:"Consent is required",accepted:"Consent is required"},classes:{outer:t.outerClass?t.outerClass:"",wrapper:t.wrapperClass?t.wrapperClass:"",messages:t.messagesClass?t.messagesClass:"",label:"!t-text-[0.7rem] t-text-slate-500 t-font-normal !t-leading-[0.9rem]"+(t.labelClass?" "+t.labelClass:"")}}),z=(t,a,s={})=>(a?i:l)(e({label:a?s.label:"Type of Assets:",name:t?t+":Type_Of_Assets":"Type_Of_Assets",options:["Business Interests","Cash","Life Insurance Policies","Pensions/Retirement","Personal Possessions","Property","Stock/Bonds"]},s)),Z=(t,a,s={})=>(a?r:m)(e({label:a?s.label:"Type of Property:",name:t?t+":Type_Of_Property":"Type_Of_Property",options:["Residential","Commercial","Industrial","Agricultural","Recreational","Other"]},s)),J=(t,a,s={})=>(a?r:m)(e({label:a?s.label:"Value of Your Assets?",name:t?t+":Value_Of_Assets":"Value_Of_Assets",options:["Less than 50K","50K to 100K","100K to 250K","250K to 500K","500K to 1M","More than 1M"]},s)),X=(t,a)=>e({$cmp:"FormKit",props:{type:"group",key:t,id:t,name:t}},a),ee=e=>"group"!==e.type&&"section"!==e.type&&"form"!==e.type&&"hidden"!==e.$formkit&&!e.children,te=e=>{if(ee(e))return e;for(var t=e.children.length-1;t>=0;t--){if("string"==typeof e.children)continue;const a=e.children[t];if(ee(a))return a;const s=te(a);if(s)return s}return null},ae={$el:"div",if:"$activeStep === $lastStep()",attrs:{class:"t-flex t-justify-center t-items-center t-text-sm t-text-gray-500"},children:[{$el:"img",attrs:{loading:"lazy",alt:"",style:{border:0},width:"25",height:"25",src:"https://d27hmee62k45vz.cloudfront.net/lock_icon_1.jpeg"}},{$el:"span",children:"Secure & Encrypted",attrs:{class:"t-pl-2 t-pt-1 t-font-medium"}}]};function se(t={}){return e(ae,t)}function le(e){return{$el:"h3",children:e.headline||"Tell Us About Your Situation",attrs:{class:"t-flex t-justify-center t-text-center t-text-2xl t-font-bold t-text-blue-500 t-pb-4 t-pt-0 t-px-1"}}}function ie(e){return{$el:"h5",children:e.subheadline||"Tell us about your situation:",attrs:{class:"t-flex t-justify-center t-text-dark t-text-center !t-text-lg t-font-semibold t-pb-4 t-pt-0 t-px-3"}}}function ne(e){return{$el:"h3",children:e.headline||"Tell Us About Your Situation",attrs:{class:"t-flex t-justify-center t-text-center t-text-lg sm:t-text-xl t-font-bold t-text-dark t-pb-5 t-pt-0 t-px-1 "+(e.headlineClass||"")}}}function re(e){return function(e){return{$el:"h3",children:e.headline||"Additional Details",attrs:{class:"t-flex t-justify-center t-text-center t-text-lg sm:t-text-xl t-font-bold t-text-blue-500 t-pb-5 t-pt-0 t-px-1 "+(e.headlineClass||"")}}}({headline:e.headline||"Additional Case Details",headlineClass:e.headlineClass})}function oe(e){return{$el:"h3",children:e.headline||"Please Provide a Contact Name",attrs:{class:"t-flex t-justify-center t-text-center t-text-xl t-font-bold t-text-blue-500 t-pb-5 t-pt-0 t-px-1 "+(e.headlineClass||"")}}}function de(e){return{$el:"h3",children:e.headline||"Do any of the following apply?",attrs:{class:"t-flex t-justify-center t-text-center t-text-xl t-font-bold t-text-blue-500 t-pb-5 t-pt-0 t-px-1 "+(e.headlineClass||"")}}}function ue(e){return{$el:"h3",children:e.headline||'$getKey($meta, "finalHeadlines." + $get(Type_Of_Legal_Problem).value, $meta.defaultFinalHeadline)',attrs:{class:"t-flex t-justify-center t-text-center t-text-2xl t-font-bold t-text-blue-500 t-pb-3 t-pt-4 t-px-1 "+(e.headlineClass||"")+" f-contact-info-headline"}}}function ce(e){return{$el:"h5",children:e.subheadline||'$getKey($meta, "finalSubHeadlines." + $get(Type_Of_Legal_Problem).value, $meta.defaultFinalSubHeadline)',attrs:{class:"t-flex t-justify-center t-text-center !t-text-lg t-font-semibold t-pb-6 t-pt-0 t-px-3 "+(e.subheadlineClass||"")+" f-contact-info-subheadline"}}}function pe(t,a,s={}){const{nextOnEnter:l=!0,nextOnInput:i=!1,stepKey:n,nextStepMap:r,triggerRedirectMap:o,autoFocus:d}=s;if(a&&a.length&&(l||i)){const e=te(a[a.length-1]);e&&!0===l&&(e.onKeypress="$onEnter($setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form))))"),e&&!0===i&&(e.onInput="$onInput($setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form))))")}return e(((e,t)=>({$el:"section",if:'$stepEnabled("'+e+'")',attrs:{hidden:'$activeStep !== "'+e+'"',key:t||e}}))(t,n),{children:[{$formkit:"group",id:t,name:t,nextStepMap:r,triggerRedirectMap:o,autoFocus:d,children:a}]})}function me(e,t,a,s={}){return void 0===s.nextOnInput&&(s.nextOnInput=!0),pe(e,[ne({headline:s.headline??a,headlineClass:s.headlineClass}),...Array.isArray(t)?t:[t]],s)}const fe={type:"form",id:"form",config:{validationVisibility:"submit"},onSubmit:'$submit($submitUrl, $prepData, $handleRedirect, "text/plain; charset=UTF-8")',plugins:"$plugins",actions:!1,anchorElement:"form-anchor",useLocalStorage:!0,prepop:{fromURL:!0},errorCodes:{403:{message:"An Error Occurred",abort:!1},409:{abort:!1},429:"An Error Occurred",504:{message:"An Error Occurred",abort:!1}},formClass:"!t-max-w-[40rem]"};function he(e,t){return Object.fromEntries(Object.entries(e).filter((([e])=>t.includes(e))))}const ye={};const be={$el:"div",children:[{$el:"div",attrs:{id:"form-anchor",class:"t-absolute",style:{top:"-30px",left:0}}}],attrs:{class:"t-relative"}};const ge={$el:"div",attrs:{class:"t-mt-7 t-mb-5 t-w-full t-flex t-flex-col t-justify-center t-items-center",style:{if:"$fns.eq($activeStep, $firstStep()) || $fns.eq($activeStep, $lastStep())",then:"display: none"}},children:[{$el:"div",attrs:{class:"t-flex t-justify-center"},children:[{$el:"span",attrs:{id:"progress-bar-text",class:"t-text-sm t-mb-1"},children:["0% Complete"]}]},{$el:"div",attrs:{class:"t-bg-gray-100 t-w-9/12 t-rounded"},children:[{$el:"div",attrs:{id:"progress-bar",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]",style:{transition:"width 0.5s ease"}}}]}]};const Ce=[{$formkit:"hidden",name:"vertical",value:"Legal"},{$formkit:"hidden",name:"TCPA_Language",value:"$meta.tcpaLanguage"},{$formkit:"hidden",name:"gclid",value:null},{$formkit:"hidden",name:"campaignid",value:null},{$formkit:"hidden",name:"s",value:null}],xe={"*":"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}"};const $e={Adoption:'Example: "I need help with adoption forms"',"Asbestos and Mesothelioma":'Example: "I was exposed to asbestos at work and would like to file a claim"',"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"',Bankruptcy:'Example: "I need help filing for bankruptcy"',"Birth Certificate and Name Change":'Example: "Just married and would like to change my last name"',"Business Lawyers":'Example: "I need help incorporating a business" or "I would like a legal contract reviewed"',"Child Custody and Support":'Example: "Need help getting custody" or "Issues with child support payments"',"Child Custody":'Example: "Need help getting custody"',"Child Support":'Example: "Issues with child support payments"',"Civil Rights and Discrimination":'Example: "Police brutality" or "Coworker keeps harassing me"',"Civil Lawsuit":'Example: "A contractor took my money and never completed the job" or "I am being sued by a neighbor"',"File a Lawsuit":'Example: "A contractor took my money and never completed the job"',"Defend a Lawsuit":'Example: "I am being sued by a neighbor"',"Consumer Lawyers":'Example: "Someone committed fraud against me" or "A contractor took my money and never completed the job"',"Copyrights and Trademarks":'Example: "I would like to register a trademark or copyright a name"',"Criminal and Felony":'Example: "I was arrested for DUI and need legal defense" or "I am being charged with assault"',"Debt and Collections":'Example: "I would like to consolidate my debt" or "A collection agency is harassing me"',"Divorce and Separation":'Example: "I would like to file for an uncontested divorce"',"DUI and DWI":'Example: "I was arrested for DUI and need legal defense"',"Elder Law":'Example: "I would like help with Estate Planning" or "I need help with a guardianship"',"Employment and Workplace":'Example: "I was injured while on the job" or "My company is discriminating against me"',Expungement:'Example: "I would like to file for an expungement and clear my record"',"Family Issues":'Example: "I need help with guardianship" or "I need a simple will created"',Foreclosure:'Example: "I need help to avoid foreclosure on my house"',Guardianship:'Example: "I need help with guardianship documents"',"Harassment and Discrimination":'Example: "I am being discriminated at work" or "My neighbor is harassing me"',"Sexual Harassment":'Example: "I am being sexually harassed by a coworker"',"Workplace Harassment":'Example: "My coworker is being aggressive towards me"',"Non-Workplace Harassment":'Example: "My neighbor is harassing me"',"Workplace Discrimination":'Example: "I am being discriminated at work based on my age"',"Non-Workplace Discrimination":'Example: "I am being discriminated against by a local official"',"Identity Theft":'Example: "Someone stole my identity and I need help fixing the issue"',"Immigration and Visas":'Example: "I need help filing for a visa" or "Help with a green card"',Insurance:'Example: "I need help filing an insurance claim for damage to my house"',"Landlord and Tenant":'Example: "I need help to fight an eviction" or "I would like a lawyer to review a rental contract"',"Lemon Law":'Example: "I purchased a new vehicle that broke down already and seller will not assist"',"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"',"Medical Malpractice":'Example: "A doctor performed surgery on the wrong limb and I would like to file a lawsuit"',"Patents and Intellectual Property":'Example: "I would like to file for a patent" or "I need to copyright a name"',"Personal Injury":'Example: "I was bit by the neighbor\'s dog" or "I fell in the icy grocery store parking lot"',"Power of Attorney":'Example: "I need help with a limited or general power of attorney"',"Probate and Estates":'Example: "I need help with planning for my estate" or "A family member passed without a will in place"',"Product Liability":'Example: "My car battery caught on fire" or "I purchased a faulty product"',"Property Damage":'Example: "The neighbor\'s tree fell on my fence" or "My car was hit in the parking lot"',"Real Estate":'Example: "I need help with a quitclaim deed" or "I need a lawyer to review a purchase and sales agreement"',"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"',"Tax and IRS":'Example: "I need help fighting an IRS tax claim" or "I need audit defense"',"Traffic and Tickets":'Example: "I need help reinstating a supsended license" or "I would like to fight a traffic ticket"',Unemployment:'Example: "I need help filing for unemployment benefits"',"Victim of a Crime":'Example: "I was assaulted in the store" or "I am being discriminated against at work"',"Wills and Trusts":'Example: "I need a simple will created" or "I would like guidance on creating a trust fund"',"Workers Compensation":'Example: "I broke my arm at work and need help getting compensation"',"Wrongful Death":'Example: "A family member was killed on the job and we need legal representation"',"Wrongful Termination":'Example: "I was fired by my employer without cause"',"Not Sure or Other":'Example: "I was involved in a car accident" or "I need help setting up power of attorney"'},we={Adoption:"Connect With Adoption Professionals Today","Auto and Car Accidents":"Connect With Accident Professionals Today",Bankruptcy:"Take Control of Your Financial Future","Birth Certificate and Name Change":"Start Your Change Today","Business Lawyers":"Connect With Business Professionals Today","Child Custody":"Connect With Custody Professionals Today","Child Support":"Connect With Child Support Professionals","Civil Rights and Discrimination":"Stand Up For Your Rights","Civil Lawsuit":"Connect With Lawsuit Professionals Today","Copyrights and Trademarks":"Protect Your Intellectual Property","Debt and Collections":"Connect With Debt Professionals Today","Divorce and Separation":"Connect With Divorce Professionals Today","DUI and DWI":"Defend Against DUI Charges","Elder Law":"Connect With Elder Law Professionals",Expungement:"Clear Your Record","Family Issues":"Connect With Family Legal Help",Foreclosure:"Fight to Keep Your Home",Guardianship:"Connect With Guardianship Professionals","Immigration and Visas":"Get Immigration Legal Help",Insurance:"Get Insurance Legal Help","Lemon Law":"Connect With Lemon Law Professionals","Long Term Disability":"Connect With Disability Professionals","Medical Malpractice":"Hold Negligent Providers Accountable","Patents and Intellectual Property":"Connect With IP Professionals Today","Personal Injury":"Maximize Your Injury Compensation","Probate and Estates":"Manage Probate with Expert Guidance","Product Liability":"Get Justice for Faulty Products","Real Estate":"Connect With Real Estate Professionals","Sexual Harassment":"Stand Up Against Sexual Harassment","Social Security Disability and Insurance":"Get the Benefits You Deserve","Tax and IRS":"Connect With Tax Legal Help","Traffic and Tickets":"Protect Your Record Today",Unemployment:"Connect With Unemployment Professionals","Victim of a Crime":"Seek Justice as a Crime Victim","Wills and Trusts":"Plan Your Estate with Confidence","Workers Compensation":"Maximize Your Workers' Comp Benefits","Wrongful Death":"Seek Justice for a Loved One","Wrongful Termination":"Fight Back Against Unfair Firing Today"},ve={},_e={values:{"*":["amountPaymentsPastDue","loanAmount","defaultNotice","ownRealEstate","haveAttorney","degreeOfInterest","commentsWithBankruptcy","zipcode","legalCrossSells","firstAndLast","contactInfo"]}},Se=function(a=null){let s=$e,l=we,i=ve;return a&&(s=he($e,a),l=he(we,a),i=he(ve,a)),{type:"meta",data:e(ye,{tcpaLanguage:"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.",defaultCommentsPlaceholder:t,commentsPlaceholders:s,defaultFinalHeadline:"Connect With The Legal Help You Deserve",finalHeadlines:l,defaultFinalSubHeadline:"Get a no-obligation consultation with a legal expert.",finalSubHeadlines:i})}}();Se.data.dynamicSchema=[function(t={}){return me("amountPaymentsPastDue",((t,a,s={})=>(a?f:m)(e({label:a?s.label:"Total Amount of Payments that are Past Due:",name:t?t+":Amount_Payments_Past_Due":"Amount_Payments_Past_Due",options:["$0 - $499","$500 - $999","$1,000 - $2,499","$2,500 - $4,999","$5,000 - $9,999","$10,000 - $24,999","$25,000 - $49,999","$50,000 - $99,999","More than $100,000"]},s)))(t.scope,!0,t.input),"Total payments past due:",t)}(),function(t={}){return me("defaultNotice",((t,a,s={})=>(a?c:d)(e({name:t?t+":Default_Notice":"Default_Notice",label:a?s.label:"Have You Received a Notice of Loan Default?"},s)))(t.scope,!0,t.input),"Did you get a loan default notice?",t)}(),function(t={}){return me("loanAmount",((t,a,s={})=>(a?f:m)(e({label:a?s.label:"Total Amount of Loan?",name:t?t+":Loan_Amount":"Loan_Amount",options:["Less than $10,000","$10,000 - $24,999","$25,000 - $49,999","$50,000 - $99,999","$100,000 - $199,999","$200,000 - $299,999","$300,000 - $399,999","$400,000 - $499,999","$500,000 - $599,999","More than $600,000"]},s)))(t.scope,!0,t.input),"Total amount of the loan:",t)}(),function(t={}){return me("ownRealEstate",((t,a,s={})=>(a?c:d)(e({name:t?t+":Own_Real_Estate":"Own_Real_Estate",label:a?s.label:"Do You Own Real Estate?"},s)))(t.scope,!0,t.input),"Do you own real estate?",t)}(),function(e={}){return me("typeOfProperty",Z(e.scope,!0,e.input),"What type of property is involved?",e)}(),function(e={}){return me("degreeOfInterest",O(e.scope,!0,e.input),"Could you pay if your issue could be resolved?",e)}(),function(e={}){return me("haveAttorney",N(e.scope,!0,e.input),"Already working with an attorney?",e)}(),function(e={}){return me("zipcode",((e,t,a={})=>(t?b:y)({label:t?a.label:"Zip Code:",help:t?a.help??"We try to match you with local help":null,placeholder:"#####",name:e?e+":Zip":"Zip",maxlength:5,inputmode:"numeric",autocomplete:"postal-code",validation:"required|matches:/^[0-9]{5}$/",validationMessages:{required:"Zip Code is required",matches:"Invalid Zip Code"},...a}))(e.scope,!0,e.input),"Please verify your Zip Code",e)}(),function(e={}){return pe("commentsWithBankruptcy",[re(e),L(e.scope,0,{label:void 0===e.label?"Please briefly describe your legal issue in a few words:":e.label,placeholder:e.placeholder||t,inputClass:void 0===e.inputClass?"!t-h-32":e.inputClass}),k(),{$el:"div",if:"$get(CrossSell_Bankruptcy).value == true",children:[L("CrossSell:Bankruptcy",0,{label:"Bankruptcy or debt details:",placeholder:"Please describe your bankrtupcy or debt situation in a few words...",inputClass:"!t-h-16"})]}],{nextOnEnter:!1})}({label:null,headline:"Please briefly describe your situation:",headlineClass:"!t-text-dark"}),function(e={}){return e.nextOnInput=!1,e.stepKey="$get(Type_Of_Legal_Problem).value",pe("legalCrossSells",[de(e),l({id:"Legal_CrossSells",name:"Legal_CrossSells",help:'Just hit "Next" if none apply',helpClass:"t-text-center !t-text-sm",validation:null,options:'$getCrossSellOptions($get(form), $getVal($get(form), "Type_Of_Legal_Problem"))'})],e)}({headlineClass:"!t-text-dark",nextStepMap:{values:{Legal_CrossSells:{"Auto and Car Accidents":["autoAndCarAccidentCrossSellQuestions"],"Personal Injury":["personalInjuryCrossSellQuestions"],"Workers Compensation":["workersCompensationCrossSellQuestions"],"DUI and DWI":["duiAndDWICrossSellQuestions"],"Long Term Disability":["longTermDisabilityCrossSellQuestions"],"Social Security Disability and Insurance":["ssdiCrossSellQuestions"],Bankruptcy:["bankruptcyCrossSellQuestions"],"Power of Attorney":["powerOfAttorneyCrossSellQuestions"],"Wills and Trusts":["willsAndTrustsCrossSellQuestions"],"Divorce and Separation":["divorceAndSeparationCrossSellQuestions"],"Child Custody":["childCustodyCrossSellQuestions"]},"*":["firstAndLast","contactInfo"]},appendSteps:["firstAndLast","contactInfo"],matchesAllowed:1}}),function(e={}){return pe("autoAndCarAccidentCrossSellQuestions",[le({headline:"You May Be Entitled To Compensation"}),ie({subheadline:"Tell us about your accident:"}),(t="true",a="CrossSell:Auto_and_Car_Accidents",X("AutoAndCarAccidentsQuestions",{if:t||'$get(Type_Of_Legal_Problem).value == "Auto and Car Accidents"',children:[N(a),Y(a),P(a),Q(a),M(a),U(a)]})),L("CrossSell:Auto_and_Car_Accidents",0,{label:"Accident Description:",placeholder:"Please describe your accident in a few words...",inputClass:"!t-h-16"})],e);var t,a}(),function(e={}){return pe("ssdiCrossSellQuestions",[le({headline:"You May Be Entitled To Benefits"}),ie({subheadline:"Tell us about your disability:"}),(t="true",a="CrossSell:Social_Security_Disability_and_Insurance",X("SocialSecurityDisabilityAndInsuranceQuestions",{if:t||'$get(Type_Of_Legal_Problem).value == "Social Security Disability and Insurance"',children:[N(a),I(a),F(a),W(a),V(a),M(a)]})),L("CrossSell:Social_Security_Disability_and_Insurance",0,{label:"Description:",placeholder:"Please describe your situation in a few words...",inputClass:"!t-h-16"})],e);var t,a}(),function(e={}){return pe("personalInjuryCrossSellQuestions",[le({headline:"You May Be Entitled To Compensation"}),ie({subheadline:"Tell us about your injury:"}),(t="true",a="CrossSell:Personal_Injury",X("PersonalInjuryQuestions",{if:t||'$get(Type_Of_Legal_Problem).value == "Personal Injury"',children:[N(a),Y(a),E(a),P(a),Q(a),M(a)]})),L("CrossSell:Personal_Injury",0,{label:"Injury Description:",placeholder:"Please describe your injury in a few words...",inputClass:"!t-h-16"})],e);var t,a}(),function(e={}){return pe("willsAndTrustsCrossSellQuestions",[le({headline:"Will or Trust Information"}),(t="true",a="CrossSell:Wills_and_Trusts",X("WillsAndTrustsQuestions",{if:t||'$get(Type_Of_Legal_Problem).value == "Wills and Trusts"',children:[N(a),J(a),z(a),K(a),q(a),j(a)]})),L("CrossSell:Wills_and_Trusts",0,{label:"Description:",placeholder:"Please describe your situation in a few words...",inputClass:"!t-h-16"})],e);var t,a}(),function(e={}){return pe("divorceAndSeparationCrossSellQuestions",[le({headline:"Divorce or Separation Information"}),(t="true",a="CrossSell:Divorce_and_Separation",X("DivorceQuestions",{if:t||'$get(Type_Of_Legal_Problem).value == "Divorce and Separation"',children:[N(a),R(a),H(a),O(a),B(a)]})),L("CrossSell:Divorce_and_Separation",0,{label:"Description:",placeholder:"Please describe your situation in a few words...",inputClass:"!t-h-16"})],e);var t,a}(),function(e={}){return pe("childCustodyCrossSellQuestions",[le({headline:"Child Custody Information"}),(t="true",a="CrossSell:Child_Custody",X("ChildCustodyQuestions",{if:t||'$get(Type_Of_Legal_Problem).value == "Child Custody"',children:[N(a),D(a),A(a),T(a),O(a),B(a)]})),L("CrossSell:Child_Custody",0,{label:"Description:",placeholder:"Please describe your situation in a few words...",inputClass:"!t-h-16"})],e);var t,a}(),function(e={}){return pe("firstAndLast",[oe({headline:e.headline??"Who is looking for help?",headlineClass:e.headlineClass}),{$el:"div",attrs:{class:"t-flex t-flex-col t-justify-center t-items-center t-pt-3"},children:[_(e.scope)]}],e)}({headlineClass:"!t-text-dark"})];const Ie=[Se,e(be,Pe),{$cmp:"FormKit",props:function(t){const a=e(fe,t);return a.formId&&!a.name&&(a.name=a.formId),a}({formId:"foreclosure",redirectMap:function(t){return e(xe,t)}(),crossSellOptionMap:{Foreclosure:{"Auto and Car Accidents":"Involved in a Car Accident","Wills and Trusts":"Need a Will or Trust","Personal Injury":"Personal or Workplace Injury","Divorce and Separation":"Need a Divorce or Separation","Child Custody":"Need help with Child Custody","Social Security Disability and Insurance":"Interest in SSDI Benefits"}}}),children:[function(t){return e(ge,t)}(),function(t={}){return e(function(e={}){return{$el:"h1",attrs:{class:"t-flex t-justify-center t-text-center t-text-[1.7rem] sm:t-text-[2rem] t-font-semibold t-pt-5 t-px-7 md:t-px-3 "+(e.headlineClass||"")+" f-first-headline"}}}(t),t)}({children:'$urlParam("hl", "Protect Your Family Today!")',if:"$activeStep === $firstStep()",headlineClass:"!t-pt-8 !t-text-2xl"}),function(t={}){return e(function(e={}){return{$el:"h3",attrs:{class:"t-flex t-justify-center t-text-center t-text-[1.1rem] md:t-text-[1.2rem] t-font-medium t-text-blue-500 t-px-10 t-pb-3 "+(e.subheadlineClass||"")+" f-first-subheadline"}}}(t),t)}({children:'$urlParam("shl", "What Is The Property Type?")',if:"$activeStep === $firstStep()"}),...Ce,{$el:"div",attrs:{class:"form-body"},children:[function(e={}){return pe("foreclosureTOLP",[{$formkit:"hidden",name:"Type_Of_Legal_Problem",id:"Type_Of_Legal_Problem",value:"Foreclosure"},Z(e.scope,!0,e.input)],e)}({nextOnInput:!1,nextStepMap:_e}),function(e="Type_Of_Legal_Problem"){return{$cmp:"FormKitSchema",if:"$get("+e+").value",props:{schema:"$meta.dynamicSchema",data:"$buildData($meta)"}}}(),function(e={}){return pe("contactInfo",[ue(e),ce(e),{$el:"script",if:"$activeStep === $lastStep()",children:"(function() {\n if (window.xxTrustedFormLoaded) {\n return\n }\n var vid = '';\n if (typeof window.zar !== 'undefined') {\n vid = window.zar.getVID();\n }\n window.xxTrustedFormLoaded = true;\n var sandbox = document.location.hostname.indexOf('localhost') > -1 ? 'true' : 'false'\n var tf = document.createElement('script');\n tf.type = 'text/javascript'; tf.async = true;\n 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();\n var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(tf, s);\n})();"},{$el:"div",attrs:{class:"t-flex t-flex-col t-justify-center t-items-center"},children:[$(e.scope,{outerClass:"!t-max-w-[95%] !t-w-[96%] sm:!t-w-[70%]",innerClass:"!t-w-[98%] !t-max-w-[98%] sm:!t-w-[100%] sm:!t-max-w-[100%]"}),S(e.scope,{outerClass:"!t-max-w-[95%] !t-w-[96%] sm:!t-w-[70%]",innerClass:"!t-w-[98%] !t-max-w-[98%] sm:!t-w-[100%] sm:!t-max-w-[100%]"})]},G(e.scope,{outerClass:"!t-flex !t-flex-col !t-justify-center !t-items-center",wrapperClass:"t-w-[95%] sm:t-w-[80%]",messagesClass:"t-w-[95%] sm:t-w-[80%]"})],{nextOnEnter:!1})}({headline:"Secure Your Future Today",subheadline:"Attorneys Are Ready To Help",subheadlineClass:"!t-text-base"}),((e={})=>({$el:"div",attrs:{class:{if:"$activeStep === $firstStep()",then:"step-nav "+(e.firstStepButtonClass||"!t-justify-center sm:!t-justify-between"),else:{if:"$activeStep === $lastStep()",then:"step-nav !t-justify-center ",else:"step-nav !t-justify-between"}}},children:[{$formkit:"button",name:"back_button",onClick:"$setPreviousStep($prevStepFunc($get(form)))",children:"Back",outerClass:{if:"$fns.eq($activeStep, $firstStep()) || $fns.eq($activeStep, $lastStep())",then:"t-hidden sm:t-block",else:""},style:{if:"$fns.eq($activeStep, $firstStep()) || $fns.eq($activeStep, $lastStep())",then:"display: none;"},classes:{input:(e.inputClass||"")+" f-navigation-input"}},{$formkit:"button",name:"next_button",onClick:"$setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form)))",children:{if:"$activeStep === $firstStep()",then:e.startText||"Start",else:"Next"},outerClass:{if:"$activeStep === $lastStep()",then:"t-hidden",else:""},style:{if:"$activeStep === $lastStep()",then:"display: none;"},classes:{input:(e.inputClass||"")+" f-navigation-input"}},{$formkit:"submit",name:"submit_button",label:e.submitLabel||"Submit",if:"$activeStep === $lastStep()",style:{if:"$activeStep !== $lastStep()",then:"display: none;"},classes:{input:(e.inputClass||"")+" f-navigation-input !t-w-60",outer:"!t-mt-0 !t-mb-0"}}]}))({startText:"Start Now",submitLabel:"Get Help Now",inputClass:"!t-font-extrabold",firstStepButtonClass:"!t-justify-center"}),function(e={}){return{if:"$activeStep === $lastStep()",style:{if:"$activeStep !== $lastStep()",then:"display: none;"},children:[se({attrs:{class:"t-flex t-justify-center t-items-center t-text-sm t-text-gray-500 t-pb-6 sm:t-pb-8"},...e})]}}(),{$el:"pre",if:'$urlParam("fdbg", "") == 1',children:[{$el:"pre",children:"$stringify( $get(form).value )",attrs:{class:"t-text-xs",style:"overflow: scroll"}},{$el:"pre",children:["activeStep: ","$activeStep"],attrs:{class:"t-text-xs",style:"overflow: scroll"}},{$el:"pre",children:["stepHistory: ","$stepHistory"],attrs:{class:"t-text-xs",style:"overflow: scroll"}},{$el:"pre",children:["stepQueue: ","$stepQueue"],attrs:{class:"t-text-xs",style:"overflow: scroll"}},{$el:"pre",children:["steps: ","$stepKeys()"],attrs:{class:"t-text-xs",style:"overflow: scroll"}}]}]}]}];var Pe;return Ie}();