bhl-forms 0.13.3 → 0.13.5

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 (159) hide show
  1. package/dist/bhl-forms.iife.js +1 -1
  2. package/dist/bhl-forms.modern.iife.js +1 -1
  3. package/dist/bhl-forms.modern.umd.js +1 -1
  4. package/dist/bhl-forms.umd.js +1 -1
  5. package/dist/forms/accidentsAndInjuries.es.js +7 -4
  6. package/dist/forms/accidentsAndInjuries.iife.js +1 -1
  7. package/dist/forms/accidentsAndInjuries.json +1 -1
  8. package/dist/forms/applianceRepair.es.js +13 -66
  9. package/dist/forms/applianceRepair.iife.js +1 -1
  10. package/dist/forms/applianceRepair.json +1 -1
  11. package/dist/forms/applianceRepairMinimal.es.js +2 -1
  12. package/dist/forms/applianceRepairMinimal.iife.js +1 -1
  13. package/dist/forms/applianceRepairMinimal.json +1 -1
  14. package/dist/forms/appraisals.es.js +1 -1
  15. package/dist/forms/appraisals.iife.js +1 -1
  16. package/dist/forms/appraisals.json +1 -1
  17. package/dist/forms/business.es.js +7 -4
  18. package/dist/forms/business.iife.js +1 -1
  19. package/dist/forms/business.json +1 -1
  20. package/dist/forms/childAndFamily.es.js +11 -7
  21. package/dist/forms/childAndFamily.iife.js +1 -1
  22. package/dist/forms/childAndFamily.json +1 -1
  23. package/dist/forms/childAndFamilySingle.es.js +11 -7
  24. package/dist/forms/childAndFamilySingle.iife.js +1 -1
  25. package/dist/forms/childAndFamilySingle.json +1 -1
  26. package/dist/forms/civilLawsuit.es.js +8 -4
  27. package/dist/forms/civilLawsuit.iife.js +1 -1
  28. package/dist/forms/civilLawsuit.json +1 -1
  29. package/dist/forms/civilLawsuit1to1.es.js +7 -4
  30. package/dist/forms/civilLawsuit1to1.iife.js +1 -1
  31. package/dist/forms/civilLawsuit1to1.json +1 -1
  32. package/dist/forms/coins.es.js +1 -1
  33. package/dist/forms/coins.iife.js +1 -1
  34. package/dist/forms/coins.json +1 -1
  35. package/dist/forms/contracts.es.js +11 -7
  36. package/dist/forms/contracts.iife.js +1 -1
  37. package/dist/forms/contracts.json +1 -1
  38. package/dist/forms/criminal.es.js +11 -7
  39. package/dist/forms/criminal.iife.js +1 -1
  40. package/dist/forms/criminal.json +1 -1
  41. package/dist/forms/divorce.es.js +11 -7
  42. package/dist/forms/divorce.iife.js +1 -1
  43. package/dist/forms/divorce.json +1 -1
  44. package/dist/forms/electrical.es.js +2 -1
  45. package/dist/forms/electrical.iife.js +1 -1
  46. package/dist/forms/electrical.json +1 -1
  47. package/dist/forms/employmentAndWorkplace.es.js +11 -7
  48. package/dist/forms/employmentAndWorkplace.iife.js +1 -1
  49. package/dist/forms/employmentAndWorkplace.json +1 -1
  50. package/dist/forms/foreclosure.es.js +10 -7
  51. package/dist/forms/foreclosure.iife.js +1 -1
  52. package/dist/forms/foreclosure.json +1 -1
  53. package/dist/forms/generalContractors.es.js +3 -1
  54. package/dist/forms/generalContractors.iife.js +1 -1
  55. package/dist/forms/generalContractors.json +1 -1
  56. package/dist/forms/generalHomeImprovement.es.js +3 -1
  57. package/dist/forms/generalHomeImprovement.iife.js +1 -1
  58. package/dist/forms/generalHomeImprovement.json +1 -1
  59. package/dist/forms/generalHomeImprovementThankYou.es.js +2 -1
  60. package/dist/forms/generalHomeImprovementThankYou.iife.js +1 -1
  61. package/dist/forms/generalHomeImprovementThankYou.json +1 -1
  62. package/dist/forms/generalLegal.es.js +11 -7
  63. package/dist/forms/generalLegal.iife.js +1 -1
  64. package/dist/forms/generalLegal.json +1 -1
  65. package/dist/forms/generalLegalJustAnswer.es.js +44 -42
  66. package/dist/forms/generalLegalJustAnswer.iife.js +1 -1
  67. package/dist/forms/generalLegalJustAnswer.json +1 -1
  68. package/dist/forms/generalLegalPopUnder.es.js +11 -7
  69. package/dist/forms/generalLegalPopUnder.iife.js +1 -1
  70. package/dist/forms/generalLegalPopUnder.json +1 -1
  71. package/dist/forms/generalLegalPopUnderSingle.es.js +44 -42
  72. package/dist/forms/generalLegalPopUnderSingle.iife.js +1 -1
  73. package/dist/forms/generalLegalPopUnderSingle.json +1 -1
  74. package/dist/forms/generalLegalSingle.es.js +44 -42
  75. package/dist/forms/generalLegalSingle.iife.js +1 -1
  76. package/dist/forms/generalLegalSingle.json +1 -1
  77. package/dist/forms/generalLegalSingle1to1.es.js +7 -4
  78. package/dist/forms/generalLegalSingle1to1.iife.js +1 -1
  79. package/dist/forms/generalLegalSingle1to1.json +1 -1
  80. package/dist/forms/generalLegalSingleMinimal.es.js +7 -4
  81. package/dist/forms/generalLegalSingleMinimal.iife.js +1 -1
  82. package/dist/forms/generalLegalSingleMinimal.json +1 -1
  83. package/dist/forms/generalLegalThankYou.es.js +7 -4
  84. package/dist/forms/generalLegalThankYou.iife.js +1 -1
  85. package/dist/forms/generalLegalThankYou.json +1 -1
  86. package/dist/forms/generalLegalThankYouConsultation.es.js +44 -42
  87. package/dist/forms/generalLegalThankYouConsultation.iife.js +1 -1
  88. package/dist/forms/generalLegalThankYouConsultation.json +1 -1
  89. package/dist/forms/handymanCall.es.js +1 -1
  90. package/dist/forms/handymanCall.iife.js +1 -1
  91. package/dist/forms/handymanCall.json +1 -1
  92. package/dist/forms/harassmentAndDiscrimination.es.js +11 -7
  93. package/dist/forms/harassmentAndDiscrimination.iife.js +1 -1
  94. package/dist/forms/harassmentAndDiscrimination.json +1 -1
  95. package/dist/forms/hvac.es.js +1556 -0
  96. package/dist/forms/hvac.iife.js +1 -0
  97. package/dist/forms/hvac.json +1 -0
  98. package/dist/forms/landlordTenant.es.js +11 -7
  99. package/dist/forms/landlordTenant.iife.js +1 -1
  100. package/dist/forms/landlordTenant.json +1 -1
  101. package/dist/forms/malpractice.es.js +11 -7
  102. package/dist/forms/malpractice.iife.js +1 -1
  103. package/dist/forms/malpractice.json +1 -1
  104. package/dist/forms/mechanics.es.js +1 -1
  105. package/dist/forms/mechanics.iife.js +1 -1
  106. package/dist/forms/mechanics.json +1 -1
  107. package/dist/forms/mechanicsMVA.es.js +7 -4
  108. package/dist/forms/mechanicsMVA.iife.js +1 -1
  109. package/dist/forms/mechanicsMVA.json +1 -1
  110. package/dist/forms/painting.es.js +2 -1
  111. package/dist/forms/painting.iife.js +1 -1
  112. package/dist/forms/painting.json +1 -1
  113. package/dist/forms/patentsAndIP.es.js +11 -7
  114. package/dist/forms/patentsAndIP.iife.js +1 -1
  115. package/dist/forms/patentsAndIP.json +1 -1
  116. package/dist/forms/plumbing.es.js +2 -1
  117. package/dist/forms/plumbing.iife.js +1 -1
  118. package/dist/forms/plumbing.json +1 -1
  119. package/dist/forms/realEstate.es.js +11 -7
  120. package/dist/forms/realEstate.iife.js +1 -1
  121. package/dist/forms/realEstate.json +1 -1
  122. package/dist/forms/remodeling.es.js +2 -1
  123. package/dist/forms/remodeling.iife.js +1 -1
  124. package/dist/forms/remodeling.json +1 -1
  125. package/dist/forms/repossession.es.js +11 -7
  126. package/dist/forms/repossession.iife.js +1 -1
  127. package/dist/forms/repossession.json +1 -1
  128. package/dist/forms/restoration.es.js +2 -1
  129. package/dist/forms/restoration.iife.js +1 -1
  130. package/dist/forms/restoration.json +1 -1
  131. package/dist/forms/restorationCall.es.js +2 -1
  132. package/dist/forms/restorationCall.iife.js +1 -1
  133. package/dist/forms/restorationCall.json +1 -1
  134. package/dist/forms/roofing.es.js +2 -1
  135. package/dist/forms/roofing.iife.js +1 -1
  136. package/dist/forms/roofing.json +1 -1
  137. package/dist/forms/ssdi.es.js +7 -4
  138. package/dist/forms/ssdi.iife.js +1 -1
  139. package/dist/forms/ssdi.json +1 -1
  140. package/dist/forms/testForm.es.js +7 -4
  141. package/dist/forms/testForm.iife.js +1 -1
  142. package/dist/forms/testForm.json +1 -1
  143. package/dist/forms/testRedirects.es.js +1 -1
  144. package/dist/forms/testRedirects.iife.js +1 -1
  145. package/dist/forms/testRedirects.json +1 -1
  146. package/dist/forms/vets.es.js +1 -1
  147. package/dist/forms/vets.iife.js +1 -1
  148. package/dist/forms/vets.json +1 -1
  149. package/dist/forms/willsAndTrusts.es.js +11 -7
  150. package/dist/forms/willsAndTrusts.iife.js +1 -1
  151. package/dist/forms/willsAndTrusts.json +1 -1
  152. package/dist/forms/windows.es.js +3 -1
  153. package/dist/forms/windows.iife.js +1 -1
  154. package/dist/forms/windows.json +1 -1
  155. package/dist/forms/workersCompensation.es.js +10 -7
  156. package/dist/forms/workersCompensation.iife.js +1 -1
  157. package/dist/forms/workersCompensation.json +1 -1
  158. package/dist/main.css +1 -1
  159. package/package.json +1 -1
