PageSourceSearch

https://assets.taskrabbit.com/_next/static/chunks/pages/partner/otto/order/[orderId]-7415964acaece25c.js

js taskrabbit.com collected 2026-09-24 09:12:35 UTC 3,362 bytes, 2 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4296],{12825:(e,r,t)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/partner/otto/order/[orderId]",function(){return t(79655)}])},79655:(e,r,t)=>{"use strict";t.r(r),t.d(r,{__N_SSP:()=>V,default:()=>B});var o=t(6029),i=t(71541),a=t(1155),s=t(19087),d=t(86839),n=t.n(d),l=t(83962),u=t(55729),p=t(34776),c=t(18012),m=t(74423),f=t(94270),j=t(39582),x=t(16298),_=t(91731),h=t(26114),C=t(3887),v=t(96961);let z=x.Ay$.object({zipCode:x.Ay$.string().min(1)}),b={zipCode:""},A=(0,v.S)(z),g=()=>{let{isValid:e,isSubmitting:r}=(0,j.j7)();return(0,o.jsx)(_.Ay,{disabled:!e,loading:r,type:"submit",children:(0,o.jsx)(p.s,{id:"otto.zipCodeConfirmation.form.submitButton"})})},y=e=>{let{errorMessage:r,onSubmit:t}=e,i=(0,m.A)();return(0,o.jsx)(h.A,{initialValues:b,onSubmit:t,validate:A,validateOnMount:!0,children:(0,o.jsxs)(n(),{gap:5,children:[(0,o.jsx)(C.A,{error:!!r,helperText:r,label:i.formatMessage({id:"otto.zipCodeConfirmation.form.zipCodeLabel"}),name:"zipCode",placeholder:i.formatMessage({id:"otto.zipCodeConfirmation.form.zipCodePlaceholder"}),required:!0}),(0,o.jsx)(g,{})]})})},N=e=>{let{firstName:r,onNext:t,orderId:i,orderNumber:a}=e,s=(0,m.A)(),[d,j]=(0,u.useState)(),{mutateAsync:x}=f.Ay.page.otto.verifyOrder.useMutation(),{trackOttoEvent:_}=(0,c.lX)(a),h=async e=>{let{zipCode:r}=e;j(void 0);let o=await x({orderId:i,zipCode:r});if(_({name:"zipCodeSubmitted",properties:{is_zip_code_match:!o.error&&o.bff.verified,otto_service_id:i}}),o.error||!o.bff.verified)return void j(s.formatMessage({id:"otto.zipCodeConfirmation.form.zipCodeErrorMessage"}));t(r)};return(0,o.jsxs)(n(),{gap:5,children:[(0,o.jsx)(l.default,{variant:"h2Trailblazer",children:(0,o.jsx)(p.s,{id:"otto.zipCodeConfirmation.greeting",values:{name:r}})}),(0,o.jsx)(l.default,{component:"h1",variant:"h2",children:(0,o.jsx)(p.s,{id:"otto.zipCodeConfirmation.title"})}),(0,o.jsx)(y,{errorMessage:d,onSubmit:h})]})};var E=t(6720),S=t(8917),w=t(55943),M=t(98526),k=t(90076),I=t(69874),X=t(33821),O=t(35199),P=t(59181),T=t(46997),q=t(35716);let D=e=>{var r;let{faqs:t,order:i,orderId:d}=e,n=(0,X.k)(),l=(0,q.$4)(i.products,d),u=null!=(r=null==l?void 0:l.orderNumber)?r:"",{trackOttoPage:p}=(0,c.lX)(u);return(0,a.A)(()=>{p({name:"zipCodeEntry",properties:{...(0,c.mV)(),otto_service_id:d}})}),(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(M.A,{detailsDesktop:(0,o.jsx)(P.u,{anonymize:!0,order:i,orderId:d}),detailsMobile:null,main:(0,o.jsx)(N,{firstName:i.user.firstName,onNext:e=>(null==l?void 0:l.status)===I.z.SCHEDULED?void n.push("/partner/otto/order/".concat(d,"/status?zip_code=").concat(e,"&already_scheduled=true")):l&&(0,q.fI)(l.status)?void n.push("/partner/otto/order/".concat(d,"/status?zip_code=").concat(e)):void n.push("/partner/otto/order/".concat(d,"/schedule?zip_code=").concat(e)),orderId:d,orderNumber:u})}),(0,o.jsx)(s.m,{}),(0,o.jsx)(k.A,{}),(0,o.jsx)(S.A,{step:"awaitingSchedule"}),(0,o.jsx)(O.A,{}),(0,o.jsx)(E.A,{faqs:t,orderNumber:u}),(0,o.jsx)(T.A,{}),(0,o.jsx)(w.A,{})]})};var L=t(90935);let $=e=>{let{faqs:r,order:t,orderId:i}=e;return(0,o.jsx)(D,{faqs:r,order:t,orderId:i})};$.getLayout=L.A;var V=!0;let B=(0,i.X3)($)}},e=>{e.O(0,[3080,3984,5205,5059,9582,6392,1905,9018,9752,4532,8268,8978,8933,2791,4582,636,6593,8792],()=>e(e.s=12825)),_N_E=e.O()}]);
2//# sourceMappingURL=[orderId]-7415964acaece25c.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.