bhl-forms 0.11.0 → 0.11.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (119) hide show
  1. package/dist/bhl-forms.iife.js +1 -1
  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 +152 -102
  6. package/dist/forms/accidentsAndInjuries.iife.js +1 -1
  7. package/dist/forms/accidentsAndInjuries.json +1 -1
  8. package/dist/forms/applianceRepairMinimal.es.js +6 -14
  9. package/dist/forms/applianceRepairMinimal.iife.js +1 -1
  10. package/dist/forms/applianceRepairMinimal.json +1 -1
  11. package/dist/forms/appraisals.es.js +1 -1
  12. package/dist/forms/appraisals.iife.js +1 -1
  13. package/dist/forms/appraisals.json +1 -1
  14. package/dist/forms/business.es.js +154 -104
  15. package/dist/forms/business.iife.js +1 -1
  16. package/dist/forms/business.json +1 -1
  17. package/dist/forms/childAndFamily.es.js +152 -102
  18. package/dist/forms/childAndFamily.iife.js +1 -1
  19. package/dist/forms/childAndFamily.json +1 -1
  20. package/dist/forms/childAndFamilySingle.es.js +154 -104
  21. package/dist/forms/childAndFamilySingle.iife.js +1 -1
  22. package/dist/forms/childAndFamilySingle.json +1 -1
  23. package/dist/forms/civilLawsuit.es.js +154 -104
  24. package/dist/forms/civilLawsuit.iife.js +1 -1
  25. package/dist/forms/civilLawsuit.json +1 -1
  26. package/dist/forms/coins.es.js +1 -1
  27. package/dist/forms/coins.iife.js +1 -1
  28. package/dist/forms/coins.json +1 -1
  29. package/dist/forms/contracts.es.js +152 -102
  30. package/dist/forms/contracts.iife.js +1 -1
  31. package/dist/forms/contracts.json +1 -1
  32. package/dist/forms/criminal.es.js +154 -104
  33. package/dist/forms/criminal.iife.js +1 -1
  34. package/dist/forms/criminal.json +1 -1
  35. package/dist/forms/divorce.es.js +154 -104
  36. package/dist/forms/divorce.iife.js +1 -1
  37. package/dist/forms/divorce.json +1 -1
  38. package/dist/forms/employmentAndWorkplace.es.js +154 -104
  39. package/dist/forms/employmentAndWorkplace.iife.js +1 -1
  40. package/dist/forms/employmentAndWorkplace.json +1 -1
  41. package/dist/forms/foreclosure.es.js +154 -104
  42. package/dist/forms/foreclosure.iife.js +1 -1
  43. package/dist/forms/foreclosure.json +1 -1
  44. package/dist/forms/generalContractors.es.js +8 -8
  45. package/dist/forms/generalContractors.iife.js +1 -1
  46. package/dist/forms/generalContractors.json +1 -1
  47. package/dist/forms/generalHomeImprovement.es.js +8 -8
  48. package/dist/forms/generalHomeImprovement.iife.js +1 -1
  49. package/dist/forms/generalHomeImprovement.json +1 -1
  50. package/dist/forms/generalHomeImprovementThankYou.es.js +8 -8
  51. package/dist/forms/generalHomeImprovementThankYou.iife.js +1 -1
  52. package/dist/forms/generalHomeImprovementThankYou.json +1 -1
  53. package/dist/forms/generalLegal.es.js +152 -102
  54. package/dist/forms/generalLegal.iife.js +1 -1
  55. package/dist/forms/generalLegal.json +1 -1
  56. package/dist/forms/generalLegalJustAnswer.es.js +154 -104
  57. package/dist/forms/generalLegalJustAnswer.iife.js +1 -1
  58. package/dist/forms/generalLegalJustAnswer.json +1 -1
  59. package/dist/forms/generalLegalPopUnder.es.js +152 -102
  60. package/dist/forms/generalLegalPopUnder.iife.js +1 -1
  61. package/dist/forms/generalLegalPopUnder.json +1 -1
  62. package/dist/forms/generalLegalPopUnderSingle.es.js +154 -104
  63. package/dist/forms/generalLegalPopUnderSingle.iife.js +1 -1
  64. package/dist/forms/generalLegalPopUnderSingle.json +1 -1
  65. package/dist/forms/generalLegalSingle.es.js +154 -104
  66. package/dist/forms/generalLegalSingle.iife.js +1 -1
  67. package/dist/forms/generalLegalSingle.json +1 -1
  68. package/dist/forms/generalLegalSingleMinimal.es.js +1325 -0
  69. package/dist/forms/generalLegalSingleMinimal.iife.js +1 -0
  70. package/dist/forms/generalLegalSingleMinimal.json +1 -0
  71. package/dist/forms/generalLegalThankYou.es.js +151 -101
  72. package/dist/forms/generalLegalThankYou.iife.js +1 -1
  73. package/dist/forms/generalLegalThankYou.json +1 -1
  74. package/dist/forms/generalLegalThankYouConsultation.es.js +154 -104
  75. package/dist/forms/generalLegalThankYouConsultation.iife.js +1 -1
  76. package/dist/forms/generalLegalThankYouConsultation.json +1 -1
  77. package/dist/forms/harassmentAndDiscrimination.es.js +148 -98
  78. package/dist/forms/harassmentAndDiscrimination.iife.js +1 -1
  79. package/dist/forms/harassmentAndDiscrimination.json +1 -1
  80. package/dist/forms/landlordTenant.es.js +154 -104
  81. package/dist/forms/landlordTenant.iife.js +1 -1
  82. package/dist/forms/landlordTenant.json +1 -1
  83. package/dist/forms/malpractice.es.js +153 -103
  84. package/dist/forms/malpractice.iife.js +1 -1
  85. package/dist/forms/malpractice.json +1 -1
  86. package/dist/forms/mechanics.es.js +124 -74
  87. package/dist/forms/mechanics.iife.js +1 -1
  88. package/dist/forms/mechanics.json +1 -1
  89. package/dist/forms/patentsAndIP.es.js +154 -104
  90. package/dist/forms/patentsAndIP.iife.js +1 -1
  91. package/dist/forms/patentsAndIP.json +1 -1
  92. package/dist/forms/realEstate.es.js +148 -98
  93. package/dist/forms/realEstate.iife.js +1 -1
  94. package/dist/forms/realEstate.json +1 -1
  95. package/dist/forms/repossession.es.js +152 -102
  96. package/dist/forms/repossession.iife.js +1 -1
  97. package/dist/forms/repossession.json +1 -1
  98. package/dist/forms/ssdi.es.js +147 -97
  99. package/dist/forms/ssdi.iife.js +1 -1
  100. package/dist/forms/ssdi.json +1 -1
  101. package/dist/forms/testForm.es.js +120 -70
  102. package/dist/forms/testForm.iife.js +1 -1
  103. package/dist/forms/testForm.json +1 -1
  104. package/dist/forms/testRedirects.es.js +1 -1
  105. package/dist/forms/testRedirects.iife.js +1 -1
  106. package/dist/forms/vets.es.js +1 -1
  107. package/dist/forms/vets.iife.js +1 -1
  108. package/dist/forms/vets.json +1 -1
  109. package/dist/forms/willsAndTrusts.es.js +148 -98
  110. package/dist/forms/willsAndTrusts.iife.js +1 -1
  111. package/dist/forms/willsAndTrusts.json +1 -1
  112. package/dist/forms/windows.es.js +8 -8
  113. package/dist/forms/windows.iife.js +1 -1
  114. package/dist/forms/windows.json +1 -1
  115. package/dist/forms/workersCompensation.es.js +153 -103
  116. package/dist/forms/workersCompensation.iife.js +1 -1
  117. package/dist/forms/workersCompensation.json +1 -1
  118. package/dist/main.css +1 -1
  119. package/package.json +1 -1
