PageSourceSearch

https://www.ai.law/assets/IntakeHub-BblcZXBG.js

js ai.law collected 2026-10-07 01:24:35 UTC 8,437 bytes, 2 lines download raw bytes

1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/bootstrap-entry-RsXiDOXB.css","assets/route-page-TermsLaw-DhjqOk3t.css"])))=>i.map(i=>d[i]);
2import{_ as s}from"./bootstrap-entry-B4V8WpQL.js";import{r as i,j as r}from"./vendor-react-DmwhJYy_.js";import{G as E,cl as k,s as P,as as L}from"./bootstrap-marketing-app-Dx9wpxcP.js";import{O as I}from"./route-org-admin-OrgAdminPageShell-C027ZlIj.js";import{I as u,a as R}from"./route-org-admin-OrgAdminIntegrationsPage-CGngzzu_.js";import{io as A,ip as j,iq as D}from"./route-stable-client-case-portal-N7IaBT7x.js";import"./bootstrap-shared-Js1O6zw-.js";import"./bootstrap-error-logger-BxoXzQ9_.js";import"./bootstrap-dead-click-CXDmxnBY.js";import"./vendor-pdf-lib-BOMtRxDM.js";import"./route-org-admin-OrgAdminHelperShell-B7T9I34O.js";import"./route-org-admin-OrgBillingUpgradeTab-DtWxeClZ.js";import"./route-org-admin-AccountDeletionControls-C06DonF4.js";import"./route-page-ClientDiscoveryPage-CAVrTcG1.js";import"./route-page-TermsLaw-DuMPw-N7.js";import"./vendor-docx-BAGQvB3n.js";import"./route-page-TermsLawStatic-CH8-J42i.js";import"./route-page-LawsuitDrafterLanding-B2dxp72B.js";import"./route-page-Website-BCjffNFz.js";import"./route-page-WebsiteHomeLegacy-7qPpZ9ZD.js";import"./vendor-date-fns-B3EiXczj.js";import"./vendor-mammoth-Bx_tCl3x.js";import"./vendor-bluebird-B29T3ijy.js";import"./vendor-jszip-CkQrxI9X.js";import"./route-firm-billing-Integrations-Csvbo3XE.js";import"./route-org-admin-DeveloperSettings-DJWTKow5.js";import"./route-org-admin-OrgAdminMicrosoft365IntegrationsTab-CHmvYWRx.js";import"./vendor-exceljs-DlL8hXA3.js";import"./route-page-OAuthCallback-CI2pPW3g.js";const O=i.lazy(()=>s(()=>import("./PlaybookTab-DL6pBcxh.js"),__vite__mapDeps([0,1]))),z=i.lazy(()=>s(()=>import("./ReferralSourcesTab-UPLJsjzS.js"),__vite__mapDeps([0,1]))),U=i.lazy(()=>s(()=>import("./StagesTab-BnAwyza4.js"),__vite__mapDeps([0,1]))),C=i.lazy(()=>s(()=>import("./TeamTab-7pYiPhtz.js"),__vite__mapDeps([0]))),V=i.lazy(()=>s(()=>import("./ReferOutTab-DPJwBoWc.js"),__vite__mapDeps([0,1]))),N=i.lazy(()=>s(()=>import("./TurnDownTab-Cv1AsFdZ.js"),__vite__mapDeps([0,1]))),F=i.lazy(()=>s(()=>import("./CadenceTab-BeyVJd8K.js"),__vite__mapDeps([0,1]))),q=i.lazy(()=>s(()=>import("./ChannelsTab-BV6ZDWdr.js"),__vite__mapDeps([0,1]))),W=i.lazy(()=>s(()=>import("./AiIntakeTab-DVL4WCFN.js"),__vite__mapDeps([0,1]))),B=i.lazy(()=>s(()=>import("./QuestionsTab-CnHzz-0F.js"),__vite__mapDeps([0,1]))),H=i.lazy(()=>s(()=>import("./PortalTab-DysUqsnG.js"),__vite__mapDeps([0,1]))),Q=i.lazy(()=>s(()=>import("./IntakeWebsiteEmbedPanel-nSzD7lNZ.js"),__vite__mapDeps([0,1]))),m=[{id:"stages",label:"Stages",group:"Setup",title:"Pipeline Stages",description:"Customize the stages every lead moves through, from first contact to signed client."},{id:"team",label:"Team",group:"Setup",title:"Intake Team",description:"Who works your leads, what each person can decide on their own, and where approvals route when they can't."},{id:"cadence",label:"Contact Cadence",group:"Setup",title:"Contact Cadence & SLA",description:"Automatic follow-up steps for leads sitting in each stage, and your speed-to-lead response-time promise."},{id:"channels",label:"Channels",group:"Setup",title:"Intake Channels & Follow-Up",description:"SMS and AI-voice intake, plus the automatic thank-you and follow-up messages new leads receive."},{id:"referral-sources",label:"Referral Sources",group:"Setup",title:"Referral Sources",description:"One list of where your leads come from, with conversion and marketing ROI tracking built in."},{id:"turn-down",label:"Turn-Downs",group:"Lead Dispositions",title:"Turn-Down Reasons",description:"The reasons you decline matters, each with its own ready-to-send email. The
2se appear in the Disposition Email Center on every lead."},{id:"refer-out",label:"Refer Out",group:"Lead Dispositions",title:"Refer Out",description:"Your referral attorney network and the introduction emails sent to the client and receiving attorney."},{id:"questions",label:"Questions",group:"Lead Experience",title:"Questions",description:"Written intake questions for every lead and optional extras per matter type."},{id:"ai-intake",label:"AI Intake",group:"Lead Experience",title:"AI Intake",description:"Turn AI chat intake on or off, portal behavior, when the full interview runs, invitation emails, interview topics, and phone upload settings."},{id:"portal",label:"Portal",group:"Lead Experience",title:"Intake Portal",description:"Logo, welcome page, thank-you copy, and the evergreen share link for client intake."},{id:"website-form",label:"Website form",group:"Lead Experience",title:"Website Form",description:"Configure the public intake form, its saved copy and fields, and the code to place it on your website."},{id:"playbook",label:"Lead Eval",group:"Lead Experience",title:"Lead Eval",description:"Define your ideal client, refer-out rules, and decline rules in plain language so AI applies your judgment consistently."}],G=["Setup","Lead Dispositions","Lead Experience"],b=new Set(m.map(l=>l.id));function x(l,o){return l==="portal"&&o==="pages"?"questions":l==="portal"&&o==="website-form"?"website-form":l==="portal"&&o==="emails"?"ai-intake":l??u}function K(){return r.jsxs("div",{className:"flex items-center justify-center py-16 text-ds-secondary",children:[r.jsx(L,{className:"h-4 w-4 mr-2 animate-spin"}),"Loading…"]})}function Se(){const l=E(),[o,c]=k(),T=o.get("tab"),v=o.get("portalSub"),f=x(T,v),w=f&&b.has(f)?f:u,[n,d]=i.useState(w);i.useEffect(()=>{const e=o.get("tab"),a=o.get("portalSub"),p=D(e);if(p){l(A(p),{replace:!0});return}const g=j(e);if(g){l(g,{replace:!0});return}if(e==="custom-fields"){l("/leads",{replace:!0});return}if(e==="overview"){window.location.replace("/leads/reports");return}if(e==="portal"&&a==="pages"){const t=new URLSearchParams(o);t.set("tab","questions"),t.delete("portalSub"),c(t,{replace:!0}),d("questions");return}if(window.location.hash==="#default-ai-interview"&&(e==="questions"||e===null||e==="")){const t=new URLSearchParams(o);t.set("tab","ai-intake"),t.delete("portalSub"),c(t,{replace:!0}),d("ai-intake");return}if(e==="portal"&&a==="emails"){const t=new URLSearchParams(o);t.set("tab","ai-intake"),t.delete("portalSub"),c(t,{replace:!0}),d("ai-intake");return}if(e==="portal"&&(a==="embed"||a==="website-form")){const t=new URLSearchParams(o);t.set("tab","website-form"),t.delete("portalSub"),c(t,{replace:!0}),d("website-form");return}if(e&&b.has(e)&&e!=="portal"&&a){const t=new URLSearchParams(o);t.delete("portalSub"),c(t,{replace:!0});return}if(!e||!R(e)){const t=new URLSearchParams(o);t.set("tab",u),t.delete("portalSub"),c(t,{replace:!0}),d(u);return}const h=x(e,a);if(h!==e){const t=new URLSearchParams(o);t.set("tab",h),t.delete("portalSub"),c(t,{replace:!0}),d(h);return}d(t=>e&&b.has(e)&&e!==t?e:t)},[o,c,l]);const y=e=>{if(!b.has(e))return;d(e);const a=new URLSearchParams(o);a.set("tab",e),e==="portal"?a.get("portalSub")||a.set("portalSub","branding"):a.delete("portalSub"),c(a,{replace:!0}),window.scrollTo({top:0,behavior:"smooth"})},_=i.useMemo(()=>{const e=m.find(a=>a.id===n);return e||(m.find(a=>a.id===u)??m[0])},[n]),S=r.jsx("div",{className:"border-b mb-4",children:r.jsx("div",{className:"flex flex-wrap items-end gap-x-5 gap-y-1",children:G.map(e=>{const a=m.filter(p=>p.group===e);return r.jsxs("div",{className:"flex flex-col pb-0",children:[r.jsx("span",{className:"text-[10px] font-semibold uppercase tracking-[0.08em] text-ds-tertiary pl-3 pt-1",children:e}),r.jsx("div",{className:"flex items-center",children:a.map(p=>r.jsx("button",{type:"button",className:P("px-3 py-2 text-ds-content font-medium border-b-2 transition-colors -mb-px whitespace-nowrap",n===p.id?"border-primary text-foreground":"border-transparent text-ds-secondary hover:text-foreground hover:border-muted-foreground
2/30"),onClick:()=>y(p.id),children:p.label},p.id))})]},e)})})});return r.jsx(I,{toolId:"org-admin-lead-acceptance",title:_.title,description:_.description,tabs:S,children:r.jsxs(i.Suspense,{fallback:r.jsx(K,{}),children:[n==="playbook"&&r.jsx(O,{}),n==="stages"&&r.jsx(U,{}),n==="referral-sources"&&r.jsx(z,{}),n==="team"&&r.jsx(C,{}),n==="turn-down"&&r.jsx(N,{}),n==="cadence"&&r.jsx(F,{}),n==="refer-out"&&r.jsx(V,{}),n==="channels"&&r.jsx(q,{}),n==="ai-intake"&&r.jsx(W,{}),n==="questions"&&r.jsx(B,{}),n==="portal"&&r.jsx(H,{}),n==="website-form"&&r.jsx(Q,{})]})})}export{Se as default};

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.