bhl-forms 0.6.0 → 0.6.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.
- package/dist/bhl-forms.es.js +5244 -4973
- package/dist/bhl-forms.iife.js +9 -9
- package/dist/bhl-forms.umd.js +9 -9
- package/package.json +2 -2
- package/dist/bhl-forms.modern.es.js +0 -16865
- package/dist/bhl-forms.modern.iife.js +0 -21
- package/dist/bhl-forms.modern.umd.js +0 -21
- package/dist/forms/accidentsAndInjuries.es.js +0 -1279
- package/dist/forms/accidentsAndInjuries.iife.js +0 -1
- package/dist/forms/accidentsAndInjuries.json +0 -1
- package/dist/forms/appraisals.es.js +0 -345
- package/dist/forms/appraisals.iife.js +0 -1
- package/dist/forms/appraisals.json +0 -1
- package/dist/forms/childAndFamily.es.js +0 -1678
- package/dist/forms/childAndFamily.iife.js +0 -1
- package/dist/forms/childAndFamily.json +0 -1
- package/dist/forms/childAndFamilySingle.es.js +0 -1809
- package/dist/forms/childAndFamilySingle.iife.js +0 -1
- package/dist/forms/childAndFamilySingle.json +0 -1
- package/dist/forms/civilLawsuit.es.js +0 -2149
- package/dist/forms/civilLawsuit.iife.js +0 -1
- package/dist/forms/civilLawsuit.json +0 -1
- package/dist/forms/coins.es.js +0 -345
- package/dist/forms/coins.iife.js +0 -1
- package/dist/forms/coins.json +0 -1
- package/dist/forms/contracts.es.js +0 -994
- package/dist/forms/contracts.iife.js +0 -1
- package/dist/forms/contracts.json +0 -1
- package/dist/forms/criminal.es.js +0 -3247
- package/dist/forms/criminal.iife.js +0 -1
- package/dist/forms/criminal.json +0 -1
- package/dist/forms/employmentAndWorkplace.es.js +0 -1380
- package/dist/forms/employmentAndWorkplace.iife.js +0 -1
- package/dist/forms/employmentAndWorkplace.json +0 -1
- package/dist/forms/generalLegal.es.js +0 -3386
- package/dist/forms/generalLegal.iife.js +0 -1
- package/dist/forms/generalLegal.json +0 -1
- package/dist/forms/generalLegalPopUnder.es.js +0 -3388
- package/dist/forms/generalLegalPopUnder.iife.js +0 -1
- package/dist/forms/generalLegalPopUnder.json +0 -1
- package/dist/forms/generalLegalPopUnderTF.es.js +0 -3087
- package/dist/forms/generalLegalPopUnderTF.iife.js +0 -1
- package/dist/forms/generalLegalPopUnderTF.json +0 -1
- package/dist/forms/generalLegalSingle.es.js +0 -4305
- package/dist/forms/generalLegalSingle.iife.js +0 -1
- package/dist/forms/generalLegalSingle.json +0 -1
- package/dist/forms/generalLegalThankYou.es.js +0 -3067
- package/dist/forms/generalLegalThankYou.iife.js +0 -1
- package/dist/forms/generalLegalThankYou.json +0 -1
- package/dist/forms/harassmentAndDiscrimination.es.js +0 -1030
- package/dist/forms/harassmentAndDiscrimination.iife.js +0 -1
- package/dist/forms/harassmentAndDiscrimination.json +0 -1
- package/dist/forms/malpractice.es.js +0 -1253
- package/dist/forms/malpractice.iife.js +0 -1
- package/dist/forms/malpractice.json +0 -1
- package/dist/forms/mechanics.es.js +0 -385
- package/dist/forms/mechanics.iife.js +0 -1
- package/dist/forms/mechanics.json +0 -1
- package/dist/forms/realEstate.es.js +0 -2950
- package/dist/forms/realEstate.iife.js +0 -1
- package/dist/forms/realEstate.json +0 -1
- package/dist/forms/repossession.es.js +0 -1261
- package/dist/forms/repossession.iife.js +0 -1
- package/dist/forms/repossession.json +0 -1
- package/dist/forms/ssdi.es.js +0 -1073
- package/dist/forms/ssdi.iife.js +0 -1
- package/dist/forms/ssdi.json +0 -1
- package/dist/forms/testForm.es.js +0 -729
- package/dist/forms/testForm.iife.js +0 -1
- package/dist/forms/testForm.json +0 -1
- package/dist/forms/testRedirects.es.js +0 -541
- package/dist/forms/testRedirects.iife.js +0 -1
- package/dist/forms/testRedirects.json +0 -1
- package/dist/forms/vets.es.js +0 -348
- package/dist/forms/vets.iife.js +0 -1
- package/dist/forms/vets.json +0 -1
- package/dist/forms/willsAndTrusts.es.js +0 -1214
- package/dist/forms/willsAndTrusts.iife.js +0 -1
- package/dist/forms/willsAndTrusts.json +0 -1
|
@@ -1 +0,0 @@
|
|
|
1
|
-
var testForm=function(){"use strict";function e(){return Object.assign({},...arguments)}const t='$getKey($meta, "finalHeadlines." + $get(Type_Of_Legal_Problem).value, $meta.defaultFinalHeadline)',a='$getKey($meta, "finalSubHeadlines." + $get(Type_Of_Legal_Problem).value, $meta.defaultFinalSubHeadline)',i={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 n={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."};const r={$el:"div",children:[{$el:"div",attrs:{id:"form-anchor",class:"t-absolute",style:{top:"-30px",left:0}}}],attrs:{class:"t-relative"}};const o={$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 l(t){return e(o,t)}const s=[{$formkit:"hidden",name:"vertical",value:"Legal"},{$formkit:"hidden",name:"TCPA_Language",value:"$meta.tcpaLanguage"},{$formkit:"hidden",name:"gclid",value:null},{$formkit:"hidden",name:"campaignid",value:null},{$formkit:"hidden",name:"s",value:null}],d=t=>(t.labelClass="required",t.wrapperClass="side-by-side t-items-center",t.innerClass="select-height-content",t.helpClass="t-mt-2.5 md:t-text-right md:t-mt-[-5px]",(t=>(t.name&&!t.id&&(t.id=t.name),e({$formkit:"select",placeholder:"Please Select",validation:"required",validationMessages:{required:"Field is required"},inputClass:"t-bg-white",labelClass:"required"},t)))(t)),m=t=>(t.wrapperClass="side-by-side t-items-center",(t=>(t.name&&!t.id&&(t.id=t.name),e({$formkit:"text",validation:"required",validationMessages:{required:"Field is required"},labelClass:"required"},t)))(t)),c="$onEnter($setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form))))",p="$onInput($setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form))))",u=e=>"group"!==e.type&&"section"!==e.type&&"form"!==e.type&&"hidden"!==e.$formkit&&!e.children,f=e=>{if(u(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(u(a))return a;const i=f(a);if(i)return i}return null};function h(e){return{$el:"h3",children:e.headline||t,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 y(e){return{$el:"h5",children:e.subheadline||a,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 g="(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 b=(e,t)=>({$el:"section",if:'$stepEnabled("'+e+'")',attrs:{hidden:'$activeStep !== "'+e+'"',key:t||e}});function x(t,a,i=!0,n=!1,r=void 0,o=void 0){if(void 0===i&&(i=!0),a&&a.length&&(i||n)){const e=f(a[a.length-1]);e&&!0===i&&(e.onKeypress=c),e&&!0===n&&(e.onInput=p)}return e(b(t,r),{children:[{$formkit:"group",id:t,name:t,nextStepMap:o,children:a}]})}const v=[{type:"meta",data:e(n,{defaultCommentsPlaceholder:'$getKey($meta, "commentsPlaceholders." + $get(Type_Of_Legal_Problem).value, $meta.defaultCommentsPlaceholder)',commentsPlaceholders:{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"'},defaultFinalHeadline:"Submit Your Case",finalHeadlines:{},defaultFinalSubHeadline:"You may benefit from speaking with a legal professional. Please verify your contact information.",finalSubHeadlines:{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."}})},e(r,w),{$cmp:"FormKit",props:function(t){const a=e(i,t);return a.formId&&!a.name&&(a.name=a.formId),a}({formId:"testForm"}),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", "Start Here For a Free Consultation")',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", "Our Service is Fast and Free!")',if:"$activeStep === $firstStep()"}),...s,{$el:"div",attrs:{class:"form-body"},children:[function(e={}){return x("categoryAndZip",[m({label:"Zip Code:",placeholder:"#####",name:"Zip",maxlength:5,inputmode:"numeric",autocomplete:"postal-code",validation:"required|matches:/^[0-9]{5}$/",validationMessages:{required:"Zip Code is required",matches:"Invalid Zip Code"}}),d({label:"Category:",name:"category",id:"category",options:["Fruits","Vegetables"]})],e.nextOnEnter)}(),function(e={}){return x("firstAndLast",[m({$formkit:"text",label:"First Name:",placeholder:"First",name:"First_Name",autocomplete:"given-name",validationMessages:{required:"First Name is required"}}),m({$formkit:"text",label:"Last Name:",placeholder:"Last",name:"Last_Name",autocomplete:"family-name",validationMessages:{required:"Last Name is required"}})],e.nextOnEnter)}(),function(e={}){return x("contactInfo",[h(e),y(e),{$el:"script",if:"$activeStep === $lastStep()",children:g},m({$formkit:"email",name:"Email",label:"Email Address:",placeholder:"email@domain.com",autocomplete:"email","data-tf-sensitive":"false",validation:"required|email",validationMessages:{required:"Email is required",email:"Invalid Email"}}),m({$formkit:"tel",name:"Primary_Phone",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:"Field 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]"}),{$formkit:"checkbox",label:"$meta.tcpaLanguage",name:"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"}},l()],e.nextOnEnter)}(),{$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:"Next",style:{if:"$activeStep === $lastStep()",then:"display: none;"}},{$formkit:"submit",name:"submit_button",label:"Submit",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"}}]}]}]}];var w;return v}();
|
package/dist/forms/testForm.json
DELETED
|
@@ -1 +0,0 @@
|
|
|
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":{"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\""},"defaultFinalHeadline":"Submit Your Case","finalHeadlines":{},"defaultFinalSubHeadline":"You may benefit from speaking with a legal professional. Please verify your contact information.","finalSubHeadlines":{"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."}}},{"$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-[40rem]","formId":"testForm","name":"testForm"},"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\", \"Start Here For a Free Consultation\")","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 "},"children":"$urlParam(\"shl\", \"Our Service is Fast and Free!\")","if":"$activeStep === $firstStep()"},{"$formkit":"hidden","name":"vertical","value":"Legal"},{"$formkit":"hidden","name":"TCPA_Language","value":"$meta.tcpaLanguage"},{"$formkit":"hidden","name":"gclid","value":null},{"$formkit":"hidden","name":"campaignid","value":null},{"$formkit":"hidden","name":"s","value":null},{"$el":"div","attrs":{"class":"form-body"},"children":[{"$el":"section","if":"$stepEnabled(\"categoryAndZip\")","attrs":{"hidden":"$activeStep !== \"categoryAndZip\"","key":"categoryAndZip"},"children":[{"$formkit":"group","id":"categoryAndZip","name":"categoryAndZip","children":[{"$formkit":"text","validation":"required|matches:/^[0-9]{5}$/","validationMessages":{"required":"Zip Code is required","matches":"Invalid Zip Code"},"labelClass":"required","label":"Zip Code:","placeholder":"#####","name":"Zip","maxlength":5,"inputmode":"numeric","autocomplete":"postal-code","wrapperClass":"side-by-side t-items-center","id":"Zip"},{"$formkit":"select","placeholder":"Please Select","validation":"required","validationMessages":{"required":"Field is required"},"inputClass":"t-bg-white","labelClass":"required","label":"Category:","name":"category","id":"category","options":["Fruits","Vegetables"],"wrapperClass":"side-by-side t-items-center","innerClass":"select-height-content","helpClass":"t-mt-2.5 md:t-text-right md:t-mt-[-5px]","onKeypress":"$onEnter($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":[{"$formkit":"text","validation":"required","validationMessages":{"required":"First Name is required"},"labelClass":"required","label":"First Name:","placeholder":"First","name":"First_Name","autocomplete":"given-name","wrapperClass":"side-by-side t-items-center","id":"First_Name"},{"$formkit":"text","validation":"required","validationMessages":{"required":"Last Name is required"},"labelClass":"required","label":"Last Name:","placeholder":"Last","name":"Last_Name","autocomplete":"family-name","wrapperClass":"side-by-side t-items-center","id":"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":"$getKey($meta, \"finalHeadlines.\" + $get(Type_Of_Legal_Problem).value, $meta.defaultFinalHeadline)","attrs":{"class":"t-flex t-justify-center t-text-center t-text-2xl t-font-bold t-text-blue-500 t-pb-3 t-pt-0 t-px-1 "}},{"$el":"h5","children":"$getKey($meta, \"finalSubHeadlines.\" + $get(Type_Of_Legal_Problem).value, $meta.defaultFinalSubHeadline)","attrs":{"class":"t-flex t-justify-center t-text-center !t-text-lg t-font-semibold t-pb-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":"Email","label":"Email Address:","placeholder":"email@domain.com","autocomplete":"email","data-tf-sensitive":"false","wrapperClass":"side-by-side t-items-center","id":"Email"},{"$formkit":"tel","validation":"required|matches:/^[0-9]{3}-?[0-9]{3}-?[0-9]{4}$/|valid_phone","validationMessages":{"required":"Field is required","matches":"Invalid Phone Format, use ###-###-####","valid_phone":"Invalid Phone Number"},"labelClass":"required","name":"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":"Primary_Phone"},{"$formkit":"checkbox","label":"$meta.tcpaLanguage","name":"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"},"onKeypress":"$onEnter($setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form))))"},{"$el":"span","children":"Secure & Encrypted","attrs":{"class":"t-pl-2 t-pt-1 t-font-medium"}}]}]}]},{"$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":"Next","style":{"if":"$activeStep === $lastStep()","then":"display: none;"}},{"$formkit":"submit","name":"submit_button","label":"Submit","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,541 +0,0 @@
|
|
|
1
|
-
function merge() {
|
|
2
|
-
return Object.assign({}, ...arguments)
|
|
3
|
-
}
|
|
4
|
-
|
|
5
|
-
function LegalRedirectUrl() {
|
|
6
|
-
return 'https://listings.ziplawyer.com/api/v1/redirect?zone_id=4&vertical=Legal&category=${properties.Type_Of_Legal_Problem}&Degree_Of_Interest=${properties.Degree_Of_Interest}&zip_code=${properties.Zip}&sub_id=${properties.vid}'
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
const formPropDefaults = {
|
|
10
|
-
type: 'form',
|
|
11
|
-
id: 'form',
|
|
12
|
-
config: { validationVisibility: 'submit' },
|
|
13
|
-
onSubmit: '$submit($submitUrl, $prepData, $handleRedirect, "text/plain; charset=UTF-8")',
|
|
14
|
-
plugins: '$plugins',
|
|
15
|
-
actions: false,
|
|
16
|
-
anchorElement: 'form-anchor',
|
|
17
|
-
useLocalStorage: true,
|
|
18
|
-
prepop: {
|
|
19
|
-
fromURL: true
|
|
20
|
-
},
|
|
21
|
-
errorCodes: {
|
|
22
|
-
403: { message: "An Error Occurred", abort: false },
|
|
23
|
-
409: { abort: false },
|
|
24
|
-
429: "An Error Occurred",
|
|
25
|
-
504: { message: "An Error Occurred", abort: false },
|
|
26
|
-
},
|
|
27
|
-
formClass: '!t-max-w-[40rem]'
|
|
28
|
-
};
|
|
29
|
-
|
|
30
|
-
function formProps(updates) {
|
|
31
|
-
const props = merge(
|
|
32
|
-
formPropDefaults,
|
|
33
|
-
updates
|
|
34
|
-
);
|
|
35
|
-
if (props.formId && !props.name) {
|
|
36
|
-
props.name = props.formId;
|
|
37
|
-
}
|
|
38
|
-
return props
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
const formAnchorDefaults = {
|
|
42
|
-
$el: 'div',
|
|
43
|
-
children: [
|
|
44
|
-
{
|
|
45
|
-
$el: 'div',
|
|
46
|
-
attrs: {
|
|
47
|
-
id: 'form-anchor',
|
|
48
|
-
class: 't-absolute',
|
|
49
|
-
style: { top: '-30px', left: 0 }
|
|
50
|
-
}
|
|
51
|
-
}
|
|
52
|
-
],
|
|
53
|
-
attrs: {
|
|
54
|
-
class: 't-relative'
|
|
55
|
-
}
|
|
56
|
-
};
|
|
57
|
-
|
|
58
|
-
function formAnchor(updates) {
|
|
59
|
-
return merge(
|
|
60
|
-
formAnchorDefaults,
|
|
61
|
-
updates
|
|
62
|
-
)
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
function headlineDefaults(updates = {}) {
|
|
66
|
-
return {
|
|
67
|
-
$el: 'h1',
|
|
68
|
-
attrs: {
|
|
69
|
-
class: 't-flex t-justify-center t-text-center !t-text-[2rem] t-font-semibold t-pt-5 t-px-7 md:t-px-3' + ' ' + (updates.headlineClass || '')
|
|
70
|
-
}
|
|
71
|
-
}
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
function headline(updates = {}) {
|
|
75
|
-
return merge(
|
|
76
|
-
headlineDefaults(updates),
|
|
77
|
-
updates
|
|
78
|
-
)
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
const hiddenInputsBase = [
|
|
82
|
-
{
|
|
83
|
-
$formkit: 'hidden',
|
|
84
|
-
name: "gclid",
|
|
85
|
-
value: null
|
|
86
|
-
},
|
|
87
|
-
{
|
|
88
|
-
$formkit: 'hidden',
|
|
89
|
-
name: "campaignid",
|
|
90
|
-
value: null
|
|
91
|
-
},
|
|
92
|
-
{
|
|
93
|
-
$formkit: 'hidden',
|
|
94
|
-
name: "s",
|
|
95
|
-
value: null
|
|
96
|
-
}
|
|
97
|
-
];
|
|
98
|
-
|
|
99
|
-
const hiddenInputsMechanics = [
|
|
100
|
-
{
|
|
101
|
-
$formkit: 'hidden',
|
|
102
|
-
name: "vertical",
|
|
103
|
-
value: "AutoRepair"
|
|
104
|
-
},
|
|
105
|
-
...hiddenInputsBase
|
|
106
|
-
];
|
|
107
|
-
|
|
108
|
-
const radio = (updates) => {
|
|
109
|
-
if (updates.name && !updates.id) {
|
|
110
|
-
updates.id = updates.name;
|
|
111
|
-
}
|
|
112
|
-
return merge({
|
|
113
|
-
$formkit: 'radio',
|
|
114
|
-
validation: 'required',
|
|
115
|
-
validationMessages: {
|
|
116
|
-
required: 'Field is required'
|
|
117
|
-
},
|
|
118
|
-
optionsClass: 't-pt-3 t-pl-1',
|
|
119
|
-
legendClass: 'required'
|
|
120
|
-
}, updates)
|
|
121
|
-
};
|
|
122
|
-
|
|
123
|
-
const col2Radio = (updates) => {
|
|
124
|
-
updates.legendClass = 'required';
|
|
125
|
-
updates.fieldsetClass = '$reset';
|
|
126
|
-
updates.optionsClass = 't-pl-2 t-pt-3 t-grid t-grid-cols-1 md:t-grid-cols-2';
|
|
127
|
-
updates.innerClass = 't-items-start';
|
|
128
|
-
updates.wrapperClass = '$reset t-flex t-cursor-pointer t-mb-3';
|
|
129
|
-
return radio(updates)
|
|
130
|
-
};
|
|
131
|
-
|
|
132
|
-
const sbs2ItemRadio = (updates) => {
|
|
133
|
-
updates.legendClass = 'legend-left t-pb-1 required';
|
|
134
|
-
updates.fieldsetClass = '$reset side-by-side t-items-center';
|
|
135
|
-
updates.optionsClass = 't-mt-1 t-grid t-grid-cols-1 md:t-grid-cols-2-125 t-items-center';
|
|
136
|
-
updates.innerClass = 't-flex t-items-center';
|
|
137
|
-
updates.optionClass = 't-pr-1';
|
|
138
|
-
return radio(updates)
|
|
139
|
-
};
|
|
140
|
-
|
|
141
|
-
const select = (updates) => {
|
|
142
|
-
if (updates.name && !updates.id) {
|
|
143
|
-
updates.id = updates.name;
|
|
144
|
-
}
|
|
145
|
-
return merge({
|
|
146
|
-
$formkit: 'select',
|
|
147
|
-
placeholder: "Please Select",
|
|
148
|
-
validation: 'required',
|
|
149
|
-
validationMessages: {
|
|
150
|
-
required: 'Field is required'
|
|
151
|
-
},
|
|
152
|
-
inputClass: 't-bg-white',
|
|
153
|
-
labelClass: 'required'
|
|
154
|
-
}, updates)
|
|
155
|
-
};
|
|
156
|
-
|
|
157
|
-
const sbsSelect = (updates) => {
|
|
158
|
-
updates.labelClass = 'required';
|
|
159
|
-
updates.wrapperClass = 'side-by-side t-items-center';
|
|
160
|
-
updates.innerClass = 'select-height-content';
|
|
161
|
-
updates.helpClass = 't-mt-2.5 md:t-text-right md:t-mt-[-5px]';
|
|
162
|
-
return select(updates)
|
|
163
|
-
};
|
|
164
|
-
|
|
165
|
-
const text = (updates) => {
|
|
166
|
-
if (updates.name && !updates.id) {
|
|
167
|
-
updates.id = updates.name;
|
|
168
|
-
}
|
|
169
|
-
return merge({
|
|
170
|
-
$formkit: 'text',
|
|
171
|
-
validation: 'required',
|
|
172
|
-
validationMessages: {
|
|
173
|
-
required: 'Field is required'
|
|
174
|
-
},
|
|
175
|
-
labelClass: 'required'
|
|
176
|
-
}, updates)
|
|
177
|
-
};
|
|
178
|
-
|
|
179
|
-
const sbsText = (updates) => {
|
|
180
|
-
updates.wrapperClass = 'side-by-side t-items-center';
|
|
181
|
-
return text(updates)
|
|
182
|
-
};
|
|
183
|
-
|
|
184
|
-
const civilDefense = (updates) => sbs2ItemRadio(merge({
|
|
185
|
-
name: 'Civil_Defense',
|
|
186
|
-
id: 'Civil_Defense',
|
|
187
|
-
if: '$get(Type_Of_Legal_Problem).value == "Civil Lawsuit"',
|
|
188
|
-
label: 'Do You Need Representation to File a Lawsuit or Defend One?',
|
|
189
|
-
options: {
|
|
190
|
-
Yes: 'Defend a Lawsuit',
|
|
191
|
-
No: 'File a Lawsuit'
|
|
192
|
-
}
|
|
193
|
-
}, updates));
|
|
194
|
-
|
|
195
|
-
const civilLawsuitTOLPDisplay = (updates) => col2Radio(merge({
|
|
196
|
-
name: 'Type_Of_Legal_Problem_Display',
|
|
197
|
-
if: '$get(Type_Of_Legal_Problem).value == "Civil Lawsuit" && $get(Civil_Defense).value == "No"',
|
|
198
|
-
label: 'Select The Type of Lawsuit You Would Like to File:',
|
|
199
|
-
options: [
|
|
200
|
-
'Automobile Accident',
|
|
201
|
-
'Contract Disputes',
|
|
202
|
-
'Defamation and Slander',
|
|
203
|
-
'Dog Bite',
|
|
204
|
-
'Employment and Workplace',
|
|
205
|
-
'Fraud',
|
|
206
|
-
'Medical Malpractice',
|
|
207
|
-
'Personal Injury',
|
|
208
|
-
'Property Damage',
|
|
209
|
-
'Small Claims',
|
|
210
|
-
'Real Estate',
|
|
211
|
-
'Other (describe on next page)'
|
|
212
|
-
]
|
|
213
|
-
}, updates));
|
|
214
|
-
|
|
215
|
-
const employmentAndWorkplaceTOLPDisplay = (updates) => col2Radio(merge({
|
|
216
|
-
name: 'Type_Of_Legal_Problem_Display',
|
|
217
|
-
if: '$get(Type_Of_Legal_Problem).value == "Employment and Workplace"',
|
|
218
|
-
label: 'Select The Workplace Issue:',
|
|
219
|
-
options: [
|
|
220
|
-
'Workplace Harassment',
|
|
221
|
-
'Workplace Discrimination',
|
|
222
|
-
'Wrongful Termination',
|
|
223
|
-
'Payment Disputes',
|
|
224
|
-
'Workers Compensation',
|
|
225
|
-
'Personal Injury',
|
|
226
|
-
'Unemployment',
|
|
227
|
-
'Other Workplace Issues'
|
|
228
|
-
]
|
|
229
|
-
}, updates));
|
|
230
|
-
|
|
231
|
-
const TOLPOptions = [
|
|
232
|
-
'Adoption',
|
|
233
|
-
'Asbestos and Mesothelioma',
|
|
234
|
-
'Auto and Car Accidents',
|
|
235
|
-
'Bankruptcy',
|
|
236
|
-
'Birth Certificate and Name Change',
|
|
237
|
-
'Business Lawyers',
|
|
238
|
-
'Child Custody',
|
|
239
|
-
'Child Support',
|
|
240
|
-
'Civil Rights and Discrimination',
|
|
241
|
-
'Consumer Lawyers',
|
|
242
|
-
'Copyrights and Trademarks',
|
|
243
|
-
'Criminal and Felony',
|
|
244
|
-
'Debt and Collections',
|
|
245
|
-
'Defend a Lawsuit',
|
|
246
|
-
'Divorce and Separation',
|
|
247
|
-
'DUI and DWI',
|
|
248
|
-
'Elder Law',
|
|
249
|
-
'Employment and Workplace',
|
|
250
|
-
'Expungement',
|
|
251
|
-
'Family Issues',
|
|
252
|
-
'File a Lawsuit',
|
|
253
|
-
'Foreclosure',
|
|
254
|
-
'Guardianship',
|
|
255
|
-
'Harassment and Discrimination',
|
|
256
|
-
'Identity Theft',
|
|
257
|
-
'Immigration and Visas',
|
|
258
|
-
'Insurance',
|
|
259
|
-
'Landlord and Tenant',
|
|
260
|
-
'Lemon Law',
|
|
261
|
-
'Long Term Disability',
|
|
262
|
-
'Medical Malpractice',
|
|
263
|
-
'Non-Workplace Discrimination',
|
|
264
|
-
'Non-Workplace Harassment',
|
|
265
|
-
'Patents and Intellectual Property',
|
|
266
|
-
'Personal Injury',
|
|
267
|
-
'Power of Attorney',
|
|
268
|
-
'Probate and Estates',
|
|
269
|
-
'Product Liability',
|
|
270
|
-
'Property Damage',
|
|
271
|
-
'Real Estate',
|
|
272
|
-
'Sexual Harassment',
|
|
273
|
-
'Social Security Disability and Insurance',
|
|
274
|
-
'Tax and IRS',
|
|
275
|
-
'Traffic and Tickets',
|
|
276
|
-
'Unemployment',
|
|
277
|
-
'Victim of a Crime',
|
|
278
|
-
'Wills and Trusts',
|
|
279
|
-
'Workers Compensation',
|
|
280
|
-
'Workplace Discrimination',
|
|
281
|
-
'Workplace Harassment',
|
|
282
|
-
'Wrongful Death',
|
|
283
|
-
'Wrongful Termination',
|
|
284
|
-
'Not Sure or Other'
|
|
285
|
-
];
|
|
286
|
-
|
|
287
|
-
const generalTOLP = (updates) => sbsSelect(merge({
|
|
288
|
-
label: 'Type of Help Needed:',
|
|
289
|
-
name: 'Type_Of_Legal_Problem',
|
|
290
|
-
id: 'Type_Of_Legal_Problem',
|
|
291
|
-
options: TOLPOptions,
|
|
292
|
-
}, updates));
|
|
293
|
-
|
|
294
|
-
const landlordTenantIssueRadio = () => col2Radio({
|
|
295
|
-
label: 'What is the Landlord / Tenant Issue?',
|
|
296
|
-
if: '$get(Type_Of_Legal_Problem).value == "Landlord and Tenant"',
|
|
297
|
-
id: 'Landlord_Tenant_Issue',
|
|
298
|
-
name: 'Landlord_Tenant_Issue',
|
|
299
|
-
options: [
|
|
300
|
-
"Eviction",
|
|
301
|
-
"Repairs and Maintenance",
|
|
302
|
-
"Lease and Rental Agreements",
|
|
303
|
-
"Discrimination",
|
|
304
|
-
"Right of Entry and Privacy",
|
|
305
|
-
"Screening and Applications",
|
|
306
|
-
"Environmental Hazards",
|
|
307
|
-
"Other Dispute"
|
|
308
|
-
]
|
|
309
|
-
});
|
|
310
|
-
|
|
311
|
-
const realEstateTOLPDisplay = (updates) => col2Radio(merge({
|
|
312
|
-
name: 'Type_Of_Legal_Problem_Display',
|
|
313
|
-
if: '$get(Type_Of_Legal_Problem).value == "Real Estate"',
|
|
314
|
-
label: 'Select The Type of Real Estate Issue:',
|
|
315
|
-
options: [
|
|
316
|
-
'Contracts and Agreements',
|
|
317
|
-
'Deeds, Liens, and Titles',
|
|
318
|
-
'Foreclosure',
|
|
319
|
-
'Insurance',
|
|
320
|
-
'Landlord and Tenant',
|
|
321
|
-
'Loans and Mortgages',
|
|
322
|
-
'Wills, Trusts, and Estates',
|
|
323
|
-
'Property Damage',
|
|
324
|
-
'Other Real Estate Issues'
|
|
325
|
-
]
|
|
326
|
-
}, updates));
|
|
327
|
-
|
|
328
|
-
const zipcode = () => sbsText({
|
|
329
|
-
label: 'Zip Code:',
|
|
330
|
-
placeholder: '#####',
|
|
331
|
-
name: 'Zip',
|
|
332
|
-
maxlength: 5,
|
|
333
|
-
inputmode: "numeric",
|
|
334
|
-
autocomplete: 'postal-code',
|
|
335
|
-
validation: 'required|matches:/^[0-9]{5}$/',
|
|
336
|
-
validationMessages: {
|
|
337
|
-
required: 'Zip Code is required',
|
|
338
|
-
matches: 'Invalid Zip Code'
|
|
339
|
-
}
|
|
340
|
-
});
|
|
341
|
-
|
|
342
|
-
const criminalTOLPDisplay = (updates) => col2Radio(merge({
|
|
343
|
-
name: 'Type_Of_Legal_Problem_Display',
|
|
344
|
-
if: '$get(Type_Of_Legal_Problem).value == "Criminal and Felony"',
|
|
345
|
-
label: 'Which Type of Criminal Issue?',
|
|
346
|
-
options: [
|
|
347
|
-
'Criminal Defense',
|
|
348
|
-
'Victim of a Crime',
|
|
349
|
-
'DUI and DWI',
|
|
350
|
-
'Expungement',
|
|
351
|
-
'Harassment',
|
|
352
|
-
'Not Sure or Other',
|
|
353
|
-
]
|
|
354
|
-
}, updates));
|
|
355
|
-
|
|
356
|
-
const NEXT_ON_ENTER = '$onEnter($setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form))))';
|
|
357
|
-
const NEXT_ON_INPUT = '$onInput($setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form))))';
|
|
358
|
-
|
|
359
|
-
const isInput = (n) => { return (n.type !== 'group' && n.type !== 'section' && n.type !== 'form' && n.$formkit !== 'hidden' && !n.children) };
|
|
360
|
-
|
|
361
|
-
const findLastInput = (n) => {
|
|
362
|
-
if (isInput(n)) {
|
|
363
|
-
return n
|
|
364
|
-
}
|
|
365
|
-
for (var i = n.children.length - 1; i >= 0; i--) {
|
|
366
|
-
if (typeof n.children === 'string') {
|
|
367
|
-
continue
|
|
368
|
-
}
|
|
369
|
-
const child = n.children[i];
|
|
370
|
-
if (isInput(child)) {
|
|
371
|
-
return child
|
|
372
|
-
}
|
|
373
|
-
const res = findLastInput(child);
|
|
374
|
-
if (res) {
|
|
375
|
-
return res
|
|
376
|
-
}
|
|
377
|
-
}
|
|
378
|
-
return null
|
|
379
|
-
};
|
|
380
|
-
|
|
381
|
-
const stepDefaults = (step, stepKey) => ({
|
|
382
|
-
$el: 'section',
|
|
383
|
-
if: '$stepEnabled("' + step + '")',
|
|
384
|
-
attrs: {
|
|
385
|
-
hidden: '$activeStep !== "' + step + '"',
|
|
386
|
-
key: stepKey ? stepKey : step
|
|
387
|
-
}
|
|
388
|
-
});
|
|
389
|
-
|
|
390
|
-
function step(name, inputs, nextOnEnter = true, nextOnInput = false, stepKey = undefined, nextStepMap = undefined) {
|
|
391
|
-
if (typeof nextOnEnter === 'undefined') {
|
|
392
|
-
nextOnEnter = true;
|
|
393
|
-
}
|
|
394
|
-
if (inputs && inputs.length && (nextOnEnter || nextOnInput)) {
|
|
395
|
-
const lastInput = findLastInput(inputs[inputs.length - 1]);
|
|
396
|
-
if (lastInput && nextOnEnter === true) {
|
|
397
|
-
lastInput.onKeypress = NEXT_ON_ENTER;
|
|
398
|
-
}
|
|
399
|
-
if (lastInput && nextOnInput === true) {
|
|
400
|
-
lastInput.onInput = NEXT_ON_INPUT;
|
|
401
|
-
}
|
|
402
|
-
}
|
|
403
|
-
|
|
404
|
-
return merge(
|
|
405
|
-
stepDefaults(name, stepKey),
|
|
406
|
-
{
|
|
407
|
-
children: [
|
|
408
|
-
{
|
|
409
|
-
$formkit: 'group',
|
|
410
|
-
id: name,
|
|
411
|
-
name: name,
|
|
412
|
-
nextStepMap: nextStepMap,
|
|
413
|
-
children: inputs
|
|
414
|
-
}
|
|
415
|
-
]
|
|
416
|
-
}
|
|
417
|
-
)
|
|
418
|
-
}
|
|
419
|
-
|
|
420
|
-
function generalLegalTOLPAndZip(updates = {}) {
|
|
421
|
-
return step(
|
|
422
|
-
'generalLegalTOLPAndZip',
|
|
423
|
-
[
|
|
424
|
-
generalTOLP(),
|
|
425
|
-
civilDefense(),
|
|
426
|
-
civilLawsuitTOLPDisplay(),
|
|
427
|
-
criminalTOLPDisplay(),
|
|
428
|
-
employmentAndWorkplaceTOLPDisplay(),
|
|
429
|
-
landlordTenantIssueRadio(),
|
|
430
|
-
realEstateTOLPDisplay(),
|
|
431
|
-
zipcode()
|
|
432
|
-
],
|
|
433
|
-
updates.nextOnEnter
|
|
434
|
-
)
|
|
435
|
-
}
|
|
436
|
-
|
|
437
|
-
function formNavigationOnlySubmit(updates = {}) {
|
|
438
|
-
return {
|
|
439
|
-
$el: 'div',
|
|
440
|
-
attrs: {
|
|
441
|
-
class: 'step-nav'
|
|
442
|
-
},
|
|
443
|
-
children: [
|
|
444
|
-
{
|
|
445
|
-
$formkit: 'button',
|
|
446
|
-
name: 'hidden_button',
|
|
447
|
-
children: 'Hidden',
|
|
448
|
-
style: {
|
|
449
|
-
if: '$activeStep === $firstStep()',
|
|
450
|
-
then: 'visibility: hidden;'
|
|
451
|
-
}
|
|
452
|
-
},
|
|
453
|
-
{
|
|
454
|
-
$formkit: 'submit',
|
|
455
|
-
name: 'submit_button',
|
|
456
|
-
label: updates.submitLabel || 'Chat Now'
|
|
457
|
-
}
|
|
458
|
-
]
|
|
459
|
-
}
|
|
460
|
-
}
|
|
461
|
-
|
|
462
|
-
const formDetails = () => ({
|
|
463
|
-
$el: 'pre',
|
|
464
|
-
if: '$urlParam("fdbg", "") == 1',
|
|
465
|
-
children: [
|
|
466
|
-
{
|
|
467
|
-
$el: 'pre',
|
|
468
|
-
children: '$stringify( $get(form).value )',
|
|
469
|
-
attrs: {
|
|
470
|
-
class: 't-text-xs',
|
|
471
|
-
style: 'overflow: scroll'
|
|
472
|
-
}
|
|
473
|
-
},
|
|
474
|
-
{
|
|
475
|
-
$el: 'pre',
|
|
476
|
-
children: ['activeStep: ', '$activeStep'],
|
|
477
|
-
attrs: {
|
|
478
|
-
class: 't-text-xs',
|
|
479
|
-
style: 'overflow: scroll'
|
|
480
|
-
}
|
|
481
|
-
},
|
|
482
|
-
{
|
|
483
|
-
$el: 'pre',
|
|
484
|
-
children: ['stepHistory: ', '$stepHistory'],
|
|
485
|
-
attrs: {
|
|
486
|
-
class: 't-text-xs',
|
|
487
|
-
style: 'overflow: scroll'
|
|
488
|
-
}
|
|
489
|
-
},
|
|
490
|
-
{
|
|
491
|
-
$el: 'pre',
|
|
492
|
-
children: ['stepQueue: ', '$stepQueue'],
|
|
493
|
-
attrs: {
|
|
494
|
-
class: 't-text-xs',
|
|
495
|
-
style: 'overflow: scroll'
|
|
496
|
-
}
|
|
497
|
-
},
|
|
498
|
-
{
|
|
499
|
-
$el: 'pre',
|
|
500
|
-
children: ['steps: ', '$stepKeys()'],
|
|
501
|
-
attrs: {
|
|
502
|
-
class: 't-text-xs',
|
|
503
|
-
style: 'overflow: scroll'
|
|
504
|
-
}
|
|
505
|
-
}
|
|
506
|
-
]
|
|
507
|
-
});
|
|
508
|
-
|
|
509
|
-
const schema = [
|
|
510
|
-
formAnchor(),
|
|
511
|
-
{
|
|
512
|
-
$cmp: 'FormKit',
|
|
513
|
-
props: formProps({
|
|
514
|
-
formId: 'testRedirects',
|
|
515
|
-
redirectMap: {
|
|
516
|
-
'*': LegalRedirectUrl()
|
|
517
|
-
},
|
|
518
|
-
formClass: '!t-max-w-[36rem]'
|
|
519
|
-
}),
|
|
520
|
-
children: [
|
|
521
|
-
headline({
|
|
522
|
-
children: '$urlParam("hl", "Have Questions for a Lawyer?")',
|
|
523
|
-
if: '$activeStep === $firstStep()'
|
|
524
|
-
}),
|
|
525
|
-
...hiddenInputsMechanics,
|
|
526
|
-
{
|
|
527
|
-
$el: 'div',
|
|
528
|
-
attrs: {
|
|
529
|
-
class: 'form-body'
|
|
530
|
-
},
|
|
531
|
-
children: [
|
|
532
|
-
generalLegalTOLPAndZip(),
|
|
533
|
-
formNavigationOnlySubmit(),
|
|
534
|
-
formDetails()
|
|
535
|
-
]
|
|
536
|
-
}
|
|
537
|
-
]
|
|
538
|
-
}
|
|
539
|
-
];
|
|
540
|
-
|
|
541
|
-
export { schema as default };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
var testRedirects=function(){"use strict";function e(){return Object.assign({},...arguments)}const t={type:"form",id:"form",config:{validationVisibility:"submit"},onSubmit:'$submit($submitUrl, $prepData, $handleRedirect, "text/plain; charset=UTF-8")',plugins:"$plugins",actions:!1,anchorElement:"form-anchor",useLocalStorage:!0,prepop:{fromURL:!0},errorCodes:{403:{message:"An Error Occurred",abort:!1},409:{abort:!1},429:"An Error Occurred",504:{message:"An Error Occurred",abort:!1}},formClass:"!t-max-w-[40rem]"};const r=[{$formkit:"hidden",name:"vertical",value:"AutoRepair"},{$formkit:"hidden",name:"gclid",value:null},{$formkit:"hidden",name:"campaignid",value:null},{$formkit:"hidden",name:"s",value:null}],a=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)),i=e=>(e.legendClass="required",e.fieldsetClass="$reset",e.optionsClass="t-pl-2 t-pt-3 t-grid t-grid-cols-1 md:t-grid-cols-2",e.innerClass="t-items-start",e.wrapperClass="$reset t-flex t-cursor-pointer t-mb-3",a(e)),n=t=>(t.labelClass="required",t.wrapperClass="side-by-side t-items-center",t.innerClass="select-height-content",t.helpClass="t-mt-2.5 md:t-text-right md:t-mt-[-5px]",(t=>(t.name&&!t.id&&(t.id=t.name),e({$formkit:"select",placeholder:"Please Select",validation:"required",validationMessages:{required:"Field is required"},inputClass:"t-bg-white",labelClass:"required"},t)))(t)),s=t=>(t.wrapperClass="side-by-side t-items-center",(t=>(t.name&&!t.id&&(t.id=t.name),e({$formkit:"text",validation:"required",validationMessages:{required:"Field is required"},labelClass:"required"},t)))(t)),l=t=>(e=>(e.legendClass="legend-left t-pb-1 required",e.fieldsetClass="$reset side-by-side t-items-center",e.optionsClass="t-mt-1 t-grid t-grid-cols-1 md:t-grid-cols-2-125 t-items-center",e.innerClass="t-flex t-items-center",e.optionClass="t-pr-1",a(e)))(e({name:"Civil_Defense",id:"Civil_Defense",if:'$get(Type_Of_Legal_Problem).value == "Civil Lawsuit"',label:"Do You Need Representation to File a Lawsuit or Defend One?",options:{Yes:"Defend a Lawsuit",No:"File a Lawsuit"}},t)),o=t=>i(e({name:"Type_Of_Legal_Problem_Display",if:'$get(Type_Of_Legal_Problem).value == "Civil Lawsuit" && $get(Civil_Defense).value == "No"',label:"Select The Type of Lawsuit You Would Like to File:",options:["Automobile Accident","Contract Disputes","Defamation and Slander","Dog Bite","Employment and Workplace","Fraud","Medical Malpractice","Personal Injury","Property Damage","Small Claims","Real Estate","Other (describe on next page)"]},t)),d=t=>i(e({name:"Type_Of_Legal_Problem_Display",if:'$get(Type_Of_Legal_Problem).value == "Employment and Workplace"',label:"Select The Workplace Issue:",options:["Workplace Harassment","Workplace Discrimination","Wrongful Termination","Payment Disputes","Workers Compensation","Personal Injury","Unemployment","Other Workplace Issues"]},t)),p=["Adoption","Asbestos and Mesothelioma","Auto and Car Accidents","Bankruptcy","Birth Certificate and Name Change","Business Lawyers","Child Custody","Child Support","Civil Rights and Discrimination","Consumer Lawyers","Copyrights and Trademarks","Criminal and Felony","Debt and Collections","Defend a Lawsuit","Divorce and Separation","DUI and DWI","Elder Law","Employment and Workplace","Expungement","Family Issues","File a Lawsuit","Foreclosure","Guardianship","Harassment and Discrimination","Identity Theft","Immigration and Visas","Insurance","Landlord and Tenant","Lemon Law","Long Term Disability","Medical Malpractice","Non-Workplace Discrimination","Non-Workplace Harassment","Patents and Intellectual Property","Personal Injury","Power of Attorney","Probate and Estates","Product Liability","Property Damage","Real Estate","Sexual Harassment","Social Security Disability and Insurance","Tax and IRS","Traffic and Tickets","Unemployment","Victim of a Crime","Wills and Trusts","Workers Compensation","Workplace Discrimination","Workplace Harassment","Wrongful Death","Wrongful Termination","Not Sure or Other"],c=t=>n(e({label:"Type of Help Needed:",name:"Type_Of_Legal_Problem",id:"Type_Of_Legal_Problem",options:p},t)),m=t=>i(e({name:"Type_Of_Legal_Problem_Display",if:'$get(Type_Of_Legal_Problem).value == "Real Estate"',label:"Select The Type of Real Estate Issue:",options:["Contracts and Agreements","Deeds, Liens, and Titles","Foreclosure","Insurance","Landlord and Tenant","Loans and Mortgages","Wills, Trusts, and Estates","Property Damage","Other Real Estate Issues"]},t)),u=t=>i(e({name:"Type_Of_Legal_Problem_Display",if:'$get(Type_Of_Legal_Problem).value == "Criminal and Felony"',label:"Which Type of Criminal Issue?",options:["Criminal Defense","Victim of a Crime","DUI and DWI","Expungement","Harassment","Not Sure or Other"]},t)),f="$onEnter($setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form))))",g="$onInput($setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form))))",y=e=>"group"!==e.type&&"section"!==e.type&&"form"!==e.type&&"hidden"!==e.$formkit&&!e.children,h=e=>{if(y(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(y(r))return r;const a=h(r);if(a)return a}return null},$=(e,t)=>({$el:"section",if:'$stepEnabled("'+e+'")',attrs:{hidden:'$activeStep !== "'+e+'"',key:t||e}});const b=[e({$el:"div",children:[{$el:"div",attrs:{id:"form-anchor",class:"t-absolute",style:{top:"-30px",left:0}}}],attrs:{class:"t-relative"}},v),{$cmp:"FormKit",props:function(r){const a=e(t,r);return a.formId&&!a.name&&(a.name=a.formId),a}({formId:"testRedirects",redirectMap:{"*":"https://listings.ziplawyer.com/api/v1/redirect?zone_id=4&vertical=Legal&category=${properties.Type_Of_Legal_Problem}&Degree_Of_Interest=${properties.Degree_Of_Interest}&zip_code=${properties.Zip}&sub_id=${properties.vid}"},formClass:"!t-max-w-[36rem]"}),children:[function(t={}){return e(function(e={}){return{$el:"h1",attrs:{class:"t-flex t-justify-center t-text-center !t-text-[2rem] t-font-semibold t-pt-5 t-px-7 md:t-px-3 "+(e.headlineClass||"")}}}(t),t)}({children:'$urlParam("hl", "Have Questions for a Lawyer?")',if:"$activeStep === $firstStep()"}),...r,{$el:"div",attrs:{class:"form-body"},children:[function(t={}){return function(t,r,a=!0,i=!1,n,s){if(void 0===a&&(a=!0),r&&r.length&&(a||i)){const e=h(r[r.length-1]);e&&!0===a&&(e.onKeypress=f),e&&!0===i&&(e.onInput=g)}return e($(t,n),{children:[{$formkit:"group",id:t,name:t,nextStepMap:s,children:r}]})}("generalLegalTOLPAndZip",[c(),l(),o(),u(),d(),i({label:"What is the Landlord / Tenant Issue?",if:'$get(Type_Of_Legal_Problem).value == "Landlord and Tenant"',id:"Landlord_Tenant_Issue",name:"Landlord_Tenant_Issue",options:["Eviction","Repairs and Maintenance","Lease and Rental Agreements","Discrimination","Right of Entry and Privacy","Screening and Applications","Environmental Hazards","Other Dispute"]}),m(),s({label:"Zip Code:",placeholder:"#####",name:"Zip",maxlength:5,inputmode:"numeric",autocomplete:"postal-code",validation:"required|matches:/^[0-9]{5}$/",validationMessages:{required:"Zip Code is required",matches:"Invalid Zip Code"}})],t.nextOnEnter)}(),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 v;return b}();
|