1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5483],{12388:function(e,t,r){"use strict";var a=r(87462),n=r(45987),i=r(67294),o=r(86010),s=r(73070),c=r(71158),u=r(36550),l=r(1327),d=i.forwardRef(function(e,t){var r=e.classes,c=e.className,u=e.color,d=void 0===u?"primary":u,p=e.value,f=e.valueBuffer,m=e.variant,g=void 0===m?"indeterminate":m,b=(0,n.Z)(e,["classes","className","color","value","valueBuffer","variant"]),h=(0,l.Z)(),v={},Z={bar1:{},bar2:{}};if(("determinate"===g||"buffer"===g)&&void 0!==p){v["aria-valuenow"]=Math.round(p),v["aria-valuemin"]=0,v["aria-valuemax"]=100;var y=p-100;"rtl"===h.direction&&(y=-y),Z.bar1.transform="translateX(".concat(y,"%)")}if("buffer"===g&&void 0!==f){var x=(f||0)-100;"rtl"===h.direction&&(x=-x),Z.bar2.transform="translateX(".concat(x,"%)")}return i.createElement("div",(0,a.Z)({className:(0,o.Z)(r.root,r["color".concat((0,s.Z)(d))],c,{determinate:r.determinate,indeterminate:r.indeterminate,buffer:r.buffer,query:r.query}[g]),role:"progressbar"},v,{ref:t},b),"buffer"===g?i.createElement("div",{className:(0,o.Z)(r.dashed,r["dashedColor".concat((0,s.Z)(d))])}):null,i.createElement("div",{className:(0,o.Z)(r.bar,r["barColor".concat((0,s.Z)(d))],("indeterminate"===g||"query"===g)&&r.bar1Indeterminate,{determinate:r.bar1Determinate,buffer:r.bar1Buffer}[g]),style:Z.bar1}),"determinate"===g?null:i.createElement("div",{className:(0,o.Z)(r.bar,("indeterminate"===g||"query"===g)&&r.bar2Indeterminate,"buffer"===g?[r["color".concat((0,s.Z)(d))],r.bar2Buffer]:r["barColor".concat((0,s.Z)(d))]),style:Z.bar2}))});t.Z=(0,c.Z)(function(e){var t=function(t){return"light"===e.palette.type?(0,u.$n)(t,.62):(0,u._j)(t,.5)},r=t(e.palette.primary.main),a=t(e.palette.secondary.main);return{root:{position:"relative",overflow:"hidden",height:4,"@media print":{colorAdjust:"exact"}},colorPrimary:{backgroundColor:r},colorSecondary:{backgroundColor:a},determinate:{},indeterminate:{},buffer:{backgroundColor:"transparent"},query:{transform:"rotate(180deg)"},dashed:{position:"absolute",marginTop:0,height:"100%",width:"100%",animation:"$buffer 3s infinite linear"},dashedColorPrimary:{backgroundImage:"radial-gradient(".concat(r," 0%, ").concat(r," 16%, transparent 42%)"),backgroundSize:"10px 10px",backgroundPosition:"0 -23px"},dashedColorSecondary:{backgroundImage:"radial-gradient(".concat(a," 0%, ").concat(a," 16%, transparent 42%)"),backgroundSize:"10px 10px",backgroundPosition:"0 -23px"},bar:{width:"100%",position:"absolute",left:0,bottom:0,top:0,transition:"transform 0.2s linear",transformOrigin:"left"},barColorPrimary:{backgroundColor:e.palette.primary.main},barColorSecondary:{backgroundColor:e.palette.secondary.main},bar1Indeterminate:{width:"auto",animation:"$indeterminate1 2.1s cubic-bezier(0.65, 0.815, 0.735, 0.395) infinite"},bar1Determinate:{transition:"transform .".concat(4,"s linear")},bar1Buffer:{zIndex:1,transition:"transform .".concat(4,"s linear")},bar2Indeterminate:{width:"auto",animation:"$indeterminate2 2.1s cubic-bezier(0.165, 0.84, 0.44, 1) 1.15s infinite"},bar2Buffer:{transition:"transform .".concat(4,"s linear")},"@keyframes indeterminate1":{"0%":{left:"-35%",right:"100%"},"60%":{left:"100%",right:"-90%"},"100%":{left:"100%",right:"-90%"}},"@keyframes indeterminate2":{"0%":{left:"-200%",right:"100%"},"60%":{left:"107%",right:"-8%"},"100%":{left:"107%",right:"-8%"}},"@keyframes buffer":{"0%":{opacity:1,backgroundPosition:"0 -23px"},"50%":{opacity:0,backgroundPosition:"0 -23px"},"100%":{opacity:1,backgroundPosition:"-200px -23px"}}}},{name:"MuiLinearProgress"})(d)},76520:function(e,t,r){"use strict";var a=r(87462),n=r(41451),i=r(45987),o=r(67294),s=r(86010),c=r(71158),u=r(48842),l=r(73070),d=r(12388),p=o.forwardRef(function(e,t){var r=e.activeStep,c=void 0===r?0:r,p=e.backButton,f=e.classes,m=e.className,g=e.LinearProgressProps,b=e.nextButton,h=e.position,v=e.steps,Z=e.variant,y=void 0===Z?"dots":Z,x=(0,i.Z)(e,["activeStep","backButton","classes","className","LinearProgressProps","nextButton","position","steps","variant"]);return o.createElement(u.Z,(0,a.Z)({square:!0,elevation:0,className:(0,s.Z)(f.root,f["position".concat((0,l.Z)(void 0===h?"bottom":h))],m),ref:t},x),p,"text"===y&&o.createElement(o.Fragment,null,c+1," / ",v),"dots"===y&&o.createElement("div",{className:f.dots},(0,n.Z)(Array(v)).map(function(e,t){return o.createElement("div",{key:t,className:(0,s.Z)(f.dot,t===c&&f.dotActive)})})),"progress"===y&&o.createElement(d.Z,(0,a.Z)({className:f.progress,variant:"determinate",value:Math.ceil(c/(v-1)*100)},g)),b)});t.Z=(0,c.Z)(function(e){return{root:{display:"flex",flexDirection:"row",justifyContent:"space-between",alignItems:"center",background:e.palette.background.default,padding:8},positionBottom:{position:"fixed",bottom:0,left:0,right:0,zIndex:e.zIndex.mobileStepper},positionTop:{position:"fixed",top:0,left:0,right:0,zIndex:e.zIndex.mobileStepper},positionStatic:{},dots:{display:"flex",flexDirection:"row"},dot:{backgroundColor:e.palette.action.disabled,borderRadius:"50%",width:8,height:8,margin:"0 2px"},dotActive:{backgroundColor:e.palette.primary.main},progress:{width:"50%"}}},{name:"MuiMobileStepper"})(p)},60603:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return N}});var a=r(50029),n=r(64687),i=r.n(n);r(67294);var o=r(29082),s=r(92145),c=r(42784),u=r(98464),l=r(72864),d=r(60377
1),p=r(31599),f=r(28822),m=r(96686),g=r(12573),b=r(17743),h=r(73780),v=r(90649),Z=r(84037),y=r(68027),x=r(35671),P=r(50494),w=r(83096),k=r(22484),I=r(85893),S=k.Z.purchasePrice.min,E=k.Z.purchasePrice.max,N=(0,w.Z)(function(){var e,t=(0,v.Z)(),r=(0,s.I0)();(0,c.Z)(function(){t.userProps.purchasePrice||r((0,Z.yP)())});var n=(e=(0,a.Z)(i().mark(function e(t){var a;return i().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,a=r((0,Z.u7)(t)),e.next=4,b.Z.logMortgageStep([h.Z.MORTGAGE_STEPS.PURCHASE_PRICE],{purchase_price:t.purchasePrice});case 4:return e.next=6,a;case 6:e.next=13;break;case 8:return e.prev=8,e.t0=e.catch(0),y.Z.error("Something went wrong saving mortgage purchase price data",e.t0),e.next=13,l.Z.error.goto();case 13:return e.prev=13,e.next=16,l.Z.mortgage.downPayment.goto();case 16:e.next=21;break;case 18:e.prev=18,e.t1=e.catch(13),y.Z.error("Something went wrong routing to next mortgage step",e.t1);case 21:case"end":return e.stop()}},e,null,[[0,8],[13,18]])})),function(t){return e.apply(this,arguments)}),w=function(){l.Z.mortgage.rateType.goto()};if(t.isLoading)return(0,I.jsx)(x.f,{});var k={purchasePrice:t.userProps.purchasePrice||3e5},N=P.j2.isValidSync(k);return(0,I.jsx)(o.J9,{onSubmit:n,initialValues:k,validationSchema:P.j2,children:function(e){var t=e.handleSubmit,r=e.setFieldValue,a=e.handleBlur,n=e.values,i=e.errors,o=e.isValid,s=e.dirty;return(0,I.jsx)(d.Z,{hideFooter:!0,showHeader:!0,hideNavigation:!0,withFlow:!0,children:(0,I.jsx)(p.N,{onNext:t,onBack:w,completionPercentage:u.Z.mortgage.purchasePrice.completionPercentage,nextButtonDisabled:!s&&!N||!o,title:"Whatâs your purchase price?",description:"Your loan amount can affect your loan program and rate.",children:(0,I.jsx)(f.j,{"data-qa":m.Z.purchasePrice,label:"Whatâs your purchase price?",min:S,max:E,step:500,labelMinMax:g._e,handleChange:function(e){r("purchasePrice",e)},onBlur:a,value:n.purchasePrice,error:i.purchasePrice,name:"purchasePrice"})})})}})})},96686:function(e,t){"use strict";t.Z={businessAverageMonthlySalesInput:"businessAverageMonthlySales",businessNameInput:"businessName",cityInput:"city",downPayment:"downPayment",estimatedValue:"Estimated Value",loanBalance:"loanBalance",monthlyHousingPayment:"monthlyHousingPayment",passwordInput
1:"password",payrollExpense:"payrollExpense",plInfoEditLink:"plInfoEditLink",purchasePrice:"purchasePrice",stateInput:"state",street1Input:"street1",street2Input:"street2",taxIdInput:"taxId",zipcodeInput:"zipcode"}},82078:function(e,t,r){"use strict";var a=r(16835),n=r(10928),i=r.n(n),o=r(53254),s=r(78633),c=r(47720),u=r(82075),l=r(75953),d=r(33452),p=r(17502),f=function(e){return/^\d{4}-([0]\d|1[0-2])-([0-2]\d|3[01])(T(\d{2}):(\d{2}):(\d{2}).(\d{3})Z)?$/.test(e)},m=function(e){var t=new Date().toISOString().split("T")[0],r=(0,o.Z)(e),a=(0,o.Z)(t);return(0,l.Z)(a,r)};t.Z={formatToISO:function(e){if(!e||f(e))return e;var t=e.split("/"),r=(0,a.Z)(t,3),n=r[0],i=r[1],o=r[2];return"".concat(o,"-").concat(n,"-").concat(i)},formatFromISO:function(e){var t=e.split("-"),r=(0,a.Z)(t,3),n=r[0],i=r[1],o=r[2];return"".concat(i,"/").concat(o,"/").concat(n)},isISODate:f,getFullYear:function(e){return/^\d{2}\/\d{2}\/\d{4}$/g.test(e)?i()(e.split("/")):f(e)?e.split("-")[0]:null},getAge:m,isValidISODate:function(e){if(!f(e))return!1;var t=(0,o.Z)(e);return(0,s.Z)(t)},isAfterOrEqual:function(e,t){var r=(0,o.Z)(e),a=(0,o.Z)(t);return(0,c.Z)(r,a)||(0,u.Z)(r,a)},isMaxAge:function(e,t){return m(e)<=t},isMinAge:function(e,t){return m(e)>=t},isPastDate:function(e){var t=(0,o.Z)(e);return(0,d.Z)(t)},todayAsISO:function(){return(0,p.Z)(new Date,{representation:"date"})}}},53756:function(e,t,r){(window.__NEXT_P=window.__NEXT_P||[]).push(["/mortgage/purchase-price",function(){return r(60603)}])}},function(e){e.O(0,[167,3685,5798,2924,7333,9082,8249,5345,5943,9774,2888,179],function(){return e(e.s=53756)}),_N_E=e.O()}]); 2//# sourceMappingURL=purchase-price-403aa05b8635622e.js.map
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.