1"use strict";(globalThis.webpackChunklawinsidercontracts||=[]).push([[5358],{9594(e,a,i){i.d(a,{A:()=>s});var n=i(6942),r=i.n(n),l=i(9698);function s({children:e,className:a,size:i="sm"}){return(0,l.Y)("div",{className:r()({[`view view--${i}`]:i,[a]:a}),children:e})}},2583(e,a,i){i.d(a,{Qt:()=>w,Ay:()=>_,In:()=>v,ju:()=>I});var n=i(6942),r=i.n(n),l=i(9869),s=i(2109),c=i(4918),t="ZOPDrfuPtb",d="_s1C6D9Ebl",o="jWmkt359mc",h="ZfT5HAB5x2",m="GQTkoEqPJ_",u="MlG2xkUn4e",p="Ztcd780i88",D="K7Y6wqDvTx",N="JI8L5KrVqI",g=i(8028),Y=i(5391),F=i(9028),f=i(9698);const y={month:"mo",year:"yr"},A={day:"numeric",month:"short"};function v(e){const a=new Date;return a.setDate(a.getDate()+e),a.toLocaleDateString(void 0,A)}function w(){return(0,f.Y)("span",{"aria-hidden":"true",className:"fnN0unzFTK",children:"â"})}const k={description:"Install the Law Insider Word Add-in, powered by SimpleAI, and go unlimited across all three products",logo:"/images/common/simple-ai-logo.svg",logoAlt:"SimpleAI",name:"Pro",products:[{description:"Unlimited chats: draft, review, and research in your browser",highlighted:!0,mobileDescription:"Draft, review & redline",name:"AI Assistant"},{description:"Unlimited searches and downloads across 5M+ contracts",logo:"/images/common/logo.svg",mobileDescription:"Database search ⢠200M+ clauses",name:"Law Insider"},{description:"Unlimited MS Word Add-in: redline, risk review, playbooks",logo:"/images/common/simple-ai-logo.svg",mobileDescription:"MS Word Add-in",name:"SimpleAI"}],stripTitle:"Unlimited access to all three"};function I(e=s.fs){var a;const{currency:i,discountRawPrices:n,products:r,rawPrices:t,shouldShowIntroductoryPrice:d,trialPeriods:o,trialPrices:h}=(0,l.useContext)(g.A),m=r[e];if(!m)return null;const u=d(e),p=u?o[e]:0,D=u?h[e]:null,N=Math.max(null!=(a=n?.[e])?a:t[e],0);return{interval:m.interval,intervalShort:y[m.interval]||m.interval,price:(0,c.vv)(N,i),trialDays:p,trialFree:u&&0===D,trialPrice:u?(0,c.vv)(D,i):null}}function b({checked:e,highlighted:a,logo:i,name:n}){return e?(0,f.Y)("i",{className:"check green"}):a?(0,f.Y)("span",{className:"jDPPqWNOth text-nowrap",children:(0,f.Y)(F.A,{showIcon:!0,children:n})}):(0,f.Y)("img",{alt:n,className:"uj4qDcHG_m",src:i})}function P({checkout:e,products:a,title:i}){return(0,f.FD)("div",{className:r()("DZGjeaOa_T",{[d]:a.every(({checked:e})=>e)}),children:[e&&(0,f.Y)("b",{className:"sdPW22EnVS",children:i}),(0,f.Y)("dl",{className:"no-margin",children:a.map(({checked:e,description:a,highlighted:i,logo:n,mobileDescription:r,name:l})=>(0,f.FD)("div",{children:[(0,f.Y)("dt",{className:"no-margin",children:(0,f.Y)(b,{checked:e,highlighted:i,logo:n,name:l})}),(0,f.FD)("dd",{className:"no-margin",children:[(0,f.Y)("span",{className:"iVMAzBPbCs",children:a}),(0,f.Y)("span",{className:"AfaCeWLlAP",children:r})]})]},l))})]})}function T({checkout:e,offer:a,priceInfo:i}){const n=a.dueToday||a.trialPrice||a.price;return a.trialDays?(0,f.FD)("div",{className:"b4e2LJ4tdx",children:[(0,f.FD)("p",{className:p,children:[e&&(0,f.Y)("span",{className:m,children:"Due today"}),(0,f.Y)("span",{className:D,children:(0,f.Y)("b",{children:n})}),(0,f.FD)("span",{className:o,children:["today",i]}),(0,f.Y)("span",{className:`${o} ${h}`,children:"·"}),(0,f.FD)("span",{className:o,children:["then ",a.price," per ",a.interval]})]}),e&&(0,f.FD)("p",{className:"wYOo91JINg",children:["Card required · first payment ",a.price," on"," ",v(a.trialDays)," · cancel any time before"]})]}):(0,f.FD)("p",{className:p,children:[e&&(0,f.Y)("span",{className:m,children:"Due today"}),(0,f.Y)("span",{className:D,children:(0,f.Y)("b",{children:n})}),(0,f.FD)("span",{children:["/",a.intervalShort]}),e&&(0,f.FD)(f.FK,{children:[(0,f.Y)("span",{className:`${o} ${h}`,children:"·"}),(0,f.FD)("span",{className:o,children:["due today",i]})]})]})}function C({offer:e,planName:a}){return(0,f.FD)("span",{className:"hH58LM1CuK text-nowrap",children:[a,e.trialDays>0&&(0,f.FD)(f.FK,{children:[(0,f.FD)("span",{className:"eQwpGPAT8w",children:[" ","· ",e.trialFree&&"FREE ",e.trialDays,"-DAY TRIAL"]}),(0,f.FD)("span",{className:"EeoP493VCh",children:[(0,f.Y)("span",{"aria-hidden":"true",children:"·"}),e.trialFree&&(0,f.Y)("span",{className:"BsnAeru5Nu",children:"FREE"}),(0,f.FD)("span",{children:[e.trialDays," DAYS"]})]})]})]})}function E(){return(0,f.FD)("details",{className:"uwjK3zPe5B",children:[(0,f.FD)("summary",{children:[(0,f.FD)("b",{children:[30,"-day money-back guarantee"]})," ·"," ",(0,f.Y)("span",{className:"CfiyHNGHnA",children:"see terms"})]}
1),(0,f.FD)("p",{children:["Not right for you? Contact"," ",(0,f.Y)("a",{href:s.A.CONTACT_SUPPORT,...s.Js,children:"support"})," ","within ",30," days of your first payment for a full refund."]})]})}function _({action:e,checkout:a=!1,className:i,consent:n,moneyBackGuarantee:l=!0,offer:s,onAction:c,options:d,plan:o=k,priceAction:h,priceInfo:m,security:p,usageExhausted:D=!1}){const g=I(),F=s||g,{description:y,logo:A,logoAlt:v,mobileDescription:b,name:_,products:S,stripTitle:R}=o,M=Boolean(F.trialDays);let W=`Upgrade to ${_}`;return M&&(W=F.trialFree?"Start free trial":"Start trial"),(0,f.FD)("section",{className:r()("ANb_3sUxCi","text-left",i,{[t]:a,[N]:D}),children:[(0,f.FD)("div",{className:"iYCe9Xom8V",children:[(0,f.Y)("img",{alt:v,className:u,src:A}),(0,f.Y)(C,{offer:F,planName:_})]}),(0,f.Y)("div",{className:"Wdgr4TCn37",children:M?(0,f.FD)(f.FK,{children:[(0,f.Y)("span",{className:"highlight-price",children:F.trialFree?"FREE":F.trialPrice}),(0,f.FD)("span",{children:[F.trialDays,"-day trial · card required"]})]}):(0,f.Y)("img",{alt:v,className:u,src:A})}),(0,f.Y)("p",{className:"O8MtmyZfi4",children:y}),(0,f.FD)("div",{className:"vM_9DryNG2",children:[(0,f.Y)("p",{className:"W_GiY6t_jP no-margin",children:b||(F.trialFree?`Unlimited AI Assistant, database and the Word Add-in. Card required, nothing charged for ${F.trialDays} days.`:"Unlimited AI Assistant, database search and the Word Add-in.")}),(0,f.Y)(P,{checkout:a,products:S,title:R}),d&&(0,f.Y)("div",{className:"Mzo4Zn9lif",children:d}),(0,f.FD)("div",{className:"bUpmE0KdMJ",children:[(0,f.Y)(T,{checkout:a,offer:F,priceInfo:m}),h&&(0,f.Y)("div",{className:"NpHrGNjlR7",children:h})]}),p,n&&(0,f.Y)("div",{className:"ixsYHQ3Ptm",children:n}),(0,f.Y)("div",{className:"HVZXPnlIVR",children:e||(0,f.FD)(Y.A,{fullwidth:!0,raised:!0,className:"gz3y2W0PJn",size:"lg",onClick:c,children:[W,M&&(0,f.Y)(w,{})]})})]}),(F.trialFree||l)&&(0,f.FD)("div",{className:"_9uHWXNV657 text-center",children:[F.trialFree&&(0,f.FD)("div",{children:[(0,f.Y)("i",{className:"check green"})," Nothing charged for"," ",F.trialDays," days"]}),l&&(0,f.FD)("div",{children:[(0,f.Y)("i",{className:"check green"})," ",(0,f.Y)(E,{})]})]})]})}},3139(e,a,i){i.r(a),i.d(a,{default:()=>y});var n=i(4843),r=i(9869),l=i(2109),s=i(7071),c=i(5809),t=i(9594),d=i(7563),o=i(2583),h="i3tPIt9hIW",m=i(1873),u=i(3843),p=i(1897),D=i(5391),N=i(9028),g=i(6660),Y=i(4681),F=i(9698);function f(){return(0,F.FD)("div",{className:"i219kXYla1",children:[(0,F.Y)("span",{className:"a98gIijEnI",children:(0,F.Y)(N.A,{showIcon:!0,children:"AI Assistant"})}),(0,F.Y)("img",{alt:"Law Insider",src:"/images/common/logo.svg"}),(0,F.Y)("img",{alt:"SimpleAI",src:"/images/common/simple-ai-logo.svg"}),(0,F.Y)("span",{children:"now unlimited"})]})}function y({completeActiveForcedView:e,details:a={},initialPlanType:i}){const{isMobileWidth:N}=(0,r.useContext)(c.A),[y]=(0,n.fp)(Y.p9),[A,v]=(0,r.useState)(!1),[w,k]=(0,r.useState)(!1),[I,b]=(0,r.useState)(!1),[P,T]=(0,r.useState)(!1),C=(0,o.ju)(i),E=()=>{a.returnToUsageExhausted?e():(0,d.Dh)({forced:!0,view:u.al.REGISTRATION_COMPLETE})};let _="Download the Word Add-in";N&&(_="Email me the Word Add-in link"),A&&(_=N?"Continue":"I've done this");let S=`${C.trialPrice} charged today for your ${C.trialDays}-day trial`;return C.trialFree&&(S=`${N?C.trialPrice:"FREE"} â nothing charged for ${C.trialDays} days`),(0,F.FD)(t.A,{className:"MlEy2hVOgM",size:"lg",children:[(0,F.FD)("span",{className:"g48aGhPIUM",children:[C.trialFree?"FREE":C.trialPrice," ",C.trialDays,"-DAY TRIAL STARTED"]}),(0,F.Y)(p.A,{className:"dwxp6d4X_p",children:"You're in â check your email"}),(0,F.Y)("p",{className:"YHu4ZRDsQO",children:N?(0,F.FD)(F.FK,{children:["Your receipt and a sign-in link were sent to ",(0,F.Y)("b",{children:y.email}),"."]}):(0,F.FD)(F.FK,{children:["We sent a confirmation link to ",(0,F.Y)("b",{children:y.email}),"."]})}),(0,F.FD)("section",{className:"YINRvkEKq0",children:[(0,F.FD)("dl",{children:[(0,F.FD)("div",{children:[(0,F.Y)("dt",{children:"Today"}),(0,F.Y)("dd",{children:S})]}),(0,F.FD)("div",{children:[(0,F.Y)("dt",{children:(0,o.In)(C.trialDays)}),(0,F.FD)("dd",{children:["Then ",(0,F.Y)("b",{children:C.price}),"/",C.interval,", cancel any time"]})]})]}),(0,F.FD)("p",{children:["Covered by our"," ",(0,F.FD)("b",{children:[30,"-day money-back guarantee"]})," from the first charge",N?". ":" â ",!N&&(0,F.FD)(F.FK,{children:["if Pro isn't for you, tell us within"," ",30," days and we refund it in full."," "]}),(0,F.Y)("a",{href:l.A.TERMS_OF_SERVICE,...l.Js,children:"See terms."})]})]}),!N&&(0,F.Y)(f,{}),(0,F.FD)(D.A,{fullwidth:!0,raised:!0,className:"XnVh0RTzlZ",disabled:I,size:"lg",onClick:async()=>
1{if(A)E();else if((0,g.s)("get_word_add_in_click",{...N?{method:"email"}:{},source:u.al.TRIAL_CONFIRMED}),N){k(!1),b(!0);try{await(0,s.RD)("/api/user/word-add-in-link",{method:"POST"}),v(!0)}catch{k(!0)}finally{b(!1)}}else window.open(l.A.WORD_ADD_IN,"_blank","noopener,noreferrer"),v(!0)},children:[!A&&(0,F.Y)("img",{alt:"",className:"mdc-button__icon",src:"/images/common/icon-logo-msword.svg"}),_]}),w&&(0,F.Y)("p",{className:"color-red font-sm",role:"alert",children:"Couldn't send the link. Please try again."}),N&&A&&(0,F.FD)("p",{className:h,children:["Link sent to ",(0,F.Y)("b",{children:y.email})]}),!A&&(0,F.Y)("p",{className:h,children:N?"Installs on desktop Word · Mac & Windows":"Mac & Windows Compatible · 2 minutes to set up"}),(0,F.Y)(D.A,{className:"PtlnxkrQ8_",onClick:()=>{(0,d.$7)("skip","word_add_in"),E()},children:"I'll do this later â back to what I was doing â"}),!N&&(0,F.FD)("p",{className:"adMFLTFNjM",children:["Didn't get it?"," ",(0,F.Y)(D.A,{className:"btn-link",disabled:P,onClick:async()=>{T(!0);try{await(0,m.gE)(void 0,`Confirmation email has been resent to your email address ${y.email}`)}finally{T(!1)}},children:"Resend link"})," ","·"," ",(0,F.Y)("a",{href:l.A.CONTACT_SUPPORT,...l.Js,children:"Contact support"})]})]})}}}]); 2//# sourceMappingURL=auth-view-TrialConfirmedDialogView.735ec3ed7f.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.