@@ -290,7 +290,7 @@ function subHeadlineDefaults(updates = {}) {
290
290
  $el: "h3",
291
291
  attrs: {
292
292
  class:
293
- "t-flex t-justify-center t-text-center t-text-[1.1rem] md:t-text-[1.2rem] t-font-medium t-text-blue-500 t-px-10" +
293
+ "t-flex t-justify-center t-text-center t-text-[1.1rem] md:t-text-[1.2rem] t-font-medium t-text-blue-500 t-px-10 t-pb-3" +
294
294
  " " +
295
295
  (updates.subheadlineClass || "") +
296
296
  " f-first-subheadline",
@@ -1 +1 @@
1
- var coins=function(){"use strict";function e(){return Object.assign({},...arguments)}const t=(t,r,n)=>(t=>{var r;return(r=t).name&&!r.id&&(r.id=r.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)),r="$onEnter($setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form))))",n="$onInput($setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form))))",i=e=>"group"!==e.type&&"section"!==e.type&&"form"!==e.type&&"hidden"!==e.$formkit&&!e.children,s=e=>{if(i(e))return e;for(var t=e.children.length-1;t>=0;t--){if("string"==typeof e.children)continue;const r=e.children[t];if(i(r))return r;const n=s(r);if(n)return n}return null},l=(e,t)=>({$el:"section",if:'$stepEnabled("'+e+'")',attrs:{hidden:'$activeStep !== "'+e+'"',key:t||e}});const a={type:"form",id:"form",config:{validationVisibility:"submit"},onSubmit:'$submit($submitUrl, $prepData, $handleRedirect, "text/plain; charset=UTF-8")',plugins:"$plugins",actions:!1,anchorElement:"form-anchor",useLocalStorage:!0,prepop:{fromURL:!0},errorCodes:{403:{message:"An Error Occurred",abort:!1},409:{abort:!1},429:"An Error Occurred",504:{message:"An Error Occurred",abort:!1}},formClass:"!t-max-w-[40rem]"};const o=[{$formkit:"hidden",name:"vertical",value:"Appraisals"},{$formkit:"hidden",name:"gclid",value:null},{$formkit:"hidden",name:"campaignid",value:null},{$formkit:"hidden",name:"s",value:null}],c=[e({$el:"div",children:[{$el:"div",attrs:{id:"form-anchor",class:"t-absolute",style:{top:"-30px",left:0}}}],attrs:{class:"t-relative"}},m),{$cmp:"FormKit",props:function(t){const r=e(a,t);return r.formId&&!r.name&&(r.name=r.formId),r}({formId:"coins",redirectMap:{"*":(d="answers-now.com",p="Appraisals",u="Coins",function(e,t,r,n=4){return"https://listings."+e+"/api/v1/redirect?zone_id="+n+"&sub_id=${properties.vid}&vertical="+encodeURIComponent(t)+"&category="+encodeURIComponent(r)}(d,p,u)+"&Comments=${properties.Comments}")},formClass:"!t-max-w-[36rem]"}),children:[function(t={}){return e(function(e={}){return{$el:"h1",attrs:{class:"t-flex t-justify-center t-text-center t-text-[2rem] t-font-semibold t-pt-5 t-px-7 md:t-px-3 "+(e.headlineClass||"")+" f-first-headline"}}}(t),t)}({children:'$urlParam("hl", "Start Here for An Appraisal")',if:"$activeStep === $firstStep()"}),function(t={}){return e(function(e={}){return{$el:"h3",attrs:{class:"t-flex t-justify-center t-text-center t-text-[1.1rem] md:t-text-[1.2rem] t-font-medium t-text-blue-500 t-px-10 "+(e.subheadlineClass||"")+" f-first-subheadline"}}}(t),t)}({children:'$urlParam("shl", "Get Coin Valuations In Minutes!")',if:"$activeStep === $firstStep()"}),...o,{$el:"div",attrs:{class:"form-body"},children:[function(i={}){return function(t,i,a={}){const{nextOnEnter:o=!0,nextOnInput:c=!1,stepKey:d,nextStepMap:p,triggerRedirectMap:u,autoFocus:m}=a;if(i&&i.length&&(o||c)){const e=s(i[i.length-1]);e&&!0===o&&(e.onKeypress=r),e&&!0===c&&(e.onInput=n)}return e(l(t,d),{children:[{$formkit:"group",id:t,name:t,nextStepMap:p,triggerRedirectMap:u,autoFocus:m,children:i}]})}("comments",[t(i.scope,0,{label:i.label||"Please briefly describe your issue in a few words:",placeholder:i.placeholder||'$getKey($meta, "commentsPlaceholders." + $get(Category).value, $meta.defaultCommentsPlaceholder)'})],i)}({label:"Please describe your item in a few words:",placeholder:'Example: "I have a wheat penny, buffalo nickel, and silver barber dime from the early 1900s I would like appraised."',nextOnEnter:!1}),function(e={}){return{$el:"div",attrs:{class:"step-nav"},children:[{$formkit:"button",name:"hidden_button",children:"Hidden",style:{if:"$activeStep === $firstStep()",then:"visibility: hidden;"}},{$formkit:"submit",name:"submit_button",label:e.submitLabel||"Chat Now"}]}}(),{$el:"pre",if:'$urlParam("fdbg", "") == 1',children:[{$el:"pre",children:"$stringify( $get(form).value )",attrs:{class:"t-text-xs",style:"overflow: scroll"}},{$el:"pre",children:["activeStep: ","$activeStep"],attrs:{class:"t-text-xs",style:"overflow: scroll"}},{$el:"pre",children:["stepHistory: ","$stepHistory"],attrs:{class:"t-text-xs",style:"overflow: scroll"}},{$el:"pre",children:["stepQueue: ","$stepQueue"],attrs:{class:"t-text-xs",style:"overflow: scroll"}},{$el:"pre",children:["steps: ","$stepKeys()"],attrs:{class:"t-text-xs",style:"overflow: scroll"}}]}]}]}];var d,p,u,m;return c}();
1
+ var coins=function(){"use strict";function e(){return Object.assign({},...arguments)}const t=(t,r,n)=>(t=>{var r;return(r=t).name&&!r.id&&(r.id=r.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)),r="$onEnter($setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form))))",n="$onInput($setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form))))",i=e=>"group"!==e.type&&"section"!==e.type&&"form"!==e.type&&"hidden"!==e.$formkit&&!e.children,s=e=>{if(i(e))return e;for(var t=e.children.length-1;t>=0;t--){if("string"==typeof e.children)continue;const r=e.children[t];if(i(r))return r;const n=s(r);if(n)return n}return null},l=(e,t)=>({$el:"section",if:'$stepEnabled("'+e+'")',attrs:{hidden:'$activeStep !== "'+e+'"',key:t||e}});const a={type:"form",id:"form",config:{validationVisibility:"submit"},onSubmit:'$submit($submitUrl, $prepData, $handleRedirect, "text/plain; charset=UTF-8")',plugins:"$plugins",actions:!1,anchorElement:"form-anchor",useLocalStorage:!0,prepop:{fromURL:!0},errorCodes:{403:{message:"An Error Occurred",abort:!1},409:{abort:!1},429:"An Error Occurred",504:{message:"An Error Occurred",abort:!1}},formClass:"!t-max-w-[40rem]"};const o=[{$formkit:"hidden",name:"vertical",value:"Appraisals"},{$formkit:"hidden",name:"gclid",value:null},{$formkit:"hidden",name:"campaignid",value:null},{$formkit:"hidden",name:"s",value:null}],c=[e({$el:"div",children:[{$el:"div",attrs:{id:"form-anchor",class:"t-absolute",style:{top:"-30px",left:0}}}],attrs:{class:"t-relative"}},m),{$cmp:"FormKit",props:function(t){const r=e(a,t);return r.formId&&!r.name&&(r.name=r.formId),r}({formId:"coins",redirectMap:{"*":(d="answers-now.com",p="Appraisals",u="Coins",function(e,t,r,n=4){return"https://listings."+e+"/api/v1/redirect?zone_id="+n+"&sub_id=${properties.vid}&vertical="+encodeURIComponent(t)+"&category="+encodeURIComponent(r)}(d,p,u)+"&Comments=${properties.Comments}")},formClass:"!t-max-w-[36rem]"}),children:[function(t={}){return e(function(e={}){return{$el:"h1",attrs:{class:"t-flex t-justify-center t-text-center t-text-[2rem] t-font-semibold t-pt-5 t-px-7 md:t-px-3 "+(e.headlineClass||"")+" f-first-headline"}}}(t),t)}({children:'$urlParam("hl", "Start Here for An Appraisal")',if:"$activeStep === $firstStep()"}),function(t={}){return e(function(e={}){return{$el:"h3",attrs:{class:"t-flex t-justify-center t-text-center t-text-[1.1rem] md:t-text-[1.2rem] t-font-medium t-text-blue-500 t-px-10 t-pb-3 "+(e.subheadlineClass||"")+" f-first-subheadline"}}}(t),t)}({children:'$urlParam("shl", "Get Coin Valuations In Minutes!")',if:"$activeStep === $firstStep()"}),...o,{$el:"div",attrs:{class:"form-body"},children:[function(i={}){return function(t,i,a={}){const{nextOnEnter:o=!0,nextOnInput:c=!1,stepKey:d,nextStepMap:p,triggerRedirectMap:u,autoFocus:m}=a;if(i&&i.length&&(o||c)){const e=s(i[i.length-1]);e&&!0===o&&(e.onKeypress=r),e&&!0===c&&(e.onInput=n)}return e(l(t,d),{children:[{$formkit:"group",id:t,name:t,nextStepMap:p,triggerRedirectMap:u,autoFocus:m,children:i}]})}("comments",[t(i.scope,0,{label:i.label||"Please briefly describe your issue in a few words:",placeholder:i.placeholder||'$getKey($meta, "commentsPlaceholders." + $get(Category).value, $meta.defaultCommentsPlaceholder)'})],i)}({label:"Please describe your item in a few words:",placeholder:'Example: "I have a wheat penny, buffalo nickel, and silver barber dime from the early 1900s I would like appraised."',nextOnEnter:!1}),function(e={}){return{$el:"div",attrs:{class:"step-nav"},children:[{$formkit:"button",name:"hidden_button",children:"Hidden",style:{if:"$activeStep === $firstStep()",then:"visibility: hidden;"}},{$formkit:"submit",name:"submit_button",label:e.submitLabel||"Chat Now"}]}}(),{$el:"pre",if:'$urlParam("fdbg", "") == 1',children:[{$el:"pre",children:"$stringify( $get(form).value )",attrs:{class:"t-text-xs",style:"overflow: scroll"}},{$el:"pre",children:["activeStep: ","$activeStep"],attrs:{class:"t-text-xs",style:"overflow: scroll"}},{$el:"pre",children:["stepHistory: ","$stepHistory"],attrs:{class:"t-text-xs",style:"overflow: scroll"}},{$el:"pre",children:["stepQueue: ","$stepQueue"],attrs:{class:"t-text-xs",style:"overflow: scroll"}},{$el:"pre",children:["steps: ","$stepKeys()"],attrs:{class:"t-text-xs",style:"overflow: scroll"}}]}]}]}];var d,p,u,m;return c}();
@@ -1 +1 @@
1
- [{"$el":"div","children":[{"$el":"div","attrs":{"id":"form-anchor","class":"t-absolute","style":{"top":"-30px","left":0}}}],"attrs":{"class":"t-relative"}},{"$cmp":"FormKit","props":{"type":"form","id":"form","config":{"validationVisibility":"submit"},"onSubmit":"$submit($submitUrl, $prepData, $handleRedirect, \"text/plain; charset=UTF-8\")","plugins":"$plugins","actions":false,"anchorElement":"form-anchor","useLocalStorage":true,"prepop":{"fromURL":true},"errorCodes":{"403":{"message":"An Error Occurred","abort":false},"409":{"abort":false},"429":"An Error Occurred","504":{"message":"An Error Occurred","abort":false}},"formClass":"!t-max-w-[36rem]","formId":"coins","redirectMap":{"*":"https://listings.answers-now.com/api/v1/redirect?zone_id=4&sub_id=${properties.vid}&vertical=Appraisals&category=Coins&Comments=${properties.Comments}"},"name":"coins"},"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 f-first-headline"},"children":"$urlParam(\"hl\", \"Start Here for An Appraisal\")","if":"$activeStep === $firstStep()"},{"$el":"h3","attrs":{"class":"t-flex t-justify-center t-text-center t-text-[1.1rem] md:t-text-[1.2rem] t-font-medium t-text-blue-500 t-px-10 f-first-subheadline"},"children":"$urlParam(\"shl\", \"Get Coin Valuations In Minutes!\")","if":"$activeStep === $firstStep()"},{"$formkit":"hidden","name":"vertical","value":"Appraisals"},{"$formkit":"hidden","name":"gclid","value":null},{"$formkit":"hidden","name":"campaignid","value":null},{"$formkit":"hidden","name":"s","value":null},{"$el":"div","attrs":{"class":"form-body"},"children":[{"$el":"section","if":"$stepEnabled(\"comments\")","attrs":{"hidden":"$activeStep !== \"comments\"","key":"comments"},"children":[{"$formkit":"group","id":"comments","name":"comments","children":[{"$formkit":"textarea","rows":5,"maxlength":500,"validation":"required","validationMessages":{"required":"Field is required"},"innerClass":"t-max-w-xl","labelClass":"required","name":"Comments","label":"Please describe your item in a few words:","placeholder":"Example: \"I have a wheat penny, buffalo nickel, and silver barber dime from the early 1900s I would like appraised.\"","id":"Comments"}]}]},{"$el":"div","attrs":{"class":"step-nav"},"children":[{"$formkit":"button","name":"hidden_button","children":"Hidden","style":{"if":"$activeStep === $firstStep()","then":"visibility: hidden;"}},{"$formkit":"submit","name":"submit_button","label":"Chat Now"}]},{"$el":"pre","if":"$urlParam(\"fdbg\", \"\") == 1","children":[{"$el":"pre","children":"$stringify( $get(form).value )","attrs":{"class":"t-text-xs","style":"overflow: scroll"}},{"$el":"pre","children":["activeStep: ","$activeStep"],"attrs":{"class":"t-text-xs","style":"overflow: scroll"}},{"$el":"pre","children":["stepHistory: ","$stepHistory"],"attrs":{"class":"t-text-xs","style":"overflow: scroll"}},{"$el":"pre","children":["stepQueue: ","$stepQueue"],"attrs":{"class":"t-text-xs","style":"overflow: scroll"}},{"$el":"pre","children":["steps: ","$stepKeys()"],"attrs":{"class":"t-text-xs","style":"overflow: scroll"}}]}]}]}]
1
+ [{"$el":"div","children":[{"$el":"div","attrs":{"id":"form-anchor","class":"t-absolute","style":{"top":"-30px","left":0}}}],"attrs":{"class":"t-relative"}},{"$cmp":"FormKit","props":{"type":"form","id":"form","config":{"validationVisibility":"submit"},"onSubmit":"$submit($submitUrl, $prepData, $handleRedirect, \"text/plain; charset=UTF-8\")","plugins":"$plugins","actions":false,"anchorElement":"form-anchor","useLocalStorage":true,"prepop":{"fromURL":true},"errorCodes":{"403":{"message":"An Error Occurred","abort":false},"409":{"abort":false},"429":"An Error Occurred","504":{"message":"An Error Occurred","abort":false}},"formClass":"!t-max-w-[36rem]","formId":"coins","redirectMap":{"*":"https://listings.answers-now.com/api/v1/redirect?zone_id=4&sub_id=${properties.vid}&vertical=Appraisals&category=Coins&Comments=${properties.Comments}"},"name":"coins"},"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 f-first-headline"},"children":"$urlParam(\"hl\", \"Start Here for An Appraisal\")","if":"$activeStep === $firstStep()"},{"$el":"h3","attrs":{"class":"t-flex t-justify-center t-text-center t-text-[1.1rem] md:t-text-[1.2rem] t-font-medium t-text-blue-500 t-px-10 t-pb-3 f-first-subheadline"},"children":"$urlParam(\"shl\", \"Get Coin Valuations In Minutes!\")","if":"$activeStep === $firstStep()"},{"$formkit":"hidden","name":"vertical","value":"Appraisals"},{"$formkit":"hidden","name":"gclid","value":null},{"$formkit":"hidden","name":"campaignid","value":null},{"$formkit":"hidden","name":"s","value":null},{"$el":"div","attrs":{"class":"form-body"},"children":[{"$el":"section","if":"$stepEnabled(\"comments\")","attrs":{"hidden":"$activeStep !== \"comments\"","key":"comments"},"children":[{"$formkit":"group","id":"comments","name":"comments","children":[{"$formkit":"textarea","rows":5,"maxlength":500,"validation":"required","validationMessages":{"required":"Field is required"},"innerClass":"t-max-w-xl","labelClass":"required","name":"Comments","label":"Please describe your item in a few words:","placeholder":"Example: \"I have a wheat penny, buffalo nickel, and silver barber dime from the early 1900s I would like appraised.\"","id":"Comments"}]}]},{"$el":"div","attrs":{"class":"step-nav"},"children":[{"$formkit":"button","name":"hidden_button","children":"Hidden","style":{"if":"$activeStep === $firstStep()","then":"visibility: hidden;"}},{"$formkit":"submit","name":"submit_button","label":"Chat Now"}]},{"$el":"pre","if":"$urlParam(\"fdbg\", \"\") == 1","children":[{"$el":"pre","children":"$stringify( $get(form).value )","attrs":{"class":"t-text-xs","style":"overflow: scroll"}},{"$el":"pre","children":["activeStep: ","$activeStep"],"attrs":{"class":"t-text-xs","style":"overflow: scroll"}},{"$el":"pre","children":["stepHistory: ","$stepHistory"],"attrs":{"class":"t-text-xs","style":"overflow: scroll"}},{"$el":"pre","children":["stepQueue: ","$stepQueue"],"attrs":{"class":"t-text-xs","style":"overflow: scroll"}},{"$el":"pre","children":["steps: ","$stepKeys()"],"attrs":{"class":"t-text-xs","style":"overflow: scroll"}}]}]}]}]
@@ -9,11 +9,10 @@ function LegalRedirectUrl() {
9
9
  const DEFAULT_COMMENTS_PLACEHOLDER_DYNAMIC_LEGAL =
10
10
  '$getKey($meta, "commentsPlaceholders." + $get(Type_Of_Legal_Problem).value, $meta.defaultCommentsPlaceholder)';
11
11
  const DEFAULT_COMMENTS_LABEL_LEGAL = "Please briefly describe your legal issue in a few words:";
12
- const DEFAULT_FINAL_HEADLINE_LEGAL = "Submit Your Case";
12
+ const DEFAULT_FINAL_HEADLINE_LEGAL = "Connect With The Legal Help You Deserve";
13
13
  const DEFAULT_FINAL_HEADLINE_DYNAMIC_LEGAL =
14
14
  '$getKey($meta, "finalHeadlines." + $get(Type_Of_Legal_Problem).value, $meta.defaultFinalHeadline)';
15
- const DEFAULT_FINAL_SUBHEADLINE_LEGAL =
16
- "You may benefit from speaking with a legal professional. Please verify your contact information.";
15
+ const DEFAULT_FINAL_SUBHEADLINE_LEGAL = "Get a no-obligation consultation with a legal expert.";
17
16
  const DEFAULT_FINAL_SUBHEADLINE_DYNAMIC_LEGAL =
18
17
  '$getKey($meta, "finalSubHeadlines." + $get(Type_Of_Legal_Problem).value, $meta.defaultFinalSubHeadline)';
19
18
  const TCPA_LANGUAGE_LEGAL =
@@ -273,7 +272,7 @@ const verticalSelect = (updates) => {
273
272
  updates.labelClass = "required";
274
273
  updates.wrapperClass = "t-flex t-justify-center";
275
274
  updates.messagesClass = "t-flex t-justify-center";
276
- updates.inputClass = "t-min-w-[150px] t-bg-white";
275
+ updates.inputClass = "t-min-w-[150px] t-bg-white " + (updates.inputClass || "");
277
276
  updates.helpClass = "t-mt-2.5 t-text-center";
278
277
  return select(updates)
279
278
  };
@@ -940,7 +939,7 @@ const TCPAConsent = (scope, updates = {}) => ({
940
939
  wrapper: updates.wrapperClass ? updates.wrapperClass : "",
941
940
  messages: updates.messagesClass ? updates.messagesClass : "",
942
941
  label:
943
- "t-text-xs t-text-slate-500 t-font-normal !t-leading-[0.9rem]" +
942
+ "!t-text-[0.7rem] t-text-slate-500 t-font-normal !t-leading-[0.9rem]" +
944
943
  (updates.labelClass ? " " + updates.labelClass : ""),
945
944
  },
946
945
  });
