PageSourceSearch

https://valorrating.com/_next/static/chunks/app/page-e63b586abb6fa9e0.js?dpl=dpl_4GbM3bk8KGSZqSBBfvMGSpJdEbiL

js valorrating.com collected 2026-10-02 01:47:58 UTC 29,108 bytes, 1 lines download raw bytes

1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="886eedc6-31e3-4a7f-9936-c385d3e27309",e._sentryDebugIdIdentifier="sentry-dbid-886eedc6-31e3-4a7f-9936-c385d3e27309")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[58974],{23772:(e,t,a)=>{Promise.resolve().then(a.bind(a,69877)),Promise.resolve().then(a.bind(a,53322)),Promise.resolve().then(a.bind(a,88030)),Promise.resolve().then(a.bind(a,38337)),Promise.resolve().then(a.t.bind(a,98500,23)),Promise.resolve().then(a.t.bind(a,38437,23))},38337:(e,t,a)=>{"use strict";a.d(t,{HomeValorDemo:()=>E});var s=a(95155),r=a(12115),n=a(98500),i=a.n(n),l=a(5772),o=a(48368),d=a(37618),c=a(96035),u=a(127),m=a(62916),h=a(93161),x=a(6296),f=a(31885),p=a(12651),g=a(21628),b=a(9199),y=a(56204);let w="Just got out after 12 years in the Army. My knees are shot, my ears ring nonstop, and I barely sleep. Where do I even start?",v="Right here — and you're closer than you think. I can already see three ratable conditions in what you just told me: **bilateral knee pain**, **tinnitus**, and **insomnia**. Most veterans miss that insomnia can be claimed secondary to tinnitus. Here's how I'd map your claim:",j=[{name:"Tinnitus",category:"Direct",note:"The most-claimed VA condition — rated at 10%"},{name:"Bilateral knee strain",category:"Direct",note:"12 years of ruck marches take a toll the VA recognizes"},{name:"Insomnia",category:"Secondary",note:"Secondary to tinnitus — a connection the VA recognizes"}],N="Add all three to my claim",A="What could this be worth?",k="Done — all three are on your claim. Next I'll auto-fill your VA Form 21-526EZ and draft a personal statement that tells your story the way a VA rater needs to read it:",C=["38 CFR \xa7 3.310 — Secondary conditions","M21-1 Adjudication Manual"],S=[{icon:o.A,title:"VA Form 21-526EZ",note:"Auto-filled from your claim"},{icon:d.A,title:"Personal statement",note:"Drafted — ready for your review"}],I=[{key:"chat",icon:c.A,label:"AI Chat"},{key:"strategy",icon:u.A,label:"Claim Strategy"},{key:"dd214",icon:m.A,label:"DD-214 Scan"},{key:"form",icon:o.A,label:"526EZ Auto-Fill"},{key:"statement",icon:d.A,label:"Personal Statements"},{key:"nexus",icon:h.A,label:"Nexus Letters"}];function E(){let[e,t]=(0,r.useState)([]),[a,n]=(0,r.useState)(null),[o,d]=(0,r.useState)(()=>new Set),[c,u]=(0,r.useState)(!1),m=(0,r.useRef)(null),h=(0,r.useRef)(null),E=(0,r.useRef)(!1),D=(0,r.useRef)(!1),R=(0,r.useRef)(!0),V=(0,r.useRef)(!1),M=(0,r.useRef)(0),F=(0,r.useRef)(new Set),_=(0,r.useRef)(null),$=(0,r.useCallback)(()=>++M.current,[]),O=(0,r.useCallback)((e,t)=>{let a=setTimeout(()=>{F.current.delete(a),e()},t);return F.current.add(a),a},[]),J=(0,r.useCallback)(()=>{F.current.forEach(clearTimeout),F.current.clear(),_.current=null},[]),L=(0,r.useCallback)((...e)=>{d(t=>{let a=new Set(t);return e.forEach(e=>a.add(e)),a})},[]),T=(0,r.useCallback)(e=>{t(t=>[...t,e])},[]),z=(0,r.useCallback)(e=>T({id:$(),kind:"user",text:e}),[T,$]),B=(0,r.useCallback)(()=>T({id:$(),kind:"typing"}),[T,$]),P=(0,r.useCallback)((e,a)=>{let s=$();t(e=>[...e.filter(e=>"typing"!==e.kind),{id:s,kind:"assistant",text:"",done:!1}]);let r=n=>{let i=Math.min(e.length,n+3);t(t=>t.map(t=>t.id===s&&"assistant"===t.kind?{...t,text:e.slice(0,i),done:i>=e.length}:t)),i<e.length?O(()=>r(i),24):a&&O(a,400)};O(()=>r(0),30)},[$,O]),H=(0,r.useCallback)((e,a,s,r)=>{let n=$();T({id:n,kind:e,shown:0});let i=e=>{t(t=>t.map(t=>t.id===n?{...t,shown:e}:t)),e<a?O(()=>i(e+1),s):O(r,500)};O(()=>i(1),250)},[T,$,O]),Z=(0,r.useCallback)(()=>{L("dd214","nexus"),u(!0),T({id:$(),kind:"cta"})},[T,L,$]),U=(0,r.useCallback)(()=>{L("form","statement"),H("docs",S.length,550,()=>O(Z,400))},[L,O,H,Z]),q=(0,r.useCallback)(()=>{_.current&&(clearTimeout(_.current),F.current.delete(_.current),_.current=null)},[]),G=(0,r.useCallback)((e,a=!1)=>{D.current||(D.current=!0,q(),n(null),a&&h.current?.focus({preventScroll:!0}),0===e?(z(N),B(),O(()=>{t(e=>[...e.filter(e=>"typing"!==e.kind),{id:$(),kind:"confirm"}]),O(()=>{B(),O(()=>P(k,U),500)},550)},900)):(z(A),B(),O(()=>P("Straight from the rating schedule: tinnitus is 10% (38 CFR \xa7 4.87), knees run 10–30% each based on range of motion (\xa7 4.71a), and insomnia is rated under the mental health schedule (\xa7 4.130). What you can prove with evidence decides it — and evidence is my specialty. Let's line them up:",()=>O(U,600)),1e3)))},[z,q,$,U,O,B,P]),W=(0,r.useCallback)(()=>{D.current=!1,n([N,A]),_.current=O(()=>G(0),4500)},[G,O]),Y=(0,r.useCallback)(()=>{t([{id:$(),kind:"user",text:w},{id:$(),kind:"assistant",text:v,done:!0},{id:$(),kind:"sources"},{id:$(),kind:"suggestions",shown:j.length},{id:$(),kind:"user",text:N},{id:$(),kind:"confirm"},{id:$(),kind:"assistant",text:k,done:!0},{id:$(),kind:"docs",shown:S.length},{id:$(),kind:"cta"}]),n(null),d(new Set(I.map(e=>e.key))),u(!0)},[$]),Q=(0,r.useCallback)(()=>
1{if(!E.current){if(E.current=!0,J(),D.current=!1,R.current=!0,t([]),n(null),u(!1),V.current="function"==typeof window.matchMedia&&window.matchMedia("(prefers-reduced-motion: reduce)").matches,V.current)return void Y();d(new Set(["chat"])),O(()=>z(w),400),O(B,1200),O(()=>P(v,()=>{L("strategy"),O(()=>T({id:$(),kind:"sources"}),150),O(()=>H("suggestions",j.length,420,W),600)}),2300)}},[T,z,J,L,$,W,Y,O,B,H,P]),X=(0,r.useCallback)(()=>{J(),E.current=!1,d(new Set),Q(),h.current?.focus({preventScroll:!0})},[J,Q]);(0,r.useEffect)(()=>{let e=m.current;if(!e)return;if("undefined"==typeof IntersectionObserver)return O(Q,0),()=>{J(),E.current=!1};let t=new IntersectionObserver(e=>{e.some(e=>e.isIntersecting)&&(Q(),t.disconnect())},{threshold:.3});return t.observe(e),()=>{t.disconnect(),J(),E.current=!1}},[Q,J,O]),(0,r.useEffect)(()=>{let e=h.current;e&&R.current&&(e.scrollTop=e.scrollHeight)},[e,a]);let K=(e,t,a=0)=>{let r,n=e.icon,i=(r=e.key,o.has(r));return(0,s.jsx)("div",{className:`${"lg"===t?"w-12 h-12 rounded-xl":"w-10 h-10 rounded-lg"} border flex items-center justify-center backdrop-blur-lg transition-all duration-700 ${i?`bg-[#C9A24A]/15 border-[#C9A24A]/60 ${c?"":"animate-pulse-gold"}`:"bg-white/[0.07] border-white/10"}`,style:a?{animationDelay:`${a}s`}:void 0,children:(0,s.jsx)(n,{className:`${"lg"===t?"w-6 h-6":"w-5 h-5"} transition-colors duration-700 ${i?"text-[#C9A24A]":"text-gray-400"}`,"aria-hidden":"true"})})},ee=(e,t,a)=>{let r,n=(r=e.key,o.has(r)),i=(0,s.jsx)("span",{className:`text-xs font-medium transition-colors duration-700 ${n?"text-[#C9A24A]":"text-gray-400"}`,children:e.label});return(0,s.jsxs)("div",{className:"flex items-center gap-3 animate-demo-float",style:{animationDelay:`${a}s`},children:["right"===t&&i,K(e,"lg"),"left"===t&&i]},e.key)};return(0,s.jsxs)("div",{ref:m,className:"relative",children:[(0,s.jsxs)("div",{className:"sr-only","data-nosnippet":"",children:[(0,s.jsx)("h3",{children:"Demo transcript"}),(0,s.jsxs)("p",{children:["Veteran: ",w]}),(0,s.jsxs)("p",{children:["Valor: ",v.split("**").join("")]}),(0,s.jsx)("ul",{children:j.map(e=>(0,s.jsxs)("li",{children:[e.name," (",e.category," service connection) — ",e.note]},e.name))}),(0,s.jsxs)("p",{children:["Sources cited: ",C.join("; ")]}),(0,s.jsxs)("p",{children:["Veteran: ",N]}),(0,s.jsxs)("p",{children:["Valor: ",k]}),(0,s.jsx)("ul",{children:S.map(e=>(0,s.jsxs)("li",{children:[e.title," — ",e.note]},e.title))})]}),(0,s.jsx)("div",{className:"absolute left-1/2 top-1/2 -translate-x-1/2 -translate-y-1/2 w-[min(36rem,90%)] h-72 bg-[#C9A24A]/15 rounded-full blur-3xl home-demo-spotlight pointer-events-none","aria-hidden":"true"}),(0,s.jsxs)("div",{className:"lg:grid lg:grid-cols-[1fr_minmax(0,30rem)_1fr] lg:items-center lg:gap-10",children:[(0,s.jsxs)("div",{className:"hidden lg:flex flex-col items-end gap-12",children:[ee(I[0],"right",0),ee(I[1],"right",1.1),ee(I[2],"right",2.2)]}),(0,s.jsxs)("div",{"data-testid":"valor-demo",role:"group","aria-label":"Simulated Valor chat demo",className:"relative w-full max-w-lg mx-auto bg-slate-900 rounded-2xl border border-[#C9A24A]/30 shadow-2xl shadow-black/50 overflow-hidden",children:[(0,s.jsxs)("div",{className:"px-5 py-4 bg-[#0B2340] border-b border-[#C9A24A]/30 flex items-center justify-between",children:[(0,s.jsxs)("div",{className:"flex items-center gap-3",children:[(0,s.jsx)("div",{className:"w-10 h-10 rounded-full bg-[#0B2340] flex items-center justify-center overflow-hidden",children:(0,s.jsx)(l.default,{src:"/valor-insignia.png",alt:"",width:40,height:40,className:"object-cover scale-110"})}),(0,s.jsxs)("div",{children:[(0,s.jsx)("p",{className:"text-lg font-semibold text-white leading-tight",children:"Valor"}),(0,s.jsx)("p",{className:"text-[#C9A24A] text-xs",children:"Your AI Assistant"})]})]}),(0,s.jsxs)("div",{className:"flex items-center gap-1.5 text-[11px] font-semibold uppercase tracking-wider text-[#C9A24A]",children:[(0,s.jsxs)("span",{className:"relative flex h-2 w-2","aria-hidden":"true",children:[(0,s.jsx)("span",{className:"absolute inline-flex h-full w-full rounded-full bg-[#C9A24A] opacity-60 animate-ping motion-reduce:animate-none"}),(0,s.jsx)("span",{className:"relative inline-flex h-2 w-2 rounded-full bg-[#C9A24A]"})]}),"Demo"]})]}),(0,s.jsxs)("div",{ref:h,tabIndex:0,"aria-label":"Demo conversation",onScroll:e=>{let t=e.currentTarget;R.current=t.scrollHeight-t.scrollTop-t.clientHeight<48},className:"h-[380px] sm:h-[420px] overflow-y-auto p-4 space-y-3 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-[#C9A24A]/50",children:[(0,s.jsx)("div",{className:"flex justify-start",children:(0,s.jsx)("div",{className:"max-w-[80%] rounded-lg px-4 py-2 bg-[#163050] text-[#ededed]",children:(0,s.jsx)("p",{className:"whitespace-pre-wrap text-sm",children:"Hey, I'm Valor. Still in uniform (BDD), just out, or years past discharge — tell me what's going on with your health, and I'll show you what you could claim."})})}),e.map(e=>{switch(e.kind){case"user":return(0,s.jsx)("div",{className:"flex justify-end animate-demo-pop-in",children:(0,s.jsx)("div",{className:"max-w-[80%] rounded-lg px-4 py-2 bg-[#1e3a5f] text-white",children:(0,s.jsx)("p",{className:"whitespace-pre-wrap text-sm",children:e.text})})},e.id);case"assistant":return(0,s.jsx)("div",{className:"flex justify-start",children:(0,s.jsx)("div",{className:"max-w-[80%] rounded-lg px-4 py-2 bg-[#163050] text-[#ededed]",children:(0,s.jsxs)("p",{className:"whitespace-pre-wrap text-sm",children:[e.text.split("**").map((e,t)=>t%2==1?(0,s.jsx)("strong",{className:"font-semibold text-white",children:e},t):(0,s.jsx)(r.Fragment,{children:e},t)),!e.done&&(0,s.jsx)("span",{className:"inline-block w-0.5 h-3.5 ml-0.5 align-middle bg-[#C9A24A] animate-pulse","aria-hidden":"true"})]})})},e.id);case"typing":return(0,s.jsx)("div",{"data-testid":"demo-typing",className:"flex justify-start animate-demo-pop-in",children:(0,s.jsx)("div",{className:"bg-[#163050] rounded-lg px-4 py-2",children:(0,s.jsx)(x.A,{className:"h-4 w-4 animate-spin text-[#C9A24A]"})})},e.id);case"sources":return(0,s.jsx)("div",{className:"flex flex-wrap gap-1.5 animate-demo-pop-in",children:C.map(e=>(0,s.jsxs)("span",{className:"inline-flex items-center gap-1 rounded-full px-2.5 py-1 text-xs font-medium bg-slate-500/15 text-slate-300",children:[(0,s.jsx)("span",{"aria-hidden":"true",children:"⚖︎"}),e]},e))},e.id);case"suggestions":return(0,s.jsxs)("div",{className:"rounded-lg p-3 border border-[#C9A24A]/20 bg-[#C9A24A]/5 animate-demo-pop-in",children:[(0,s.jsxs)("div",{className:"flex items-center gap-2 text-sm font-semibold",children:[(0,s.jsx)(f.A,{className:"h-4 w-4 text-[#C9A24A]","aria-hidden":"true"}),(0,s.jsx)("span",{className:"text-[#C9A24A]",children:"AI Suggestions"}),(0,s.jsxs)("span",{className:"text-gray-400 font-normal text-xs",children:["(",j.length," conditions)"]})]}),(0,s.jsx)("div",{className:"mt-2 space-y-2",children:j.slice(0,e.shown).map(e=>(0,s.jsxs)("div",{className:"rounded-lg border border-[#C9A24A]/30 bg-[#122a45] p-3 animate-demo-pop-in",children:[(0,s.jsxs)("div",{className:"flex items-center gap-2",children:[(0,s.jsx)("span",{className:"text-sm font-medium text-white",children:e.name}),(0,s.jsx)("span",{className:`text-[10px] px-1.5 py-0.5 rounded border ${"Secondary"===e.category?"border-blue-700 bg-blue-900/30 text-blue-300":"border-white/20 bg-white/10 text-gray-300"}`,children:e.category})]}),(0,s.jsx)("p",{className:"text-xs text-gray-400 mt-1",children:e.note})]},e.name))})]},e.id);case"confirm":return(0,s.jsxs)("div",{className:"flex items-center gap-2 bg-emerald-500/10 border border-emerald-500/30 rounded-lg px-3 py-2 animate-demo-pop-in",children:[(0,s.jsx)(p.A,{className:"h-4 w-4 text-emerald-500 shrink-0","aria-hidden":"true"}),(0,s.jsx)("span",{className:"text-sm font-medium text-emerald-300",children:"3 conditions added to your claim"})]},e.id);case"docs":return(0,s.jsx)("div",{className:"space-y-2",children:S.slice(0,e.shown).map(e=>{let t=e.icon;return(0,s.jsxs)("div",{className:"flex items-center gap-3 rounded-lg border border-white/10 bg-white/[0.07] px-3 py-2.5 animate-demo-pop-in",children:[(0,s.jsx)("div",{className:"w-8 h-8 rounded-lg bg-[#C9A24A]/15 flex items-center justify-center shrink-0",children:(0,s.jsx)(t,{className:"w-4 h-4 text-[#C9A24A]","aria-hidden":"true"})}),(0,s.jsxs)("div",{className:"min-w-0",children:[(0,s.jsx)("p",{className:"text-sm font-medium text-white",children:e.title}),(0,s.jsx)("p",{className:"text-xs text-gray-400",children:e.note})]}),(0,s.jsx)(p.A,{className:"w-4 h-4 text-emerald-500 ml-auto shrink-0","aria-hidden":"true"})]},e.title)})},e.id);case"cta":return(0,s.jsxs)("div",{className:"pt-2 text-center animate-demo-pop-in",children:[(0,s.jsx)("p",{className:"text-sm text-gray-300 mb-3",children:"That's a 30-second taste. First claim or fighting a denial, Valor walks y
1ou through it — free to start."}),(0,s.jsxs)(i(),{href:"/register",className:"inline-flex items-center gap-2 px-5 py-3 bg-[#C9A24A] hover:bg-[#b89240] text-[#0B2340] font-bold rounded-lg transition-all duration-200 shadow-lg hover:shadow-[#C9A24A]/40 text-sm",children:["Start My Claim — Free",(0,s.jsx)(g.A,{className:"w-4 h-4","aria-hidden":"true"})]}),(0,s.jsx)("div",{className:"mt-3",children:(0,s.jsxs)("button",{type:"button",onClick:X,className:"inline-flex items-center gap-1.5 text-xs text-gray-400 hover:text-white transition-colors",children:[(0,s.jsx)(b.A,{className:"w-3.5 h-3.5","aria-hidden":"true"}),"Replay demo"]})})]},e.id);default:return null}}),a&&(0,s.jsx)("div",{className:"flex flex-wrap gap-2 justify-end animate-demo-pop-in",onMouseMove:q,onTouchStart:q,onFocusCapture:q,children:a.map((e,t)=>(0,s.jsx)("button",{type:"button",onClick:()=>G(t,!0),className:"rounded-full border border-[#C9A24A]/50 px-4 py-2 text-sm font-medium text-[#C9A24A] hover:bg-[#C9A24A]/10 transition-colors",children:e},e))})]}),(0,s.jsx)("div",{className:"border-t border-white/10 p-3",children:(0,s.jsxs)(i(),{href:"/register","aria-label":"Ask Valor anything about your claim — create your free account to start chatting",className:"flex items-center gap-2 group",children:[(0,s.jsx)("span",{className:"flex-1 rounded-md border border-[#1e4060] bg-[#163050]/60 px-3 py-2.5 text-sm text-gray-400 group-hover:border-[#C9A24A]/50 transition-colors",children:"Ask Valor anything about your claim…"}),(0,s.jsx)("span",{className:"h-10 w-10 shrink-0 rounded-md bg-[#C9A24A] group-hover:bg-[#b89240] transition-colors flex items-center justify-center",children:(0,s.jsx)(y.A,{className:"h-4 w-4 text-[#0B2340]","aria-hidden":"true"})})]})})]}),(0,s.jsxs)("div",{className:"hidden lg:flex flex-col items-start gap-12",children:[ee(I[3],"left",.6),ee(I[4],"left",1.7),ee(I[5],"left",2.8)]})]}),(0,s.jsx)("div",{className:"mt-6 flex lg:hidden flex-wrap items-center justify-center gap-2.5","aria-hidden":"true",children:I.map(e=>(0,s.jsx)(r.Fragment,{children:K(e,"sm")},e.key))}),(0,s.jsx)("p",{className:"mt-4 text-center text-xs text-gray-400",children:"Simulated conversation for demonstration. Valor doesn’t provide medical or legal advice."})]})}},53322:(e,t,a)=>{"use strict";a.r(t),a.d(t,{PublicAccountLink:()=>o});var s=a(95155),r=a(12115),n=a(98500),i=a.n(n),l=a(74513);function o({className:e="",href:t="/login",children:a="Sign in",signedInHref:n="/dashboard",signedInLabel:o="My Dashboard",initialSignedIn:d=!1,signedOutAction:c}){let[u,m]=(0,r.useState)(d);return(0,r.useEffect)(()=>{let e=!0;try{let{data:{subscription:t}}=(0,l.createClientSupabase)().auth.onAuthStateChange((t,a)=>{e&&m(!!(a?.user&&!a.user.is_anonymous))});return()=>{e=!1,t.unsubscribe()}}catch{return()=>{e=!1}}},[]),(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(i(),{href:u?n:t,className:`inline-flex min-h-[44px] items-center justify-center rounded-sm whitespace-nowrap touch-manipulation focus-visible:outline-2 focus-visible:outline-offset-4 focus-visible:outline-[#C9A24A] ${e}`,children:u?o:a}),!u&&c]})}},54857:(e,t,a)=>{"use strict";a.d(t,{Hc:()=>i,bF:()=>r,kf:()=>n});let s="valor:mobile-oauth-attempt";function r(){let e=crypto.randomUUID();return localStorage.setItem(s,JSON.stringify({id:e,startedAt:Date.now()})),e}function n(e){try{if(e&&JSON.parse(localStorage.getItem(s)||"null")?.id!==e)return;localStorage.removeItem(s)}catch{}}function i(e){if(!e)return!1;try{let t=JSON.parse(localStorage.getItem(s)||"null");if(!t||t.id!==e)return!1;let a=Date.now()-t.startedAt;return localStorage.removeItem(s),"number"==typeof t.startedAt&&Number.isFinite(a)&&a>=0&&a<=6e5}catch{return!1}}},69877:(e,t,a)=>{"use strict";a.d(t,{HomeSessionRedirect:()=>i});var s=a(12115),r=a(73321),n=a(74513);function i(){let e=(0,r.useRouter)();return(0,s.useEffect)(()=>{if("/"!==window.location.pathname||window.location.search||window.location.hash)return;let t=window.location.href,a=!1,s=!1;if("opening"!==document.documentElement.getAttribute("data-home-entry"))return r(),()=>{a=!0,s&&document.documentElement.removeAttribute("data-home-entry")};async function r(){try{let r=(0,n.createClientSupabase)(),{data:{session:i},error:l}=await r.auth.getSession();!a&&!l&&i?.user&&!i.user.is_anonymous&&window.location.href===t&&(s=!0,document.documentElement.setAttribute("data-home-entry","opening"),e.replace("/dashboard"))}catch{s&&document.documentElement.removeAttribute("data-home-entry")}}},[e]),null}},74350:(e,t,a)=>{"use strict";a.d(t,{Cf:()=>h,Es:()=>f,HM:()=>u,L3:()=>p,c7:()=>x,lG:()=>o,rr:()=>g,zM:()=>d});var s=a(95155),r=a(12115),n=a(29483),i=a(33210),l=a(91337);let o=n.bL,d=n.l9,c=n.ZL,u=n.bm,m=r.forwardRef(({className:e,...t},a)=>(0,s.jsx)(n.hJ,{ref:a,className:(0,l.cn)("fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",e),...t}));m.displayName=n.hJ.displayName;let h=r.forwardRef(({className:e,children:t,...a},r)=>(0,s.jsxs)(c,{children:[(0,s.jsx)(m,{}),(0,s.jsxs)(n.UC,{ref:r,className:(0,l.cn)("fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rou
1nded-lg dialog-viewport-fit overflow-y-auto",e),...a,children:[t,(0,s.jsxs)(n.bm,{className:"absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity data-[state=open]:bg-accent data-[state=open]:text-muted-foreground hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none",children:[(0,s.jsx)(i.A,{className:"h-4 w-4"}),(0,s.jsx)("span",{className:"sr-only",children:"Close"})]})]})]}));h.displayName=n.UC.displayName;let x=({className:e,...t})=>(0,s.jsx)("div",{className:(0,l.cn)("flex flex-col space-y-1.5 text-center sm:text-left",e),...t});x.displayName="DialogHeader";let f=({className:e,...t})=>(0,s.jsx)("div",{className:(0,l.cn)("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",e),...t});f.displayName="DialogFooter";let p=r.forwardRef(({className:e,...t},a)=>(0,s.jsx)(n.hE,{ref:a,className:(0,l.cn)("text-lg font-semibold leading-none tracking-tight",e),...t}));p.displayName=n.hE.displayName;let g=r.forwardRef(({className:e,...t},a)=>(0,s.jsx)(n.VY,{ref:a,className:(0,l.cn)("text-sm text-muted-foreground",e),...t}));g.displayName=n.VY.displayName},74513:(e,t,a)=>{"use strict";a.d(t,{createClientSupabase:()=>c});var s=a(57716);let r={name:"sb-db-auth-token"};var n=a(54857);let i="https://zegxolaenegqbiftcfij.supabase.co",l="eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZSIsInJlZiI6InplZ3hvbGFlbmVncWJpZnRjZmlqIiwicm9sZSI6ImFub24iLCJpYXQiOjE3NjQ5NjExOTEsImV4cCI6MjA4MDUzNzE5MX0.L32JyMfl0dA-ORwMCcyZeQq-l1KgvnjJiDfDkdYvgVc",o=!!(i&&l),d=null;function c(){if(!o)throw Error("Missing Supabase environment variables");if(!d)try{(d=(0,s.createBrowserClient)(i,l,{cookieOptions:r})).auth.onAuthStateChange(e=>{("SIGNED_IN"===e||"SIGNED_OUT"===e)&&(0,n.kf)()})}catch(e){return console.warn("Supabase client init failed (likely privacy browser):",e),{auth:{getUser:async()=>({data:{user:null},error:null}),getSession:async()=>({data:{session:null},error:null}),onAuthStateChange:()=>({data:{subscription:{unsubscribe:()=>{}}}})},from:()=>({select:()=>({data:null,error:null}),insert:()=>({data:null,error:null}),update:()=>({data:null,error:null}),delete:()=>({data:null,error:null})})}}return d}},88030:(e,t,a)=>{"use strict";a.d(t,{HomeTestimonials:()=>h});var s=a(95155),r=a(12115),n=a(43459),i=a(43038),l=a(21628),o=a(80723),d=a(34152),c=a(20232),u=a(74350);let m="flex h-11 w-11 items-center justify-center rounded-full border border-slate-300 text-slate-800 transition-colors hover:border-[#8A651D] hover:bg-[#C9A24A]/10 dark:border-white/20 dark:text-white dark:hover:border-[#C9A24A] focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[#C9A24A]";function h({reviews:e}){let[t,a]=(0,r.useState)(!0),[h,x]=(0,n.A)({loop:!0,align:"start",duration:36*!t}),f=(0,r.useRef)(null),p=(0,r.useRef)(null),[g,b]=(0,r.useState)(0),[y,w]=(0,r.useState)(!1),[v,j]=(0,r.useState)(!1),[N,A]=(0,r.useState)(!0),[k,C]=(0,r.useState)(!1),[S,I]=(0,r.useState)(!1),E=!y&&!t;function D(e){w(!0),"previous"===e?x?.scrollPrev(t):x?.scrollNext(t)}return(0,r.useEffect)(()=>{if("undefined"==typeof IntersectionObserver)return;let e=new IntersectionObserver(([e])=>A(e.isIntersecting),{threshold:.2});return f.current&&e.observe(f.current),()=>e.disconnect()},[]),(0,r.useEffect)(()=>{if("function"!=typeof window.matchMedia)return;let e=window.matchMedia("(prefers-reduced-motion: reduce)"),t=()=>a(e.matches),s=()=>C(document.hidden);return t(),s(),e.addEventListener("change",t),document.addEventListener("visibilitychange",s),()=>{e.removeEventListener("change",t),document.removeEventListener("visibilitychange",s)}},[]),(0,r.useEffect)(()=>{if(!x)return;let e=()=>b(x.selectedScrollSnap()),t=()=>w(!0);return e(),x.on("select",e).on("reInit",e).on("pointerDown",t),()=>{x.off("select",e).off("reInit",e).off("pointerDown",t)}},[x]),(0,r.useEffect)(()=>{if(!x||!E||v||k||S||!N)return;let e=window.setInterval(()=>x.scrollNext(),7e3);return()=>window.clearInterval(e)},[x,E,v,k,S,N]),(0,s.jsxs)("section",{ref:f,className:"relative z-10 overflow-hidden bg-[#F6F3EC] px-6 py-14 text-slate-900 dark:bg-[#101B2E] dark:text-white md:px-8 md:py-20","aria-label":"Veteran testimonials","aria-roledescription":"carousel",onMouseEnter:()=>j(!0),onMouseLeave:()=>j(!1),onFocusCapture:()=>w(!0),onKeyDown:e=>
1{S||("ArrowLeft"===e.key||"ArrowRight"===e.key)&&(e.preventDefault(),D("ArrowLeft"===e.key?"previous":"next"))},children:[(0,s.jsx)("div",{className:"pointer-events-none absolute left-1/2 top-1/2 h-64 w-96 -translate-x-1/2 -translate-y-1/2 rounded-full bg-[#C9A24A]/[0.06] blur-3xl","aria-hidden":"true"}),(0,s.jsxs)("div",{className:"relative mx-auto max-w-5xl",children:[(0,s.jsxs)("div",{className:"mb-8 text-center md:mb-10",children:[(0,s.jsx)("p",{className:"mb-3 text-xs font-semibold uppercase tracking-[0.22em] text-[#8A651D] dark:text-[#E0BC68]",children:"In their own words"}),(0,s.jsx)("h2",{className:"text-2xl font-bold text-slate-900 dark:text-white md:text-3xl",children:"What Veterans Are Saying"}),(0,s.jsx)("p",{className:"mt-3 text-sm text-slate-600 dark:text-gray-300",children:"Real experiences from the Valor Rating community."})]}),(0,s.jsx)("div",{className:"overflow-hidden",ref:h,children:(0,s.jsx)("div",{className:"-ml-5 flex touch-pan-y items-stretch",children:e.map((t,a)=>(0,s.jsx)("div",{className:"min-w-0 flex-[0_0_90%] pl-5 md:flex-[0_0_50%] lg:flex-[0_0_33.333333%]",role:"group","aria-roledescription":"slide","aria-label":`${a+1} of ${e.length}`,children:(0,s.jsxs)("article",{className:`flex h-full min-h-80 flex-col rounded-2xl border bg-white p-6 shadow-sm dark:bg-[#19263B] dark:shadow-none transition-colors duration-500 motion-reduce:transition-none ${g===a?"border-[#A67C26] dark:border-[#C9A24A]/60":"border-slate-200 dark:border-white/10"}`,children:[(0,s.jsx)(i.A,{className:"mb-5 h-8 w-8 text-[#8A651D] dark:text-[#E0BC68]",strokeWidth:1.5,"aria-hidden":"true"}),(0,s.jsx)("blockquote",{className:"text-sm leading-7 text-slate-700 dark:text-gray-200",children:(0,s.jsxs)("p",{children:["“",t.excerpt??t.quote,"”"]})}),t.excerpt?(0,s.jsxs)(u.lG,{onOpenChange:e=>{I(e),e&&w(!0)},children:[(0,s.jsx)(u.zM,{asChild:!0,children:(0,s.jsxs)("button",{type:"button",className:"mt-3 inline-flex min-h-11 items-center gap-2 self-start rounded text-sm font-semibold text-[#8A651D] hover:text-slate-950 dark:text-[#E0BC68] dark:hover:text-white focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[#C9A24A]","aria-label":`Read full story from ${t.name}`,children:["Read full story ",(0,s.jsx)(l.A,{className:"h-4 w-4","aria-hidden":"true"})]})}),(0,s.jsxs)(u.Cf,{className:"max-w-xl border-slate-200 bg-[#FFFDFA] text-slate-900 dark:border-white/20 dark:bg-[#101C30] dark:text-white",children:[(0,s.jsx)(u.L3,{className:"pr-6 text-xl leading-snug",children:t.title??`${t.name}’s story`}),(0,s.jsxs)(u.rr,{className:"text-slate-600 dark:text-gray-300",children:[t.name,t.service?` \xb7 ${t.service}`:""]}),(0,s.jsxs)("blockquote",{className:"text-base leading-8 text-slate-700 dark:text-gray-200",children:["“",t.quote,"”"]})]})]}):null,(0,s.jsxs)("div",{className:"mt-auto flex items-center gap-3 pt-6",children:[(0,s.jsx)("span",{className:"flex h-10 w-10 shrink-0 items-center justify-center rounded-full border border-[#C9A24A]/25 bg-[#C9A24A]/10 text-sm font-semibold text-[#8A651D] dark:text-[#E0BC68]","aria-hidden":"true",children:t.name.split(" ").map(e=>e[0]).join("")}),(0,s.jsxs)("div",{children:[(0,s.jsx)("p",{className:"text-sm font-semibold text-slate-900 dark:text-white",children:t.name}),t.service?(0,s.jsx)("p",{className:"mt-1 text-xs text-slate-600 dark:text-gray-300",children:t.service}):null]})]})]})},t.name))})}),(0,s.jsxs)("div",{className:"mt-6 flex flex-wrap items-center justify-between gap-3",children:[(0,s.jsx)("div",{className:"flex items-center","aria-label":"Choose a review",children:e.map((e,a)=>(0,s.jsx)("button",{type:"button","aria-label":`Show review from ${e.name}`,"aria-current":g===a?"true":void 0,className:"flex h-11 w-8 items-center justify-center rounded focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[#C9A24A]",onClick:()=>{w(!0),x?.scrollTo(a,t)},children:(0,s.jsx)("span",{className:`h-1.5 rounded-full transition-all duration-300 motion-reduce:transition-none ${g===a?"w-6 bg-[#C9A24A]":"w-1.5 bg-slate-400 dark:bg-white/40"}`})},e.name))}),(0,s.jsxs)("div",{className:"flex items-center gap-2",children:[(0,s.jsx)("button",{type:"button",className:m,"aria-label":"Previous review",onClick:()=>D("previous"),children:(0,s.jsx)(o.A,{className:"h-4 w-4","aria-hidden":"true"})}),t?null:(0,s.jsx)("button",{type:"button",className:m,"aria-label":E?"Pause review rotation":"Resume review rotation",onPointerDown:()=>{p.current=E},onClick:()=>{w(p.current??E),p.current=null},children:E?(0,s.jsx)(d.A,{className:"h-4 w-4","aria-hidden":"true"}):(0,s.jsx)(c.A,{className:"h-4 w-4","aria-hidden":"true"})}),(0,s.jsx)("button",{type:"button",className:m,"aria-label":"Next review",onClick:()=>D("next"),children:(0,s.jsx)(l.A,{className:"h-4 w-4","aria-hidden":"true"})})]}),(0,s.jsxs)("span",{className:"sr-only","aria-live":E?"off":"polite","aria-atomic":"true",children:["Review ",g+1," of ",e.length,": ",e[g]?.name]})]})]})]})}},91337:(e,t,a)=>{"use strict";a.d(t,{cn:()=>n});var s=a(29722),r=a(622);function n(...e){return(0,r.QP)((0,s.$)(e))}}},e=>
1{e.O(0,[98500,38437,49304,57716,18409,62512,29483,13506,14850,28441,28105,77358],()=>e(e.s=23772)),_N_E=e.O()}]);

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.