1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7849],{54116:function(t,n,e){(window.__NEXT_P=window.__NEXT_P||[]).push(["/document/[documentid]/file/start",function(){return e(14931)}])},59621:function(t,n){"use strict";n.Z={src:"/_next/static/media/icon_red_new.3ae63d6a.png",height:161,width:161,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAMAAADz0U65AAAALVBMVEXeNEvfNEvgNUxMaXGCIC2yKz2XJTTdNEzoN1DDMEPhNU3KMUXiNk3pN0+QJDNXj8kgAAAADHRSTlP+57wA2/3m1uWvK4zxZCI/AAAACXBIWXMAACxLAAAsSwGlPZapAAAAKklEQVR4nGPgZGNhYWHjZmbgYGDlY+VlYmZg5GFg4IExGAgw2EEMHkYuAC43ATMSCNAZAAAAAElFTkSuQmCC",blurWidth:8,blurHeight:8}},64116:function(t,n,e){"use strict";e.d(n,{FR:function(){return c},G5:function(){return d},ML:function(){return p},t_:function(){return u}});var r=e(98788),i=e(5163),o=e(24423),a=e(49857);function l(){return(l=(0,r.Z)((function(t){return(0,i.__generator)(this,(function(n){return[2,(0,o.TB)("/api/app/order/file/create",{document_id:t})]}))}))).apply(this,arguments)}function s(){return(s=(0,r.Z)((function(t){return(0,i.__generator)(this,(function(n){return[2,(0,o.TB)("/api/app/order/file/".concat(t,"/refile"),{})]}))}))).apply(this,arguments)}var u=function(t){var n="/api/app/file/".concat(t),e=(0,a.ZP)((function(){return t?(0,o.i3)(n):null}),(function(){return(0,o.f7)(n)})),r=e.data,i=e.error;return(null===r||void 0===r?void 0:r.error)||i?{error:(null===r||void 0===r?void 0:r.error)||i}:{data:r}};var c=function(t){var n="/api/app/file/".concat(t,"/fees"),e=(0,a.ZP)((function(){return t?(0,o.i3)(n):null}),(function(){return(0,o.f7)(n)})),r=e.data,i=e.error;return(null===r||void 0===r?void 0:r.error)||i?{error:(null===r||void 0===r?void 0:r.error)||i}:{data:r}},d=function(t){var n="/api/app/order/file/".concat(t,"/status"),e=(0,a.ZP)((function(){return t?(0,o.i3)(n):null}),(function(){return(0,o.f7)(n)})),r=e.data,i=e.error;return(null===r||void 0===r?void 0:r.error)||i?{error:(null===r||void 0===r?void 0:r.error)||i}:{data:r}};function f(){return(f=(0,r.Z)((function(t,n){return(0,i.__generator)(this,(function(e){return[2,(0,o.TB)("/api/file/orders/".concat(t,"/return/upload"),{files:n})]}))}))).apply(this,arguments)}var p={createFilingOrderRefile:function(t){return s.apply(this,arguments)},createSmallClaimsFiling:function(t){return l.apply(this,arguments)},uploadReturnFiling:function(t,n){return f.apply(this,arguments)},mutateUseGetFilingOrdersFiles:function(t){return(0,a.JG)("/api/app/order/".concat(t,"/files"))},useGetFilingOrder:u,useGetFilingOrdersFiles:function(t){var n="/api/app/order/".concat(t,"/files"),e=(0,a.ZP)((function(){return t?(0,o.i3)(n):null}),(function(){return(0,o.f7)(n)})),r=e.data,i=e.error;return(null===r||void 0===r?void 0:r.error)||i?{error:(null===r||void 0===r?void 0:r.error)||i}:{data:r}},useGetFilingOrdersFees:c,useGetFilingStatusInfo:d}},18186:function(t,n,e){"use strict";e.d(n,{Q:function(){return a}});var r=e(2784),i=e(5632),o=e(13200),a=function(){var t=(0,o.useAuth)(),n=(0,i.useRouter)();return(0,r.useEffect)((function(){null===t.user&&n.push("/")}),[t,n]),t}},30776:function(t,n,e){"use strict";e.d(n,{Z:function(){return d}});var r=e(52322),i=e(42761),o=e(4843),a=e(96577),l=e.n(a),s=e(39097),u=e.n(s),c=e(59621);function d(t){var n=t.showText,e=t.href;return(0,r.jsx)(u(),{href:e,children:(0,r.jsxs)(i.ZP,{container:!0,children:[(0,r.jsx)(i.ZP,{item:!0,sx:{width:36,height:36},children:(0,r.jsx)(l(),{src:c.Z,alt:"Dispute logo"})}),(0,r.jsx)(i.ZP,{item:!0,xs:1,children:n&&(0,r.jsx)(o.Z,{sx:{fontFamily:"Circular Std",fontSize:24,padding:0,margin:0,textAlign:"center",color:"black"},component:"span",children:"Dispute"})})]})})}d.defaultProps={showText:!0,href:"/"}},56317:function(t,n,e){"use strict";e.d(n,{Z:function(){return d}});var r=e(52322),i=e(30776),o=e(59452),a=e(71267),l=e(42761),s=e(89103),u=e(13200),c=e(77102);function d(t){var n=t.children;if((0,c.x)())return null;var e=(0,u.useAuth)(),d=(0,s.Yd)(null===e||void 0===e?void 0:e.user);return(0,r.jsx)(o.Z,{sx:{flexGrow:1,mx:3},children:(0,r.jsx)(a.Z,{position:"static",color:"transparent",elevation:0,children:(0,r.jsxs)(l.ZP,{container:!0,justifyContent:"space-between",sx:{py:2},children:[(0,r.jsx)(l.ZP,{item:!0,md:2,xs:4,display:"flex",justifyContent:"flex-start",alignItems:"center",sx:{flexGrow:1},children:(0,r.jsx)(i.Z,{href:d?"/dashboard":"/"})}),n&&(0,r.jsx)(l.ZP,{item:!0,display:"flex",justifyContent:"flex-start",alignItems:"center",children:n})]})})})}d.defaultProps={children:null}},14931:function(t,n,e){"use strict";e.r(n),e.d(n,{default:function(){return g}});var r=e(98788),i=e(5163),o=e(52322),a=e(24660),l=e(2784),s=e(19098),u=e(58698),c=e(55277),d=e(5632),f=e(56317),p=e(18186),h=e(64116),x=e(2367);function g(){var t=(0,d.useRouter)();(0,p.Q)();var n=t.query.documentid,e=(0,l.useState)(!1),g=e[0],m=e[1],y=(0,l.useState)(!1),v=y[0],j=y[1],b=(0,l.useState)(null),w=b[0],Z=b[1],P=function(){var e=(0,r.Z)((function(){var e;return(0,i.__generator)(this,(function(r){switch(r.label){case 0:m(!0),r.label=1;case 1:return r.trys.push([1,7,8,9]),[4,h.ML.createSmallClaimsFil
1ing(n)];case 2:return(e=r.sent()).redirect_url?[4,t.push(e.redirect_url)]:[3,4];case 3:return r.sent(),[3,6];case 4:return[4,t.push("/file/".concat(e.order_id,"/confirm/courthouse"))];case 5:r.sent(),r.label=6;case 6:return[3,9];case 7:return r.sent(),Z({type:"error",message:"Unknown issue occurred, please try again."}),[3,9];case 8:return m(!1),[7];case 9:return[2]}}))}));return function(){return e.apply(this,arguments)}}(),A={heading:{text:"File your paperwork",fontSize:24},steps:[{icon:(0,o.jsx)(u.Z,{sx:{color:"rgba(222, 53, 76, 1)"}}),title:{text:"Confirm what you want to file",fontSize:16,fontFamily:"Circular Std Medium",color:"Black",fontWeight:500},description:{text:"Our team will file your paperwork for you so you can get your day in court.",fontSize:14,fontFamily:"Circular Std Book",color:"rgba(0, 0, 0, 0.65)",fontWeight:450}},{icon:(0,o.jsx)(s.Z,{sx:{color:"rgba(222, 53, 76, 1)"}}),title:{text:"Understand your fees",fontSize:16,fontFamily:"Circular Std Medium",color:"Black",fontWeight:500},description:{text:"Courts charge fees to file. Usually, the judge will award your fees back to you if you win your case. We never take a cut of your winnings.",fontSize:14,fontFamily:"Circular Std Book",color:"rgba(0, 0, 0, 0.65)",fontWeight:450}},{icon:(0,o.jsx)(c.Z,{sx:{color:"rgba(222, 53, 76, 1)"}}),title:{text:"Serve your court-approved paperwork (varies by state)",fontSize:16,fontFamily:"Circular Std Medium",color:"Black",fontWeight:500},description:{text:"It\u2019s required by law to serve the defendant copies of your court-approved paperwork.",fontSize:14,fontFamily:"Circular Std Book",color:"rgba(0, 0, 0, 0.65)",fontWeight:450}}],primaryButton:{text:"Start",loading:g,disabled:!1,height:48,width:165},secondaryButton:{text:"Remind me later",loading:v,disabled:!1,height:48,width:165}};return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(f.Z,{}),(0,o.jsx)(a.J,{viewModel:A,handlePrimary:P,handleSecondary:function(){j(!0),t.back()}}),(0,o.jsx)(x.$,{message:null===w||void 0===w?void 0:w.message,color:null===w||void 0===w?void 0:w.type,open:null!==w})]})}}
1,77102:function(t,n,e){"use strict";function r(){return window.self!==window.top}e.d(n,{x:function(){return r}})},29046:function(t,n,e){"use strict";e.d(n,{U:function(){return l}});var r=e(52322),i=e(72711),o=e(52274),a=function(){return a=Object.assign||function(t){for(var n,e=1,r=arguments.length;e<r;e++)for(var i in n=arguments[e])Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i]);return t},a.apply(this,arguments)};function l(t){var n=t.text,e=t.disabled,l=t.loading,s=t.onClick,u=t.sx,c=t.fullWidth,d=t.size,f=t.color,p=t.type,h=t.name,x=t.startIcon,g=t.endIcon;return(0,r.jsx)(i.Z,a({variant:"contained",disableElevation:!0,disabled:e||l,size:d,onClick:s,fullWidth:c,color:f,type:p,name:h,startIcon:x,endIcon:g,sx:a({},u)},{children:l?(0,r.jsx)(o.Z,{size:24}):n}))}l.defaultProps={disabled:!1,loading:!1,fullWidth:!1,color:"primary",size:"medium",type:"button",sx:{},name:null,startIcon:null,endIcon:null}},74861:function(t,n,e){"use strict";e.d(n,{Y:function(){return l}});var r=e(52322),i=e(72711),o=e(52274),a=function(){return a=Object.assign||function(t){for(var n,e=1,r=arguments.length;e<r;e++)for(var i in n=arguments[e])Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i]);return t},a.apply(this,arguments)};function l(t){var n=t.text,e=t.disabled,l=t.onClick,s=t.sx,u=t.fullWidth,c=t.size,d=t.color,f=t.loading,p=t.name,h=t.startIcon;return(0,r.jsx)(i.Z,a({variant:"outlined",color:d,disableElevation:!0,disabled:e||f,size:c,onClick:l,fullWidth:u,name:p,startIcon:h,sx:a({},s)},{children:f?(0,r.jsx)(o.Z,{size:24}):n}))}l.defaultProps={disabled:!1,fullWidth:!1,size:"medium",color:"primary",loading:!1,sx:{},name:null,startIcon:null}},58502:function(t,n,e){"use strict";e.d(n,{Q:function(){return a}});var r=e(52322),i=e(26004),o=e(96221);function a(t){var n=t.spacing,e=t.mobileSpacing,a=(0,i.Z)();return(0,r.jsx)(o.Z,{sx:{width:"100%",color:a.palette.divider,my:[e||n,e||n,n,n]}})}a.defaultProps={spacing:3,mobileSpacing:null}},88679:function(t,n,e){"use strict";e.d(n,{G:function(){return u}});var r=e(52322),i=e(4843),o=e(26004),a=e(42761),l=e(58502),s=function(){return s=Object.assign||function(t){for(var n,e=1,r=arguments.length;e<r;e++)for(var i in n=arguments[e])Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i]);return t},s.apply(this,arguments)};function u(t){var n=t.title,e=t.titleProps,u=t.description,c=t.descriptionProps,d=t.align,f=t.sx,p=t.fontFamily,h=t.fontWeight,x=t.titleVariant,g=t.descriptionVariant,m=t.showDivider,y=(0,o.Z)();return(0,r.jsxs)(a.ZP,s({container:!0,justifyContent:"flex-start",sx:s({marginBottom:m?0:2},f)},{children:[(0,r.jsx)(a.ZP,s({item:!0,xs:12},{children:(0,r.jsx)(i.Z,s({component:"h1",align:d,fontFamily:p,variant:x,sx:s({fontWeight:h,margin:"auto auto",letterSpacing:"-0.02em"},e)},{children:n}))})),u&&(0,r.jsx)(a.ZP,s({xs:12,item:!0},{children:(0,r.jsx)(i.Z,s({variant:g,component:"p",sx:s({mt:1,color:y.palette.text.secondary,letterSpacing:"-0.02em"},c),align:d,fontFamily:p},{children:u}))})),m&&(0,r.jsx)(l.Q,{})]}))}u.defaultProps={description:"",align:"center",sx:{},titleProps:{},fontFamily:null,fontWeight:null,descriptionProps:{},titleVariant:"h5",descriptionVariant:"body2",showDivider:!1}},25836:function(t,n,e){"use strict";e.d(n,{S:function(){return a}});var r=e(52322),i=e(42761),o=function(){return o=Object.assign||function(t){for(var n,e=1,r=arguments.length;e<r;e++)for(var i in n=arguments[e])Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i]);return t},o.apply(this,arguments)};function a(t){var n=t.children,e=t.sx;return(0,r.jsx)(i.ZP,o({container:!0,sx:o({paddingTop:2,paddingBottom:2,width:"100%",borderTop:"1px solid #D0D0D0",borderBottom:"1px solid #D0D0D0",backgroundColor:"white",position:"fixed",bottom:0,zIndex:1},e)},{children:o({},n)}))}a.defaultProps={sx:{}}},2367:function(t,n,e){"use strict";e.d(n,{$:function(){return u}});var r=e(52322),i=e(40224),o=e(4301),a=e(2784),l=function(){return l=Object.assign||function(t){for(var n,e=1,r=arguments.length;e<r;e++)for(var i in n=arguments[e])Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i]);return t},l.apply(this,arguments)};function s(t){return(0,r.jsx)(i.Z,l({elevation:6,variant:"filled"},t))}function u(t){var n=t.message,e=t.color,i=t.open,u=(0,a.useState)(!1),c=u[0],d=u[1],f=function(t,n){"clickaway"!==n&&d(!1)};return(0,a.useEffect)((function(){d(i)}),[i,n]),(0,r.jsx)(o.Z,l({open:c,autoHideDuration:5e3,onClose:f},{children:(0,r.jsx)("div",{children:(0,r.jsx)(s,l({onClose:f,severity:e},{children:n}))})}))}u.defaultProps={message:"Oops! Something went wrong, please try again.",color:"error"}},39645:function(t,n,e){"use strict";e.d(n,{$H:function(){return a},Lf:function(){return r},Ws:function(){return o},r4:function(){return i}});var r={display:["none","none","flex","flex"]},i={display:["flex","flex","none","none"]},o={display:["flex","flex","flex","none"]},a={display:["none","none","none","flex"]}},89103:function(t,n,e){"use strict";e.d(n,{RY:function(){return i},Yd:function(){return o}});var r=[{name:"auth/weak-password",friendly_name:"Weak password, please try again"},{name:"auth/invalid-email",friendly_name:"Invalid email, please try again"},{name:"auth/email-already-in-use",friendly_name:"Email already has an account!"},{name:"auth/email-already-exists",friendly_name:"Email already has an account!"}];function i(t){var n=r.find((function(n){return n.name===t}));return n?n.friendly_name:"Unknown error occurred, please try again"}function o(t){return!!t&&!(!t.email||t.is_anonymous)}},24660:function(t,n,e){"use strict";e.d(n,{J:function(){return p}});var r=e(52322),i=e(26004),o=e(42761),a=e(88679),l=e(39645),s=e(74861),u=e(29046),c=e(25836),d=e(8717),f=function(){return f=Object.assign||function(t){for(var n,e=1,r=arguments.length;e<r;e++)for(var i in n=arguments[e])Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i]);return t},f.apply(this,arguments)};function p(t){var n=t.viewModel,e=t.handleSecondary,p=t.handlePrimary,h=(0,i.Z)();return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(o.ZP,f({sx:{minHeight:"100%",height:"auto",backgroundColor:["white","white",h.palette.background_grey.main,h.palette.background_grey.main]}},{children:(0,r.jsx)(o.ZP,f({container:!0,justifyContent:"center"},{children:(0,r.jsxs)(o.ZP,f({item:!0,sx:{mt:[3,3,5,5],width:["100%","100%",560,560],backgroundColor:"white",py:[0,0,4,4],px:[3,3,4,4],borderRadius:"3px"}},{children:[(0,r.jsx)(a.G,{align:"left",title:n.heading.text,titleProps:{fontSize:n.heading.fontSize||24}}),(0,r.jsx)(d.G,{steps:n.steps}),(0,r.jsxs)(o.ZP,f({container:!0,sx:f({mt:5},l.Lf),justifyContent:"flex-end"},{children:[n.secondaryButton&&(0,r.jsx)(s.Y,{text:n.secondaryButton.text,onClick:e,sx:{height:n.secondaryButton.height,px:3,borderColor:"#D0D0D0",color:"rgba(0, 0, 0, 0.65)"},loading:n.secondaryButton.loading}),(0,r.jsx)(u.U,{text:n.primaryButton.text,onClick:p,sx:{height:n.primaryButton.height,ml:2,px:3},loading:n.primaryButton.loading})]}))]}))}))})),(0,r.jsx)(c.S,f({sx:f({},l.r4)},{children:(0,r.jsxs)(o.ZP,f({container:!0,sx:{px:3}},{children:[n.secondaryButton&&(0,r.jsx)(o.ZP,f({item:!0,xs:6,pr:.9},{children:(0,r.jsx)(s.Y,{fullWidth:!0,text:n.secondaryButton.text,onClick:e,sx:{height:48,borderColor:"#D0D0D0",color:"rgba(0, 0, 0, 0.65)"}})})),(0,r.jsx)(o.ZP,f({item:!0,xs:n.secondaryButton?6:12,pl:.9},{children:(0,r.jsx)(u.U,{fullWidth:!0,text:n.primaryButton.text,onClick:p,sx:{height:48}})}))]}))}))]})}},8717:function(t,n,e){"use strict";e.d(n,{G:function(){return s}});var r=e(52322),i=e(42761),o=e(47469),a=e(4843),l=function(){return l=Object.assign||function(t){for(var n,e=1,r=arguments.length;e<r;e++)for(var i in n=arguments[e])Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i]);return t}
1,l.apply(this,arguments)};function s(t){var n=t.steps;return(0,r.jsx)(r.Fragment,{children:n.map((function(t,e){var s=e!==n.length-1?3:0;return(0,r.jsxs)(i.ZP,l({container:!0,sx:{mb:s}},{children:[(0,r.jsx)(i.ZP,l({item:!0,display:"flex",justifyContent:"start",sx:{mb:1,mr:2}},{children:(0,r.jsx)(o.Z,l({sx:{height:48,width:48,backgroundColor:"rgb(222, 53, 76, .20)"}},{children:t.icon}))})),(0,r.jsxs)(i.ZP,l({item:!0,xs:9.4,md:10.4},{children:[(0,r.jsx)(a.Z,l({sx:{fontSize:t.title.fontSize,fontFamily:t.title.fontFamily,mb:.5,color:t.title.color,letterSpacing:"-0.02em",fontWeight:t.title.fontWeight}},{children:t.title.text})),(0,r.jsx)(a.Z,l({sx:{fontSize:t.description.fontSize,fontFamily:t.description.fontFamily,color:t.description.color,fontWeight:t.description.fontWeight,letterSpacing:"-0.02em"}},{children:t.description.text})),t.button&&t.button]}))]}),t.title.text)}))})}}},function(t){t.O(0,[4636,1055,7192,5857,3243,5430,8256,6800,5641,2906,2752,6577,1239,9330,3200,9774,2888,179],(function(){return n=54116,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.