@@ -1235,7 +1234,7 @@ function commentsStepHeadline(updates) {
1235
1234
  children: updates.headline || "Additional Details",
1236
1235
  attrs: {
1237
1236
  class:
1238
- "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" +
1237
+ "t-flex t-justify-center t-text-center t-text-lg sm:t-text-xl t-font-bold t-text-blue-500 t-pb-5 t-pt-0 t-px-1" +
1239
1238
  " " +
1240
1239
  (updates.headlineClass || ""),
1241
1240
  },
@@ -1255,7 +1254,7 @@ function firstAndLastStepHeadline(updates) {
1255
1254
  children: updates.headline || "Please Provide a Contact Name",
1256
1255
  attrs: {
1257
1256
  class:
1258
- "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" +
1257
+ "t-flex t-justify-center t-text-center t-text-xl t-font-bold t-text-blue-500 t-pb-5 t-pt-0 t-px-1" +
1259
1258
  " " +
1260
1259
  (updates.headlineClass || ""),
1261
1260
  },
@@ -1268,7 +1267,7 @@ function legalCrossSellsStepHeadline(updates) {
1268
1267
  children: updates.headline || "Do any of the following situations apply?",
1269
1268
  attrs: {
1270
1269
  class:
1271
- "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" +
1270
+ "t-flex t-justify-center t-text-center t-text-xl t-font-bold t-text-blue-500 t-pb-5 t-pt-0 t-px-1" +
1272
1271
  " " +
1273
1272
  (updates.headlineClass || ""),
1274
1273
  },
@@ -1281,7 +1280,7 @@ function contactStepHeadline(updates) {
1281
1280
  children: updates.headline || DEFAULT_FINAL_HEADLINE_DYNAMIC_LEGAL,
1282
1281
  attrs: {
1283
1282
  class:
1284
- "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" +
1283
+ "t-flex t-justify-center t-text-center t-text-2xl t-font-bold t-text-blue-500 t-pb-3 t-pt-4 t-px-1" +
1285
1284
  " " +
1286
1285
  (updates.headlineClass || "") +
1287
1286
  " f-contact-info-headline",
@@ -1371,6 +1370,34 @@ function step(name, inputs, updates = {}) {
1371
1370
  })
1372
1371
  }
1373
1372
 
1373
+ function commentsWithBankruptcy(updates = {}) {
1374
+ return step(
1375
+ "commentsWithBankruptcy",
1376
+ [
1377
+ commentsStepHeadlineLegal(updates),
1378
+ comments(updates.scope, false, {
1379
+ label: typeof updates.label === "undefined" ? DEFAULT_COMMENTS_LABEL_LEGAL : updates.label,
1380
+ placeholder: updates.placeholder || DEFAULT_COMMENTS_PLACEHOLDER_DYNAMIC_LEGAL,
1381
+ inputClass: typeof updates.inputClass === "undefined" ? "!t-h-32" : updates.inputClass,
1382
+ }),
1383
+ // TODO: needs scope support
1384
+ bankruptcyCrossSell(),
1385
+ {
1386
+ $el: "div",
1387
+ if: "$get(CrossSell_Bankruptcy).value == true",
1388
+ children: [
1389
+ comments("CrossSell:Bankruptcy", false, {
1390
+ label: "Bankruptcy or debt details:",
1391
+ placeholder: "Please describe your bankrtupcy or debt situation in a few words...",
1392
+ inputClass: "!t-h-16",
1393
+ }),
1394
+ ],
1395
+ },
1396
+ ],
1397
+ { nextOnEnter: false }
1398
+ )
1399
+ }
1400
+
1374
1401
  function contactInfo(updates = {}) {
1375
1402
  return step(
1376
1403
  "contactInfo",
@@ -1418,34 +1445,6 @@ function contractsTOLPAndZip(updates = {}) {
1418
1445
  )
1419
1446
  }
1420
1447
 
1421
- function commentsWithBankruptcy(updates = {}) {
1422
- return step(
1423
- "commentsWithBankruptcy",
1424
- [
1425
- commentsStepHeadlineLegal(updates),
1426
- comments(updates.scope, false, {
1427
- label: typeof updates.label === "undefined" ? DEFAULT_COMMENTS_LABEL_LEGAL : updates.label,
1428
- placeholder: updates.placeholder || DEFAULT_COMMENTS_PLACEHOLDER_DYNAMIC_LEGAL,
1429
- inputClass: typeof updates.inputClass === "undefined" ? "!t-h-32" : updates.inputClass,
1430
- }),
1431
- // TODO: needs scope support
1432
- bankruptcyCrossSell(),
1433
- {
1434
- $el: "div",
1435
- if: "$get(CrossSell_Bankruptcy).value == true",
1436
- children: [
1437
- comments("CrossSell:Bankruptcy", false, {
1438
- label: "Bankruptcy or debt details:",
1439
- placeholder: "Please describe your bankrtupcy or debt situation in a few words...",
1440
- inputClass: "!t-h-16",
1441
- }),
1442
- ],
1443
- },
1444
- ],
1445
- { nextOnEnter: false }
1446
- )
1447
- }
1448
-
1449
1448
  function autoAndCarAccidentCrossSellQuestions(updates = {}) {
1450
1449
  return step(
1451
1450
  "autoAndCarAccidentCrossSellQuestions",
@@ -1864,7 +1863,7 @@ function subHeadlineDefaults(updates = {}) {
1864
1863
  $el: "h3",
1865
1864
  attrs: {
1866
1865
  class:
1867
- "t-flex t-justify-center t-text-center t-text-[1.1rem] md:t-text-[1.2rem] t-font-medium t-text-blue-500 t-px-10" +
1866
+ "t-flex t-justify-center t-text-center t-text-[1.1rem] md:t-text-[1.2rem] t-font-medium t-text-blue-500 t-px-10 t-pb-3" +
1868
1867
  " " +
1869
1868
  (updates.subheadlineClass || "") +
1870
1869
  " f-first-subheadline",
@@ -1985,78 +1984,129 @@ const TOLPCommentsPlaceholders = {
1985
1984
  };
1986
1985
 
1987
1986
  const TOLPFinalHeadlines = {
1988
- // 'Adoption': '',
1989
- };
1990
-
1991
- const TOLPFinalSubHeadlines = {
1992
- Adoption: "You may benefit from speaking with an adoption professional. Please verify your contact information.",
1993
- // 'Asbestos and Mesothelioma': '',
1994
- "Auto and Car Accidents":
1995
- "You may benefit from speaking with an accident professional. Please verify your contact information.",
1996
- Bankruptcy: "You may benefit from speaking with a bankruptcy professional. Please verify your contact information.",
1997
- // 'Birth Certificate and Name Change': '',
1998
- // 'Business Lawyers': '',
1987
+ Adoption: "Connect With Adoption Professionals Today",
1988
+ "Auto and Car Accidents": "Connect With Accident Professionals Today",
1989
+ Bankruptcy: "Take Control of Your Financial Future",
1990
+ "Birth Certificate and Name Change": "Start Your Change Today",
1991
+ "Business Lawyers": "Connect With Business Professionals Today",
1992
+ "Child Custody": "Connect With Custody Professionals Today",
1993
+ "Child Support": "Connect With Child Support Professionals",
1999
1994
  // 'Child Custody and Support': '',
2000
- // 'Civil Rights and Discrimination': '',
2001
- // 'Civil Lawsuit': '',
2002
- // 'Consumer Lawyers': '',
2003
- "Copyrights and Trademarks":
2004
- "You may benefit from speaking with a copyright and trademark professional. Please verify your contact information.",
2005
- // 'Criminal and Felony': '',
2006
- // 'Debt and Collections': '',
2007
- "Divorce and Separation":
2008
- "You may benefit from speaking with a divorce professional. Please verify your contact information.",
2009
- "DUI and DWI": "You may benefit from speaking with a DUI professional. Please verify your contact information.",
2010
- "Elder Law": "You may benefit from speaking with an elder law professional. Please verify your contact information.",
2011
- // 'Employment and Workplace': '',
2012
- // 'Expungement': '',
2013
- // 'Family Issues': '',
2014
- Foreclosure: "You may benefit from speaking with a foreclosure professional. Please verify your contact information.",
2015
- Guardianship:
2016
- "You may benefit from speaking with a guardianship professional. Please verify your contact information.",
2017
- // 'Harassment and Discrimination': '',
2018
- // 'Identity Theft': '',
2019
- "Immigration and Visas":
2020
- "You may benefit from speaking with a immigration professional. Please verify your contact information.",
2021
- // 'Insurance': '',
2022
- "Landlord and Tenant":
2023
- "You may benefit from speaking with a landlord and tenant legal professional. Please verify your contact information.",
2024
- // 'Lemon Law': '',
2025
- "Long Term Disability":
2026
- "You may benefit from speaking with a disability legal professional. Please verify your contact information.",
2027
- "Medical Malpractice":
2028
- "You may benefit from speaking with a malpractice professional. Please verify your contact information.",
2029
- "Patents and Intellectual Property":
2030
- "You may benefit from speaking with a patent professional. Please verify your contact information.",
2031
- "Personal Injury":
2032
- "You may benefit from speaking with a personal injury professional. Please verify your contact information.",
2033
- // 'Power of Attorney': '',
2034
- "Probate and Estates":
2035
- "You may benefit from speaking with a probate and estate professional. Please verify your contact information.",
2036
- // 'Product Liability': '',
2037
- // 'Property Damage': '',
2038
- "Real Estate":
2039
- "You may benefit from speaking with a real estate professional. Please verify your contact information.",
2040
- "Social Security Disability and Insurance":
2041
- "You may benefit from speaking with an SSDI professional. Please verify your contact information.",
2042
- "Tax and IRS": "You may benefit from speaking with a tax professional. Please verify your contact information.",
2043
- // 'Traffic and Tickets': '',
2044
- Unemployment:
2045
- "You may benefit from speaking with an unemployment professional. Please verify your contact information.",
2046
- // 'Victim of a Crime': '',
2047
- // 'Wills and Trusts': '',
2048
- "Workers Compensation":
2049
- "You may benefit from speaking with a workers compensation professional. Please verify your contact information.",
2050
- // 'Wrongful Death': '',
2051
- // 'Wrongful Termination': '',
1995
+ "Civil Rights and Discrimination": "Stand Up For Your Rights",
1996
+ "Civil Lawsuit": "Connect With Lawsuit Professionals Today",
1997
+ // "Consumer Lawyers": "",
1998
+ "Copyrights and Trademarks": "Protect Your Intellectual Property",
1999
+ // "Criminal and Felony": "Connect With Legal Help",
2000
+ "Debt and Collections": "Connect With Debt Professionals Today",
2001
+ "Divorce and Separation": "Connect With Divorce Professionals Today",
2002
+ "DUI and DWI": "Defend Against DUI Charges",
2003
+ "Elder Law": "Connect With Elder Law Professionals",
2004
+ // "Employment and Workplace": "Connect With Legal Help",
2005
+ Expungement: "Clear Your Record",
2006
+ "Family Issues": "Connect With Family Legal Help",
2007
+ Foreclosure: "Fight to Keep Your Home",
2008
+ Guardianship: "Connect With Guardianship Professionals",
2009
+ // "Harassment and Discrimination": "Connect With Legal Help",
2010
+ // "Identity Theft": "Connect With Legal Help",
2011
+ "Immigration and Visas": "Get Immigration Legal Help",
2012
+ Insurance: "Get Insurance Legal Help",
2013
+ // "Landlord and Tenant": "Connect With Legal Help",
2014
+ "Lemon Law": "Connect With Lemon Law Professionals",
2015
+ "Long Term Disability": "Connect With Disability Professionals",
2016
+ "Medical Malpractice": "Hold Negligent Providers Accountable",
2017
+ "Patents and Intellectual Property": "Connect With IP Professionals Today",
2018
+ "Personal Injury": "Maximize Your Injury Compensation",
2019
+ // "Power of Attorney": "Connect With Legal Help",
2020
+ "Probate and Estates": "Manage Probate with Expert Guidance",
2021
+ "Product Liability": "Get Justice for Faulty Products",
2022
+ // 'Property Damage': 'Connect With Legal Help',
2023
+ "Real Estate": "Connect With Real Estate Professionals",
2024
+ "Sexual Harassment": "Stand Up Against Sexual Harassment",
2025
+ "Social Security Disability and Insurance": "Get the Benefits You Deserve",
2026
+ "Tax and IRS": "Connect With Tax Legal Help",
2027
+ "Traffic and Tickets": "Protect Your Record Today",
2028
+ Unemployment: "Connect With Unemployment Professionals",
2029
+ "Victim of a Crime": "Seek Justice as a Crime Victim",
2030
+ "Wills and Trusts": "Plan Your Estate with Confidence",
2031
+ "Workers Compensation": "Maximize Your Workers' Comp Benefits",
2032
+ "Wrongful Death": "Seek Justice for a Loved One",
2033
+ "Wrongful Termination": "Fight Back Against Unfair Firing Today",
2052
2034
  // 'Not Sure or Other': ''
2053
- // 'Sexual Harassment': '',
2054
2035
  // 'Workplace Harassment': '',
2055
2036
  // 'Non-Workplace Harassment': '',
2056
2037
  // 'Workplace Discrimination': '',
2057
2038
  // 'Non-Workplace Discrimination': '',
2058
2039
  };
2059
2040
 
2041
+ const TOLPFinalSubHeadlines = {
2042
+ // Adoption: "You may benefit from speaking with an adoption professional. Please verify your contact information.",
2043
+ // // 'Asbestos and Mesothelioma': '',
2044
+ // "Auto and Car Accidents":
2045
+ // "You may benefit from speaking with an accident professional. Please verify your contact information.",
2046
+ // Bankruptcy: "You may benefit from speaking with a bankruptcy professional. Please verify your contact information.",
2047
+ // // 'Birth Certificate and Name Change': '',
2048
+ // // 'Business Lawyers': '',
2049
+ // // 'Child Custody and Support': '',
2050
+ // // 'Civil Rights and Discrimination': '',
2051
+ // // 'Civil Lawsuit': '',
2052
+ // // 'Consumer Lawyers': '',
2053
+ // "Copyrights and Trademarks":
2054
+ // "You may benefit from speaking with a copyright and trademark professional. Please verify your contact information.",
2055
+ // // 'Criminal and Felony': '',
2056
+ // // 'Debt and Collections': '',
2057
+ // "Divorce and Separation":
2058
+ // "You may benefit from speaking with a divorce professional. Please verify your contact information.",
2059
+ // "DUI and DWI": "You may benefit from speaking with a DUI professional. Please verify your contact information.",
2060
+ // "Elder Law": "You may benefit from speaking with an elder law professional. Please verify your contact information.",
2061
+ // // 'Employment and Workplace': '',
2062
+ // // 'Expungement': '',
2063
+ // // 'Family Issues': '',
2064
+ // Foreclosure: "You may benefit from speaking with a foreclosure professional. Please verify your contact information.",
2065
+ // Guardianship:
2066
+ // "You may benefit from speaking with a guardianship professional. Please verify your contact information.",
2067
+ // // 'Harassment and Discrimination': '',
2068
+ // // 'Identity Theft': '',
2069
+ // "Immigration and Visas":
2070
+ // "You may benefit from speaking with a immigration professional. Please verify your contact information.",
2071
+ // // 'Insurance': '',
2072
+ // "Landlord and Tenant":
2073
+ // "You may benefit from speaking with a landlord and tenant legal professional. Please verify your contact information.",
2074
+ // // 'Lemon Law': '',
2075
+ // "Long Term Disability":
2076
+ // "You may benefit from speaking with a disability legal professional. Please verify your contact information.",
2077
+ // "Medical Malpractice":
2078
+ // "You may benefit from speaking with a malpractice professional. Please verify your contact information.",
2079
+ // "Patents and Intellectual Property":
2080
+ // "You may benefit from speaking with a patent professional. Please verify your contact information.",
2081
+ // "Personal Injury":
2082
+ // "You may benefit from speaking with a personal injury professional. Please verify your contact information.",
2083
+ // // 'Power of Attorney': '',
2084
+ // "Probate and Estates":
2085
+ // "You may benefit from speaking with a probate and estate professional. Please verify your contact information.",
2086
+ // // 'Product Liability': '',
2087
+ // // 'Property Damage': '',
2088
+ // "Real Estate":
2089
+ // "You may benefit from speaking with a real estate professional. Please verify your contact information.",
2090
+ // "Social Security Disability and Insurance":
2091
+ // "You may benefit from speaking with an SSDI professional. Please verify your contact information.",
2092
+ // "Tax and IRS": "You may benefit from speaking with a tax professional. Please verify your contact information.",
2093
+ // // 'Traffic and Tickets': '',
2094
+ // Unemployment:
2095
+ // "You may benefit from speaking with an unemployment professional. Please verify your contact information.",
2096
+ // // 'Victim of a Crime': '',
2097
+ // // 'Wills and Trusts': '',
2098
+ // "Workers Compensation":
2099
+ // "You may benefit from speaking with a workers compensation professional. Please verify your contact information.",
2100
+ // // 'Wrongful Death': '',
2101
+ // // 'Wrongful Termination': '',
2102
+ // // 'Not Sure or Other': ''
2103
+ // // 'Sexual Harassment': '',
2104
+ // // 'Workplace Harassment': '',
2105
+ // // 'Non-Workplace Harassment': '',
2106
+ // // 'Workplace Discrimination': '',
2107
+ // // 'Non-Workplace Discrimination': '',
2108
+ };
2109
+
2060
2110
  const nextStepsMapLegalLegacy = {
2061
2111
  values: {
2062
2112
  "*": ["TOLPQuestions", "commentsWithBankruptcy", "legalCrossSells", "firstAndLast", "contactInfo"],