1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7502],{78714:function(t,e,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/document/[documentid]/upsell",function(){return n(18453)}])},45078:function(t,e,n){"use strict";n.d(e,{B:function(){return o}});var r=n(49857),i=n(96624),o=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n="/api/document/".concat(t,"/review"),o=function(){return t?(0,i.i3)(n):null},s=(0,r.ZP)(o,(function(){return(0,i.f7)(n)}),{refreshInterval:e}),c=s.data,u=s.error;return(null===c||void 0===c?void 0:c.error)||u?{error:(null===c||void 0===c?void 0:c.error)||u}:{data:c}}},18186:function(t,e,n){"use strict";n.d(e,{Q:function(){return s}});var r=n(2784),i=n(5632),o=n(13200),s=function(){var t=(0,o.useAuth)(),e=(0,i.useRouter)();return(0,r.useEffect)((function(){null===t.user&&e.push("/")}),[t,e]),t}},32537:function(t,e,n){"use strict";n.d(e,{Z:function(){return h}});var r=n(98788),i=n(5163),o=n(52322),s=n(2784),c=n(42761),u=n(72711),a=n(38710),l=n(41927),d=n(57651);function f(t){var e=(0,d.cF)();return(0,d.Jt)((0,d.iH)(e,t))}function p(){return(p=(0,r.Z)((function(t){return(0,i.__generator)(this,(function(e){return[2,f(t)]}))}))).apply(this,arguments)}var _=(0,a.Z)((function(t){return{downloadButton:{marginBottom:t.spacing(2),minWidth:180}}}));function h(t){var e=t.document,n=t.hideDownload,r=(0,s.useState)(),i=r[0],a=r[1],d=_();return(0,s.useEffect)((function(){e.file&&e.file.url&&e.file.source===l.Uo.FIREBASE&&function(t){return p.apply(this,arguments)}(e.file.url).then((function(t){a(t)}))}),[e]),i?(0,o.jsxs)(o.Fragment,{children:[!n&&(0,o.jsx)(c.ZP,{container:!0,justifyContent:"center",children:(0,o.jsx)(u.Z,{variant:"outlined",color:"primary",className:d.downloadButton,onClick:function(){window.open(i,"_blank")},children:"Download PDF"})}),(0,o.jsx)("iframe",{title:"demand_letter",width:"100%",height:1e3,src:i})]}):null}h.defaultProps={hideDownload:!1}},12380:function(t,e,n){"use strict";n.d(e,{Z:function(){return x}});var r=n(98788),i=n(5163),o=n(52322),s=n(91285),c=n(54036),u=n(99615),a=n(17666),l=n(4843),d=n(42761),f=n(29046),p=n(2784),_=n(65114),h=n(37469),E=[{id:"mail",name:"Mail Online",description:"Mail document by USPS 2-Day Priority.",price:"$9",features:{"Processing Time":"Same day mailing if purchased by 3pm",Updates:"Get a tracking number","Completion Time":"2-3 day delivery","Refund Guarantee":!0}},{id:"serve",name:"Post Notice",description:"Licensed process server to post eviction notice.",price:"$79",features:{"Processing Time":"3 attempts within 7 days",Updates:"On each attempt and completion","Completion Time":"3-10 days","Rush Order":"First attempt within 2 business days $49 extra","Refund Guarantee":"Only before any attempts made"}},{id:"file",name:"File in Court",description:"File paperwork in county court.",price:"$99 + court fees",features:{"Processing Time":"Sent to court within 1 business day.",Updates:"Once it's sent and on return","Completion Time":"Depends on court speed","Additional Requirements":"Serve approved papers with Sheriff or Us (extra fee)","Refund Guarantee":!0}}],m=Array.from(new Set(E.flatMap((function(t){return Object.keys(t.features)}))));function x(t){var e=t.documentId,n=t.template_id,x=t.onClick,T=(0,p.useState)(!1),g=T[0],v=T[1],j=(0,p.useState)(!1),y=j[0],P=j[1];function Z(t){return O.apply(this,arguments)}function O(){return(O=(0,r.Z)((function(t){return(0,i.__generator)(this,(function(r){switch(r.label){case 0:return v(!0),P(!1),_.d.track(h.P.PDF_GEN_FULFILLMENT,{documentId:e,template_id:n,option:t}),x?[3,1]:(setTimeout((function(){v(!1),P(!0)}),2e3),[3,3]);case 1:return[4,x()];case 2:r.sent(),r.label=3;case 3:return[2]}}
1))}))).apply(this,arguments)}return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(s.Z,{children:(0,o.jsxs)(c.Z,{children:[(0,o.jsxs)(u.Z,{sx:{borderBottom:"1px solid black"},children:[(0,o.jsx)(a.Z,{}),E.map((function(t){return(0,o.jsx)(a.Z,{children:(0,o.jsx)("h2",{style:{textAlign:"center"},children:t.name})})}))]}),(0,o.jsxs)(u.Z,{children:[(0,o.jsx)(a.Z,{}),E.map((function(t){return(0,o.jsx)(a.Z,{children:(0,o.jsx)(l.Z,{style:{textAlign:"center"},children:t.description})})}))]}),(0,o.jsxs)(u.Z,{children:[(0,o.jsx)(a.Z,{}),E.map((function(t){return(0,o.jsx)(a.Z,{children:(0,o.jsx)(l.Z,{fontSize:24,style:{textAlign:"center"},children:t.price})})}))]}),m.map((function(t){return(0,o.jsxs)(u.Z,{children:[(0,o.jsx)(a.Z,{variant:"head",children:(0,o.jsx)(l.Z,{style:{fontWeight:"bold",textAlign:"center"},children:t})}),E.map((function(e){return(0,o.jsx)(a.Z,{children:(0,o.jsx)(l.Z,{style:{textAlign:"center"},children:e.features[t]?"boolean"===typeof e.features[t]?"\u2713":e.features[t]||"X":"X"})})}))]})})),(0,o.jsxs)(u.Z,{children:[(0,o.jsx)(a.Z,{}),E.map((function(t){return(0,o.jsx)(a.Z,{sx:{minWidth:130},children:(0,o.jsx)("div",{id:t.id,style:{textAlign:"center"},children:(0,o.jsx)(f.U,{text:"Start ".concat(t.price.slice(0,3)),loading:g,onClick:(0,r.Z)((function(){return(0,i.__generator)(this,(function(e){return[2,Z(t.id)]}))}))})})})}))]})]})}),y&&(0,o.jsx)(d.ZP,{item:!0,xs:12,mt:2,mb:2,children:(0,o.jsx)(l.Z,{fontWeight:"bold",children:"We\u2019re sorry, this option is not available in your state yet, but we will record your interest and launch here soon!"})})]})}x.defaultProps={onClick:null}},56317:function(t,e,n){"use strict";n.d(e,{Z:function(){return d}});var r=n(52322),i=n(30776),o=n(59452),s=n(71267),c=n(42761),u=n(89103),a=n(13200),l=n(77102);function d(t){var e=t.children;if((0,l.x)())return null;var n=(0,a.useAuth)(),d=(0,u.Yd)(null===n||void 0===n?void 0:n.user);return(0,r.jsx)(o.Z,{sx:{flexGrow:1,mx:3},children:(0,r.jsx)(s.Z,{position:"static",color:"transparent",elevation:0,children:(0,r.jsxs)(c.ZP,{container:!0,justifyContent:"space-between",sx:{py:2},children:[(0,r.jsx)(c.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":"/"})}),e&&(0,r.jsx)(c.ZP,{item:!0,display:"flex",justifyContent:"flex-start",alignItems:"center",children:e})]})})})}d.defaultProps={children:null}},11261:function(t,e,n){"use strict";n.d(e,{S:function(){return u}});var r=n(52322),i=n(56042),o=n(42761),s=n(40224),c=n(49107);function u(t){var e=t.description,n=t.hideMainAppBar;return(0,r.jsxs)(r.Fragment,{children:[!n&&(0,r.jsx)(c.Z,{}),(0,r.jsx)(i.Z,{maxWidth:"md",sx:{flexGrow:1,mb:2},children:(0,r.jsx)(o.ZP,{container:!0,justifyContent:"center",sx:{mt:4},children:(0,r.jsx)(o.ZP,{item:!0,xs:12,children:(0,r.jsx)(s.Z,{severity:"error",children:e})})})})]})}u.defaultProps={description:"Oops, something went wrong. Please reach out to live chat.",hideMainAppBar:!1}},3634:function(t,e,n){"use strict";n.d(e,{S:function(){return s}});var r=n(52322),i=n(79486),o=n(49107);function s(t){var e=t.hideMainAppBar,n=t.title,s=t.subtitle;return(0,r.jsxs)(r.Fragment,{children:[!e&&(0,r.jsx)(o.Z,{}),(0,r.jsx)(i.k,{title:n,subtitle:s})]})}s.defaultProps={hideMainAppBar:!1,title:null,subtitle:null}},18453:function(t,e,n){"use strict";n.r(e),n.d(e,{default:function(){return h}});var r=n(52322),i=n(5632),o=n(45078),s=n(18186),c=n(56042),u=n(42761),a=n(88679),l=n(56317),d=n(3634),f=n(11261),p=n(32537),_=n(12380);function h(){var t,e,n;(0,s.Q)();var h=(0,i.useRouter)(),E=null===h||void 0===h||null===(t=h.query)||void 0===t?void 0:t.documentid,m=(0,o.B)(E,5e3),x=m.data;return m.error?(0,r.jsx)(f.S,{}):(null===x||void 0===x?void 0:x.document)?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(l.Z,{}),(0,r.jsx)(c.Z,{maxWidth:"lg",children:(0,r.jsxs)(u.ZP,{container:!0,sx:{textAlign:"center"},justifyContent:"center",spacing:2,children:[(0,r.jsx)(a.G,{title:"Review PDF",description:"Download your completed document below. Or save some time by finishing online.",sx:{textAlign:"center"}}),(0,r.jsx)(u.ZP,{container:!0,style:{justifyContent:"center"},children:(0,r.jsx)(_.Z,{documentId:null===x||void 0===x||null===(e=x.document)||void 0===e?void 0:e.id,template_id:null===x||void 0===x||null===(n=x.document)||void 0===n?void 0:n.template_id})}),(0,r.jsx)(u.ZP,{item:!0,xs:12,mt:8,children:(0,r.jsx)("h2",{children:"Download Your Document"})}),(0,r.jsx)(u.ZP,{item:!0,xs:12,children:(0,r.jsx)(p.Z,{document:null===x||void 0===x?void 0:x.document,hideDownload:!0})})]})})]}):(0,r.jsx)(d.S,{title:"Generating your document...",subtitle:"This should only take a few seconds."})}},96624:function(t,e,n){"use strict";n.d(e,{Ky:function(){return S},Li:function(){return O},Md:function(){return P},TB:function(){return j},bO:function(){return N},f7:function(){return h},i3:function(){return _},l:function(){return m},tQ:function(){return T}});var r=n(98788),i=n(47842),o=n(5163),s=n(49857),c=n(18956),u=n(21805),a=n(56593),l="last_case";function d(){return a.$.getInstance().getFirebaseAuth()}function f(t){return p.apply(this,arguments)}function p(){return(p=(0,r.Z)((function(t){var e,n,r;return(0,o.__generator)(this,(function(i){switch(i.label){case 0:return(n=t.headers.get("content-type"))&&-1!==n.indexOf("application/json")?[4,t.json()]:[3,2];case 1:return e=i.sent(),[3,4];case 2:return[4,t.text()];case 3:r=i.sent(),e={error:r},i.label=4;case 4:return[2,e]}}))}))).apply(this,arguments)}function _(t){var e;return(null===(e=d())||void 0===e?void 0:e.currentUser)?t:null}function h(t){return E.apply(this,arguments)}function E(){return(E=(0,r.Z)((function(t){var e;return(0,o.__generator)(this,(function(n){switch(n.label){case 0:return[4,d().currentUser.getIdToken(!0)];case 1:return e=n.sent(),[4,fetch(t,{method:"GET",headers:(0,i.Z)({"Content-Type":"application/json",Authorization:JSON.stringify({token:e})},c.W,u.Z.get(c.W))})];case 2:return[2,n.sent().json()]}}))}))).apply(this,arguments)}function m(t){return x.apply(this,arguments)}function x(){return(x=(0,r.Z)((function(t){return(0,o.__generator)(this,(function(e){switch(e.label){case 0:return[4,fetch(t,{method:"GET",headers:(0,i.Z)({"Content-Type":"application/json"},c.W,u.Z.get(c.W))})];case 1:return[2,e.sent().json()]}}))}))).apply(this,arguments)}function T(t,e){return(0,s.ZP)((function(){return _(t)}),(function(){return h(t)}),e)}function g(t,e,n){return v.apply(this,arguments)}function v(){return(v=(0,r.Z)((function(t,e,n){var r,s;return(0,o.__generator)(this,(function(o){switch(o.label){case 0:return[4,null===(r=d().currentUser)||void 0===r?void 0:r.getIdToken()];case 1:if(!(s=o.sent()))throw new Error("not_authorized");return[4,fetch(t,{method:e,headers:(0,i.Z)({"Content-Type":"application/json",Authorization:JSON.stringify({token:s})},c.W,u.Z.get(c.W)),body:JSON.stringify(n)})];case 2:return[2,f(o.sent())]}}))}))).apply(this,arguments)}function j(t,e){return y.apply(this,arguments)}function y(){return(y=(0,r.Z)((function(t,e){return(0,o.__generator)(this,(function(n){return[2,g(t,"POST",e)]}))}))).apply(this,arguments)}function P(t,e){return Z.apply(this,arguments)}function Z(){return(Z=(0,r.Z)((function(t,e){var n;return(0,o.__generator)(this,(function(r){switch(r.label){case 0:return[4,fetch(t,{method:"POST",headers:(0,i.Z)({"Content-Type":"application/json"},c.W,u.Z.get(c.W)),body:JSON.stringify(e)})];case 1:return[4,r.sent().json()];case 2:if((n=r.sent()).error)throw console.error(n.error),n.error;return[2,n]}}))}))).apply(this,arguments)}function O(t,e){return R.apply(this,arguments)}function R(){return(R=(0,r.Z)((function(t,e){return(0,o.__generator)(this,(function(n){return[2,g(t,"PUT",e)]}))}))).apply(this,arguments)}function S(t){return u.Z.get("".concat(l,"_").concat(t))}function N(t,e){e&&u.Z.set("".concat(l,"_").concat(t),e)}},58502:function(t,e,n){"use strict";n.d(e,{Q:function(){return s}});var r=n(52322),i=n(26004),o=n(96221);function s(t){var e=t.spacing,n=t.mobileSpacing,s=(0,i.Z)();return(0,r.jsx)(o.Z,{sx:{width:"100%",color:s.palette.divider,my:[n||e,n||e,e,e]}})}s.defaultProps={spacing:3,mobileSpacing:null}},88679:function(t,e,n){"use strict";n.d(e,{G:function(){return a}});var r=n(52322),i=n(4843),o=n(26004),s=n(42761),c=n(58502),u=function(){return u=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++)for(var i in e=arguments[n])Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t},u.apply(this,arguments)};function a(t){var e=t.title,n=t.titleProps,a=t.description,l=t.descriptionProps,d=t.align,f=t.sx,p=t.fontFamily,_=t.fontWeight,h=t.titleVariant,E=t.descriptionVariant,m=t.showDivider,x=(0,o.Z)();return(0,r.jsxs)(s.ZP,u({container:!0,justifyContent:"flex-start",sx:u({marginBottom:m?0:2},f)},{children:[(0,r.jsx)(s.ZP,u({item:!0,xs:12},{children:(0,r.jsx)(i.Z,u({component:"h1",align:d,fontFamily:p,variant:h,sx:u({fontWeight:_,margin:"auto auto",letterSpacing:"-0.02em"},n)},{children:e}))})),a&&(0,r.jsx)(s.ZP,u({xs:12,item:!0},{children:(0,r.jsx)(i.Z,u({variant:E,component:"p",sx:u({mt:1,color:x.palette.text.secondary,letterSpacing:"-0.02em"},l),align:d,fontFamily:p},{children:a}))})),m&&(0,r.jsx)(c.Q,{})]}))}a.defaultProps={description:"",align:"center",sx:{},titleProps:{},fontFamily:null,fontWeight:null,descriptionProps:{},titleVariant:"h5",descriptionVariant:"body2",showDivider:!1}},79486:function(t,e,n){"use strict";n.d(e,{k:function(){return l}});var r=n(52322),i=n(26004),o=n(56042),s=n(59452),c=n(52274),u=n(4843),a=function(){return a=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++)for(var i in e=arguments[n])Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t},a.apply(this,arguments)};function l(t){var e=t.title,n=t.subtitle,l=(0,i.Z)();return(0,r.jsxs)(o.Z,a({maxWidth:"lg",sx:{marginTop:10,textAlign:"center"}},{children:[(0,r.jsx)(s.Z,a({sx:{pb:2}},{children:(0,r.jsx)(c.Z,{})})),e&&(0,r.jsx)(u.Z,a({align:"center",variant:"h5",sx:{pb:1}},{children:e})),n&&(0,r.jsx)(u.Z,a({align:"center",sx:{color:l.palette.text.secondary}},{children:n}))]}))}l.defaultProps={title:null,subtitle:null}},37469:function(t,e,n){"use strict";var r;n.d(e,{P:function(){return r}}),function(t){t.CHECKOUT="checkout",t.CHECKOUT_ERROR="checkout_error",t.PAGE_VIEW="page_view",t.CASE_CREATE="case_create",t.SIGN_UP="sign_up",t.SIGN_UP_ERROR="sign_up_error",t.JOIN_WAITLIST_ERROR="join_waitlist_error",t.DOCUMENT="document",t.DOCUMENT_UPLOAD="document_upload",t.TERMS_OF_SERVICE="terms_of_service",t.SELECT_COURTHOUSE="select_courthouse",t.SELECT_STATE="select_state",t.INTERCOM="intercom",t.BUTTON_CLICK="button_click",t.STRIPE_EVENT="stripe_event",t.FILE_OPTION_SELECTED="file_option_selected",t.STATE_NOT_SUPPORTED="state_not_supported",t.CLICK_DEMAND_LETTER_TEMPLATE="click_demand_letter_template",t.CLICK_FORM_TEMPLATE="click_form_template",t.PRICING_PAGE_STATE_SELECT="pricing_page_state_select",t.JOIN_WAIT_LIST
1="join_wait_list",t.API_REQUEST="api_request",t.DEFENDANT_SERVICE_SELECTED_LOCATION="defendant_service_selected_location",t.DEMAND_LETTER_OPT_IN="demand_letter_opt_in",t.SIGNATURE_SENT="signature_sent",t.SIGNATURE_SIGNED="signature_signed",t.NOTARIZE_SENT="notarize_sent",t.NOTARIZE_SIGNED="notarize_signed",t.RAW_PDF_CLICK="raw_pdf_click",t.PDF_GEN_FULFILLMENT="pdf_gen_fulfillment",t.DEMAND_LETTER_ASSESSMENT="demand_letter_assessment"}(r||(r={}))},41927:function(t,e,n){"use strict";var r,i;n.d(e,{Uo:function(){return r},n_:function(){return o}}),function(t){t.FIREBASE="firebase",t.DOCSPRING="docspring"}(r||(r={})),function(t){t.DRAFTING="drafting",t.DRAFTING_COMPLETE="drafting_complete",t.RENDERING="rendering",t.RENDERING_COMPLETE="rendering_complete",t.OWNER_APPROVED="owner_approved",t.COMPLETED="completed",t.READY="ready",t.AGENT_APPROVED="agent_approved",t.SENDING="sending",t.SENT="sent",t.DELIVERED="delivered",t.IN_PROGRESS="in_progress",t.NOT_STARTED="not_started",t.PURCHASED="purchased"}(i||(i={}));var o;i.AGENT_APPROVED,i.SENDING,i.SENT,i.DELIVERED,i.SENT,i.SENDING,i.DELIVERED,i.COMPLETED;!function(t){t.DEMAND_LETTER="demand_letter",t.FILE_SMALL_CLAIMS="file_small_claims",t.FILE_SMALL_CLAIMS_COURT_APPROVED="file_small_claims_court_approved",t.DEFENDANT_SERVICE_PROOF_OF_SERVICE="defendant_service_proof_of_service",t.DEFENDANT_PROOF_OF_MILITARY_STATUS="defendant_proof_of_military_status",t.INCORPORATION_FORMATION="incorporation_formation",t.INCORPORATION_FORMATION_CANCEL="incorporation_formation_cancel",t.COURT_APPROVED_PAPERWORK_USER_UPLOAD="court_approved_paperwork_user_upload",t.PDF_GENERATION="pdf_generation",t.USER_UPLOADED="user_uploaded",t.OTHER="other"}(o||(o={}))}},function(t){t.O(0,[4636,1055,7192,5857,3243,5430,8256,6800,5641,2906,2752,6577,391,5837,5899,8710,4261,7651,1702,3200,9107,9774,2888,179],(function(){return e=78714,t(t.s=e);var e}));var e=t.O();_N_E=e}]);
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.