bhl-forms 0.7.5 → 0.8.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (90) hide show
  1. package/dist/bhl-forms.iife.js +4 -4
  2. package/dist/bhl-forms.modern.iife.js +4 -4
  3. package/dist/bhl-forms.modern.umd.js +4 -4
  4. package/dist/bhl-forms.umd.js +1 -1
  5. package/dist/forms/accidentsAndInjuries.es.js +22 -4
  6. package/dist/forms/accidentsAndInjuries.iife.js +1 -1
  7. package/dist/forms/accidentsAndInjuries.json +1 -1
  8. package/dist/forms/business.es.js +22 -4
  9. package/dist/forms/business.iife.js +1 -1
  10. package/dist/forms/business.json +1 -1
  11. package/dist/forms/childAndFamily.es.js +22 -4
  12. package/dist/forms/childAndFamily.iife.js +1 -1
  13. package/dist/forms/childAndFamily.json +1 -1
  14. package/dist/forms/childAndFamilySingle.es.js +22 -4
  15. package/dist/forms/childAndFamilySingle.iife.js +1 -1
  16. package/dist/forms/childAndFamilySingle.json +1 -1
  17. package/dist/forms/civilLawsuit.es.js +22 -4
  18. package/dist/forms/civilLawsuit.iife.js +1 -1
  19. package/dist/forms/civilLawsuit.json +1 -1
  20. package/dist/forms/contracts.es.js +22 -4
  21. package/dist/forms/contracts.iife.js +1 -1
  22. package/dist/forms/contracts.json +1 -1
  23. package/dist/forms/criminal.es.js +22 -4
  24. package/dist/forms/criminal.iife.js +1 -1
  25. package/dist/forms/criminal.json +1 -1
  26. package/dist/forms/divorce.es.js +22 -4
  27. package/dist/forms/divorce.iife.js +1 -1
  28. package/dist/forms/divorce.json +1 -1
  29. package/dist/forms/employmentAndWorkplace.es.js +22 -4
  30. package/dist/forms/employmentAndWorkplace.iife.js +1 -1
  31. package/dist/forms/employmentAndWorkplace.json +1 -1
  32. package/dist/forms/generalHomeImprovement.es.js +36 -11
  33. package/dist/forms/generalHomeImprovement.iife.js +1 -1
  34. package/dist/forms/generalHomeImprovement.json +1 -1
  35. package/dist/forms/generalHomeImprovementThankYou.es.js +24 -6
  36. package/dist/forms/generalHomeImprovementThankYou.iife.js +1 -1
  37. package/dist/forms/generalHomeImprovementThankYou.json +1 -1
  38. package/dist/forms/generalLegal.es.js +22 -4
  39. package/dist/forms/generalLegal.iife.js +1 -1
  40. package/dist/forms/generalLegal.json +1 -1
  41. package/dist/forms/generalLegalJustAnswer.es.js +22 -4
  42. package/dist/forms/generalLegalJustAnswer.iife.js +1 -1
  43. package/dist/forms/generalLegalJustAnswer.json +1 -1
  44. package/dist/forms/generalLegalPopUnder.es.js +22 -4
  45. package/dist/forms/generalLegalPopUnder.iife.js +1 -1
  46. package/dist/forms/generalLegalPopUnder.json +1 -1
  47. package/dist/forms/generalLegalPopUnderSingle.es.js +22 -4
  48. package/dist/forms/generalLegalPopUnderSingle.iife.js +1 -1
  49. package/dist/forms/generalLegalPopUnderSingle.json +1 -1
  50. package/dist/forms/generalLegalSingle.es.js +22 -4
  51. package/dist/forms/generalLegalSingle.iife.js +1 -1
  52. package/dist/forms/generalLegalSingle.json +1 -1
  53. package/dist/forms/generalLegalThankYou.es.js +22 -4
  54. package/dist/forms/generalLegalThankYou.iife.js +1 -1
  55. package/dist/forms/generalLegalThankYou.json +1 -1
  56. package/dist/forms/generalLegalThankYouConsultation.es.js +22 -4
  57. package/dist/forms/generalLegalThankYouConsultation.iife.js +1 -1
  58. package/dist/forms/generalLegalThankYouConsultation.json +1 -1
  59. package/dist/forms/harassmentAndDiscrimination.es.js +22 -4
  60. package/dist/forms/harassmentAndDiscrimination.iife.js +1 -1
  61. package/dist/forms/harassmentAndDiscrimination.json +1 -1
  62. package/dist/forms/landlordTenant.es.js +22 -4
  63. package/dist/forms/landlordTenant.iife.js +1 -1
  64. package/dist/forms/landlordTenant.json +1 -1
  65. package/dist/forms/malpractice.es.js +22 -4
  66. package/dist/forms/malpractice.iife.js +1 -1
  67. package/dist/forms/malpractice.json +1 -1
  68. package/dist/forms/mechanics.es.js +22 -4
  69. package/dist/forms/mechanics.iife.js +1 -1
  70. package/dist/forms/mechanics.json +1 -1
  71. package/dist/forms/patentsAndIP.es.js +22 -4
  72. package/dist/forms/patentsAndIP.iife.js +1 -1
  73. package/dist/forms/patentsAndIP.json +1 -1
  74. package/dist/forms/realEstate.es.js +22 -4
  75. package/dist/forms/realEstate.iife.js +1 -1
  76. package/dist/forms/realEstate.json +1 -1
  77. package/dist/forms/repossession.es.js +22 -4
  78. package/dist/forms/repossession.iife.js +1 -1
  79. package/dist/forms/repossession.json +1 -1
  80. package/dist/forms/ssdi.es.js +22 -4
  81. package/dist/forms/ssdi.iife.js +1 -1
  82. package/dist/forms/ssdi.json +1 -1
  83. package/dist/forms/testForm.es.js +22 -4
  84. package/dist/forms/testForm.iife.js +1 -1
  85. package/dist/forms/testForm.json +1 -1
  86. package/dist/forms/willsAndTrusts.es.js +22 -4
  87. package/dist/forms/willsAndTrusts.iife.js +1 -1
  88. package/dist/forms/willsAndTrusts.json +1 -1
  89. package/dist/main.css +1 -1
  90. package/package.json +1 -1