@@ -1 +1 @@
1
- var testRedirects=function(){"use strict";function e(){return Object.assign({},...arguments)}const t=e=>(e.name&&!e.id&&(e.id=e.name),e),a=a=>(t(a),e({$formkit:"radio",validation:"required",validationMessages:{required:"Field is required"},optionsClass:"t-pt-3 t-pl-1",legendClass:"required"},a)),s=e=>(e.legendClass="required",e.fieldsetClass="$reset",e.optionsClass="t-pl-2 t-pt-3 t-grid t-grid-cols-1 sm:t-grid-cols-2",e.innerClass="t-items-start",e.wrapperClass="$reset t-flex t-cursor-pointer t-mb-3",a(e)),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",a(e)),i=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",a(e)),l=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",a(e)),n=a=>(t(a),e({$formkit:"select",placeholder:"Please Select",validation:"required",validationMessages:{required:"Field is required"},inputClass:"t-bg-white",labelClass:"required"},a)),o=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]",n(e)),m=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",n(e)),p=a=>(t(a),e({$formkit:"text",validation:"required",validationMessages:{required:"Field is required"},labelClass:"required"},a)),c=e=>(e.wrapperClass="side-by-side t-items-center",p(e)),d=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",p(e)),u=(e,t,a={})=>(t?d:c)({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}),y=(t,a,s={})=>(a?l:i)(e({label:a?s.label:"Do You Need Representation to File a Lawsuit or Defend One?",if:a?s.if:'$get(Type_Of_Legal_Problem).value == "Civil Lawsuit"',name:t?t+":Civil_Defense":"Civil_Defense",options:["Defend a Lawsuit","File a Lawsuit"]},s)),f=(t,a,i={})=>(a?r:s)(e({label:a?i.label:"Select The Type of Lawsuit You Would Like to File:",if:a?null:'$get(Type_Of_Legal_Problem).value == "Civil Lawsuit" && $get(Civil_Defense).value == "File a Lawsuit"',name:t?t+":Type_Of_Legal_Problem_Display":"Type_Of_Legal_Problem_Display",options:["Automobile Accident","Contract Disputes","Defamation and Slander","Dog Bite","Employment and Workplace","Fraud","Medical Malpractice","Personal Injury","Property Damage","Small Claims","Real Estate","Not Sure or Other"]},i)),g=(t,a,i={})=>(a?r:s)(e({label:a?i.label:"Select The Workplace Issue:",if:a?i.if:'$get(Type_Of_Legal_Problem).value == "Employment and Workplace"',name:t?t+":Type_Of_Legal_Problem_Display":"Type_Of_Legal_Problem_Display",options:["Workplace Harassment","Workplace Discrimination","Wrongful Termination","Payment Disputes","Workers Compensation","Personal Injury","Unemployment","Other Workplace Issues"]},i)),C=["Adoption","Asbestos and Mesothelioma","Auto and Car Accidents","Bankruptcy","Birth Certificate and Name Change","Business Lawyers","Child Custody","Child Support","Civil Rights and Discrimination","Consumer Lawyers","Copyrights and Trademarks","Criminal and Felony","Debt and Collections","Defend a Lawsuit","Divorce and Separation","DUI and DWI","Elder Law","Employment and Workplace","Expungement","Family Issues","File a Lawsuit","Foreclosure","Guardianship","Harassment and Discrimination","Identity Theft","Immigration and Visas","Insurance","Landlord and Tenant","Lemon Law","Long Term Disability","Medical Malpractice","Non-Workplace Discrimination","Non-Workplace Harassment","Patents and Intellectual Property","Personal Injury","Power of Attorney","Probate and Estates","Product Liability","Property Damage","Real Estate","Sexual Harassment","Social Security Disability and Insurance","Tax and IRS","Traffic and Tickets","Unemployment","Victim of a Crime","Wills and Trusts","Workers Compensation","Workplace Discrimination","Workplace Harassment","Wrongful Death","Wrongful Termination","Not Sure or Other"],h=(t,a,s={})=>(a?m:o)(e({label:a?s.label:"Type of Help Needed:",name:t?t+":Type_Of_Legal_Problem":"Type_Of_Legal_Problem",id:t?t+":Type_Of_Legal_Problem":"Type_Of_Legal_Problem",options:C},s)),b=(t,a,i={})=>(a?r:s)(e({label:a?i.label:"What is the Landlord / Tenant Issue?",if:a?i.if:'$get(Type_Of_Legal_Problem).value == "Landlord and Tenant"',id:t?t+":Landlord_Tenant_Issue":"Landlord_Tenant_Issue",name:t?t+":Landlord_Tenant_Issue":"Landlord_Tenant_Issue",options:["Eviction","Repairs and Maintenance","Lease and Rental Agreements","Discrimination","Right of Entry and Privacy","Screening and Applications","Environmental Hazards","Other Dispute"]},i)),_=(t,a,i={})=>(a?r:s)(e({label:a?i.label:"Select The Real Estate Issue:",if:a?i.if:'$get(Type_Of_Legal_Problem).value == "Real Estate"',name:t?t+":Type_Of_Legal_Problem_Display":"Type_Of_Legal_Problem_Display",options:["Contracts and Agreements","Deeds, Liens, and Titles","Foreclosure","Insurance","Landlord and Tenant","Loans and Mortgages","Wills, Trusts, and Estates","Property Damage","Not Sure or Other"]},i)),v=(t,a,i={})=>(a?r:s)(e({label:a?i.label:"Select The Criminal Issue:",if:a?i.if:'$get(Type_Of_Legal_Problem).value == "Criminal and Felony"',name:t?t+":Type_Of_Legal_Problem_Display":"Type_Of_Legal_Problem_Display",options:["Criminal Defense","Victim of a Crime","DUI and DWI","Expungement","Harassment","Not Sure or Other"]},i)),L=e=>"group"!==e.type&&"section"!==e.type&&"form"!==e.type&&"hidden"!==e.$formkit&&!e.children,D=e=>{if(L(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(L(a))return a;const s=D(a);if(s)return s}return null};const T={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]"};const P={$el:"div",children:[{$el:"div",attrs:{id:"form-anchor",class:"t-absolute",style:{top:"-30px",left:0}}}],attrs:{class:"t-relative"}};const O=[{$formkit:"hidden",name:"vertical",value:"AutoRepair"},{$formkit:"hidden",name:"Category",id:"Category",value:"Mechanics"},{$formkit:"hidden",name:"gclid",value:null},{$formkit:"hidden",name:"campaignid",value:null},{$formkit:"hidden",name:"s",value:null}],I=["haveAttorney","degreeOfInterest","commentsWithBankruptcy","zipcode","legalCrossSells","firstAndLast","contactInfo"],S=["haveAttorney","degreeOfInterest","lawyerPaymentMethod","commentsWithBankruptcy","zipcode","legalCrossSells","firstAndLast","contactInfo"],w=["haveAttorney","commentsWithBankruptcy","zipcode","legalCrossSells","firstAndLast","contactInfo"],$={values:{Type_Of_Legal_Problem:{Adoption:["maritalStatus","haveChildren",...S],"Asbestos and Mesothelioma":["incidentDate","doctorTreatment",...I],"Auto and Car Accidents":["incidentDate","atFault","primaryInjury","doctorTreatment","policeReportFiled",...w],Bankruptcy:["totalMonthlyIncome","totalDebt","ownRealEstate","valueOfAssets",...I],"Business Lawyers":["businessServices","businessType","numEmployeesOfBusiness",...I],"Child Custody":["childRelationship","childHome","childPrimaryCaregiver",...S],"Child Support":["childRelationship","childHome","childPrimaryCaregiver",...S],"Civil Rights and Discrimination":["civilRightsType",...I],"Civil Lawsuit":["civilDefense","lawsuitOtherParty",...I],"File a Lawsuit":["civilLawsuitTOLPDisplay","lawsuitOtherParty",...I],"Defend a Lawsuit":["lawsuitOtherParty",...I],"Consumer Lawyers":["consumerLawyerType","incidentDate","lawsuitOtherParty",...I],"Criminal and Felony":["criminalTOLPDisplay","crimeCommittedDate","roleInMatterCriminal","pendingCharges",...S],"Debt and Collections":["totalMonthlyIncome","totalDebt","ownRealEstate","valueOfAssets",...I],"Divorce and Separation":["maritalStatus","haveChildren",...S],"DUI and DWI":["incidentDate","priorAlcoholOffenses","typeOfAlcoholTest","bloodContentAlcoholTest","pendingCharges",...I],"Employment and Workplace":["employmentAndWorkplaceTOLPDisplay","numEmployeesOfBusiness","employerType","employeeAtCompany",...I],Expungement:["incidentDate","criminalChargeType",...S],"Family Issues":["maritalStatus","haveChildren",...S],Foreclosure:["ownRealEstate","typeOfProperty","amountPaymentsPastDue","loanAmount","defaultNotice",...I],Guardianship:["maritalStatus","haveChildren",...S],"Immigration and Visas":["countryOfCitizenship","immigrationLocation","immigrationEntry","immigrationType","immigrationStatus","immigrationDetails",...I],"Landlord and Tenant":["landlordTenantIssue","landlordTenantParty",...I],"Lemon Law":["incidentDate","lawsuitOtherParty",...I],"Long Term Disability":["applicantOccupation","applicantAge","applicantLTDisabilityPolicy","applicantDisabilityHowObtain","applicantPreviouslyAppliedLtdBenefits","applicantReceivedDisabilityBenefits","applicantMonthlySalary",...w],"Medical Malpractice":["incidentDate","claimStatus","doctorTreatment","medicalMalpracticeInjuries",...I],"Patents and Intellectual Property":["patentAssistanceType","patentFor",...I],"Personal Injury":["incidentDate","claimStatus","atFault","primaryInjury","doctorTreatment",...w],"Probate and Estates":["valueOfAssets","typeOfAssets","roleInMatterProbate","estateLegalServicesNeeded",...I],"Property Damage":["wouldLikeLawyerTo",...I],"Real Estate":["realEstateTOLPDisplay","realEstateArea","wouldLikeLawyerTo",...I],"Social Security Disability and Insurance":["applicantAge","disabilityConditionStopWork","disabilityWorkHistory","socialSecurityDisabilityReceivingBenefits","doctorTreatment",...w],"Tax and IRS":["totalDebt","taxProblemDetails","taxLevel","taxIssueType",...I],"Traffic and Tickets":["driversLicenseType","trafficViolations","haveCourtDate",...I],Unemployment:["numEmployeesOfBusiness","employerType","degreeOfInterest","commentsWithBankruptcy","zipcode","legalCrossSells","firstAndLast","contactInfo"],"Victim of a Crime":["crimeCommittedDate","roleInMatterCriminal","pendingCharges",...S],"Wills and Trusts":["valueOfAssets","typeOfAssets","roleInMatterProbate","estateLegalServicesNeeded",...I],"Workers Compensation":["incidentDate","claimStatus","primaryInjury","causeOfInjury","doctorTreatment",...w],"Workplace Harassment":["numEmployeesOfBusiness","employerType","employeeAtCompany",...I],"Workplace Discrimination":["numEmployeesOfBusiness","employerType","employeeAtCompany",...I],"Wrongful Death":["incidentDate","relationshipToVictim","criminalChargesFiled","causeOfDeath",...w],"Wrongful Termination":["numEmployeesOfBusiness","employerType",...I]},"*":I}};function x(e,t=[],a={}){const s={...e};return s.values=function e(s){const r={};for(const i in s)Array.isArray(s[i])?r[i]=s[i].filter((e=>!t.includes(e))).map((e=>a[e]||e)):"object"==typeof s[i]?r[i]=e(s[i]):r[i]=s[i];return r}(e.values),s}x($,["legalCrossSells"],{commentsWithBankruptcy:"comments"});const k=$.values.Type_Of_Legal_Problem;k["Auto and Car Accidents"].filter((e=>"legalCrossSells"!==e)),k["Workers Compensation"].filter((e=>"legalCrossSells"!==e)),k["Personal Injury"].filter((e=>"legalCrossSells"!==e)),k["Personal Injury"].filter((e=>"legalCrossSells"!==e)),k["Auto and Car Accidents"].filter((e=>"legalCrossSells"!==e)),k["Auto and Car Accidents"].filter((e=>"legalCrossSells"!==e)),k["Personal Injury"].filter((e=>"legalCrossSells"!==e)),k["Personal Injury"].filter((e=>"legalCrossSells"!==e)),k["Child Custody"],k["Child Support"],$.values["*"],k["Family Issues"],k["Child Support"],k["Child Custody"],$.values["*"],k["Divorce and Separation"],k["Defend a Lawsuit"],k["File a Lawsuit"];x({values:{Type_Of_Legal_Problem:{"Defend a Lawsuit":k["Defend a Lawsuit"],"File a Lawsuit":k["File a Lawsuit"]},"*":["lawsuitOtherParty",...I]}},["legalCrossSells"],{commentsWithBankruptcy:"comments"});x({values:{Type_Of_Legal_Problem_Display:{"Automobile Accident":k["Auto and Car Accidents"],"Contract Disputes":k["Business Lawyers"],"Dog Bite":k["Personal Injury"],"Employment and Workplace":k["Employment and Workplace"],Fraud:k["Consumer Lawyers"],"Medical Malpractice":k["Medical Malpractice"],"Personal Injury":k["Personal Injury"],"Property Damage":k["Property Damage"],"Real Estate":k["Real Estate"],"Not Sure or Other":$.values["*"]},"*":["lawsuitOtherParty",...I]}},["legalCrossSells"],{commentsWithBankruptcy:"comments"});x({values:{Type_Of_Legal_Problem_Display:{"Victim of a Crime":k["Victim of a Crime"],"DUI and DWI":k["DUI and DWI"],Expungement:k.Expungement,"Not Sure or Other":$.values["*"]},"*":["crimeCommittedDate","roleInMatterCriminal","pendingCharges",...S]}},["legalCrossSells"],{commentsWithBankruptcy:"comments"});x({values:{Type_Of_Legal_Problem_Display:{"Wrongful Termination":k["Wrongful Termination"],"Workers Compensation":k["Workers Compensation"],"Personal Injury":k["Personal Injury"],Unemployment:k.Unemployment},"*":["numEmployeesOfBusiness","employerType","employeeAtCompany",...I]}},["legalCrossSells"],{commentsWithBankruptcy:"comments"}),k["Workplace Harassment"],k["Workplace Discrimination"],k["Probate and Estates"],k["Wills and Trusts"],k["Wrongful Death"],k["Patents and Intellectual Property"],k["Business Lawyers"],k["Business Lawyers"],$.values["*"];x({values:{Type_Of_Legal_Problem_Display:{Foreclosure:k.Foreclosure,"Landlord and Tenant":k["Landlord and Tenant"],"Wills, Trusts, and Estates":k["Wills and Trusts"],"Property Damage":k["Property Damage"]},"*":["realEstateArea","wouldLikeLawyerTo",...I]}},["legalCrossSells"],{commentsWithBankruptcy:"comments"});const A=[e(P,W),{$cmp:"FormKit",props:function(t){const a=e(T,t);return a.formId&&!a.name&&(a.name=a.formId),a}({formId:"testRedirects",redirectMap:{"*":"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}"},formClass:"!t-max-w-[36rem]"}),children:[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", "Have Questions for a Lawyer?")',if:"$activeStep === $firstStep()"}),...O,{$el:"div",attrs:{class:"form-body"},children:[function(t={}){return function(t,a,s={}){const{nextOnEnter:r=!0,nextOnInput:i=!1,stepKey:l,nextStepMap:n,triggerRedirectMap:o,autoFocus:m}=s;if(a&&a.length&&(r||i)){const e=D(a[a.length-1]);e&&!0===r&&(e.onKeypress="$onEnter($setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form))))"),e&&!0===i&&(e.onInput="$onInput($setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form))))")}const p={children:[{$formkit:"group",id:t,name:t,nextStepMap:n,triggerRedirectMap:o,autoFocus:m,children:a}]};return void 0!==s.if&&(p.if=s.if),e(((e,t)=>({$el:"section",if:'$stepEnabled("'+e+'")',attrs:{hidden:'$activeStep !== "'+e+'"',key:t||e}}))(t,l),p)}("generalLegalTOLPAndZip",[h(),y(),f(),v(),g(),b(),_(),u()],t)}(),function(e={}){return{$el:"div",attrs:{class:"step-nav"},children:[{$formkit:"button",name:"hidden_button",children:"Hidden",style:{if:"$activeStep === $firstStep()",then:"visibility: hidden;"}},{$formkit:"submit",name:"submit_button",label:e.submitLabel||"Chat Now"}]}}(),{$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 W;return A}();
1
+ var testRedirects=function(){"use strict";function e(){return Object.assign({},...arguments)}const t=e=>(e.name&&!e.id&&(e.id=e.name),e),a=a=>(t(a),e({$formkit:"radio",validation:"required",validationMessages:{required:"Field is required"},optionsClass:"t-pt-3 t-pl-1",legendClass:"required"},a)),s=e=>(e.legendClass="required",e.fieldsetClass="$reset",e.optionsClass="t-pl-2 t-pt-3 t-grid t-grid-cols-1 sm:t-grid-cols-2",e.innerClass="t-items-start",e.wrapperClass="$reset t-flex t-cursor-pointer t-mb-3",a(e)),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",a(e)),i=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",a(e)),l=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",a(e)),n=a=>(t(a),e({$formkit:"select",placeholder:"Please Select",validation:"required",validationMessages:{required:"Field is required"},inputClass:"t-bg-white",labelClass:"required"},a)),o=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]",n(e)),m=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",n(e)),p=a=>(t(a),e({$formkit:"text",validation:"required",validationMessages:{required:"Field is required"},labelClass:"required"},a)),c=e=>(e.wrapperClass="side-by-side t-items-center",p(e)),d=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",p(e)),u=(e,t,a={})=>(t?d:c)({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}),y=(t,a,s={})=>(a?l:i)(e({label:a?s.label:"Do You Need Representation to File a Lawsuit or Defend One?",if:a?s.if:'$get(Type_Of_Legal_Problem).value == "Civil Lawsuit"',name:t?t+":Civil_Defense":"Civil_Defense",options:["Defend a Lawsuit","File a Lawsuit"]},s)),f=(t,a,i={})=>(a?r:s)(e({label:a?i.label:"Select The Type of Lawsuit You Would Like to File:",if:a?null:'$get(Type_Of_Legal_Problem).value == "Civil Lawsuit" && $get(Civil_Defense).value == "File a Lawsuit"',name:t?t+":Type_Of_Legal_Problem_Display":"Type_Of_Legal_Problem_Display",options:["Automobile Accident","Contract Disputes","Defamation and Slander","Dog Bite","Employment and Workplace","Fraud","Medical Malpractice","Personal Injury","Property Damage","Small Claims","Real Estate","Not Sure or Other"]},i)),g=(t,a,i={})=>(a?r:s)(e({label:a?i.label:"Select The Workplace Issue:",if:a?i.if:'$get(Type_Of_Legal_Problem).value == "Employment and Workplace"',name:t?t+":Type_Of_Legal_Problem_Display":"Type_Of_Legal_Problem_Display",options:["Workplace Harassment","Workplace Discrimination","Wrongful Termination","Payment Disputes","Workers Compensation","Personal Injury","Unemployment","Other Workplace Issues"]},i)),C=["Adoption","Asbestos and Mesothelioma","Auto and Car Accidents","Bankruptcy","Birth Certificate and Name Change","Business Lawyers","Child Custody","Child Support","Civil Rights and Discrimination","Consumer Lawyers","Copyrights and Trademarks","Criminal and Felony","Debt and Collections","Defend a Lawsuit","Divorce and Separation","DUI and DWI","Elder Law","Employment and Workplace","Expungement","Family Issues","File a Lawsuit","Foreclosure","Guardianship","Harassment and Discrimination","Identity Theft","Immigration and Visas","Insurance","Landlord and Tenant","Lemon Law","Long Term Disability","Medical Malpractice","Non-Workplace Discrimination","Non-Workplace Harassment","Patents and Intellectual Property","Personal Injury","Power of Attorney","Probate and Estates","Product Liability","Property Damage","Real Estate","Sexual Harassment","Social Security Disability and Insurance","Tax and IRS","Traffic and Tickets","Unemployment","Victim of a Crime","Wills and Trusts","Workers Compensation","Workplace Discrimination","Workplace Harassment","Wrongful Death","Wrongful Termination","Not Sure or Other"],h=(t,a,s={})=>(a?m:o)(e({label:a?s.label:"Type of Help Needed:",name:t?t+":Type_Of_Legal_Problem":"Type_Of_Legal_Problem",id:t?t+":Type_Of_Legal_Problem":"Type_Of_Legal_Problem",options:C},s)),b=(t,a,i={})=>(a?r:s)(e({label:a?i.label:"What is the Landlord / Tenant Issue?",if:a?i.if:'$get(Type_Of_Legal_Problem).value == "Landlord and Tenant"',id:t?t+":Landlord_Tenant_Issue":"Landlord_Tenant_Issue",name:t?t+":Landlord_Tenant_Issue":"Landlord_Tenant_Issue",options:["Eviction","Repairs and Maintenance","Lease and Rental Agreements","Discrimination","Right of Entry and Privacy","Screening and Applications","Environmental Hazards","Other Dispute"]},i)),_=(t,a,i={})=>(a?r:s)(e({label:a?i.label:"Select The Real Estate Issue:",if:a?i.if:'$get(Type_Of_Legal_Problem).value == "Real Estate"',name:t?t+":Type_Of_Legal_Problem_Display":"Type_Of_Legal_Problem_Display",options:["Contracts and Agreements","Deeds, Liens, and Titles","Foreclosure","Insurance","Landlord and Tenant","Loans and Mortgages","Wills, Trusts, and Estates","Property Damage","Not Sure or Other"]},i)),v=(t,a,i={})=>(a?r:s)(e({label:a?i.label:"Select The Criminal Issue:",if:a?i.if:'$get(Type_Of_Legal_Problem).value == "Criminal and Felony"',name:t?t+":Type_Of_Legal_Problem_Display":"Type_Of_Legal_Problem_Display",options:["Criminal Defense","Victim of a Crime","DUI and DWI","Expungement","Harassment","Not Sure or Other"]},i)),L=e=>"group"!==e.type&&"section"!==e.type&&"form"!==e.type&&"hidden"!==e.$formkit&&!e.children,D=e=>{if(L(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(L(a))return a;const s=D(a);if(s)return s}return null};const T={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]"};const P={$el:"div",children:[{$el:"div",attrs:{id:"form-anchor",class:"t-absolute",style:{top:"-30px",left:0}}}],attrs:{class:"t-relative"}};const O=[{$formkit:"hidden",name:"vertical",value:"AutoRepair"},{$formkit:"hidden",name:"Category",id:"Category",value:"Mechanics"},{$formkit:"hidden",name:"gclid",value:null},{$formkit:"hidden",name:"campaignid",value:null},{$formkit:"hidden",name:"s",value:null}],I=["haveAttorney","degreeOfInterest","commentsWithBankruptcy","zipcode","legalCrossSells","firstAndLast","contactInfo"],S=["haveAttorney","degreeOfInterest","lawyerPaymentMethod","commentsWithBankruptcy","zipcode","legalCrossSells","firstAndLast","contactInfo"],w=["haveAttorney","commentsWithBankruptcy","zipcode","legalCrossSells","firstAndLast","contactInfo"],$={values:{Type_Of_Legal_Problem:{Adoption:["maritalStatus","haveChildren",...S],"Asbestos and Mesothelioma":["incidentDate","doctorTreatment",...I],"Auto and Car Accidents":["incidentDate","atFault","primaryInjury","doctorTreatment","policeReportFiled",...w],Bankruptcy:["totalMonthlyIncome","totalDebt","ownRealEstate","valueOfAssets",...I],"Business Lawyers":["businessServices","businessType","numEmployeesOfBusiness",...I],"Child Custody":["childRelationship","childHome","childPrimaryCaregiver",...S],"Child Support":["childRelationship","childHome","childPrimaryCaregiver",...S],"Civil Rights and Discrimination":["civilRightsType",...I],"Civil Lawsuit":["civilDefense","lawsuitOtherParty",...I],"File a Lawsuit":["civilLawsuitTOLPDisplay","lawsuitOtherParty",...I],"Defend a Lawsuit":["lawsuitOtherParty",...I],"Consumer Lawyers":["consumerLawyerType","incidentDate","lawsuitOtherParty",...I],"Criminal and Felony":["criminalTOLPDisplay","crimeCommittedDate","roleInMatterCriminal","pendingCharges",...S],"Debt and Collections":["totalMonthlyIncome","totalDebt","ownRealEstate","valueOfAssets",...I],"Divorce and Separation":["maritalStatus","haveChildren",...S],"DUI and DWI":["incidentDate","priorAlcoholOffenses","typeOfAlcoholTest","bloodContentAlcoholTest","pendingCharges",...I],"Employment and Workplace":["employmentAndWorkplaceTOLPDisplay","numEmployeesOfBusiness","employerType","employeeAtCompany",...I],Expungement:["incidentDate","criminalChargeType",...S],"Family Issues":["maritalStatus","haveChildren",...S],Foreclosure:["ownRealEstate","typeOfProperty","amountPaymentsPastDue","loanAmount","defaultNotice",...I],Guardianship:["maritalStatus","haveChildren",...S],"Immigration and Visas":["countryOfCitizenship","immigrationLocation","immigrationEntry","immigrationType","immigrationStatus","immigrationDetails",...I],"Landlord and Tenant":["landlordTenantIssue","landlordTenantParty",...I],"Lemon Law":["incidentDate","lawsuitOtherParty",...I],"Long Term Disability":["applicantOccupation","applicantAge","applicantLTDisabilityPolicy","applicantDisabilityHowObtain","applicantPreviouslyAppliedLtdBenefits","applicantReceivedDisabilityBenefits","applicantMonthlySalary",...w],"Medical Malpractice":["incidentDate","claimStatus","doctorTreatment","medicalMalpracticeInjuries",...I],"Patents and Intellectual Property":["patentAssistanceType","patentFor",...I],"Personal Injury":["incidentDate","claimStatus","atFault","primaryInjury","doctorTreatment",...w],"Probate and Estates":["valueOfAssets","typeOfAssets","roleInMatterProbate","estateLegalServicesNeeded",...I],"Property Damage":["wouldLikeLawyerTo",...I],"Real Estate":["realEstateTOLPDisplay","realEstateArea","wouldLikeLawyerTo",...I],"Social Security Disability and Insurance":["applicantAge","disabilityConditionStopWork","disabilityWorkHistory","socialSecurityDisabilityReceivingBenefits","doctorTreatment",...w],"Tax and IRS":["totalDebt","taxProblemDetails","taxLevel","taxIssueType",...I],"Traffic and Tickets":["driversLicenseType","trafficViolations","haveCourtDate",...I],Unemployment:["numEmployeesOfBusiness","employerType","degreeOfInterest","commentsWithBankruptcy","zipcode","legalCrossSells","firstAndLast","contactInfo"],"Victim of a Crime":["crimeCommittedDate","roleInMatterCriminal","pendingCharges",...S],"Wills and Trusts":["valueOfAssets","typeOfAssets","roleInMatterProbate","estateLegalServicesNeeded",...I],"Workers Compensation":["incidentDate","claimStatus","primaryInjury","causeOfInjury","doctorTreatment",...w],"Workplace Harassment":["numEmployeesOfBusiness","employerType","employeeAtCompany",...I],"Workplace Discrimination":["numEmployeesOfBusiness","employerType","employeeAtCompany",...I],"Wrongful Death":["incidentDate","relationshipToVictim","criminalChargesFiled","causeOfDeath",...w],"Wrongful Termination":["numEmployeesOfBusiness","employerType",...I]},"*":I}};function x(e,t=[],a={}){const s={...e};return s.values=function e(s){const r={};for(const i in s)Array.isArray(s[i])?r[i]=s[i].filter((e=>!t.includes(e))).map((e=>a[e]||e)):"object"==typeof s[i]?r[i]=e(s[i]):r[i]=s[i];return r}(e.values),s}x($,["legalCrossSells"],{commentsWithBankruptcy:"comments"});const k=$.values.Type_Of_Legal_Problem;k["Auto and Car Accidents"].filter((e=>"legalCrossSells"!==e)),k["Workers Compensation"].filter((e=>"legalCrossSells"!==e)),k["Personal Injury"].filter((e=>"legalCrossSells"!==e)),k["Personal Injury"].filter((e=>"legalCrossSells"!==e)),k["Auto and Car Accidents"].filter((e=>"legalCrossSells"!==e)),k["Auto and Car Accidents"].filter((e=>"legalCrossSells"!==e)),k["Personal Injury"].filter((e=>"legalCrossSells"!==e)),k["Personal Injury"].filter((e=>"legalCrossSells"!==e)),k["Child Custody"],k["Child Support"],$.values["*"],k["Family Issues"],k["Child Support"],k["Child Custody"],$.values["*"],k["Divorce and Separation"],k["Defend a Lawsuit"],k["File a Lawsuit"];x({values:{Type_Of_Legal_Problem:{"Defend a Lawsuit":k["Defend a Lawsuit"],"File a Lawsuit":k["File a Lawsuit"]},"*":["lawsuitOtherParty",...I]}},["legalCrossSells"],{commentsWithBankruptcy:"comments"});x({values:{Type_Of_Legal_Problem_Display:{"Automobile Accident":k["Auto and Car Accidents"],"Contract Disputes":k["Business Lawyers"],"Dog Bite":k["Personal Injury"],"Employment and Workplace":k["Employment and Workplace"],Fraud:k["Consumer Lawyers"],"Medical Malpractice":k["Medical Malpractice"],"Personal Injury":k["Personal Injury"],"Property Damage":k["Property Damage"],"Real Estate":k["Real Estate"],"Not Sure or Other":$.values["*"]},"*":["lawsuitOtherParty",...I]}},["legalCrossSells"],{commentsWithBankruptcy:"comments"});x({values:{Type_Of_Legal_Problem_Display:{"Victim of a Crime":k["Victim of a Crime"],"DUI and DWI":k["DUI and DWI"],Expungement:k.Expungement,"Not Sure or Other":$.values["*"]},"*":["crimeCommittedDate","roleInMatterCriminal","pendingCharges",...S]}},["legalCrossSells"],{commentsWithBankruptcy:"comments"});x({values:{Type_Of_Legal_Problem_Display:{"Wrongful Termination":k["Wrongful Termination"],"Workers Compensation":k["Workers Compensation"],"Personal Injury":k["Personal Injury"],Unemployment:k.Unemployment},"*":["numEmployeesOfBusiness","employerType","employeeAtCompany",...I]}},["legalCrossSells"],{commentsWithBankruptcy:"comments"}),k["Workplace Harassment"],k["Workplace Discrimination"],k["Probate and Estates"],k["Wills and Trusts"],k["Wrongful Death"],k["Patents and Intellectual Property"],k["Business Lawyers"],k["Business Lawyers"],$.values["*"];x({values:{Type_Of_Legal_Problem_Display:{Foreclosure:k.Foreclosure,"Landlord and Tenant":k["Landlord and Tenant"],"Wills, Trusts, and Estates":k["Wills and Trusts"],"Property Damage":k["Property Damage"]},"*":["realEstateArea","wouldLikeLawyerTo",...I]}},["legalCrossSells"],{commentsWithBankruptcy:"comments"});const A=[e(P,W),{$cmp:"FormKit",props:function(t){const a=e(T,t);return a.formId&&!a.name&&(a.name=a.formId),a}({formId:"testRedirects",redirectMap:{"*":"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}"},formClass:"!t-max-w-[36rem]"}),children:[function(t={}){return e(function(e={}){return{$el:"h1",attrs:{class:"t-flex t-justify-center t-text-center t-text-[1.3rem] 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", "Have Questions for a Lawyer?")',if:"$activeStep === $firstStep()"}),...O,{$el:"div",attrs:{class:"form-body"},children:[function(t={}){return function(t,a,s={}){const{nextOnEnter:r=!0,nextOnInput:i=!1,stepKey:l,nextStepMap:n,triggerRedirectMap:o,autoFocus:m}=s;if(a&&a.length&&(r||i)){const e=D(a[a.length-1]);e&&!0===r&&(e.onKeypress="$onEnter($setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form))))"),e&&!0===i&&(e.onInput="$onInput($setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form))))")}const p={children:[{$formkit:"group",id:t,name:t,nextStepMap:n,triggerRedirectMap:o,autoFocus:m,children:a}]};return void 0!==s.if&&(p.if=s.if),e(((e,t)=>({$el:"section",if:'$stepEnabled("'+e+'")',attrs:{hidden:'$activeStep !== "'+e+'"',key:t||e}}))(t,l),p)}("generalLegalTOLPAndZip",[h(),y(),f(),v(),g(),b(),_(),u()],t)}(),function(e={}){return{$el:"div",attrs:{class:"step-nav"},children:[{$formkit:"button",name:"hidden_button",children:"Hidden",style:{if:"$activeStep === $firstStep()",then:"visibility: hidden;"}},{$formkit:"submit",name:"submit_button",label:e.submitLabel||"Chat Now"}]}}(),{$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 W;return A}();
@@ -1 +1 @@
1
- [{"$el":"div","children":[{"$el":"div","attrs":{"id":"form-anchor","class":"t-absolute","style":{"top":"-30px","left":0}}}],"attrs":{"class":"t-relative"}},{"$cmp":"FormKit","props":{"type":"form","id":"form","config":{"validationVisibility":"submit"},"onSubmit":"$submit($submitUrl, $prepData, $handleRedirect, \"text/plain; charset=UTF-8\")","plugins":"$plugins","actions":false,"anchorElement":"form-anchor","useLocalStorage":true,"prepop":{"fromURL":true},"errorCodes":{"403":{"message":"An Error Occurred","abort":false},"409":{"abort":false},"429":"An Error Occurred","504":{"message":"An Error Occurred","abort":false}},"formClass":"!t-max-w-[36rem]","formId":"testRedirects","redirectMap":{"*":"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}"},"name":"testRedirects"},"children":[{"$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 f-first-headline"},"children":"$urlParam(\"hl\", \"Have Questions for a Lawyer?\")","if":"$activeStep === $firstStep()"},{"$formkit":"hidden","name":"vertical","value":"AutoRepair"},{"$formkit":"hidden","name":"Category","id":"Category","value":"Mechanics"},{"$formkit":"hidden","name":"gclid","value":null},{"$formkit":"hidden","name":"campaignid","value":null},{"$formkit":"hidden","name":"s","value":null},{"$el":"div","attrs":{"class":"form-body"},"children":[{"$el":"section","if":"$stepEnabled(\"generalLegalTOLPAndZip\")","attrs":{"hidden":"$activeStep !== \"generalLegalTOLPAndZip\"","key":"generalLegalTOLPAndZip"},"children":[{"$formkit":"group","id":"generalLegalTOLPAndZip","name":"generalLegalTOLPAndZip","children":[{"$formkit":"select","placeholder":"Please Select","validation":"required","validationMessages":{"required":"Field is required"},"inputClass":"t-bg-white","labelClass":"required","label":"Type of Help Needed:","name":"Type_Of_Legal_Problem","id":"Type_Of_Legal_Problem","options":["Adoption","Asbestos and Mesothelioma","Auto and Car Accidents","Bankruptcy","Birth Certificate and Name Change","Business Lawyers","Child Custody","Child Support","Civil Rights and Discrimination","Consumer Lawyers","Copyrights and Trademarks","Criminal and Felony","Debt and Collections","Defend a Lawsuit","Divorce and Separation","DUI and DWI","Elder Law","Employment and Workplace","Expungement","Family Issues","File a Lawsuit","Foreclosure","Guardianship","Harassment and Discrimination","Identity Theft","Immigration and Visas","Insurance","Landlord and Tenant","Lemon Law","Long Term Disability","Medical Malpractice","Non-Workplace Discrimination","Non-Workplace Harassment","Patents and Intellectual Property","Personal Injury","Power of Attorney","Probate and Estates","Product Liability","Property Damage","Real Estate","Sexual Harassment","Social Security Disability and Insurance","Tax and IRS","Traffic and Tickets","Unemployment","Victim of a Crime","Wills and Trusts","Workers Compensation","Workplace Discrimination","Workplace Harassment","Wrongful Death","Wrongful Termination","Not Sure or Other"],"wrapperClass":"side-by-side t-items-center","innerClass":"select-height-content","helpClass":"t-mt-2.5 md:t-text-right md:t-mt-[-5px]"},{"$formkit":"radio","validation":"required","validationMessages":{"required":"Field is required"},"optionsClass":"t-mt-1 t-grid t-grid-cols-1 md:t-grid-cols-2-125 t-items-center","legendClass":"legend-left t-pb-1 required","label":"Do You Need Representation to File a Lawsuit or Defend One?","if":"$get(Type_Of_Legal_Problem).value == \"Civil Lawsuit\"","name":"Civil_Defense","options":["Defend a Lawsuit","File a Lawsuit"],"fieldsetClass":"$reset side-by-side t-items-center","innerClass":"t-flex t-items-center","optionClass":"t-pr-1","id":"Civil_Defense"},{"$formkit":"radio","validation":"required","validationMessages":{"required":"Field is required"},"optionsClass":"t-pl-2 t-pt-3 t-grid t-grid-cols-1 sm:t-grid-cols-2","legendClass":"required","label":"Select The Type of Lawsuit You Would Like to File:","if":"$get(Type_Of_Legal_Problem).value == \"Civil Lawsuit\" && $get(Civil_Defense).value == \"File a Lawsuit\"","name":"Type_Of_Legal_Problem_Display","options":["Automobile Accident","Contract Disputes","Defamation and Slander","Dog Bite","Employment and Workplace","Fraud","Medical Malpractice","Personal Injury","Property Damage","Small Claims","Real Estate","Not Sure or Other"],"fieldsetClass":"$reset","innerClass":"t-items-start","wrapperClass":"$reset t-flex t-cursor-pointer t-mb-3","id":"Type_Of_Legal_Problem_Display"},{"$formkit":"radio","validation":"required","validationMessages":{"required":"Field is required"},"optionsClass":"t-pl-2 t-pt-3 t-grid t-grid-cols-1 sm:t-grid-cols-2","legendClass":"required","label":"Select The Criminal Issue:","if":"$get(Type_Of_Legal_Problem).value == \"Criminal and Felony\"","name":"Type_Of_Legal_Problem_Display","options":["Criminal Defense","Victim of a Crime","DUI and DWI","Expungement","Harassment","Not Sure or Other"],"fieldsetClass":"$reset","innerClass":"t-items-start","wrapperClass":"$reset t-flex t-cursor-pointer t-mb-3","id":"Type_Of_Legal_Problem_Display"},{"$formkit":"radio","validation":"required","validationMessages":{"required":"Field is required"},"optionsClass":"t-pl-2 t-pt-3 t-grid t-grid-cols-1 sm:t-grid-cols-2","legendClass":"required","label":"Select The Workplace Issue:","if":"$get(Type_Of_Legal_Problem).value == \"Employment and Workplace\"","name":"Type_Of_Legal_Problem_Display","options":["Workplace Harassment","Workplace Discrimination","Wrongful Termination","Payment Disputes","Workers Compensation","Personal Injury","Unemployment","Other Workplace Issues"],"fieldsetClass":"$reset","innerClass":"t-items-start","wrapperClass":"$reset t-flex t-cursor-pointer t-mb-3","id":"Type_Of_Legal_Problem_Display"},{"$formkit":"radio","validation":"required","validationMessages":{"required":"Field is required"},"optionsClass":"t-pl-2 t-pt-3 t-grid t-grid-cols-1 sm:t-grid-cols-2","legendClass":"required","label":"What is the Landlord / Tenant Issue?","if":"$get(Type_Of_Legal_Problem).value == \"Landlord and Tenant\"","id":"Landlord_Tenant_Issue","name":"Landlord_Tenant_Issue","options":["Eviction","Repairs and Maintenance","Lease and Rental Agreements","Discrimination","Right of Entry and Privacy","Screening and Applications","Environmental Hazards","Other Dispute"],"fieldsetClass":"$reset","innerClass":"t-items-start","wrapperClass":"$reset t-flex t-cursor-pointer t-mb-3"},{"$formkit":"radio","validation":"required","validationMessages":{"required":"Field is required"},"optionsClass":"t-pl-2 t-pt-3 t-grid t-grid-cols-1 sm:t-grid-cols-2","legendClass":"required","label":"Select The Real Estate Issue:","if":"$get(Type_Of_Legal_Problem).value == \"Real Estate\"","name":"Type_Of_Legal_Problem_Display","options":["Contracts and Agreements","Deeds, Liens, and Titles","Foreclosure","Insurance","Landlord and Tenant","Loans and Mortgages","Wills, Trusts, and Estates","Property Damage","Not Sure or Other"],"fieldsetClass":"$reset","innerClass":"t-items-start","wrapperClass":"$reset t-flex t-cursor-pointer t-mb-3","id":"Type_Of_Legal_Problem_Display"},{"$formkit":"text","validation":"required|matches:/^[0-9]{5}$/","validationMessages":{"required":"Zip Code is required","matches":"Invalid Zip Code"},"labelClass":"required","label":"Zip Code:","help":null,"placeholder":"#####","name":"Zip","maxlength":5,"inputmode":"numeric","autocomplete":"postal-code","wrapperClass":"side-by-side t-items-center","id":"Zip","onKeypress":"$onEnter($setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form))))"}]}]},{"$el":"div","attrs":{"class":"step-nav"},"children":[{"$formkit":"button","name":"hidden_button","children":"Hidden","style":{"if":"$activeStep === $firstStep()","then":"visibility: hidden;"}},{"$formkit":"submit","name":"submit_button","label":"Chat Now"}]},{"$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"}}]}]}]}]
1
+ [{"$el":"div","children":[{"$el":"div","attrs":{"id":"form-anchor","class":"t-absolute","style":{"top":"-30px","left":0}}}],"attrs":{"class":"t-relative"}},{"$cmp":"FormKit","props":{"type":"form","id":"form","config":{"validationVisibility":"submit"},"onSubmit":"$submit($submitUrl, $prepData, $handleRedirect, \"text/plain; charset=UTF-8\")","plugins":"$plugins","actions":false,"anchorElement":"form-anchor","useLocalStorage":true,"prepop":{"fromURL":true},"errorCodes":{"403":{"message":"An Error Occurred","abort":false},"409":{"abort":false},"429":"An Error Occurred","504":{"message":"An Error Occurred","abort":false}},"formClass":"!t-max-w-[36rem]","formId":"testRedirects","redirectMap":{"*":"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}"},"name":"testRedirects"},"children":[{"$el":"h1","attrs":{"class":"t-flex t-justify-center t-text-center t-text-[1.3rem] sm:t-text-[2rem] t-font-semibold t-pt-5 t-px-7 md:t-px-3 f-first-headline"},"children":"$urlParam(\"hl\", \"Have Questions for a Lawyer?\")","if":"$activeStep === $firstStep()"},{"$formkit":"hidden","name":"vertical","value":"AutoRepair"},{"$formkit":"hidden","name":"Category","id":"Category","value":"Mechanics"},{"$formkit":"hidden","name":"gclid","value":null},{"$formkit":"hidden","name":"campaignid","value":null},{"$formkit":"hidden","name":"s","value":null},{"$el":"div","attrs":{"class":"form-body"},"children":[{"$el":"section","if":"$stepEnabled(\"generalLegalTOLPAndZip\")","attrs":{"hidden":"$activeStep !== \"generalLegalTOLPAndZip\"","key":"generalLegalTOLPAndZip"},"children":[{"$formkit":"group","id":"generalLegalTOLPAndZip","name":"generalLegalTOLPAndZip","children":[{"$formkit":"select","placeholder":"Please Select","validation":"required","validationMessages":{"required":"Field is required"},"inputClass":"t-bg-white","labelClass":"required","label":"Type of Help Needed:","name":"Type_Of_Legal_Problem","id":"Type_Of_Legal_Problem","options":["Adoption","Asbestos and Mesothelioma","Auto and Car Accidents","Bankruptcy","Birth Certificate and Name Change","Business Lawyers","Child Custody","Child Support","Civil Rights and Discrimination","Consumer Lawyers","Copyrights and Trademarks","Criminal and Felony","Debt and Collections","Defend a Lawsuit","Divorce and Separation","DUI and DWI","Elder Law","Employment and Workplace","Expungement","Family Issues","File a Lawsuit","Foreclosure","Guardianship","Harassment and Discrimination","Identity Theft","Immigration and Visas","Insurance","Landlord and Tenant","Lemon Law","Long Term Disability","Medical Malpractice","Non-Workplace Discrimination","Non-Workplace Harassment","Patents and Intellectual Property","Personal Injury","Power of Attorney","Probate and Estates","Product Liability","Property Damage","Real Estate","Sexual Harassment","Social Security Disability and Insurance","Tax and IRS","Traffic and Tickets","Unemployment","Victim of a Crime","Wills and Trusts","Workers Compensation","Workplace Discrimination","Workplace Harassment","Wrongful Death","Wrongful Termination","Not Sure or Other"],"wrapperClass":"side-by-side t-items-center","innerClass":"select-height-content","helpClass":"t-mt-2.5 md:t-text-right md:t-mt-[-5px]"},{"$formkit":"radio","validation":"required","validationMessages":{"required":"Field is required"},"optionsClass":"t-mt-1 t-grid t-grid-cols-1 md:t-grid-cols-2-125 t-items-center","legendClass":"legend-left t-pb-1 required","label":"Do You Need Representation to File a Lawsuit or Defend One?","if":"$get(Type_Of_Legal_Problem).value == \"Civil Lawsuit\"","name":"Civil_Defense","options":["Defend a Lawsuit","File a Lawsuit"],"fieldsetClass":"$reset side-by-side t-items-center","innerClass":"t-flex t-items-center","optionClass":"t-pr-1","id":"Civil_Defense"},{"$formkit":"radio","validation":"required","validationMessages":{"required":"Field is required"},"optionsClass":"t-pl-2 t-pt-3 t-grid t-grid-cols-1 sm:t-grid-cols-2","legendClass":"required","label":"Select The Type of Lawsuit You Would Like to File:","if":"$get(Type_Of_Legal_Problem).value == \"Civil Lawsuit\" && $get(Civil_Defense).value == \"File a Lawsuit\"","name":"Type_Of_Legal_Problem_Display","options":["Automobile Accident","Contract Disputes","Defamation and Slander","Dog Bite","Employment and Workplace","Fraud","Medical Malpractice","Personal Injury","Property Damage","Small Claims","Real Estate","Not Sure or Other"],"fieldsetClass":"$reset","innerClass":"t-items-start","wrapperClass":"$reset t-flex t-cursor-pointer t-mb-3","id":"Type_Of_Legal_Problem_Display"},{"$formkit":"radio","validation":"required","validationMessages":{"required":"Field is required"},"optionsClass":"t-pl-2 t-pt-3 t-grid t-grid-cols-1 sm:t-grid-cols-2","legendClass":"required","label":"Select The Criminal Issue:","if":"$get(Type_Of_Legal_Problem).value == \"Criminal and Felony\"","name":"Type_Of_Legal_Problem_Display","options":["Criminal Defense","Victim of a Crime","DUI and DWI","Expungement","Harassment","Not Sure or Other"],"fieldsetClass":"$reset","innerClass":"t-items-start","wrapperClass":"$reset t-flex t-cursor-pointer t-mb-3","id":"Type_Of_Legal_Problem_Display"},{"$formkit":"radio","validation":"required","validationMessages":{"required":"Field is required"},"optionsClass":"t-pl-2 t-pt-3 t-grid t-grid-cols-1 sm:t-grid-cols-2","legendClass":"required","label":"Select The Workplace Issue:","if":"$get(Type_Of_Legal_Problem).value == \"Employment and Workplace\"","name":"Type_Of_Legal_Problem_Display","options":["Workplace Harassment","Workplace Discrimination","Wrongful Termination","Payment Disputes","Workers Compensation","Personal Injury","Unemployment","Other Workplace Issues"],"fieldsetClass":"$reset","innerClass":"t-items-start","wrapperClass":"$reset t-flex t-cursor-pointer t-mb-3","id":"Type_Of_Legal_Problem_Display"},{"$formkit":"radio","validation":"required","validationMessages":{"required":"Field is required"},"optionsClass":"t-pl-2 t-pt-3 t-grid t-grid-cols-1 sm:t-grid-cols-2","legendClass":"required","label":"What is the Landlord / Tenant Issue?","if":"$get(Type_Of_Legal_Problem).value == \"Landlord and Tenant\"","id":"Landlord_Tenant_Issue","name":"Landlord_Tenant_Issue","options":["Eviction","Repairs and Maintenance","Lease and Rental Agreements","Discrimination","Right of Entry and Privacy","Screening and Applications","Environmental Hazards","Other Dispute"],"fieldsetClass":"$reset","innerClass":"t-items-start","wrapperClass":"$reset t-flex t-cursor-pointer t-mb-3"},{"$formkit":"radio","validation":"required","validationMessages":{"required":"Field is required"},"optionsClass":"t-pl-2 t-pt-3 t-grid t-grid-cols-1 sm:t-grid-cols-2","legendClass":"required","label":"Select The Real Estate Issue:","if":"$get(Type_Of_Legal_Problem).value == \"Real Estate\"","name":"Type_Of_Legal_Problem_Display","options":["Contracts and Agreements","Deeds, Liens, and Titles","Foreclosure","Insurance","Landlord and Tenant","Loans and Mortgages","Wills, Trusts, and Estates","Property Damage","Not Sure or Other"],"fieldsetClass":"$reset","innerClass":"t-items-start","wrapperClass":"$reset t-flex t-cursor-pointer t-mb-3","id":"Type_Of_Legal_Problem_Display"},{"$formkit":"text","validation":"required|matches:/^[0-9]{5}$/","validationMessages":{"required":"Zip Code is required","matches":"Invalid Zip Code"},"labelClass":"required","label":"Zip Code:","help":null,"placeholder":"#####","name":"Zip","maxlength":5,"inputmode":"numeric","autocomplete":"postal-code","wrapperClass":"side-by-side t-items-center","id":"Zip","onKeypress":"$onEnter($setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form))))"}]}]},{"$el":"div","attrs":{"class":"step-nav"},"children":[{"$formkit":"button","name":"hidden_button","children":"Hidden","style":{"if":"$activeStep === $firstStep()","then":"visibility: hidden;"}},{"$formkit":"submit","name":"submit_button","label":"Chat Now"}]},{"$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"}}]}]}]}]
@@ -326,7 +326,7 @@ function headlineDefaults(updates = {}) {
326
326
  $el: "h1",
327
327
  attrs: {
328
328
  class:
329
- "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" +
329
+ "t-flex t-justify-center t-text-center t-text-[1.3rem] sm:t-text-[2rem] t-font-semibold t-pt-5 t-px-7 md:t-px-3" +
330
330
  " " +
331
331
  (updates.headlineClass || "") +
332
332
  " f-first-headline",
@@ -1 +1 @@
1
- var vets=function(){"use strict";function e(){return Object.assign({},...arguments)}function t(e,t,a,s=4){return"https://listings."+e+"/api/v1/redirect?zone_id="+s+"&sub_id=${properties.vid}&vertical="+encodeURIComponent(t)+"&category="+encodeURIComponent(a)}const a=(t,a,s)=>(t=>{var a;return(a=t).name&&!a.id&&(a.id=a.name),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)),s=e=>"group"!==e.type&&"section"!==e.type&&"form"!==e.type&&"hidden"!==e.$formkit&&!e.children,n=e=>{if(s(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(s(a))return a;const r=n(a);if(r)return r}return null};const r={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]"};const i={$el:"div",children:[{$el:"div",attrs:{id:"form-anchor",class:"t-absolute",style:{top:"-30px",left:0}}}],attrs:{class:"t-relative"}};const l=[{$formkit:"hidden",name:"vertical",value:"Pets"},{$formkit:"hidden",name:"gclid",value:null},{$formkit:"hidden",name:"campaignid",value:null},{$formkit:"hidden",name:"s",value:null}],o=["haveAttorney","degreeOfInterest","commentsWithBankruptcy","zipcode","legalCrossSells","firstAndLast","contactInfo"],c=["haveAttorney","degreeOfInterest","lawyerPaymentMethod","commentsWithBankruptcy","zipcode","legalCrossSells","firstAndLast","contactInfo"],p=["haveAttorney","commentsWithBankruptcy","zipcode","legalCrossSells","firstAndLast","contactInfo"],m={values:{Type_Of_Legal_Problem:{Adoption:["maritalStatus","haveChildren",...c],"Asbestos and Mesothelioma":["incidentDate","doctorTreatment",...o],"Auto and Car Accidents":["incidentDate","atFault","primaryInjury","doctorTreatment","policeReportFiled",...p],Bankruptcy:["totalMonthlyIncome","totalDebt","ownRealEstate","valueOfAssets",...o],"Business Lawyers":["businessServices","businessType","numEmployeesOfBusiness",...o],"Child Custody":["childRelationship","childHome","childPrimaryCaregiver",...c],"Child Support":["childRelationship","childHome","childPrimaryCaregiver",...c],"Civil Rights and Discrimination":["civilRightsType",...o],"Civil Lawsuit":["civilDefense","lawsuitOtherParty",...o],"File a Lawsuit":["civilLawsuitTOLPDisplay","lawsuitOtherParty",...o],"Defend a Lawsuit":["lawsuitOtherParty",...o],"Consumer Lawyers":["consumerLawyerType","incidentDate","lawsuitOtherParty",...o],"Criminal and Felony":["criminalTOLPDisplay","crimeCommittedDate","roleInMatterCriminal","pendingCharges",...c],"Debt and Collections":["totalMonthlyIncome","totalDebt","ownRealEstate","valueOfAssets",...o],"Divorce and Separation":["maritalStatus","haveChildren",...c],"DUI and DWI":["incidentDate","priorAlcoholOffenses","typeOfAlcoholTest","bloodContentAlcoholTest","pendingCharges",...o],"Employment and Workplace":["employmentAndWorkplaceTOLPDisplay","numEmployeesOfBusiness","employerType","employeeAtCompany",...o],Expungement:["incidentDate","criminalChargeType",...c],"Family Issues":["maritalStatus","haveChildren",...c],Foreclosure:["ownRealEstate","typeOfProperty","amountPaymentsPastDue","loanAmount","defaultNotice",...o],Guardianship:["maritalStatus","haveChildren",...c],"Immigration and Visas":["countryOfCitizenship","immigrationLocation","immigrationEntry","immigrationType","immigrationStatus","immigrationDetails",...o],"Landlord and Tenant":["landlordTenantIssue","landlordTenantParty",...o],"Lemon Law":["incidentDate","lawsuitOtherParty",...o],"Long Term Disability":["applicantOccupation","applicantAge","applicantLTDisabilityPolicy","applicantDisabilityHowObtain","applicantPreviouslyAppliedLtdBenefits","applicantReceivedDisabilityBenefits","applicantMonthlySalary",...p],"Medical Malpractice":["incidentDate","claimStatus","doctorTreatment","medicalMalpracticeInjuries",...o],"Patents and Intellectual Property":["patentAssistanceType","patentFor",...o],"Personal Injury":["incidentDate","claimStatus","atFault","primaryInjury","doctorTreatment",...p],"Probate and Estates":["valueOfAssets","typeOfAssets","roleInMatterProbate","estateLegalServicesNeeded",...o],"Property Damage":["wouldLikeLawyerTo",...o],"Real Estate":["realEstateTOLPDisplay","realEstateArea","wouldLikeLawyerTo",...o],"Social Security Disability and Insurance":["applicantAge","disabilityConditionStopWork","disabilityWorkHistory","socialSecurityDisabilityReceivingBenefits","doctorTreatment",...p],"Tax and IRS":["totalDebt","taxProblemDetails","taxLevel","taxIssueType",...o],"Traffic and Tickets":["driversLicenseType","trafficViolations","haveCourtDate",...o],Unemployment:["numEmployeesOfBusiness","employerType","degreeOfInterest","commentsWithBankruptcy","zipcode","legalCrossSells","firstAndLast","contactInfo"],"Victim of a Crime":["crimeCommittedDate","roleInMatterCriminal","pendingCharges",...c],"Wills and Trusts":["valueOfAssets","typeOfAssets","roleInMatterProbate","estateLegalServicesNeeded",...o],"Workers Compensation":["incidentDate","claimStatus","primaryInjury","causeOfInjury","doctorTreatment",...p],"Workplace Harassment":["numEmployeesOfBusiness","employerType","employeeAtCompany",...o],"Workplace Discrimination":["numEmployeesOfBusiness","employerType","employeeAtCompany",...o],"Wrongful Death":["incidentDate","relationshipToVictim","criminalChargesFiled","causeOfDeath",...p],"Wrongful Termination":["numEmployeesOfBusiness","employerType",...o]},"*":o}};function u(e,t=[],a={}){const s={...e};return s.values=function e(s){const n={};for(const r in s)Array.isArray(s[r])?n[r]=s[r].filter((e=>!t.includes(e))).map((e=>a[e]||e)):"object"==typeof s[r]?n[r]=e(s[r]):n[r]=s[r];return n}(e.values),s}u(m,["legalCrossSells"],{commentsWithBankruptcy:"comments"});const d=m.values.Type_Of_Legal_Problem;d["Auto and Car Accidents"].filter((e=>"legalCrossSells"!==e)),d["Workers Compensation"].filter((e=>"legalCrossSells"!==e)),d["Personal Injury"].filter((e=>"legalCrossSells"!==e)),d["Personal Injury"].filter((e=>"legalCrossSells"!==e)),d["Auto and Car Accidents"].filter((e=>"legalCrossSells"!==e)),d["Auto and Car Accidents"].filter((e=>"legalCrossSells"!==e)),d["Personal Injury"].filter((e=>"legalCrossSells"!==e)),d["Personal Injury"].filter((e=>"legalCrossSells"!==e)),d["Child Custody"],d["Child Support"],m.values["*"],d["Family Issues"],d["Child Support"],d["Child Custody"],m.values["*"],d["Divorce and Separation"],d["Defend a Lawsuit"],d["File a Lawsuit"];u({values:{Type_Of_Legal_Problem:{"Defend a Lawsuit":d["Defend a Lawsuit"],"File a Lawsuit":d["File a Lawsuit"]},"*":["lawsuitOtherParty",...o]}},["legalCrossSells"],{commentsWithBankruptcy:"comments"});u({values:{Type_Of_Legal_Problem_Display:{"Automobile Accident":d["Auto and Car Accidents"],"Contract Disputes":d["Business Lawyers"],"Dog Bite":d["Personal Injury"],"Employment and Workplace":d["Employment and Workplace"],Fraud:d["Consumer Lawyers"],"Medical Malpractice":d["Medical Malpractice"],"Personal Injury":d["Personal Injury"],"Property Damage":d["Property Damage"],"Real Estate":d["Real Estate"],"Not Sure or Other":m.values["*"]},"*":["lawsuitOtherParty",...o]}},["legalCrossSells"],{commentsWithBankruptcy:"comments"});u({values:{Type_Of_Legal_Problem_Display:{"Victim of a Crime":d["Victim of a Crime"],"DUI and DWI":d["DUI and DWI"],Expungement:d.Expungement,"Not Sure or Other":m.values["*"]},"*":["crimeCommittedDate","roleInMatterCriminal","pendingCharges",...c]}},["legalCrossSells"],{commentsWithBankruptcy:"comments"});u({values:{Type_Of_Legal_Problem_Display:{"Wrongful Termination":d["Wrongful Termination"],"Workers Compensation":d["Workers Compensation"],"Personal Injury":d["Personal Injury"],Unemployment:d.Unemployment},"*":["numEmployeesOfBusiness","employerType","employeeAtCompany",...o]}},["legalCrossSells"],{commentsWithBankruptcy:"comments"}),d["Workplace Harassment"],d["Workplace Discrimination"],d["Probate and Estates"],d["Wills and Trusts"],d["Wrongful Death"],d["Patents and Intellectual Property"],d["Business Lawyers"],d["Business Lawyers"],m.values["*"];u({values:{Type_Of_Legal_Problem_Display:{Foreclosure:d.Foreclosure,"Landlord and Tenant":d["Landlord and Tenant"],"Wills, Trusts, and Estates":d["Wills and Trusts"],"Property Damage":d["Property Damage"]},"*":["realEstateArea","wouldLikeLawyerTo",...o]}},["legalCrossSells"],{commentsWithBankruptcy:"comments"});const y=[{type:"meta",data:{}},(v={children:[{$el:"div",attrs:{id:"form-anchor",class:"t-absolute",style:{top:"-80px",left:0}}}]},e(i,v)),{$cmp:"FormKit",props:function(t){const a=e(r,t);return a.formId&&!a.name&&(a.name=a.formId),a}({formId:"vets",redirectMap:{"*":(f="zipanswers.com",h="Pets",g="Veterinarians",t(f,h,g)+"&Comments=${properties.Comments}")},popUnderMap:{"*":t("zipanswers.com","Pets","Pet Care")},formClass:"!t-max-w-[38rem]"}),children:[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", "Have Questions About Your Pet?")',if:"$activeStep === $firstStep()"}),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", "Describe your issue below:")',if:"$activeStep === $firstStep()",subheadlineClass:"!t-font-bold !t-text-[#465f87]"}),...l,{$el:"div",attrs:{class:"form-body"},children:[function(t={}){return function(t,a,s={}){const{nextOnEnter:r=!0,nextOnInput:i=!1,stepKey:l,nextStepMap:o,triggerRedirectMap:c,autoFocus:p}=s;if(a&&a.length&&(r||i)){const e=n(a[a.length-1]);e&&!0===r&&(e.onKeypress="$onEnter($setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form))))"),e&&!0===i&&(e.onInput="$onInput($setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form))))")}const m={children:[{$formkit:"group",id:t,name:t,nextStepMap:o,triggerRedirectMap:c,autoFocus:p,children:a}]};return void 0!==s.if&&(m.if=s.if),e(((e,t)=>({$el:"section",if:'$stepEnabled("'+e+'")',attrs:{hidden:'$activeStep !== "'+e+'"',key:t||e}}))(t,l),m)}("comments",[a(t.scope,0,{label:void 0===t.label?"Please briefly describe your issue in a few words:":t.label,placeholder:t.placeholder||'$getKey($meta, "commentsPlaceholders." + $get(Category).value, $meta.defaultCommentsPlaceholder)',inputClass:"!t-h-32"})],t)}({label:null,placeholder:'Example: "My dog is limping and I need to know if I should take him to the vet"',nextOnEnter:!1}),((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 "+(e.lastStepButtonClass||"!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"}}]}))({submitLabel:"Chat Online",inputClass:"!t-text-black !t-font-extrabold !t-bg-[#ffce51]",firstStepButtonClass:"!t-justify-center"}),{$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 f,h,g,v;return y}();
1
+ var vets=function(){"use strict";function e(){return Object.assign({},...arguments)}function t(e,t,a,s=4){return"https://listings."+e+"/api/v1/redirect?zone_id="+s+"&sub_id=${properties.vid}&vertical="+encodeURIComponent(t)+"&category="+encodeURIComponent(a)}const a=(t,a,s)=>(t=>{var a;return(a=t).name&&!a.id&&(a.id=a.name),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)),s=e=>"group"!==e.type&&"section"!==e.type&&"form"!==e.type&&"hidden"!==e.$formkit&&!e.children,n=e=>{if(s(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(s(a))return a;const r=n(a);if(r)return r}return null};const r={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]"};const i={$el:"div",children:[{$el:"div",attrs:{id:"form-anchor",class:"t-absolute",style:{top:"-30px",left:0}}}],attrs:{class:"t-relative"}};const l=[{$formkit:"hidden",name:"vertical",value:"Pets"},{$formkit:"hidden",name:"gclid",value:null},{$formkit:"hidden",name:"campaignid",value:null},{$formkit:"hidden",name:"s",value:null}],o=["haveAttorney","degreeOfInterest","commentsWithBankruptcy","zipcode","legalCrossSells","firstAndLast","contactInfo"],c=["haveAttorney","degreeOfInterest","lawyerPaymentMethod","commentsWithBankruptcy","zipcode","legalCrossSells","firstAndLast","contactInfo"],p=["haveAttorney","commentsWithBankruptcy","zipcode","legalCrossSells","firstAndLast","contactInfo"],m={values:{Type_Of_Legal_Problem:{Adoption:["maritalStatus","haveChildren",...c],"Asbestos and Mesothelioma":["incidentDate","doctorTreatment",...o],"Auto and Car Accidents":["incidentDate","atFault","primaryInjury","doctorTreatment","policeReportFiled",...p],Bankruptcy:["totalMonthlyIncome","totalDebt","ownRealEstate","valueOfAssets",...o],"Business Lawyers":["businessServices","businessType","numEmployeesOfBusiness",...o],"Child Custody":["childRelationship","childHome","childPrimaryCaregiver",...c],"Child Support":["childRelationship","childHome","childPrimaryCaregiver",...c],"Civil Rights and Discrimination":["civilRightsType",...o],"Civil Lawsuit":["civilDefense","lawsuitOtherParty",...o],"File a Lawsuit":["civilLawsuitTOLPDisplay","lawsuitOtherParty",...o],"Defend a Lawsuit":["lawsuitOtherParty",...o],"Consumer Lawyers":["consumerLawyerType","incidentDate","lawsuitOtherParty",...o],"Criminal and Felony":["criminalTOLPDisplay","crimeCommittedDate","roleInMatterCriminal","pendingCharges",...c],"Debt and Collections":["totalMonthlyIncome","totalDebt","ownRealEstate","valueOfAssets",...o],"Divorce and Separation":["maritalStatus","haveChildren",...c],"DUI and DWI":["incidentDate","priorAlcoholOffenses","typeOfAlcoholTest","bloodContentAlcoholTest","pendingCharges",...o],"Employment and Workplace":["employmentAndWorkplaceTOLPDisplay","numEmployeesOfBusiness","employerType","employeeAtCompany",...o],Expungement:["incidentDate","criminalChargeType",...c],"Family Issues":["maritalStatus","haveChildren",...c],Foreclosure:["ownRealEstate","typeOfProperty","amountPaymentsPastDue","loanAmount","defaultNotice",...o],Guardianship:["maritalStatus","haveChildren",...c],"Immigration and Visas":["countryOfCitizenship","immigrationLocation","immigrationEntry","immigrationType","immigrationStatus","immigrationDetails",...o],"Landlord and Tenant":["landlordTenantIssue","landlordTenantParty",...o],"Lemon Law":["incidentDate","lawsuitOtherParty",...o],"Long Term Disability":["applicantOccupation","applicantAge","applicantLTDisabilityPolicy","applicantDisabilityHowObtain","applicantPreviouslyAppliedLtdBenefits","applicantReceivedDisabilityBenefits","applicantMonthlySalary",...p],"Medical Malpractice":["incidentDate","claimStatus","doctorTreatment","medicalMalpracticeInjuries",...o],"Patents and Intellectual Property":["patentAssistanceType","patentFor",...o],"Personal Injury":["incidentDate","claimStatus","atFault","primaryInjury","doctorTreatment",...p],"Probate and Estates":["valueOfAssets","typeOfAssets","roleInMatterProbate","estateLegalServicesNeeded",...o],"Property Damage":["wouldLikeLawyerTo",...o],"Real Estate":["realEstateTOLPDisplay","realEstateArea","wouldLikeLawyerTo",...o],"Social Security Disability and Insurance":["applicantAge","disabilityConditionStopWork","disabilityWorkHistory","socialSecurityDisabilityReceivingBenefits","doctorTreatment",...p],"Tax and IRS":["totalDebt","taxProblemDetails","taxLevel","taxIssueType",...o],"Traffic and Tickets":["driversLicenseType","trafficViolations","haveCourtDate",...o],Unemployment:["numEmployeesOfBusiness","employerType","degreeOfInterest","commentsWithBankruptcy","zipcode","legalCrossSells","firstAndLast","contactInfo"],"Victim of a Crime":["crimeCommittedDate","roleInMatterCriminal","pendingCharges",...c],"Wills and Trusts":["valueOfAssets","typeOfAssets","roleInMatterProbate","estateLegalServicesNeeded",...o],"Workers Compensation":["incidentDate","claimStatus","primaryInjury","causeOfInjury","doctorTreatment",...p],"Workplace Harassment":["numEmployeesOfBusiness","employerType","employeeAtCompany",...o],"Workplace Discrimination":["numEmployeesOfBusiness","employerType","employeeAtCompany",...o],"Wrongful Death":["incidentDate","relationshipToVictim","criminalChargesFiled","causeOfDeath",...p],"Wrongful Termination":["numEmployeesOfBusiness","employerType",...o]},"*":o}};function u(e,t=[],a={}){const s={...e};return s.values=function e(s){const n={};for(const r in s)Array.isArray(s[r])?n[r]=s[r].filter((e=>!t.includes(e))).map((e=>a[e]||e)):"object"==typeof s[r]?n[r]=e(s[r]):n[r]=s[r];return n}(e.values),s}u(m,["legalCrossSells"],{commentsWithBankruptcy:"comments"});const d=m.values.Type_Of_Legal_Problem;d["Auto and Car Accidents"].filter((e=>"legalCrossSells"!==e)),d["Workers Compensation"].filter((e=>"legalCrossSells"!==e)),d["Personal Injury"].filter((e=>"legalCrossSells"!==e)),d["Personal Injury"].filter((e=>"legalCrossSells"!==e)),d["Auto and Car Accidents"].filter((e=>"legalCrossSells"!==e)),d["Auto and Car Accidents"].filter((e=>"legalCrossSells"!==e)),d["Personal Injury"].filter((e=>"legalCrossSells"!==e)),d["Personal Injury"].filter((e=>"legalCrossSells"!==e)),d["Child Custody"],d["Child Support"],m.values["*"],d["Family Issues"],d["Child Support"],d["Child Custody"],m.values["*"],d["Divorce and Separation"],d["Defend a Lawsuit"],d["File a Lawsuit"];u({values:{Type_Of_Legal_Problem:{"Defend a Lawsuit":d["Defend a Lawsuit"],"File a Lawsuit":d["File a Lawsuit"]},"*":["lawsuitOtherParty",...o]}},["legalCrossSells"],{commentsWithBankruptcy:"comments"});u({values:{Type_Of_Legal_Problem_Display:{"Automobile Accident":d["Auto and Car Accidents"],"Contract Disputes":d["Business Lawyers"],"Dog Bite":d["Personal Injury"],"Employment and Workplace":d["Employment and Workplace"],Fraud:d["Consumer Lawyers"],"Medical Malpractice":d["Medical Malpractice"],"Personal Injury":d["Personal Injury"],"Property Damage":d["Property Damage"],"Real Estate":d["Real Estate"],"Not Sure or Other":m.values["*"]},"*":["lawsuitOtherParty",...o]}},["legalCrossSells"],{commentsWithBankruptcy:"comments"});u({values:{Type_Of_Legal_Problem_Display:{"Victim of a Crime":d["Victim of a Crime"],"DUI and DWI":d["DUI and DWI"],Expungement:d.Expungement,"Not Sure or Other":m.values["*"]},"*":["crimeCommittedDate","roleInMatterCriminal","pendingCharges",...c]}},["legalCrossSells"],{commentsWithBankruptcy:"comments"});u({values:{Type_Of_Legal_Problem_Display:{"Wrongful Termination":d["Wrongful Termination"],"Workers Compensation":d["Workers Compensation"],"Personal Injury":d["Personal Injury"],Unemployment:d.Unemployment},"*":["numEmployeesOfBusiness","employerType","employeeAtCompany",...o]}},["legalCrossSells"],{commentsWithBankruptcy:"comments"}),d["Workplace Harassment"],d["Workplace Discrimination"],d["Probate and Estates"],d["Wills and Trusts"],d["Wrongful Death"],d["Patents and Intellectual Property"],d["Business Lawyers"],d["Business Lawyers"],m.values["*"];u({values:{Type_Of_Legal_Problem_Display:{Foreclosure:d.Foreclosure,"Landlord and Tenant":d["Landlord and Tenant"],"Wills, Trusts, and Estates":d["Wills and Trusts"],"Property Damage":d["Property Damage"]},"*":["realEstateArea","wouldLikeLawyerTo",...o]}},["legalCrossSells"],{commentsWithBankruptcy:"comments"});const y=[{type:"meta",data:{}},(v={children:[{$el:"div",attrs:{id:"form-anchor",class:"t-absolute",style:{top:"-80px",left:0}}}]},e(i,v)),{$cmp:"FormKit",props:function(t){const a=e(r,t);return a.formId&&!a.name&&(a.name=a.formId),a}({formId:"vets",redirectMap:{"*":(f="zipanswers.com",h="Pets",g="Veterinarians",t(f,h,g)+"&Comments=${properties.Comments}")},popUnderMap:{"*":t("zipanswers.com","Pets","Pet Care")},formClass:"!t-max-w-[38rem]"}),children:[function(t={}){return e(function(e={}){return{$el:"h1",attrs:{class:"t-flex t-justify-center t-text-center t-text-[1.3rem] 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", "Have Questions About Your Pet?")',if:"$activeStep === $firstStep()"}),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", "Describe your issue below:")',if:"$activeStep === $firstStep()",subheadlineClass:"!t-font-bold !t-text-[#465f87]"}),...l,{$el:"div",attrs:{class:"form-body"},children:[function(t={}){return function(t,a,s={}){const{nextOnEnter:r=!0,nextOnInput:i=!1,stepKey:l,nextStepMap:o,triggerRedirectMap:c,autoFocus:p}=s;if(a&&a.length&&(r||i)){const e=n(a[a.length-1]);e&&!0===r&&(e.onKeypress="$onEnter($setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form))))"),e&&!0===i&&(e.onInput="$onInput($setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form))))")}const m={children:[{$formkit:"group",id:t,name:t,nextStepMap:o,triggerRedirectMap:c,autoFocus:p,children:a}]};return void 0!==s.if&&(m.if=s.if),e(((e,t)=>({$el:"section",if:'$stepEnabled("'+e+'")',attrs:{hidden:'$activeStep !== "'+e+'"',key:t||e}}))(t,l),m)}("comments",[a(t.scope,0,{label:void 0===t.label?"Please briefly describe your issue in a few words:":t.label,placeholder:t.placeholder||'$getKey($meta, "commentsPlaceholders." + $get(Category).value, $meta.defaultCommentsPlaceholder)',inputClass:"!t-h-32"})],t)}({label:null,placeholder:'Example: "My dog is limping and I need to know if I should take him to the vet"',nextOnEnter:!1}),((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 "+(e.lastStepButtonClass||"!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"}}]}))({submitLabel:"Chat Online",inputClass:"!t-text-black !t-font-extrabold !t-bg-[#ffce51]",firstStepButtonClass:"!t-justify-center"}),{$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 f,h,g,v;return y}();
@@ -1 +1 @@
1
- [{"type":"meta","data":{}},{"$el":"div","children":[{"$el":"div","attrs":{"id":"form-anchor","class":"t-absolute","style":{"top":"-80px","left":0}}}],"attrs":{"class":"t-relative"}},{"$cmp":"FormKit","props":{"type":"form","id":"form","config":{"validationVisibility":"submit"},"onSubmit":"$submit($submitUrl, $prepData, $handleRedirect, \"text/plain; charset=UTF-8\")","plugins":"$plugins","actions":false,"anchorElement":"form-anchor","useLocalStorage":true,"prepop":{"fromURL":true},"errorCodes":{"403":{"message":"An Error Occurred","abort":false},"409":{"abort":false},"429":"An Error Occurred","504":{"message":"An Error Occurred","abort":false}},"formClass":"!t-max-w-[38rem]","formId":"vets","redirectMap":{"*":"https://listings.zipanswers.com/api/v1/redirect?zone_id=4&sub_id=${properties.vid}&vertical=Pets&category=Veterinarians&Comments=${properties.Comments}"},"popUnderMap":{"*":"https://listings.zipanswers.com/api/v1/redirect?zone_id=4&sub_id=${properties.vid}&vertical=Pets&category=Pet%20Care"},"name":"vets"},"children":[{"$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 f-first-headline"},"children":"$urlParam(\"hl\", \"Have Questions About Your Pet?\")","if":"$activeStep === $firstStep()"},{"$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 !t-font-bold !t-text-[#465f87] f-first-subheadline"},"children":"$urlParam(\"shl\", \"Describe your issue below:\")","if":"$activeStep === $firstStep()","subheadlineClass":"!t-font-bold !t-text-[#465f87]"},{"$formkit":"hidden","name":"vertical","value":"Pets"},{"$formkit":"hidden","name":"gclid","value":null},{"$formkit":"hidden","name":"campaignid","value":null},{"$formkit":"hidden","name":"s","value":null},{"$el":"div","attrs":{"class":"form-body"},"children":[{"$el":"section","if":"$stepEnabled(\"comments\")","attrs":{"hidden":"$activeStep !== \"comments\"","key":"comments"},"children":[{"$formkit":"group","id":"comments","name":"comments","children":[{"$formkit":"textarea","rows":5,"maxlength":500,"validation":"required","validationMessages":{"required":"Field is required"},"innerClass":"t-max-w-xl","labelClass":"required","name":"Comments","label":null,"placeholder":"Example: \"My dog is limping and I need to know if I should take him to the vet\"","inputClass":"!t-h-32","id":"Comments"}]}]},{"$el":"div","attrs":{"class":{"if":"$activeStep === $firstStep()","then":"step-nav !t-justify-center","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":"!t-text-black !t-font-extrabold !t-bg-[#ffce51] f-navigation-input"}},{"$formkit":"button","name":"next_button","onClick":"$setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form)))","children":{"if":"$activeStep === $firstStep()","then":"Start","else":"Next"},"outerClass":{"if":"$activeStep === $lastStep()","then":"t-hidden","else":""},"style":{"if":"$activeStep === $lastStep()","then":"display: none;"},"classes":{"input":"!t-text-black !t-font-extrabold !t-bg-[#ffce51] f-navigation-input"}},{"$formkit":"submit","name":"submit_button","label":"Chat Online","if":"$activeStep === $lastStep()","style":{"if":"$activeStep !== $lastStep()","then":"display: none;"},"classes":{"input":"!t-text-black !t-font-extrabold !t-bg-[#ffce51] f-navigation-input !t-w-60","outer":"!t-mt-0 !t-mb-0"}}]},{"$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"}}]}]}]}]
1
+ [{"type":"meta","data":{}},{"$el":"div","children":[{"$el":"div","attrs":{"id":"form-anchor","class":"t-absolute","style":{"top":"-80px","left":0}}}],"attrs":{"class":"t-relative"}},{"$cmp":"FormKit","props":{"type":"form","id":"form","config":{"validationVisibility":"submit"},"onSubmit":"$submit($submitUrl, $prepData, $handleRedirect, \"text/plain; charset=UTF-8\")","plugins":"$plugins","actions":false,"anchorElement":"form-anchor","useLocalStorage":true,"prepop":{"fromURL":true},"errorCodes":{"403":{"message":"An Error Occurred","abort":false},"409":{"abort":false},"429":"An Error Occurred","504":{"message":"An Error Occurred","abort":false}},"formClass":"!t-max-w-[38rem]","formId":"vets","redirectMap":{"*":"https://listings.zipanswers.com/api/v1/redirect?zone_id=4&sub_id=${properties.vid}&vertical=Pets&category=Veterinarians&Comments=${properties.Comments}"},"popUnderMap":{"*":"https://listings.zipanswers.com/api/v1/redirect?zone_id=4&sub_id=${properties.vid}&vertical=Pets&category=Pet%20Care"},"name":"vets"},"children":[{"$el":"h1","attrs":{"class":"t-flex t-justify-center t-text-center t-text-[1.3rem] sm:t-text-[2rem] t-font-semibold t-pt-5 t-px-7 md:t-px-3 f-first-headline"},"children":"$urlParam(\"hl\", \"Have Questions About Your Pet?\")","if":"$activeStep === $firstStep()"},{"$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 !t-font-bold !t-text-[#465f87] f-first-subheadline"},"children":"$urlParam(\"shl\", \"Describe your issue below:\")","if":"$activeStep === $firstStep()","subheadlineClass":"!t-font-bold !t-text-[#465f87]"},{"$formkit":"hidden","name":"vertical","value":"Pets"},{"$formkit":"hidden","name":"gclid","value":null},{"$formkit":"hidden","name":"campaignid","value":null},{"$formkit":"hidden","name":"s","value":null},{"$el":"div","attrs":{"class":"form-body"},"children":[{"$el":"section","if":"$stepEnabled(\"comments\")","attrs":{"hidden":"$activeStep !== \"comments\"","key":"comments"},"children":[{"$formkit":"group","id":"comments","name":"comments","children":[{"$formkit":"textarea","rows":5,"maxlength":500,"validation":"required","validationMessages":{"required":"Field is required"},"innerClass":"t-max-w-xl","labelClass":"required","name":"Comments","label":null,"placeholder":"Example: \"My dog is limping and I need to know if I should take him to the vet\"","inputClass":"!t-h-32","id":"Comments"}]}]},{"$el":"div","attrs":{"class":{"if":"$activeStep === $firstStep()","then":"step-nav !t-justify-center","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":"!t-text-black !t-font-extrabold !t-bg-[#ffce51] f-navigation-input"}},{"$formkit":"button","name":"next_button","onClick":"$setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form)))","children":{"if":"$activeStep === $firstStep()","then":"Start","else":"Next"},"outerClass":{"if":"$activeStep === $lastStep()","then":"t-hidden","else":""},"style":{"if":"$activeStep === $lastStep()","then":"display: none;"},"classes":{"input":"!t-text-black !t-font-extrabold !t-bg-[#ffce51] f-navigation-input"}},{"$formkit":"submit","name":"submit_button","label":"Chat Online","if":"$activeStep === $lastStep()","style":{"if":"$activeStep !== $lastStep()","then":"display: none;"},"classes":{"input":"!t-text-black !t-font-extrabold !t-bg-[#ffce51] f-navigation-input !t-w-60","outer":"!t-mt-0 !t-mb-0"}}]},{"$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"}}]}]}]}]
@@ -12,11 +12,15 @@ const DEFAULT_COMMENTS_LABEL_LEGAL = "Please briefly describe your legal issue i
12
12
  const DEFAULT_FINAL_HEADLINE_LEGAL = "Connect With The Legal Help You Deserve";
