PageSourceSearch

https://eb1avisa.ai/assets/dashboard.dossier-DAmEHMvg.js

js eb1avisa.ai collected 2026-10-05 11:59:13 UTC 7,223 bytes, 1 lines download raw bytes

1import{b as N,j as e,as as C,Q as L,aw as M,au as w,d as l,aK as _,aC as I,B as P,aL as $,aM as F}from"./index-BWM-K4CF.js";import{f as O}from"./format-BS8Ay9AX.js";import{A as B}from"./award-BG4EPP2m.js";import{U}from"./users-BDixrnB6.js";const V=[["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"}],["circle",{cx:"11.5",cy:"14.5",r:"2.5",key:"1bq0ko"}],["path",{d:"M13.3 16.3 15 18",key:"2quom7"}]],z=N("file-search",V);const K=[["path",{d:"M6 18H4a2 2 0 0 1-2-2v-5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v5a2 2 0 0 1-2 2h-2",key:"143wyd"}],["path",{d:"M6 9V3a1 1 0 0 1 1-1h10a1 1 0 0 1 1 1v6",key:"1itne7"}],["rect",{x:"6",y:"14",width:"12",height:"8",rx:"1",key:"1ue0tg"}]],Y=N("printer",K);function re(){return e.jsxs("div",{className:"print-surface space-y-6",children:[e.jsxs("header",{className:"space-y-2",children:[e.jsx("p",{className:"text-[10px] font-medium uppercase tracking-[0.22em] text-white/50",children:"Phase 4 / File & Monitor"}),e.jsx("h1",{className:"text-3xl font-semibold tracking-tight",children:"Attorney Dossier"}),e.jsx("p",{className:"max-w-2xl text-sm text-white/60",children:"Executive narrative and the next four operational moves for your case."})]}),e.jsx(C,{area:"Phase 4 / Attorney Dossier",children:e.jsx(Q,{})})]})}const i="oklch(0.62 0.11 185)",G="eb1a:timeline:letters",J="eb1a:timeline:targetDate",q="eb1a:vault:uploads",E={awards:"National or International Awards",membership:"Exclusive Memberships",press:"Published Material About You",judging:"Judging & Peer Review",contributions:"Original Contributions",articles:"Authorship of Scholarly Articles",exhibitions:"Artistic Exhibitions or Showcases","critical-role":"Leading or Critical Roles",remuneration:"High Remuneration / Salary",commercial:"Commercial Successes"},H=Object.keys(E);function j(d,s){if(typeof window>"u")return s;try{const a=window.localStorage.getItem(d);return a?JSON.parse(a)??s:s}catch{return s}}function Q(){return e.jsx(W,{})}function W(){const{result:d,phase:s}=L(),a=M(),o=w(G),x=w(J),u=w(q),[p,v]=l.useState([]),[h,T]=l.useState(null),[b,A]=l.useState([]);l.useEffect(()=>{const t=()=>{v(j(o,[]));const n=typeof window<"u"?window.localStorage.getItem(x):null;T(n),A(j(u,[]))};t();const m=n=>{(!n.key||[o,x,u].includes(n.key))&&t()};window.addEventListener("storage",m);const r=window.setInterval(t,2e3);return()=>{window.removeEventListener("storage",m),window.clearInterval(r)}},[o,x,u]);const S=Array.isArray(p)?p.length:0,k=(Array.isArray(p)?p:[]).filter(t=>t?.stage==="Wet-Signature Received").length,R=l.useMemo(()=>{if(!h)return"Not Configured";const t=new Date(h);return Number.isNaN(t.getTime())?"Not Configured":O(t,"MMMM d, yyyy")},[h]),f=l.useMemo(()=>{const t={};for(const r of b)r?.includeInBundle&&(t[r.criterionId]||=[]).push(r);const m=[];return H.forEach((r,n)=>{(t[r]||[]).sort((c,g)=>c.uploadedAt-g.uploadedAt).forEach((c,g)=>{m.push({exhibit:`Exhibit ${n+1}-${g+1}`,title:c.fileName,description:c.description,source:c.source,pageRange:c.pageRange,categoryTitle:E[r]})})}),m},[b]);if(s!=="complete")return e.jsx(_,{title:"Attorney Dossier"});const D=I(d);return e.jsxs("div",{className:"space-y-6",children:[e.jsx("div",{className:"flex justify-end",children:e.jsxs(P,{onClick:()=>typeof window<"u"&&window.print(),className:"print:hidden border border-white/10 bg-white/[0.05] text-white hover:bg-white/[0.1]",children:[e.jsx(Y,{className:"h-4 w-4"}),"Export Dossier (PDF)"]})}),e.jsxs("section",{className:"grid gap-4 sm:grid-cols-3",children:[e.jsx(y,{icon:e.jsx(B,{className:"h-4 w-4",style:{color:i}}),label:"Evidentiary Criteria Met",primary:`${a.size} / 10`,sub:"Target Criteria Locked"}),e.jsx(y,{icon:e.jsx(U,{className:"h-4 w-4",style:{color:i}}),label:"Expert Testimonies",primary:`${S} Registered`,sub:`${k} Finalized`}),e.jsx(y,{icon:e.jsx($,{className:"h-4 w-4",style:{color:i}}),label:"Target Filing Date",primary:R,sub:h?"USCIS Submission Target":"Set in Timeline Planner",muted:!h})]}),e.jsx(F,{summary:D.attorney}),e.jsxs("section",{className:"overflow-hidden rounded-2xl border bg-white/[0.02] backdrop-blur-md",style:{borderColor:"rgba(255,255,255,0.06)"},children:[e.jsxs("div",{className:"flex items-start gap-3 border-b border-white/[0.06] px-5 py-4",children:[e.jsx("div",{className:"flex h-9 w-9 flex-shrink-0 items-center justify-center rounded-lg border",style:{borderColor:`color-mix(in oklab, ${i} 30%, transparent)`,background:`color-mix(in oklab, ${i} 10%, transparent)`},children:e.jsx(z,{className:"h-4 w-4",style:{color:i}})}),e.jsxs("div",{children:[e.jsx("p",{className:"text-[10px] font-medium uppercase tracking-[0.22em] text-white/40",children:"Read-only Mirror"}),e.jsx("h3",{className:"mt-0.5 text-sm font-semibold tracking-tight text-white",children:"Compiled Exhibit Index"}),e.jsx("p",{className:"mt-0.5 text-xs text-white/55",children:"The live read-only snapshot of verified documentation compiled within your Evidence Vault."})]})]}),f.length===0?e.jsx("div",{className:"px-5 py-10 text-center text-xs text-white/50",children:"No documents or exhibits have been uploaded to the Evidence Vault yet."}):e.jsx("div",{className:"overflow-x-auto",children:e.jsxs("table",{className:"w-full text-xs",children:[e.jsx("thead",{children:e.jsxs("tr",{className:"border-b border-white/[0.06] bg-white/[0.02] text-left text-[10px] font-semibold uppercase tracking-[0.16em] text-white/50",children:[e.jsx("th",{className:"px-4 py-3",children:"Exhibit No."}),e.jsx("th",{className:"px-4 py-3",children:"Document Title"}),e.jsx("th",{className:"px-4 py-3",children:"Target Criterion"}),e.jsx("th",{className:"px-4 py-3",children:"Source / Issuer"}),e.jsx("th",{className:"px-4 py-3",children:"Page Range"})]})}),e.jsx("tbody",{children:f.map(t=>e.jsxs("tr",{className:"border-b border-white/[0.04] last:border-0",children:[e.jsx("td",{className:"px-4 py-3 align-top font-mono text-[11px] font-semibold",style:{color:i},children:t.exhibit}),e.jsxs("td",{className:"px-4 py-3 align-top",children:[e.jsx("p",{className:"font-medium text-white",children:t.title}),t.description&&e.jsx("p",{className:"mt-0.5 text-[11px] text-white/55",children:t.description})]}),e.jsx("td",{className:"px-4 py-3 align-top text-white/60",children:t.categoryTitle}),e.jsx("td",{className:"px-4 py-3 align-top text-white/60",children:t.source||e.jsx("span",{className:"text-white/30",children:"—"})}),e.jsx("td",{className:"px-4 py-3 align-top text-white/60",children:t.pageRange||e.jsx("span",{className:"text-white/30",children:"—"})})]},t.exhibit))})]})})]})]})}function y({icon:d,label:s,primary:a,sub:o,muted:x}){return e.jsxs("div",{className:"rounded-2xl border bg-white/[0.02] p-5 backdrop-blur-md",style:{borderColor:"rgba(255,255,255,0.06)"},children:[e.jsxs("div",{className:"flex items-center gap-2",children:[d,e.jsx("p",{className:"text-[10px] font-medium uppercase tracking-[0.22em] text-white/50",children:s})]}),e.jsx("p",{className:`mt-3 text-2xl font-semibold tracking-tight ${x?"text-white/70":"text-white"}`,children:a}),e.jsx("p",{className:"mt-1 text-[11px] text-white/55",children:o})]})}export{re as component};

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.