@@ -1 +1 @@
1
- var mechanics=function(){"use strict";function e(){return Object.assign({},...arguments)}function t(e,t,a,n=4){return"https://listings."+e+"/api/v1/redirect?zone_id="+n+"&sub_id=${properties.vid}&vertical="+encodeURIComponent(t)+"&category="+encodeURIComponent(a)}const a="Please briefly describe your issue in a few words:",n='$getKey($meta, "commentsPlaceholders." + $get(Category).value, $meta.defaultCommentsPlaceholder)',i='$getKey($meta, "finalHeadlines." + $get(Type_Of_Legal_Problem).value, $meta.defaultFinalHeadline)',r='$getKey($meta, "finalSubHeadlines." + $get(Type_Of_Legal_Problem).value, $meta.defaultFinalSubHeadline)',o=t=>(t.name&&!t.id&&(t.id=t.name),e({$formkit:"radio",validation:"required",validationMessages:{required:"Field is required"},optionsClass:"t-pt-3 t-pl-1",legendClass:"required"},t)),l=e=>(e.legendClass="required t-w-[100%] t-text-center",void 0===e.fieldsetClass&&(e.fieldsetClass="$reset t-flex t-justify-center"),e.innerClass="t-items-start",e.wrapperClass="$reset t-flex t-cursor-pointer t-mb-3",e.optionClass="t-pl-4 md:t-pl-8 md:t-min-w-[200px]",e.optionsClass="t-pl-4 t-pt-3 t-grid t-grid-cols-1 md:t-grid-cols-2",e.messagesClass="t-flex t-justify-center",e.helpClass="t-mt-0 t-mb-4 !t-text-sm t-text-center",o(e)),s=e=>(e.legendClass="legend-left-flex md:t-max-w-[40%] required",e.fieldsetClass="$reset side-by-side-flex",e.optionsClass="md:t-ml-4 md:t-mt-2 t-grid t-grid-cols-1 md:t-grid-cols-2-125",e.innerClass="t-flex t-items-start",e.wrapperClass="$reset t-flex t-cursor-pointer t-mb-3",o(e)),d=e=>(e.options=["Yes","No"],(e=>(e.legendClass="legend-left t-pb-1 required",e.fieldsetClass="$reset side-by-side t-items-center",e.optionsClass="t-mt-1 t-grid t-grid-cols-1 md:t-grid-cols-2-125 t-items-center",e.innerClass="t-flex t-items-center",e.optionClass="t-pr-1",o(e)))(e)),c=e=>(e.options=["Yes","No"],e.optionsClass="t-flex t-justify-center t-my-3",(e=>(e.legendClass="legend-left",e.fieldsetClass="$reset t-flex t-justify-center t-flex-col-reverse t-items-center",void 0===e.optionsClass&&(e.optionsClass="t-flex t-flex-col sm:t-flex-row t-justify-center t-my-3"),e.optionClass="radiobtn t-my-2 sm:t-my-0 t-mx-2 md:t-mx-5",e.wrapperClass="$reset formkit-wrapper t-mb-0 t-flex t-items-center t-h-[100%]",e.labelClass="t-font-semibold t-text-[#1e448f] t-w-[100%]",e.decoratorIcon=!1,e.messagesClass="t-flex t-justify-center",e.helpClass="t-mt-2.5 !t-text-sm t-text-center",o(e)))(e)),m=t=>(t.name&&!t.id&&(t.id=t.name),e({$formkit:"text",validation:"required",validationMessages:{required:"Field is required"},labelClass:"required"},t)),p=e=>(e.wrapperClass="side-by-side t-items-center",m(e)),u=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",m(e)),f=t=>(t.name&&!t.id&&(t.id=t.name),e({$formkit:"DatePicker",validation:"required",validationMessages:{required:"Field is required"},labelClass:"required t-block t-mb-3 t-font-semibold t-text-base formkit-invalid:t-text-red-500",innerClass:"t-border t-border-gray-400 formkit-invalid:t-border-red-500 t-rounded t-mb-1 focus-within:t-border-blue-500"},t)),h=e=>(e.wrapperClass="side-by-side t-items-center",f(e)),y=e=>(e.wrapperClass="t-flex t-justify-center",e.inputClass="t-text-center",e.messagesClass="t-flex t-justify-center",f(e)),b=(e,t,a={})=>(t?u:p)({$formkit:"email",name:e?e+":Email":"Email",label:t?a.label:"Email Address:",placeholder:"email@domain.com",autocomplete:"email","data-tf-sensitive":"false",validation:"required|email",validationMessages:{required:"Email is required",email:"Invalid Email"},...a}),g=(e,t,a={})=>(t?u:p)({label:t?a.label:"First Name:",placeholder:"First",name:e?e+":First_Name":"First_Name",autocomplete:"given-name",validationMessages:{required:"First Name is required"},...a}),x=(e,t,a={})=>(t?u:p)({label:t?a.label:"Last Name:",placeholder:"Last",name:e?e+":Last_Name":"Last_Name",autocomplete:"family-name",validationMessages:{required:"Last Name is required"},...a}),v=(e,t,a={})=>(t?u:p)({$formkit:"tel",name:e?e+":Primary_Phone":"Primary_Phone",label:t?a.label:"Phone Number:",placeholder:"###-###-####",maxlength:12,help:"10-digit phone number, hyphens optional",autocomplete:"tel-national","data-tf-sensitive":"false",validation:"required|matches:/^[0-9]{3}-?[0-9]{3}-?[0-9]{4}$/|valid_phone",validationMessages:{required:"Phone Number is required",matches:"Invalid Phone Format, use ###-###-####",valid_phone:"Invalid Phone Number"},helpClass:"t-mt-2.5 md:t-text-right md:t-mt-[-2px]",...a}),w=(t,a,n={})=>(a?c:d)(e({label:a?n.label:"Auto Damage from Accident?",name:t?t+":Auto_Damage_From_Accident":"Auto_Damage_From_Accident"},n)),C=(t,a,n={})=>(a?c:d)(e({label:a?n.label:"Would You Like a Free MVA Consultation?",name:t?t+":Would_Like_MVA_Consultation":"Would_Like_MVA_Consultation",help:"Note: we'll still connect you for a mechanic."},n)),$=(t,a,n)=>(t=>(t.name&&!t.id&&(t.id=t.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"'},n)),k=e=>o({id:e?e+":Mechanics_CrossSells":"Mechanics_CrossSells",name:e?e+":Mechanics_CrossSells":"Mechanics_CrossSells",fieldsetClass:"$reset",wrapperClass:"t-mb-2",optionsClass:"t-pt-3",legendClass:"",validation:null,options:{"Auto Insurance":"I'd like to save on my auto insurance (optional)"}}),I=e=>({$formkit:"checkbox",label:"$meta.tcpaLanguage",__raw__sectionsSchema:{label:{attrs:{innerHTML:"$label"}}},name:e?e+":TCPA_Opt_In":"TCPA_Opt_In","data-tf-sensitive":"false",validation:"required|accepted",validationMessages:{required:"Consent is required",accepted:"Consent is required"},classes:{label:"t-text-xs t-text-slate-500 t-font-normal"}}),_="$onEnter($setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form))))",E="$onInput($setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form))))",S=e=>"group"!==e.type&&"section"!==e.type&&"form"!==e.type&&"hidden"!==e.$formkit&&!e.children,A=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 n=A(a);if(n)return n}return null},P={$el:"div",if:"$activeStep === $lastStep()",attrs:{class:"t-flex t-justify-center t-items-center t-text-sm t-text-gray-500"},children:[{$el:"img",attrs:{loading:"lazy",alt:"",style:{border:0},width:"25",height:"25",src:"https://d27hmee62k45vz.cloudfront.net/lock_icon_1.jpeg"}},{$el:"span",children:"Secure & Encrypted",attrs:{class:"t-pl-2 t-pt-1 t-font-medium"}}]};function M(t){return e(P,t)}function F(e){return{$el:"h3",children:e.headline||"Tell Us About Your Situation",attrs:{class:"t-flex t-justify-center t-text-center t-text-2xl t-font-bold t-text-dark t-pb-5 t-pt-0 t-px-1 "+(e.headlineClass||"")}}}function L(e){return{$el:"h5",children:e.subheadline||"",attrs:{class:"t-flex t-justify-center t-text-center !t-text-lg t-font-normal t-text-dark t-pb-5 t-pt-0 t-px-1 "+(e.subheadlineClass||"")}}}function D(e){return{$el:"h3",children:e.headline||"Additional Details",attrs:{class:"t-flex t-justify-center t-text-center t-text-2xl t-font-bold t-text-blue-500 t-pb-5 t-pt-0 t-px-1 "+(e.headlineClass||"")}}}function j(e){return{$el:"h3",children:e.headline||"Please Provide a Contact Name",attrs:{class:"t-flex t-justify-center t-text-center t-text-2xl t-font-bold t-text-blue-500 t-pb-5 t-pt-0 t-px-1 "+(e.headlineClass||"")}}}function q(e){return{$el:"h3",children:e.headline||i,attrs:{class:"t-flex t-justify-center t-text-center t-text-2xl t-font-bold t-text-blue-500 t-pb-3 t-pt-0 t-px-1 "+(e.headlineClass||"")}}}function T(e){return{$el:"h5",children:e.subheadline||r,attrs:{class:"t-flex t-justify-center t-text-center !t-text-lg t-font-semibold t-pb-7 t-pt-0 t-px-3 "+(e.subheadlineClass||"")}}}const N="(function() {\n if (window.xxTrustedFormLoaded) {\n return\n }\n var vid = '';\n if (typeof window.zar !== 'undefined') {\n vid = window.zar.getVID();\n }\n window.xxTrustedFormLoaded = true;\n var sandbox = document.location.hostname.indexOf('localhost') > -1 ? 'true' : 'false'\n var tf = document.createElement('script');\n tf.type = 'text/javascript'; tf.async = true;\n tf.src = (\"https:\" == document.location.protocol ? 'https' : 'http') + \"://api.trustedform.com/trustedform.js?field=xxTrustedFormCertUrl&identifier=\" + vid + \"&ping_field=xxTrustedFormPingUrl&provideReferrer=false&invert_field_sensitivity=true&sandbox=\" + sandbox + \"&l=\" + new Date().getTime() + Math.random();\n var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(tf, s);\n})();";const Y=(e,t)=>({$el:"section",if:'$stepEnabled("'+e+'")',attrs:{hidden:'$activeStep !== "'+e+'"',key:t||e}});function O(t,a,n={}){const{nextOnEnter:i=!0,nextOnInput:r=!1,stepKey:o,nextStepMap:l,triggerRedirectMap:s,autoFocus:d}=n;if(a&&a.length&&(i||r)){const e=A(a[a.length-1]);e&&!0===i&&(e.onKeypress=_),e&&!0===r&&(e.onInput=E)}return e(Y(t,o),{children:[{$formkit:"group",id:t,name:t,nextStepMap:l,triggerRedirectMap:s,autoFocus:d,children:a}]})}function W(e,t,a,n={}){return void 0===n.nextOnInput&&(n.nextOnInput=!0),O(e,[F({headline:n.headline??a,headlineClass:n.headlineClass}),...Array.isArray(t)?t:[t]],n)}const H={type:"form",id:"form",config:{validationVisibility:"submit"},onSubmit:'$submit($submitUrl, $prepData, $handleRedirect, "text/plain; charset=UTF-8")',plugins:"$plugins",actions:!1,anchorElement:"form-anchor",useLocalStorage:!0,prepop:{fromURL:!0},errorCodes:{403:{message:"An Error Occurred",abort:!1},409:{abort:!1},429:"An Error Occurred",504:{message:"An Error Occurred",abort:!1}},formClass:"!t-max-w-[40rem]"};function R(e,t){return Object.fromEntries(Object.entries(e).filter((([e])=>t.includes(e))))}const U={};const B={$el:"div",children:[{$el:"div",attrs:{id:"form-anchor",class:"t-absolute",style:{top:"-30px",left:0}}}],attrs:{class:"t-relative"}};const V=[{$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}],K={Adoption:'Example: "I need help with adoption forms"',"Asbestos and Mesothelioma":'Example: "I was exposed to asbestos at work and would like to file a claim"',"Auto and Car Accidents":'Example: "A truck crashed into my car on the highway" or "I\'ve been involved in a hit and run accident"',Bankruptcy:'Example: "I need help filing for bankruptcy"',"Birth Certificate and Name Change":'Example: "Just married and would like to change my last name"',"Business Lawyers":'Example: "I need help incorporating a business" or "I would like a legal contract reviewed"',"Child Custody and Support":'Example: "Need help getting custody" or "Issues with child support payments"',"Child Custody":'Example: "Need help getting custody"',"Child Support":'Example: "Issues with child support payments"',"Civil Rights and Discrimination":'Example: "Police brutality" or "Coworker keeps harassing me"',"Civil Lawsuit":'Example: "A contractor took my money and never completed the job" or "I am being sued by a neighbor"',"File a Lawsuit":'Example: "A contractor took my money and never completed the job"',"Defend a Lawsuit":'Example: "I am being sued by a neighbor"',"Consumer Lawyers":'Example: "Someone committed fraud against me" or "A contractor took my money and never completed the job"',"Copyrights and Trademarks":'Example: "I would like to register a trademark or copyright a name"',"Criminal and Felony":'Example: "I was arrested for DUI and need legal defense" or "I am being charged with assault"',"Debt and Collections":'Example: "I would like to consolidate my debt" or "A collection agency is harassing me"',"Divorce and Separation":'Example: "I would like to file for an uncontested divorce"',"DUI and DWI":'Example: "I was arrested for DUI and need legal defense"',"Elder Law":'Example: "I would like help with Estate Planning" or "I need help with a guardianship"',"Employment and Workplace":'Example: "I was injured while on the job" or "My company is discriminating against me"',Expungement:'Example: "I would like to file for an expungement and clear my record"',"Family Issues":'Example: "I need help with guardianship" or "I need a simple will created"',Foreclosure:'Example: "I need help to avoid foreclosure on my house"',Guardianship:'Example: "I need help with guardianship documents"',"Harassment and Discrimination":'Example: "I am being discriminated at work" or "My neighbor is harassing me"',"Sexual Harassment":'Example: "I am being sexually harassed by a coworker"',"Workplace Harassment":'Example: "My coworker is being aggressive towards me"',"Non-Workplace Harassment":'Example: "My neighbor is harassing me"',"Workplace Discrimination":'Example: "I am being discriminated at work based on my age"',"Non-Workplace Discrimination":'Example: "I am being discriminated against by a local official"',"Identity Theft":'Example: "Someone stole my identity and I need help fixing the issue"',"Immigration and Visas":'Example: "I need help filing for a visa" or "Help with a green card"',Insurance:'Example: "I need help filing an insurance claim for damage to my house"',"Landlord and Tenant":'Example: "I need help to fight an eviction" or "I would like a lawyer to review a rental contract"',"Lemon Law":'Example: "I purchased a new vehicle that broke down already and seller will not assist"',"Long Term Disability":'Example: "I was injured on the job and would like to file for benefits" or "I need help filing for disability benefits"',"Medical Malpractice":'Example: "A doctor performed surgery on the wrong limb and I would like to file a lawsuit"',"Patents and Intellectual Property":'Example: "I would like to file for a patent" or "I need to copyright a name"',"Personal Injury":'Example: "I was bit by the neighbor\'s dog" or "I fell in the icy grocery store parking lot"',"Power of Attorney":'Example: "I need help with a limited or general power of attorney"',"Probate and Estates":'Example: "I need help with planning for my estate" or "A family member passed without a will in place"',"Product Liability":'Example: "My car battery caught on fire" or "I purchased a faulty product"',"Property Damage":'Example: "The neighbor\'s tree fell on my fence" or "My car was hit in the parking lot"',"Real Estate":'Example: "I need help with a quitclaim deed" or "I need a lawyer to review a purchase and sales agreement"',"Social Security Disability and Insurance":'Example: "I would like help filing for disability benefits" or "I\'ve been denied for SSDI and would like to appeal"',"Tax and IRS":'Example: "I need help fighting an IRS tax claim" or "I need audit defense"',"Traffic and Tickets":'Example: "I need help reinstating a supsended license" or "I would like to fight a traffic ticket"',Unemployment:'Example: "I need help filing for unemployment benefits"',"Victim of a Crime":'Example: "I was assaulted in the store" or "I am being discriminated against at work"',"Wills and Trusts":'Example: "I need a simple will created" or "I would like guidance on creating a trust fund"',"Workers Compensation":'Example: "I was injured at work and would like to file for workers compensation benefits"',"Wrongful Death":'Example: "A family member was killed on the job and we need legal representation"',"Wrongful Termination":'Example: "I was fired by my employer without cause"',"Not Sure or Other":'Example: "I was involved in a car accident" or "I need help setting up power of attorney"'},z={},Z={Adoption:"You may benefit from speaking with an adoption professional. Please verify your contact information.","Auto and Car Accidents":"You may benefit from speaking with an accident professional. Please verify your contact information.",Bankruptcy:"You may benefit from speaking with a bankruptcy professional. Please verify your contact information.","Copyrights and Trademarks":"You may benefit from speaking with a copyright and trademark professional. Please verify your contact information.","Divorce and Separation":"You may benefit from speaking with a divorce professional. Please verify your contact information.","DUI and DWI":"You may benefit from speaking with a DUI professional. Please verify your contact information.","Elder Law":"You may benefit from speaking with an elder law professional. Please verify your contact information.",Foreclosure:"You may benefit from speaking with a foreclosure professional. Please verify your contact information.",Guardianship:"You may benefit from speaking with a guardianship professional. Please verify your contact information.","Immigration and Visas":"You may benefit from speaking with a immigration professional. Please verify your contact information.","Landlord and Tenant":"You may benefit from speaking with a landlord and tenant legal professional. Please verify your contact information.","Long Term Disability":"You may benefit from speaking with a disability legal professional. Please verify your contact information.","Medical Malpractice":"You may benefit from speaking with a malpractice professional. Please verify your contact information.","Patents and Intellectual Property":"You may benefit from speaking with a patent professional. Please verify your contact information.","Personal Injury":"You may benefit from speaking with a personal injury professional. Please verify your contact information.","Probate and Estates":"You may benefit from speaking with a probate and estate professional. Please verify your contact information.","Real Estate":"You may benefit from speaking with a real estate professional. Please verify your contact information.","Social Security Disability and Insurance":"You may benefit from speaking with an SSDI professional. Please verify your contact information.","Tax and IRS":"You may benefit from speaking with a tax professional. Please verify your contact information.",Unemployment:"You may benefit from speaking with an unemployment professional. Please verify your contact information.","Workers Compensation":"You may benefit from speaking with a workers compensation professional. Please verify your contact information."},G=function(t=null){let a=K,n=z,i=Z;return t&&(a=R(K,t),n=R(z,t),i=R(Z,t)),{type:"meta",data:e(U,{tcpaLanguage:"By checking this box, I a) agree to the Terms of Use, and b) consent to be contacted by lawyers, lawyer networks, and partners of this website using live, autodialed, pre-recorded, or artificial voice calls, as well as text messages. Your consent is not required as a condition of purchasing any goods or services. To submit this request without this consent, call 878-213-4937.",defaultCommentsPlaceholder:'$getKey($meta, "commentsPlaceholders." + $get(Type_Of_Legal_Problem).value, $meta.defaultCommentsPlaceholder)',commentsPlaceholders:a,defaultFinalHeadline:"Submit Your Case",finalHeadlines:n,defaultFinalSubHeadline:"You may benefit from speaking with a legal professional. Please verify your contact information.",finalSubHeadlines:i})}}(["Auto and Car Accidents"]),Q="CrossSell:Auto_and_Car_Accidents";G.data.dynamicSchema=[function(t={}){return W("incidentDate",((t,a,n={})=>(a?y:h)(e({label:a?n.label:"Date of Incident:",name:t?t+":Incident_Date":"Incident_Date"},n)))(t.scope,!0,t.input),"When did the incident occur?",t)}({scope:Q,nextOnInput:!1}),function(t={}){return W("atFault",((t,a,n={})=>(a?c:d)(e({label:a?n.label:"Were You at Fault?",name:t?t+":At_Fault":"At_Fault"},n)))(t.scope,!0,t.input),"Were you at fault?",t)}({scope:Q}),function(t={}){return W("primaryInjury",((t,a,n={})=>(a?l:s)(e({label:a?n.label:"Primary Injury:",name:t?t+":Primary_Injury":"Primary_Injury",options:["Anxiety","Back or Neck Pain","Broken Bones","Cuts and Bruises","Headaches","Memory Loss","Loss of Limb","Not Sure or Other"]},n)))(t.scope,!0,t.input),"What was the primary injury?",t)}({scope:Q}),function(t={}){return W("doctorTreatment",((t,a,n={})=>(a?c:d)(e({name:t?t+":Doctor_Treatment":"Doctor_Treatment",label:a?n.label:"Have You Recently Been Treated by a Doctor, Hospital or Clinic?"},n)))(t.scope,!0,t.input),"Have you seen a doctor about this?",t)}({scope:Q}),function(t={}){return W("policeReportFiled",((t,a,n={})=>(a?c:d)(e({name:t?t+":Police_Report_Filed":"Police_Report_Filed",label:a?n.label:"Was a Police Report Filed?"},n)))(t.scope,!0,t.input),"Was a police report filed?",t)}({scope:Q}),function(t={}){return W("haveAttorney",((t,a,n={})=>(a?c:d)(e({label:a?n.label:"Already Working with An Attorney?",name:t?t+":Have_Attorney":"Have_Attorney"},n)))(t.scope,!0,t.input),"Already working with an attorney?",t)}({scope:Q}),function(e={}){const t={...e,nextOnEnter:!1};return O("comments",[D(e),$(e.scope,0,{label:void 0===e.label?a:e.label,placeholder:e.placeholder||n,inputClass:void 0===e.inputClass?"!t-h-32":e.inputClass})],t)}({scope:Q,label:null,placeholder:'Example: "A truck crashed into my car on the highway" or "I\'ve been involved in a hit and run accident"',headline:"Please briefly describe the accident:",headlineClass:"!t-text-dark"}),function(e={}){return W("zipcode",((e,t,a={})=>(t?u:p)({label:t?a.label:"Zip Code:",help:t?a.help??"We try to match you with local help":null,placeholder:"#####",name:e?e+":Zip":"Zip",maxlength:5,inputmode:"numeric",autocomplete:"postal-code",validation:"required|matches:/^[0-9]{5}$/",validationMessages:{required:"Zip Code is required",matches:"Invalid Zip Code"},...a}))(e.scope,!0,e.input),"Please verify your Zip Code",e)}({scope:Q,help:"We try to match you with local help"}),function(e={}){return O("firstAndLast",[j({headline:e.headline??"Who is looking for help?",headlineClass:e.headlineClass}),L({subheadline:e.subheadline??"Note: we never share info without consent",subheadlineClass:"!t-text-sm !t-text-gray-500"}),g(e.scope),x(e.scope)],e)}({scope:Q,headlineClass:"!t-text-dark"}),function(e={}){return O("contactInfo",[q(e),T(e),{$el:"script",if:"$activeStep === $lastStep()",children:N},b(e.scope),v(e.scope),I(e.scope),M()],{nextOnEnter:!1})}({scope:Q,headline:"Connect Now - Final Step",subheadline:"After submitting you'll be connected for a mechanic chat and be contacted for an accident legal consultation."})];const J=[G,e(B,ae),{$cmp:"FormKit",props:function(t){const a=e(H,t);return a.formId&&!a.name&&(a.name=a.formId),a}({formId:"mechanics",popUnderMap:{"properties.Mechanics_CrossSells":{"Auto Insurance":t("answers-now.com","Insurance","Auto Insurance")}},redirectMap:{"*":(X="answers-now.com",ee="AutoRepair",te="Mechanics",t(X,ee,te)+"&Comments=${properties.Comments}")},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-[2rem] t-font-semibold t-pt-5 t-px-7 md:t-px-3 "+(e.headlineClass||"")}}}(t),t)}({children:'$urlParam("hl", "Get Instant Car Advice Online")',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.2rem] t-font-medium t-text-blue-500 t-px-10 "+(e.subheadlineClass||"")}}}(t),t)}({children:'$urlParam("shl", "Is the issue due to an auto accident?")',if:"$activeStep === $firstStep()",subheadlineClass:"!t-text-dark"}),...V,{$formkit:"hidden",name:"CrossSell:Auto_and_Car_Accidents:TCPA_Language",value:"$meta.tcpaLanguage"},{$el:"div",attrs:{class:"form-body"},children:[function(e={}){return O("autoDamageFromAccident",[w(e.scope,!0,e.input)],e)}({nextOnInput:!1,nextStepMap:{values:{Auto_Damage_From_Accident:{Yes:["wouldLikeMVAConsultation","commentsMechanics"],No:["commentsMechanics"]},"*":["commentsMechanics"]}}}),function(e={}){return O("wouldLikeMVAConsultation",[F({headline:e.headline??"Do you want a free legal evaluation?"}),L({subheadline:e.subheadline??"You may be entitled to compensation for your accident.",subheadlineClass:"!t-text-blue-900 !t-font-semibold"}),{$formkit:"hidden",name:"CrossSell:Auto_and_Car_Accidents:Type_Of_Legal_Problem",id:"CrossSell:Auto_and_Car_Accidents:Type_Of_Legal_Problem",value:"Auto and Car Accidents"},{$formkit:"hidden",name:"CrossSell:Auto_and_Car_Accidents:vertical",value:"Legal"},C(e.scope,!0,e.input)],e)}({nextOnInput:!0,nextStepMap:{values:{Would_Like_MVA_Consultation:{Yes:["incidentDate","atFault","primaryInjury","doctorTreatment","policeReportFiled","haveAttorney","comments","zipcode","firstAndLast","contactInfo"],No:["commentsMechanics"]},"*":["commentsMechanics"]}}}),function(e="Type_Of_Legal_Problem"){return{$cmp:"FormKitSchema",if:"$get("+e+").value",props:{schema:"$meta.dynamicSchema",data:"$buildData($meta)"}}}("Auto_Damage_From_Accident"),function(e={}){return O("commentsMechanics",[D(e),$(e.scope,0,{label:void 0===e.label?a:e.label,placeholder:e.placeholder||n,inputClass:"!t-h-20"}),k(e.scope)],e)}({headline:"Last Step: Describe your vehicle issue",headlineClass:"!t-text-dark",label:null,placeholder:'Example: "I\'m having transmission trouble", or "My car won\'t start"',nextOnEnter:!1}),((e={})=>({$el:"div",attrs:{class:"step-nav"},children:[{$formkit:"button",name:"back_button",onClick:"$setPreviousStep($prevStepFunc($get(form)))",children:"Back",style:{if:"$activeStep === $firstStep()",then:"visibility: hidden;"}},{$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;"}},{$formkit:"submit",name:"submit_button",label:e.submitLabel||"Submit",if:"$activeStep === $lastStep()",style:{if:"$activeStep !== $lastStep()",then:"display: none;"}}]}))({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 X,ee,te,ae;return J}();
1
+ var mechanics=function(){"use strict";function e(){return Object.assign({},...arguments)}function t(e,t,a,n=4){return"https://listings."+e+"/api/v1/redirect?zone_id="+n+"&sub_id=${properties.vid}&vertical="+encodeURIComponent(t)+"&category="+encodeURIComponent(a)}const a="Please briefly describe your issue in a few words:",n='$getKey($meta, "commentsPlaceholders." + $get(Category).value, $meta.defaultCommentsPlaceholder)',i='$getKey($meta, "finalHeadlines." + $get(Type_Of_Legal_Problem).value, $meta.defaultFinalHeadline)',r='$getKey($meta, "finalSubHeadlines." + $get(Type_Of_Legal_Problem).value, $meta.defaultFinalSubHeadline)',o=t=>(t.name&&!t.id&&(t.id=t.name),e({$formkit:"radio",validation:"required",validationMessages:{required:"Field is required"},optionsClass:"t-pt-3 t-pl-1",legendClass:"required"},t)),s=e=>(e.legendClass="required t-w-[100%] t-text-center",void 0===e.fieldsetClass&&(e.fieldsetClass="$reset t-flex t-justify-center"),e.innerClass="t-items-start",e.wrapperClass="$reset t-flex t-cursor-pointer t-mb-3",e.optionClass="t-pl-4 md:t-pl-8 md:t-min-w-[200px]",e.optionsClass="t-pl-4 t-pt-3 t-grid t-grid-cols-1 md:t-grid-cols-2",e.messagesClass="t-flex t-justify-center",e.helpClass="t-mt-0 t-mb-4 !t-text-sm t-text-center",o(e)),l=e=>(e.legendClass="legend-left-flex md:t-max-w-[40%] required",e.fieldsetClass="$reset side-by-side-flex",e.optionsClass="md:t-ml-4 md:t-mt-2 t-grid t-grid-cols-1 md:t-grid-cols-2-125",e.innerClass="t-flex t-items-start",e.wrapperClass="$reset t-flex t-cursor-pointer t-mb-3",o(e)),d=e=>(e.options=["Yes","No"],(e=>(e.legendClass="legend-left t-pb-1 required",e.fieldsetClass="$reset side-by-side t-items-center",e.optionsClass="t-mt-1 t-grid t-grid-cols-1 md:t-grid-cols-2-125 t-items-center",e.innerClass="t-flex t-items-center",e.optionClass="t-pr-1",o(e)))(e)),c=e=>(e.options=["Yes","No"],e.optionsClass="t-flex t-justify-center t-my-3",(e=>(e.legendClass="legend-left",e.fieldsetClass="$reset t-flex t-justify-center t-flex-col-reverse t-items-center",void 0===e.optionsClass&&(e.optionsClass="t-flex t-flex-col sm:t-flex-row t-justify-center t-my-3"),e.optionClass="radiobtn t-my-2 sm:t-my-0 t-mx-2 md:t-mx-5",e.wrapperClass="$reset formkit-wrapper t-mb-0 t-flex t-items-center t-h-[100%]",e.labelClass="t-font-semibold t-text-[#1e448f] t-w-[100%]",e.decoratorIcon=!1,e.messagesClass="t-flex t-justify-center",e.helpClass="t-mt-2.5 !t-text-sm t-text-center",o(e)))(e)),m=t=>(t.name&&!t.id&&(t.id=t.name),e({$formkit:"text",validation:"required",validationMessages:{required:"Field is required"},labelClass:"required"},t)),p=e=>(e.wrapperClass="side-by-side t-items-center",m(e)),u=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",m(e)),f=t=>(t.name&&!t.id&&(t.id=t.name),e({$formkit:"DatePicker",validation:"required",validationMessages:{required:"Field is required"},labelClass:"required t-block t-mb-3 t-font-semibold t-text-base formkit-invalid:t-text-red-500",innerClass:"t-border t-border-gray-400 formkit-invalid:t-border-red-500 t-rounded t-mb-1 focus-within:t-border-blue-500"},t)),h=e=>(e.wrapperClass="side-by-side t-items-center",f(e)),y=e=>(e.wrapperClass="t-flex t-justify-center",e.inputClass="t-text-center",e.messagesClass="t-flex t-justify-center",f(e)),b=(e,t,a={})=>(t?u:p)({$formkit:"email",name:e?e+":Email":"Email",label:t?a.label:"Email Address:",placeholder:"email@domain.com",autocomplete:"email","data-tf-sensitive":"false",validation:"required|email",validationMessages:{required:"Email is required",email:"Invalid Email"},...a}),g=(e,t,a={})=>(t?u:p)({label:t?a.label:"First Name:",placeholder:"First",name:e?e+":First_Name":"First_Name",autocomplete:"given-name",validationMessages:{required:"First Name is required"},...a}),x=(e,t,a={})=>(t?u:p)({label:t?a.label:"Last Name:",placeholder:"Last",name:e?e+":Last_Name":"Last_Name",autocomplete:"family-name",validationMessages:{required:"Last Name is required"},...a}),v=(e,t,a={})=>(t?u:p)({$formkit:"tel",name:e?e+":Primary_Phone":"Primary_Phone",label:t?a.label:"Phone Number:",placeholder:"###-###-####",maxlength:12,help:"10-digit phone number, hyphens optional",autocomplete:"tel-national","data-tf-sensitive":"false",validation:"required|matches:/^[0-9]{3}-?[0-9]{3}-?[0-9]{4}$/|valid_phone",validationMessages:{required:"Phone Number is required",matches:"Invalid Phone Format, use ###-###-####",valid_phone:"Invalid Phone Number"},helpClass:"t-mt-2.5 md:t-text-right md:t-mt-[-2px]",...a}),w=(t,a,n={})=>(a?c:d)(e({label:a?n.label:"Auto Damage from Accident?",name:t?t+":Auto_Damage_From_Accident":"Auto_Damage_From_Accident"},n)),C=(t,a,n={})=>(a?c:d)(e({label:a?n.label:"Would You Like a Free MVA Consultation?",name:t?t+":Would_Like_MVA_Consultation":"Would_Like_MVA_Consultation",help:"Note: we'll still connect you for a mechanic."},n)),$=(t,a,n)=>(t=>(t.name&&!t.id&&(t.id=t.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"'},n)),k=e=>o({id:e?e+":Mechanics_CrossSells":"Mechanics_CrossSells",name:e?e+":Mechanics_CrossSells":"Mechanics_CrossSells",fieldsetClass:"$reset",wrapperClass:"t-mb-2",optionsClass:"t-pt-3",legendClass:"",validation:null,options:{"Auto Insurance":"I'd like to save on my auto insurance (optional)"}}),I=e=>({$formkit:"checkbox",label:"$meta.tcpaLanguage",__raw__sectionsSchema:{label:{attrs:{innerHTML:"$label"}}},name:e?e+":TCPA_Opt_In":"TCPA_Opt_In","data-tf-sensitive":"false",validation:"required|accepted",validationMessages:{required:"Consent is required",accepted:"Consent is required"},classes:{label:"t-text-xs t-text-slate-500 t-font-normal !t-leading-[0.9rem]"}}),_="$onEnter($setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form))))",E="$onInput($setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form))))",S=e=>"group"!==e.type&&"section"!==e.type&&"form"!==e.type&&"hidden"!==e.$formkit&&!e.children,A=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 n=A(a);if(n)return n}return null},P={$el:"div",if:"$activeStep === $lastStep()",attrs:{class:"t-flex t-justify-center t-items-center t-text-sm t-text-gray-500"},children:[{$el:"img",attrs:{loading:"lazy",alt:"",style:{border:0},width:"25",height:"25",src:"https://d27hmee62k45vz.cloudfront.net/lock_icon_1.jpeg"}},{$el:"span",children:"Secure & Encrypted",attrs:{class:"t-pl-2 t-pt-1 t-font-medium"}}]};function M(t){return e(P,t)}function F(e){return{$el:"h3",children:e.headline||"Tell Us About Your Situation",attrs:{class:"t-flex t-justify-center t-text-center t-text-2xl t-font-bold t-text-dark t-pb-5 t-pt-0 t-px-1 "+(e.headlineClass||"")}}}function L(e){return{$el:"h5",children:e.subheadline||"",attrs:{class:"t-flex t-justify-center t-text-center !t-text-lg t-font-normal t-text-dark t-pb-5 t-pt-0 t-px-1 "+(e.subheadlineClass||"")}}}function j(e){return{$el:"h3",children:e.headline||"Additional Details",attrs:{class:"t-flex t-justify-center t-text-center t-text-2xl t-font-bold t-text-blue-500 t-pb-5 t-pt-0 t-px-1 "+(e.headlineClass||"")}}}function D(e){return{$el:"h3",children:e.headline||"Please Provide a Contact Name",attrs:{class:"t-flex t-justify-center t-text-center t-text-2xl t-font-bold t-text-blue-500 t-pb-5 t-pt-0 t-px-1 "+(e.headlineClass||"")}}}function T(e){return{$el:"h3",children:e.headline||i,attrs:{class:"t-flex t-justify-center t-text-center t-text-2xl t-font-bold t-text-blue-500 t-pb-3 t-pt-0 t-px-1 "+(e.headlineClass||"")}}}function q(e){return{$el:"h5",children:e.subheadline||r,attrs:{class:"t-flex t-justify-center t-text-center !t-text-lg t-font-semibold t-pb-7 t-pt-0 t-px-3 "+(e.subheadlineClass||"")}}}const N="(function() {\n if (window.xxTrustedFormLoaded) {\n return\n }\n var vid = '';\n if (typeof window.zar !== 'undefined') {\n vid = window.zar.getVID();\n }\n window.xxTrustedFormLoaded = true;\n var sandbox = document.location.hostname.indexOf('localhost') > -1 ? 'true' : 'false'\n var tf = document.createElement('script');\n tf.type = 'text/javascript'; tf.async = true;\n tf.src = (\"https:\" == document.location.protocol ? 'https' : 'http') + \"://api.trustedform.com/trustedform.js?field=xxTrustedFormCertUrl&identifier=\" + vid + \"&ping_field=xxTrustedFormPingUrl&provideReferrer=false&invert_field_sensitivity=true&sandbox=\" + sandbox + \"&l=\" + new Date().getTime() + Math.random();\n var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(tf, s);\n})();";const Y=(e,t)=>({$el:"section",if:'$stepEnabled("'+e+'")',attrs:{hidden:'$activeStep !== "'+e+'"',key:t||e}});function O(t,a,n={}){const{nextOnEnter:i=!0,nextOnInput:r=!1,stepKey:o,nextStepMap:s,triggerRedirectMap:l,autoFocus:d}=n;if(a&&a.length&&(i||r)){const e=A(a[a.length-1]);e&&!0===i&&(e.onKeypress=_),e&&!0===r&&(e.onInput=E)}return e(Y(t,o),{children:[{$formkit:"group",id:t,name:t,nextStepMap:s,triggerRedirectMap:l,autoFocus:d,children:a}]})}function W(e,t,a,n={}){return void 0===n.nextOnInput&&(n.nextOnInput=!0),O(e,[F({headline:n.headline??a,headlineClass:n.headlineClass}),...Array.isArray(t)?t:[t]],n)}const H={type:"form",id:"form",config:{validationVisibility:"submit"},onSubmit:'$submit($submitUrl, $prepData, $handleRedirect, "text/plain; charset=UTF-8")',plugins:"$plugins",actions:!1,anchorElement:"form-anchor",useLocalStorage:!0,prepop:{fromURL:!0},errorCodes:{403:{message:"An Error Occurred",abort:!1},409:{abort:!1},429:"An Error Occurred",504:{message:"An Error Occurred",abort:!1}},formClass:"!t-max-w-[40rem]"};function R(e,t){return Object.fromEntries(Object.entries(e).filter((([e])=>t.includes(e))))}const U={};const B={$el:"div",children:[{$el:"div",attrs:{id:"form-anchor",class:"t-absolute",style:{top:"-30px",left:0}}}],attrs:{class:"t-relative"}};const V=[{$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}],K={Adoption:'Example: "I need help with adoption forms"',"Asbestos and Mesothelioma":'Example: "I was exposed to asbestos at work and would like to file a claim"',"Auto and Car Accidents":'Example: "A truck crashed into my car on the highway" or "I\'ve been involved in a hit and run accident"',Bankruptcy:'Example: "I need help filing for bankruptcy"',"Birth Certificate and Name Change":'Example: "Just married and would like to change my last name"',"Business Lawyers":'Example: "I need help incorporating a business" or "I would like a legal contract reviewed"',"Child Custody and Support":'Example: "Need help getting custody" or "Issues with child support payments"',"Child Custody":'Example: "Need help getting custody"',"Child Support":'Example: "Issues with child support payments"',"Civil Rights and Discrimination":'Example: "Police brutality" or "Coworker keeps harassing me"',"Civil Lawsuit":'Example: "A contractor took my money and never completed the job" or "I am being sued by a neighbor"',"File a Lawsuit":'Example: "A contractor took my money and never completed the job"',"Defend a Lawsuit":'Example: "I am being sued by a neighbor"',"Consumer Lawyers":'Example: "Someone committed fraud against me" or "A contractor took my money and never completed the job"',"Copyrights and Trademarks":'Example: "I would like to register a trademark or copyright a name"',"Criminal and Felony":'Example: "I was arrested for DUI and need legal defense" or "I am being charged with assault"',"Debt and Collections":'Example: "I would like to consolidate my debt" or "A collection agency is harassing me"',"Divorce and Separation":'Example: "I would like to file for an uncontested divorce"',"DUI and DWI":'Example: "I was arrested for DUI and need legal defense"',"Elder Law":'Example: "I would like help with Estate Planning" or "I need help with a guardianship"',"Employment and Workplace":'Example: "I was injured while on the job" or "My company is discriminating against me"',Expungement:'Example: "I would like to file for an expungement and clear my record"',"Family Issues":'Example: "I need help with guardianship" or "I need a simple will created"',Foreclosure:'Example: "I need help to avoid foreclosure on my house"',Guardianship:'Example: "I need help with guardianship documents"',"Harassment and Discrimination":'Example: "I am being discriminated at work" or "My neighbor is harassing me"',"Sexual Harassment":'Example: "I am being sexually harassed by a coworker"',"Workplace Harassment":'Example: "My coworker is being aggressive towards me"',"Non-Workplace Harassment":'Example: "My neighbor is harassing me"',"Workplace Discrimination":'Example: "I am being discriminated at work based on my age"',"Non-Workplace Discrimination":'Example: "I am being discriminated against by a local official"',"Identity Theft":'Example: "Someone stole my identity and I need help fixing the issue"',"Immigration and Visas":'Example: "I need help filing for a visa" or "Help with a green card"',Insurance:'Example: "I need help filing an insurance claim for damage to my house"',"Landlord and Tenant":'Example: "I need help to fight an eviction" or "I would like a lawyer to review a rental contract"',"Lemon Law":'Example: "I purchased a new vehicle that broke down already and seller will not assist"',"Long Term Disability":'Example: "I was injured on the job and would like to file for benefits" or "I need help filing for disability benefits"',"Medical Malpractice":'Example: "A doctor performed surgery on the wrong limb and I would like to file a lawsuit"',"Patents and Intellectual Property":'Example: "I would like to file for a patent" or "I need to copyright a name"',"Personal Injury":'Example: "I was bit by the neighbor\'s dog" or "I fell in the icy grocery store parking lot"',"Power of Attorney":'Example: "I need help with a limited or general power of attorney"',"Probate and Estates":'Example: "I need help with planning for my estate" or "A family member passed without a will in place"',"Product Liability":'Example: "My car battery caught on fire" or "I purchased a faulty product"',"Property Damage":'Example: "The neighbor\'s tree fell on my fence" or "My car was hit in the parking lot"',"Real Estate":'Example: "I need help with a quitclaim deed" or "I need a lawyer to review a purchase and sales agreement"',"Social Security Disability and Insurance":'Example: "I would like help filing for disability benefits" or "I\'ve been denied for SSDI and would like to appeal"',"Tax and IRS":'Example: "I need help fighting an IRS tax claim" or "I need audit defense"',"Traffic and Tickets":'Example: "I need help reinstating a supsended license" or "I would like to fight a traffic ticket"',Unemployment:'Example: "I need help filing for unemployment benefits"',"Victim of a Crime":'Example: "I was assaulted in the store" or "I am being discriminated against at work"',"Wills and Trusts":'Example: "I need a simple will created" or "I would like guidance on creating a trust fund"',"Workers Compensation":'Example: "I was injured at work and would like to file for workers compensation benefits"',"Wrongful Death":'Example: "A family member was killed on the job and we need legal representation"',"Wrongful Termination":'Example: "I was fired by my employer without cause"',"Not Sure or Other":'Example: "I was involved in a car accident" or "I need help setting up power of attorney"'},z={},Z={Adoption:"You may benefit from speaking with an adoption professional. Please verify your contact information.","Auto and Car Accidents":"You may benefit from speaking with an accident professional. Please verify your contact information.",Bankruptcy:"You may benefit from speaking with a bankruptcy professional. Please verify your contact information.","Copyrights and Trademarks":"You may benefit from speaking with a copyright and trademark professional. Please verify your contact information.","Divorce and Separation":"You may benefit from speaking with a divorce professional. Please verify your contact information.","DUI and DWI":"You may benefit from speaking with a DUI professional. Please verify your contact information.","Elder Law":"You may benefit from speaking with an elder law professional. Please verify your contact information.",Foreclosure:"You may benefit from speaking with a foreclosure professional. Please verify your contact information.",Guardianship:"You may benefit from speaking with a guardianship professional. Please verify your contact information.","Immigration and Visas":"You may benefit from speaking with a immigration professional. Please verify your contact information.","Landlord and Tenant":"You may benefit from speaking with a landlord and tenant legal professional. Please verify your contact information.","Long Term Disability":"You may benefit from speaking with a disability legal professional. Please verify your contact information.","Medical Malpractice":"You may benefit from speaking with a malpractice professional. Please verify your contact information.","Patents and Intellectual Property":"You may benefit from speaking with a patent professional. Please verify your contact information.","Personal Injury":"You may benefit from speaking with a personal injury professional. Please verify your contact information.","Probate and Estates":"You may benefit from speaking with a probate and estate professional. Please verify your contact information.","Real Estate":"You may benefit from speaking with a real estate professional. Please verify your contact information.","Social Security Disability and Insurance":"You may benefit from speaking with an SSDI professional. Please verify your contact information.","Tax and IRS":"You may benefit from speaking with a tax professional. Please verify your contact information.",Unemployment:"You may benefit from speaking with an unemployment professional. Please verify your contact information.","Workers Compensation":"You may benefit from speaking with a workers compensation professional. Please verify your contact information."},G=function(t=null){let a=K,n=z,i=Z;return t&&(a=R(K,t),n=R(z,t),i=R(Z,t)),{type:"meta",data:e(U,{tcpaLanguage:"By checking this box, I a) agree to the Terms of Use, and b) consent to be contacted by lawyers, lawyer networks, and partners of this website using live, autodialed, pre-recorded, or artificial voice calls, as well as text messages. Your consent is not required as a condition of purchasing any goods or services. To submit this request without this consent, call 878-213-4937.",defaultCommentsPlaceholder:'$getKey($meta, "commentsPlaceholders." + $get(Type_Of_Legal_Problem).value, $meta.defaultCommentsPlaceholder)',commentsPlaceholders:a,defaultFinalHeadline:"Submit Your Case",finalHeadlines:n,defaultFinalSubHeadline:"You may benefit from speaking with a legal professional. Please verify your contact information.",finalSubHeadlines:i})}}(["Auto and Car Accidents"]),Q="CrossSell:Auto_and_Car_Accidents";G.data.dynamicSchema=[function(t={}){return W("incidentDate",((t,a,n={})=>(a?y:h)(e({label:a?n.label:"Date of Incident:",name:t?t+":Incident_Date":"Incident_Date"},n)))(t.scope,!0,t.input),"When did the incident occur?",t)}({scope:Q,nextOnInput:!1}),function(t={}){return W("atFault",((t,a,n={})=>(a?c:d)(e({label:a?n.label:"Were You at Fault?",name:t?t+":At_Fault":"At_Fault"},n)))(t.scope,!0,t.input),"Were you at fault?",t)}({scope:Q}),function(t={}){return W("primaryInjury",((t,a,n={})=>(a?s:l)(e({label:a?n.label:"Primary Injury:",name:t?t+":Primary_Injury":"Primary_Injury",options:["Anxiety","Back or Neck Pain","Broken Bones","Cuts and Bruises","Headaches","Memory Loss","Loss of Limb","Not Sure or Other"]},n)))(t.scope,!0,t.input),"What was the primary injury?",t)}({scope:Q}),function(t={}){return W("doctorTreatment",((t,a,n={})=>(a?c:d)(e({name:t?t+":Doctor_Treatment":"Doctor_Treatment",label:a?n.label:"Have You Recently Been Treated by a Doctor, Hospital or Clinic?"},n)))(t.scope,!0,t.input),"Have you seen a doctor about this?",t)}({scope:Q}),function(t={}){return W("policeReportFiled",((t,a,n={})=>(a?c:d)(e({name:t?t+":Police_Report_Filed":"Police_Report_Filed",label:a?n.label:"Was a Police Report Filed?"},n)))(t.scope,!0,t.input),"Was a police report filed?",t)}({scope:Q}),function(t={}){return W("haveAttorney",((t,a,n={})=>(a?c:d)(e({label:a?n.label:"Already Working with An Attorney?",name:t?t+":Have_Attorney":"Have_Attorney"},n)))(t.scope,!0,t.input),"Already working with an attorney?",t)}({scope:Q}),function(e={}){const t={...e,nextOnEnter:!1};return O("comments",[j(e),$(e.scope,0,{label:void 0===e.label?a:e.label,placeholder:e.placeholder||n,inputClass:void 0===e.inputClass?"!t-h-32":e.inputClass})],t)}({scope:Q,label:null,placeholder:'Example: "A truck crashed into my car on the highway" or "I\'ve been involved in a hit and run accident"',headline:"Please briefly describe the accident:",headlineClass:"!t-text-dark"}),function(e={}){return W("zipcode",((e,t,a={})=>(t?u:p)({label:t?a.label:"Zip Code:",help:t?a.help??"We try to match you with local help":null,placeholder:"#####",name:e?e+":Zip":"Zip",maxlength:5,inputmode:"numeric",autocomplete:"postal-code",validation:"required|matches:/^[0-9]{5}$/",validationMessages:{required:"Zip Code is required",matches:"Invalid Zip Code"},...a}))(e.scope,!0,e.input),"Please verify your Zip Code",e)}({scope:Q,help:"We try to match you with local help"}),function(e={}){return O("firstAndLast",[D({headline:e.headline??"Who is looking for help?",headlineClass:e.headlineClass}),L({subheadline:e.subheadline??"Note: we never share info without consent",subheadlineClass:"!t-text-sm !t-text-gray-500"}),g(e.scope),x(e.scope)],e)}({scope:Q,headlineClass:"!t-text-dark"}),function(e={}){return O("contactInfo",[T(e),q(e),{$el:"script",if:"$activeStep === $lastStep()",children:N},b(e.scope),v(e.scope),I(e.scope),M()],{nextOnEnter:!1})}({scope:Q,headline:"Connect Now - Final Step",subheadline:"After submitting you'll be connected for a mechanic chat and be contacted for an accident legal consultation."})];const J=[G,e(B,ae),{$cmp:"FormKit",props:function(t){const a=e(H,t);return a.formId&&!a.name&&(a.name=a.formId),a}({formId:"mechanics",popUnderMap:{"properties.Mechanics_CrossSells":{"Auto Insurance":t("answers-now.com","Insurance","Auto Insurance")}},redirectMap:{"*":(X="answers-now.com",ee="AutoRepair",te="Mechanics",t(X,ee,te)+"&Comments=${properties.Comments}")},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-[2rem] t-font-semibold t-pt-5 t-px-7 md:t-px-3 "+(e.headlineClass||"")}}}(t),t)}({children:'$urlParam("hl", "Get Instant Car Advice Online")',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.2rem] t-font-medium t-text-blue-500 t-px-10 "+(e.subheadlineClass||"")}}}(t),t)}({children:'$urlParam("shl", "Is the issue due to an auto accident?")',if:"$activeStep === $firstStep()",subheadlineClass:"!t-text-dark"}),...V,{$formkit:"hidden",name:"CrossSell:Auto_and_Car_Accidents:TCPA_Language",value:"$meta.tcpaLanguage"},{$el:"div",attrs:{class:"form-body"},children:[function(e={}){return O("autoDamageFromAccident",[w(e.scope,!0,e.input)],e)}({nextOnInput:!1,nextStepMap:{values:{Auto_Damage_From_Accident:{Yes:["wouldLikeMVAConsultation","commentsMechanics"],No:["commentsMechanics"]},"*":["commentsMechanics"]}}}),function(e={}){return O("wouldLikeMVAConsultation",[F({headline:e.headline??"Do you want a free legal evaluation?"}),L({subheadline:e.subheadline??"You may be entitled to compensation for your accident.",subheadlineClass:"!t-text-blue-900 !t-font-semibold"}),{$formkit:"hidden",name:"CrossSell:Auto_and_Car_Accidents:Type_Of_Legal_Problem",id:"CrossSell:Auto_and_Car_Accidents:Type_Of_Legal_Problem",value:"Auto and Car Accidents"},{$formkit:"hidden",name:"CrossSell:Auto_and_Car_Accidents:vertical",value:"Legal"},C(e.scope,!0,e.input)],e)}({nextOnInput:!0,nextStepMap:{values:{Would_Like_MVA_Consultation:{Yes:["incidentDate","atFault","primaryInjury","doctorTreatment","policeReportFiled","haveAttorney","comments","zipcode","firstAndLast","contactInfo"],No:["commentsMechanics"]},"*":["commentsMechanics"]}}}),function(e="Type_Of_Legal_Problem"){return{$cmp:"FormKitSchema",if:"$get("+e+").value",props:{schema:"$meta.dynamicSchema",data:"$buildData($meta)"}}}("Auto_Damage_From_Accident"),function(e={}){return O("commentsMechanics",[j(e),$(e.scope,0,{label:void 0===e.label?a:e.label,placeholder:e.placeholder||n,inputClass:"!t-h-20"}),k(e.scope)],e)}({headline:"Last Step: Describe your vehicle issue",headlineClass:"!t-text-dark",label:null,placeholder:'Example: "I\'m having transmission trouble", or "My car won\'t start"',nextOnEnter:!1}),((e={})=>({$el:"div",attrs:{class:{if:"$activeStep === $firstStep()",then:"step-nav !t-justify-center sm:!t-justify-between",else:"step-nav !t-justify-between"}},children:[{$formkit:"button",name:"back_button",onClick:"$setPreviousStep($prevStepFunc($get(form)))",children:"Back",outerClass:{if:"$activeStep === $firstStep()",then:"t-hidden sm:t-block",else:""},style:{if:"$activeStep === $firstStep()",then:"display: none;"},classes:{input:e.inputClass||""}},{$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||""}},{$formkit:"submit",name:"submit_button",label:e.submitLabel||"Submit",if:"$activeStep === $lastStep()",style:{if:"$activeStep !== $lastStep()",then:"display: none;"},classes:{input:(e.inputClass||"")+" !t-ml-2 sm:!t-ml-auto"}}]}))({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 X,ee,te,ae;return J}();
@@ -1 +1 @@
1
- [{"type":"meta","data":{"tcpaLanguage":"By checking this box, I a) agree to the Terms of Use, and b) consent to be contacted by lawyers, lawyer networks, and partners of this website using live, autodialed, pre-recorded, or artificial voice calls, as well as text messages. Your consent is not required as a condition of purchasing any goods or services. To submit this request without this consent, call 878-213-4937.","defaultCommentsPlaceholder":"$getKey($meta, \"commentsPlaceholders.\" + $get(Type_Of_Legal_Problem).value, $meta.defaultCommentsPlaceholder)","commentsPlaceholders":{"Auto and Car Accidents":"Example: \"A truck crashed into my car on the highway\" or \"I've been involved in a hit and run accident\""},"defaultFinalHeadline":"Submit Your Case","finalHeadlines":{},"defaultFinalSubHeadline":"You may benefit from speaking with a legal professional. Please verify your contact information.","finalSubHeadlines":{"Auto and Car Accidents":"You may benefit from speaking with an accident professional. Please verify your contact information."},"dynamicSchema":[{"$el":"section","if":"$stepEnabled(\"incidentDate\")","attrs":{"hidden":"$activeStep !== \"incidentDate\"","key":"incidentDate"},"children":[{"$formkit":"group","id":"incidentDate","name":"incidentDate","children":[{"$el":"h3","children":"When did the incident occur?","attrs":{"class":"t-flex t-justify-center t-text-center t-text-2xl t-font-bold t-text-dark t-pb-5 t-pt-0 t-px-1 "}},{"$formkit":"DatePicker","validation":"required","validationMessages":{"required":"Field is required"},"labelClass":"required t-block t-mb-3 t-font-semibold t-text-base formkit-invalid:t-text-red-500","innerClass":"t-border t-border-gray-400 formkit-invalid:t-border-red-500 t-rounded t-mb-1 focus-within:t-border-blue-500","name":"CrossSell:Auto_and_Car_Accidents:Incident_Date","wrapperClass":"t-flex t-justify-center","inputClass":"t-text-center","messagesClass":"t-flex t-justify-center","id":"CrossSell:Auto_and_Car_Accidents:Incident_Date","onKeypress":"$onEnter($setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form))))"}]}]},{"$el":"section","if":"$stepEnabled(\"atFault\")","attrs":{"hidden":"$activeStep !== \"atFault\"","key":"atFault"},"children":[{"$formkit":"group","id":"atFault","name":"atFault","children":[{"$el":"h3","children":"Were you at fault?","attrs":{"class":"t-flex t-justify-center t-text-center t-text-2xl t-font-bold t-text-dark t-pb-5 t-pt-0 t-px-1 "}},{"$formkit":"radio","validation":"required","validationMessages":{"required":"Field is required"},"optionsClass":"t-flex t-justify-center t-my-3","legendClass":"legend-left","name":"CrossSell:Auto_and_Car_Accidents:At_Fault","options":["Yes","No"],"fieldsetClass":"$reset t-flex t-justify-center t-flex-col-reverse t-items-center","optionClass":"radiobtn t-my-2 sm:t-my-0 t-mx-2 md:t-mx-5","wrapperClass":"$reset formkit-wrapper t-mb-0 t-flex t-items-center t-h-[100%]","labelClass":"t-font-semibold t-text-[#1e448f] t-w-[100%]","decoratorIcon":false,"messagesClass":"t-flex t-justify-center","helpClass":"t-mt-2.5 !t-text-sm t-text-center","id":"CrossSell:Auto_and_Car_Accidents:At_Fault","onKeypress":"$onEnter($setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form))))","onInput":"$onInput($setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form))))"}]}]},{"$el":"section","if":"$stepEnabled(\"primaryInjury\")","attrs":{"hidden":"$activeStep !== \"primaryInjury\"","key":"primaryInjury"},"children":[{"$formkit":"group","id":"primaryInjury","name":"primaryInjury","children":[{"$el":"h3","children":"What was the primary injury?","attrs":{"class":"t-flex t-justify-center t-text-center t-text-2xl t-font-bold t-text-dark t-pb-5 t-pt-0 t-px-1 "}},{"$formkit":"radio","validation":"required","validationMessages":{"required":"Field is required"},"optionsClass":"t-pl-4 t-pt-3 t-grid t-grid-cols-1 md:t-grid-cols-2","legendClass":"required t-w-[100%] t-text-center","name":"CrossSell:Auto_and_Car_Accidents:Primary_Injury","options":["Anxiety","Back or Neck Pain","Broken Bones","Cuts and Bruises","Headaches","Memory Loss","Loss of Limb","Not Sure or Other"],"fieldsetClass":"$reset t-flex t-justify-center","innerClass":"t-items-start","wrapperClass":"$reset t-flex t-cursor-pointer t-mb-3","optionClass":"t-pl-4 md:t-pl-8 md:t-min-w-[200px]","messagesClass":"t-flex t-justify-center","helpClass":"t-mt-0 t-mb-4 !t-text-sm t-text-center","id":"CrossSell:Auto_and_Car_Accidents:Primary_Injury","onKeypress":"$onEnter($setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form))))","onInput":"$onInput($setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form))))"}]}]},{"$el":"section","if":"$stepEnabled(\"doctorTreatment\")","attrs":{"hidden":"$activeStep !== \"doctorTreatment\"","key":"doctorTreatment"},"children":[{"$formkit":"group","id":"doctorTreatment","name":"doctorTreatment","children":[{"$el":"h3","children":"Have you seen a doctor about this?","attrs":{"class":"t-flex t-justify-center t-text-center t-text-2xl t-font-bold t-text-dark t-pb-5 t-pt-0 t-px-1 "}},{"$formkit":"radio","validation":"required","validationMessages":{"required":"Field is required"},"optionsClass":"t-flex t-justify-center t-my-3","legendClass":"legend-left","name":"CrossSell:Auto_and_Car_Accidents:Doctor_Treatment","options":["Yes","No"],"fieldsetClass":"$reset t-flex t-justify-center t-flex-col-reverse t-items-center","optionClass":"radiobtn t-my-2 sm:t-my-0 t-mx-2 md:t-mx-5","wrapperClass":"$reset formkit-wrapper t-mb-0 t-flex t-items-center t-h-[100%]","labelClass":"t-font-semibold t-text-[#1e448f] t-w-[100%]","decoratorIcon":false,"messagesClass":"t-flex t-justify-center","helpClass":"t-mt-2.5 !t-text-sm t-text-center","id":"CrossSell:Auto_and_Car_Accidents:Doctor_Treatment","onKeypress":"$onEnter($setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form))))","onInput":"$onInput($setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form))))"}]}]},{"$el":"section","if":"$stepEnabled(\"policeReportFiled\")","attrs":{"hidden":"$activeStep !== \"policeReportFiled\"","key":"policeReportFiled"},"children":[{"$formkit":"group","id":"policeReportFiled","name":"policeReportFiled","children":[{"$el":"h3","children":"Was a police report filed?","attrs":{"class":"t-flex t-justify-center t-text-center t-text-2xl t-font-bold t-text-dark t-pb-5 t-pt-0 t-px-1 "}},{"$formkit":"radio","validation":"required","validationMessages":{"required":"Field is required"},"optionsClass":"t-flex t-justify-center t-my-3","legendClass":"legend-left","name":"CrossSell:Auto_and_Car_Accidents:Police_Report_Filed","options":["Yes","No"],"fieldsetClass":"$reset t-flex t-justify-center t-flex-col-reverse t-items-center","optionClass":"radiobtn t-my-2 sm:t-my-0 t-mx-2 md:t-mx-5","wrapperClass":"$reset formkit-wrapper t-mb-0 t-flex t-items-center t-h-[100%]","labelClass":"t-font-semibold t-text-[#1e448f] t-w-[100%]","decoratorIcon":false,"messagesClass":"t-flex t-justify-center","helpClass":"t-mt-2.5 !t-text-sm t-text-center","id":"CrossSell:Auto_and_Car_Accidents:Police_Report_Filed","onKeypress":"$onEnter($setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form))))","onInput":"$onInput($setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form))))"}]}]},{"$el":"section","if":"$stepEnabled(\"haveAttorney\")","attrs":{"hidden":"$activeStep !== \"haveAttorney\"","key":"haveAttorney"},"children":[{"$formkit":"group","id":"haveAttorney","name":"haveAttorney","children":[{"$el":"h3","children":"Already working with an attorney?","attrs":{"class":"t-flex t-justify-center t-text-center t-text-2xl t-font-bold t-text-dark t-pb-5 t-pt-0 t-px-1 "}},{"$formkit":"radio","validation":"required","validationMessages":{"required":"Field is required"},"optionsClass":"t-flex t-justify-center t-my-3","legendClass":"legend-left","name":"CrossSell:Auto_and_Car_Accidents:Have_Attorney","options":["Yes","No"],"fieldsetClass":"$reset t-flex t-justify-center t-flex-col-reverse t-items-center","optionClass":"radiobtn t-my-2 sm:t-my-0 t-mx-2 md:t-mx-5","wrapperClass":"$reset formkit-wrapper t-mb-0 t-flex t-items-center t-h-[100%]","labelClass":"t-font-semibold t-text-[#1e448f] t-w-[100%]","decoratorIcon":false,"messagesClass":"t-flex t-justify-center","helpClass":"t-mt-2.5 !t-text-sm t-text-center","id":"CrossSell:Auto_and_Car_Accidents:Have_Attorney","onKeypress":"$onEnter($setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form))))","onInput":"$onInput($setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form))))"}]}]},{"$el":"section","if":"$stepEnabled(\"comments\")","attrs":{"hidden":"$activeStep !== \"comments\"","key":"comments"},"children":[{"$formkit":"group","id":"comments","name":"comments","children":[{"$el":"h3","children":"Please briefly describe the accident:","attrs":{"class":"t-flex t-justify-center t-text-center t-text-2xl t-font-bold t-text-blue-500 t-pb-5 t-pt-0 t-px-1 !t-text-dark"}},{"$formkit":"textarea","rows":5,"maxlength":500,"validation":"required","validationMessages":{"required":"Field is required"},"innerClass":"t-max-w-xl","labelClass":"required","name":"CrossSell:Auto_and_Car_Accidents:Comments","label":null,"placeholder":"Example: \"A truck crashed into my car on the highway\" or \"I've been involved in a hit and run accident\"","inputClass":"!t-h-32","id":"CrossSell:Auto_and_Car_Accidents:Comments"}]}]},{"$el":"section","if":"$stepEnabled(\"zipcode\")","attrs":{"hidden":"$activeStep !== \"zipcode\"","key":"zipcode"},"children":[{"$formkit":"group","id":"zipcode","name":"zipcode","children":[{"$el":"h3","children":"Please verify your Zip Code","attrs":{"class":"t-flex t-justify-center t-text-center t-text-2xl t-font-bold t-text-dark t-pb-5 t-pt-0 t-px-1 "}},{"$formkit":"text","validation":"required|matches:/^[0-9]{5}$/","validationMessages":{"required":"Zip Code is required","matches":"Invalid Zip Code"},"labelClass":"required","help":"We try to match you with local help","placeholder":"#####","name":"CrossSell:Auto_and_Car_Accidents:Zip","maxlength":5,"inputmode":"numeric","autocomplete":"postal-code","wrapperClass":"t-flex t-justify-center","messagesClass":"t-flex t-justify-center","inputClass":"t-text-center","helpClass":"t-mt-2.5 !t-text-sm t-text-center","id":"CrossSell:Auto_and_Car_Accidents:Zip","onKeypress":"$onEnter($setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form))))","onInput":"$onInput($setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form))))"}]}]},{"$el":"section","if":"$stepEnabled(\"firstAndLast\")","attrs":{"hidden":"$activeStep !== \"firstAndLast\"","key":"firstAndLast"},"children":[{"$formkit":"group","id":"firstAndLast","name":"firstAndLast","children":[{"$el":"h3","children":"Who is looking for help?","attrs":{"class":"t-flex t-justify-center t-text-center t-text-2xl t-font-bold t-text-blue-500 t-pb-5 t-pt-0 t-px-1 !t-text-dark"}},{"$el":"h5","children":"Note: we never share info without consent","attrs":{"class":"t-flex t-justify-center t-text-center !t-text-lg t-font-normal t-text-dark t-pb-5 t-pt-0 t-px-1 !t-text-sm !t-text-gray-500"}},{"$formkit":"text","validation":"required","validationMessages":{"required":"First Name is required"},"labelClass":"required","label":"First Name:","placeholder":"First","name":"CrossSell:Auto_and_Car_Accidents:First_Name","autocomplete":"given-name","wrapperClass":"side-by-side t-items-center","id":"CrossSell:Auto_and_Car_Accidents:First_Name"},{"$formkit":"text","validation":"required","validationMessages":{"required":"Last Name is required"},"labelClass":"required","label":"Last Name:","placeholder":"Last","name":"CrossSell:Auto_and_Car_Accidents:Last_Name","autocomplete":"family-name","wrapperClass":"side-by-side t-items-center","id":"CrossSell:Auto_and_Car_Accidents:Last_Name","onKeypress":"$onEnter($setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form))))"}]}]},{"$el":"section","if":"$stepEnabled(\"contactInfo\")","attrs":{"hidden":"$activeStep !== \"contactInfo\"","key":"contactInfo"},"children":[{"$formkit":"group","id":"contactInfo","name":"contactInfo","children":[{"$el":"h3","children":"Connect Now - Final Step","attrs":{"class":"t-flex t-justify-center t-text-center t-text-2xl t-font-bold t-text-blue-500 t-pb-3 t-pt-0 t-px-1 "}},{"$el":"h5","children":"After submitting you'll be connected for a mechanic chat and be contacted for an accident legal consultation.","attrs":{"class":"t-flex t-justify-center t-text-center !t-text-lg t-font-semibold t-pb-7 t-pt-0 t-px-3 "}},{"$el":"script","if":"$activeStep === $lastStep()","children":"(function() {\n if (window.xxTrustedFormLoaded) {\n return\n }\n var vid = '';\n if (typeof window.zar !== 'undefined') {\n vid = window.zar.getVID();\n }\n window.xxTrustedFormLoaded = true;\n var sandbox = document.location.hostname.indexOf('localhost') > -1 ? 'true' : 'false'\n var tf = document.createElement('script');\n tf.type = 'text/javascript'; tf.async = true;\n tf.src = (\"https:\" == document.location.protocol ? 'https' : 'http') + \"://api.trustedform.com/trustedform.js?field=xxTrustedFormCertUrl&identifier=\" + vid + \"&ping_field=xxTrustedFormPingUrl&provideReferrer=false&invert_field_sensitivity=true&sandbox=\" + sandbox + \"&l=\" + new Date().getTime() + Math.random();\n var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(tf, s);\n})();"},{"$formkit":"email","validation":"required|email","validationMessages":{"required":"Email is required","email":"Invalid Email"},"labelClass":"required","name":"CrossSell:Auto_and_Car_Accidents:Email","label":"Email Address:","placeholder":"email@domain.com","autocomplete":"email","data-tf-sensitive":"false","wrapperClass":"side-by-side t-items-center","id":"CrossSell:Auto_and_Car_Accidents:Email"},{"$formkit":"tel","validation":"required|matches:/^[0-9]{3}-?[0-9]{3}-?[0-9]{4}$/|valid_phone","validationMessages":{"required":"Phone Number is required","matches":"Invalid Phone Format, use ###-###-####","valid_phone":"Invalid Phone Number"},"labelClass":"required","name":"CrossSell:Auto_and_Car_Accidents:Primary_Phone","label":"Phone Number:","placeholder":"###-###-####","maxlength":12,"help":"10-digit phone number, hyphens optional","autocomplete":"tel-national","data-tf-sensitive":"false","helpClass":"t-mt-2.5 md:t-text-right md:t-mt-[-2px]","wrapperClass":"side-by-side t-items-center","id":"CrossSell:Auto_and_Car_Accidents:Primary_Phone"},{"$formkit":"checkbox","label":"$meta.tcpaLanguage","__raw__sectionsSchema":{"label":{"attrs":{"innerHTML":"$label"}}},"name":"CrossSell:Auto_and_Car_Accidents:TCPA_Opt_In","data-tf-sensitive":"false","validation":"required|accepted","validationMessages":{"required":"Consent is required","accepted":"Consent is required"},"classes":{"label":"t-text-xs t-text-slate-500 t-font-normal"}},{"$el":"div","if":"$activeStep === $lastStep()","attrs":{"class":"t-flex t-justify-center t-items-center t-text-sm t-text-gray-500"},"children":[{"$el":"img","attrs":{"loading":"lazy","alt":"","style":{"border":0},"width":"25","height":"25","src":"https://d27hmee62k45vz.cloudfront.net/lock_icon_1.jpeg"}},{"$el":"span","children":"Secure & Encrypted","attrs":{"class":"t-pl-2 t-pt-1 t-font-medium"}}]}]}]}]}},{"$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-[38rem]","formId":"mechanics","popUnderMap":{"properties.Mechanics_CrossSells":{"Auto Insurance":"https://listings.answers-now.com/api/v1/redirect?zone_id=4&sub_id=${properties.vid}&vertical=Insurance&category=Auto%20Insurance"}},"redirectMap":{"*":"https://listings.answers-now.com/api/v1/redirect?zone_id=4&sub_id=${properties.vid}&vertical=AutoRepair&category=Mechanics&Comments=${properties.Comments}"},"name":"mechanics"},"children":[{"$el":"h1","attrs":{"class":"t-flex t-justify-center t-text-center !t-text-[2rem] t-font-semibold t-pt-5 t-px-7 md:t-px-3 "},"children":"$urlParam(\"hl\", \"Get Instant Car Advice Online\")","if":"$activeStep === $firstStep()"},{"$el":"h3","attrs":{"class":"t-flex t-justify-center t-text-center !t-text-[1.2rem] t-font-medium t-text-blue-500 t-px-10 !t-text-dark"},"children":"$urlParam(\"shl\", \"Is the issue due to an auto accident?\")","if":"$activeStep === $firstStep()","subheadlineClass":"!t-text-dark"},{"$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},{"$formkit":"hidden","name":"CrossSell:Auto_and_Car_Accidents:TCPA_Language","value":"$meta.tcpaLanguage"},{"$el":"div","attrs":{"class":"form-body"},"children":[{"$el":"section","if":"$stepEnabled(\"autoDamageFromAccident\")","attrs":{"hidden":"$activeStep !== \"autoDamageFromAccident\"","key":"autoDamageFromAccident"},"children":[{"$formkit":"group","id":"autoDamageFromAccident","name":"autoDamageFromAccident","nextStepMap":{"values":{"Auto_Damage_From_Accident":{"Yes":["wouldLikeMVAConsultation","commentsMechanics"],"No":["commentsMechanics"]},"*":["commentsMechanics"]}},"children":[{"$formkit":"radio","validation":"required","validationMessages":{"required":"Field is required"},"optionsClass":"t-flex t-justify-center t-my-3","legendClass":"legend-left","name":"Auto_Damage_From_Accident","options":["Yes","No"],"fieldsetClass":"$reset t-flex t-justify-center t-flex-col-reverse t-items-center","optionClass":"radiobtn t-my-2 sm:t-my-0 t-mx-2 md:t-mx-5","wrapperClass":"$reset formkit-wrapper t-mb-0 t-flex t-items-center t-h-[100%]","labelClass":"t-font-semibold t-text-[#1e448f] t-w-[100%]","decoratorIcon":false,"messagesClass":"t-flex t-justify-center","helpClass":"t-mt-2.5 !t-text-sm t-text-center","id":"Auto_Damage_From_Accident","onKeypress":"$onEnter($setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form))))"}]}]},{"$el":"section","if":"$stepEnabled(\"wouldLikeMVAConsultation\")","attrs":{"hidden":"$activeStep !== \"wouldLikeMVAConsultation\"","key":"wouldLikeMVAConsultation"},"children":[{"$formkit":"group","id":"wouldLikeMVAConsultation","name":"wouldLikeMVAConsultation","nextStepMap":{"values":{"Would_Like_MVA_Consultation":{"Yes":["incidentDate","atFault","primaryInjury","doctorTreatment","policeReportFiled","haveAttorney","comments","zipcode","firstAndLast","contactInfo"],"No":["commentsMechanics"]},"*":["commentsMechanics"]}},"children":[{"$el":"h3","children":"Do you want a free legal evaluation?","attrs":{"class":"t-flex t-justify-center t-text-center t-text-2xl t-font-bold t-text-dark t-pb-5 t-pt-0 t-px-1 "}},{"$el":"h5","children":"You may be entitled to compensation for your accident.","attrs":{"class":"t-flex t-justify-center t-text-center !t-text-lg t-font-normal t-text-dark t-pb-5 t-pt-0 t-px-1 !t-text-blue-900 !t-font-semibold"}},{"$formkit":"hidden","name":"CrossSell:Auto_and_Car_Accidents:Type_Of_Legal_Problem","id":"CrossSell:Auto_and_Car_Accidents:Type_Of_Legal_Problem","value":"Auto and Car Accidents"},{"$formkit":"hidden","name":"CrossSell:Auto_and_Car_Accidents:vertical","value":"Legal"},{"$formkit":"radio","validation":"required","validationMessages":{"required":"Field is required"},"optionsClass":"t-flex t-justify-center t-my-3","legendClass":"legend-left","name":"Would_Like_MVA_Consultation","help":"Note: we'll still connect you for a mechanic.","options":["Yes","No"],"fieldsetClass":"$reset t-flex t-justify-center t-flex-col-reverse t-items-center","optionClass":"radiobtn t-my-2 sm:t-my-0 t-mx-2 md:t-mx-5","wrapperClass":"$reset formkit-wrapper t-mb-0 t-flex t-items-center t-h-[100%]","labelClass":"t-font-semibold t-text-[#1e448f] t-w-[100%]","decoratorIcon":false,"messagesClass":"t-flex t-justify-center","helpClass":"t-mt-2.5 !t-text-sm t-text-center","id":"Would_Like_MVA_Consultation","onKeypress":"$onEnter($setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form))))","onInput":"$onInput($setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form))))"}]}]},{"$cmp":"FormKitSchema","if":"$get(Auto_Damage_From_Accident).value","props":{"schema":"$meta.dynamicSchema","data":"$buildData($meta)"}},{"$el":"section","if":"$stepEnabled(\"commentsMechanics\")","attrs":{"hidden":"$activeStep !== \"commentsMechanics\"","key":"commentsMechanics"},"children":[{"$formkit":"group","id":"commentsMechanics","name":"commentsMechanics","children":[{"$el":"h3","children":"Last Step: Describe your vehicle issue","attrs":{"class":"t-flex t-justify-center t-text-center t-text-2xl t-font-bold t-text-blue-500 t-pb-5 t-pt-0 t-px-1 !t-text-dark"}},{"$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: \"I'm having transmission trouble\", or \"My car won't start\"","inputClass":"!t-h-20","id":"Comments"},{"$formkit":"radio","validation":null,"validationMessages":{"required":"Field is required"},"optionsClass":"t-pt-3","legendClass":"","id":"Mechanics_CrossSells","name":"Mechanics_CrossSells","fieldsetClass":"$reset","wrapperClass":"t-mb-2","options":{"Auto Insurance":"I'd like to save on my auto insurance (optional)"}}]}]},{"$el":"div","attrs":{"class":"step-nav"},"children":[{"$formkit":"button","name":"back_button","onClick":"$setPreviousStep($prevStepFunc($get(form)))","children":"Back","style":{"if":"$activeStep === $firstStep()","then":"visibility: hidden;"}},{"$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;"}},{"$formkit":"submit","name":"submit_button","label":"Chat Now","if":"$activeStep === $lastStep()","style":{"if":"$activeStep !== $lastStep()","then":"display: none;"}}]},{"$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":{"tcpaLanguage":"By checking this box, I a) agree to the Terms of Use, and b) consent to be contacted by lawyers, lawyer networks, and partners of this website using live, autodialed, pre-recorded, or artificial voice calls, as well as text messages. Your consent is not required as a condition of purchasing any goods or services. To submit this request without this consent, call 878-213-4937.","defaultCommentsPlaceholder":"$getKey($meta, \"commentsPlaceholders.\" + $get(Type_Of_Legal_Problem).value, $meta.defaultCommentsPlaceholder)","commentsPlaceholders":{"Auto and Car Accidents":"Example: \"A truck crashed into my car on the highway\" or \"I've been involved in a hit and run accident\""},"defaultFinalHeadline":"Submit Your Case","finalHeadlines":{},"defaultFinalSubHeadline":"You may benefit from speaking with a legal professional. Please verify your contact information.","finalSubHeadlines":{"Auto and Car Accidents":"You may benefit from speaking with an accident professional. Please verify your contact information."},"dynamicSchema":[{"$el":"section","if":"$stepEnabled(\"incidentDate\")","attrs":{"hidden":"$activeStep !== \"incidentDate\"","key":"incidentDate"},"children":[{"$formkit":"group","id":"incidentDate","name":"incidentDate","children":[{"$el":"h3","children":"When did the incident occur?","attrs":{"class":"t-flex t-justify-center t-text-center t-text-2xl t-font-bold t-text-dark t-pb-5 t-pt-0 t-px-1 "}},{"$formkit":"DatePicker","validation":"required","validationMessages":{"required":"Field is required"},"labelClass":"required t-block t-mb-3 t-font-semibold t-text-base formkit-invalid:t-text-red-500","innerClass":"t-border t-border-gray-400 formkit-invalid:t-border-red-500 t-rounded t-mb-1 focus-within:t-border-blue-500","name":"CrossSell:Auto_and_Car_Accidents:Incident_Date","wrapperClass":"t-flex t-justify-center","inputClass":"t-text-center","messagesClass":"t-flex t-justify-center","id":"CrossSell:Auto_and_Car_Accidents:Incident_Date","onKeypress":"$onEnter($setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form))))"}]}]},{"$el":"section","if":"$stepEnabled(\"atFault\")","attrs":{"hidden":"$activeStep !== \"atFault\"","key":"atFault"},"children":[{"$formkit":"group","id":"atFault","name":"atFault","children":[{"$el":"h3","children":"Were you at fault?","attrs":{"class":"t-flex t-justify-center t-text-center t-text-2xl t-font-bold t-text-dark t-pb-5 t-pt-0 t-px-1 "}},{"$formkit":"radio","validation":"required","validationMessages":{"required":"Field is required"},"optionsClass":"t-flex t-justify-center t-my-3","legendClass":"legend-left","name":"CrossSell:Auto_and_Car_Accidents:At_Fault","options":["Yes","No"],"fieldsetClass":"$reset t-flex t-justify-center t-flex-col-reverse t-items-center","optionClass":"radiobtn t-my-2 sm:t-my-0 t-mx-2 md:t-mx-5","wrapperClass":"$reset formkit-wrapper t-mb-0 t-flex t-items-center t-h-[100%]","labelClass":"t-font-semibold t-text-[#1e448f] t-w-[100%]","decoratorIcon":false,"messagesClass":"t-flex t-justify-center","helpClass":"t-mt-2.5 !t-text-sm t-text-center","id":"CrossSell:Auto_and_Car_Accidents:At_Fault","onKeypress":"$onEnter($setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form))))","onInput":"$onInput($setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form))))"}]}]},{"$el":"section","if":"$stepEnabled(\"primaryInjury\")","attrs":{"hidden":"$activeStep !== \"primaryInjury\"","key":"primaryInjury"},"children":[{"$formkit":"group","id":"primaryInjury","name":"primaryInjury","children":[{"$el":"h3","children":"What was the primary injury?","attrs":{"class":"t-flex t-justify-center t-text-center t-text-2xl t-font-bold t-text-dark t-pb-5 t-pt-0 t-px-1 "}},{"$formkit":"radio","validation":"required","validationMessages":{"required":"Field is required"},"optionsClass":"t-pl-4 t-pt-3 t-grid t-grid-cols-1 md:t-grid-cols-2","legendClass":"required t-w-[100%] t-text-center","name":"CrossSell:Auto_and_Car_Accidents:Primary_Injury","options":["Anxiety","Back or Neck Pain","Broken Bones","Cuts and Bruises","Headaches","Memory Loss","Loss of Limb","Not Sure or Other"],"fieldsetClass":"$reset t-flex t-justify-center","innerClass":"t-items-start","wrapperClass":"$reset t-flex t-cursor-pointer t-mb-3","optionClass":"t-pl-4 md:t-pl-8 md:t-min-w-[200px]","messagesClass":"t-flex t-justify-center","helpClass":"t-mt-0 t-mb-4 !t-text-sm t-text-center","id":"CrossSell:Auto_and_Car_Accidents:Primary_Injury","onKeypress":"$onEnter($setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form))))","onInput":"$onInput($setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form))))"}]}]},{"$el":"section","if":"$stepEnabled(\"doctorTreatment\")","attrs":{"hidden":"$activeStep !== \"doctorTreatment\"","key":"doctorTreatment"},"children":[{"$formkit":"group","id":"doctorTreatment","name":"doctorTreatment","children":[{"$el":"h3","children":"Have you seen a doctor about this?","attrs":{"class":"t-flex t-justify-center t-text-center t-text-2xl t-font-bold t-text-dark t-pb-5 t-pt-0 t-px-1 "}},{"$formkit":"radio","validation":"required","validationMessages":{"required":"Field is required"},"optionsClass":"t-flex t-justify-center t-my-3","legendClass":"legend-left","name":"CrossSell:Auto_and_Car_Accidents:Doctor_Treatment","options":["Yes","No"],"fieldsetClass":"$reset t-flex t-justify-center t-flex-col-reverse t-items-center","optionClass":"radiobtn t-my-2 sm:t-my-0 t-mx-2 md:t-mx-5","wrapperClass":"$reset formkit-wrapper t-mb-0 t-flex t-items-center t-h-[100%]","labelClass":"t-font-semibold t-text-[#1e448f] t-w-[100%]","decoratorIcon":false,"messagesClass":"t-flex t-justify-center","helpClass":"t-mt-2.5 !t-text-sm t-text-center","id":"CrossSell:Auto_and_Car_Accidents:Doctor_Treatment","onKeypress":"$onEnter($setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form))))","onInput":"$onInput($setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form))))"}]}]},{"$el":"section","if":"$stepEnabled(\"policeReportFiled\")","attrs":{"hidden":"$activeStep !== \"policeReportFiled\"","key":"policeReportFiled"},"children":[{"$formkit":"group","id":"policeReportFiled","name":"policeReportFiled","children":[{"$el":"h3","children":"Was a police report filed?","attrs":{"class":"t-flex t-justify-center t-text-center t-text-2xl t-font-bold t-text-dark t-pb-5 t-pt-0 t-px-1 "}},{"$formkit":"radio","validation":"required","validationMessages":{"required":"Field is required"},"optionsClass":"t-flex t-justify-center t-my-3","legendClass":"legend-left","name":"CrossSell:Auto_and_Car_Accidents:Police_Report_Filed","options":["Yes","No"],"fieldsetClass":"$reset t-flex t-justify-center t-flex-col-reverse t-items-center","optionClass":"radiobtn t-my-2 sm:t-my-0 t-mx-2 md:t-mx-5","wrapperClass":"$reset formkit-wrapper t-mb-0 t-flex t-items-center t-h-[100%]","labelClass":"t-font-semibold t-text-[#1e448f] t-w-[100%]","decoratorIcon":false,"messagesClass":"t-flex t-justify-center","helpClass":"t-mt-2.5 !t-text-sm t-text-center","id":"CrossSell:Auto_and_Car_Accidents:Police_Report_Filed","onKeypress":"$onEnter($setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form))))","onInput":"$onInput($setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form))))"}]}]},{"$el":"section","if":"$stepEnabled(\"haveAttorney\")","attrs":{"hidden":"$activeStep !== \"haveAttorney\"","key":"haveAttorney"},"children":[{"$formkit":"group","id":"haveAttorney","name":"haveAttorney","children":[{"$el":"h3","children":"Already working with an attorney?","attrs":{"class":"t-flex t-justify-center t-text-center t-text-2xl t-font-bold t-text-dark t-pb-5 t-pt-0 t-px-1 "}},{"$formkit":"radio","validation":"required","validationMessages":{"required":"Field is required"},"optionsClass":"t-flex t-justify-center t-my-3","legendClass":"legend-left","name":"CrossSell:Auto_and_Car_Accidents:Have_Attorney","options":["Yes","No"],"fieldsetClass":"$reset t-flex t-justify-center t-flex-col-reverse t-items-center","optionClass":"radiobtn t-my-2 sm:t-my-0 t-mx-2 md:t-mx-5","wrapperClass":"$reset formkit-wrapper t-mb-0 t-flex t-items-center t-h-[100%]","labelClass":"t-font-semibold t-text-[#1e448f] t-w-[100%]","decoratorIcon":false,"messagesClass":"t-flex t-justify-center","helpClass":"t-mt-2.5 !t-text-sm t-text-center","id":"CrossSell:Auto_and_Car_Accidents:Have_Attorney","onKeypress":"$onEnter($setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form))))","onInput":"$onInput($setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form))))"}]}]},{"$el":"section","if":"$stepEnabled(\"comments\")","attrs":{"hidden":"$activeStep !== \"comments\"","key":"comments"},"children":[{"$formkit":"group","id":"comments","name":"comments","children":[{"$el":"h3","children":"Please briefly describe the accident:","attrs":{"class":"t-flex t-justify-center t-text-center t-text-2xl t-font-bold t-text-blue-500 t-pb-5 t-pt-0 t-px-1 !t-text-dark"}},{"$formkit":"textarea","rows":5,"maxlength":500,"validation":"required","validationMessages":{"required":"Field is required"},"innerClass":"t-max-w-xl","labelClass":"required","name":"CrossSell:Auto_and_Car_Accidents:Comments","label":null,"placeholder":"Example: \"A truck crashed into my car on the highway\" or \"I've been involved in a hit and run accident\"","inputClass":"!t-h-32","id":"CrossSell:Auto_and_Car_Accidents:Comments"}]}]},{"$el":"section","if":"$stepEnabled(\"zipcode\")","attrs":{"hidden":"$activeStep !== \"zipcode\"","key":"zipcode"},"children":[{"$formkit":"group","id":"zipcode","name":"zipcode","children":[{"$el":"h3","children":"Please verify your Zip Code","attrs":{"class":"t-flex t-justify-center t-text-center t-text-2xl t-font-bold t-text-dark t-pb-5 t-pt-0 t-px-1 "}},{"$formkit":"text","validation":"required|matches:/^[0-9]{5}$/","validationMessages":{"required":"Zip Code is required","matches":"Invalid Zip Code"},"labelClass":"required","help":"We try to match you with local help","placeholder":"#####","name":"CrossSell:Auto_and_Car_Accidents:Zip","maxlength":5,"inputmode":"numeric","autocomplete":"postal-code","wrapperClass":"t-flex t-justify-center","messagesClass":"t-flex t-justify-center","inputClass":"t-text-center","helpClass":"t-mt-2.5 !t-text-sm t-text-center","id":"CrossSell:Auto_and_Car_Accidents:Zip","onKeypress":"$onEnter($setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form))))","onInput":"$onInput($setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form))))"}]}]},{"$el":"section","if":"$stepEnabled(\"firstAndLast\")","attrs":{"hidden":"$activeStep !== \"firstAndLast\"","key":"firstAndLast"},"children":[{"$formkit":"group","id":"firstAndLast","name":"firstAndLast","children":[{"$el":"h3","children":"Who is looking for help?","attrs":{"class":"t-flex t-justify-center t-text-center t-text-2xl t-font-bold t-text-blue-500 t-pb-5 t-pt-0 t-px-1 !t-text-dark"}},{"$el":"h5","children":"Note: we never share info without consent","attrs":{"class":"t-flex t-justify-center t-text-center !t-text-lg t-font-normal t-text-dark t-pb-5 t-pt-0 t-px-1 !t-text-sm !t-text-gray-500"}},{"$formkit":"text","validation":"required","validationMessages":{"required":"First Name is required"},"labelClass":"required","label":"First Name:","placeholder":"First","name":"CrossSell:Auto_and_Car_Accidents:First_Name","autocomplete":"given-name","wrapperClass":"side-by-side t-items-center","id":"CrossSell:Auto_and_Car_Accidents:First_Name"},{"$formkit":"text","validation":"required","validationMessages":{"required":"Last Name is required"},"labelClass":"required","label":"Last Name:","placeholder":"Last","name":"CrossSell:Auto_and_Car_Accidents:Last_Name","autocomplete":"family-name","wrapperClass":"side-by-side t-items-center","id":"CrossSell:Auto_and_Car_Accidents:Last_Name","onKeypress":"$onEnter($setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form))))"}]}]},{"$el":"section","if":"$stepEnabled(\"contactInfo\")","attrs":{"hidden":"$activeStep !== \"contactInfo\"","key":"contactInfo"},"children":[{"$formkit":"group","id":"contactInfo","name":"contactInfo","children":[{"$el":"h3","children":"Connect Now - Final Step","attrs":{"class":"t-flex t-justify-center t-text-center t-text-2xl t-font-bold t-text-blue-500 t-pb-3 t-pt-0 t-px-1 "}},{"$el":"h5","children":"After submitting you'll be connected for a mechanic chat and be contacted for an accident legal consultation.","attrs":{"class":"t-flex t-justify-center t-text-center !t-text-lg t-font-semibold t-pb-7 t-pt-0 t-px-3 "}},{"$el":"script","if":"$activeStep === $lastStep()","children":"(function() {\n if (window.xxTrustedFormLoaded) {\n return\n }\n var vid = '';\n if (typeof window.zar !== 'undefined') {\n vid = window.zar.getVID();\n }\n window.xxTrustedFormLoaded = true;\n var sandbox = document.location.hostname.indexOf('localhost') > -1 ? 'true' : 'false'\n var tf = document.createElement('script');\n tf.type = 'text/javascript'; tf.async = true;\n tf.src = (\"https:\" == document.location.protocol ? 'https' : 'http') + \"://api.trustedform.com/trustedform.js?field=xxTrustedFormCertUrl&identifier=\" + vid + \"&ping_field=xxTrustedFormPingUrl&provideReferrer=false&invert_field_sensitivity=true&sandbox=\" + sandbox + \"&l=\" + new Date().getTime() + Math.random();\n var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(tf, s);\n})();"},{"$formkit":"email","validation":"required|email","validationMessages":{"required":"Email is required","email":"Invalid Email"},"labelClass":"required","name":"CrossSell:Auto_and_Car_Accidents:Email","label":"Email Address:","placeholder":"email@domain.com","autocomplete":"email","data-tf-sensitive":"false","wrapperClass":"side-by-side t-items-center","id":"CrossSell:Auto_and_Car_Accidents:Email"},{"$formkit":"tel","validation":"required|matches:/^[0-9]{3}-?[0-9]{3}-?[0-9]{4}$/|valid_phone","validationMessages":{"required":"Phone Number is required","matches":"Invalid Phone Format, use ###-###-####","valid_phone":"Invalid Phone Number"},"labelClass":"required","name":"CrossSell:Auto_and_Car_Accidents:Primary_Phone","label":"Phone Number:","placeholder":"###-###-####","maxlength":12,"help":"10-digit phone number, hyphens optional","autocomplete":"tel-national","data-tf-sensitive":"false","helpClass":"t-mt-2.5 md:t-text-right md:t-mt-[-2px]","wrapperClass":"side-by-side t-items-center","id":"CrossSell:Auto_and_Car_Accidents:Primary_Phone"},{"$formkit":"checkbox","label":"$meta.tcpaLanguage","__raw__sectionsSchema":{"label":{"attrs":{"innerHTML":"$label"}}},"name":"CrossSell:Auto_and_Car_Accidents:TCPA_Opt_In","data-tf-sensitive":"false","validation":"required|accepted","validationMessages":{"required":"Consent is required","accepted":"Consent is required"},"classes":{"label":"t-text-xs t-text-slate-500 t-font-normal !t-leading-[0.9rem]"}},{"$el":"div","if":"$activeStep === $lastStep()","attrs":{"class":"t-flex t-justify-center t-items-center t-text-sm t-text-gray-500"},"children":[{"$el":"img","attrs":{"loading":"lazy","alt":"","style":{"border":0},"width":"25","height":"25","src":"https://d27hmee62k45vz.cloudfront.net/lock_icon_1.jpeg"}},{"$el":"span","children":"Secure & Encrypted","attrs":{"class":"t-pl-2 t-pt-1 t-font-medium"}}]}]}]}]}},{"$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-[38rem]","formId":"mechanics","popUnderMap":{"properties.Mechanics_CrossSells":{"Auto Insurance":"https://listings.answers-now.com/api/v1/redirect?zone_id=4&sub_id=${properties.vid}&vertical=Insurance&category=Auto%20Insurance"}},"redirectMap":{"*":"https://listings.answers-now.com/api/v1/redirect?zone_id=4&sub_id=${properties.vid}&vertical=AutoRepair&category=Mechanics&Comments=${properties.Comments}"},"name":"mechanics"},"children":[{"$el":"h1","attrs":{"class":"t-flex t-justify-center t-text-center !t-text-[2rem] t-font-semibold t-pt-5 t-px-7 md:t-px-3 "},"children":"$urlParam(\"hl\", \"Get Instant Car Advice Online\")","if":"$activeStep === $firstStep()"},{"$el":"h3","attrs":{"class":"t-flex t-justify-center t-text-center !t-text-[1.2rem] t-font-medium t-text-blue-500 t-px-10 !t-text-dark"},"children":"$urlParam(\"shl\", \"Is the issue due to an auto accident?\")","if":"$activeStep === $firstStep()","subheadlineClass":"!t-text-dark"},{"$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},{"$formkit":"hidden","name":"CrossSell:Auto_and_Car_Accidents:TCPA_Language","value":"$meta.tcpaLanguage"},{"$el":"div","attrs":{"class":"form-body"},"children":[{"$el":"section","if":"$stepEnabled(\"autoDamageFromAccident\")","attrs":{"hidden":"$activeStep !== \"autoDamageFromAccident\"","key":"autoDamageFromAccident"},"children":[{"$formkit":"group","id":"autoDamageFromAccident","name":"autoDamageFromAccident","nextStepMap":{"values":{"Auto_Damage_From_Accident":{"Yes":["wouldLikeMVAConsultation","commentsMechanics"],"No":["commentsMechanics"]},"*":["commentsMechanics"]}},"children":[{"$formkit":"radio","validation":"required","validationMessages":{"required":"Field is required"},"optionsClass":"t-flex t-justify-center t-my-3","legendClass":"legend-left","name":"Auto_Damage_From_Accident","options":["Yes","No"],"fieldsetClass":"$reset t-flex t-justify-center t-flex-col-reverse t-items-center","optionClass":"radiobtn t-my-2 sm:t-my-0 t-mx-2 md:t-mx-5","wrapperClass":"$reset formkit-wrapper t-mb-0 t-flex t-items-center t-h-[100%]","labelClass":"t-font-semibold t-text-[#1e448f] t-w-[100%]","decoratorIcon":false,"messagesClass":"t-flex t-justify-center","helpClass":"t-mt-2.5 !t-text-sm t-text-center","id":"Auto_Damage_From_Accident","onKeypress":"$onEnter($setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form))))"}]}]},{"$el":"section","if":"$stepEnabled(\"wouldLikeMVAConsultation\")","attrs":{"hidden":"$activeStep !== \"wouldLikeMVAConsultation\"","key":"wouldLikeMVAConsultation"},"children":[{"$formkit":"group","id":"wouldLikeMVAConsultation","name":"wouldLikeMVAConsultation","nextStepMap":{"values":{"Would_Like_MVA_Consultation":{"Yes":["incidentDate","atFault","primaryInjury","doctorTreatment","policeReportFiled","haveAttorney","comments","zipcode","firstAndLast","contactInfo"],"No":["commentsMechanics"]},"*":["commentsMechanics"]}},"children":[{"$el":"h3","children":"Do you want a free legal evaluation?","attrs":{"class":"t-flex t-justify-center t-text-center t-text-2xl t-font-bold t-text-dark t-pb-5 t-pt-0 t-px-1 "}},{"$el":"h5","children":"You may be entitled to compensation for your accident.","attrs":{"class":"t-flex t-justify-center t-text-center !t-text-lg t-font-normal t-text-dark t-pb-5 t-pt-0 t-px-1 !t-text-blue-900 !t-font-semibold"}},{"$formkit":"hidden","name":"CrossSell:Auto_and_Car_Accidents:Type_Of_Legal_Problem","id":"CrossSell:Auto_and_Car_Accidents:Type_Of_Legal_Problem","value":"Auto and Car Accidents"},{"$formkit":"hidden","name":"CrossSell:Auto_and_Car_Accidents:vertical","value":"Legal"},{"$formkit":"radio","validation":"required","validationMessages":{"required":"Field is required"},"optionsClass":"t-flex t-justify-center t-my-3","legendClass":"legend-left","name":"Would_Like_MVA_Consultation","help":"Note: we'll still connect you for a mechanic.","options":["Yes","No"],"fieldsetClass":"$reset t-flex t-justify-center t-flex-col-reverse t-items-center","optionClass":"radiobtn t-my-2 sm:t-my-0 t-mx-2 md:t-mx-5","wrapperClass":"$reset formkit-wrapper t-mb-0 t-flex t-items-center t-h-[100%]","labelClass":"t-font-semibold t-text-[#1e448f] t-w-[100%]","decoratorIcon":false,"messagesClass":"t-flex t-justify-center","helpClass":"t-mt-2.5 !t-text-sm t-text-center","id":"Would_Like_MVA_Consultation","onKeypress":"$onEnter($setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form))))","onInput":"$onInput($setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form))))"}]}]},{"$cmp":"FormKitSchema","if":"$get(Auto_Damage_From_Accident).value","props":{"schema":"$meta.dynamicSchema","data":"$buildData($meta)"}},{"$el":"section","if":"$stepEnabled(\"commentsMechanics\")","attrs":{"hidden":"$activeStep !== \"commentsMechanics\"","key":"commentsMechanics"},"children":[{"$formkit":"group","id":"commentsMechanics","name":"commentsMechanics","children":[{"$el":"h3","children":"Last Step: Describe your vehicle issue","attrs":{"class":"t-flex t-justify-center t-text-center t-text-2xl t-font-bold t-text-blue-500 t-pb-5 t-pt-0 t-px-1 !t-text-dark"}},{"$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: \"I'm having transmission trouble\", or \"My car won't start\"","inputClass":"!t-h-20","id":"Comments"},{"$formkit":"radio","validation":null,"validationMessages":{"required":"Field is required"},"optionsClass":"t-pt-3","legendClass":"","id":"Mechanics_CrossSells","name":"Mechanics_CrossSells","fieldsetClass":"$reset","wrapperClass":"t-mb-2","options":{"Auto Insurance":"I'd like to save on my auto insurance (optional)"}}]}]},{"$el":"div","attrs":{"class":{"if":"$activeStep === $firstStep()","then":"step-nav !t-justify-center sm:!t-justify-between","else":"step-nav !t-justify-between"}},"children":[{"$formkit":"button","name":"back_button","onClick":"$setPreviousStep($prevStepFunc($get(form)))","children":"Back","outerClass":{"if":"$activeStep === $firstStep()","then":"t-hidden sm:t-block","else":""},"style":{"if":"$activeStep === $firstStep()","then":"display: none;"},"classes":{"input":""}},{"$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":""}},{"$formkit":"submit","name":"submit_button","label":"Chat Now","if":"$activeStep === $lastStep()","style":{"if":"$activeStep !== $lastStep()","then":"display: none;"},"classes":{"input":" !t-ml-2 sm:!t-ml-auto"}}]},{"$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"}}]}]}]}]
@@ -1037,7 +1037,7 @@ const TCPAConsent = (scope) => ({
1037
1037
  accepted: "Consent is required",
1038
1038
  },
1039
1039
  classes: {
1040
- label: "t-text-xs t-text-slate-500 t-font-normal",
1040
+ label: "t-text-xs t-text-slate-500 t-font-normal !t-leading-[0.9rem]",
1041
1041
  },
1042
1042
  });
