PageSourceSearch

https://grella.ai/_next/static/chunks/2xsgtusd9wxa0.js

js grella.ai collected 2026-10-05 15:18:37 UTC 171,290 bytes, 1 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,52486,e=>{"use strict";let t=["matter","witness","issue","note","factBefore","factAfter","sourceName","sourcePage","sourceQuote","briefingTitle","briefingText","impactReason","question","revisedQuestion","manualAnswer","suggestedAnswer"];e.s(["getDemoWorkflowData",0,function(e){return null!=e&&!0===(null==e||("object"!=typeof e||Array.isArray(e)?"Enter a workflow scenario object.":t.some(t=>"string"!=typeof e[t]||!e[t].trim()||e[t].length>3e3)?"Each workflow text field must contain between 1 and 3000 characters.":!Array.isArray(e.documents)||e.documents.length<2||e.documents.length>8?"Provide 2 to 8 synthetic document rows.":e.documents.some(e=>!e||"object"!=typeof e||["name","answer","quote"].some(t=>"string"!=typeof e[t]||!e[t].trim()||e[t].length>3e3)||!["Answered","Conflicting","Not found"].includes(e.status))?"Every document needs a name, answer, source quotation and supported status.":new Set(e.documents.map(e=>e.name)).size===e.documents.length||"Synthetic document names must be unique."))?e:void 0},"initialWorkflowState",0,{factCorrected:!1,answerCorrected:!1,questionRevision:0,answerQuestionRevisions:{},suggestionReady:!1,suggestionAccepted:!1,markedReviewed:!1},"workflowAnswerIsStale",0,function(e,t){return(e.answerQuestionRevisions[t]??0)!==e.questionRevision},"workflowScreens",0,["witness-view","fact-correction","tabular-review","review-answer","change-review","affected-work"]])},87969,e=>{"use strict";let t={facts:[{date:"Apr 22, 2026",statement:"The owner restricted access to the eastern work zone from 22 April 2026.",relevance:"High",source:"Change Order 12.pdf · p.14"},{date:"Apr 26, 2026",statement:"Northline reserved its entitlement to an extension arising from restricted site access.",relevance:"High",source:"Access notice.pdf · p.2"},{date:"May 3, 2026",statement:"The project team circulated a revised access sequence after Change Order 12.",relevance:"High",source:"Project emails.pdf · p.8"},{date:"May 9, 2026",statement:"The delay log records lost productive time during the restricted-access period.",relevance:"Medium",source:"Delay log.pdf · p.42"},{date:"May 16, 2026",statement:"An inspection note records incomplete access to the affected area but uses an earlier date.",relevance:"Medium",source:"Inspection notes.pdf · p.7"},{date:"May 22, 2026",statement:"The owner response disputes causation but accepts that the access sequence changed.",relevance:"High",source:"Owner response.pdf · p.4"},{date:"May 29, 2026",statement:"Northline linked the access restriction to the revised completion date in its extension submission.",relevance:"High",source:"EOT submission.pdf · p.6"}],links:{"key-parties:0":[0,5],"key-parties:1":[2,3],"key-parties:2":[1,6],"key-parties:3":[3],"key-parties:4":[4],"key-parties:5":[5],"key-parties:6":[],"issues:0":[0],"issues:1":[2],"issues:2":[0,3],"issues:3":[4],"issues:4":[1],"issues:5":[],"issues:6":[3],"issues:7":[6],"weaknesses:0":[4],"weaknesses:1":[5],"weaknesses:2":[],"file-notes:0":[0,2],"file-notes:1":[3],"file-notes:2":[5],"file-notes:3":[]}};e.s(["getDemoFactData",0,function(e){return null!=e&&!0===(null==e||(Array.isArray(e.facts)&&e.facts.some(e=>e?.sources!=null&&(!Array.isArray(e.sources)||e.sources.some(e=>"string"!=typeof e||!e.trim())))?"Additional sources must be non-empty strings.":!Array.isArray(e.facts)||!e.links||"object"!=typeof e.links||Array.isArray(e.links)?"Provide facts and links.":e.facts.some(e=>!e||!["date","statement","source"].every(t=>"string"==typeof e[t]&&String(e[t]).trim())||!["High","Medium"].includes(e.relevance)||null!=e.relationship&&"string"!=typeof e.relationship||null!=e.suggested&&"boolean"!=typeof e.suggested)?"Each fact needs date, statement, source and High or Medium relevance.":!Object.entries(e.links).some(([t,s])=>!/^(key-parties|issues|weaknesses|file-notes):\d+$/.test(t)||!Array.isArray(s)||s.some(t=>!Number.isInteger(t)||t<0||t>=e.facts.length))||"Links must use dashboard-view:index keys and valid fact indexes."))?e:t}])},839,e=>{"use strict";var t=e.i(71645),s=e.i(87969),a=e.i(52486);let r=(0,t.createContext)(null),n=()=>(0,t.useContext)(r),i=(0,t.createContext)(void 0),o=(0,t.createContext)(void 0);e.s(["DemoFactDataContext",0,i,"DemoSceneContext",0,r,"DemoWorkflowDataContext",0,o,"useDemoFactData",0,function(){let e=n(),a=(0,t.useContext)(i);return(0,s.getDemoFactData)(e?e.config.factData:a)},"useDemoScene",0,n,"useDemoWorkflowData",0,function(){let e=n(),s=(0,t.useContext)(o);return(0,a.getDemoWorkflowData)(e?e.config.workflowData:s)}])},20711,e=>{"use strict";var t=e.i(43476),s=e.i(75157);e.s(["GrellaDesktopAppFrame",0,function({ariaLabel:e,cameraStyle:a,children:r,className:n,interactive:i=!1}){return(0,t.jsx)("div",{"aria-label":e,className:(0,s.cn)("app-preview-frame aspect-video min-w-0 
1w-full overflow-hidden rounded-lg border border-border bg-background",i&&"app-preview-frame-interactive",n),role:i?"region":"img",children:(0,t.jsx)("div",{inert:!i,className:"grella-app-camera flex h-[864px] w-[1536px] origin-top-left bg-background transition-transform duration-700 ease-out motion-reduce:transition-none",style:a,children:r})})}])},63676,e=>{"use strict";var t=e.i(14387);e.s(["X",()=>t.default])},11241,96892,56423,42693,63707,24071,67927,74544,8734,69846,49487,94105,13285,70533,82505,15227,26787,89904,71091,64801,77071,50203,66794,50832,93414,38268,e=>{"use strict";var t=e.i(56420);let s=(0,t.default)("arrow-left",[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]]);e.s(["ArrowLeft",0,s],11241);let a=(0,t.default)("arrow-up",[["path",{d:"m5 12 7-7 7 7",key:"hav0vg"}],["path",{d:"M12 19V5",key:"x0mq9r"}]]);e.s(["ArrowUp",0,a],96892);let r=(0,t.default)("book-open",[["path",{d:"M12 7v14",key:"1akyts"}],["path",{d:"M3 18a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h5a4 4 0 0 1 4 4 4 4 0 0 1 4-4h5a1 1 0 0 1 1 1v13a1 1 0 0 1-1 1h-6a3 3 0 0 0-3 3 3 3 0 0 0-3-3z",key:"ruj8y"}]]);e.s(["BookOpen",0,r],56423);let n=(0,t.default)("blocks",[["path",{d:"M10 22V7a1 1 0 0 0-1-1H4a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-5a1 1 0 0 0-1-1H2",key:"1ah6g2"}],["rect",{x:"14",y:"2",width:"8",height:"8",rx:"1",key:"88lufb"}]]);e.s(["Blocks",0,n],42693);let i=(0,t.default)("chevrons-up-down",[["path",{d:"m7 15 5 5 5-5",key:"1hf1tw"}],["path",{d:"m7 9 5-5 5 5",key:"sgt6xg"}]]);e.s(["ChevronsUpDown",0,i],63707);let o=(0,t.default)("chevron-left",[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]]);e.s(["ChevronLeft",0,o],24071);let l=(0,t.default)("chevron-right",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]]);e.s(["ChevronRight",0,l],67927);let c=(0,t.default)("clock",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 6v6l4 2",key:"mmk7yg"}]]);e.s(["Clock",0,c],74544);let d=(0,t.default)("copy",[["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",key:"zix9uf"}]]);e.s(["Copy",0,d],8734);let h=(0,t.default)("git-branch",[["path",{d:"M15 6a9 9 0 0 0-9 9V3",key:"1cii5b"}],["circle",{cx:"18",cy:"6",r:"3",key:"1h7g24"}],["circle",{cx:"6",cy:"18",r:"3",key:"fqmcym"}]]);e.s(["GitBranch",0,h],69846);let p=(0,t.default)("highlighter",[["path",{d:"m9 11-6 6v3h9l3-3",key:"1a3l36"}],["path",{d:"m22 12-4.6 4.6a2 2 0 0 1-2.8 0l-5.2-5.2a2 2 0 0 1 0-2.8L14 4",key:"14a9rk"}]]);e.s(["Highlighter",0,p],49487);let m=(0,t.default)("layout-dashboard",[["rect",{width:"7",height:"9",x:"3",y:"3",rx:"1",key:"10lvy0"}],["rect",{width:"7",height:"5",x:"14",y:"3",rx:"1",key:"16une8"}],["rect",{width:"7",height:"9",x:"14",y:"12",rx:"1",key:"1hutg5"}],["rect",{width:"7",height:"5",x:"3",y:"16",rx:"1",key:"ldoo1y"}]]);e.s(["LayoutDashboard",0,m],94105);let u=(0,t.default)("layers",[["path",{d:"M12.83 2.18a2 2 0 0 0-1.66 0L2.6 6.08a1 1 0 0 0 0 1.83l8.58 3.91a2 2 0 0 0 1.66 0l8.58-3.9a1 1 0 0 0 0-1.83z",key:"zw3jo"}],["path",{d:"M2 12a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 12",key:"1wduqc"}],["path",{d:"M2 17a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 17",key:"kqbvx6"}]]);e.s(["Layers",0,u],13285);let x=(0,t.default)("library",[["path",{d:"m16 6 4 14",key:"ji33uf"}],["path",{d:"M12 6v14",key:"1n7gus"}],["path",{d:"M8 8v12",key:"1gg7y9"}],["path",{d:"M4 4v16",key:"6qkkli"}]]);e.s(["Library",0,x],70533);let g=(0,t.default)("list",[["path",{d:"M3 5h.01",key:"18ugdj"}],["path",{d:"M3 12h.01",key:"nlz23k"}],["path",{d:"M3 19h.01",key:"noohij"}],["path",{d:"M8 5h13",key:"1pao27"}],["path",{d:"M8 12h13",key:"1za7za"}],["path",{d:"M8 19h13",key:"m83p4d"}]]);e.s(["List",0,g],82505);let f=(0,t.default)("message-circle",[["path",{d:"M2.992 16.342a2 2 0 0 1 .094 1.167l-1.065 3.29a1 1 0 0 0 1.236 1.168l3.413-.998a2 2 0 0 1 1.099.092 10 10 0 1 0-4.777-4.719",key:"1sd12s"}]]);e.s(["MessageCircle",0,f],15227);let y=(0,t.default)("maximize-2",[["path",{d:"M15 3h6v6",key:"1q9fwt"}],["path",{d:"m21 3-7 7",key:"1l2asr"}],["path",{d:"m3 21 7-7",key:"tjx5ai"}],["path",{d:"M9 21H3v-6",key:"wtvkvv"}]]);e.s(["Maximize2",0,y],26787);let b=(0,t.default)("ellipsis-vertical",[["circle",{cx:"12",cy:"12",r:"1",key:"41hilf"}],["circle",{cx:"12",cy:"5",r:"1",key:"gxeob9"}],["circle",{cx:"12",cy:"19",r:"1",key:"lyex9k"}]]);e.s(["MoreVertical",0,b],89904);let v=(0,t.default)("panel-left",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M9 3v18",key:"fh3hqa"}]]);e.s(["PanelLeft",0,v],71091);let w=(0,t.default)("paperclip",[["path",{d:"m16 6-8.414 8.586a2 2 0 0 0 2.829 2.829l8.414-8.586a4 4 0 1 0-5.657-5.657l-8.379 8.551a6 6 0 1 0 8.485 8.485l8.379-8.551",key:"1miecu"}]]);e.s(["Paperclip",0,w],64801);let j=(0,t.default)("plus",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]]);e.s(["Plus",0,j],77071);let N=(0,t.default)("refresh-ccw",[["path",{d:"M21 12a9 9 0 0 0-9-9 9.75 9.75 0 0 0-6.74 2.74L3 8",key:"14sxne"}],["path",{d:"M3 3v5h5",key:"1xhq8a"}],["path",{d:"M3 12a9 9 0 0 0 9 9 9.75 9.75 0 0 0 6.74-2.74L21 16",key:"1hlbsb"}],["path",{d:"M16 16h5v5",key:"ccwih5"}]]);e.s(["RefreshCcw",0,N],50203);let k=(0,t.default)("settings",[["path",{d:"M9.671 4.136a2.34 2.34 0 0 1 4.659 0 2.34 2.34 0 0 0 3.319 1.915 2.34 2.34 0 0 1 2.33 4.033 2.34 2.34 0 0 0 0 3.831 2.34 2.34 0 0 1-2.33 4.033 2.34 2.34 0 0 0-3.319 1.915 2.34 2.34 0 0 1-4.659 0 2.34 2.34 0 0 0-3.32-1.915 2.34 2.34 0 0 1-2.33-4.033 2.34 2.34 0 0 0 0-3.831A2.34 2.34 0 0 1 6.35 6.051a2.34 2.34 0 0 0 3.319-1.915",key:"1i5ecw"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]]);e.s(["Settings",0,k],66794);let C=(0,t.default)("settings-2",[["path",{d:"M14 17H5",key:"gfn3mx"}],["path",{d:"M19 7h-9",key:"6i9tg"}],["circle",{cx:"17",cy:"17",r:"3",key:"18b49y"}],["circle",{cx:"7",cy:"7",r:"3",key:"dfmy0x"}]]);e.s(["Settings2",0,C],50832);let A=(0,t.default)("zoom-in",[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["line",{x1:"21",x2:"16.65",y1:"21",y2:"16.65",key:"13gj7c"}],["line",{x1:"11",x2:"11",y1:"8",y2:"14",key:"1vmskp"}],["line",{x1:"8",x2:"14",y1:"11",y2:"11",key:"durymu"}]]);e.s(["ZoomIn",0,A],93414);let M=(0,t.default)("zoom-out",[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["line",{x1:"21",x2:"16.65",y1:"21",y2:"16.65",key:"13gj7c"}],["line",{x1:"8",x2:"14",y1:"11",y2:"11",key:"durymu"}]]);e.s(["ZoomOut",0,M],38268)},54251,e=>{"use strict";var t=e.i(43476),s=e.i(839),a=e.i(11241),r=e.i(96892),n=e.i(56423),i=e.i(42693),o=e.i(63707),l=e.i(24071),c=e.i(67927),d=e.i(74544),h=e.i(8734),p=e.i(69846),m=e.i(49487),u=e.i(94105),x=e.i(13285),g=e.i(70533),f=e.i(82505),y=e.i(15227),b=e.i(26787),v=e.i(89904),w=e.i(71091),j=e.i(64801),N=e.i(77071),k=e.i(50203),C=e.i(66794),A=e.i(50832),M=e.i(63676),S=e.i(93414),z=e.i(38268),T=e.i(75157),q=e.i(20711);let D=[{label:"Dashboard",Icon:u.LayoutDashboard},{label:"Documents",Icon:g.Library},{label:"Facts",Icon:f.List},{label:"Chronologies",Icon:d.Clock,expanded:!0},{label:"Chats",Icon:y.MessageCircle,active:!0,expanded:!0},{label:"Work Products",Icon:i.Blocks,expanded:!0}],P=["Master chronology","Key employment events","Billing review timeline"],L=["What changed in the record?","Build the retaliation timeline","Compare performance reasons","Which facts need review?"],R=["Partner case briefing","Retaliation evidence memo","Chronology summary"],I={medcore:{activeChat:"What changed in the record?",chatItems:L,chronologyItems:P,workProductItems:R,logoSrc:"https://brand.grella.ai/logo-horizontal-dark.svg",matterName:"Mitchell v MedCore",matterType:"Employment",navItems:D},northline:{activeChat:"",chatItems:["What changed in the access notice?","Build delay causation timeline","Compare Change Order 12","Which facts need review?"],chronologyItems:["Master chronology","Site access & delay","Change Order 12"],workProductItems:["Access-delay response memo","Partner case briefing","Extension evidence matrix"],logoSrc:"https://brand.grella.ai/logo-horizontal-dark.svg",matterName:"Northline Dispute",matterType:"Commercial dispute",navItems:[{label:"Dashboard",Icon:u.LayoutDashboard,active:!0},{label:"Documents",Icon:g.Library},{label:"Facts",Icon:f.List},{label:"Chronologies",Icon:d.Clock,expanded:!0},{label:"Chats",Icon:y.MessageCircle,expanded:!0},{label:"Work Products",Icon:i.Blocks,expanded:!0}]}},O=[{heading:"Answer and Defenses",body:["Defendant MedCore Health Solutions, Inc. answers the C
1omplaint and denies each allegation not expressly admitted. Defendant states that all billing, coding, compliance, and internal-review activity was maintained in ordinary business records.","Defendant admits that Relator was employed during the period alleged, but denies that any personnel action was taken because of protected activity, reports, or objections concerning billing practices.","The performance-improvement documentation reflected employee-specific concerns, including missed deadlines, incomplete review notes, and repeated failure to follow escalation procedures.","Internal emails and review logs show that coding questions were escalated through finance and compliance channels before Relator raised the issues described in the Complaint.","Defendant denies that any claim was submitted knowingly, falsely, or with reckless disregard. Defendant further denies that Relator suffered damages in the amounts alleged."]},{heading:"Affirmative Defenses",body:["Relator's claims are barred in whole or in part by the applicable statute of limitations.","Relator's termination was based on legitimate performance issues and documented business reasons unrelated to protected conduct.","MedCore at all times acted in good faith and with a reasonable belief that its coding practices complied with governing requirements.","Any alleged false claim, if proven, resulted from mistake, inadvertence, or unintentional error and not from knowing misconduct.","Relator failed to mitigate alleged damages and cannot recover amounts unsupported by source records, payroll history, or billing documentation."]},{heading:"Reservation of Rights",body:["Defendant reserves all defenses available at law or equity and reserves the right to amend this pleading after further investigation, discovery, document review, and expert analysis.","Defendant requests judgment in its favor, dismissal of the Complaint with prejudice, costs, attorneys fees, and all further relief the Court deems proper."]}];function _({active:e,expanded:a,Icon:r,label:n}){let i=(0,s.useDemoScene)(),o={Dashboard:"overview",Documents:"documents",Facts:"facts",Chronologies:"chronologies",Chats:"chat","Work Products":"work-products"}[n],l=i&&o?"button":"div";return(0,t.jsxs)(l,{"data-demo-target":o?`nav-${o}`:void 0,onClick:i&&o?()=>i.navigate(o):void 0,className:(0,T.cn)("type-ui flex h-8 min-w-0 items-center gap-2 overflow-hidden rounded-md p-2 text-left text-sidebar-foreground/70",e&&"type-emphasis bg-sidebar-accent text-sidebar-accent-foreground"),children:[(0,t.jsx)(r,{className:"size-4 shrink-0"}),(0,t.jsx)("span",{className:"min-w-0 flex-1 truncate",children:n}),void 0!==a?(0,t.jsx)(c.ChevronRight,{className:(0,T.cn)("size-4 shrink-0 opacity-80",a&&"rotate-90")}):null]})}function F(e){let r=(0,s.useDemoScene)(),{className:n,preset:i="medcore",...l}=e,{activeChat:c="What changed in the record?",activeChronology:d="",activeWorkProduct:h="",backLabel:p="All Matters",chatItems:m=L,chronologyItems:u=P,logoSrc:x="https://brand.grella.ai/logo-horizontal-dark.svg",matterName:g="Mitchell v MedCore",matterType:f="Employment",navItems:y=D,userName:b="Jordan Lee",userRole:v="Partner",workProductItems:w=R}={...I[i],...l};return(0,t.jsxs)("aside",{className:(0,T.cn)("m-2 flex min-h-0 flex-col rounded-lg border border-sidebar-border bg-sidebar text-sidebar-foreground shadow-sm",n),children:[(0,t.jsxs)("div",{className:"flex flex-col gap-2 p-2",children:[(0,t.jsx)("div",{className:"flex h-8 items-center rounded-md p-2",children:(0,t.jsx)("img",{alt:"Grella",className:"h-5 w-fit",height:20,src:x,width:86})}),(0,t.jsxs)("div",{className:"type-ui mt-2 flex h-8 min-w-0 items-center gap-2 rounded-md p-2 text-muted-foreground",children:[(0,t.jsx)(a.ArrowLeft,{className:"size-4"}),(0,t.jsx)("span",{children:p})]}),(0,t.jsxs)("div",{className:"border-b border-border px-3 pb-3",children:[(0,t.jsx)("p",{className:"type-body type-emphasis text-foreground",children:g}),(0,t.jsx)("p",{className:"type-caption text-muted-foreground",children:f})]})]}),(0,t.jsx)("div",{className:"flex min-h-0 flex-1 flex-col gap-0 overflow-hidden",children:(0,t.jsxs)("div",{className:"relative flex min-h-0 flex-1 flex-col overflow-hidden p-2 pb-0",children:[(0,t.jsx)("div",{className:"grella-preview-scroll min-h-0 flex-1 overflow-x-hidden overflow-y-auto pr-2 [&::-webkit-scrollbar]:hidden",style:{scrollbarWidth:"none"},children:(0,t.jsx)("div",{className:"flex w-full min-w-0 flex-col gap-1",children:y.map(({active:e,expanded:s,Icon:a,label:n})=>(0,t.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,t.jsx)(_,{active:e,expanded:s,Icon:a,label:n}),"Chronologies"===n&&s?(0,t.jsx)("div",{className:"ml-3.5 mr-0 flex min-w-0 translate-x-px flex-col gap-1 border-l border-sidebar-border py-0.5 pl-2.5 pr-0",children:u.map(e=>"Site access & delay"===e&&r?(0,t.jsx)("button",{type:"button",className:(0,T.cn)("type-ui flex h-7 min-w-0 items-center truncate rounded-md px-2 text-left text-sidebar-foreground
1/70 hover:bg-sidebar-accent",e===d&&"bg-sidebar-accent text-sidebar-accent-foreground"),onClick:()=>r.navigate("chronology"),children:e},e):(0,t.jsx)("p",{className:(0,T.cn)("type-ui flex h-7 min-w-0 -translate-x-px items-center truncate rounded-md px-2 text-sidebar-foreground/70",e===d&&"bg-sidebar-accent text-sidebar-accent-foreground"),children:e},e))}):null,"Chats"===n&&s?(0,t.jsxs)("div",{className:"ml-3.5 mr-0 flex min-w-0 translate-x-px flex-col gap-1 border-l border-sidebar-border py-0.5 pl-2.5 pr-0",children:[(0,t.jsxs)("p",{className:"type-ui flex h-7 min-w-0 -translate-x-px items-center gap-2 rounded-md px-2 text-sidebar-foreground/70",children:[(0,t.jsx)(N.Plus,{className:"size-4"}),(0,t.jsx)("span",{className:"text-muted-foreground",children:"New chat"})]}),m.map(e=>(0,t.jsx)("p",{className:(0,T.cn)("type-ui flex h-7 min-w-0 -translate-x-px items-center truncate rounded-md px-2 text-sidebar-foreground/70",e===c&&"bg-sidebar-accent text-sidebar-accent-foreground"),children:e},e))]}):null,"Work Products"===n&&s?(0,t.jsx)("div",{className:"ml-3.5 mr-0 flex min-w-0 translate-x-px flex-col gap-1 border-l border-sidebar-border py-0.5 pl-2.5 pr-0",children:w.map(e=>(0,t.jsx)("p",{className:(0,T.cn)("type-ui flex h-7 min-w-0 -translate-x-px items-center truncate rounded-md px-2 text-sidebar-foreground/70",e===h&&"bg-sidebar-accent text-sidebar-accent-foreground"),children:e},e))}):null]},n))})}),(0,t.jsx)("div",{className:"mt-2 pt-2",children:(0,t.jsx)(_,{Icon:C.Settings,label:"Matter Settings"})})]})}),(0,t.jsx)("div",{className:"flex flex-col gap-2 p-2",children:(0,t.jsxs)("div",{className:"grid h-12 grid-cols-[auto_1fr_auto] items-center gap-2 rounded-md p-2",children:[(0,t.jsx)("span",{className:"type-caption grid size-8 place-items-center rounded-lg bg-muted text-foreground",children:b.split(" ").map(e=>e[0]).join("").slice(0,2)}),(0,t.jsxs)("div",{className:"min-w-0",children:[(0,t.jsx)("p",{className:"type-ui type-emphasis truncate text-foreground",children:b}),(0,t.jsx)("p",{className:"type-caption truncate text-muted-foreground",children:v})]}),(0,t.jsx)(o.ChevronsUpDown,{className:"size-4 text-muted-foreground"})]})})]})}function G({ariaLabel:e,children:a,onClick:r,target:n="open-source"}){let i=(0,s.useDemoScene)(),o=r||(i&&"1"===String(a)?i.openSource:void 0),l="grella-app-citation type-caption type-emphasis inline-block rounded-full bg-primary-surface px-2.5 py-1 text-primary transition-[filter] duration-200 hover:brightness-95 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring";return o?(0,t.jsx)("button",{"aria-label":e||"Open cited source","data-demo-target":n,className:l,onClick:()=>o(),type:"button",children:a}):(0,t.jsx)("span",{className:l,children:a})}function E(){return(0,t.jsxs)(t.Fragment,{children:["The PIP was issued on ",(0,t.jsx)("span",{className:"type-emphasis",children:"May 1, 2023"}),', Mitchell\'s first negative performance documentation in six years of consistently "Exceeds Expectations" reviews ',(0,t.jsx)(G,{children:"9"}),"."]})}function W(){return(0,t.jsxs)(t.Fragment,{children:["The evidence shows MedCore knew about and discussed the upcoding problem at the highest level at ",(0,t.jsx)("span",{className:"type-emphasis",children:"least one month before"}),"Mitchell's report. Harrison and Cole acknowledged the anomalous E&M coding levels, recognized they would attract attention or trigger an audit, and kept their discussions confidential. That supports the relator's claim that the scheme was knowing"," ",(0,t.jsx)(G,{children:"10"}),"."]})}function H({actions:e=[k.RefreshCcw,h.Copy,p.GitBranch],inputPlaceholder:s="Ask me anything",leadingBody:a=(0,t.jsx)(E,{}),quote:i="keep it performance-based.",showSources:o=!0,sourceLabel:l="Sources",summaryBody:c=(0,t.jsx)(W,{}),summaryTitle:d="Summary"}){return(0,t.jsx)("main",{className:"flex min-h-0 flex-1 flex-col border-r border-border bg-background",children:(0,t.jsx)("div",{className:"grella-preview-scroll min-h-0 flex-1 overflow-x-hidden overflow-y-auto px-4 py-4",children:(0,t.jsxs)("div",{className:"proof-chat-message mx-auto flex h-full max-w-3xl flex-col",children:[(0,t.jsx)("blockquote",{className:"grella-app-message-step border-l-4 border-blue-foreground
1/40 pl-4 text-muted-foreground",children:(0,t.jsx)("p",{className:"type-body italic",children:i})}),(0,t.jsx)("div",{className:"grella-app-message-step mt-4",children:(0,t.jsx)("p",{className:"type-body text-foreground",children:a})}),(0,t.jsx)("div",{className:"my-6 border-t border-border"}),(0,t.jsxs)("div",{className:"grella-app-message-step",children:[(0,t.jsx)("h4",{className:"type-ui type-emphasis text-foreground",children:d}),(0,t.jsx)("p",{className:"type-body mt-3 text-foreground",children:c})]}),o?(0,t.jsxs)("div",{className:"grella-app-message-step mt-4 flex w-fit items-center gap-2 text-muted-foreground",children:[(0,t.jsx)(n.BookOpen,{className:"size-4"}),(0,t.jsx)("span",{className:"type-ui",children:l})]}):null,(0,t.jsx)("div",{className:"proof-chat-actions mt-4 flex items-center gap-4 text-muted-foreground","aria-label":"Message actions",children:e.map(e=>(0,t.jsx)("span",{"aria-label":e.displayName??e.name,className:"inline-grid size-8 place-items-center rounded-md",role:"img",children:(0,t.jsx)(e,{className:"size-4"})},e.displayName??e.name))}),(0,t.jsx)("div",{className:"mt-auto pt-6",children:(0,t.jsxs)("div",{className:"grella-app-input divide-y divide-border overflow-hidden rounded-lg border border-border bg-card shadow-sm",children:[(0,t.jsx)("p",{className:"type-ui min-h-12 px-3 py-3 text-muted-foreground",children:s}),(0,t.jsxs)("div",{className:"flex items-center justify-between p-1",children:[(0,t.jsxs)("div",{className:"flex items-center gap-1",children:[(0,t.jsx)("span",{className:"grid size-8 place-items-center rounded-full border border-border bg-card text-muted-foreground",children:(0,t.jsx)(j.Paperclip,{className:"size-4 text-muted-foreground"})}),(0,t.jsx)("span",{className:"grid size-8 place-items-center rounded-full border border-border bg-card text-muted-foreground",children:(0,t.jsx)(A.Settings2,{className:"size-4 text-muted-foreground"})})]}),(0,t.jsx)("span",{className:"grid size-9 place-items-center rounded-full bg-primary text-primary-foreground",children:(0,t.jsx)(r.ArrowUp,{className:"size-4"})})]})]})})]})})})}function B({breadcrumbs:e=["Matters","Northline Construction Dispute","Dashboard"],fileManagerLabel:s="Files",showFileManager:a=!0,title:r}){return(0,t.jsxs)("header",{className:"edge-fade edge-fade-bottom sticky top-0 z-50 flex h-12 shrink-0 items-center gap-2 bg-background px-6",children:[(0,t.jsx)("span",{className:"-ml-1 grid size-8 place-items-center rounded-md text-foreground","aria-hidden":"true",children:(0,t.jsx)(w.PanelLeft,{className:"size-4"})}),(0,t.jsx)("div",{className:"mx-2 h-4 w-px bg-border"}),r?(0,t.jsx)("p",{className:"type-ui min-w-0 truncate text-foreground",children:r}):(0,t.jsx)("nav",{className:"type-ui flex min-w-0 items-center gap-1 overflow-hidden","aria-label":"Breadcrumb",children:e.map((s,a)=>(0,t.jsxs)("span",{className:"contents",children:[a>0?(0,t.jsx)("span",{className:"type-emphasis shrink-0 text-muted-foreground",children:"/"}):null,(0,t.jsx)("span",{className:(0,T.cn)("shrink-0 truncate",a===e.length-1?"min-w-0 flex-1 text-foreground":"max-w-56 text-muted-foreground"),children:s})]},`${s}-${a}`))}),a?(0,t.jsx)("span",{"aria-label":s,className:"ml-auto grid size-9 shrink-0 place-items-center rounded-md text-muted-foreground",role:"img",children:(0,t.jsx)(x.Layers,{className:"size-4"})}):null]})}function $({ariaLabel:e,cameraStyle:s,children:a,className:r,contentClassName:n,framed:i=!0,interactive:o=!1,sidebar:l}){let{className:c,...d}=l??{},h=(0,t.jsxs)("div",{className:(0,T.cn)("relative grid h-full w-full grid-cols-[16rem_minmax(0,1fr)] overflow-hidden bg-background text-foreground",!i&&r,n),children:[(0,t.jsx)(F,{className:(0,T.cn)("h-[calc(100%-1rem)]",c),...d}),a]});return i?(0,t.jsx)(q.GrellaDesktopAppFrame,{ariaLabel:e,cameraStyle:s,className:r,interactive:o,children:h}):h}function V({tone:e="pdf"}){let s="doc"===e?"file-docx":"sheet"===e?"file-xls":"file-pdf";return(0,t.jsx)("img",{alt:"","aria-hidden":"true",className:"grella-file-icon size-6 shrink-0 object-contain","data-tone":e,src:`/icons/${s}.svg`})}function U({children:e}){return(0,t.jsx)("article",{className:"grella-pdf-paper",children:(0,t.jsx)("div",{className:"grella-pdf-document px-8 py-6",children:e})})}function K({footerLabel:e="Page 6 of 6",scrollOffset:s,title:a="Defendant's Answer"}){return(0,t.jsx)("div",{className:"grella-pdf-stack mx-auto flex w-[92%] flex-col gap-5 py-5",style:s?{"--grella-pdf-scroll":s}:void 0,children:(0,t.jsxs)(U,{children:[(0,t.jsxs)("div",{className:"grella-pdf-rule flex items-start justify-between gap-4 border-b pb-2",children:[(0,t.jsx)("div",{className:"grella-pdf-meta grella-pdf-muted",children:"Case No. 24-CV-1842"}),(0,t.jsx)("div",{className:"grella-pdf-meta grella-pdf-muted",children:"Page 6 of 6"})]}),(0,t.jsxs)("div",{className:"grella-pdf-rule mt-4 grid grid-cols-[1fr_auto_1fr] gap-3 border-b pb-3",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)("p",{className:"grella-pdf-meta",children:"United States ex rel. Sarah Mitchell,"}),(0,t.jsx)("p",{className:"grella-pdf-meta grella-pdf-muted",children:"Relator,"}),(0,t.jsx)("p",{className:"grella-pdf-meta mt-2",children:"v."}),(0,t.jsx)("p",{className:"grella-pdf-meta mt-2",children:"MedCore Health Solutions, Inc.,"}),(0,t.jsx)("p",{className:"grella-pdf-meta grella-pdf-muted",children:"Defendant."})]}),(0,t.jsx)("div",{className:"grella-pdf-meta grella-pdf-muted px-2",children:":"}),(0,t.jsxs)("div",{className:"text-right",children:[(0,t.jsx)("p",{className:"grella-pdf-meta",children:"Civil Action No. 24-CV-1842"}),(0,t.jsx)("p",{className:"grella-pdf-meta",children:"Judge Carter"}),(0,t.jsx)("p",{className:"grella-pdf-meta",children:"Filed: August 7, 2024"})]})]}),(0,t.jsx)("h4",{className:"grella-pdf-title mt-4 text-center uppercase",children:a}),(0,t.jsx)("p",{className:"grella-pdf-meta grella-pdf-muted mx-auto mt-1 max-w-md text-center",children:"Defendant MedCore Health Solutions, Inc. answer to relator complaint and affirmative defenses."}),(0,t.jsx)("div",{className:"mt-4 space-y-2",children:O.map(e=>(0,t.jsxs)("section",{children:[(0,t.jsx)("h5",{className:"grella-pdf-section-title uppercase",children:e.heading}),(0,t.jsx)("div",{className:"mt-1 space-y-1",children:e.body.map((s,a)=>{let r="Answer and Defenses"===e.heading&&a>1&&a<4;return(0,t.jsxs)("p",{className:"grella-pdf-body grid grid-cols-[1.35rem_1fr] gap-2",children:[(0,t.jsx)("span",{className:"grella-pdf-muted text-right tabular-nums",children:a+1}),(0,t.jsx)("span",{className:(0,T.cn)(r&&"grella-pdf-highlight px-1 py-px"),children:s})]},s)})})]},e.heading))}),(0,t.jsxs)("div",{className:"mt-5 grid grid-cols-2 gap-8",children:[(0,t.jsx)("div",{children:(0,t.jsx)("p",{className:"grella-pdf-meta",children:"Dated: August 7, 2024"})}),(0,t.jsx)("div",{children:(0,t.jsxs)("div",{className:"grella-pdf-rule border-t pt-2",children:[(0,t.jsx)("p",{className:"grella-pdf-meta",children:"Counsel for Defendant"}),(0,t.jsx)("p",{className:"grella-pdf-meta",children:"MedCore Health Solutions, Inc."})]})})]}),(0,t.jsx)("div",{className:"mt-4 flex justify-center",children:(0,t.jsx)("span",{className:"grella-pdf-highlight grella-pdf-meta px-2 py-px",children:e})})]})})}function J({children:e=(0,t.jsx)(K,{}),listContent:s,filename:r="05_MedCore_Answer.pdf",fitPage:n=!1,onBack:i,onClose:o,pageLabel:d="6 / 6",showHeader:h=!0,zoomL
1abel:p="100%",scrollTarget:u="source",onScroll:g,toolbarActions:f}){return(0,t.jsxs)("aside",{className:"grella-source-panel flex min-h-0 w-full min-w-0 flex-col bg-background",children:[h?(0,t.jsxs)("div",{className:"flex min-h-10 items-center gap-1 px-2",children:[i?(0,t.jsx)("button",{"aria-label":"Back to sources",className:"grid size-8 shrink-0 place-items-center rounded-md text-muted-foreground transition-colors hover:bg-muted hover:text-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring","data-demo-target":"source-back",onClick:i,type:"button",children:(0,t.jsx)(a.ArrowLeft,{className:"size-4"})}):null,(0,t.jsx)("span",{"aria-label":"Workspace",className:"grid size-8 shrink-0 place-items-center text-muted-foreground",children:(0,t.jsx)(x.Layers,{className:"size-4"})}),(0,t.jsx)("p",{className:"type-ui flex h-8 min-w-0 max-w-50 items-center rounded-md bg-secondary px-3 text-secondary-foreground",children:(0,t.jsx)("span",{className:"truncate",children:s?"Sources":r})}),(0,t.jsx)("span",{"aria-label":"Enter focus mode",className:"ml-auto grid size-8 shrink-0 place-items-center text-muted-foreground",children:(0,t.jsx)(b.Maximize2,{className:"size-4"})}),o?(0,t.jsx)("button",{"data-demo-target":"close-source","aria-label":"Close source",className:"grid size-8 shrink-0 place-items-center rounded-md text-muted-foreground transition-colors hover:bg-muted hover:text-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",onClick:o,type:"button",children:(0,t.jsx)(M.X,{className:"size-4"})}):(0,t.jsx)("span",{className:"grid size-8 shrink-0 place-items-center text-muted-foreground",children:(0,t.jsx)(M.X,{className:"size-4"})})]}):null,s||(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("div",{className:"flex min-h-11 flex-nowrap items-center justify-center gap-3 border-b border-border px-3 text-muted-foreground min-[480px]:gap-5 min-[480px]:px-4",children:[(0,t.jsx)(l.ChevronLeft,{className:"size-4 shrink-0"}),(0,t.jsx)("span",{className:"type-ui shrink-0 whitespace-nowrap text-foreground",children:d}),(0,t.jsx)(c.ChevronRight,{className:"size-4 shrink-0"}),(0,t.jsx)("div",{className:"h-5 w-px shrink-0 bg-border"}),(0,t.jsx)(z.ZoomOut,{className:"size-4 shrink-0"}),(0,t.jsx)("span",{className:"type-ui shrink-0 whitespace-nowrap text-foreground",children:p}),(0,t.jsx)(S.ZoomIn,{className:"size-4 shrink-0"}),(0,t.jsx)("div",{className:"h-5 w-px shrink-0 bg-border"}),(0,t.jsxs)("span",{className:"relative shrink-0",children:[(0,t.jsx)(m.Highlighter,{className:"size-4"}),(0,t.jsx)("span",{className:"absolute -bottom-1 -right-1 size-2 rounded-full bg-yellow-solid"})]}),(0,t.jsx)(v.MoreVertical,{className:"size-4 shrink-0"}),f]}),(0,t.jsx)("div",{"data-demo-target":u,onScroll:g,className:(0,T.cn)("grella-preview-scroll grella-pdf-viewport min-h-0 flex-1 overflow-x-hidden bg-muted",n&&"grella-pdf-viewport-fit"),children:e})]})]})}function Q({citation:e="10",fileTones:s=["pdf","doc","sheet"],subtitle:a="05_MedCore_Answer.pdf · Page 6",title:r="Source matched"}){return(0,t.jsx)("div",{className:"grella-source-strip absolute bottom-4 right-[34rem] z-10 w-64 rounded-xl border border-primary/30 bg-card p-3 shadow-sm",children:(0,t.jsxs)("div",{className:"flex items-start gap-3",children:[(0,t.jsx)("span",{className:"type-caption grid size-7 place-items-center rounded-full border border-primary/20 bg-primary-surface text-primary",children:e}),(0,t.jsxs)("div",{className:"min-w-0",children:[(0,t.jsx)("p",{className:"type-caption text-foreground",children:r}),(0,t.jsx)("p",{className:"type-meta mt-1 text-muted-foreground",children:a}),(0,t.jsx)("div",{className:"mt-3 flex items-center gap-2",children:s.map((e,s)=>(0,t.jsx)(V,{tone:e},`${e}-${s}`))})]})]})})}e.s(["GrellaAppHeader",0,B,"GrellaAppShell",0,$,"GrellaAssistantMessagePanel",0,H,"GrellaChatSourcePanel",0,J,"GrellaChatWorkspace",0,function({ariaLabel:e="Grella chat view with a highlighted matter chat, cited assistant answer, source panel, and PDF page highlights.",assistant:s,cameraStyle:a,className:r,showSourceStrip:n=!0,sidebar:i,sourcePanel:o,sourceStrip:l}){let c=s?.title??"Sarah Mitchell Cited Evidence";return(0,t.jsxs)($,{ariaLabel:e,cameraStyle:a,className:(0,T.cn)("grella-app-preview",r),contentClassName:"grid-cols-[16rem_minmax(25rem,1fr)_34rem]",sidebar:i,children:[(0,t.jsxs)("div",{className:"flex min-h-0 min-w-0 flex-col overflow-hidden",children:[(0,t.jsx)(B,{show
1FileManager:!1,title:c}),(0,t.jsx)(H,{...s})]}),(0,t.jsx)(J,{...o}),n?(0,t.jsx)(Q,{...l}):null]})},"GrellaCitationPill",0,G,"GrellaFileGlyph",0,V,"GrellaMatterSidebar",0,F,"GrellaPdfDocument",0,U,"GrellaPdfPage",0,K,"GrellaSourceStrip",0,Q,"defaultGrellaAppNav",0,D,"grellaMatterSidebarPresets",0,I])},66595,68877,e=>{"use strict";var t=e.i(56420);let s=(0,t.default)("search",[["path",{d:"m21 21-4.34-4.34",key:"14j7rj"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}]]);e.s(["Search",0,s],66595);let a=(0,t.default)("arrow-right",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]]);e.s(["ArrowRight",0,a],68877)},34419,89664,68590,52689,26091,45709,e=>{"use strict";var t=e.i(43476),s=e.i(71645),a=e.i(839),r=e.i(75157),n=e.i(54251);function i({children:e,className:s}){let[a,o]=e.split(" · ");return(0,t.jsxs)("span",{className:(0,r.cn)("type-caption inline-flex min-w-0 max-w-full items-center gap-1.5 rounded-md border border-border/70 bg-muted/40 py-0.5 pl-1.5 pr-1.5 text-foreground/80 [&_.grella-file-icon]:size-3 [&_.grella-file-icon]:drop-shadow-none",s),children:[(0,t.jsx)(n.GrellaFileGlyph,{tone:"pdf"}),(0,t.jsx)("span",{className:"max-w-40 truncate type-emphasis",children:a}),o?(0,t.jsx)("span",{className:"shrink-0 rounded-sm bg-muted px-1 py-px type-emphasis tabular-nums text-muted-foreground",children:o}):null]})}function o({relevance:e}){let s="High"===e?4:3,a="High"===e?"bg-yellow-solid":"bg-green-solid";return(0,t.jsxs)("span",{className:"inline-flex min-w-0 items-center gap-2",children:[(0,t.jsx)("span",{"aria-hidden":"true",className:"inline-flex items-end gap-0.5",children:["h-1","h-1.5","h-2","h-2.5","h-3"].map((e,n)=>(0,t.jsx)("span",{className:(0,r.cn)("w-0.5 rounded-full",e,n<s?a:"bg-muted-foreground/20")},e))}),(0,t.jsx)("span",{className:"type-caption text-foreground",children:e})]})}function l({rows:e,selectable:s=!1,linked:n=!1}){let c=(0,a.useDemoScene)(),d=e.filter(e=>n||!c?.search||`${e.statement} ${e.date} ${e.source}`.toLowerCase().includes(c.search.toLowerCase()));return d.length?(0,t.jsx)("div",{className:"relative w-full overflow-x-auto",children:(0,t.jsxs)("table",{className:"type-ui w-full min-w-175 table-fixed border-collapse bg-background",children:[(0,t.jsx)("thead",{className:"bg-background",children:(0,t.jsxs)("tr",{children:[s?(0,t.jsx)("th",{className:"h-10 w-8 px-0 shadow-[inset_0_-1px_0_var(--border)]"}):null,(0,t.jsx)("th",{className:"type-control h-10 w-35 border-r border-border px-2 text-left text-foreground shadow-[inset_0_-1px_0_var(--border)]",children:"Date"}),(0,t.jsx)("th",{className:"type-control h-10 border-r border-border px-2 text-left text-foreground shadow-[inset_0_-1px_0_var(--border)]",children:"Statement"}),(0,t.jsx)("th",{className:"type-control h-10 w-64 px-2 text-center text-foreground shadow-[inset_0_-1px_0_var(--border)]",children:"Source & relevance"}),!n&&(0,t.jsx)("th",{className:"h-10 w-11 px-2 shadow-[inset_0_-1px_0_var(--border)]"})]})}),(0,t.jsx)("tbody",{children:d.map(({date:e,relevance:a,source:l,sources:d,statement:h,relationship:p,suggested:m})=>(0,t.jsxs)("tr",{className:"border-b border-border",children:[s?(0,t.jsx)("td",{className:"w-8 p-0 align-top"}):null,(0,t.jsx)("td",{className:"w-35 border-r border-border p-2 align-top tabular-nums text-muted-foreground",children:e}),(0,t.jsxs)("td",{className:"border-r border-border p-2 align-top",children:[(0,t.jsx)("p",{className:(0,r.cn)("whitespace-normal text-foreground",n?"leading-6 text-foreground/90 [overflow-wrap:anywhere]":"leading-5"),children:h}),p&&(0,t.jsx)("p",{className:"type-caption mt-1.5 text-muted-foreground",children:p}),m&&(0,t.jsx)("span",{className:"type-caption text-muted-foreground",children:"Suggested"})]}),(0,t.jsx)("td",{className:"p-0 align-stretch",children:(0,t.jsxs)("div",{className:"grid h-full min-h-20 grid-rows-2",children:[(0,t.jsx)("div",{className:"flex min-h-10 flex-wrap items-center justify-center gap-1.5 px-4 py-2.5",children:[...new Set([l,...d??[]])].map(s=>(0,t.jsx)("span",{children:c?(0,t.jsx)("button",{type:"button","data-demo-target":s.startsWith("
1Change Order 12")?"open-source":void 0,onClick:()=>c.openSource({date:e,relevance:a,source:s,statement:h}),"aria-label":`Open ${s}`,children:(0,t.jsx)(i,{children:s})}):(0,t.jsx)(i,{children:s})},s))}),(0,t.jsx)("div",{className:"flex min-h-10 items-center justify-center border-t border-border/60 px-3 py-2.5",children:(0,t.jsx)(o,{relevance:a})})]})}),!n&&(0,t.jsx)("td",{className:"p-2 align-top"})]},`${e}-${h}`))})]})}):(0,t.jsxs)("div",{className:"py-8 text-center",children:[(0,t.jsx)("p",{className:"type-control",children:n?"No linked facts available":"No facts found"}),(0,t.jsx)("p",{className:"type-ui mt-2 text-muted-foreground",children:n?"Linked fact details are not loaded for this record.":"Try another search."})]})}function c({target:e,label:a,value:n,placeholder:i,onChange:o,disabled:l=!1,multiline:d=!1}){let h=(0,s.useRef)(null),p=(0,s.useRef)(null),m=()=>{h.current&&p.current&&(p.current.scrollTop=h.current.scrollTop,p.current.scrollLeft=h.current.scrollLeft)};(0,s.useLayoutEffect)(()=>{let e=h.current;e?.parentElement?.hasAttribute("data-demo-typing")&&(d?e.scrollTop=e.scrollHeight:e.scrollLeft=e.scrollWidth,m())},[n,d]);let u=(0,r.cn)("type-ui w-full min-w-0 bg-transparent text-foreground",d?"max-h-48 min-h-10 whitespace-pre-wrap break-words px-2 py-2":"whitespace-pre");return(0,t.jsxs)("div",{"data-demo-field":!0,className:"relative min-w-0 w-full",children:[(0,t.jsx)(d?"textarea":"input",{ref:h,"data-demo-target":e,"aria-label":a,className:(0,r.cn)(u,"block resize-none outline-none placeholder:text-muted-foreground [field-sizing:content]"),value:n,placeholder:i,disabled:l,rows:d?1:void 0,onChange:e=>o(e.target.value),onScroll:m,autoComplete:"off",spellCheck:!1}),(0,t.jsxs)("div",{ref:p,"aria-hidden":"true",className:(0,r.cn)(u,"demo-input-mirror pointer-events-none absolute inset-0 overflow-hidden !text-transparent"),children:[n,(0,t.jsx)("span",{className:"demo-input-caret inline-block h-[1em] w-px translate-y-[0.15em] bg-foreground"})]})]})}var d=e.i(56420);let h=(0,d.default)("download",[["path",{d:"M12 15V3",key:"m9g1x1"}],["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}],["path",{d:"m7 10 5 5 5-5",key:"brsn70"}]]),p=(0,d.default)("external-link",[["path",{d:"M15 3h6v6",key:"1q9fwt"}],["path",{d:"M10 14 21 3",key:"gplh6r"}],["path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6",key:"a6xqqp"}]]),m=[[{title:"1. Purpose and current position",paragraphs:["This memo brings together the current Northline record on access to the eastern work zone. It sets out the agreed sequence, the notice given by Northline, and the evidence still needed before a response is sent.","Change Order 12 records 22 April 2026 as the revised access date. Before that date, access was limited to inspection, survey, and work approved by the Superintendent. The available material supports a change in the access arrangements. It does not, by itself, establish the full period of compensable delay."],highlightedParagraphs:[1]},{title:"2. The recorded sequence",paragraphs:["22 April: Change Order 12 sets the revised access arrangements and requires Northline to update the construction programme. The change order preserves the parties’ positions on causation, entitlement, and quantum. [1]","26 April: Northline gives notice that the access restriction may affect completion and reserves its position on an extension of time. The notice should be read against the notice requirements in the contract. [2]","3 May: The project team circulates a revised access sequence. That correspondence supports the order of events, but the attached programme is needed to assess the effect on the critical path. [3]","9 May: The delay log records lost productive time during the restricted-access period. The entries need to be checked against daily site records and the activities planned for that period. [4]"],highlightedParagraphs:[0,3]},{title:"3. Points that remain open",paragraphs:["The inspection note dated 16 May uses an earlier date for incomplete access. Check whether it refers to the same work zone and the same scope of work before relying on it in the chronology.","The owner disputes causation. The response should distinguish the access change itself from its effect on planned activities, completion, and any claimed costs. No final conclusion on entitlement should be drawn from the access date alone."],highlightedParagraphs:[0]}],[{title:"4. Proposed response",paragraphs:["Set out the access sequence using the contemporaneous documents. Identify what changed under Change Order 12, when the revised sequence was circulated, and which activities the delay log records as affected.","Reserve Northline’s position on delay and additional cost. Explain that the programme assessment is being checked. Do not state a final delay period until the programme evidence and any concurrent causes have been reviewed."]},{title:"5. Checks before sending",paragraphs:["Confirm the signed version of Change Order 12 and the authority of the person who approved it. Check whether any later direction changed the access arrangements.","Obtain the baseline programme and the version circulated on 3 May. Compare the affected activities, dependencies, float, and completion dates.","Reconcile the 16 May inspection note with the access notice and daily site records. Record any unresolved date conflict in the focused chronology.","Check the notice provisions and relevant time limits in the contract. Have the responsible lawyer review the proposed wording, source references, and outstanding evidence before release."]},{title:"6. Source references",paragraphs:["[1] Change Order 12.pdf, page 14. Revised site access, programme consequences, and reservation of rights.","[2] Access notice.pdf, page 2. Northline’s notice and extension-of-time position.","[3] Project emails.pdf, page 8. Circulation of the revised access sequence.","[4] Delay log.pdf, page 42. Recorded lost productive time during restricted access."]}]];
1function u(){let[e,a]=(0,s.useState)(1);return(0,t.jsx)(n.GrellaChatSourcePanel,{filename:"Access-delay response memo.pdf",showHeader:!1,scrollTarget:"content",pageLabel:`${e} / ${m.length}`,zoomLabel:"Fit width",onScroll:e=>{let t=e.currentTarget,s=[...t.querySelectorAll(".grella-pdf-paper")],r=t.getBoundingClientRect().top+t.clientHeight/2,n=s.findIndex(e=>e.getBoundingClientRect().bottom>r);a(n<0?m.length:n+1)},toolbarActions:(0,t.jsxs)("div",{className:"flex items-center gap-4 border-l border-border pl-4",children:[(0,t.jsx)("span",{"aria-label":"Word and PDF download options",children:(0,t.jsx)(h,{className:"size-4"})}),(0,t.jsx)("span",{"aria-label":"Open document in new tab",children:(0,t.jsx)(p,{className:"size-4"})})]}),children:(0,t.jsx)("div",{className:"mx-auto grid w-full max-w-4xl gap-6 px-8 py-6",children:m.map((e,s)=>(0,t.jsx)(n.GrellaPdfDocument,{children:(0,t.jsxs)("div",{className:"grella-work-product-paper",children:[(0,t.jsxs)("header",{className:"grella-pdf-meta grella-pdf-rule flex justify-between border-b pb-3",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)("p",{className:"font-semibold",children:"NORTHLINE DISPUTE"}),(0,t.jsx)("p",{className:"grella-pdf-muted",children:"Commercial dispute, sample matter"})]}),(0,t.jsxs)("div",{className:"text-right",children:[(0,t.jsx)("p",{children:"DRAFT FOR LAWYER REVIEW"}),(0,t.jsx)("p",{className:"grella-pdf-muted",children:"20 August 2026"})]})]}),(0,t.jsxs)("div",{className:"py-5",children:[(0,t.jsx)("h2",{className:"grella-pdf-title",children:"Access-delay response memo"}),(0,t.jsx)("p",{className:"grella-pdf-meta grella-pdf-muted mt-1",children:"Eastern Works Package, Contract NCL-2025-041"})]}),0===s&&(0,t.jsxs)("dl",{className:"grella-pdf-meta grella-pdf-rule mb-4 grid grid-cols-[3rem_1fr] gap-y-1 border-y py-3",children:[(0,t.jsx)("dt",{className:"grella-pdf-muted",children:"To"}),(0,t.jsx)("dd",{children:"Northline matter team"}),(0,t.jsx)("dt",{className:"grella-pdf-muted",children:"From"}),(0,t.jsx)("dd",{children:"Jordan Lee, responsible lawyer"}),(0,t.jsx)("dt",{className:"grella-pdf-muted",children:"Subject"}),(0,t.jsx)("dd",{children:"Revised site access and the proposed response"})]}),(0,t.jsx)("div",{className:"space-y-4",children:e.map(e=>(0,t.jsxs)("section",{children:[(0,t.jsx)("h3",{className:"grella-pdf-section-title mb-1.5",children:e.title}),(0,t.jsx)("div",{className:"space-y-2",children:e.paragraphs.map((s,a)=>(0,t.jsx)("p",{className:`grella-pdf-body ${e.highlightedParagraphs?.includes(a)?"grella-pdf-highlight px-1 py-px":""}`,children:s},s))})]},e.title))}),(0,t.jsxs)("footer",{className:"grella-pdf-meta grella-pdf-muted grella-pdf-rule mt-auto flex justify-between border-t pt-2",children:[(0,t.jsx)("span",{children:"ILLUSTRATIVE DEMO, NOT LEGAL ADVICE"}),(0,t.jsxs)("span",{children:["Page ",s+1," of ",m.length]})]})]})},s))})})}var x=e.i(24983),x=x;let g=(0,d.default)("arrow-down",[["path",{d:"M12 5v14",key:"s699le"}],["path",{d:"m19 12-7 7-7-7",key:"1idqje"}]]);var f=e.i(96892);let y=(0,d.default)("bold",[["path",{d:"M6 12h9a4 4 0 0 1 0 8H7a1 1 0 0 1-1-1V5a1 1 0 0 1 1-1h7a4 4 0 0 1 0 8",key:"mg9rjx"}]]);var b=e.i(56423);let v=(0,d.default)("check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]]);e.s(["Check",0,v],89664);var w=e.i(16327),j=e.i(67927),N=e.i(74544),k=e.i(8734);let C=(0,d.default)("italic",[["line",{x1:"19",x2:"10",y1:"4",y2:"4",key:"15jd3p"}],["line",{x1:"14",x2:"5",y1:"20",y2:"20",key:"bu0au3"}],["line",{x1:"15",x2:"9",y1:"4",y2:"20",key:"uljnxc"}]]),A=(0,d.default)("layout-grid",[["rect",{width:"7",height:"7",x:"3",y:"3",rx:"1",key:"1g98yp"}],["rect",{width:"7",height:"7",x:"14",y:"3",rx:"1",key:"6d4xhi"}],["rect",{width:"7",height:"7",x:"14",y:"14",rx:"1",key:"nxv5o0"}],["rect",{width:"7",height:"7",x:"3",y:"14",rx:"1",key:"1bb6yr"}]]);var M=e.i(82505);let S=(0,d.default)("loader",[["path",{d:"M12 2v4",key:"3427ic"}],["path",{d:"m16.2 7.8 2.9-2.9",key:"r700ao"}],["path",{d:"M18 12h4",key:"wj9ykh"}],["path",{d:"m16.2 16.2 2.9 2.9",key:"1bxg5t"}],["path",{d:"M12 18v4",key:"jadmvz"}],["path",{d:"m4.9 19.1 2.9-2.9",key:"bwix9q"}],["path",{d:"M2 12h4",key:"j09sii"}],["path",{d:"m4.9 4.9 2.9 2.9",key:"giyufr"}
1]]),z=(0,d.default)("lock",[["rect",{width:"18",height:"11",x:"3",y:"11",rx:"2",ry:"2",key:"1w4ew1"}],["path",{d:"M7 11V7a5 5 0 0 1 10 0v4",key:"fwvmzm"}]]),T=(0,d.default)("maximize",[["path",{d:"M8 3H5a2 2 0 0 0-2 2v3",key:"1dcmit"}],["path",{d:"M21 8V5a2 2 0 0 0-2-2h-3",key:"1e4gt3"}],["path",{d:"M3 16v3a2 2 0 0 0 2 2h3",key:"wsl5sc"}],["path",{d:"M16 21h3a2 2 0 0 0 2-2v-3",key:"18trek"}]]);var q=e.i(15227);let D=(0,d.default)("message-square",[["path",{d:"M22 17a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.71.71 0 0 1 2 21.286V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2z",key:"18887p"}]]);e.s(["MessageSquare",0,D],68590);let P=(0,d.default)("mic",[["path",{d:"M12 19v3",key:"npa21l"}],["path",{d:"M19 10v2a7 7 0 0 1-14 0v-2",key:"1vc78b"}],["rect",{x:"9",y:"2",width:"6",height:"13",rx:"3",key:"s6n7sd"}]]),L=(0,d.default)("ellipsis",[["circle",{cx:"12",cy:"12",r:"1",key:"41hilf"}],["circle",{cx:"19",cy:"12",r:"1",key:"1wjl8i"}],["circle",{cx:"5",cy:"12",r:"1",key:"1pcz8c"}]]);var R=e.i(71091);let I=(0,d.default)("pin",[["path",{d:"M12 17v5",key:"bb1du9"}],["path",{d:"M9 10.76a2 2 0 0 1-1.11 1.79l-1.78.9A2 2 0 0 0 5 15.24V16a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1v-.76a2 2 0 0 0-1.11-1.79l-1.78-.9A2 2 0 0 1 15 10.76V7a1 1 0 0 1 1-1 2 2 0 0 0 0-4H8a2 2 0 0 0 0 4 1 1 0 0 1 1 1z",key:"1nkz8b"}]]);var O=e.i(77071);let _=(0,d.default)("redo-2",[["path",{d:"m15 14 5-5-5-5",key:"12vg1m"}],["path",{d:"M20 9H9.5A5.5 5.5 0 0 0 4 14.5A5.5 5.5 0 0 0 9.5 20H13",key:"6uklza"}]]);var F=e.i(66595);let G=(0,d.default)("share-2",[["circle",{cx:"18",cy:"5",r:"3",key:"gq8acd"}],["circle",{cx:"6",cy:"12",r:"3",key:"w7nqdw"}],["circle",{cx:"18",cy:"19",r:"3",key:"1xt0gg"}],["line",{x1:"8.59",x2:"15.42",y1:"13.51",y2:"17.49",key:"47mynk"}],["line",{x1:"15.41",x2:"8.59",y1:"6.51",y2:"10.49",key:"1n3mei"}]]),E=(0,d.default)("square",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}]]),W=(0,d.default)("undo-2",[["path",{d:"M9 14 4 9l5-5",key:"102s5s"}],["path",{d:"M4 9h10.5a5.5 5.5 0 0 1 5.5 5.5a5.5 5.5 0 0 1-5.5 5.5H11",key:"f3b9sd"}]]);var H=e.i(19805),B=e.i(69095);let $=(0,e.i(25913).cva)("group/badge type-caption inline-flex h-5 w-fit shrink-0 items-center justify-center gap-1 overflow-hidden rounded-md px-2 py-0.5 whitespace-nowrap transition-[color,background-color,opacity] duration-200 ease-out has-data-[icon=inline-end]:pr-1.5 has-data-[icon=inline-start]:pl-1.5 [&>svg]:pointer-events-none [&>svg]:size-3",{variants:{variant:{primary:"bg-primary-surface text-primary",purple:"bg-primary-surface text-primary",red:"bg-red-surface text-red-foreground",neutral:"bg-secondary text-secondary-foreground",yellow:"bg-yellow-surface text-yellow-foreground",blue:"bg-blue-surface text-blue-foreground",green:"bg-green-surface text-green-foreground",orange:"bg-orange-surface text-orange-foreground"}},defaultVariants:{variant:"primary"}});function V({className:e,variant:t="primary",render:s,...a}){var n;return n={defaultTagName:"span",props:(0,H.mergeProps)({className:(0,r.cn)($({variant:t}),e)},a),render:s,state:{slot:"badge",variant:t}},(0,B.useRenderElement)(n.defaultTagName??"div",n,n)}var U=e.i(68877);let K=(0,d.default)("book-text",[["path",{d:"M4 19.5v-15A2.5 2.5 0 0 1 6.5 2H19a1 1 0 0 1 1 1v18a1 1 0 0 1-1 1H6.5a1 1 0 0 1 0-5H20",key:"k3hazp"}],["path",{d:"M8 11h8",key:"vwpz6n"}],["path",{d:"M8 7h6",key:"1f0q6e"}]]),J=(0,d.default)("briefcase-business",[["path",{d:"M12 12h.01",key:"1mp3jc"}],["path",{d:"M16 6V4a2 2 0 0 0-2-2h-4a2 2 0 0 0-2 2v2",key:"1ksdt3"}],["path",{d:"M22 13a18.15 18.15 0 0 1-20 0",key:"12hx5q"}],["rect",{width:"20",height:"14",x:"2",y:"6",rx:"2",key:"i6l2r4"}]]),Q=(0,d.default)("building-2",[["path",{d:"M10 12h4",key:"a56b0p"}],["path",{d:"M10 8h4",key:"1sr2af"}],["path",{d:"M14 21v-3a2 2 0 0 0-4 0v3",key:"1rgiei"}],["path",{d:"M6 10H4a2 2 0 0 0-2 2v7a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V9a2 2 0 0 0-2-2h-2",key:"secmi2"}],["path",{d:"M6 21V5a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v16",key:"16ra0t"}]]);var Y=e.i(22768);let Z=(0,d.default)("clock-3",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 6v6h4",key:"135r8i"}]]),X=(0,d.default)("file-question-mark",[["path",{d:"M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z",key:"1oefj6"}],["path",{d:"M12 17h.01",key:"p32p05"}],["path",{d:"M9.1 9a3 3 0 0 1 5.82 1c0 2-3 3-3 3",key:"mhlwft"}]]),ee=(0,d.default)("funnel",[["path",{d:"M10 20a1 1 0 0 0 .553.895l2 1A1 1 0 0 0 14 21v-7a2 2 0 0 1 .517-1.341L21.74 4.67A1 1 0 0 0 21 3H3a1 1 0 0 0-.742 1.67l7.225 7.989A2 2 0 0 1 10 14z",key:"sc7q7i"}]]),et=(0,d.default)("hourglass",[["path",{d:"M5 22h14",key:"ehvnwv"}],["path",{d:"M5 2h14",key:"pdyrp9"}],["path",{d:"M17 22v-4.172a2 2 0 0 0-.586-1.414L12 12l-4.414 4.414A2 2 0 0 0 7 17.828V22",key:"1d314k"}],["path",{d:"M7 2v4.172a2 2 0 0 0 .586 1.414L12 12l4.414-4.414A2 2 0 0 0 17 6.172V2",key:"1vvvr6"}]]),es=(0,d.default)("notebook-pen",[["path",{d:"M13.4 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-7.4",key:"re6nr2"}],["path",{d:"M2 6h4",key:"aawbzj"}],["path",{d:"M2 10h4",key:"l0bgd4"}
1],["path",{d:"M2 14h4",key:"1gsvsf"}],["path",{d:"M2 18h4",key:"1bu2t1"}],["path",{d:"M21.378 5.626a1 1 0 1 0-3.004-3.004l-5.01 5.012a2 2 0 0 0-.506.854l-.837 2.87a.5.5 0 0 0 .62.62l2.87-.837a2 2 0 0 0 .854-.506z",key:"pqwjuv"}]]),ea=(0,d.default)("triangle-alert",[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",key:"wmoenq"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]]),er=(0,d.default)("user",[["path",{d:"M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2",key:"975kel"}],["circle",{cx:"12",cy:"7",r:"4",key:"17ys0d"}]]),en=(0,d.default)("users",[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["path",{d:"M16 3.128a4 4 0 0 1 0 7.744",key:"16gr8j"}],["path",{d:"M22 21v-2a4 4 0 0 0-3-3.87",key:"kshegd"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}]]),ei=["Overview","Key parties","Issues","Assessment","Weaknesses","File notes"],eo=[{description:"The record gives different dates for when the revised access window was communicated.",details:["Change Order 12 records a revised access arrangement for the eastern work zone from 22 April 2026. The project email chain shows the revised sequence circulating on 3 May, while the delay log records lost productive time on 9 May. Those dates describe different events and should not be treated as a single start date.","The central question is when the restriction began to affect work on the critical path. The inspection note refers to an earlier access date, but the underlying report is still missing. The current record does not yet establish whether the affected activities could have been moved or completed elsewhere on site.","Compare the baseline and revised programmes against the daily site records. Confirm who received each notice and when, then separate the period of restricted access from any concurrent subcontractor delay before updating the chronology or response memo."],severity:"high",status:"Live",title:"Whether the revised access date changed the critical delay sequence"},{description:"Project emails and the formal notice describe different approval paths for Change Order 12.",details:["The signed change order directs Northline to revise the sequence of work in the eastern zone. The project emails also refer to discussions about that sequence before the formal document circulated. It is not yet clear whether those discussions approved the change or only set out a proposed way forward.","Approval of the work sequence must be kept separate from acceptance of delay or additional cost. Change Order 12 expressly leaves causation, entitlement, and quantum open. The document should not be read as agreement to the later extension claim.","Obtain the complete email chain, including attachments and the approval forwarded to the site team. Check the sender’s authority and the date the direction reached Northline before settling the factual account of approval."],severity:"high",status:"Live",title:"Whether Change Order 12 was approved before the sequencing change"},{description:"The owner notice, programme revision, and delay log all point to restricted access during the same period.",details:["The access notice and revised programme support a change to the order in which the eastern-zone works could proceed. Northline’s 29 May extension submission links that restriction to a later completion date. The owner’s response accepts that the sequence changed but disputes the claimed effect on completion.","The delay log records lost productive time during the restricted-access period. That evidence supports disruption, but does not by itself show that every lost day delayed the critical path. Available float, alternative work, and overlapping subcontractor delay remain relevant to the peri
1od claimed.","Map the affected activities to both programmes and identify the supporting daily records. Keep the fact of restricted access separate from the number of extension days that may follow from it."],severity:"medium",status:"Live",title:"Whether owner-caused access restrictions extended the completion date"},{description:"The current file does not yet connect the inspection note to the later extension request.",details:["The inspection note dated 16 May records incomplete access to part of the affected area. Later correspondence relies on that inspection when discussing Northline’s extension request, but the full report and its attachments have not been provided.","The note uses an access date that differs from the signed notice. It is unclear whether it describes the whole eastern zone, a smaller work area, or an observation made before the note was written. Those distinctions may explain the apparent conflict.","Request the original report, photographs, and any marked-up site plan. Ask Alan Reyes to identify the area inspected and the source of the date before relying on the note as proof of the claimed delay period."],severity:"medium",status:"Needs review",title:"Whether the inspection record supports the extension request"},{description:"The notice sequence now shows a written reservation followed by a detailed extension submission.",details:["The matter record now contains the 26 April written reservation and the detailed extension submission dated 29 May. Read together, they show that Northline raised the access restriction and later set out the effect it said the restriction had on completion.","This review item was marked resolved after the notice sequence was assembled. That status records completion of the factual review; it does not mean the owner accepted entitlement or that every contractual requirement has been determined.","Keep the notices, delivery records, and applicable contract provisions together for the next review. Reopen the issue if further correspondence changes the date of receipt or the basis of the extension sought."],severity:"medium",status:"Resolved",title:"Whether the contractor satisfied the contractual notice requirements"},{description:"The delay log records subcontractor slippage during part of the same period as the access restriction.",details:["The delay log records subcontractor slippage during part of the restricted-access period. The current chronology shows the events together, but does not yet distinguish which activities were affected by access and which were already behind programme for other reasons.","An overlap in dates is not enough to establish the effect of concurrent delay. The team needs to check whether the subcontractor work sat on the same critical path, whether it could proceed in another area, and whether the access change extended an existing delay.","Prepare a separate activity-level comparison using the baseline programme, revised sequence, and site diaries. Keep this analysis distinct from the account of the owner’s access direction so the two causes are not combined without support."],severity:"medium",status:"Live",title:"Whether concurrent subcontractor delay reduces the claimed extension"},{description:"Site diaries support labour disruption, but several cost entries still lack invoices or timesheet links.",details:["Northline’s cost material describes additional labour and site overheads during the affected period. Site diaries record disruption, but several entries in the cost schedule are not yet linked to timesheets, invoices, or a specific activity in the revised programme.","The available records do not yet separate time spent on delayed work from time spent on alternative tasks. They also leave open whether some amounts relate to subcontractor slippage rather than the access restriction.","Reconcile each cost entry to its date, activity, and supporting record. Flag unsupported amounts for follow-up and keep the assessment of quantum separate from the question of entitlement to additional time."],severity:"low",status:"Needs review",title:"Whether the prolongation cost claim is supported by contemporaneous records"},{description:"The revised programme was issued after the access change and is consistently used in later correspondence.",details:["The project email chain shows the revised programme circulating on 3 May. The delay log and later extension correspondence use that sequence when describing the eastern-zone works, which supports treating it as the working programme for those later events.","The record-review question is marked resolved because the later correspondence consistently refers to the revised sequence. The earlier baseline still needs to be retained: it provides the comparison needed to assess what changed and the effect on completion.","Use the revised programme when describing work after circulation, and identify the baseline clearly in any comparison. Do not treat use of the revised programme as acceptance of every delay or c
1ost claimed under it."],severity:"low",status:"Resolved",title:"Whether the revised programme superseded the earlier baseline sequence"}],el=[{description:"Owner-side decision maker referenced in notices and the change-order correspondence.",details:["Morgan is the owner-side contact for the access and change-order dispute. The notices and project correspondence refer to Morgan in connection with access decisions, the revised work sequence, and the response to Northline’s extension position.","At the client meeting, Morgan recalled receiving the formal access notice after the revised programme had circulated. That recollection needs to be checked against the original email headers and delivery records. The date of receipt may differ from both the date on the document and the date access changed on site.","Confirm which directions Morgan gave personally, which were passed through the project team, and who could approve a sequencing change. Keep client instructions distinct from facts supported by the contemporaneous records."],isKey:!0,kind:"person",name:"Morgan Hayes",role:"Client"},{description:"Managed the delay correspondence, site access record, and revised sequencing.",details:["Alex coordinated the project correspondence about site access and the revised sequence. The email chain places Alex close to the circulation of Change Order 12 and the programme used by the site team after the access arrangements changed.","Alex may be able to explain when the team first received the revised direction, which work areas were available, and whether any activities were moved to reduce disruption. The current emails do not fully separate the proposed sequence from the version approved for use.","Request the complete correspondence and attachments before interview. Use the dated notices and programme revisions to check Alex’s recollection, particularly any difference between an informal discussion and a formal direction."],isKey:!0,kind:"person",name:"Alex Chen",role:"Fact witness"},{description:"Submitted the updated programme and the supporting Change Order 12 material.",details:["Northline is the contractor carrying out the eastern-zone works. Its updated programme, delay records, and extension submission form the main record of how the access restriction is said to have affected the work.","Northline reserved its extension position in the 26 April notice and later linked the revised sequence to the completion date in its 29 May submission. Change Order 12 records the changed arrangement, but leaves causation, entitlement, and quantum for separate consideration.","The outstanding material includes the full inspection report and support for several cost entries. Review those gaps alongside the programme comparison before treating the claimed period or amount as established."],kind:"organization",name:"Northline Civil Pty Ltd",role:"Party"},{description:"Prepared the delay log and reconciled the revised programme against site records.",details:["Priya prepared the delay log and compared the revised programme with the daily site records. The log records lost productive time during the access restriction and also identifies subcontractor slippage within part of the same period.","Priya’s account may help explain how the entries were compiled, whether they were made on the day or added later, and which records support each period of delay. That distinction matters where the log is being used to connect site events to an effect on completion.","Ask for the working version of the log and the site diaries used to prepare it. Check any later amendments and separate direct observations from information supplied by other team members."],kind:"person",name:"Priya Nair",role:"Fact witness"},{description:"Inspected the affected works and is referenced in the extension correspondence.",details:["Alan inspected the affected works and is named in later correspondence about the extension request. The matter file contains an inspection note, but not the full report or the supporting photographs and site plan.","The note refers to an earlier access date than the signed notice. Before drawing a conclusion, establish whether Alan was describing a different part of the site, an earlier observation, or the date on which the note was prepared.","Confirm the scope of Alan’s inspection and obtain the original material. Keep observations about site conditions separate from any opinion about the critical path or the number of extension days."],kind:"person",name:"Alan Reyes",role:"Expert witness"},{description:"Acts for the responding party on the access and change-order dispute.",details:["Whitfield Legal is recorded as counsel for the responding party in the access and change-order dispute. Its correspondence addresses the extension position and requests for the records said to support the revised sequence.","Correspondence from counsel should be read as a statement of the party’s position unless it expressly identifies an agreed fact. In particular, acknowledgment that the sequence changed should not be treated as agreement to the peri
1od of delay or the amount claimed.","Keep outstanding document requests and responses together for the next conference. Check the underlying project record before carrying a factual statement from correspondence into the chronology or briefing."],kind:"organization",name:"Whitfield Legal",role:"Counsel"},{description:"Tribunal managing the current directions and listed conference.",details:["The Commercial List is the forum recorded for the matter’s current directions and listed conference. Procedural documents sit alongside the project evidence, but serve a different purpose: they show what the parties must do and when.","Use the issued directions and listing notice to confirm any filing or attendance requirements. Dates mentioned in correspondence or a file note should be checked against those documents before they are treated as current.","The next briefing should distinguish agreed facts, disputed access dates, and outstanding records. No outcome on the extension or cost claim should be inferred from the matter’s listing status."],kind:"organization",name:"Commercial List",role:"Court"}],ec=[{description:"The access date differs between the project email chain and the signed notice.",details:["Change Order 12 records the revised access arrangement from 22 April, while the project email chain shows the revised sequence circulating on 3 May. The inspection note introduces another date. The current chronology needs to distinguish the effective date, circulation date, and date of observation.","These records may describe different events rather than contradict one another. Until that is checked, a single date could overstate how clearly the file establishes when the restriction began or when the site team knew about it.","Compare the original notice, email headers, and inspection material. Preserve each source date and its meaning instead of replacing them with one assumed start date."],Icon:ea,label:"Contradiction",status:"Open"},{description:"The inspection report referenced in later correspondence is not yet in the matter file.",details:["Later correspondence refers to an inspection report as support for the extension request. The file contains a shorter inspection note, but the full report, photographs, and any marked-up site plan have not been produced.","Without that material, the team cannot check the exact area inspected, the conditions observed, or the basis for the earlier access date. The note is useful context but should not stand in for the missing report.","Follow up the document request and record which attachments remain outstanding. Keep the related chronology entry flagged for review until the original inspection record can be checked."],Icon:X,label:"Evidence gap",status:"Open"},{description:"The extension position currently rests on one email chain and the delay log.",details:["The email chain and delay log support a change in sequence and lost productive time. The link from those events to the full extension period is less developed: the programme comparison and supporting daily records have not yet been assembled for each affected activity.","Several later documents repeat the same account. Repetition does not provide a separate source for the underlying event, so the apparent volume of material may give a stronger impression of support than the record warrants.","Identify the contemporaneous record behind each key step in the delay account. Give priority to the missing inspection report, activity-level programme evidence, and site diaries for the overlapping subcontractor period."],Icon:et,label:"Thin support",status:"Open"},{description:"An earlier access note remains cited after the revised programme was circulated.",details:["The earlier access note still appears in the draft response memo after the revised programme was added to the matter. Its description of the work sequence may no longer match the programme used in the later correspondence.","The note should remain in the record as evidence of the earlier position. The risk is using it without qualification to describe events after the revision, or carrying its date into a current chronology without checking the later sources.","Review the passages that rely on the note, compare them with the revised programme, and update only where the new record supports a change. Keep a clear distinction between the earlier account and the current assessment."],Icon:Z,label:"Staleness",status:"Review"}],ed=[{author:"Jordan Lee",body:"Client confirmed the access notice was received after the revised programme had already circulated.",details:["Met with the client to confirm instructions on the site-access sequence and the documents needed for the next briefing. Morgan recalled that the formal access notice reached the owner-side team after the revised programme had already circulated.","Explained that the date a notice was received may differ from its stated effective date. We will check the original emails and delivery records before changing the chronology. The client’s recollection is recorded as an instruction, not yet as a verified date.","Client will locate the original notice email and any internal forwarding chain. The next factual brief should distinguish the access direction, the revised programme, and the claimed effect on completion. No concession on delay or c
1ost was instructed."],date:"Aug 12, 2026",subject:"Client meeting instructions"},{author:"Jordan Lee",body:"Requested the missing inspection report and the complete approval chain for Change Order 12.",details:["Telephone attendance concerning the outstanding inspection material and the approval history for Change Order 12. Requested the complete report, its photographs and attachments, and the email chain showing how the revised sequence reached the site team.","The inspection note already in the matter is not the full report referred to in later correspondence. Asked that any response identify whether the original report can be located and whether a marked-up site plan accompanied it.","Also requested the native programme attachment and earlier versions circulated for comment. Follow up if the response supplies only extracts. Keep the inspection issue open and do not remove the review flag from the related chronology entry."],date:"Aug 14, 2026",subject:"Telephone attendance"},{author:"Jordan Lee",body:"Delay log aligns with the revised programme but still needs the source inspection record checked.",details:["Reviewed the project emails, revised programme, and delay log together. The sequence of restricted access, revised working arrangements, and recorded lost time is broadly consistent across those documents.","The inspection note remains the main unresolved source point because it uses an earlier access date. The log also records subcontractor slippage during part of the same period. Neither point should be folded into the owner-access account without an activity-level check.","For the next revision, retain the dated source links and separate observed disruption from the extension period claimed. The cost schedule needs further support for the entries not yet linked to timesheets or invoices."],date:"Aug 18, 2026",subject:"Evidence review"},{author:"Alex Singh",body:"Partner review confirmed the access issue should lead the next factual brief, with concurrent delay kept separate.",details:["Partner reviewed the proposed structure of the factual brief. Lead with the access direction and the revised sequence, then set out what the contemporaneous records show about the effect on the eastern-zone works.","Keep concurrent subcontractor delay in a separate section. The current material supports a sequencing change, but does not yet establish the full period or cost claimed. Do not describe Change Order 12 as an admission of causation, entitlement, or quantum.","Before circulation, check the notice receipt dates, identify the missing inspection material, and verify each source cited in the response memo. The briefing should make the open questions clear and preserve the distinction between client instructions and source-backed facts."],date:"Aug 19, 2026",subject:"Partner review"}];function eh({severity:e}){let s="high"===e?3:"medium"===e?2:1,a="high"===e?"bg-red-solid":"medium"===e?"bg-yellow-solid":"bg-green-solid";return(0,t.jsx)("span",{className:"inline-flex flex-col gap-0.5","aria-hidden":"true",children:[2,1,0].map(e=>(0,t.jsx)("span",{className:(0,r.cn)("h-0.5 w-[18px] rounded-full",e<s?a:"bg-muted-foreground/20")},e))})}function ep({count:e,Icon:s,onOpen:a,title:r}){return(0,t.jsxs)("div",{className:"mb-2 flex min-h-9 items-center justify-between gap-2",children:[(0,t.jsxs)("h2",{className:"type-body type-emphasis flex items-center gap-2 text-foreground",children:[(0,t.jsx)(s,{className:"size-4"}),r,(0,t.jsx)(V,{className:"h-5 rounded-full px-1.5 tabular-nums",variant:"neutral",children:e})]}),a?(0,t.jsx)("button",{type:"button","aria-label":"View all "+r.toLowerCase(),onClick:a,className:"grid size-8 place-items-center rounded-md text-muted-foreground hover:text-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",children:(0,t.jsx)(U.ArrowRight,{className:"size-4"})}):(0,t.jsx)("span",{className:"grid size-8 place-items-center rounded-md text-muted-foreground","aria-hidden":"true",children:(0,t.jsx)(U.ArrowRight,{className:"size-4"})})]})}function em({children:e,onClick:s}){return s?(0,t.jsx)("button",{type:"button",onClick:s,className:"block w-full text-left transition-colors hover:bg-muted focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-ring",children:e}):(0,t.jsx)(t.Fragment,{children:e})}function eu({description:e,severity:s,status:a,title:r}){return(0,t.jsx)("div",{className:"w-full px-2 py-3 text-left",children:(0,t.jsxs)("div",{className:"flex min-w-0 items-center gap-3",children:[(0,t.jsx)("div",{className:"flex shrink-0 self-stretch items-center",children:(0,t.jsx)(eh,{severity:s})}),(0,t.jsxs)("div",{className:"grid min-w-0 flex-1 grid-cols-[minmax(0,1fr)_auto] items-center gap-x-4 gap-y-1",children:[(0,t.jsx)("p",{className:"type-ui type-emphasis min-w-0 truncate text-foreground",children:r}),(0,t.jsx)("span",{className:"type-caption shrink-0 text-muted-foreground",children:a}),(0,t.jsx)("p",{className:"type-caption col-span-2 min-w-0 truncate leading-5 text-muted-foreground",children:e})]})]})})}function ex({description:e,isKey:s=!1,kind:a,name:r,role:n}){return(0,t.jsx)("div",{className:"w-full px-2 py-3 text-left",children:(0,t.jsxs)("div",{className:"flex min-w-0 items-center gap-3",children:[(0,t.jsx)("div",{className:"flex shrink-0 self-stretch items-center",children:(0,t.jsxs)("span",{className:"relative flex size-5 items-center justify-center text-muted-foreground",children:[(0,t.jsx)("organization"===a?Q:er,{className:"size-4",strokeWidth:2}),s?(0,t.jsx)("span",{className:"absolute -bottom-0.5 -right-0.5 size-1.5 rounded-full bg-primary ring-2 ring-background"}):null]})}),(0,t.jsxs)("div",{className:"grid min-w-0 flex-1 grid-cols-[minmax(0,1fr)_auto] items-center gap-x-4 gap-y-1",children:[(0,t.jsx)("p",{className:"type-ui type-emphasis min-w-0 truncate text-foreground",children:r}),(0,t.jsx)("span",{className:"type-caption shrink-0 text-muted-foreground",children:n}),(0,t.jsx)("p",{className:"type-caption col-span-2 min-w-0 truncate leading-5 text-muted-foreground",children:e})]})]})})}function eg({description:e,Icon:s,label:a,status:r}){return(0,t.jsx)("div",{className:"w-full px-2 py-3 text-left",children:(0,t.jsxs)("div",{className:"flex min-w-0 items-center gap-3",children:[(0,t.jsx)("div",{className:"flex shrink-0 self-stretch items-center",children:(0,t.jsx)("span",{className:"flex size-4 items-center justify-center text-muted-foreground",children:(0,t.jsx)(s,{className:"size-4"})})}),(0,t.jsxs)("div",{className:"grid min-w-0 flex-1 grid-cols-[minmax(0,1fr)_auto] items-center gap-x-4 gap-y-1",children:[(0,t.jsx)("p",{className:"type-ui type-emphasis min-w-0 truncate text-foreground",children:a}),(0,t.jsx)("span",{className:"type-caption shrink-0 text-muted-foreground",children:r}),(0,t.jsx)("p",{className:"type-caption col-span-2 min-w-0 truncate leading-5 text-muted-foreground",children:e})]})]})})}function ef({author:e,body:s,date:a,subject:r}){return(0,t.jsx)("div",{className:"w-full px-2 py-3 text-left",children:(0,t.jsxs)("div",{className:"flex min-w-0 items-center gap-3",children:[(0,t.jsx)("div",{className:"flex shrink-0 self-stretch items-center",children:(0,t.jsx)(es,{className:"size-4 text-muted-foreground"})}),(0,t.jsxs)("div",{className:"grid min-w-0 flex-1 grid-cols-[minmax(0,1fr)_auto] items-center gap-x-4 gap-y-1",children:[(0,t.jsx)("p",{className:"type-ui type-emphasis min-w-0 truncate text-foreground",children:r}),(0,t.jsx)("span",{className:"type-caption shrink-0 tabular-nums text-muted-foreground",children:a}),(0,t.jsxs)("p",{className:"type-caption col-span-2 min-w-0 line-clamp-2 leading-5 text-muted-foreground",children:[e,", ",s]})]})]})})}function ey(){let e=(0,a.useDemoScene)();return(0,t.jsx)("div",{className:"edge-fade edge-fade-bottom sticky top-0 z-40 w-full bg-background","aria-label":"Dashboard views",children:(0,t.jsx)("div",{className:"relative inline-flex min-h-10 w-full max-w-full items-center justify-start gap-1 overflow-hidden p-1",children:ei.map((s,a)=>(0,t.jsx)("div",{className:"relative h-8 shrink-0",children:(0,t.jsx)("button",{type:"button",disabled:!e,"data-demo-target":`tab-${s.toLowerCase().replaceAll(" ","-")}`,"aria-pressed":e?e.tab===s.toLowerCase().replaceAll(" ","-"):0===a,onClick:()=>e?.setTab(s.toLowerCase().replaceAll(" ","-")),className:(0,r.cn)("type-ui relative z-10 inline-flex h-8 items-center justify-center whitespace-nowrap rounded-md px-3 text-muted-foreground",(e?e.tab===s.toLowerCase().replaceAll(" ","-"):0===a)&&"type-control bg-secondary text-secondary-foreground shadow-2xs"),children:s})}
1,s))})})}function eb({initialSelected:e=0,view:i}){let[o,c]=(0,s.useState)(e),[d,h]=(0,s.useState)(""),[p,m]=(0,s.useState)("Overview"),u=(0,a.useDemoScene)(),x=(0,s.useRef)(null),g="key-parties"===i,f="file-notes"===i,y="issues"===i,b=g?"Key parties":f?"File notes":y?"Issues":"Case weaknesses",v=g?el.map(e=>({title:e.name,details:e.details,meta:e.role,row:(0,t.jsx)(ex,{...e})})):f?ed.map(e=>({title:e.subject,details:e.details,meta:`${e.date} \xb7 ${e.author}`,row:(0,t.jsx)(ef,{...e})})):y?eo.map(e=>({title:e.title,details:e.details,meta:e.status,row:(0,t.jsx)(eu,{...e})})):ec.map(e=>({title:e.label,details:e.details,meta:e.status,row:(0,t.jsx)(eg,{...e})})),j=v.map((e,t)=>({index:t,row:e})).filter(({row:e})=>e.title.toLowerCase().includes(d.toLowerCase())),N=v[o]??v[0],k=(0,a.useDemoFactData)(),C=(k.links[`${i}:${o}`]??[]).map(e=>k.facts[e]).filter(Boolean),A=f?["Overview","Facts","Documents","History"]:["Overview","Facts","Documents",...g?["Issues"]:[]];return(0,s.useEffect)(()=>{x.current&&(x.current.scrollTop=0)},[p,o]),(0,t.jsxs)("section",{"aria-label":`${b} workspace`,className:"grid h-[38rem] min-h-0 min-w-0 grid-cols-[23rem_minmax(0,1fr)] border-t",children:[(0,t.jsxs)("aside",{className:"min-h-0 min-w-0 overflow-x-hidden overflow-y-auto border-r",children:[(0,t.jsxs)("div",{className:"sticky top-0 z-10 border-b bg-background p-4",children:[(0,t.jsxs)("h3",{className:"type-body type-emphasis flex items-center gap-2",children:[b,(0,t.jsx)(V,{variant:"neutral",children:v.length})]}),(0,t.jsxs)("div",{className:"mt-4 flex items-center gap-2",children:[(0,t.jsxs)("label",{className:"flex min-w-0 flex-1 items-center gap-2 rounded-md border px-3",children:[(0,t.jsx)(F.Search,{className:"size-4 shrink-0 text-muted-foreground"}),(0,t.jsx)("input",{"aria-label":`Search ${b.toLowerCase()}`,placeholder:`Search ${g?"parties":b.toLowerCase()}`,value:d,onChange:e=>h(e.target.value),className:"type-ui h-9 min-w-0 w-full bg-transparent outline-none"})]}),(0,t.jsx)("span",{"aria-label":"Filter",className:"grid size-9 place-items-center rounded-md border",children:(0,t.jsx)(ee,{className:"size-4"})})]})]}),(0,t.jsx)("ul",{className:"divide-y",children:0===j.length?(0,t.jsxs)("li",{className:"p-4",children:[(0,t.jsxs)("p",{className:"type-ui type-emphasis text-foreground",children:["No matching ",f?"notes":b.toLowerCase()]}),(0,t.jsx)("p",{className:"type-caption mt-1 text-muted-foreground",children:"Try another search."})]}):j.map(({row:e,index:s})=>(0,t.jsx)("li",{children:(0,t.jsxs)("button",{type:"button","aria-pressed":o===s,className:(0,r.cn)("relative block w-full min-w-0 text-left transition-colors hover:bg-muted focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-ring",o===s&&"bg-secondary"),onClick:()=>{c(s),m("Overview")},children:[o===s?(0,t.jsx)("span",{"aria-hidden":"true",className:"absolute left-0 top-1/2 h-6 w-1 -translate-y-1/2 rounded-full bg-primary"}):null,e.row]})},e.title))})]}),(0,t.jsxs)("div",{ref:x,className:"min-h-0 min-w-0 overflow-y-auto","data-dashboard-detail":i,children:[(0,t.jsxs)("header",{className:"p-6",children:[(0,t.jsx)("h3",{className:"type-heading-sm truncate text-foreground",title:N.title,children:N.title}),(0,t.jsx)("div",{className:"type-caption mt-2 flex flex-wrap items-center gap-3 text-muted-foreground",children:g?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("span",{children:["Role: ",N.meta]}),(0,t.jsxs)("span",{children:["Type: ","person"===el[o].kind?"Person":"Organization"]}),el[o].isKey&&(0,t.jsx)(V,{variant:"purple",children:"Key party"})]}):f?N.meta:(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(V,{variant:"Needs review"===N.meta?"yellow":"neutral",children:N.meta}),y&&(0,t.jsxs)("span",{className:"flex items-center gap-2",children:[(0,t.jsx)(eh,{severity:eo[o].severity}),(0,t.jsx)("span",{className:"capitalize",children:eo[o].severity}),(0,t.jsx)(w.ChevronDown,{className:"size-3"})]})]})})]}),(0,t.jsx)("div",{className:"flex gap-1 px-2","aria-label":`${N.title} details`,children:A.map(e=>(0,t.jsxs)("button",{type:"button",onClick:()=>m(e),"data-demo-target":`detail-${e.toLowerCase()}`,"aria-pressed":p===e,className:(0,r.cn)("type-ui flex h-8 items-center gap-2 rounded-md px-3 text-muted-foreground",p===e&&"bg-secondary text-secondary-foreground"),children:["Facts"!==e||g||y||f?e:"Evidence",["Facts","Documents"].includes(e)&&(0,t.jsx)(V,{variant:"neutral",children:"Facts"===e?C.length:1})]},e))}),(0,t.jsx)("div",{className:"Facts"===p?"px-6 pb-6 pt-2":"p-6",children:"Overview"===p?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("h4",{className:"type-control",children:g?"Role in this matter":y?"Issue summary":f?"Note":"Details"}),(0,t.jsx)("div",{className:"type-ui mt-2 max-w-[80ch] space-y-4 leading-6 text-foreground
1/90",children:N.details.map(e=>(0,t.jsx)("p",{children:e},e))}),g&&(0,t.jsxs)("section",{className:"mt-6",children:[(0,t.jsx)("h4",{className:"type-control",children:"Evidence snapshot"}),(0,t.jsx)("dl",{className:"mt-3 divide-y border-y",children:[["Date range","22 April to 29 May 2026"],["Relationship to facts","Named in the site-access correspondence"],["Evidence types","Correspondence, notices, and project records"]].map(([e,s])=>(0,t.jsxs)("div",{className:"grid grid-cols-[10rem_minmax(0,1fr)] gap-4 py-3",children:[(0,t.jsx)("dt",{className:"type-caption text-muted-foreground",children:e}),(0,t.jsx)("dd",{className:"type-ui",children:s})]},e))})]})]}):"Issues"===p?(0,t.jsx)(eu,{...eo[0]}):"History"===p?(0,t.jsxs)("p",{className:"type-ui text-muted-foreground",children:["Current version · ",N.meta]}):"Facts"===p?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("div",{className:"type-caption mb-2 flex min-h-8 items-center text-muted-foreground",children:[C.length," linked fact",1===C.length?"":"s"]}),(0,t.jsx)(l,{linked:!0,rows:C.map(e=>({...e,relationship:e.relationship??(g?"Involved in":y?"Supports":f?"Linked":"Context")}))})]}):(0,t.jsx)("div",{className:"border-y",children:(0,t.jsxs)("button",{type:"button","data-demo-target":"open-source",onClick:()=>u?.openSource(),className:"type-ui flex items-center gap-2 py-4 text-left",children:[(0,t.jsx)(n.GrellaFileGlyph,{}),(0,t.jsx)("span",{children:"Change Order 12.pdf"}),(0,t.jsx)("span",{className:"type-caption text-muted-foreground",children:"p.14"})]})})})]})]})}function ev(){return(0,t.jsxs)("section",{className:"border-t p-6","data-dashboard-assessment":!0,children:[(0,t.jsxs)("h3",{className:"type-heading-sm flex items-center gap-2",children:["Case assessment ",(0,t.jsx)(V,{variant:"yellow",children:"Needs review"})]}),(0,t.jsx)("p",{className:"type-ui mt-1 text-muted-foreground",children:"Grella’s evidence-backed view of this matter, including strengths, risks and recommended next steps."}),(0,t.jsxs)("div",{className:"type-ui mt-6 flex items-center gap-6 text-muted-foreground",children:[(0,t.jsx)("span",{className:"rounded-md bg-secondary px-3 py-1 text-secondary-foreground",children:"Analysis"}),(0,t.jsx)("span",{children:"Evidence"}),(0,t.jsx)("span",{children:"Documents"})]}),(0,t.jsx)("div",{className:"max-w-[80ch] divide-y",children:[["Summary","The access notice and revised programme support a change to the eastern-zone work sequence. The project emails and delay log place that change alongside recorded disruption. The current record does not yet establish how much of the claimed extension follows from restricted access rather than overlapping subcontractor delay."],["Strengths","Change Order 12, the 3 May project emails, and the 9 May delay-log entry provide a dated path through the access change and revised sequence. Northline’s written reservation and later extension submission are also in the record. The owner’s response accepts that the sequence changed, while keeping causation and the period claimed in dispute."],["Risks","The inspection note refers to an earlier access date, and the full report is still missing. Several cost entries lack invoice or timesheet links. The team also needs to distinguish the date the restriction took effect from the dates the notice was received and the revised programme circulated. Those gaps limit what can safely be said about the full delay and cost claim."],["Recommended next steps","Obtain the complete inspection material and notice delivery chain. Compare the baseline and revised programmes against daily site records, then separate access-related disruption from concurrent subcontractor delay. Update the chronology and response memo with the checked dates, source links, and any questions that remain open before the next briefing."]].map(([e,s])=>(0,t.jsxs)("section",{className:"py-5",children:[(0,t.jsx)("h4",{className:"type-control",children:e}),(0,t.jsx)("p",{className:"type-ui mt-2 leading-6 text-foreground/90",children:s})]},e))})]})}function ew({className:e,lastUpdated:n="today",matterStatus:i="Active",matterType:o="Commercial litigation",summary:l=(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("p",{children:"Northline's current matter record ties the access notice, revised programme, change-order correspondence, and delay log into one source-backed view of the dispute."}),(0,t.jsx)("p",{children:"The main live questions concern when site access changed, whether Change Order 12 was approved before the revised sequence, and which source records still need review."})]}),title:c="Matter Dashboard"}){let d=(0,a.useDemoScene)(),h=d?.tab||"overview",[p,m]=(0,s.use
1State)(null),u=(e,t)=>{m({index:t,view:e}),d?.setTab(e)},x="overview"!==h&&p?.view===h?p.index:0;return(0,t.jsxs)("div",{className:(0,r.cn)("mx-auto flex max-w-7xl flex-col space-y-0 p-6 pb-24",e),children:[(0,t.jsx)("div",{className:"mb-6 py-1",children:(0,t.jsxs)("div",{className:"flex min-w-0 flex-1 flex-col gap-1",children:[(0,t.jsx)("h2",{className:"type-heading text-foreground",children:c}),(0,t.jsxs)("p",{className:"type-body flex flex-wrap items-center gap-x-2 text-muted-foreground",children:[(0,t.jsxs)("span",{className:"inline-flex items-center gap-1.5",children:[(0,t.jsx)(J,{className:"size-4"}),o]}),(0,t.jsx)("span",{className:"h-4 w-px bg-border","aria-hidden":"true"}),(0,t.jsxs)("span",{className:"inline-flex items-center gap-1.5",children:[(0,t.jsx)(Z,{className:"size-4"}),"Last updated ",n]}),(0,t.jsx)("span",{className:"h-4 w-px bg-border","aria-hidden":"true"}),(0,t.jsx)("span",{children:i})]})]})}),(0,t.jsx)(ey,{}),"assessment"===h?(0,t.jsx)(ev,{}):"overview"!==h?(0,t.jsx)(eb,{initialSelected:x,view:h},h):(0,t.jsxs)("div",{className:"grid grid-cols-2",children:[(0,t.jsxs)("section",{className:"col-span-2 min-w-0 border-b py-6",children:[(0,t.jsxs)("h2",{className:"type-body type-emphasis mb-4 flex items-center gap-2 text-foreground",children:[(0,t.jsx)(K,{className:"size-4"}),"Summary"]}),(0,t.jsx)("div",{className:"type-body space-y-4 leading-7 text-foreground/90",children:l})]}),(0,t.jsxs)("section",{className:"min-w-0 border-b pt-6 pr-6",children:[(0,t.jsx)(ep,{count:eo.length,Icon:Y.CircleAlert,onOpen:d?()=>u("issues",0):void 0,title:"Issues"}),(0,t.jsx)("div",{className:"grella-preview-scroll max-h-[32rem] divide-y overflow-y-auto pb-6 [scrollbar-width:none] [&::-webkit-scrollbar]:hidden",children:eo.map((e,s)=>(0,t.jsx)(em,{onClick:d?()=>u("issues",s):void 0,children:(0,t.jsx)(eu,{...e})},e.title))})]}),(0,t.jsxs)("section",{className:"min-w-0 border-b border-l pt-6 pl-6",children:[(0,t.jsx)(ep,{count:el.length,Icon:en,onOpen:d?()=>u("key-parties",0):void 0,title:"Key parties"}),(0,t.jsx)("div",{className:"grella-preview-scroll max-h-[32rem] divide-y overflow-y-auto pb-6 [scrollbar-width:none] [&::-webkit-scrollbar]:hidden",children:el.map((e,s)=>(0,t.jsx)(em,{onClick:d?()=>u("key-parties",s):void 0,children:(0,t.jsx)(ex,{...e})},e.name))})]}),(0,t.jsxs)("section",{className:"min-w-0 border-b pt-6 pr-6",children:[(0,t.jsx)(ep,{count:ec.length,Icon:Y.CircleAlert,onOpen:d?()=>u("weaknesses",0):void 0,title:"Case weaknesses"}),(0,t.jsx)("div",{className:"grella-preview-scroll max-h-[32rem] divide-y overflow-y-auto pb-6 [scrollbar-width:none] [&::-webkit-scrollbar]:hidden",children:ec.map((e,s)=>(0,t.jsx)(em,{onClick:d?()=>u("weaknesses",s):void 0,children:(0,t.jsx)(eg,{...e})},e.label))})]}),(0,t.jsxs)("section",{className:"min-w-0 border-b border-l pt-6 pl-6",children:[(0,t.jsx)(ep,{count:ed.length,Icon:es,onOpen:d?()=>u("file-notes",0):void 0,title:"File notes"}),(0,t.jsx)("div",{className:"grella-preview-scroll max-h-[32rem] divide-y overflow-y-auto pb-6 [scrollbar-width:none] [&::-webkit-scrollbar]:hidden",children:ed.map((e,s)=>(0,t.jsx)(em,{onClick:d?()=>u("file-notes",s):void 0,children:(0,t.jsx)(ef,{...e})},e.subject))})]})]})]})}function ej({ariaLabel:e="Grella matter dashboard showing the current matter sidebar, dashboard header, tabs, summary, issues, parties, weaknesses, and file notes.",cameraStyle:s,className:a,framed:r,header:i,overview:o,sidebar:l}){return(0,t.jsx)(n.GrellaAppShell,{ariaLabel:e,cameraStyle:s,className:a,framed:r,sidebar:l,children:(0,t.jsxs)("div",{className:"flex min-h-0 min-w-0 flex-col overflow-hidden",children:[(0,t.jsx)(n.GrellaAppHeader,{...i}),(0,t.jsx)("main",{"data-demo-target":"content",className:"grella-preview-scroll min-h-0 min-w-0 flex-1 overflow-x-hidden overflow-y-auto",children:(0,t.jsx)(ew,{...o})})]})})}function eN({children:e,className:n,onExited:i,present:o,reducedMotion:l,running:c}
1){let[d,h]=(0,s.useState)(o),[p,m]=(0,s.useState)(!1),u=(0,s.useRef)(i),x=(0,a.useDemoScene)(),g=x?.seeking||(l??p);(0,s.useEffect)(()=>{u.current=i},[i]),(0,s.useEffect)(()=>{let e=window.matchMedia("(prefers-reduced-motion: reduce)"),t=()=>m(e.matches);return t(),e.addEventListener("change",t),()=>e.removeEventListener("change",t)},[]),(0,s.useEffect)(()=>{g&&!o&&u.current?.()},[g,o]);let f=o?"entering":"exiting";return o||!g&&d?(0,t.jsx)("div",{className:(0,r.cn)("grella-source-presence flex min-h-0 min-w-0",n),"data-source-presence":f,"data-source-presence-reduced":g?"true":void 0,"data-source-presence-running":void 0===c?void 0:String(c),inert:!o,onAnimationStart:e=>{e.target===e.currentTarget&&"entering"===f&&h(!0)},onAnimationEnd:e=>{e.target!==e.currentTarget||"exiting"!==f||o||(h(!1),u.current?.())},children:e}):null}e.s(["GrellaSourcePresence",0,eN],52689);var ek=e.i(52486),x=x;let eC=(0,d.default)("file-text",[["path",{d:"M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z",key:"1oefj6"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5",key:"wfsgrz"}],["path",{d:"M10 9H8",key:"b1mrlr"}],["path",{d:"M16 13H8",key:"t4e002"}],["path",{d:"M16 17H8",key:"z1uh3a"}]]);e.s(["FileText",0,eC],26091);let eA=(0,d.default)("table-properties",[["path",{d:"M15 3v18",key:"14nvp0"}],["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M21 9H3",key:"1338ky"}],["path",{d:"M21 15H3",key:"9uk58r"}]]);e.s(["TableProperties",0,eA],45709);var eM=e.i(19455);function eS({screen:e,framed:s,cameraStyle:r}){let i,o=(0,a.useDemoScene)(),l=(0,a.useDemoWorkflowData)();if(!l)return(0,t.jsx)("div",{role:"status",className:"p-6 type-body",children:"This walkthrough needs its saved sample evidence."});let d=o?.workflow??{...ek.initialWorkflowState,...["change-review","affected-work"].includes(e)?{factCorrected:!0,factText:l.factAfter}:{}},h=o?.tab??"overview",p=d.answerText||l.documents[0].answer,m=d.factText||l.factBefore,u=d.questionText||l.question,g=l.documents[0].name,f=(0,ek.workflowAnswerIsStale)(d,g),y=(!o||d.factCorrected)&&!d.markedReviewed,v="source"===h,w="history"===h,j="edit-answer"===h||"edit-fact"===h||"edit-question"===h,N={"witness-view":"Witness preparation","fact-correction":"Fact details","tabular-review":"Notice review","review-answer":"Answer details","change-review":"Changes","affected-work":l.briefingTitle}[e],k=(e,s,a,r=!1)=>(0,t.jsx)(eM.Button,{variant:r?"default":"outline",className:"min-h-12 h-auto whitespace-normal px-4 py-2 text-left","data-demo-target":e,disabled:!o,onClick:a,children:s}),C=e=>o?.navigate(e),A=(e,t)=>{o?.setSearch(t),o?.setTab(e)},S=k("open-source","Open source",()=>o?.setTab("source")),z=(0,t.jsxs)("section",{className:"space-y-4 border-l border-border p-5","aria-label":"Supporting source",children:[(0,t.jsxs)("div",{className:"flex items-start justify-between gap-3",children:[(0,t.jsxs)("div",{className:"min-w-0",children:[(0,t.jsx)("p",{className:"type-control",children:l.sourceName}),(0,t.jsx)("p",{className:"type-meta text-muted-foreground",children:l.sourcePage})]}),o?k("close-source","Close source",()=>o.setTab("overview")):null]}),(0,t.jsx)("p",{className:"type-meta text-muted-foreground",children:"Synthetic source excerpt"}),(0,t.jsx)("blockquote",{className:"border-l-2 border-primary bg-primary-surface p-4 type-body leading-7","data-workflow-source":!0,"data-demo-target":"source",children:l.sourceQuote}),(0,t.jsx)("p",{className:"type-ui text-muted-foreground",children:"Check what the passage supports. A reference is not proof that a legal conclusion is correct."})]}),T=(e,s,a)=>(0,t.jsxs)("div",{className:"space-y-4 rounded-md border border-input p-4",children:[(0,t.jsx)("p",{className:"type-control",children:e}),(0,t.jsx)(c,{label:e,placeholder:e,target:"search",multiline:!0,value:o?.search??"",onChange:e=>o?.setSearch(e)}),(0,t.jsxs)("div",{className:"flex flex-wrap gap-2",children:[k(s,"Save",a,!0),k("detail-overview","Cancel",()=>o?.setTab("overview"))]})]});return i="witness-view"===e?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("p",{className:"type-ui text-muted-foreground",children:"Party rows with linked Facts, Issues, sources and separate preparation notes."}),(0,t.jsx)("div",{className:"overflow-x-auto rounded-lg border border-border",children:(0,t.jsxs)("table",{"data-workflow-table":!0,className:"w-full table-fixed type-ui",children:[(0,t.jsx)("caption",{className:"sr-only",children:"Witness preparation working set"}),(0,t.jsx)("thead",{children:(0,t.jsxs)("tr",{className:"bg-secondary text-left",children:[(0,t.jsx)("th",{className:"w-1/5 p-4",children:"Person"}),(0,t.jsx)("th",{className:"w-2/5 p-4",children:"Linked Fact and Issue"}),(0,t.jsx)("th",{className:"p-4",children:"Preparation note"})]})}),(0,t.jsx)("tbody",{children:(0,t.jsxs)("tr",{className:"align-top",children:[(0,t.jsx)("th",{scope:"row",className:"p-4 text-left font-medium",children:l.witness}),(0,t.jsxs)("td",{className:"space-y-3 border-x border-border p-4",children:[(0,t.jsx)("p",{"data-workflow-fact":!0,children:m}),(0,t.jsx)("p",{className:"type-meta text-muted-foreground",children:l.issue}),k("open-fact","Open linked Fact",()=>C("fact-correction"))]}),(0,t.jsxs)("td",{className:"p-4",children:[(0,t.jsx)("p",{"data-workflow-note":!0,children:l.note}),(0,t.jsx)("p",{className:"mt-3 type-meta text-muted-foreground",children:"View-owned note"})]})]})})]})}),(0,t.jsxs)("div",{className:"flex flex-wrap gap-3",children:[k("open-work-product","Open saved briefing",()=>C("affected-work")),d.factCorrected?k("open-changes","Review affected work",()=>C("change-review")):null]})]}):"fact-correction"===e?(0,t.jsxs)("div",{"data-workflow-split":!0,className:"grid min-w-0 grid-cols-2 divide-x divide-border",children:[(0,t.jsxs)("section",{className:"space-y-5 pr-5",children:[(0,t.jsx)("p",{className:"type-control",children:"Shared Fact"}),j?T("Edit shared Fact","save-fact",()=>{let e=o?.search.trim()||m;o?.updateWorkflow?.({factText:e,factCorrected:e!==l.factBefore,markedReviewed:!1}),o?.setTab("overview")}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("p",{className:"type-body leading-7","data-workflow-fact":!0,children:m}),k("open-fact","Edit Fact",()=>A("edit-fact",m))]}),(0,t.jsxs)("div",{className:"border-t border-border pt-4",children:[(0,t.jsx)("p",{className:"type-meta text-muted-foreground",children:"Linked Issue"}),(0,t.jsx)("p",{className:"mt-2 type-ui",children:l.issue})]}),(0,t.jsxs)("div",{children:[(0,t.jsx)("p",{className:"type-meta text-muted-foreground",children:"Witness preparation note, unchanged"}),(0,t.jsx)("p",{className:"mt-2 type-ui","data-workflow-note":!0,children:l.note})]}),(0,t.jsxs)("div",{className:"flex flex-wrap gap-2",children:[k("return-witness","Back to witness",()=>C("witness-view")),d.factCorrected?k("open-changes","Open affected work",()=>C("change-review")):null]})]}),z]}):"tabular-review"===e?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("div",{className:"flex flex-wrap items-start justify-between gap-4",children:[(0,t.jsx)("p",{className:"type-control",children:u}),(0,t.jsxs)("p",{className:"type-meta text-muted-foreground",children:["Saved review · ",l.documents.length," documents"]})]}),(0,t.jsx)("div",{className:"overflow-x-auto rounded-lg border border-border",children:(0,t.jsxs)("table",{"data-workflow-table":!0,className:"w-full table-fixed type-ui",children:[(0,t.jsx)("caption",{className:"sr-only",children:"Documents and saved answers to the notice question"}),(0,t.jsx)("thead",{children:(0,t.jsxs)("tr",{className:"bg-secondary text-left",children:[(0,t.jsx)("th",{className:"w-[28%] p-4",children:"Document"}),(0,t.jsx)("th",{className:"p-4",children:"Answer"}),(0,t.jsx)("th",{className:"w-[20%] p-4",children:"Result"})]})}),(0,t.jsx)("tbody",{children:l.documents.map((e,s)=>(0,t.jsxs)("tr",{"data-workflow-document":e.name,className:"border-t border-border align-top",children:[(0,t.jsx)("th",{className:"p-4 text-left font-medium",scope:"row",children:e.name}),(0,t.jsxs)("td",{className:"border-x border-border p-4",children:[(0,t.jsx)("p",{children:0===s?p:e.answer}),0===s?(0,t.jsx)("div",{className:"mt-3",children:k("open-answer","Inspect answer",()=>C("review-answer"))}):null]}),(0,t.jsxs)("td",{className:"p-4",children:[e.status,(0,ek.workflowAnswerIsStale)(d,e.name)?(0,t.jsx)("p",{className:"mt-2 type-meta text-yellow-foreground","data-workflow-stale-answer":!0,children:"Needs recheck: question changed"}):null]})]},e.name))})]})}),(0,t.jsx)("p",{className:"type-ui text-muted-foreground",children:"A saved review answer does not automatically become a shared Fact."})]}):"review-answer"===e?(0,t.jsxs)("div",{"data-workflow-split":v||void 0,className:v?"grid min-w-0 grid-cols-2 divide-x divide-border":"space-y-4",children:[(0,t.jsxs)("section",{className:"min-w-0 space-y-5 pr-5",children:[(0,t.jsxs)("div",{children:[(0,t.jsxs)("p",{className:"type-meta text-muted-foreground",children:["Question · ",l.documents[0].name]}),(0,t.jsx)("p",{className:"mt-2 type-control",children:u})]}),f?(0,t.jsx)("p",{className:"rounded-md bg-yellow-surface p-3 type-ui text-yellow-foreground","data-workflow-stale":!0,children:"Source or question changed. Run again to update this answer."}):null,j?T("edit-question"===h?"Edit review question":"Edit answer","edit-question"===h?"revise-question":"save-answer",()=>{"edit-question"===h?o?.updateWorkflow?.({questionText:o.search.trim()||u,questionRevision:d.questionRevision+(o.search.trim()&&o.search.trim()!==u?1:0),suggestionReady:!1,suggestionAccepted:!1}):o?.updateWorkflow?.({answerText:o.search.trim()||p,manualAnswerText:o.search.trim()||p,answerCorrected:!0,answerQuestionRevisions:{...d.answerQuestionRevisions,[g]:d.questionRevision}}),o?.setTab("overview")}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("div",{className:"border-y border-border py-4",children:[(0,t.jsxs)("p",{className:"type-meta text-muted-foreground",children:["Saved answer",d.suggestionAccepted?" · suggestion used":d.answerCorrected?" · manually corrected":""]}),(0,t.jsx)("p",{className:"mt-2 whitespace-pre-wrap type-body leading-7","data-workflow-answer":!0,children:p})]}),(0,t.jsxs)("div",{className:"flex flex-wrap gap-2",children:[S,k("edit-answer","Edit answer",()=>A("edit-answer",p)),k("answer-history",w?"Hide edit history":"Edit history",()=>o?.setTab(w?"overview":"history"))]}),(0,t.jsxs)("div",{className:"flex flex-wrap gap-2",children:[k("revise-question","Edit question",()=>A("edit-question",u)),k("run-answer","Run again",()=>{o?.updateWorkflow?.({suggestionReady:!0,suggestionQuestionRevision:d.questionRevision}),o?.setTab("overview")})]})]}),w?(0,t.jsxs)("section",{className:"space-y-3 border-t border-border pt-4","aria-label":"Edit history",children:[(0,t.jsx)("h3",{className:"type-control",children:"Edit history"}),d.suggestionAccepted?(0,t.jsxs)("p",{className:"type-ui",children:["Use suggestion: ",l.suggestedAnswer]}):null,d.suggestionReady?(0,t.jsxs)("p",{className:"type-ui",children:["New anal
1ysis suggestion: ",l.suggestedAnswer]}):null,d.answerCorrected?(0,t.jsxs)("p",{className:"type-ui",children:["Manual correction: ",d.manualAnswerText]}):(0,t.jsx)("p",{className:"type-ui",children:"No manual edits yet."}),(0,t.jsxs)("p",{className:"type-ui text-muted-foreground",children:["Original answer: ",l.documents[0].answer]})]}):null,d.suggestionReady&&!d.suggestionAccepted?(0,t.jsxs)("section",{className:"space-y-3 rounded-lg bg-primary-surface p-4","aria-label":"New suggestion",children:[(0,t.jsx)("h3",{className:"type-control",children:"New suggestion"}),(0,t.jsx)("p",{className:"type-body",children:l.suggestedAnswer}),k("use-suggestion","Use suggestion",()=>o?.updateWorkflow?.({answerText:l.suggestedAnswer,suggestionAccepted:!0,answerQuestionRevisions:{...d.answerQuestionRevisions,[g]:d.suggestionQuestionRevision??d.questionRevision}}),!0)]}):null,(0,t.jsxs)("div",{className:"border-t border-border pt-4",children:[(0,t.jsx)("p",{className:"type-meta text-muted-foreground",children:"Shared Fact, unchanged by this review answer"}),(0,t.jsx)("p",{className:"mt-2 type-ui","data-workflow-fact":!0,children:m})]}),k("return-review","Back to saved review",()=>C("tabular-review"))]}),v?z:null]}):"change-review"===e?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("p",{className:"type-ui text-muted-foreground",children:"Open review items"}),y?(0,t.jsxs)("article",{className:"rounded-lg border border-border bg-card","data-workflow-impact":!0,children:[(0,t.jsxs)("div",{className:"space-y-4 p-5",children:[(0,t.jsxs)("div",{className:"flex items-center justify-between gap-3",children:[(0,t.jsx)("p",{className:"type-meta text-muted-foreground",children:"Work product"}),(0,t.jsx)("p",{className:"type-control text-yellow-foreground",children:"Fact changed"})]}),(0,t.jsx)("h3",{className:"type-heading-sm",children:l.briefingTitle}),(0,t.jsx)("p",{className:"type-body leading-7","data-workflow-reason":!0,children:l.impactReason}),(0,t.jsx)("p",{className:"type-ui text-muted-foreground",children:"Trigger: Fact edited · 1 Fact · 1 source"})]}),(0,t.jsxs)("div",{className:"flex flex-wrap justify-end gap-3 border-t border-border p-4",children:[k("open-review-target","Open target",()=>C("affected-work")),d.markedReviewed?null:k("mark-reviewed","Mark reviewed",()=>o?.updateWorkflow?.({markedReviewed:!0}),!0)]})]}):d.markedReviewed?(0,t.jsxs)("div",{className:"space-y-4",children:[(0,t.jsx)("p",{role:"status",className:"type-body","data-workflow-acknowledged":!0,children:"Review item marked reviewed. No open items remain for this example."}),k("open-review-target","Open saved briefing",()=>C("affected-work"))]}):(0,t.jsx)("p",{className:"type-body",children:"No affected work in this example until the shared Fact is corrected."}),(0,t.jsx)("p",{className:"type-body text-muted-foreground",children:"Mark reviewed acknowledges the item. It does not revise the briefing or approve the legal work."}),k("return-witness","Return to witness preparation",()=>C("witness-view"))]}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("p",{className:"type-meta text-muted-foreground",children:"Saved wording · not automatically rewritten"}),(0,t.jsxs)("article",{className:"space-y-5 rounded-lg border border-border p-6",children:[(0,t.jsx)("h3",{className:"type-heading-sm",children:l.briefingTitle}),(0,t.jsx)("p",{className:"whitespace-pre-wrap type-body leading-7","data-workflow-briefing":!0,children:l.briefingText})]}),(0,t.jsxs)("section",{className:"space-y-3",children:[(0,t.jsx)("h3",{className:"type-control",children:"Current supporting Fact"}),(0,t.jsx)("p",{className:"type-body","data-workflow-fact":!0,children:m}),S]}),v?z:null,(0,t.jsxs)("div",{className:"flex flex-wrap gap-3",children:[k("open-changes","Return to Changes",()=>C("change-review")),k("return-witness","Return to witness",()=>C("witness-view"))]})]}),(0,t.jsx)(n.GrellaAppShell,{framed:s,cameraStyle:r,ariaLabel:`${N}. Illustrative synthetic matter.`,className:"proof-workflow",contentClassName:"grid-cols-1",sidebar:{className:"hidden",matterName:l.matter,matterType:"Commercial dispute",activeChat:"",chatItems:[],chronologyItems:[],workProductItems:[],navItems:[{label:"Dashboard",Icon:M.List},{label:"Views",Icon:en,active:"witness-view"===e},{label:"Reviews",Icon:eA,active:"tabular-review"===e||"review-answer"===e},{label:"Facts",Icon:b.BookOpen,active:"fact-correction"===e},{label:"Work Products",Icon:eC,active:"affected-work"===e}]},children:(0,t.jsxs)("div",{className:"flex min-h-0 min-w-0 flex-col overflow-hidden",children:[(0,t.jsx)(n.GrellaAppHeader,{breadcrumbs:["Matters",l.matter,N]}),(0,t.jsx)("main",{"data-demo-target":"content",className:"grella-preview-scroll min-h-0 flex-1 overflow-y-auto overflow-x-hidden bg-background",children:(0,t.jsxs)("div",{"data-proof-page-shell":!0,className:"mx-auto max-w-7xl space-y-6 p-6 pb-16",children:[(0,t.jsxs)("header",{className:"space-y-2",children:[(0,t.jsx)("h2",{className:"type-heading",children:N}),(0,t.jsxs)("p",{className:"flex items-center gap-2 type-meta text-muted-foreground",children:[(0,t.jsx)(x.default,{"aria-hidden":"true",className:"size-4 shrink-0"}),"Illustrative synthetic example. No live processing or account changes."]})]}),i]})})]})})}function ez(e,t={}){return{activeChat:"Chats"===e?"What changed in the access notice?":"",chatItems:["What changed in the access notice?","Build delay causation timeline","Compare Change Order 12","Which facts need review?"],chronologyItems:["Master chronology","Site access & delay","Change Order 12"],workProductItems:["Access-delay response memo","Partner case briefing","Extension evidence matrix"],matterName:"Northline Dispute",matterType:"Commercial dispute",navItems:n.defaultGrellaAppNav.map(t=>({...t,active:t.label===e,expanded:"Chronologies"===t.label||"Chats"===t.label||"Work Products"===t.label||t.expanded})),preset:"northline",...t}}function eT({children:e,onClick:s,target:a,icon:n,size:i="default",tone:o="outline"}){return(0,t.jsxs)(s?"button":"span",{onClick:s,"data-demo-target":a,className:(0,r.cn)("type-control inline-flex shrink-0 items-center justify-center whitespace-nowrap rounded-md border","sm"===i?"h-8 gap-2 px-4":"h-9 gap-2 px-4","primary"===o?"border-transparent bg-brand-fixed text-white":"ghost"===o?"border-transparent text-foreground":"border-border bg-background text-foreground"),children:[n?(0,t.jsx)(n,{"aria-hidden":"true",className:"size-4"}):null,e]}
1)}function eq({actions:e,children:s,controls:a,description:r,toolbarExtra:n,title:i}){return(0,t.jsx)("main",{"data-demo-target":"content",className:"grella-preview-scroll min-h-0 flex-1 overflow-x-hidden overflow-y-auto bg-background",children:(0,t.jsxs)("div",{"data-proof-page-shell":!0,className:"mx-auto flex max-w-7xl flex-col space-y-6 p-6 pb-24",children:[(0,t.jsxs)("div",{className:"edge-fade edge-fade-bottom sticky top-0 z-10 space-y-4 bg-background py-1",children:[(0,t.jsxs)("div",{className:"flex items-start justify-between gap-4",children:[(0,t.jsxs)("div",{className:"flex min-w-0 flex-1 flex-col gap-1",children:[(0,t.jsx)("h2",{className:"type-heading text-foreground",children:i}),(0,t.jsx)("p",{className:"type-body text-muted-foreground",children:r})]}),e?(0,t.jsx)("div",{"data-proof-page-actions":!0,className:"flex shrink-0 items-center gap-2",children:e}):null]}),n,a]}),s]})})}function eD({filterLabels:e=["Relevance"],searchPlaceholder:s="Search facts...",sortLabel:n="Date",viewToggle:i=!1}){let o=(0,a.useDemoScene)();return(0,t.jsxs)("div",{"data-proof-search-controls":!0,className:"flex flex-wrap items-center gap-4",children:[(0,t.jsxs)("div",{className:"type-ui flex h-9 max-w-xs flex-1 items-center gap-2 rounded-md border border-input bg-background px-3 text-muted-foreground shadow-2xs",children:[(0,t.jsx)(F.Search,{className:"size-4 shrink-0"}),o?(0,t.jsx)(c,{label:"Search sample matter",target:"search",placeholder:s,value:o.search,onChange:o.setSearch}):s]}),(0,t.jsxs)("div",{className:"ml-auto flex items-center gap-4",children:[i?(0,t.jsxs)("div",{className:"flex items-center overflow-hidden rounded-md border border-border bg-background",children:[(0,t.jsx)("span",{className:"grid size-9 place-items-center bg-accent text-accent-foreground",children:(0,t.jsx)(A,{className:"size-4"})}),(0,t.jsx)("span",{className:"h-4 w-px bg-border"}),(0,t.jsx)("span",{className:"grid size-9 place-items-center bg-card text-muted-foreground",children:(0,t.jsx)(M.List,{className:"size-4"})})]}):null,(0,t.jsxs)("span",{className:"type-control inline-flex h-9 items-center gap-2 rounded-md border border-input bg-background px-3 text-foreground shadow-2xs",children:[(0,t.jsx)(g,{className:"size-4"}),n,(0,t.jsx)(w.ChevronDown,{className:"size-4"})]}),e.map(e=>(0,t.jsxs)("span",{className:(0,r.cn)("type-control inline-flex h-9 items-center justify-between gap-2 rounded-md border border-input bg-background px-3 text-foreground shadow-2xs","Category"===e&&"w-40","Type"===e&&"w-35","Relevance"===e&&"w-38"),children:[e,(0,t.jsx)(w.ChevronDown,{className:"size-4"})]},e))]})]})}function eP({total:e}){return(0,t.jsx)("div",{"data-preview-pagination":!0,className:"pointer-events-none absolute inset-x-0 bottom-4 z-40 flex justify-center px-4",children:(0,t.jsxs)("div",{className:"flex max-w-full items-center gap-2 rounded-lg bg-background/85 py-2 pr-2 pl-4 type-caption text-popover-foreground shadow-md backdrop-blur-xl",children:[(0,t.jsxs)("span",{className:"tabular-nums whitespace-nowrap text-muted-foreground",children:[(0,t.jsxs)("span",{className:"text-foreground",children:["1–",e]})," of ",e]}),(0,t.jsx)("span",{className:"h-4 w-px bg-border"}),(0,t.jsxs)("span",{className:"flex items-center gap-2",children:[(0,t.jsx)("span",{className:"whitespace-nowrap text-muted-foreground",children:"Per page"}),(0,t.jsxs)("span",{className:"flex h-7 w-17 items-center justify-between rounded-md bg-muted px-2 type-caption",children:["100",(0,t.jsx)(w.ChevronDown,{className:"size-3.5 text-muted-foreground"})]})]})]})})}let eL=[{fileId:"DOC-12",name:"Change Order 12.pdf",status:"completed",variant:0},{fileId:"EMAIL-08",name:"Project emails.pdf",status:"processing",variant:1},{fileId:"LOG-42",name:"Delay log.pdf",status:"processing",variant:4},{fileId:"INSP-07",name:"Inspection notes.pdf",status:"pending",variant:2},{fileId:"NOTICE-03",name:"Access notice.pdf",status:"processing",variant:3},{fileId:"LETTER-02",name:"Subcontractor letter.pdf",status:"pending",variant:5}],eR={completed:eL.filter(e=>"completed"===e.status).length,failed:eL.filter(e=>"failed"===e.status).length,pending:eL.filter(e=>"pending"===e.status).length,processing:eL.filter(e=>"processing"===e.status).length,total:eL.length};function eI(){let e=2*Math.PI*42;return(0,t.jsxs)("div",{className:"flex flex-col items-center",children:[(0,t.jsxs)("div",{className:"relative size-28",children:[(0,t.jsx)("div",{className:"absolute inset-2 rounded-full bg-primary/10 blur-xl"}),(0,t.jsxs)("svg",{className:"relative size-full -rotate-90",viewBox:"0 0 100 100",children:[(0,t.jsx)("circle",{cx:"50",cy:"50",fill:"none",opacity:"0.35",r:42,stroke:"var(--muted)",strokeWidth:"5"}),(0,t.jsx)("circle",{cx:"50",cy:"50",fill:"none",r:42,stroke:"var(--primary)",strokeDasharray:e,strokeDashoffset:e*(1-.82),strokeLinecap:"round",strokeWidth:"5"})]}),(0,t.jsx)("div",{className:"absolute inset-0 flex items-center justify-center",children:(0,t.jsx)("span",{className:"type-heading-sm tabular-nums text-foreground",children:"82%"})})]}),(0,t.jsx)("p",{className:"type-ui mt-3 min-h-10 text-center text-muted-foreground",children:"Identifying key facts and dates"})]})}function eO({variant:e}){let s=e%2==0?[4,5]:[6];return(0,t.jsxs)("div",{className:"h-full bg-background px-5 py-4 text-[6px] leading-[9px] text-foreground
1/75",children:[(0,t.jsxs)("div",{className:"flex items-start justify-between border-b border-border pb-2",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)("p",{className:"font-mono",children:"Northline Construction Dispute"}),(0,t.jsx)("p",{className:"font-mono text-muted-foreground",children:"Commercial dispute"})]}),(0,t.jsxs)("p",{className:"font-mono text-muted-foreground",children:["Page ",e+3]})]}),(0,t.jsxs)("div",{className:"mt-3 border-b border-border pb-2 text-center",children:[(0,t.jsxs)("p",{className:"font-mono uppercase text-foreground",children:["Change Order ",12+e]}),(0,t.jsx)("p",{className:"mt-1 text-muted-foreground",children:"Revised access sequence and delay record"})]}),(0,t.jsx)("div",{className:"mt-3 space-y-1.5",children:Array.from({length:4===e?13:11}).map((e,a)=>(0,t.jsxs)("p",{className:"grid grid-cols-[0.85rem_1fr] gap-1.5",children:[(0,t.jsx)("span",{className:"font-mono text-right text-muted-foreground",children:a+1}),(0,t.jsx)("span",{className:(0,r.cn)("h-[7px] rounded-sm bg-muted-foreground/10",a%4==0&&"w-10/12",a%4==1&&"w-full",a%4==2&&"w-11/12",a%4==3&&"w-8/12",s.includes(a)&&"bg-primary-surface")})]},a))}),(0,t.jsxs)("div",{className:"absolute inset-x-5 bottom-4 border-t border-border pt-2",children:[(0,t.jsx)("span",{className:"block h-1.5 w-20 rounded bg-muted-foreground/15"}),(0,t.jsx)("span",{className:"mt-1 block h-1.5 w-14 rounded bg-muted-foreground/10"})]})]})}function e_(){return(0,t.jsxs)("div",{className:"pointer-events-none absolute inset-0 z-20 mix-blend-multiply [mask-image:radial-gradient(circle_at_center,white,rgba(255,255,255,0.15)_100%)]",children:[(0,t.jsx)("div",{className:"absolute inset-0 opacity-55 [background-image:radial-gradient(circle,var(--brand-fixed)_1px,transparent_1px)] [background-size:4px_4px]"}),(0,t.jsx)("div",{className:"absolute inset-0 opacity-45 [background-image:linear-gradient(115deg,transparent_0%,transparent_38%,var(--primary-surface)_48%,transparent_58%,transparent_100%)]"})]})}function eF({file:e,index:s}){return(0,t.jsxs)("article",{className:(0,r.cn)("proof-processing-page relative aspect-[210/297] overflow-hidden bg-card shadow-lg","pending"===e.status&&"opacity-80"),"data-card":!0,"data-status":e.status,style:{animationDelay:`${120*s}ms`},title:e.name,children:[(0,t.jsx)("div",{className:"relative z-10 h-full",children:(0,t.jsx)(eO,{variant:e.variant})}),(0,t.jsx)(e_,{})]})}function eG(){return(0,t.jsxs)("div",{className:"proof-fact-stack relative mt-6 pb-6",children:[(0,t.jsx)("article",{className:"relative z-[8] rounded-lg border border-border bg-card px-4 py-3 shadow-sm",children:(0,t.jsx)("p",{className:"type-caption line-clamp-3 text-foreground/80",children:"The site access notice changes the current delay sequence."})}),[1,2,3].map(e=>(0,t.jsx)("div",{className:"absolute inset-x-0 rounded-b-lg border border-t-0 border-border/60 bg-card",style:{height:`${5*e+2}px`,left:`${3*e}px`,marginTop:`-${(8-e)*5}px`,opacity:1-.1*e,right:`${3*e}px`,top:"100%",zIndex:8-e}},e))]})}function eE(){return(0,t.jsx)("div",{className:"mt-4 space-y-2",children:[["Completed",String(eR.completed),"bg-green-solid"],["In progress",String(eR.processing),"bg-primary"],["Queued",String(eR.pending),"bg-muted-foreground/60"],["Failed",String(eR.failed),"bg-red-solid"]].map(([e,s,a])=>(0,t.jsxs)("div",{className:"flex items-center justify-between py-1",children:[(0,t.jsxs)("div",{className:"flex items-center gap-2",children:[(0,t.jsx)("span",{className:(0,r.cn)("size-2 rounded-full",a)}),(0,t.jsx)("span",{className:"type-caption text-muted-foreground",children:e})]}),(0,t.jsx)("span",{className:"type-caption tabular-nums text-foreground",children:s})]},e))})}function eW(){let e=[["green",eR.completed],["primary",eR.processing],["red",eR.failed]];return(0,t.jsx)("div",{className:"proof-stage-bars mt-6 h-1.5 w-full overflow-hidden rounded-full bg-muted/30",children:(0,t.jsx)("div",{className:"flex h-full",children:e.map(([e,s])=>0===s?null:(0,t.jsx)("div",{className:(0,r.cn)("h-full","green"===e&&"bg-green-solid","primary"===e&&"bg-primary","red"===e&&"bg-red-solid"),style:{width:`${s/eR.total*100}%`}},e))})})}function eH(){return(0,t.jsxs)("div",{className:"proof-processing-orb absolute left-1/2 top-1/2 z-20 grid size-20 -translate-x-1/2 -translate-y-1/2 place-items-center rounded-full border border-primary/30 bg-background shadow-sm",children:[(0,t.jsx)("div",{className:"absolute inset-0 rounded-full bg-primary/10 blur-xl"}),(0,t.jsx)("img",{alt:"Grella AI",className:"relative size-10",src:"https://brand.grella.ai/icon-primary.svg"})]})}function eB(){let e,s,a,{columns:n,numCols:i}=(s=3==(e=eL.length<=1?1:eL.length<=3?2:3)?[1,0,2]:2===e?[0,1]:[0],a=Array.from({length:e},()=>
1[]),eL.forEach((t,r)=>{let n=s[r%e];a[n]?.push(t)}),{columns:a,numCols:e});return(0,t.jsx)("div",{className:"absolute inset-0 flex items-center justify-center gap-3 px-4",children:n.map((e,s)=>(0,t.jsx)("div",{className:(0,r.cn)("min-w-0 flex flex-col justify-center gap-3",i>1&&"flex-1",1===i&&"w-full max-w-xs"),style:{transform:`translateY(${1===i?0:2===i?146*(0!==s):0===s?87.6:51.099999999999994*(1!==s)}px)`},children:e.map((e,a)=>(0,t.jsx)(eF,{file:e,index:2*s+a},e.fileId))},s))})}function e$(){return(0,t.jsxs)("section",{className:"relative flex min-h-0 min-w-0 items-center justify-center overflow-hidden px-6 py-8",children:[(0,t.jsx)("div",{className:"pointer-events-none absolute inset-x-0 top-0 z-10 h-24 bg-gradient-to-b from-background to-transparent"}),(0,t.jsx)("div",{className:"pointer-events-none absolute inset-x-0 bottom-0 z-10 h-24 bg-gradient-to-t from-background to-transparent"}),(0,t.jsx)(eB,{}),(0,t.jsx)(eH,{})]})}function eV(){return(0,t.jsxs)("aside",{className:"border-r border-border/50 px-6 pt-[25vh]",children:[(0,t.jsx)(eI,{}),(0,t.jsx)(eW,{}),(0,t.jsx)(eE,{}),(0,t.jsx)("div",{className:"mt-6 rounded-md bg-primary-surface px-3 py-2",children:(0,t.jsx)("p",{className:"type-caption text-primary",children:"Building your matter overview"})})]})}function eU(){return(0,t.jsxs)("aside",{className:"border-l border-border/50 px-6 pt-[25vh]",children:[(0,t.jsxs)("div",{className:"flex flex-col items-center",children:[(0,t.jsxs)("div",{className:"relative grid size-28 place-items-center",children:[(0,t.jsx)("div",{className:"absolute inset-2 rounded-full bg-primary/10 blur-xl"}),(0,t.jsx)("div",{className:"relative grid size-full place-items-center rounded-full border border-border bg-card",children:(0,t.jsx)("span",{className:"type-heading-sm tabular-nums text-foreground",children:"43"})})]}),(0,t.jsx)("p",{className:"type-ui mt-3 text-muted-foreground",children:"Facts extracted"})]}),(0,t.jsx)(eG,{})]})}function eK({cameraStyle:e,framed:s}){return(0,t.jsx)(n.GrellaAppShell,{ariaLabel:"Grella processing screen showing document processing progress, document cards, and extracted facts.",cameraStyle:e,className:"proof-processing",framed:s,sidebar:ez("Documents"),children:(0,t.jsxs)("div",{className:"flex min-h-0 min-w-0 flex-col overflow-hidden",children:[(0,t.jsx)(n.GrellaAppHeader,{breadcrumbs:["Matters","Northline Construction Dispute","Processing"],showFileManager:!1}),(0,t.jsxs)("div",{className:"grid min-h-0 flex-1 grid-cols-[16rem_minmax(0,1fr)_16rem] overflow-hidden",children:[(0,t.jsx)(eV,{}),(0,t.jsx)(e$,{}),(0,t.jsx)(eU,{})]})]})})}let eJ=[{date:"Apr 22, 2026",description:"Notice recording the revised site-access sequence and restricted eastern work zone.",relevance:"High",title:"Access notice",type:"Notice"},{date:"Apr 24, 2026",description:"Executed change order addressing access sequencing and programme impacts.",relevance:"High",title:"Change Order 12",type:"Change order"},{date:"May 3, 2026",description:"Project correspondence circulating the revised sequence after Change Order 12.",relevance:"High",title:"Project emails",type:"Correspondence"},{date:"May 9, 2026",description:"Contemporaneous delay log recording productive time lost during restricted access.",relevance:"Medium",title:"Delay log",type:"Project record"},{date:"May 16, 2026",description:"Inspection notes concerning access to the affected area and outstanding works.",relevance:"Medium",title:"Inspection notes",type:"Inspection"},{date:"May 29, 2026",description:"Extension submission linking the access restriction to the revised completion date.",relevance:"High",title:"EOT submission",type:"Submission"}];function eQ(){return(0,t.jsx)("div",{className:"relative w-full overflow-x-auto",children:(0,t.jsxs)("table",{className:"type-ui w-full min-w-240 table-fixed border-collapse bg-background",children:[(0,t.jsx)("thead",{children:(0,t.jsxs)("tr",{children:[(0,t.jsx)("th",{className:"h-10 w-8 px-0 shadow-[inset_0_-1px_0_var(--border)]"}),(0,t.jsx)("th",{className:"type-control h-10 w-35 border-r border-border px-2 text-left text-foreground shadow-[inset_0_-1px_0_var(--border)]",children:"Date"}),(0,t.jsx)("th",{className:"type-control h-10 min-w-45 border-r border-border px-2 text-left text-foreground shadow-[inset_0_-1px_0_var(--border)]",children:"Title"}),(0,t.jsx)("th",{className:"type-control h-10 border-r border-border px-2 text-left text-foreground shadow-[inset_0_-1px_0_var(--border)]",children:"Description"}),(0,t.jsx)("th",{className:"type-control h-10 w-40 border-r border-border px-2 text-left text-foreground shadow-[inset_0_-1px_0_var(--border)]",children:"Type"}),(0,t.jsx)("th",{className:"type-control h-10 w-35 px-2 text-center text-foreground shadow-[inset_0_-1px_0_var(--border)]",children:"Relevance"}),(0,t.jsx)("th",{className:"h-10 w-11 px-2 shadow-[inset_0_-1px_0_var(--border)]"})]})}),(0,t.jsx)("tbody",{children:eJ.map(e=>(0,t.jsxs)("tr",{className:"border-b border-border",children:[(0,t.jsx)("td",{className:"w-8 p-0 align-top"}),(0,t.jsx)("td",{className:"border-r border-border p-2 align-top tabular-nums text-muted-foreground",children:e.date}),(0,t.jsx)("td",{className:"border-r border-border p-2 align-top",children:(0,t.jsxs)("div",{className:"min-w-0",children:[(0,t.jsx)("p",{className:"type-ui truncate text-foreground
1/90",children:e.title}),(0,t.jsxs)("p",{className:"type-caption truncate text-muted-foreground/70",children:[e.title,".pdf"]})]})}),(0,t.jsx)("td",{className:"border-r border-border p-2 align-top text-muted-foreground",children:(0,t.jsx)("p",{className:"line-clamp-3 whitespace-normal",children:e.description})}),(0,t.jsx)("td",{className:"border-r border-border p-2 align-top text-muted-foreground",children:e.type}),(0,t.jsx)("td",{className:"p-2 align-middle text-center",children:(0,t.jsx)(o,{relevance:e.relevance})}),(0,t.jsx)("td",{className:"p-2 align-top"})]},e.title))})]})})}function eY({cameraStyle:e,framed:s}){return(0,t.jsxs)(n.GrellaAppShell,{ariaLabel:"Grella documents screen showing the current document index.",cameraStyle:e,className:"proof-documents",framed:s,sidebar:ez("Documents"),children:[(0,t.jsxs)("div",{className:"flex min-h-0 min-w-0 flex-col overflow-hidden",children:[(0,t.jsx)(n.GrellaAppHeader,{breadcrumbs:["Matters","Northline Dispute","Documents"]}),(0,t.jsx)(eq,{actions:(0,t.jsx)(eT,{icon:h,children:"Export"}),controls:(0,t.jsx)(eD,{filterLabels:["Category","Type","Relevance"],searchPlaceholder:"Search documents..."}),description:"Browse the classified documents identified across this matter.",title:"Documents",toolbarExtra:(0,t.jsx)("div",{className:"mb-4 flex items-center justify-between gap-4",children:(0,t.jsxs)("div",{className:"relative inline-flex min-h-10 w-fit max-w-full items-center justify-start gap-1 overflow-hidden p-1",children:[(0,t.jsx)("span",{className:"type-control flex h-8 items-center rounded-md bg-secondary px-3 text-secondary-foreground shadow-2xs",children:"Index"}),(0,t.jsx)("span",{className:"type-ui flex h-8 items-center rounded-md px-3 text-muted-foreground",children:"Sources"})]})}),children:(0,t.jsx)(eQ,{})})]}),(0,t.jsx)(eP,{total:eJ.length})]})}function eZ({cameraStyle:e,framed:s}){let r=(0,a.useDemoFactData)();return(0,t.jsxs)(n.GrellaAppShell,{ariaLabel:"Grella facts screen showing the current source-linked facts table.",cameraStyle:e,className:"proof-facts",framed:s,sidebar:ez("Facts"),children:[(0,t.jsxs)("div",{className:"flex min-h-0 min-w-0 flex-col overflow-hidden",children:[(0,t.jsx)(n.GrellaAppHeader,{breadcrumbs:["Matters","Northline Dispute","Facts"]}),(0,t.jsx)(eq,{actions:(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(eT,{icon:h,children:"Export"}),(0,t.jsx)(eT,{icon:O.Plus,tone:"primary",children:"Add fact"})]}),controls:(0,t.jsx)(eD,{}),description:"All facts relating to this matter.",title:"Facts",children:(0,t.jsx)(l,{rows:r.facts,selectable:!0})})]}),(0,t.jsx)(eP,{total:r.facts.length})]})}function eX({body:e,category:s,contributors:a=[],date:r,pinned:n=!1,review:i=!1,statusDot:o=!1,title:l,onOpen:c,target:d}){return(0,t.jsxs)("article",{className:"flex flex-col gap-0 rounded-lg border border-border bg-card p-5",children:[(0,t.jsxs)("div",{className:"flex items-center justify-between gap-3",children:[(0,t.jsxs)("span",{className:"type-caption flex items-center gap-1.5 uppercase text-muted-foreground",children:[n?(0,t.jsx)(I,{className:"size-3"}):null,s]}),i?(0,t.jsx)(V,{className:"rounded-full",variant:"yellow",children:"Review"}):o?(0,t.jsx)("span",{"aria-label":"Unverified",className:"size-2 rounded-full bg-yellow-solid"}):null]}),(0,t.jsxs)("div",{className:"mt-3 line-clamp-5",children:[(0,t.jsx)("h3",{className:"type-lede type-emphasis text-foreground",children:c?(0,t.jsx)("button",{type:"button","data-demo-target":d,className:"text-left hover:underline focus-visible:ring-2 focus-visible:ring-ring",onClick:c,children:l}):l}),(0,t.jsx)("p",{className:"type-ui mt-2 text-muted-foreground",children:e})]}),(0,t.jsxs)("div",{className:"mt-auto flex items-center justify-between pt-5",children:[(0,t.jsx)("span",{className:"type-caption text-muted-foreground",children:r}),a.length?(0,t.jsx)("div",{className:"flex -space-x-2",children:a.map(e=>(0,t.jsx)("span",{className:"type-caption grid size-8 place-items-center rounded-full bg-muted text-muted-foreground shadow-sm ring-1 ring-card type-emphasis",children:e},e))}):null]})]})}function e0({framed:e}){let s=(0,a.useDemoScene)();return(0,t.jsx)(n.GrellaAppShell,{ariaLabel:"Grella chronology collection",framed:e,sidebar:ez("Chronologies"),children:(0,t.jsxs)("div",{className:"flex min-h-0 min-w-0 flex-col overflow-hidden",children:[(0,t.jsx)(n.GrellaAppHeader,{breadcrumbs:["Matters","Northline Dispute","Chronologies"]}),(0,t.jsx)(eq,{title:"Chronologies",description:"Timelines of facts for this matter.",actions:(0,t.jsx)(eT,{icon:O.Plus,size:"sm",tone:"primary",children:"New Chronology"}),controls:(0,t.jsx)(eD,{filterLabels:[],searchPlaceholder:"Search chronologies...",viewToggle:!0,sortLabel:"Updated"}),children:(0,t.jsxs)("div",{className:"grid grid-cols-3 gap-6",children:[(0,t.jsx)(eX,{category:"Master chronology",title:"Master chronology",body:"7 facts",date:"Updated today"}),(0,t.jsx)(eX,{category:"Focused chronology",title:"Site access & delay",body:"7 facts",date:"Updated today",target:"open-chronology",onOpen:s?()=>s.navigate("chronology"):void 0}),(0,t.jsx)(eX,{category:"Focused chronology",title:"Change Order 12",body:"3 facts",date:"Updated today"})]})})]})})}function e1({cameraStyle:e,framed:s}){let r=(0,a.useDemoFactData)();return(0,t.jsxs)(n.GrellaAppShell,{ariaLabel:"Grella focused chronology page showing dated facts, sources, and relevance.",cameraStyle:e,className:"proof-chronology",framed:s,sidebar:ez("Chronologies",{activeChronology:"Site access & delay"}),children:[(0,t.jsxs)("div",{className:"flex min-h-0 min-w-0 flex-col overflow-hidden",children:[(0,t.jsx)(n.GrellaAppHeader,{breadcrumbs:["Matters","Northline Dispute","Chronologies","Site access & delay"]}),(0,t.jsx)(eq,{actions:(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(eT,{icon:h,children:"Export"}),(0,t.jsx)(eT,{icon:O.Plus,tone:"primary",children:"Add entry"})]}),controls:(0,t.jsx)(eD,{}),description:"Facts linked to the site access and delay issue.",title:"Site access & delay",children:(0,t.jsx)(l,{rows:r.facts})})]}),(0,t.jsx)(eP,{total:r.facts.length})]})}let e2=[{access:"Private",activity:"8m ago",messages:14,pinned:!0,started:"2h ago",title:"What changed in the access notice?"},{access:"Shared",activity:"1h ago",messages:21,pinned:!1,started:"Yesterday",title:"Build delay causation timeline"},{access:"Shared",activity:"3h ago",messages:9,pinned:!1,started:"Yesterday",title:"Compare Change Order 12"},{access:"Private",activity:"Yesterday",messages:17,pinned:!1,started:"2 days ago",title:"Which facts need review?"}];function e4({cameraStyle:e,framed:s}){return(0,t.jsxs)(n.GrellaAppShell,{ariaLabel:"Grella chats screen showing matter conversations.",cameraStyle:e,className:"proof-chats",framed:s,sidebar:ez("Chats",{activeChat:""}),children:[(0,t.jsxs)("div",{className:"flex min-h-0 min-w-0 flex-col overflow-hidden",children:[(0,t.jsx)(n.GrellaAppHeader,{breadcrumbs:["Matters","Northline Dispute","Chats"]}),(0,t.jsx)(eq,{actions:(0,t.jsx)(eT,{icon:O.Plus,tone:"primary",children:"New chat"}),controls:(0,t.jsx)(eD,{filterLabels:[],searchPlaceholder:"Search chats...",sortLabel:"Activity"}),description:"Conversations for Northline Dispute",title:"Chats",children:(0,t.jsx)("div",{className:"relative w-full overflow-x-auto",children:(0,t.jsxs)("table",{className:"type-ui w-full min-w-190 table-fixed border-collapse bg-background",children:[(0,t.jsx)("thead",{children:(0,t.jsxs)("tr",{children:[(0,t.jsx)("th",{className:"type-control h-10 w-[48%] pl-14 pr-2 text-left text-foreground shadow-[inset_0_-1px_0_var(--border)]",children:"Chat"}),(0,t.jsx)("th",{className:"type-control h-10 w-[22%] px-2 text-right text-foreground shadow-[inset_0_-1px_0_var(--border)]",children:"Access"}),(0,t.jsx)("th",{className:"type-control h-10 w-[12%] px-2 text-right text-foreground shadow-[inset_0_-1px_0_var(--border)]",children:"Messages"}),(0,t.jsx)("th",{className:"type-control h-10 w-[14%] px-2 text-right text-foreground shadow-[inset_0_-1px_0_var(--border)]",children:"Last activity"}),(0,t.jsx)("th",{className:"h-10 w-11 px-2 shadow-[inset_0_-1px_0_var(--border)]"})]})}),(0,t.jsx)("tbody",{children:e2.map(e=>(0,t.jsxs)("tr",{className:"border-b border-border",children:[(0,t.jsxs)("td",{className:"relative p-2 pl-14 align-middle",children:[e.pinned?(0,t.jsx)("span",{className:"absolute left-6 top-1/2 -translate-y-1/2 text-muted-foreground",children:(0,t.jsx)(I,{className:"size-4"})}):null,(0,t.jsxs)("div",{className:"min-w-0",children:[(0,t.jsx)("p",{className:"type-ui type-emphasis truncate text-foreground",children:e.title}),(0,t.jsxs)("p",{className:"type-caption text-muted-foreground",children:["Started ",e.started]})]})]}),(0,t.jsx)("td",{className:"p-2 text-right text-muted-foreground",children:(0,t.jsxs)("div",{className:"flex items-center justify-end gap-3",children:[(0,t.jsx)("span",{className:"flex size-7 shrink-0 items-center justify-center rounded-md text-muted-foreground",children:"Private"===e.access?(0,t.jsx)(z,{className:"size-4"}):(0,t.jsx)(G,{className:"size-4"})}
1),(0,t.jsx)("div",{className:"flex -space-x-2",children:("Shared"===e.access?["JL","AS"]:["JL"]).map(s=>(0,t.jsx)("span",{className:"type-caption grid size-6 place-items-center rounded-full bg-muted text-muted-foreground shadow-sm ring-1 ring-card type-emphasis",children:s},`${e.title}-${s}`))})]})}),(0,t.jsx)("td",{className:"p-2 text-right text-muted-foreground",children:(0,t.jsxs)("span",{className:"inline-flex items-center gap-2 tabular-nums",children:[(0,t.jsx)(q.MessageCircle,{className:"size-4 text-muted-foreground"}),(0,t.jsx)("span",{className:"type-ui type-emphasis text-foreground",children:e.messages})]})}),(0,t.jsx)("td",{className:"type-ui p-2 text-right tabular-nums text-muted-foreground",children:e.activity}),(0,t.jsx)("td",{className:"p-2 text-muted-foreground"})]},e.title))})]})})})]}),(0,t.jsx)(eP,{total:e2.length})]})}function e5({page:e=14}){return 15===e?(0,t.jsx)("div",{className:"mx-auto w-full",children:(0,t.jsxs)(n.GrellaPdfDocument,{children:[(0,t.jsxs)("header",{className:"grella-pdf-rule flex justify-between border-b pb-3",children:[(0,t.jsx)("span",{className:"grella-pdf-meta",children:"NORTHLINE CIVIL PTY LTD"}),(0,t.jsx)("span",{className:"grella-pdf-meta",children:"Contract NCL-2025-041 · Page 15 of 18"})]}),(0,t.jsxs)("section",{className:"py-4 text-center",children:[(0,t.jsx)("h2",{className:"grella-pdf-title",children:"CHANGE ORDER NO. 12"}),(0,t.jsx)("p",{className:"grella-pdf-body",children:"Schedule 2: Programme and supporting records"})]}),[["1. Programme comparison","The Contractor shall submit the baseline programme and the revised programme reflecting access to the eastern work zone from 22 April 2026. Identify the affected activities, their planned and actual dates, dependencies, available float and any change to the critical path."],["2. Assessment of time","A period of restricted access is not, without further assessment, an agreed period of delay to completion. Show how the restriction affected the relevant activities and separate its effect from other causes, including concurrent delay."],["3. Supporting records","Provide daily site records identifying labour, plant, areas available for work and activities affected by the restriction. Reconcile those records with progress reports, directions and the programme comparison. Explain any inconsistent dates or missing records."],["4. Mitigation and resequencing","Set out the steps taken to reduce the effect of restricted access, including work available in other areas and changes to the planned sequence. Identify any further direction required from the Superintendent."],["5. Notices and review","The Contractor remains responsible for giving notices required under the Contract. Submit the programme comparison and supporting records for review. Receipt of these materials does not constitute acceptance of the claimed period or costs."],["6. Reservation","This schedule supplements the access arrangements on page 14. No agreement is made here as to causation, entitlement or quantum. Those matters remain subject to the Contract and assessment of the supporting evidence."]].map(([e,s],a)=>(0,t.jsxs)("section",{className:`mb-4 ${a<2?"grella-pdf-highlight":""}`,children:[(0,t.jsx)("h3",{className:"grella-pdf-body font-semibold",children:e}),(0,t.jsx)("p",{className:"grella-pdf-body mt-1",children:s})]},e)),(0,t.jsx)("footer",{className:"grella-pdf-rule border-t pt-3 grella-pdf-meta",children:"ILLUSTRATIVE DEMO RECORD · CO-12 / 15"})]})}):(0,t.jsx)("div",{className:"mx-auto flex w-[96%] flex-col gap-4 py-5",children:(0,t.jsxs)(n.GrellaPdfDocument,{children:[(0,t.jsxs)("div",{className:"grella-pdf-rule flex items-start justify-between gap-4 border-b pb-2",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)("div",{className:"grella-pdf-meta",children:"NORTHLINE CIVIL PTY LTD"}),(0,t.jsx)("div",{className:"grella-pdf-meta grella-pdf-muted",children:"Eastern Works Package"})]}),(0,t.jsxs)("div",{className:"text-right",children:[(0,t.jsx)("div",{className:"grella-pdf-meta",children:"Contract NCL-2025-041"}),(0,t.jsx)("div",{className:"grella-pdf-meta grella-pdf-muted",children:"Page 14 of 18"})]})]}),(0,t.jsxs)("div",{className:"mt-4 text-center",children:[(0,t.jsx)("h4",{className:"grella-pdf-title uppercase",children:"Change Order No. 12"}),(0,t.jsx)("p",{className:"grella-pdf-section-title mt-1 uppercase",children:"Site Access and Resequencing"}),(0,t.jsx)("p",{className:"grella-pdf-meta grella-pdf-muted mt-1",children:"Effective date: 22 April 2026"})]}),(0,t.jsxs)("div",{className:"grella-pdf-rule mt-4 grid grid-cols-[5rem_1fr] gap-x-3 gap-y-1 border-y py-2",children:[(0,t.jsx)("span",{className:"grella-pdf-meta grella-pdf-muted uppercase",children:"Owner"}),(0,t.jsx)("span",{className:"grella-pdf-meta",children:"Riverstone Developments Pty Ltd"}),(0,t.jsx)("span",{className:"grella-pdf-meta grella-pdf-muted uppercase",children:"Contractor"}),(0,t.jsx)("span",{className:"grella-pdf-meta",children:"Northline Civil Pty Ltd"}),(0,t.jsx)("span",{className:"grella-pdf-meta grella-pdf-muted uppercase",children:"Project"}),(0,t.jsx)("span",{className:"grella-pdf-meta",children:"Northline Business Park — Eastern Works"}),(0,t.jsx)("span",{className:"grella-pdf-meta grella-pdf-muted uppercase",children:"Subject"}),(0,t.jsx)("span",{className:"grella-pdf-meta",children:"Restricted access and revised construction sequence"})]}),(0,t.jsxs)("section",{className:"mt-3",children:[(0,t.jsx)("h5",{className:"grella-pdf-section-title uppercase",children:"Backgroun
1d"}),(0,t.jsx)("div",{className:"mt-1 space-y-1",children:["A. The Owner and Contractor are parties to Contract NCL-2025-041 for the Eastern Works Package at Northline Business Park.","B. Restricted access to the eastern work zone has affected the sequence in which the Contractor can perform the Works.","C. The parties wish to record the revised access arrangements and the Contractor's reservation of rights arising from that change."].map(e=>(0,t.jsx)("p",{className:"grella-pdf-body",children:e},e))})]}),(0,t.jsxs)("section",{className:"mt-3",children:[(0,t.jsx)("h5",{className:"grella-pdf-section-title uppercase",children:"Agreed terms"}),(0,t.jsx)("div",{className:"mt-1 space-y-1",children:[{heading:"1. Direction",body:"The Owner directs the Contractor to resequence the affected excavation, services and pavement works in accordance with the revised access programme issued with this Change Order."},{heading:"2. Revised site access",body:"Access to the eastern work zone will commence on 22 April 2026. Until that date, entry is limited to inspection, survey and other activities expressly approved in writing by the Superintendent.",highlight:!0},{heading:"3. Programme consequences",body:"The Contractor must update its construction programme to reflect the revised access sequence. The parties acknowledge that the change may affect planned productivity, float and the timing of activities on the critical path.",highlight:!0},{heading:"4. Notice and reservation",body:"Nothing in this Change Order constitutes agreement as to causation, entitlement or quantum. Northline expressly preserves all rights to claim an extension of time and delay costs arising from restricted access."},{heading:"5. Records",body:"The Contractor must keep daily records of labour, plant, access limits and affected activities, and provide those records with any notice arising from this Change Order."},{heading:"6. Mitigation",body:"The Contractor must take reasonable steps to reduce delay and notify the Superintendent before making any further change to the revised sequence."}].map(e=>(0,t.jsxs)("div",{className:(0,r.cn)(e.highlight&&"grella-pdf-highlight px-1 py-px"),children:[(0,t.jsx)("p",{className:"grella-pdf-section-title",children:e.heading}),(0,t.jsx)("p",{className:"grella-pdf-body mt-0.5",children:e.body})]},e.heading))})]}),(0,t.jsxs)("section",{className:"mt-3",children:[(0,t.jsx)("h5",{className:"grella-pdf-section-title uppercase",children:"Schedule 1 · Access arrangements"}),(0,t.jsxs)("table",{className:"grella-pdf-rule mt-1 w-full table-fixed border-collapse border-y text-left",children:[(0,t.jsx)("thead",{children:(0,t.jsxs)("tr",{className:"border-b",children:[(0,t.jsx)("th",{className:"grella-pdf-meta w-[28%] py-1 pr-2",children:"Area"}),(0,t.jsx)("th",{className:"grella-pdf-meta w-[44%] px-2 py-1",children:"Access"}),(0,t.jsx)("th",{className:"grella-pdf-meta w-[28%] py-1 pl-2",children:"Effective"})]})}),(0,t.jsx)("tbody",{children:[["Eastern work zone","Restricted until approved release","22 Apr 2026"],["Haul route B","Survey and inspection only","22 Apr 2026"],["Southern laydown","Access unchanged","Current programme"]].map(([e,s,a])=>(0,t.jsxs)("tr",{className:"border-b last:border-b-0",children:[(0,t.jsx)("td",{className:"grella-pdf-body py-1 pr-2",children:e}),(0,t.jsx)("td",{className:"grella-pdf-body px-2 py-1",children:s}),(0,t.jsx)("td",{className:"grella-pdf-body py-1 pl-2",children:a})]},e))})]})]}),(0,t.jsxs)("section",{className:"mt-3",children:[(0,t.jsx)("h5",{className:"grella-pdf-section-title uppercase",children:"Execution"}),(0,t.jsx)("div",{className:"mt-2 grid grid-cols-2 gap-8",children:[["For the Owner","Morgan Hayes · Development Director"],["For the Contractor","Jordan Lee · Project Director"]].map(([e,s])=>(0,t.jsxs)("div",{className:"grella-pdf-rule border-t pt-1",children:[(0,t.jsx)("p",{className:"grella-pdf-section-title",children:e}),(0,t.jsx)("p",{className:"grella-pdf-meta grella-pdf-muted mt-1",children:s}),(0,t.jsx)("p",{className:"grella-pdf-meta grella-pdf-muted mt-0.5",children:"Dated 22 April 2026"})]},e))})]}),(0,t.jsxs)("div",{className:"grella-pdf-rule mt-3 flex items-center justify-between border-t pt-2",children:[(0,t.jsx)("span",{className:"grella-pdf-meta grella-pdf-muted",children:"CONFIDENTIAL — CONTRACT RECORD"}),(0,t.jsx)("span",{className:"grella-pdf-meta grella-pdf-muted",children:"NCL-2025-041 / CO-12 / 14"})]})]})})}function e3({count:e,title:s,type:a}){return(0,t.jsxs)("div",{className:"my-2 flex w-full items-center gap-4 roun
1ded-lg border border-border bg-card p-4 text-left",children:[(0,t.jsxs)("div",{className:"flex min-w-0 flex-1 flex-col gap-0.5",children:[(0,t.jsxs)("div",{className:"flex min-w-0 items-center gap-1.5",children:[(0,t.jsx)("span",{className:"type-caption truncate text-muted-foreground",children:a}),(0,t.jsx)("span",{className:"type-caption type-emphasis shrink-0 rounded-full bg-muted px-1.5 py-0.5 text-muted-foreground",children:e})]}),(0,t.jsx)("span",{className:"type-ui truncate text-foreground",children:s})]}),(0,t.jsx)(x.default,{className:"size-4 shrink-0 text-yellow-foreground"})]})}function e6({text:e,streaming:a}){let[r,n]=(0,s.useState)(()=>({text:e,chunks:e?[{id:0,text:e,entering:a}]:[]}));if(r.text!==e){let t=!!(r.text&&e.startsWith(r.text)),s={id:(r.chunks.at(-1)?.id??-1)+1,text:t?e.slice(r.text.length):e,entering:a};n({text:e,chunks:e?t?[...r.chunks,s]:[s]:[]})}return e?r.chunks.map(e=>(0,t.jsx)("span",{className:e.entering?"demo-stream-chunk":void 0,children:e.text},e.id)):null}function e8(e){e&&"u">typeof navigator&&navigator.clipboard&&navigator.clipboard.writeText(e).catch(()=>{})}function e7({answerVisible:e=!0,answerText:a,cameraStyle:i,citationAnswer:o,composerText:l,framed:d,generating:h=!1,interactive:p=!1,onComposerChange:m,onOpenCitation:u,onSourceClose:x,onSubmit:g,questionText:y,sourceOpen:w=!1,submitted:N=!0}){let[C,A]=(0,s.useState)(null),M=C??(h&&!e),[z,T]=(0,s.useState)(!1),[q,D]=(0,s.use
1State)(!1),[L,R]=(0,s.useState)(""),[I,_]=(0,s.useState)(w),[G,W]=(0,s.useState)(14),H=u?()=>{_(!0),T(!1),D(!1),u("14")}:void 0,B=u?()=>{_(!0),T(!0),D(!0),R(""),u("14")}:void 0,$=o??w,V=y||($?"What changed in the access notice?":"Build delay causation timeline"),U=y||($?"What changed after the supplemental production, and what should I recheck before using the old chronology?":"Update the chronology and facts from the supplemental production. Show me the changes before applying them."),K=[{Icon:F.Search,label:"Searching matter files",status:h?e?"complete":"active":"complete"},{Icon:b.BookOpen,label:"Reading the source passages",status:h?e?"active":"pending":"complete"}];return(0,t.jsxs)(n.GrellaAppShell,{ariaLabel:w?"Grella chat screen showing a cited answer with the source PDF open beside it.":"Grella chat screen showing a matter question and a cited assistant answer.",cameraStyle:i,className:(0,r.cn)("grella-app-preview proof-chat",I&&"proof-chat-source",I&&!w&&"proof-chat-source-closing"),contentClassName:(0,r.cn)((I||w)&&"grid-cols-[16rem_minmax(0,1fr)_32rem]",!I&&!w&&"grid-cols-[16rem_minmax(0,1fr)]"),framed:d,interactive:p,sidebar:ez("Chats",{activeChat:N?V:"New chat",chatItems:[...new Set([V,"Build delay causation timeline","Compare Change Order 12","Which facts need review?"])]}),children:[(0,t.jsxs)("div",{className:"flex min-h-0 min-w-0 flex-col overflow-hidden",children:[(0,t.jsx)(n.GrellaAppHeader,{title:N?V:"New chat"}),(0,t.jsxs)("main",{className:(0,r.cn)("flex min-h-0 flex-1 flex-col bg-background",!N&&"justify-center"),children:[(0,t.jsx)("div",{"data-demo-target":"content",className:(0,r.cn)("grella-preview-scroll min-h-0 overflow-x-hidden overflow-y-auto",N&&"flex-1"),children:(0,t.jsxs)("div",{className:"mx-auto flex w-full max-w-3xl flex-col px-4 pb-8",children:[!N&&(0,t.jsxs)("div",{className:"demo-new-chat-header pb-4",children:[(0,t.jsxs)("h2",{className:"type-heading",children:["Hi Jordan,",(0,t.jsx)("br",{}),"What can I help with?"]}),(0,t.jsx)("p",{className:"type-ui mt-2 text-muted-foreground",children:"Start here or type your question."})]}),N?(0,t.jsxs)("div",{className:"demo-user-message group/user-message mt-12 flex w-full flex-col items-end",children:[(0,t.jsx)("div",{className:"w-fit max-w-4/5 rounded-lg rounded-br-md border border-border bg-card px-4 py-2.5",children:(0,t.jsx)("p",{className:"type-body text-foreground",children:U})}),(0,t.jsx)("div",{className:"demo-user-message-actions mt-1 flex items-center gap-2 text-muted-foreground opacity-0 transition-opacity duration-200 group-hover/user-message:opacity-100 focus-within:opacity-100",children:(0,t.jsx)("button",{"aria-label":"Copy question",className:"grid size-8 place-items-center rounded-md hover:bg-muted hover:text-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",onClick:()=>e8(U),title:"Copy question",type:"button",children:(0,t.jsx)(k.Copy,{className:"size-4"})})})]}):null,N?(0,t.jsxs)("div",{className:"group/assistant mt-6 flex w-full flex-col gap-2","data-demo-hover-region":!0,children:[(0,t.jsxs)("div",{className:"mb-1 flex flex-col",children:[(0,t.jsxs)("button",{type:"button","aria-expanded":M,onClick:()=>A(!M),className:"type-ui flex items-center gap-2 self-start py-1 pr-2 text-muted-foreground",children:[(0,t.jsxs)("span",{className:"relative size-4 shrink-0","aria-hidden":"true",children:[(0,t.jsx)(S,{className:(0,r.cn)("absolute inset-0 size-4 transition-opacity duration-150 motion-safe:animate-spin [animation-duration:1.6s] motion-reduce:transition-none",h?"opacity-100":"opacity-0")}),(0,t.jsx)(v,{className:(0,r.cn)("absolute inset-0 size-4 transition-opacity duration-150 motion-reduce:transition-none",h?"opacity-0":"opacity-100")})]}),(0,t.jsxs)("span",{"aria-live":"polite",className:"relative grid max-w-prose min-w-0 truncate",children:[(0,t.jsx)("span",{"aria-hidden":!h,className:(0,r.cn)("col-start-1 row-start-1 truncate transition-opacity duration-150 motion-reduce:transition-none",h?"opacity-100":"opacity-0"),children:"Reviewing matter context…"}),(0,t.jsx)("span",{"aria-hidden":h,className:(0,r.cn)("col-start-1 row-start-1 truncate transition-opacity duration-150 motion-reduce:transition-none",h?"opacity-0":"opacity-100"),children:"Reviewed matter context"})]}),(0,t.jsx)(j.ChevronRight,{className:(0,r.cn)("size-4 transition-transform duration-[160ms] ease-[var(--ease-out)] motion-reduce:transition-none",M&&"rotate-90")})]}),(0,t.jsx)("div",{"aria-hidden":!M,inert:!M,className:(0,r.cn)("demo-thinking-body text-muted-foreground",M?"opacity-100":"pointer-events-none opacity-0"),"data-demo-thinking-body":M?"open":"closing",children:(0,t.jsx)("div",{className:"min-h-0 overflow-hidden",children:(0,t.jsxs)("div",{className:"relative mt-2 flex flex-col gap-5 pb-2 pl-3 pr-2",children:[(0,t.jsx)("span",{className:"absolute bottom-4 left-5 top-2 w-px bg-border"}),K.map(({Icon:e,label:s,status:a})=>(0,t.jsxs)("div",{className:"type-ui relative flex items-center gap-2",children:[(0,t.jsx)("span",{className:"demo-thinking-step-icon relative z-10 inline-flex size-4 shrink-0 items-center justify-center bg-background",children:"active"===a?(0,t.jsx)(S,{className:"size-4 motion-safe:animate-spin [animation-duration:1.6s]"}):"complete"===a?(0,t.jsx)(v,{className:"size-4"}):(0,t.jsx)(e,{className:"size-4"})}),(0,t.jsx)("span",{children:s})]},`${s}-${a}
1`))]})})})]}),(0,t.jsx)("div",{"data-demo-target":"answer",children:e&&void 0!==a?(0,t.jsxs)("p",{className:"type-body whitespace-pre-line leading-7 text-foreground",children:[h||!/\[(14|15)\]/.test(a)?(0,t.jsx)(e6,{text:a,streaming:h}):a.split(/(\[(?:14|15)\])/g).map((e,s)=>/^\[(14|15)\]$/.test(e)?(0,t.jsx)(n.GrellaCitationPill,{ariaLabel:`Open citation ${e.slice(1,-1)}`,target:"[15]"===e&&s>1?"citation-15":"open-source",onClick:()=>{W(Number(e.slice(1,-1))),H?.()},children:e.slice(1,-1)},s):(0,t.jsx)("span",{children:e},s))," ",!h&&!/\[(14|15)\]/.test(a)&&(0,t.jsx)(n.GrellaCitationPill,{ariaLabel:"Open citation 14",onClick:H,children:"14"})]}):e&&$?(0,t.jsxs)("div",{className:"space-y-4",children:[(0,t.jsxs)("p",{className:"type-body text-foreground",children:["The supplemental production materially changes the access timeline. Change Order 12 moves the operative site-access window, and the project email thread confirms the revised sequence was circulated afterward"," ",(0,t.jsx)(n.GrellaCitationPill,{ariaLabel:"Open citation 14",onClick:H,children:"14"})," ",(0,t.jsx)(n.GrellaCitationPill,{ariaLabel:"Open citation 18",onClick:H,children:"18"}),"."]}),(0,t.jsxs)("p",{className:"type-body text-foreground",children:["The delay log now ties the May inspection note to that same access issue. Before relying on older work, recheck the 16 May chronology entry and the access-delay response memo against the revised sequence"," ",(0,t.jsx)(n.GrellaCitationPill,{ariaLabel:"Open citation 42",onClick:H,children:"42"}),"."]}),(0,t.jsxs)("div",{children:[(0,t.jsx)("h4",{className:"type-ui type-emphasis text-foreground",children:"What changed"}),(0,t.jsxs)("ul",{className:"mt-2 space-y-2 pl-5",children:[(0,t.jsx)("li",{className:"type-body list-disc text-foreground",children:"The controlling access date moves to the revised sequence in Change Order 12."}),(0,t.jsx)("li",{className:"type-body list-disc text-foreground",children:"The email chain independently confirms when that revised sequence was circulated."}),(0,t.jsx)("li",{className:"type-body list-disc text-foreground",children:"The delay log connects the inspection issue to the same restricted-access period."})]})]})]}):e?(0,t.jsxs)("div",{children:[(0,t.jsx)("p",{className:"type-body text-foreground",children:"I found two matter-record changes worth applying. I drafted them for review so the current record stays lawyer-controlled."}),(0,t.jsx)(e3,{count:"3 entries",title:"Update Site access & delay chronology",type:"Chronology Proposal"}),(0,t.jsx)(e3,{count:"2 facts",title:"Correct access-date facts from supplemental production",type:"Fact Change Proposal"}),(0,t.jsx)("p",{className:"type-caption mt-2 text-muted-foreground",children:"Review source-linked changes before accepting either proposal."})]}):null}),e&&!h?(0,t.jsxs)(t.Fragment,{children:[B?(0,t.jsxs)("button",{type:"button",onClick:B,className:"demo-control-enter type-ui -ml-4 flex w-fit items-center gap-2 rounded-full px-4 py-2 text-muted-foreground transition-colors duration-150 hover:text-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",children:[(0,t.jsx)(b.BookOpen,{className:"size-4"}),(0,t.jsx)("span",{className:"type-ui",children:"Sources"})]}):(0,t.jsxs)("span",{className:"demo-control-enter type-ui -ml-4 flex w-fit items-center gap-2 rounded-full px-4 py-2 text-muted-foreground",children:[(0,t.jsx)(b.BookOpen,{className:"size-4"}),(0,t.jsx)("span",{className:"type-ui",children:"Sources"})]}),a?.trim()?(0,t.jsx)("div",{className:"demo-control-enter mt-1","aria-label":"Message actions",children:(0,t.jsx)("div",{className:"demo-message-actions flex items-center gap-2 text-muted-foreground opacity-0 transition-opacity duration-200 group-hover/assistant:opacity-100 focus-within:opacity-100",children:(0,t.jsx)("button",{"aria-label":"Copy answer",className:"grid size-9 place-items-center rounded-md hover:bg-muted hover:text-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",onClick:()=>e8(a),title:"Copy answer",type:"button",children:(0,t.jsx)(k.Copy,{className:"size-4"})})})}):null]}):null]}):null]})}),(0,t.jsx)("div",{className:"edge-fade edge-fade-top relative shrink-0 bg-background px-4 pb-6 pt-4",children:(0,t.jsx)("div",{className:"mx-auto w-full max-w-3xl",children:(0,t.jsxs)("div",{className:"relative isolate grid grid-cols-[auto_minmax(0,1fr)_auto] grid-rows-[auto_auto] items-end gap-x-1 overflow-hidden rounded-lg border border-border bg-card p-1 shadow-sm","data-chat-composer":!0,"data-composer-layout":"standard",children:[(0,t.jsx)("div",{className:"col-span-3 row-start-1 min-w-0",children:m?(0,t.jsx)(c,{target:"composer",label:"Demo question",multiline:!0,onChange:m,placeholder:"Ask anything, or type @ to reference documents and work products",value:l??"",disabled:h}):(0,t.jsx)("p",{className:"type-ui min-h-10 min-w-0 flex-1 px-2 py-2 text-muted-foreground",children:l||"Ask anything, or type @ to reference documents and work products"})}),(0,t.jsx)("span",{"aria-hidden":"true",className:"col-start-1 row-start-2 grid size-9 place-items-center rounded-md text-muted-foreground",children:(0,t.jsx)(O.Plus,{className:"size-4"})}),(0,t.jsxs)("div",{className:"col-start-3 row-start-2 flex h-9 items-center gap-2",children:[(0,t.jsx)("span",{"aria-hidden":"true",className:"grid size-9 place-items-center rounded-md text-muted-foreground",children:(0,t.jsx)(P,{className:"size-4"})}),g?h?(0,t.jsx)("span",{"aria-label":"Generating response",className:"grid size-9 place-items-center rounded-md bg-primary text-primary-foreground","data-demo-target":"send",role:"img",children:(0,t.jsx)(E,{className:"size-3 fill-current"})}):(0,t.jsx)("button",{"data-demo-target":"send","aria-label":"Submit demo question",className:"grid size-9 place-items-center rounded-md bg-primary text-primary-foreground disabled:opacity-40",disabled:!l?.trim(),onClick:g,type:"button",children:(0,t.jsx)(f.ArrowUp,{className:"size-4"})}):(0,t.jsx)("span",{className:"grid size-9 place-items-center rounded-md bg-primary text-primary-foreground",children:(0,t.jsx)(f.ArrowUp,{className:"size-4"})})]})]})})})]})]}
1),(0,t.jsx)(eN,{className:"w-full border-l border-border",onExited:()=>{_(!1),T(!1),D(!1)},present:w,children:(0,t.jsx)(n.GrellaChatSourcePanel,{filename:"Change Order 12.pdf",onBack:q&&!z?()=>T(!0):void 0,onClose:x,pageLabel:`${G} / 18`,listContent:z?(0,t.jsxs)("div",{className:"flex min-h-0 flex-1 flex-col",children:[(0,t.jsx)("div",{className:"border-b border-border px-3 py-2",children:(0,t.jsxs)("div",{className:"type-caption flex h-9 items-center gap-2 rounded-md border border-input px-3 text-muted-foreground",children:[(0,t.jsx)(F.Search,{className:"size-4"}),(0,t.jsx)("input",{"aria-label":"Filter sources",placeholder:"Filter sources...",value:L,onChange:e=>R(e.target.value),className:"min-w-0 w-full bg-transparent text-foreground outline-none"})]})}),(0,t.jsx)("div",{className:"p-2",children:"change order 12.pdf".includes(L.trim().toLowerCase())?(0,t.jsxs)("button",{type:"button",onClick:u?()=>{W(14),_(!0),T(!1),D(!0),u("14")}:void 0,className:"w-full overflow-hidden rounded-lg border border-border text-left transition-[background-color,border-color,transform] duration-150 ease-out hover:border-primary active:scale-[0.995] motion-reduce:transition-none motion-reduce:active:scale-100",children:[(0,t.jsxs)("div",{className:"flex items-start gap-4 p-4",children:[(0,t.jsx)("span",{className:"type-caption rounded-full bg-primary-surface px-2.5 py-1 text-primary",children:"1"}),(0,t.jsx)("p",{className:"type-ui",children:"Access to the eastern work zone will commence on 22 April 2026. Until that date, entry is limited to inspection, survey and other activities expressly approved in writing by the Superintendent."})]}),(0,t.jsxs)("div",{className:"flex items-center gap-3 border-t border-border bg-muted p-3",children:[(0,t.jsx)(n.GrellaFileGlyph,{tone:"pdf"}),(0,t.jsxs)("div",{children:[(0,t.jsx)("p",{className:"type-caption type-emphasis",children:"Change Order 12.pdf"}),(0,t.jsx)("p",{className:"type-caption text-muted-foreground",children:"Page 14 · PDF document"})]})]})]}):(0,t.jsx)("p",{className:"type-ui py-12 text-center text-muted-foreground",children:"No sources found matching your search."})})]}):void 0,children:(0,t.jsx)(e5,{page:G},G)})})]})}let e9=[{body:"Source-backed response on the revised access date, critical-path effect, and owner notice sequence.",category:"Document",contributors:["JL","AS"],date:"Aug 20, 2026",review:!0,title:"Access-delay response memo"},{body:"Concise briefing covering the live issues, strongest evidence, gaps, and next factual questions.",category:"Word document",contributors:["JL","MN"],date:"Aug 19, 2026",review:!1,title:"Partner case briefing"},{body:"Maps each extension contention to supporting facts, source pages, contradictions, and missing records.",category:"Document",contributors:["AS"],date:"Aug 18, 2026",review:!0,title:"Extension evidence matrix"},{body:"Current chronology narrative incorporating the revised programme, notices, inspection records, and change order.",category:"Word document",contributors:["JL","AS"],date:"Aug 17, 2026",review:!1,title:"Chronology summary"},{body:"Questions for the next client conference focused on approval authority, access timing, and missing inspection material.",category:"Document",contributors:["MN"],date:"Aug 15, 2026",review:!1,title:"Client conference questions"},{body:"Compares the baseline programme with the revised sequence and isolates the periods that affect the critical path.",category:"Document",contributors:["AS","MN"],date:"Aug 14, 2026",review:!1,title:"Critical path analysis"},{body:"Interview outline for the project manager covering access notices, approval authority, and the May inspection.",category:"Word document",contributors:["JL"],date:"Aug 12, 2026",review:!1,title:"Project manager interview outline"},{body:"Short factual brief for settlement preparation with the strongest sources, open gaps, and disputed causation points.",category:"Document",contributors:["JL","MN"],date:"Aug 11, 2026",review:!0,title:"Settlement conference briefing"}];function te({cameraStyle:e,framed:s,workProductFormat:r}){let i=(0,a.useDemoScene)(),o=(i?.config.workProductFormat??r)==="pdf";return(0,t.jsxs)(n.GrellaAppShell,{ariaLabel:"Grella work products screen showing the current work-product collection.",cameraStyle:e,className:"proof-work-products",framed:s,sidebar:ez("Work Products"),children:[(0,t.jsxs)("div",{className:"flex min-h-0 min-w-0 flex-col overflow-hidden",children:[(0,t.jsx)(n.GrellaAppHeader,{breadcrumbs:["Matters","Northline Dispute","Work Products"]}),(0,t.jsx)(eq,{controls:(0,t.jsx)(eD,{filterLabels:[],searchPlaceholder:"Search work products...",sortLabel:"Activity",viewToggle:!0}),description:"Collaborative content for Northline Dispute. Store work products for this matter.",title:"Work Products",children:(0,t.jsx)("div",{className:"work-product-grid grid grid-cols-3 gap-6","data-work-product-grid":!0,children:e9.filter(e=>!i?.search||e.title.toLowerCase().includes(i.search.toLowerCase())).map(e=>(0,t.jsx)(eX,{...e,category:o&&"Access-delay response memo"===e.title?"Word document":e.category,target:"Access-delay response memo"===e.title?"open-work-product":void 0,onOpen:i&&"Access-delay response memo"===e.title?()=>i.navigate("work-product-detail"):void 0},e.title))})})]}),(0,t.jsx)(eP,{total:e9.length})]})}function tt({cameraStyle:e,framed:s,workProductFormat:r}){let i=(0,a.useDemoScene)(),o=(i?.config.workProductFormat??r)==="pdf";return(0,t.jsx)(n.GrellaAppShell,{ariaLabel:o?"Grella work product showing a two-page response memo in the PDF viewer.":"Grella work product detail page showing the document header, toolbar, and editable work product.",cameraStyle:e,className:"proof-work-product-detail",framed:s,sidebar:ez("Work Products",{activeWorkProduct:"Acce
1ss-delay response memo"}),children:(0,t.jsxs)("div",{className:"flex min-h-0 min-w-0 flex-col overflow-hidden",children:[(0,t.jsx)(n.GrellaAppHeader,{breadcrumbs:["Matters","Northline Dispute","Work Products","Access-delay response memo"]}),o?(0,t.jsx)(u,{}):(0,t.jsxs)("main",{className:"flex min-h-0 flex-1 flex-col overflow-hidden bg-background pt-8",children:[(0,t.jsxs)("div",{className:"flex h-14 shrink-0 items-center justify-between gap-3 border-b border-border bg-background px-6",children:[(0,t.jsxs)("div",{className:"min-w-0 flex-1",children:[(0,t.jsx)("p",{className:"type-ui type-emphasis truncate text-foreground",children:"Access-delay response memo"}),(0,t.jsx)("p",{className:"type-caption mt-1 truncate uppercase text-muted-foreground",children:"Northline Dispute"})]}),(0,t.jsxs)("div",{className:"flex shrink-0 items-center gap-2 text-muted-foreground",children:[(0,t.jsxs)("span",{className:"type-caption flex items-center gap-1 whitespace-nowrap",children:[(0,t.jsx)(N.Clock,{className:"size-4"}),"8 minutes ago"]}),(0,t.jsx)("span",{className:"grid size-8 place-items-center rounded-md",children:(0,t.jsx)(L,{className:"size-4"})})]})]}),(0,t.jsxs)("div",{className:"flex h-12 shrink-0 items-center justify-between border-b border-border bg-background px-6",children:[(0,t.jsxs)("div",{className:"flex items-center text-muted-foreground",children:[(0,t.jsx)("div",{className:"flex items-center gap-1 p-0.5",children:[W,_].map((e,s)=>(0,t.jsx)("span",{className:"grid size-7 place-items-center rounded-md opacity-50",children:(0,t.jsx)(e,{className:"size-3.5"})},s))}),(0,t.jsx)("span",{className:"mx-2 h-4 w-px bg-border"}),(0,t.jsx)("div",{className:"flex items-center gap-0.5",children:[M.List,y,C].map((e,s)=>(0,t.jsx)("span",{className:"grid size-7 place-items-center rounded-md opacity-50",children:(0,t.jsx)(e,{className:"size-3.5"})},s))})]}),(0,t.jsxs)("div",{className:"flex items-center gap-4 text-muted-foreground",children:[(0,t.jsx)("span",{className:"grid size-8 place-items-center rounded-md",children:(0,t.jsx)(R.PanelLeft,{className:"size-4"})}),(0,t.jsx)("span",{className:"h-4 w-px bg-border"}),(0,t.jsx)("div",{className:"flex items-center gap-1",children:[T,h,D,p].map((e,s)=>(0,t.jsx)("span",{className:"grid size-8 place-items-center rounded-md",children:(0,t.jsx)(e,{className:"size-4"})},s))})]})]}),(0,t.jsx)("div",{className:"min-h-0 flex-1 overflow-hidden",children:(0,t.jsx)("div",{className:"mx-auto h-full max-w-4xl",children:(0,t.jsx)("div",{"data-demo-target":"content",className:"grella-preview-scroll h-full overflow-y-auto px-16 py-8 text-foreground",children:(0,t.jsxs)("article",{className:"max-w-none",children:[(0,t.jsx)("h2",{className:"text-[2rem] font-bold leading-[1.2] tracking-[-0.02em]",children:"Access-delay response memo"}),(0,t.jsx)("p",{className:"type-caption mt-2 text-muted-foreground",children:"Prepared from the current Northline matter record"}),(0,t.jsx)("h2",{className:"mt-7 text-2xl font-semibold leading-[1.3] tracking-[-0.01em]",children:"Executive summary"}),(0,t.jsxs)("p",{className:"type-body mt-2 leading-[1.6]",children:["The current record supports Northline's position that the eastern work-zone access restriction changed the operative sequence and contributed to delay. The strongest contemporaneous support is Change Order 12, the access notice, and the project email chain ",(0,t.jsx)(n.GrellaCitationPill,{children:"1"})," ",(0,t.jsx)(n.GrellaCitationPill,{children:"2"}),"."]}),(0,t.jsx)("h2",{className:"mt-7 text-2xl font-semibold leading-[1.3] tracking-[-0.01em]",children:"Current factual position"}),(0,t.jsxs)("ul",{className:"type-body mt-2 list-disc space-y-1 pl-7 leading-[1.6]",children:[(0,t.jsx)("li",{children:"The access window moved to 22 April 2026."}),(0,t.jsx)("li",{children:"The revised programme was circulated after the sequencing change."}),(0,t.jsx)("li",{children:"The delay log records lost productive time during the same period."}),(0,t.jsx)("li",{children:"The owner disputes causation, but not that the access sequence changed."})]}),(0,t.jsx)("h2",{className:"mt-7 text-2xl font-semibold leading-[1.3] tracking-[-0.01em]",children:"Recommended response"}),(0,t.jsxs)("p",{className:"type-body mt-2 leading-[1.6]",children:["Frame the response around the contemporaneous sequence, reserve the causation issue for the programme evidence, and re-verify the 16 May chronology entry before reusing any earlier draft ",(0,t.jsx)(n.GrellaCitationPill,{children:"3"}),"."]})]})})})})]})]})})}e.s(["GrellaChatProofWindow",0,e7,"GrellaProductProofScreen",0,function({cameraStyle:e,framed:s=!0,screen:a,workProductFormat:r}){return ek.workflowScreens.includes(a)?(0,t.jsx)(eS,{screen:a,framed:s,cameraStyle:e}):"review"===a?null:"processing"===a?(0,t.jsx)(eK,{cameraStyle:e,framed:s}):"documents"===a?(0,t.jsx)(eY,{cameraStyle:e,framed:s}):"facts"===a?(0,t.jsx)(eZ,{cameraStyle:e,framed:s}):"chronology"===a?(0,t.jsx)(e1,{cameraStyle:e,framed:s}):"chronologies"===a?(0,t.jsx)(e0,{framed:s}):"chats"===a?(0,t.jsx)(e4,{cameraStyle:e,framed:s}):"chat"===a?(0,t.jsx)(e7,{cameraStyle:e,framed:s}):"chat-source"===a?(0,t.jsx)(e7,{cameraStyle:e,framed:s,sourceOpen:!0}):"work-products"===a?(0,t.jsx)(te,{cameraStyle:e,framed:s,workProductFormat:r}
1):"work-product-detail"===a?(0,t.jsx)(tt,{cameraStyle:e,framed:s,workProductFormat:r}):(0,t.jsx)(ej,{ariaLabel:"Grella matter dashboard showing the current Grella sidebar and dashboard layout.",cameraStyle:e,className:"proof-overview",framed:s,sidebar:ez("Dashboard")})},"NorthlineSourcePage",0,e5],34419)}]);

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.