1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[45053],{21975:(e,t,a)=>{a.d(t,{A:()=>c,L:()=>d});var n=a(95155),l=a(12115),o=a(12108),r=a(24033),s=a(79297),i=a(18882);let c=e=>{let{stepNumber:t,title:a,isOpen:l,onToggle:s,children:i,actions:c}=e;return(0,n.jsxs)("div",{className:"bg-white rounded-lg border border-border overflow-hidden shadow-sm",children:[(0,n.jsxs)("div",{className:"bg-[var(--custom-primary)] text-white flex items-center gap-3 transition-all duration-200 hover:brightness-[0.95]",children:[(0,n.jsxs)("button",{type:"button",onClick:s,"aria-expanded":l,className:"flex-1 min-w-0 px-5 py-4 flex items-center justify-between gap-3 text-left cursor-pointer",children:[(0,n.jsxs)("span",{className:"min-w-0 break-words font-display text-lg font-semibold",children:["Step ",t,": ",a]}),(0,n.jsx)("span",{className:"flex-shrink-0 text-white",children:l?(0,n.jsx)(o.A,{className:"w-5 h-5"}):(0,n.jsx)(r.A,{className:"w-5 h-5"})})]}),c?(0,n.jsx)("span",{className:"flex-shrink-0 pr-4",children:c}):null]}),(0,n.jsx)("div",{className:"transition-all duration-400 ease-in-out overflow-hidden ".concat(l?"max-h-[3000px] opacity-100":"max-h-0 opacity-0"),children:(0,n.jsx)("div",{className:"p-6 bg-white border-t border-border",children:i})})]})},d=e=>{var t,a;let{tabs:o,editPath:r,metaAt:c,className:d}=e,u=(0,i.bd)(),p=!!((null==u?void 0:u.chromeActive)&&r),[h,m]=(0,l.useState)(0),b=Array.isArray(o)?o:[];if((0,l.useEffect)(()=>{0!==b.length&&m(e=>Math.min(e,b.length-1))},[b.length]),0===b.length&&!p)return null;let g=Math.min(h,Math.max(b.length-1,0)),x=b[g];return(0,n.jsxs)("div",{className:null!=d?d:"mt-6",children:[(0,n.jsxs)("div",{className:"flex flex-wrap items-center gap-1",children:[b.map((e,t)=>{var a,l;return(0,n.jsxs)("span",{className:"inline-flex max-w-full items-center rounded-t-lg transition-all duration-200 ".concat(g===t?"bg-[var(--custom-primary)] text-white hover:brightness-[0.95]":"bg-muted text-tab-inactive hover:bg-muted/80"),children:[(0,n.jsx)("button",{type:"button",onClick:()=>m(t),className:"min-w-0 break-words px-4 py-2.5 text-sm font-medium cursor-pointer ".concat(p?"pr-2":""),children:r?(0,n.jsx)(s.w,{path:"".concat(r,".").concat(t,".label"),value:(null==(a=e.label)?void 0:a.trim())||"Tab ".concat(t+1),label:"Tab label",meta:null==c?void 0:c("".concat(r,".").concat(t,".label"))}):(null==(l=e.label)?void 0:l.trim())||"Tab ".concat(t+1)}),p&&(0,n.jsx)("button",{type:"button",title:"Remove tab",onClick:e=>{e.preventDefault(),e.stopPropagation(),(e=>{u.removeArrayItem(r,e),m(t=>t>=e&&t>0?t-1:t)})(t)},className:"mr-2 rounded bg-slate-900/85 px-1.5 py-0.5 text-[10px] font-semibold text-white hover:bg-slate-900",children:"â"})]},t)}),p&&(0,n.jsxs)("button",{type:"button",onClick:()=>{u.addArrayItem(r,{label:"New tab",content:"Tab content"}),m(b.length)},className:"ml-1 inline-flex items-center gap-1 rounded-md border-2 border-dashed border-blue-300 bg-blue-50/60 px-3 py-2 text-xs font-semibold text-blue-600 hover:bg-blue-100",children:[(0,n.jsx)("span",{className:"text-base leading-none",children:"+"})," Add tab"]})]}),b.length>0&&(0,n.jsx)("div",{className:"bg-muted rounded-b-lg rounded-tr-lg p-5",children:(0,n.jsx)("p",{className:"text-sm leading-relaxed text-foreground whitespace-pre-wrap",children:r?(0,n.jsx)(s.w,{path:"".concat(r,".").concat(g,".content"),value:null!=(t=null==x?void 0:x.content)?t:"",label:"Tab content",meta:null==c?void 0:c("".concat(r,".").concat(g,".content"))}):null!=(a=null==x?void 0:x.content)?a:""})})]})}},70299:(e,t,a)=>{a.d(t,{g:()=>i,m:()=>s});var n=a(76329),l=a(242),o=a(13203),r=a(95125);async function s(e){var t;let a=new URLSearchParams({websiteId:e}),o=await r.A.get((0,n.e9)("/api/loan-process-accordion?".concat(a)),{headers:{"Content-Type":"application/json"},withCredentials:!0}),s=(0,l.x)(o);if(!s.success)throw Error(s.message||"Failed to fetch Loan Process Accordion content");return null!=(t=s.data)?t:null}async function i(e,t){let a=(0,o.Sw)(),s={"Content-Type":"application/json",...a?{Authorization:"Bearer ".concat(a)}:{}},i=await r.A.post((0,n.e9)("/api/loan-process-accordion"),{websiteId:e,...t,...a?{authToken:a}:{}}
1,{headers:s,withCredentials:!0}),c=(0,l.x)(i);if(!c.success)throw Error(c.message||"Failed to save Loan Process Accordion content");return c.data}},80099:(e,t,a)=>{a.d(t,{Gd:()=>F,KU:()=>T,N5:()=>P,h_:()=>k,hi:()=>E,mA:()=>C});var n=a(95155),l=a(12115),o=a(21975),r=a(44618),s=a(18882),i=a(79297);function c(e){var t;let a=null!=(t=null==e?void 0:e.trim())?t:"";return a?/^https?:\/\//i.test(a)?a:"https://".concat(a.replace(/^\/+/,"")):""}let d=l.forwardRef(function(e,t){var a;let{children:l,className:o="inline-block bg-[var(--custom-accent)] text-white font-semibold rounded-lg px-6 py-3 text-sm transition-all hover:brightness-[0.93] hover:shadow-lg hover:scale-[1.02]",href:s,style:i}=e,{content:d}=(0,r._)(),u=c(null==d||null==(a=d.personalInformation)?void 0:a.onlineApplicationLink),p=c(s);return p||u?(0,n.jsx)("a",{ref:t,href:p||"/apply-now",className:o,style:i,children:l}):(0,n.jsx)("span",{ref:t,className:"".concat(o," opacity-50 cursor-not-allowed"),style:i,role:"button","aria-disabled":!0,title:"Online application link is not set in site profile",children:l})});function u(e){var t,a;let{basePath:l,metaAt:o,labelField:r,urlField:s,enabledField:c,content:u,defaultLabel:p}=e,h="".concat(l,".").concat(r),m=null==o?void 0:o(h),b=null!=(t=null==u?void 0:u[r])?t:p,g=null!=(a=null==u?void 0:u[s])?a:"",x=(null==u?void 0:u[c])!==!1,v={...m,hide:(null==m?void 0:m.hide)||!x};return(0,n.jsx)(i.nZ,{label:"Button",group:{labelPath:h,urlPath:"".concat(l,".").concat(s),enabledPath:"".concat(l,".").concat(c)},meta:v,children:(0,n.jsx)(d,{href:g,children:b})})}function p(e){let{onClick:t}=e;return(0,n.jsx)("button",{type:"button",onClick:e=>{e.preventDefault(),e.stopPropagation(),t()},className:"ml-2 shrink-0 rounded bg-slate-900/85 px-1.5 py-0.5 text-[10px] font-semibold text-white hover:bg-slate-900",children:"â"})}function h(e){let{label:t,onClick:a}=e;return(0,n.jsxs)("button",{type:"button",onClick:a,className:"mt-2 inline-flex items-center gap-1.5 rounded-md border-2 border-dashed border-blue-300 bg-blue-50/50 px-3 py-1.5 text-xs font-semibold text-blue-600 hover:bg-blue-100",children:[(0,n.jsx)("span",{className:"text-base leading-none",children:"+"})," ",t]})}let m=e=>{var t,a,o;let{tabs:r,basePath:c,metaAt:d}=e,u=(0,s.bd)(),m=!!((null==u?void 0:u.chromeActive)&&c),[b,g]=(0,l.useState)(0),x=Array.isArray(r)&&r.length>0?r:[];if((0,l.useEffect)(()=>{0!==x.length&&g(e=>Math.min(e,x.length-1))},[x.length]),0===x.length&&!m)return null;let v=Math.min(b,Math.max(x.length-1,0)),y=x[v],f=null!=(o=null==y||null==(t=y.content)?void 0:t.description)?o:"",w=Array.isArray(null==y||null==(a=y.content)?void 0:a.bullets)?y.content.bullets:[];return(0,n.jsxs)("div",{className:"mt-6",children:[(0,n.jsxs)("div",{className:"flex flex-wrap items-center gap-1",children:[x.map((e,t)=>(0,n.jsxs)("span",{className:"inline-flex items-center rounded-t-lg transition-all duration-200 ".concat(v===t?"bg-[var(--custom-primary)] text-white hover:brightness-[0.95]":"bg-muted text-tab-inactive hover:bg-muted/80"),children:[(0,n.jsx)("button",{type:"button",onClick:()=>g(t),className:"px-4 py-2.5 text-sm font-medium cursor-pointer ".concat(m?"pr-2":""),children:m?(0,n.jsx)(i.w,{path:"".concat(c,".tabs2.").concat(t,".label"),value:e.label||"Tab ".concat(t+1),label:"Tab label",meta:null==d?void 0:d("".concat(c,".tabs2.").concat(t,".label"))}):e.label||"Tab ".concat(t+1)}),m&&(0,n.jsx)("button",{type:"button",title:"Remove tab",onClick:e=>{e.preventDefault(),e.stopPropagation(),u.removeArrayItem("".concat(c,".tabs2"),t),g(e=>e>=t&&e>0?e-1:e)},className:"mr-2 rounded bg-slate-900/85 px-1.5 py-0.5 text-[10px] font-semibold text-white hover:bg-slate-900",children:"â"})]},t)),m&&(0,n.jsxs)("button",{type:"button",onClick:()=>{u.addArrayItem("".concat(c,".tabs2"),{label:"New tab",description:"Tab description",bullets:["New bullet"]}),g(x.length)},className:"ml-1 inline-flex items-center gap-1 rounded-md border-2 border-dashed border-blue-300 bg-blue-50/60 px-3 py-2 text-xs font-semibold text-blue-600 hover:bg-blue-100",children:[(0,n.jsx)("span",{className:"text-base leading-none",children:"+"})," Add tab"]})]}),x.length>0&&(0,n.jsxs)("div",{className:"bg-muted rounded-b-lg rounded-tr-lg p-5",children:[f||m?(0,n.jsx)("p",{className:"text-sm leading-relaxed text-foreground",children:(0,n.jsx)(i.w,{path:"".concat(c,".tabs2.").concat(v,".description"),value:f,label:"Tab description",meta:null==d?void 0:d("".concat(c,".tabs2.").concat(v,".description"))})}):null,(0,n.jsx)("ul",{className:"list-disc list-inside space-y-2 text-sm text-foreground mt-3 ml-2",children:w.map((e,t)=>(0,n.jsxs)("li",{className:"flex min-w-0 items-start",children:[(0,n.jsx)("span",{className:"min-w-0 flex-1 break-words",children:(0,n.jsx)(i.w,{path:"".concat(c,".tabs2.").concat(v,".bullets.").concat(t),value:e,label:"Bullet",meta:null==d?void 0:d("".concat(c,".tabs2.").concat(v,".bullets.").concat(t))})}),m&&(0,n.jsx)(p,{onClick:()=>u.removeArrayItem("".concat(c,".tabs2.").concat(v,".bullets"),t)})]},t))}),m&&(0,n.jsx)(h,{label:"Add bullet",onClick:()=>u.addArrayItem("".concat(c,".tabs2.").concat(v,".bullets"),"New bullet")})]})]})}
1,b=[{label:"LTV & Debt-to-Income Ratios",content:"LTV or Loan-To-Value ratio is the maximum amount of exposure that a lender is willing to accept in financing your purchase. Lenders are usually prepared to lend a higher percentage of the value, even up to 100%, to creditworthy borrowers. Another consideration in approving the maximum amount of loan for a particular borrower is the ratio of monthly debt payments (such as auto and personal loans) to income. Rule of thumb states that your monthly mortgage payments should not exceed 1/3 of your gross monthly income. Therefore, borrowers with high debt-to-income ratio need to pay a higher down payment in order to qualify for a lower LTV ratio."},{label:"FICO\xae Credit Score",content:"Your FICO\xae credit score is one of the most important factors lenders consider when evaluating your mortgage application..."},{label:"Self-Employed Borrower",content:"Self-employed borrowers face additional requirements when applying for a mortgage..."},{label:"Source of Down Payment",content:"Lenders want to verify that your down payment comes from acceptable sources..."}],g="The first step in obtaining a loan is to determine how much money you can borrow. In case of buying a home, you should determine how much home you can afford even before you begin looking. By answering a few simple questions, we will calculate your buying power, based on standard lender guidelines.",x="You may also elect to get pre-approved for a loan which requires verification of your income, credit, assets and liabilities. It is recommended that you get pre-approved before you start looking for your new house so you:",v=["Look for properties within your range.","Be in a better position when negotiating with the seller (seller knows your loan is already approved).","Close your loan quicker"],y="Home loans come in many shapes and sizes. Deciding which loan makes the most sense for your financial situation and goals means understanding the benefits of each. Whether you are buying a home or refinancing, there are 2 basic types of home loans. Each has different reasons you'd choose them.",f=[{label:"1) Fixed Rate Mortgage",description:"Fixed rate mortgages usually have terms lasting 15 or 30 years. Throughout those years, the interest rate and monthly payments remain the same. You would select this type of loan when you:",bullets:["Plan to live in home more than 7 years","Like the stability of a fixed principal/interest payment","Donât want to run the risk of future monthly payment increases","Think your income and spending will stay the same"]},{label:"2) Adjustable Rate Mortgage",description:"Adjustable Rate Mortgages (often called ARMs) typically last for 15 or 30 years, just like fixed rate mortgages. But during those years, the interest rate on the loan may go up or down. Monthly payments increase or decrease. You would select this type of loan when you:",bullets:["Plan to stay in your home less than 5 years","Donât mind having your monthly payment periodically change (up or down)","Comfortable with the risk of possible payment increases in future","Think your income will probably increase in the future"]}],w="Although lenders conform to standards set by government agencies, loan approval guidelines vary depending on the terms of each loan. In general, approval is based on two factors: your ability and willingness to repay the loan and the value of the property.",j=[["Income/Employment Check","Evaluates income vs debt and employment stability."],["Credit Check","Reviews credit history and score."],["Asset Evaluation","Verifies down payment and closing cost funds."],["Property Appraisal","Confirms market value of the property."],["Other Documentation","Any additional requirements from the lender."]],N=["Fill out your application completely and accurately.","Respond promptly to requests for more information.","Do not make large deposits or move money between accounts without documenting the source.","Avoid making major purchases or opening new credit before closing.","Do not go out of town around your closing date if possible."],A=["Congratulations! You've reached the final step.","After your loan
1is approved, you are ready to sign the final loan documents. You must review the documents prior to signing and make sure that the interest rate and loan terms are what you were promised. Also, verify that the name and address on the loan documents are accurate. The signing normally takes place in front of a notary public.","There are also several fees associated with obtaining a mortgage and transferring property ownership which you will be expected to pay at closing. Bring a cashiers check for the down payment and closing costs if required. Personal checks are normally not accepted. You also will need to show your homeowner's insurance policy, and any other requirements such as flood insurance, plus proof of payment.","Your loan will normally close shortly after you have signed the loan documents. On owner occupied refinance loan transactions federal law requires that you have 3 days to review the documents before your loan transaction can close.","Welcome home! \uD83C\uDFE0"],k=["step1","step2","step3","step4","step5"],P={step1:"Intro + list + tabs",step2:"Intro + tabs",step3:"Call to action",step4:"Sections + tips",step5:"Paragraphs"};function C(e,t){var a,n;let l=null==e||null==(a=e.content)?void 0:a.__kind;return l&&k.includes(l)?l:null!=(n=k[t])?n:"step5"}let T={step1:e=>{var t,a,l,r,c,d,m;let{content:y,basePath:f,metaAt:w}=e,j=(0,s.bd)(),N=!!((null==j?void 0:j.chromeActive)&&f),A=null!=(r=null==y||null==(t=y.introParagraphs)?void 0:t[0])?r:g,k=null!=(c=null==y?void 0:y.ctaText)?c:"Click here to Pre-Qualify",P=(null==y||null==(a=y.postCtaParagraph)?void 0:a.trim())?y.postCtaParagraph:x,C=(null==y||null==(l=y.listItems)?void 0:l.length)?y.listItems:v,T=N?C:C.filter(e=>e.trim().length>0),I=null!=(d=null==y?void 0:y.moreHeading)?d:"More on Pre-Qualification",E=(null==y?void 0:y.tabs)!==void 0?null!=(m=y.tabs)?m:[]:b,F=E.length>0||N;return(0,n.jsxs)("div",{className:"space-y-5",children:[(0,n.jsx)("p",{className:"text-foreground leading-relaxed",children:(0,n.jsx)(i.w,{path:"".concat(f,".introParagraphs.0"),value:A,label:"Intro",meta:null==w?void 0:w("".concat(f,".introParagraphs.0"))})}),(0,n.jsx)("div",{children:(0,n.jsx)(u,{basePath:f,metaAt:w,labelField:"ctaText",urlField:"ctaUrl",enabledField:"ctaEnabled",content:{...y,ctaText:k},defaultLabel:k})}),(0,n.jsx)("p",{className:"text-foreground leading-relaxed",children:(0,n.jsx)(i.w,{path:"".concat(f,".postCtaParagraph"),value:P,label:"Paragraph",meta:null==w?void 0:w("".concat(f,".postCtaParagraph"))})}),(0,n.jsx)("ol",{className:"list-decimal list-inside space-y-2 text-foreground ml-2",children:T.map((e,t)=>(0,n.jsxs)("li",{className:"flex min-w-0 items-start",children:[(0,n.jsx)("span",{className:"min-w-0 flex-1 break-words",children:(0,n.jsx)(i.w,{path:"".concat(f,".listItems.").concat(t),value:e,label:"List item",meta:null==w?void 0:w("".concat(f,".listItems.").concat(t))})}),N&&(0,n.jsx)(p,{onClick:()=>j.removeArrayItem("".concat(f,".listItems"),t)})]},t))}),N&&(0,n.jsx)(h,{label:"Add list item",onClick:()=>j.addArrayItem("".concat(f,".listItems"),"New item")}),F?(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("h4",{className:"font-display font-bold text-foreground text-base mt-4",children:(0,n.jsx)(i.w,{path:"".concat(f,".moreHeading"),value:I,label:"Heading",meta:null==w?void 0:w("".concat(f,".moreHeading"))})}),(0,n.jsx)(o.L,{tabs:E,editPath:f?"".concat(f,".tabs"):void 0,metaAt:w})]}):null]})},step2:e=>{var t,a;let{content:l,basePath:o,metaAt:r}=e,s=null!=(t=null==l?void 0:l.introParagraph)?t:y,c=((null==l?void 0:l.tabs2)!==void 0?null!=(a=l.tabs2)?a:[]:f).map(e=>{var t;return"content"in e&&e.content?e:{label:e.label,content:{description:null!=(t=e.description)?t:"",bullets:Array.isArray(e.bullets)?e.bullets:[]}}});return(0,n.jsxs)("div",{className:"space-y-5",children:[(0,n.jsx)("p",{className:"text-foreground leading-relaxed",children:(0,n.jsx)(i.w,{path:"".concat(o,".introParagraph"),value:s,label:"Intro",meta:null==r?void 0:r("".concat(o,".introParagraph"))})}),(0,n.jsx)(m,{tabs:c,basePath:o,metaAt:r})]})},step3:e=>{var t;let{content:a,basePath:l,metaAt:o}=e,r=null!=(t=null==a?void 0:a.ctaText3)?t:"Click Here To Apply For A Loan";return(0,n.jsx)("div",{className:"space-y-4",children:(0,n.jsx)(u,{basePath:l,metaAt:o,labelField:"ctaText3",urlField:"ctaUrl3",enabledField:"ctaEnabled3",content:{...a,ctaText3:r},defaultLabel:r})})},step4:e=>{var t,a,l,o;let{content:r,basePath:c,metaAt:d}=e,u=(0,s.bd)(),m=!!((null==u?void 0:u.chromeActive)&&c),b=null!=(t=null==r?void 0:r.introParagraph4)?t:w,g=(null==r?void 0:r.sections)!==void 0?null!=(a=r.sections)?a:[]:j.map(e=>
1{let[t,a]=e;return{title:t,description:a}}),x=null!=(l=null==r?void 0:r.tipsHeading)?l:"Tips to improve your loan approval chances",v=(null==r?void 0:r.tips)!==void 0?null!=(o=r.tips)?o:[]:N,y=m?v:v.filter(e=>e.trim().length>0);return(0,n.jsxs)("div",{className:"space-y-5",children:[(0,n.jsx)("p",{className:"text-foreground leading-relaxed",children:(0,n.jsx)(i.w,{path:"".concat(c,".introParagraph4"),value:b,label:"Intro",meta:null==d?void 0:d("".concat(c,".introParagraph4"))})}),(0,n.jsxs)("div",{className:"space-y-4",children:[g.map((e,t)=>(0,n.jsxs)("div",{className:"relative",children:[m&&(0,n.jsx)("span",{className:"absolute right-0 top-0",children:(0,n.jsx)(p,{onClick:()=>u.removeArrayItem("".concat(c,".sections"),t)})}),(0,n.jsx)("h4",{className:"font-display font-bold text-foreground text-base",children:(0,n.jsx)(i.w,{path:"".concat(c,".sections.").concat(t,".title"),value:e.title,label:"Section title",meta:null==d?void 0:d("".concat(c,".sections.").concat(t,".title"))})}),(0,n.jsx)("p",{className:"text-foreground leading-relaxed text-sm mt-1",children:(0,n.jsx)(i.w,{path:"".concat(c,".sections.").concat(t,".description"),value:e.description,label:"Section text",meta:null==d?void 0:d("".concat(c,".sections.").concat(t,".description"))})})]},t)),m&&(0,n.jsx)(h,{label:"Add section",onClick:()=>u.addArrayItem("".concat(c,".sections"),{title:"New section",description:"Description"})})]}),(0,n.jsx)("h4",{className:"font-display font-bold text-foreground text-base pt-2",children:(0,n.jsx)(i.w,{path:"".concat(c,".tipsHeading"),value:x,label:"Tips heading",meta:null==d?void 0:d("".concat(c,".tipsHeading"))})}),(0,n.jsx)("ol",{className:"list-decimal list-inside space-y-2 text-foreground text-sm leading-relaxed ml-1",children:y.map((e,t)=>(0,n.jsxs)("li",{className:"flex min-w-0 items-start",children:[(0,n.jsx)("span",{className:"min-w-0 flex-1 break-words",children:(0,n.jsx)(i.w,{path:"".concat(c,".tips.").concat(t),value:e,label:"Tip",meta:null==d?void 0:d("".concat(c,".tips.").concat(t))})}),m&&(0,n.jsx)(p,{onClick:()=>u.removeArrayItem("".concat(c,".tips"),t)})]},t))}),m&&(0,n.jsx)(h,{label:"Add tip",onClick:()=>u.addArrayItem("".concat(c,".tips"),"New tip")})]})},step5:e=>{var t;let{content:a,basePath:l,metaAt:o}=e,r=(0,s.bd)(),c=!!((null==r?void 0:r.chromeActive)&&l),d=(null==a||null==(t=a.paragraphs)?void 0:t.length)?a.paragraphs:A,u=d.length<=A.length;return(0,n.jsxs)("div",{className:"space-y-5",children:[d.map((e,t)=>(0,n.jsxs)("p",{className:"flex min-w-0 items-start text-foreground leading-relaxed ".concat(0===t?"text-lg font-medium":""," ").concat(u&&t===d.length-1?"font-semibold text-lg":""),children:[(0,n.jsx)("span",{className:"min-w-0 flex-1 break-words",children:(0,n.jsx)(i.w,{path:"".concat(l,".paragraphs.").concat(t),value:e,label:"Paragraph",meta:null==o?void 0:o("".concat(l,".paragraphs.").concat(t))})}),c&&(0,n.jsx)(p,{onClick:()=>r.removeArrayItem("".concat(l,".paragraphs"),t)})]},t)),c&&(0,n.jsx)(h,{label:"Add paragraph",onClick:()=>r.addArrayItem("".concat(l,".paragraphs"),"New paragraph")})]})}},I={step1:{introParagraphs:["Intro paragraph."],ctaText:"Get started",ctaUrl:"",ctaEnabled:!0,postCtaParagraph:"",listItems:["First item"],moreHeading:"More details",tabs:[{label:"Tab 1",content:"Tab content."}]},step2:{introParagraph:"Intro paragraph.",tabs2:[{label:"Tab 1",description:"Description.",bullets:["First bullet"]}]},step3:{ctaText3:"Apply now",ctaUrl3:"",ctaEnabled3:!0},step4:{introParagraph4:"Intro paragraph.",sections:[{title:"Section title",description:"Section description."}],tipsHeading:"Tips",tips:["First tip"]},step5:{paragraphs:["New paragraph."]}};function E(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"step5";return{title:"New step",content:{...JSON.parse(JSON.stringify(I[e])),__kind:e}}}function F(e,t){var a,n,l,o,r,s,i,c,d,u,p,h,m,k,P,C;switch(e){case 0:return{introParagraphs:(null==t||null==(a=t.introParagraphs)?void 0:a.length)?t.introParagraphs:[g],ctaText:null!=(o=null==t?void 0:t.ctaText)?o:"Click here to Pre-Qualify",ctaUrl:null!=(r=null==t?void 0:t.ctaUrl)?r:"",ctaEnabled:(null==t?void 0:t.ctaEnabled)!==!1,postCtaParagraph:(null==t||null==(n=t.postCtaParagraph)?void 0:n.trim())?t.postCtaParagraph:x,listItems:(null==t||null==(l=t.listItems)?void 0:l.length)?t.listItems:[...v],moreHeading:null!=(s=null==t?void 0:t.moreHeading)?s:"More on Pre-Qualification",tabs:(null==t?void 0:t.tabs)!==void 0?null!=(i=t.tabs)?i:[]:b.map(e=>({...e}))};case 1:return{introParagraph:null!=(c=null==t?void 0:t.introParagraph)?c:y,tabs2:(null==t?void 0:t.tabs2)!==void 0?null!=(d=t.tabs2)?d:[]:f.map(e=>({...e,bullets:[...e.bullets]}))};case 2:return{ctaText3:null!=(u=null==t?void 0:t.ctaText3)?u:"Click Here To Apply For A Loan",ctaUrl3:null!=(p=null==t?void 0:t.ctaUrl3)?p:"",ctaEnabled3:(null==t?void 0:t.ctaEnabled3)!==!1};case 3:return{introParagraph4:null!=(h=null==t?void 0:t.introParagraph4)?h:w,sections:(null==t?void 0:t.sections)!==void 0?null!=(m=t.sections)?m:[]:j.map(e=>
1{let[t,a]=e;return{title:t,description:a}}),tipsHeading:null!=(k=null==t?void 0:t.tipsHeading)?k:"Tips to improve your loan approval chances",tips:(null==t?void 0:t.tips)!==void 0?null!=(P=t.tips)?P:[]:[...N]};case 4:return{paragraphs:(null==t||null==(C=t.paragraphs)?void 0:C.length)?t.paragraphs:[...A]};default:return null!=t?t:{}}}}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.