1043
1043
 
@@ -1806,7 +1806,11 @@ function patentFor(updates = {}) {
1806
1806
  const formNavigation = (updates = {}) => ({
1807
1807
  $el: "div",
1808
1808
  attrs: {
1809
- class: "step-nav",
1809
+ class: {
1810
+ if: "$activeStep === $firstStep()",
1811
+ then: "step-nav !t-justify-center sm:!t-justify-between",
1812
+ else: "step-nav !t-justify-between",
1813
+ },
1810
1814
  },
1811
1815
  children: [
1812
1816
  {
@@ -1814,9 +1818,17 @@ const formNavigation = (updates = {}) => ({
1814
1818
  name: "back_button",
1815
1819
  onClick: "$setPreviousStep($prevStepFunc($get(form)))",
1816
1820
  children: "Back",
1821
+ outerClass: {
1822
+ if: "$activeStep === $firstStep()",
1823
+ then: "t-hidden sm:t-block",
1824
+ else: "",
1825
+ },
1817
1826
  style: {
1818
1827
  if: "$activeStep === $firstStep()",
1819
- then: "visibility: hidden;",
1828
+ then: "display: none;",
1829
+ },
1830
+ classes: {
1831
+ input: updates.inputClass || "",
1820
1832
  },
1821
1833
  },
1822
1834
  {
@@ -1825,7 +1837,7 @@ const formNavigation = (updates = {}) => ({
1825
1837
  onClick: "$setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form)))",
1826
1838
  children: {
1827
1839
  if: "$activeStep === $firstStep()",
1828
- then: "Start",
1840
+ then: updates.startText || "Start",
1829
1841
  else: "Next",
1830
1842
  },
1831
1843
  outerClass: {
@@ -1837,6 +1849,9 @@ const formNavigation = (updates = {}) => ({
1837
1849
  if: "$activeStep === $lastStep()",
1838
1850
  then: "display: none;",
1839
1851
  },
1852
+ classes: {
1853
+ input: updates.inputClass || "",
1854
+ },
1840
1855
  },
1841
1856
  {
1842
1857
  $formkit: "submit",
@@ -1847,6 +1862,9 @@ const formNavigation = (updates = {}) => ({
1847
1862
  if: "$activeStep !== $lastStep()",
1848
1863
  then: "display: none;",
1849
1864
  },
1865
+ classes: {
1866
+ input: (updates.inputClass || "") + " !t-ml-2 sm:!t-ml-auto",
1867
+ },
1850
1868
  },
1851
1869
  ],
1852
1870
  });