13
13
  const DEFAULT_FINAL_HEADLINE_DYNAMIC =
14
14
  '$getKey($meta, "finalHeadlines." + ($get(Type_Of_Legal_Problem).value || $get(Category).value), $meta.defaultFinalHeadline)';
15
- const DEFAULT_FINAL_SUBHEADLINE_LEGAL = "Get a no-obligation consultation with a legal expert.";
15
+ const DEFAULT_FINAL_SUBHEADLINE_LEGAL = "Get a no-obligation consultation now.";
16
16
  const DEFAULT_FINAL_SUBHEADLINE_DYNAMIC =
17
17
  '$getKey($meta, "finalSubHeadlines." + ($get(Type_Of_Legal_Problem).value || $get(Category).value), $meta.defaultFinalSubHeadline)';
18
+
18
19
  const TCPA_LANGUAGE_LEGAL =
19
20
  'By checking this box, I agree to the Terms of Use and consent to be contacted by <a href="/providers" target="_blank">lawyers, lawyer networks, and partners</a> of this website using live, autodialed, pre-recorded, or artificial voice calls and text messages, at any time including before 8 AM or after 9 PM local time. 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.';
21
+ const TCPA_LANGUAGE_NO_CHECK_LEGAL =
22
+ 'By clicking this button, I agree to the Terms of Use and consent to be contacted by <a href="/providers" target="_blank">lawyers, lawyer networks, and partners</a> of this website using live, autodialed, pre-recorded, or artificial voice calls and text messages, at any time including before 8 AM or after 9 PM local time. 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.';
23
+
20
24
  const defaultLegalImprovementCrossSells = {
21
25
  "Auto and Car Accidents": "Injured in a Car Accident",
22
26
  "Personal Injury": "Personal or Workplace Injury",
@@ -831,8 +835,8 @@ const legalCrossSells$1 = () =>
831
835
  col2Checkbox({
832
836
  id: "Legal_CrossSells",
833
837
  name: "Legal_CrossSells",
834
- help: 'Just hit "Next" if none apply',
835
- helpClass: "t-text-center !t-text-sm",
838
+ help: 'Note: just hit "Next" if none apply',
839
+ helpClass: "t-text-center !t-text-sm !t-text-gray-700",
836
840
  validation: null,
837
841
  options: '$getCrossSellOptions($get(form), $getVal($get(form), "Type_Of_Legal_Problem"))',
838
842
  });
@@ -1348,7 +1352,7 @@ function firstAndLastStepHeadline(updates) {
1348
1352
  function legalCrossSellsStepHeadline(updates) {
1349
1353
  return {
1350
1354
  $el: "h3",
1351
- children: updates.headline || "Do you have other legal issues?",
1355
+ children: updates.headline || "Need help with other issues?",
1352
1356
  attrs: {
1353
1357
  class:
1354
1358
  "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" +
@@ -2003,7 +2007,7 @@ function metaProps(updates) {
2003
2007
  }
2004
2008
  }
2005
2009
 
2006
- function defaultMetaPropsLegal(tolps = null) {
2010
+ function defaultMetaPropsLegal(tolps = null, no_check_tcpa = false) {
2007
2011
  let commentsPlaceholders = TOLPCommentsPlaceholders;
2008
2012
  let finalHeadlines = TOLPFinalHeadlines;
2009
2013
  let finalSubHeadlines = TOLPFinalSubHeadlines;
@@ -2013,7 +2017,7 @@ function defaultMetaPropsLegal(tolps = null) {
2013
2017
  finalSubHeadlines = filterMapByKey(TOLPFinalSubHeadlines, tolps);
2014
2018
  }
2015
2019
  return metaProps({
2016
- tcpaLanguage: TCPA_LANGUAGE_LEGAL,
2020
+ tcpaLanguage: no_check_tcpa ? TCPA_LANGUAGE_NO_CHECK_LEGAL : TCPA_LANGUAGE_LEGAL,
2017
2021
  defaultCommentsPlaceholder: DEFAULT_COMMENTS_PLACEHOLDER_DYNAMIC_LEGAL,
2018
2022
  commentsPlaceholders: commentsPlaceholders,
2019
2023
  defaultFinalHeadline: DEFAULT_FINAL_HEADLINE_LEGAL,
@@ -2112,7 +2116,7 @@ function headlineDefaults(updates = {}) {
2112
2116
  $el: "h1",
2113
2117
  attrs: {
2114
2118
  class:
2115
- "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" +
2119
+ "t-flex t-justify-center t-text-center t-text-[1.3rem] sm:t-text-[2rem] t-font-semibold t-pt-5 t-px-7 md:t-px-3" +
2116
2120
  " " +
2117
2121
  (updates.headlineClass || "") +
2118
2122
  " f-first-headline",