PageSourceSearch

https://getdispute.com/_next/static/chunks/pages/apm/[id]/start-928c8a93a703940d.js

js getdispute.com collected 2026-10-04 02:56:39 UTC 10,758 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2336],{57829:function(t,n,e){(window.__NEXT_P=window.__NEXT_P||[]).push(["/apm/[id]/start",function(){return e(86147)}])},20880:function(t,n,e){"use strict";e.d(n,{g:function(){return c}});var r=e(98788),i=e(5163),u=e(96624),a=e(49857),o=e(24423),c=function(t,n){var e="/api/app/cases/".concat(t,"/confirm?document_id=").concat(n),r=(0,a.ZP)((function(){return t?(0,o.i3)(e):null}),(function(){return(0,o.f7)(e)})),i=r.data,u=r.error;return(null===i||void 0===i?void 0:i.error)||u?{error:(null===i||void 0===i?void 0:i.error)||u}:{data:i}};function s(){return(s=(0,r.Z)((function(t,n){return(0,i.__generator)(this,(function(e){return[2,(0,u.TB)("/api/app/cases/".concat(t,"/courthouse/select"),{courthouse_id:n})]}))}))).apply(this,arguments)}function p(){return(p=(0,r.Z)((function(t,n){return(0,i.__generator)(this,(function(e){return[2,(0,u.TB)("/api/app/cases/".concat(t,"/review/submissions/edit"),{form_id:n})]}))}))).apply(this,arguments)}function l(){return(l=(0,r.Z)((function(t,n){return(0,i.__generator)(this,(function(e){return[2,(0,u.TB)("/api/case/create",{case:t,property_id:n})]}))}))).apply(this,arguments)}function f(){return(f=(0,r.Z)((function(t,n,e,r){return(0,i.__generator)(this,(function(i){return[2,(0,u.TB)("/api/case/create",{case:t,metadata:{name:e||"",amount_of_cases:r||"",entityType:n}})]}))}))).apply(this,arguments)}function d(){return(d=(0,r.Z)((function(t,n,e,r){return(0,i.__generator)(this,(function(i){return[2,(0,u.TB)("/api/app/cases/start",{case:t,metadata:{name:e||"",amount_of_cases:r||"",entityType:n}})]}))}))).apply(this,arguments)}function h(){return(h=(0,r.Z)((function(t){return(0,i.__generator)(this,(function(n){return[2,(0,u.TB)("/api/case/".concat(t,"/close"))]}))}))).apply(this,arguments)}function _(){return(_=(0,r.Z)((function(t,n,e,r,a,o){return(0,i.__generator)(this,(function(i){return[2,(0,u.TB)("/api/app/cases/".concat(t,"/initialization/submit"),{document_display_name:a,document_template_id:r,selected_state:n,document_id:o,form_type:e})]}))}))).apply(this,arguments)}function y(){return(y=(0,r.Z)((function(t,n,e){return(0,i.__generator)(this,(function(r){return[2,(0,u.TB)("/api/app/cases/".concat(t,"/initialization/demand-letter/submit"),{document_template_id:e,dispute_type:n})]}))}))).apply(this,arguments)}function m(){return(m=(0,r.Z)((function(t,n){return(0,i.__generator)(this,(function(e){return[2,(0,u.TB)("/api/app/cases/".concat(t,"/initialization/small-claims/submit"),{document_type:n})]}))}))).apply(this,arguments)}function g(){return(g=(0,r.Z)((function(t,n,e){return(0,i.__generator)(this,(function(r){return[2,(0,u.TB)("/api/app/cases/".concat(t,"/documents/start"),{document_type:n,document_id:e})]}))}))).apply(this,arguments)}function Z(){return(Z=(0,r.Z)((function(t,n,e,r){return(0,i.__generator)(this,(function(i){return[2,(0,u.Li)("/api/app/cases/".concat(t,"/edit"),{case_type:n,fields:e,dispute_type:r})]}))}))).apply(this,arguments)}function v(){return(v=(0,r.Z)((function(t,n,e,r){return(0,i.__generator)(this,(function(i){return[2,(0,u.TB)("/api/case/".concat(t,"/address/save"),{plaintiff_mailing:n,defendant_mailing:e,document_id:r})]}))}))).apply(this,arguments)}function T(){return(T=(0,r.Z)((function(t,n,e,r,a){return(0,i.__generator)(this,(function(i){return[2,(0,u.TB)("/api/case/".concat(t,"/demand-letter/submit"),{demand_letter:e,document_id:r,summary:a,case_type:n})]}))}))).apply(this,arguments)}function b(){return(b=(0,r.Z)((function(t){return(0,i.__generator)(this,(function(n){return[2,(0,o.YI)("/api/app/cases/".concat(t,"/documents/download"))]}))}))).apply(this,arguments)}function S(){return(S=(0,r.Z)((function(t){return(0,i.__generator)(this,(function(n){switch(n.label){case 0:return[4,(0,a.JG)("/api/case/".concat(t))];case 1:return n.sent(),[2]}}))}))).apply(this,arguments)}n.Z={closeCase:function(t){return h.apply(this,arguments)},createCase:function(t,n,e,r){return f.apply(this,arguments)},createEvictionCase:function(t,n){return l.apply(this,arguments)},editCaseSubmission:function(t,n){return p.apply(this,arguments)},selectCourthouse:function(t,n){return s.apply(this,arguments)},mutateCaseDashboard:function(t){return(0,a.JG)("/api/case/".concat(t,"/dashboard"))},caseInitializeSubmit:function(t,n,e,r,i,u){return _.apply(this,arguments)},caseStartDocument:function(t,n,e){return g.apply(this,arguments)},demandLetterInitializeSubmit:function(t,n,e){return y.apply(this,arguments)},updateCase:function(t,n,e,r){return Z.apply(this,arguments)},mutateCase:function(t){return S.apply(this,arguments)},saveValidMailingAddress:function(t,n,e,r){return v.apply(this,arguments)},smallClaimsCaseInitializeSubmit:function(t,n){return m.apply(this,arguments)},startCase:function(t,n,e,r){return d.apply(this,arguments)},submitDemandLetter:function(t,n,e,r,i){return T.apply(this,arguments)},downloadCaseDocuments:function(t){return b.apply(this,arguments)}}},86147:function(t,n,e){"use strict";e.r(n),e.d(n,{default:function(){return S}});var r=e(98788),i=e(66383),u=e(5163),a=e(52322),o=e(42761),c=e(4843),s=e(1950),p=e(2367),l=e(99580),f=e(88379),d=e(20880),h=e(6124),_=e(5632),y=e(2784),m=e(88481),g=e(13200),Z=e(49107),v=e(45026),T=e(3634),b=f.Nq.EVICTIONS;function S(){var t=(0,_.useRouter)(),n=(0,g.useAuth)(),e=t.query.id,f=(0,i.Z)(e?e.split("_"):[],2),S=f[0],j=f[1],C=(0,i.Z)((0,h.v1)("state",h.SS.string.withDefault("CA")),2),w=C[0],x=C[1],B=(0,y.useState)(),I=B[0],N=B[1],O=(0,y.useState)(),P=O[0],k=O[1],z=(0,y.useState)(!1),E=z[0],W=z[1],D=(0,y.useState)(null),A=D[0],J=D[1],L=(0,m.B)(b),F=L.data,U=L.isValidating;if(!F||U)return(0,a.jsx)(T.S,{});var G=F.form_types,M=function(){var e=(0,r.Z)((function(){var e;return(0,u.__generator)(this,(function(r){switch(r.label){case 0:W(!0),J(null),r.label=1;case 1:return r.trys.push([1,8,9,10]),n.user?[3,3]:[4,n.anonymousSignIn({userId:S})];case 2:r.sent(),r.label=3;case 3:return[4,d.Z.caseInitializeSubmit(j,w,I,null===P||void 0===P?void 0:P.internal_id,null===P||void 0===P?void 0:P.title)];case 4:return(e=r.sent()).redirect_url?[4,t.push(e.redirect_url)]:[3,6];case 5:return r.sent(),[2];case 6:return[4,t.push("/case/".concat(j,"/confirm/info?document_id=").concat(e.document_id))];case 7:return r.sent(),[3,10];case 8:return r.sent(),J({type:"error",message:"Unknown issue occurred, please try again."}),[3,10];case 9:return W(!1),[7];case 10:return[2]}}
1))}));return function(){return e.apply(this,arguments)}}(),V={primaryButton:{handler:M,text:"Start",loading:E,disabled:!P||!w||!I}};return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("meta",{name:"robots",content:"noindex"}),(0,a.jsx)(Z.Z,{}),(0,a.jsx)(s.F,{viewModel:V,children:(0,a.jsxs)(o.ZP,{container:!0,justifyContent:"center",children:[(0,a.jsx)(o.ZP,{container:!0,sx:{mb:1},children:(0,a.jsx)(o.ZP,{item:!0,display:"flex",flexDirection:"column",justifyContent:"center",children:(0,a.jsx)(c.Z,{variant:"h5",sx:{mb:.3,mr:1},children:"Create a form for eviction"})})}),(0,a.jsx)(v.Z,{hideLearnMoreLink:!0,defaultState:w,states:l.Dj,caseType:b,formTypes:G||[],handleSelectedTemplate:function(t){k(t)},handleSelectedState:function(t){x(t)},handleSelectedFormType:function(t){N(t)},handlePdfTemplates:function(){},defaultFormType:F.form_types[0]})]})}),(0,a.jsx)(p.$,{message:null===A||void 0===A?void 0:A.message,color:null===A||void 0===A?void 0:A.type,open:null!==A})]})}},96624:function(t,n,e){"use strict";e.d(n,{Ky:function(){return B},Li:function(){return w},Md:function(){return j},TB:function(){return b},bO:function(){return I},f7:function(){return _},i3:function(){return h},l:function(){return m},tQ:function(){return Z}});var r=e(98788),i=e(47842),u=e(5163),a=e(49857),o=e(18956),c=e(21805),s=e(56593),p="last_case";function l(){return s.$.getInstance().getFirebaseAuth()}function f(t){return d.apply(this,arguments)}function d(){return(d=(0,r.Z)((function(t){var n,e,r;return(0,u.__generator)(this,(function(i){switch(i.label){case 0:return(e=t.headers.get("content-type"))&&-1!==e.indexOf("application/json")?[4,t.json()]:[3,2];case 1:return n=i.sent(),[3,4];case 2:return[4,t.text()];case 3:r=i.sent(),n={error:r},i.label=4;case 4:return[2,n]}}))}))).apply(this,arguments)}function h(t){var n;return(null===(n=l())||void 0===n?void 0:n.currentUser)?t:null}function _(t){return y.apply(this,arguments)}function y(){return(y=(0,r.Z)((function(t){var n;return(0,u.__generator)(this,(function(e){switch(e.label){case 0:return[4,l().currentUser.getIdToken(!0)];case 1:return n=e.sent(),[4,fetch(t,{method:"GET",headers:(0,i.Z)({"Content-Type":"application/json",Authorization:JSON.stringify({token:n})},o.W,c.Z.get(o.W))})];case 2:return[2,e.sent().json()]}}))}))).apply(this,arguments)}function m(t){return g.apply(this,arguments)}function g(){return(g=(0,r.Z)((function(t){return(0,u.__generator)(this,(function(n){switch(n.label){case 0:return[4,fetch(t,{method:"GET",headers:(0,i.Z)({"Content-Type":"application/json"},o.W,c.Z.get(o.W))})];case 1:return[2,n.sent().json()]}}))}))).apply(this,arguments)}function Z(t,n){return(0,a.ZP)((function(){return h(t)}),(function(){return _(t)}),n)}function v(t,n,e){return T.apply(this,arguments)}function T(){return(T=(0,r.Z)((function(t,n,e){var r,a;return(0,u.__generator)(this,(function(u){switch(u.label){case 0:return[4,null===(r=l().currentUser)||void 0===r?void 0:r.getIdToken()];case 1:if(!(a=u.sent()))throw new Error("not_authorized");return[4,fetch(t,{method:n,headers:(0,i.Z)({"Content-Type":"application/json",Authorization:JSON.stringify({token:a})},o.W,c.Z.get(o.W)),body:JSON.stringify(e)})];case 2:return[2,f(u.sent())]}}))}))).apply(this,arguments)}function b(t,n){return S.apply(this,arguments)}function S(){return(S=(0,r.Z)((function(t,n){return(0,u.__generator)(this,(function(e){return[2,v(t,"POST",n)]}))}))).apply(this,arguments)}function j(t,n){return C.apply(this,arguments)}function C(){return(C=(0,r.Z)((function(t,n){var e;return(0,u.__generator)(this,(function(r){switch(r.label){case 0:return[4,fetch(t,{method:"POST",headers:(0,i.Z)({"Content-Type":"application/json"},o.W,c.Z.get(o.W)),body:JSON.stringify(n)})];case 1:return[4,r.sent().json()];case 2:if((e=r.sent()).error)throw console.error(e.error),e.error;return[2,e]}}))}))).apply(this,arguments)}function w(t,n){return x.apply(this,arguments)}function x(){return(x=(0,r.Z)((function(t,n){return(0,u.__generator)(this,(function(e){return[2,v(t,"PUT",n)]}))}))).apply(this,arguments)}function B(t){return c.Z.get("".concat(p,"_").concat(t))}function I(t,n){n&&c.Z.set("".concat(p,"_").concat(t),n)}}},function(t){t.O(0,[4636,1055,7192,5857,3243,5430,8256,6800,5641,2906,2752,6577,391,5837,1239,5899,3642,5247,2874,7139,3200,9
1107,4276,9774,2888,179],(function(){return n=57829,t(t.s=n);var n}));var n=t.O();_N_E=n}]);

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.