@mavea/mavea 1.0.8 → 1.0.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/.vite/manifest.json +675 -670
- package/dist/assets/{AppCommandPalette-DUMSp3rd.js → AppCommandPalette-D5E8xhEf.js} +1 -1
- package/dist/assets/{AtlasView-Dl2fssaG.js → AtlasView-Q4dqhS4v.js} +1 -1
- package/dist/assets/{BlockEmpty-CLtVQf6c.js → BlockEmpty-JoKwTRb0.js} +1 -1
- package/dist/assets/{BriefingPlayer-DO205Qkh.js → BriefingPlayer-BaC5XjsP.js} +1 -1
- package/dist/assets/{CanvasSkeleton-BZZPCuRZ.js → CanvasSkeleton-DgF1b-bW.js} +2 -2
- package/dist/assets/{CheckLogRail-wUfby67Z.js → CheckLogRail-DldWYeVr.js} +1 -1
- package/dist/assets/{CodeOutput-Kh6ldxQz.js → CodeOutput-B9_a0vjD.js} +1 -1
- package/dist/assets/{CommandPalette-Kl00mMZm.js → CommandPalette-C1eiRrMP.js} +1 -1
- package/dist/assets/{CourseLessonReader-MBHoknUz.js → CourseLessonReader-DA3t9SUe.js} +2 -2
- package/dist/assets/{CourseRail-q6x5cCpW.js → CourseRail-BaP1uB0B.js} +1 -1
- package/dist/assets/{CoursesApp-v89OVJvg.js → CoursesApp-MSK1JzqU.js} +2 -2
- package/dist/assets/{CrossExamPanel-DH04p6VS.js → CrossExamPanel-jJu-Mqvs.js} +1 -1
- package/dist/assets/{DashPresent-BYXbPuGj.js → DashPresent-Coj1b9Bp.js} +1 -1
- package/dist/assets/{DashboardDetail-B50ZkeVK.js → DashboardDetail-CHw4HfHp.js} +2 -2
- package/dist/assets/DashboardLoopRuntime-bSH-LDQM.js +1 -0
- package/dist/assets/{DashboardOverview-C-FdGWM5.js → DashboardOverview-CfsSZAgN.js} +1 -1
- package/dist/assets/{DashboardSettings-Dmw6JTbI.js → DashboardSettings-BkSQvDt6.js} +1 -1
- package/dist/assets/{DashboardsApp-JSY_bVfi.js → DashboardsApp-BmcjQZqP.js} +2 -2
- package/dist/assets/{DeepZoomApp-BFNwli7l.js → DeepZoomApp-BKhVz2w1.js} +1 -1
- package/dist/assets/{DelegatePanel-BK7rEhIc.js → DelegatePanel-BFKvKzB-.js} +1 -1
- package/dist/assets/{DemoGallery-BPtVG7_y.js → DemoGallery-0cgMcGir.js} +1 -1
- package/dist/assets/{DropSelect-DUhdQSta.js → DropSelect-CJnpoHtR.js} +1 -1
- package/dist/assets/{ExportModal-D65cGyj_.js → ExportModal-DbWt9b6v.js} +2 -2
- package/dist/assets/{ExtractionPreview-Iwfg2Ogl.js → ExtractionPreview-DTAyeKIx.js} +1 -1
- package/dist/assets/{FeatureUseNotice-DPtQ0OGb.js → FeatureUseNotice-CoK5HkbR.js} +1 -1
- package/dist/assets/FeatureUseNotice-CsCxxfOl.css +1 -0
- package/dist/assets/{FlagshipCTA-BXntKhxb.js → FlagshipCTA-EfqXfhO2.js} +1 -1
- package/dist/assets/{FlagshipCommandPalette-BDJfasI-.js → FlagshipCommandPalette-CUgzggi1.js} +1 -1
- package/dist/assets/{FlagshipShowcase-DJ8Gxk_G.js → FlagshipShowcase-BHe-31yE.js} +1 -1
- package/dist/assets/{FlashcardsApp-CLNo4WX7.js → FlashcardsApp-Cs7PORkH.js} +1 -1
- package/dist/assets/{ForecastPanel-PBO2-dgS.js → ForecastPanel-BrfHS_Dm.js} +1 -1
- package/dist/assets/{GalleryApp-DM03CMRy.js → GalleryApp-VEc5loz4.js} +1 -1
- package/dist/assets/{HonestByDesign-Dqyth6nW.js → HonestByDesign-DsAzveYU.js} +1 -1
- package/dist/assets/{HowItWorks-C0zosIvq.js → HowItWorks-_ek4B7ia.js} +1 -1
- package/dist/assets/{LegalApp-DZBdExTy.js → LegalApp-jexr9Ljt.js} +1 -1
- package/dist/assets/{LegalMarkdownDocument-CSZhRG5r.js → LegalMarkdownDocument-01Tz7Pp4.js} +1 -1
- package/dist/assets/{LegalPageShell-DTeXqWyc.js → LegalPageShell-DsgBihfP.js} +1 -1
- package/dist/assets/{LeverPanel-aZfhtVJX.js → LeverPanel-IONjaat2.js} +1 -1
- package/dist/assets/{Library-D2XGNXz7.js → Library-gY4a_JKb.js} +1 -1
- package/dist/assets/{LibraryOverlay-B2WQSgwr.js → LibraryOverlay-DdOW7ypW.js} +1 -1
- package/dist/assets/LiveApp-CvgisDd0.js +61 -0
- package/dist/assets/{LiveApp-BVZGpJ1S.css → LiveApp-D2QFBykD.css} +1 -1
- package/dist/assets/LiveSettings-sWIu-zl5.js +6 -0
- package/dist/assets/{MindMapViewerDrawer-YYyZqmAd.js → MindMapViewerDrawer--AOShADD.js} +1 -1
- package/dist/assets/{MindShape-mTlN5mPZ.js → MindShape-DDL4X-e5.js} +1 -1
- package/dist/assets/{PinToDashboard-_kIOHs0k.js → PinToDashboard-DBZjKpiA.js} +1 -1
- package/dist/assets/{PlanReview-33V8GTNB.js → PlanReview-D0KjJqji.js} +1 -1
- package/dist/assets/{Presence-CzLJIeSD.js → Presence-DZC81_y4.js} +1 -1
- package/dist/assets/{PresentationDeck-BDoGecxr.js → PresentationDeck-DHtbOg0G.js} +1 -1
- package/dist/assets/{PrismApp-PfBTFhMF.js → PrismApp-DQ5p9pDb.js} +2 -2
- package/dist/assets/{PrismAskController-DbQDrlU9.js → PrismAskController-KVoYxV_d.js} +1 -1
- package/dist/assets/{PrismBriefingPlayer-1fvlfLR8.js → PrismBriefingPlayer-X4nTg2tZ.js} +2 -2
- package/dist/assets/{PrismOverlay-B7lEspdu.js → PrismOverlay-DJ-JBI6j.js} +4 -4
- package/dist/assets/{PrivacyApp-CR4lRs0L.js → PrivacyApp-Df8FcjKa.js} +1 -1
- package/dist/assets/{Recap-H5fhj5Tc.js → Recap-D3nAqmLK.js} +1 -1
- package/dist/assets/{ReelJelly-3jSVsJsy.js → ReelJelly-BCMS6a1u.js} +1 -1
- package/dist/assets/{RehearsalPanel-BVgjrOPg.js → RehearsalPanel-CThmKYOO.js} +1 -1
- package/dist/assets/ReplayCard-B5njgafT.js +2 -0
- package/dist/assets/{ReplayOverlay-DXmVdeIr.js → ReplayOverlay-CKTMSGuA.js} +1 -1
- package/dist/assets/{RewindOverlay-BusfWeFq.js → RewindOverlay-D6TQvplO.js} +1 -1
- package/dist/assets/{RippleApp-9KrJPYgN.js → RippleApp-DCAveryn.js} +2 -2
- package/dist/assets/{RippleAskController-CO9wE7hU.js → RippleAskController-DQVRFV30.js} +1 -1
- package/dist/assets/{RippleOverlay-DMHLbfh8.js → RippleOverlay-DmC4C72P.js} +2 -2
- package/dist/assets/{SeeDontRead-C389viue.js → SeeDontRead-CzIEW_Y7.js} +1 -1
- package/dist/assets/ShareModal-DtXKAwWu.js +32 -0
- package/dist/assets/{ShipCascade-BUtwvQoW.js → ShipCascade-B71VnE85.js} +1 -1
- package/dist/assets/{ShipCourse-B7lG6DYW.js → ShipCourse-BS4lT6xe.js} +1 -1
- package/dist/assets/{ShipHotspots-Bj2CovtT.js → ShipHotspots-CGQN_uoM.js} +1 -1
- package/dist/assets/{ShipIncident-DcmindmE.js → ShipIncident-C--FrQ1N.js} +1 -1
- package/dist/assets/{ShipMigration-s0hVjDQl.js → ShipMigration-C4fE3pL7.js} +1 -1
- package/dist/assets/{ShipOnboarding-ekbHL7OH.js → ShipOnboarding-BR3iwj8v.js} +1 -1
- package/dist/assets/{ShipRead-BVNgQT6L.js → ShipRead-DYHgvWuI.js} +1 -1
- package/dist/assets/{ShipRollout-BdUQzMyP.js → ShipRollout-D-vQsNmF.js} +1 -1
- package/dist/assets/{ShipSuggestions-B6fKYh8L.js → ShipSuggestions-BICGN1lD.js} +1 -1
- package/dist/assets/{ShipWorkspace-3D3Rrs1p.js → ShipWorkspace-CVkhvrlm.js} +1 -1
- package/dist/assets/{SignatureLoop-C60r8Wm5.js → SignatureLoop-BwCgKOcz.js} +1 -1
- package/dist/assets/{SynthesisApp-vJ2Jq0Qe.js → SynthesisApp-DHKlVoSg.js} +2 -2
- package/dist/assets/{SynthesisOverlay-CkERphvG.js → SynthesisOverlay-ezT4gd3q.js} +1 -1
- package/dist/assets/{TermsApp-C70tW6m6.js → TermsApp-uGgQFz8d.js} +1 -1
- package/dist/assets/{TopicCanvas-CT0eSj2M.js → TopicCanvas-CTTBp5sg.js} +2 -2
- package/dist/assets/{TourPrism-BvucSkcs.js → TourPrism-dXsE-USz.js} +1 -1
- package/dist/assets/{TrackerTile-CasZNmt4.js → TrackerTile-bEni07HA.js} +2 -2
- package/dist/assets/{TwoSurfaces-C90X7Aj5.js → TwoSurfaces-CjFg-pUQ.js} +1 -1
- package/dist/assets/{UnderstoodPanel-CHPD2Ttj.js → UnderstoodPanel-DFKf9Y3r.js} +1 -1
- package/dist/assets/{WhyMachineOverlay-CB0_n6Sy.js → WhyMachineOverlay-DYG-WIjA.js} +1 -1
- package/dist/assets/{WowFeatures-Ci_H5QYX.js → WowFeatures-lLtU2gPc.js} +1 -1
- package/dist/assets/{ZoomDeck-BQHO79ZU.js → ZoomDeck-D_PnwGAY.js} +1 -1
- package/dist/assets/{alternateFinishes-DZ-rkpkX.js → alternateFinishes-CPbjDTTL.js} +1 -1
- package/dist/assets/{annotationAuto-B0nihA4F.js → annotationAuto-Dq2Ae6Co.js} +1 -1
- package/dist/assets/{annotationReel-BcU9Q0Sw.js → annotationReel-5OHglRgk.js} +1 -1
- package/dist/assets/backup-DnPfX6cD.js +1 -0
- package/dist/assets/canvas-DBaJcTKZ.js +1 -0
- package/dist/assets/{catalog-Dqaq2YFd.js → catalog-C_g3qPPQ.js} +1 -1
- package/dist/assets/chapters-BX_F_H3C.js +1 -0
- package/dist/assets/{dashboardEvents-DR9d_c74.js → dashboardEvents-DCQLIdy6.js} +2 -2
- package/dist/assets/{dist-BFx3nZg4.js → dist-DrPlQeYR.js} +1 -1
- package/dist/assets/{fit-0HxU-rtB.js → fit-DqcemO7k.js} +1 -1
- package/dist/assets/{generateLive-D4B30fnF.js → generateLive-CflgZ7Wt.js} +18 -18
- package/dist/assets/homeTarget-BcZYH3DY.js +1 -0
- package/dist/assets/{index-y8GL67bB.js → index-BlCH2LG4.js} +3 -3
- package/dist/assets/{jspdf.es.min-C-Pf79px.js → jspdf.es.min-C9encxHf.js} +1 -1
- package/dist/assets/kokoro-BCXTWbLb.js +1 -0
- package/dist/assets/{lib-VFqp6Y3w.js → lib-3J_9keOc.js} +1 -1
- package/dist/assets/{liveSchema-CJ49PX5R.js → liveSchema-DNg9x7Wk.js} +3 -2
- package/dist/assets/{mastery-BPjxP0fN.js → mastery-D7xYf5D7.js} +1 -1
- package/dist/assets/{motion-S0NRruNj.js → motion-BYK1NIl0.js} +1 -1
- package/dist/assets/{neighborhoods-C-1Tjr1r.js → neighborhoods-B0woY8Ah.js} +1 -1
- package/dist/assets/{notes-lROPCorS.js → notes-0ZgJ597y.js} +1 -1
- package/dist/assets/{pdf-Df7PCH7q.js → pdf-DuD2LFXS.js} +1 -1
- package/dist/assets/{perfProbe-COAp9PAa.js → perfProbe-CTSVS7u0.js} +1 -1
- package/dist/assets/{pin-CXSuPJYL.js → pin-zUYIWzGr.js} +1 -1
- package/dist/assets/{portal-DMw7C32j.js → portal-deBu1VaC.js} +1 -1
- package/dist/assets/{pptxgen.es-CvTILmV9.js → pptxgen.es-JvVtQi0_.js} +1 -1
- package/dist/assets/{prewarm--whjQhWJ.js → prewarm-DSFwU9lQ.js} +1 -1
- package/dist/assets/{quietHours-BvcsBKKK.js → quietHours-BJAGhffA.js} +1 -1
- package/dist/assets/{registry-BPvIPLke.js → registry-45IskpHI.js} +1 -1
- package/dist/assets/{registry-2v0jlh5Q.js → registry-BGptAE_J.js} +2 -2
- package/dist/assets/{registry-D_URPoL4.js → registry-BJ_F0mH5.js} +1 -1
- package/dist/assets/{registry-B8DStMJk.js → registry-BSewKzG5.js} +1 -1
- package/dist/assets/{registry-DUvXX_d0.js → registry-Bo9A1rtO.js} +1 -1
- package/dist/assets/{registry-CKjKq6ct.js → registry-BpXS6B5V.js} +1 -1
- package/dist/assets/{registry-aazwkBJp.js → registry-BvJYizNq.js} +1 -1
- package/dist/assets/{registry-DCI_BeFJ.js → registry-C1y9zCwl.js} +1 -1
- package/dist/assets/{registry-Buq5uuCv.js → registry-CS0QdcT2.js} +1 -1
- package/dist/assets/{registry-B940W2j5.js → registry-Caz06xkK.js} +1 -1
- package/dist/assets/{registry-Cg7qUZPS.js → registry-CmEE2X59.js} +1 -1
- package/dist/assets/{registry-DujBAgn_.js → registry-D5sMUiCn.js} +1 -1
- package/dist/assets/{registry-Cix-yqch.js → registry-DLnp7IOd.js} +1 -1
- package/dist/assets/{registry-DDLSYDVA.js → registry-DOsi_pfu.js} +1 -1
- package/dist/assets/{registry-BgGeRiDA.js → registry-DWpOzObR.js} +1 -1
- package/dist/assets/{registry-Dpb8EXHn.js → registry-DilxWEq7.js} +1 -1
- package/dist/assets/{registry-DJinB5ye.js → registry-Dn10bL9p.js} +1 -1
- package/dist/assets/{registry-zRPjWNl5.js → registry-DtJTiMeL.js} +1 -1
- package/dist/assets/{registry-CEVrY72Z.js → registry-FPqHPyMt.js} +1 -1
- package/dist/assets/{registry-DI1wSG1Y.js → registry-PAcF90vq.js} +1 -1
- package/dist/assets/{registry-CAusoyBh.js → registry-eoPQWB7M.js} +1 -1
- package/dist/assets/{registry-1GuPBfQK.js → registry-k5Lqb0OP.js} +1 -1
- package/dist/assets/{registry-QcULZpdE.js → registry-yQqBxBwc.js} +2 -2
- package/dist/assets/{relate-A9ZeaaAI.js → relate-B23jli7z.js} +1 -1
- package/dist/assets/{run-C_0B_41W.js → run-Dc2ZJz6n.js} +1 -1
- package/dist/assets/search-Be63DJkp.js +1 -0
- package/dist/assets/shapes-Cw7tCHIp.js +1 -0
- package/dist/assets/{shikiHighlight-DUCYbsJ2.js → shikiHighlight-ZFDUBGQi.js} +1 -1
- package/dist/assets/{store-DgG0C1Qx.js → store-BMRQiV1z.js} +1 -1
- package/dist/assets/{store-BFC7DZcg.js → store-Dn23_Ymr.js} +1 -1
- package/dist/assets/{store-BFrJaSxJ.js → store-DoJn3lBF.js} +1 -1
- package/dist/assets/{store-4JNNn732.js → store-DrBDvqXF.js} +1 -1
- package/dist/assets/threads-DxSb3F0U.js +1 -0
- package/dist/assets/{useDashboardLoop-B6ByHWoE.js → useDashboardLoop-8emjL6b-.js} +3 -3
- package/dist/assets/useLiveConfig-BhFHwoy3.js +1 -0
- package/dist/assets/{useSpatialCanvas-DogK9457.js → useSpatialCanvas-DZhSpnC6.js} +1 -1
- package/dist/assets/{useSpotlightWalk-rMbmNBKK.js → useSpotlightWalk-sP3ePKv0.js} +1 -1
- package/dist/assets/{useSrsCards-CagZefwX.js → useSrsCards-BHQHQ7hm.js} +1 -1
- package/dist/assets/{useStudy-Bflreq2a.js → useStudy-Dh598Dw8.js} +1 -1
- package/dist/assets/{useZoomGesture-CYc3tf2z.js → useZoomGesture-CQdTOGD2.js} +1 -1
- package/dist/index.html +1 -1
- package/package.json +1 -1
- package/dist/assets/DashboardLoopRuntime-CFXPx3v_.js +0 -1
- package/dist/assets/FeatureUseNotice-CWt7gOwS.css +0 -1
- package/dist/assets/LiveApp-B9zwXlGC.js +0 -61
- package/dist/assets/LiveSettings-D9OcWlm6.js +0 -6
- package/dist/assets/ReplayCard-BpYO5vX-.js +0 -2
- package/dist/assets/ShareModal-ClnEkudw.js +0 -32
- package/dist/assets/backup-c-Btapzp.js +0 -1
- package/dist/assets/canvas-QTEIiK23.js +0 -1
- package/dist/assets/chapters-BiUsDClQ.js +0 -1
- package/dist/assets/homeTarget-BgWKI_E1.js +0 -1
- package/dist/assets/kokoro-D4GKpSL0.js +0 -1
- package/dist/assets/search-DnjHupRf.js +0 -1
- package/dist/assets/shapes-RqjqC0ay.js +0 -1
- package/dist/assets/useLiveConfig-X9Wxh90k.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
import{t as e}from"./react-BQSORdFI.js";import{t}from"./jsx-runtime-DaSxXjOY.js";import{ht as n}from"./index-y8GL67bB.js";import{b as r,c as i,d as a,g as o,l as s,u as c}from"./fit-0HxU-rtB.js";var l=n(),u=e(),d=t(),f=new Set([`hidden`,`clip`,`auto`,`scroll`]),p=`[aria-hidden="true"], .figure-embed, [data-hard-clip]`,m=.85;function h(e){let t=(0,l.c)(19),{slideId:n,skinId:r,outerStyle:i,style:a,children:o}=e,s=(0,u.useRef)(null),c=(0,u.useRef)(null),[h,g]=(0,u.useState)(1),_;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(_=()=>{let e=s.current,t=c.current;if(!e||!t)return;let n=e.clientHeight;if(n<=0){g(1);return}let r=t.style.width,i=t.style.transform;t.style.width=`100%`,t.style.transform=`none`;let a=[];if(!t.closest(p)){let e=new Set;for(let n of t.querySelectorAll(p)){e.add(n);for(let t of n.querySelectorAll(`*`))e.add(t)}for(let n of t.querySelectorAll(`*`)){if(e.has(n))continue;let t=getComputedStyle(n),r=t.getPropertyValue(`-webkit-line-clamp`);r!==``&&r!==`none`||t.textOverflow===`ellipsis`||t.whiteSpace===`nowrap`||f.has(t.overflowY)&&a.push(n)}}let o=[];for(let e of a)o.push({el:e,overflow:e.style.overflow,maxHeight:e.style.maxHeight}),e.style.overflow=`visible`,e.style.maxHeight=`none`;let l=t.getBoundingClientRect().top,u=1/0,d=-1/0;for(let e of t.children){let t=e.getBoundingClientRect();t.height===0&&t.width===0||(u=Math.min(u,t.top),d=Math.max(d,t.bottom))}let h=d>u?d-Math.min(u,l):t.scrollHeight,_=Math.max(t.scrollHeight,h);for(let e of o)e.el.style.overflow=e.overflow,e.el.style.maxHeight=e.maxHeight;t.style.width=r,t.style.transform=i;let v=_>0?n/_:1,y=Number.isFinite(v)?Math.round(Math.min(1,Math.max(m,v))*1e3)/1e3:1;g(e=>e===y?e:y)},t[0]=_):_=t[0];let v;t[1]!==r||t[2]!==n?(v=[n,r],t[1]=r,t[2]=n,t[3]=v):v=t[3],(0,u.useLayoutEffect)(_,v);let y;t[4]===i?y=t[5]:(y={position:`relative`,...i,overflow:`hidden`},t[4]=i,t[5]=y);let b;t[6]===h?b=t[7]:(b=h===1?{}:{"data-bandfit":h},t[6]=h,t[7]=b);let x=h===1?`100%`:`${100/h}%`,S=h===1?void 0:`scale(${h})`,C;t[8]!==a||t[9]!==x||t[10]!==S?(C={...a,width:x,transform:S,transformOrigin:`top left`},t[8]=a,t[9]=x,t[10]=S,t[11]=C):C=t[11];let w;t[12]!==o||t[13]!==b||t[14]!==C?(w=(0,d.jsx)(`div`,{ref:c,...b,style:C,children:o}),t[12]=o,t[13]=b,t[14]=C,t[15]=w):w=t[15];let T;return t[16]!==y||t[17]!==w?(T=(0,d.jsx)(`div`,{ref:s,style:y,children:w}),t[16]=y,t[17]=w,t[18]=T):T=t[18],T}var g=1920,_=1080,v=e=>e.fonts.mono??e.fonts.body,y=e=>e.fonts.displayWeight??(e.fonts.allSerif?500:700),b=(e,t)=>`color-mix(in oklab, ${e} ${t}%, transparent)`,x=(e,t)=>t?e.tokens.darkAccent:`var(--accent-ink)`,S=e=>!!e.tokens.flourish&&!!e.tokens.dark,C=e=>S(e)?`0 0 18px ${b(e.tokens.flourish??e.tokens.accent,35)}`:void 0;function w(e,t={}){let n=e.tokens,{recommended:r,onDark:i}=t,a=i?b(n.darkInk,16):n.rule,o={background:i?n.darkSurface:n.card,borderRadius:n.radius,border:`1px solid ${a}`};switch(n.elevation){case`soft`:o.boxShadow=`0 2px 8px ${b(n.ink,8)}, 0 14px 34px ${b(n.ink,6)}`;break;case`raised`:o.boxShadow=`0 4px 12px ${b(n.ink,12)}, 0 22px 48px ${b(n.ink,10)}`;break;case`glow`:o.border=`1px solid ${b(n.accent,28)}`,o.boxShadow=`0 0 0 1px ${b(n.accent,14)}, 0 24px 60px rgba(0,0,0,0.45)`;break;default:e.id===`grid`&&(o.border=`2px solid ${i?b(n.darkInk,24):n.ruleStrong}`);break}return r&&(o.borderTop=`3px solid var(--accent)`),o}function T(e){let t=(0,l.c)(14),{skin:n,text:r,onDark:i}=e,a;t[0]===n?a=t[1]:(a=v(n),t[0]=n,t[1]=a);let o=`700 24px/1 ${a}`,s;t[2]!==i||t[3]!==n?(s=x(n,i),t[2]=i,t[3]=n,t[4]=s):s=t[4];let c;t[5]===n?c=t[6]:(c=C(n),t[5]=n,t[6]=c);let u;t[7]!==o||t[8]!==s||t[9]!==c?(u={font:o,letterSpacing:`0.22em`,textTransform:`uppercase`,color:s,textShadow:c,whiteSpace:`nowrap`,overflow:`hidden`,textOverflow:`ellipsis`},t[7]=o,t[8]=s,t[9]=c,t[10]=u):u=t[10];let f;return t[11]!==u||t[12]!==r?(f=(0,d.jsx)(`div`,{style:u,children:r}),t[11]=u,t[12]=r,t[13]=f):f=t[13],f}function E(e){let t=(0,l.c)(31),{skin:n,ctx:r,onDark:i}=e,a=n.tokens,o=i?a.darkInk:a.muted,s=i?`color-mix(in oklab, ${a.darkInk} 24%, transparent)`:a.rule,c;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(c={flex:`0 0 auto`},t[0]=c):c=t[0];let u;t[1]===s?u=t[2]:(u=(0,d.jsx)(`div`,{style:{height:1,background:s,marginBottom:22}}),t[1]=s,t[2]=u);let f;t[3]===n?f=t[4]:(f=v(n),t[3]=n,t[4]=f);let p=`600 22px/1 ${f}`,m;t[5]!==o||t[6]!==p?(m={display:`flex`,justifyContent:`space-between`,alignItems:`center`,font:p,letterSpacing:`0.16em`,textTransform:`uppercase`,color:o},t[5]=o,t[6]=p,t[7]=m):m=t[7];let h;t[8]===Symbol.for(`react.memo_cache_sentinel`)?(h={overflow:`hidden`,textOverflow:`ellipsis`,whiteSpace:`nowrap`,minWidth:0},t[8]=h):h=t[8];let g;t[9]===n.brand.name?g=t[10]:(g=(0,d.jsx)(`span`,{style:h,children:n.brand.name}),t[9]=n.brand.name,t[10]=g);let _;t[11]!==i||t[12]!==n?(_=x(n,i),t[11]=i,t[12]=n,t[13]=_):_=t[13];let y;t[14]===_?y=t[15]:(y={flex:`0 0 auto`,color:_},t[14]=_,t[15]=y);let b=String(r.index+1),S;t[16]===b?S=t[17]:(S=b.padStart(2,`0`),t[16]=b,t[17]=S);let C=String(r.total),w;t[18]===C?w=t[19]:(w=C.padStart(2,`0`),t[18]=C,t[19]=w);let T;t[20]!==S||t[21]!==w||t[22]!==y?(T=(0,d.jsxs)(`span`,{style:y,children:[S,` / `,w]}),t[20]=S,t[21]=w,t[22]=y,t[23]=T):T=t[23];let E;t[24]!==T||t[25]!==m||t[26]!==g?(E=(0,d.jsxs)(`div`,{style:m,children:[g,T]}),t[24]=T,t[25]=m,t[26]=g,t[27]=E):E=t[27];let D;return t[28]!==E||t[29]!==u?(D=(0,d.jsxs)(`div`,{style:c,children:[u,E]}),t[28]=E,t[29]=u,t[30]=D):D=t[30],D}function D(e){let t=(0,l.c)(21),{slideId:n,skin:r,ctx:i,kicker:a,onDark:o,children:s}=e,c;t[0]===r.tokens.pad?c=t[1]:(c={position:`absolute`,inset:0,padding:r.tokens.pad,display:`flex`,flexDirection:`column`,boxSizing:`border-box`,overflow:`hidden`},t[0]=r.tokens.pad,t[1]=c);let u;t[2]!==a||t[3]!==o||t[4]!==r?(u=a?(0,d.jsxs)(`div`,{style:{flex:`0 0 auto`,marginBottom:26,display:`flex`,alignItems:`center`,gap:28},children:[(0,d.jsx)(`div`,{style:{flex:`0 1 auto`,minWidth:0},children:(0,d.jsx)(T,{skin:r,text:a,onDark:o})}),(0,d.jsx)(`div`,{"aria-hidden":!0,style:{flex:`1 0 60px`,height:1,background:o?`color-mix(in oklab, ${r.tokens.darkInk} 24%, transparent)`:r.tokens.rule}})]}):null,t[2]=a,t[3]=o,t[4]=r,t[5]=u):u=t[5];let f,p;t[6]===Symbol.for(`react.memo_cache_sentinel`)?(f={flex:`1 1 auto`,minHeight:0},p={display:`flex`,flexDirection:`column`,justifyContent:`center`},t[6]=f,t[7]=p):(f=t[6],p=t[7]);let m;t[8]!==s||t[9]!==r.id||t[10]!==n?(m=(0,d.jsx)(h,{slideId:n,skinId:r.id,outerStyle:f,style:p,children:s}),t[8]=s,t[9]=r.id,t[10]=n,t[11]=m):m=t[11];let g;t[12]!==i||t[13]!==o||t[14]!==r?(g=(0,d.jsx)(E,{skin:r,ctx:i,onDark:o}),t[12]=i,t[13]=o,t[14]=r,t[15]=g):g=t[15];let _;return t[16]!==c||t[17]!==u||t[18]!==m||t[19]!==g?(_=(0,d.jsxs)(`div`,{style:c,children:[u,m,g]}),t[16]=c,t[17]=u,t[18]=m,t[19]=g,t[20]=_):_=t[20],_}function O({skin:e,pct:t,height:n=10,onDark:r,series:i=`primary`}){let a=e.tokens,o=i===`secondary`?r?a.accent2??a.darkAccent:a.accent2??`var(--accent)`:r?a.darkAccent:`var(--accent)`;return(0,d.jsx)(`div`,{style:{height:n,borderRadius:n,background:r?`color-mix(in oklab, ${a.darkInk} 16%, transparent)`:a.track,overflow:`hidden`},children:(0,d.jsx)(`div`,{style:{width:`${Math.round(Math.min(1,Math.max(0,t))*100)}%`,height:`100%`,borderRadius:n,background:o}})})}function k(e){let t=(0,l.c)(13),{skin:n,level:r,scale:i}=e,a=n.tokens,o;t[0]!==a.dark||t[1]!==a.ink?(o=a.dark?`inset 0 0 0 1px ${b(a.ink,22)}`:void 0,t[0]=a.dark,t[1]=a.ink,t[2]=o):o=t[2];let s=o,c;t[3]===Symbol.for(`react.memo_cache_sentinel`)?(c={display:`inline-flex`,gap:10,alignItems:`center`},t[3]=c):c=t[3];let u;if(t[4]!==s||t[5]!==r||t[6]!==i||t[7]!==a.track){let e;t[9]!==s||t[10]!==r||t[11]!==a.track?(e=(e,t)=>(0,d.jsx)(`span`,{style:{width:18,height:18,borderRadius:`50%`,background:t<r?`var(--accent)`:a.track,boxShadow:t<r?void 0:s}},t),t[9]=s,t[10]=r,t[11]=a.track,t[12]=e):e=t[12],u=(0,d.jsx)(`span`,{style:c,children:Array.from({length:i},e)}),t[4]=s,t[5]=r,t[6]=i,t[7]=a.track,t[8]=u}else u=t[8];return u}function A(e){let t=(0,l.c)(5),{skin:n}=e,r=n.tokens;if(!r.texture)return null;let i;t[0]!==r.ink||t[1]!==r.texture?(i=r.texture===`linen`?`repeating-linear-gradient(45deg, ${b(r.ink,3)} 0 1px, transparent 1px 6px),repeating-linear-gradient(-45deg, ${b(r.ink,2.5)} 0 1px, transparent 1px 6px)`:`repeating-linear-gradient(0deg, ${b(r.ink,2.2)} 0 1px, transparent 1px 5px)`,t[0]=r.ink,t[1]=r.texture,t[2]=i):i=t[2];let a=i,o;return t[3]===a?o=t[4]:(o=(0,d.jsx)(`div`,{"aria-hidden":!0,style:{position:`absolute`,inset:0,pointerEvents:`none`,zIndex:0,backgroundImage:a}}),t[3]=a,t[4]=o),o}function j(e){let t=(0,l.c)(57),{skin:n}=e,r=n.tokens,i=r.decorStrength??1,a;t[0]===i?a=t[1]:(a=(e,t)=>b(e,Math.min(100,t*i)),t[0]=i,t[1]=a);let o=a,s=r.accent2??r.accent,c;t[2]===Symbol.for(`react.memo_cache_sentinel`)?(c={position:`absolute`,inset:0,pointerEvents:`none`,zIndex:0,overflow:`hidden`},t[2]=c):c=t[2];let u=c,f;bb0:switch(n.decor){case`geo`:{let e;t[3]!==o||t[4]!==r.accent?(e=o(r.accent,14),t[3]=o,t[4]=r.accent,t[5]=e):e=t[5];let n=`radial-gradient(closest-side, ${e}, transparent)`,i;t[6]===n?i=t[7]:(i=(0,d.jsx)(`div`,{style:{position:`absolute`,top:-260,right:-220,width:760,height:760,borderRadius:`50%`,background:n}}),t[6]=n,t[7]=i);let a;t[8]!==s||t[9]!==o?(a=o(s,42),t[8]=s,t[9]=o,t[10]=a):a=t[10];let c=`2px solid ${a}`,l;t[11]===c?l=t[12]:(l=(0,d.jsx)(`div`,{style:{position:`absolute`,bottom:-120,right:180,width:420,height:420,borderRadius:60,transform:`rotate(18deg)`,border:c}}),t[11]=c,t[12]=l);let p;t[13]!==i||t[14]!==l?(p=(0,d.jsxs)(`div`,{style:u,"aria-hidden":!0,children:[i,l]}),t[13]=i,t[14]=l,t[15]=p):p=t[15],f=p;break bb0}case`organic`:{let e;t[16]!==o||t[17]!==r.accent?(e=o(r.accent,16),t[16]=o,t[17]=r.accent,t[18]=e):e=t[18];let n=`radial-gradient(closest-side, ${e}, transparent)`,i;t[19]===n?i=t[20]:(i=(0,d.jsx)(`div`,{style:{position:`absolute`,top:-240,right:-160,width:720,height:720,borderRadius:`50%`,background:n}}),t[19]=n,t[20]=i);let a;t[21]!==s||t[22]!==o?(a=o(s,34),t[21]=s,t[22]=o,t[23]=a):a=t[23];let c=`radial-gradient(closest-side, ${a}, transparent 78%)`,l;t[24]===c?l=t[25]:(l=(0,d.jsx)(`div`,{style:{position:`absolute`,bottom:-200,right:260,width:460,height:460,borderRadius:`46% 54% 60% 40%`,background:c}}),t[24]=c,t[25]=l);let p;t[26]!==i||t[27]!==l?(p=(0,d.jsxs)(`div`,{style:u,"aria-hidden":!0,children:[i,l]}),t[26]=i,t[27]=l,t[28]=p):p=t[28],f=p;break bb0}case`playful`:{let e;t[29]===s?e=t[30]:(e=(0,d.jsx)(`div`,{style:{position:`absolute`,top:120,right:220,width:180,height:180,borderRadius:`50%`,background:s,opacity:.9}}),t[29]=s,t[30]=e);let n;t[31]===r.accent?n=t[32]:(n=(0,d.jsx)(`div`,{style:{position:`absolute`,top:260,right:120,width:120,height:120,borderRadius:`50%`,background:r.accent}}),t[31]=r.accent,t[32]=n);let i;t[33]!==o||t[34]!==r.accent?(i=o(r.accent,18),t[33]=o,t[34]=r.accent,t[35]=i):i=t[35];let a=`radial-gradient(closest-side, ${i}, transparent)`,c;t[36]===a?c=t[37]:(c=(0,d.jsx)(`div`,{style:{position:`absolute`,bottom:-120,left:-80,width:420,height:420,borderRadius:`50%`,background:a}}),t[36]=a,t[37]=c);let l;t[38]!==e||t[39]!==n||t[40]!==c?(l=(0,d.jsxs)(`div`,{style:u,"aria-hidden":!0,children:[e,n,c]}),t[38]=e,t[39]=n,t[40]=c,t[41]=l):l=t[41],f=l;break bb0}case`dots`:{let e;t[42]!==s||t[43]!==o?(e=o(s,22),t[42]=s,t[43]=o,t[44]=e):e=t[44];let n=`radial-gradient(${e} 1.6px, transparent 1.7px)`,r;t[45]===n?r=t[46]:(r=(0,d.jsx)(`div`,{style:{...u,backgroundImage:n,backgroundSize:`48px 48px`},"aria-hidden":!0}),t[45]=n,t[46]=r),f=r;break bb0}case`grid`:{let e;t[47]!==o||t[48]!==r.ruleStrong?(e=o(r.ruleStrong,9),t[47]=o,t[48]=r.ruleStrong,t[49]=e):e=t[49];let n=e,i=`repeating-linear-gradient(90deg, ${n} 0 1px, transparent 1px 160px),repeating-linear-gradient(0deg, ${n} 0 1px, transparent 1px 180px)`,a;t[50]===i?a=t[51]:(a=(0,d.jsx)(`div`,{style:{...u,backgroundImage:i},"aria-hidden":!0}),t[50]=i,t[51]=a),f=a;break bb0}default:f=null}let p=f,m;t[52]===n?m=t[53]:(m=(0,d.jsx)(A,{skin:n}),t[52]=n,t[53]=m);let h;return t[54]!==p||t[55]!==m?(h=(0,d.jsxs)(d.Fragment,{children:[m,p]}),t[54]=p,t[55]=m,t[56]=h):h=t[56],h}function M(){return new Promise(e=>{if(typeof requestAnimationFrame!=`function`){setTimeout(e,0);return}let t=!1,n=()=>{t||(t=!0,cancelAnimationFrame(r),clearTimeout(i),e())},r=requestAnimationFrame(n),i=setTimeout(n,50)})}async function N(e,t){let n;try{return await Promise.race([e,new Promise(e=>{n=setTimeout(e,t)})])}finally{n!==void 0&&clearTimeout(n)}}async function P(e,t){let n=Array.from(e.querySelectorAll(`img`));n.length&&await Promise.allSettled(n.map(e=>e.complete&&e.naturalWidth>0?Promise.resolve():N(typeof e.decode==`function`?e.decode():new Promise((t,n)=>{e.addEventListener(`load`,()=>t(),{once:!0}),e.addEventListener(`error`,()=>n(Error(`img`)),{once:!0})}),t)))}function F(e){let t=e.querySelectorAll(`.leaflet-container`);for(let e of t)if(!e.querySelector(`.leaflet-tile`)||e.querySelector(`.leaflet-tile:not(.leaflet-tile-loaded)`))return!0;return!1}async function I(e,t={}){if(typeof document>`u`)return;let n=t.timeoutMs??5e3,r=t.perImageMs??3e3;typeof document.fonts?.ready?.then==`function`&&await N(document.fonts.ready,Math.min(n,3e3));let i=Date.now()+n,a=-1,o=0;for(;Date.now()<i;){await M();let t=F(e),n=e.scrollHeight;if(n===a&&!t){if(o+=1,o>=2)break}else o=0,a=n;if(n===0&&!t)break}await P(e,r)}function L(e){let t=(0,l.c)(11),{skin:n,ctx:r}=e,i=n.tokens,a=`500 22px/1 ${n.fonts.body}`,o;t[0]!==i.faint||t[1]!==a?(o={position:`absolute`,bottom:56,left:0,right:0,textAlign:`center`,font:a,letterSpacing:`0.4em`,textTransform:`uppercase`,color:i.faint},t[0]=i.faint,t[1]=a,t[2]=o):o=t[2];let s=String(r.index+1),c;t[3]===s?c=t[4]:(c=s.padStart(2,`0`),t[3]=s,t[4]=c);let u=String(r.total),f;t[5]===u?f=t[6]:(f=u.padStart(2,`0`),t[5]=u,t[6]=f);let p;return t[7]!==o||t[8]!==c||t[9]!==f?(p=(0,d.jsxs)(`div`,{style:o,children:[c,` / `,f]}),t[7]=o,t[8]=c,t[9]=f,t[10]=p):p=t[10],p}var R=e=>{let t=(0,l.c)(40),{slide:n,skin:r,ctx:i}=e,a=r.tokens,s=n.data,c=s.title.length,u=c>50?160:c>28?200:232,f;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(f=(0,d.jsxs)(`span`,{style:{display:`inline-flex`,alignItems:`center`,gap:22},children:[(0,d.jsx)(`span`,{style:{width:120,height:1,background:`var(--accent)`}}),(0,d.jsx)(`span`,{style:{width:8,height:8,background:`var(--accent)`,transform:`rotate(45deg)`}}),(0,d.jsx)(`span`,{style:{width:120,height:1,background:`var(--accent)`}})]}),t[0]=f):f=t[0];let p=f,m;t[1]===a.pad?m=t[2]:(m={position:`absolute`,inset:0,padding:a.pad,display:`flex`,flexDirection:`column`,textAlign:`center`,boxSizing:`border-box`,overflow:`hidden`},t[1]=a.pad,t[2]=m);let g;t[3]===Symbol.for(`react.memo_cache_sentinel`)?(g=(0,d.jsx)(`div`,{"aria-hidden":!0,style:{position:`absolute`,inset:36,border:`1px solid color-mix(in oklab, var(--accent) 30%, transparent)`,pointerEvents:`none`}}),t[3]=g):g=t[3];let _=n.id,v=r.id,y,b;t[4]===Symbol.for(`react.memo_cache_sentinel`)?(y={flex:`1 1 auto`,minHeight:0},b={display:`flex`,flexDirection:`column`,alignItems:`center`,justifyContent:`center`,gap:44},t[4]=y,t[5]=b):(y=t[4],b=t[5]);let x=`500 26px/1 ${r.fonts.body}`,S;t[6]===x?S=t[7]:(S={font:x,letterSpacing:`0.5em`,textTransform:`uppercase`,color:`var(--accent)`},t[6]=x,t[7]=S);let C=n.kicker??r.brand.tagline,w;t[8]!==C||t[9]!==S?(w=(0,d.jsx)(`div`,{style:S,children:C}),t[8]=C,t[9]=S,t[10]=w):w=t[10];let T=`600 ${u}px/0.92 ${r.fonts.display}`,E=a.ink,D;t[11]===Symbol.for(`react.memo_cache_sentinel`)?(D=o(3),t[11]=D):D=t[11];let O;t[12]!==a.ink||t[13]!==T?(O={font:T,color:E,letterSpacing:`0.01em`,textWrap:`balance`,...D},t[12]=a.ink,t[13]=T,t[14]=O):O=t[14];let k;t[15]!==s.title||t[16]!==O?(k=(0,d.jsx)(`div`,{style:O,children:s.title}),t[15]=s.title,t[16]=O,t[17]=k):k=t[17];let A;t[18]!==s.subtitle||t[19]!==r.fonts.display||t[20]!==a.muted?(A=s.subtitle?(0,d.jsx)(`div`,{style:{font:`400 italic 46px/1.32 ${r.fonts.display}`,color:a.muted,maxWidth:1200,...o(2)},children:s.subtitle}):null,t[18]=s.subtitle,t[19]=r.fonts.display,t[20]=a.muted,t[21]=A):A=t[21];let j;t[22]!==s.date||t[23]!==r.fonts.body||t[24]!==a.faint?(j=s.date?(0,d.jsx)(`div`,{style:{font:`500 24px/1 ${r.fonts.body}`,letterSpacing:`0.3em`,textTransform:`uppercase`,color:a.faint,marginTop:12},children:s.date}):null,t[22]=s.date,t[23]=r.fonts.body,t[24]=a.faint,t[25]=j):j=t[25];let M;t[26]!==r.id||t[27]!==n.id||t[28]!==w||t[29]!==k||t[30]!==A||t[31]!==j?(M=(0,d.jsxs)(h,{slideId:_,skinId:v,outerStyle:y,style:b,children:[w,p,k,A,j]}),t[26]=r.id,t[27]=n.id,t[28]=w,t[29]=k,t[30]=A,t[31]=j,t[32]=M):M=t[32];let N;t[33]!==i||t[34]!==r?(N=(0,d.jsx)(L,{skin:r,ctx:i}),t[33]=i,t[34]=r,t[35]=N):N=t[35];let P;return t[36]!==M||t[37]!==m||t[38]!==N?(P=(0,d.jsxs)(`div`,{style:m,children:[g,M,N]}),t[36]=M,t[37]=m,t[38]=N,t[39]=P):P=t[39],P},z=e=>{let t=(0,l.c)(53),{slide:n,skin:a,ctx:s}=e,c=a.tokens,u=n.data,f,p,m,g,_,v,y,b,x,S,C,w;if(t[0]!==u.body.length||t[1]!==a.fonts.display||t[2]!==a.id||t[3]!==n.id||t[4]!==c.ink||t[5]!==c.pad){let e=r(u.body.length,i);t[18]===c.pad?g=t[19]:(g={position:`absolute`,inset:0,padding:c.pad,display:`flex`,flexDirection:`column`,textAlign:`center`,boxSizing:`border-box`,overflow:`hidden`},t[18]=c.pad,t[19]=g),f=h,x=n.id,S=a.id,t[20]===Symbol.for(`react.memo_cache_sentinel`)?(C={flex:`1 1 auto`,minHeight:0},w={display:`flex`,flexDirection:`column`,alignItems:`center`,justifyContent:`center`},t[20]=C,t[21]=w):(C=t[20],w=t[21]);let s=`500 220px/0.5 ${a.fonts.display}`;t[22]===s?m=t[23]:(m=(0,d.jsx)(`div`,{style:{font:s,color:`var(--accent)`,height:110,overflow:`hidden`},"aria-hidden":!0,children:`“`}),t[22]=s,t[23]=m),b=e.size,p=`500 italic ${e.size}px/${e.line} ${a.fonts.display}`,_=c.ink,v=1480,y=o(e.maxLines),t[0]=u.body.length,t[1]=a.fonts.display,t[2]=a.id,t[3]=n.id,t[4]=c.ink,t[5]=c.pad,t[6]=f,t[7]=p,t[8]=m,t[9]=g,t[10]=_,t[11]=v,t[12]=y,t[13]=b,t[14]=x,t[15]=S,t[16]=C,t[17]=w}else f=t[6],p=t[7],m=t[8],g=t[9],_=t[10],v=t[11],y=t[12],b=t[13],x=t[14],S=t[15],C=t[16],w=t[17];let T;t[24]!==p||t[25]!==_||t[26]!==v||t[27]!==y?(T={font:p,color:_,maxWidth:v,...y},t[24]=p,t[25]=_,t[26]=v,t[27]=y,t[28]=T):T=t[28];let E;t[29]!==u.body||t[30]!==T||t[31]!==b?(E=(0,d.jsx)(`div`,{"data-fit-tier":b,style:T,children:u.body}),t[29]=u.body,t[30]=T,t[31]=b,t[32]=E):E=t[32];let D;t[33]!==u.attribution||t[34]!==a.fonts.body||t[35]!==c.muted?(D=u.attribution?(0,d.jsxs)(`div`,{style:{marginTop:48,display:`inline-flex`,alignItems:`center`,gap:22},children:[(0,d.jsx)(`span`,{style:{width:56,height:1,background:`var(--accent)`}}),(0,d.jsx)(`span`,{style:{font:`500 24px/1 ${a.fonts.body}`,letterSpacing:`0.3em`,textTransform:`uppercase`,color:c.muted,...o(2)},children:u.attribution})]}):null,t[33]=u.attribution,t[34]=a.fonts.body,t[35]=c.muted,t[36]=D):D=t[36];let O;t[37]!==f||t[38]!==m||t[39]!==E||t[40]!==D||t[41]!==x||t[42]!==S||t[43]!==C||t[44]!==w?(O=(0,d.jsxs)(f,{slideId:x,skinId:S,outerStyle:C,style:w,children:[m,E,D]}),t[37]=f,t[38]=m,t[39]=E,t[40]=D,t[41]=x,t[42]=S,t[43]=C,t[44]=w,t[45]=O):O=t[45];let k;t[46]!==s||t[47]!==a?(k=(0,d.jsx)(L,{skin:a,ctx:s}),t[46]=s,t[47]=a,t[48]=k):k=t[48];let A;return t[49]!==g||t[50]!==O||t[51]!==k?(A=(0,d.jsxs)(`div`,{style:g,children:[O,k]}),t[49]=g,t[50]=O,t[51]=k,t[52]=A):A=t[52],A},B=e=>{let t=(0,l.c)(71),{slide:n,skin:i,ctx:a}=e,c=n.data,u=i.tokens.darkInk,f=i.tokens.accent2??u,p,m,g,_,v,b,x,S,C,w,T,E,D;if(t[0]!==f||t[1]!==c.body.length||t[2]!==u||t[3]!==i||t[4]!==n.id||t[5]!==n.kicker){let e=r(c.body.length,s);t[19]!==u||t[20]!==i.tokens.pad?(v={position:`absolute`,inset:0,background:`var(--accent)`,color:u,padding:i.tokens.pad,display:`flex`,flexDirection:`column`,boxSizing:`border-box`,overflow:`hidden`},t[19]=u,t[20]=i.tokens.pad,t[21]=v):v=t[21],p=h,T=n.id,E=i.id,t[22]===Symbol.for(`react.memo_cache_sentinel`)?(D={flex:`1 1 auto`,minHeight:0},g={display:`flex`,flexDirection:`column`,justifyContent:`center`,gap:36},t[22]=g,t[23]=D):(g=t[22],D=t[23]),t[24]!==f||t[25]!==i.fonts.body||t[26]!==n.kicker?(_=n.kicker?(0,d.jsx)(`div`,{style:{font:`700 24px/1 ${i.fonts.body}`,letterSpacing:`0.2em`,textTransform:`uppercase`,color:f},children:n.kicker}):null,t[24]=f,t[25]=i.fonts.body,t[26]=n.kicker,t[27]=_):_=t[27],w=e.size;let a;t[28]===i?a=t[29]:(a=y(i),t[28]=i,t[29]=a),m=`${a} ${e.size}px/${e.line} ${i.fonts.display}`,b=`-0.02em`,x=`balance`,S=1500,C=o(e.maxLines),t[0]=f,t[1]=c.body.length,t[2]=u,t[3]=i,t[4]=n.id,t[5]=n.kicker,t[6]=p,t[7]=m,t[8]=g,t[9]=_,t[10]=v,t[11]=b,t[12]=x,t[13]=S,t[14]=C,t[15]=w,t[16]=T,t[17]=E,t[18]=D}else p=t[6],m=t[7],g=t[8],_=t[9],v=t[10],b=t[11],x=t[12],S=t[13],C=t[14],w=t[15],T=t[16],E=t[17],D=t[18];let O;t[30]!==m||t[31]!==b||t[32]!==x||t[33]!==S||t[34]!==C?(O={font:m,letterSpacing:b,textWrap:x,maxWidth:S,...C},t[30]=m,t[31]=b,t[32]=x,t[33]=S,t[34]=C,t[35]=O):O=t[35];let k;t[36]!==c.body||t[37]!==O||t[38]!==w?(k=(0,d.jsx)(`div`,{"data-fit-tier":w,style:O,children:c.body}),t[36]=c.body,t[37]=O,t[38]=w,t[39]=k):k=t[39];let A;t[40]===f?A=t[41]:(A=(0,d.jsx)(`span`,{"aria-hidden":!0,style:{width:240,height:12,background:f,borderRadius:6,flex:`0 0 auto`}}),t[40]=f,t[41]=A);let j;t[42]!==f||t[43]!==c.attribution||t[44]!==i.fonts.body?(j=c.attribution?(0,d.jsx)(`div`,{style:{font:`700 26px/1.3 ${i.fonts.body}`,letterSpacing:`0.04em`,color:f,...o(2)},children:c.attribution}):null,t[42]=f,t[43]=c.attribution,t[44]=i.fonts.body,t[45]=j):j=t[45];let M;t[46]!==p||t[47]!==g||t[48]!==_||t[49]!==k||t[50]!==A||t[51]!==j||t[52]!==T||t[53]!==E||t[54]!==D?(M=(0,d.jsxs)(p,{slideId:T,skinId:E,outerStyle:D,style:g,children:[_,k,A,j]}),t[46]=p,t[47]=g,t[48]=_,t[49]=k,t[50]=A,t[51]=j,t[52]=T,t[53]=E,t[54]=D,t[55]=M):M=t[55];let N=`700 22px/1 ${i.fonts.body}`,P;t[56]!==u||t[57]!==N?(P={position:`absolute`,right:64,bottom:56,font:N,letterSpacing:`0.2em`,color:u,opacity:.85},t[56]=u,t[57]=N,t[58]=P):P=t[58];let F=String(a.index+1),I;t[59]===F?I=t[60]:(I=F.padStart(2,`0`),t[59]=F,t[60]=I);let L=String(a.total),R;t[61]===L?R=t[62]:(R=L.padStart(2,`0`),t[61]=L,t[62]=R);let z;t[63]!==P||t[64]!==I||t[65]!==R?(z=(0,d.jsxs)(`div`,{style:P,children:[I,` / `,R]}),t[63]=P,t[64]=I,t[65]=R,t[66]=z):z=t[66];let B;return t[67]!==v||t[68]!==M||t[69]!==z?(B=(0,d.jsxs)(`div`,{style:v,children:[M,z]}),t[67]=v,t[68]=M,t[69]=z,t[70]=B):B=t[70],B},V=e=>{let t=(0,l.c)(53),{slide:n,skin:i,ctx:s}=e,u=i.tokens,f=n.data,p,m,h,g,_,v,y,b,x,S,C,w;if(t[0]!==s||t[1]!==f.body||t[2]!==f.heading||t[3]!==i||t[4]!==n.id||t[5]!==n.kicker||t[6]!==u.ink){_=f.body.slice(0,1);let e;t[19]===f.body?e=t[20]:(e=f.body.slice(1),t[19]=f.body,t[20]=e),v=e;let l=f.heading?r(f.heading.length,a):null,T=f.body.length+160,E;t[21]===T?E=t[22]:(E=r(T,c),t[21]=T,t[22]=E),m=E,h=m.maxLines*m.size*m.line,g=/[WMQG]/i.test(_)?112:138,p=D,x=n.id,S=i,C=s,w=n.kicker,t[23]===Symbol.for(`react.memo_cache_sentinel`)?(y={maxWidth:1480,display:`flex`,flexDirection:`column`,gap:32},t[23]=y):y=t[23],b=l?(0,d.jsx)(`div`,{"data-fit-tier":l.size,style:{font:`600 ${l.size}px/${l.line} ${i.fonts.display}`,color:u.ink,textWrap:`balance`,...o(l.maxLines)},children:f.heading}):null,t[0]=s,t[1]=f.body,t[2]=f.heading,t[3]=i,t[4]=n.id,t[5]=n.kicker,t[6]=u.ink,t[7]=p,t[8]=m,t[9]=h,t[10]=g,t[11]=_,t[12]=v,t[13]=y,t[14]=b,t[15]=x,t[16]=S,t[17]=C,t[18]=w}else p=t[7],m=t[8],h=t[9],g=t[10],_=t[11],v=t[12],y=t[13],b=t[14],x=t[15],S=t[16],C=t[17],w=t[18];let T;t[24]===h?T=t[25]:(T={maxHeight:h,overflow:`hidden`},t[24]=h,t[25]=T);let E=`400 ${m.size}px/${m.line} ${i.fonts.display}`,O;t[26]!==u.muted||t[27]!==E?(O={font:E,color:u.muted,textAlign:`justify`,margin:0,overflowWrap:`anywhere`},t[26]=u.muted,t[27]=E,t[28]=O):O=t[28];let k=`600 ${g}px/0.82 ${i.fonts.display}`,A;t[29]===k?A=t[30]:(A={float:`left`,font:k,color:`var(--accent)`,marginRight:18,marginTop:8},t[29]=k,t[30]=A);let j;t[31]!==_||t[32]!==A?(j=(0,d.jsx)(`span`,{style:A,children:_}),t[31]=_,t[32]=A,t[33]=j):j=t[33];let M;t[34]!==m.size||t[35]!==v||t[36]!==j||t[37]!==O?(M=(0,d.jsxs)(`p`,{"data-fit-tier":m.size,style:O,children:[j,v]}),t[34]=m.size,t[35]=v,t[36]=j,t[37]=O,t[38]=M):M=t[38];let N;t[39]!==M||t[40]!==T?(N=(0,d.jsx)(`div`,{"data-hard-clip":`press-prose`,style:T,children:M}),t[39]=M,t[40]=T,t[41]=N):N=t[41];let P;t[42]!==y||t[43]!==N||t[44]!==b?(P=(0,d.jsxs)(`div`,{style:y,children:[b,N]}),t[42]=y,t[43]=N,t[44]=b,t[45]=P):P=t[45];let F;return t[46]!==p||t[47]!==P||t[48]!==x||t[49]!==S||t[50]!==C||t[51]!==w?(F=(0,d.jsx)(p,{slideId:x,skin:S,ctx:C,kicker:w,children:P}),t[46]=p,t[47]=P,t[48]=x,t[49]=S,t[50]=C,t[51]=w,t[52]=F):F=t[52],F},H=`https://fonts.googleapis.com/css2?`,U={name:`MAVÉA`,tagline:`A Mavéa presentation`},W={folio:{id:`folio`,label:`Folio`,archetype:`Editorial`,blurb:`Warm editorial — Newsreader serif, hairlines, a deep-pine divider.`,brand:U,decor:`none`,fonts:{href:`${H}family=Hanken+Grotesk:wght@400;500;600;700;800&family=Newsreader:ital,wght@0,400;0,500;0,600;1,400;1,500&display=swap`,display:`'Newsreader', serif`,body:`'Hanken Grotesk', sans-serif`,displayWeight:500},tokens:{paper:`#F4F1EA`,ink:`#1A1916`,muted:`#4A463D`,faint:`#8A8478`,accent:`#B98C46`,tint:`#ECE3CF`,rule:`#D8D3C7`,ruleStrong:`#1A1916`,track:`#E4DECF`,card:`#FBFAF6`,darkSurface:`#1E3A32`,darkInk:`#F4F1EA`,darkAccent:`#C9A766`,radius:4,pad:`92px 120px`,accentInk:`#8A6420`,elevation:`soft`,texture:`paper`},layouts:{}},meridian:{id:`meridian`,label:`Meridian`,archetype:`Corporate`,blurb:`Boardroom-grade — Source Serif headings, IBM Plex body, ruled and precise.`,brand:U,decor:`none`,fonts:{href:`${H}family=IBM+Plex+Sans:wght@400;500;600;700&family=Source+Serif+4:ital,wght@0,600;0,700;1,600&display=swap`,display:`'Source Serif 4', serif`,body:`'IBM Plex Sans', sans-serif`,displayWeight:700},tokens:{paper:`#FFFFFF`,ink:`#0E2235`,muted:`#5B6B7B`,faint:`#9AA6B0`,accent:`#1763C6`,accent2:`#6FA8FF`,tint:`#EAF1FB`,rule:`#D9E0E6`,ruleStrong:`#0E2235`,track:`#E6ECF1`,card:`#F7FAFD`,darkSurface:`#0E2235`,darkInk:`#FFFFFF`,darkAccent:`#6FA8FF`,radius:6,pad:`92px 120px`,elevation:`soft`},layouts:{}},noir:{id:`noir`,label:`Noir`,archetype:`Luxury`,blurb:`Black-and-gold luxury — Cormorant Garamond, centred, whisper-quiet.`,brand:U,decor:`none`,fonts:{href:`${H}family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;1,400;1,500&family=Jost:wght@400;500;600&display=swap`,display:`'Cormorant Garamond', serif`,body:`'Jost', sans-serif`,displayWeight:600},tokens:{paper:`#0C0C0D`,ink:`#F2EFE9`,muted:`rgba(242,239,233,0.62)`,faint:`rgba(242,239,233,0.4)`,accent:`#C9A227`,tint:`rgba(201,162,39,0.14)`,rule:`rgba(242,239,233,0.16)`,ruleStrong:`rgba(242,239,233,0.6)`,track:`rgba(242,239,233,0.12)`,card:`rgba(242,239,233,0.05)`,darkSurface:`#161616`,darkInk:`#F2EFE9`,darkAccent:`#C9A227`,dark:!0,radius:2,pad:`110px 150px`,texture:`linen`},layouts:{cover:R,quote:z}},north:{id:`north`,label:`North`,archetype:`Startup`,blurb:`High-energy pitch — Space Grotesk, electric blue + coral, bold geometry.`,brand:U,decor:`geo`,fonts:{href:`${H}family=Hanken+Grotesk:wght@500;700;800&family=Space+Grotesk:wght@500;700&display=swap`,display:`'Space Grotesk', sans-serif`,body:`'Hanken Grotesk', sans-serif`,displayWeight:700},tokens:{paper:`#FFFFFF`,ink:`#111111`,muted:`#444444`,faint:`#9A9A9A`,accent:`#2C4BFF`,accent2:`#FF5436`,tint:`#EAEDFF`,rule:`#E6E6E6`,ruleStrong:`#111111`,track:`#ECECEC`,card:`#FFFFFF`,darkSurface:`#2C4BFF`,darkInk:`#FFFFFF`,darkAccent:`#FF5436`,radius:18,pad:`92px 120px`,elevation:`raised`,decorStrength:1.2},layouts:{quote:B}},lumen:{id:`lumen`,label:`Lumen`,archetype:`Clinical`,blurb:`Evidence-first clinical — Libre Franklin, clinical teal, calm and trustworthy.`,brand:U,decor:`none`,fonts:{href:`${H}family=Libre+Franklin:wght@500;600;700;800&family=Newsreader:ital,wght@0,400;0,500;0,600;1,400&display=swap`,display:`'Libre Franklin', sans-serif`,body:`'Libre Franklin', sans-serif`,displayWeight:800},tokens:{paper:`#FFFFFF`,ink:`#102A33`,muted:`#4A6670`,faint:`#7E97A0`,accent:`#0E7C86`,tint:`#EAF4F4`,rule:`#DCE6E7`,ruleStrong:`#102A33`,track:`#E4EFEF`,card:`#F1F7F7`,darkSurface:`#102A33`,darkInk:`#FFFFFF`,darkAccent:`#5FC7CF`,radius:18,pad:`92px 120px`,elevation:`soft`},layouts:{}},grid:{id:`grid`,label:`Grid`,archetype:`Swiss`,blurb:`International-style — Archivo black, a visible grid, hard red, sharp edges.`,brand:U,decor:`grid`,fonts:{href:`${H}family=Archivo:wght@600;700;800;900&display=swap`,display:`'Archivo', sans-serif`,body:`'Archivo', sans-serif`,displayWeight:900,bodyWeight:600},tokens:{paper:`#FFFFFF`,ink:`#111111`,muted:`#6A6A6A`,faint:`#9A9A9A`,accent:`#E8330A`,tint:`#FDEDEA`,rule:`#ECECEC`,ruleStrong:`#111111`,track:`#ECECEC`,card:`#FFFFFF`,darkSurface:`#111111`,darkInk:`#FFFFFF`,darkAccent:`#E8330A`,radius:0,pad:`110px 120px`,accentInk:`#C92C06`,decorStrength:1.4},layouts:{}},terra:{id:`terra`,label:`Terra`,archetype:`Organic`,blurb:`Warm and crafted — DM Serif Display, clay + olive, organic shapes.`,brand:U,decor:`organic`,fonts:{href:`${H}family=DM+Serif+Display:ital@0;1&family=Hanken+Grotesk:wght@400;600;700;800&display=swap`,display:`'DM Serif Display', serif`,body:`'Hanken Grotesk', sans-serif`,displayWeight:400},tokens:{paper:`#ECE3D5`,ink:`#3A2E25`,muted:`#5A4D3F`,faint:`#8A7E6F`,accent:`#B5503A`,accent2:`#6B6A41`,tint:`#E3D8C5`,rule:`#C9BBA6`,ruleStrong:`#3A2E25`,track:`#D9CDB8`,card:`#F3ECDD`,darkSurface:`#3A2E25`,darkInk:`#ECE3D5`,darkAccent:`#E0A07F`,radius:16,pad:`96px 130px`,accentInk:`#9E4230`,elevation:`soft`,texture:`paper`},layouts:{}},cobalt:{id:`cobalt`,label:`Cobalt`,archetype:`Deep-tech`,blurb:`Data-native — Sora + Space Mono, midnight navy, teal + a dot grid.`,brand:U,decor:`dots`,fonts:{href:`${H}family=Sora:wght@500;600;700;800&family=Space+Mono:wght@400;700&display=swap`,display:`'Sora', sans-serif`,body:`'Sora', sans-serif`,mono:`'Space Mono', monospace`,displayWeight:700},tokens:{paper:`#0E1424`,ink:`#E6E9F2`,muted:`#9AA4BE`,faint:`rgba(230,233,242,0.5)`,accent:`#46E0B0`,accent2:`#6E8BFF`,tint:`rgba(70,224,176,0.12)`,rule:`rgba(110,139,255,0.24)`,ruleStrong:`rgba(230,233,242,0.6)`,track:`rgba(230,233,242,0.14)`,card:`#16203A`,darkSurface:`#16203A`,darkInk:`#E6E9F2`,darkAccent:`#46E0B0`,dark:!0,radius:18,pad:`100px 130px`,elevation:`glow`,decorStrength:1.7,flourish:`#5AF0BE`},layouts:{}},press:{id:`press`,label:`Press`,archetype:`Academic`,blurb:`Scholarly — all-serif Spectral, drop caps, a deep academic red.`,brand:U,decor:`none`,fonts:{href:`${H}family=Spectral:ital,wght@0,300;0,400;0,500;0,600;1,400;1,500&display=swap`,display:`'Spectral', serif`,body:`'Spectral', serif`,displayWeight:600,allSerif:!0},tokens:{paper:`#F3EEE3`,ink:`#221C16`,muted:`#5A4D3F`,faint:`#8A7E6F`,accent:`#6E1423`,tint:`#EFE4D5`,rule:`#D6CDBC`,ruleStrong:`#221C16`,track:`#DDD3C1`,card:`#F8F3E9`,darkSurface:`#221C16`,darkInk:`#F3EEE3`,darkAccent:`#C98A93`,radius:4,pad:`110px 150px`,texture:`paper`},layouts:{prose:V}},sol:{id:`sol`,label:`Sol`,archetype:`Classroom`,blurb:`Bright and friendly — Poppins, teal/yellow/coral, rounded and playful.`,brand:U,decor:`playful`,fonts:{href:`${H}family=Poppins:wght@500;600;700;800&display=swap`,display:`'Poppins', sans-serif`,body:`'Poppins', sans-serif`,displayWeight:800},tokens:{paper:`#FFFDF7`,ink:`#28323A`,muted:`#5C6770`,faint:`#94A0A8`,accent:`#1FA29A`,accent2:`#F4B12A`,tint:`#E3F4F2`,rule:`#E6E0D2`,ruleStrong:`#28323A`,track:`#EAE4D6`,card:`#FFF4DC`,darkSurface:`#1FA29A`,darkInk:`#FFFFFF`,darkAccent:`#FFE08A`,radius:26,pad:`92px 120px`,accentInk:`#178079`,elevation:`raised`},layouts:{}}},G=[`folio`,`meridian`,`lumen`,`press`,`grid`,`north`,`sol`,`terra`,`noir`,`cobalt`],K=[[`meridian`,/financ|business|market|invest|revenue|strateg|quarter|sales/i],[`lumen`,/health|medic|clinic|biolog|patient|disease|wellness|nutrition|fitness/i],[`press`,/research|science|academ|study|paper|theor|hypothes|literature/i],[`cobalt`,/tech|software|engineer|\bai\b|data|platform|system|architecture|code|cloud/i],[`sol`,/education|school|\blearn|classroom|\bclass\b|teach|student|\bcourse\b|lesson|kindergarten/i],[`noir`,/luxury|fashion|brand|design|premium|art\b|gallery/i],[`terra`,/food|nature|sustain|craft|travel|garden|environment|recipe|farm/i],[`north`,/startup|product|pitch|launch|growth|founder|venture/i]];function q(e){let t=e??``;for(let[e,n]of K)if(n.test(t))return e;return`folio`}export{h as _,N as a,j as c,_ as d,g as f,w as g,v as h,I as i,k as l,y as m,G as n,M as o,D as p,q as r,O as s,W as t,E as u};
|
|
1
|
+
import{t as e}from"./react-BQSORdFI.js";import{t}from"./jsx-runtime-DaSxXjOY.js";import{ht as n}from"./index-BlCH2LG4.js";import{b as r,c as i,d as a,g as o,l as s,u as c}from"./fit-DqcemO7k.js";var l=n(),u=e(),d=t(),f=new Set([`hidden`,`clip`,`auto`,`scroll`]),p=`[aria-hidden="true"], .figure-embed, [data-hard-clip]`,m=.85;function h(e){let t=(0,l.c)(19),{slideId:n,skinId:r,outerStyle:i,style:a,children:o}=e,s=(0,u.useRef)(null),c=(0,u.useRef)(null),[h,g]=(0,u.useState)(1),_;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(_=()=>{let e=s.current,t=c.current;if(!e||!t)return;let n=e.clientHeight;if(n<=0){g(1);return}let r=t.style.width,i=t.style.transform;t.style.width=`100%`,t.style.transform=`none`;let a=[];if(!t.closest(p)){let e=new Set;for(let n of t.querySelectorAll(p)){e.add(n);for(let t of n.querySelectorAll(`*`))e.add(t)}for(let n of t.querySelectorAll(`*`)){if(e.has(n))continue;let t=getComputedStyle(n),r=t.getPropertyValue(`-webkit-line-clamp`);r!==``&&r!==`none`||t.textOverflow===`ellipsis`||t.whiteSpace===`nowrap`||f.has(t.overflowY)&&a.push(n)}}let o=[];for(let e of a)o.push({el:e,overflow:e.style.overflow,maxHeight:e.style.maxHeight}),e.style.overflow=`visible`,e.style.maxHeight=`none`;let l=t.getBoundingClientRect().top,u=1/0,d=-1/0;for(let e of t.children){let t=e.getBoundingClientRect();t.height===0&&t.width===0||(u=Math.min(u,t.top),d=Math.max(d,t.bottom))}let h=d>u?d-Math.min(u,l):t.scrollHeight,_=Math.max(t.scrollHeight,h);for(let e of o)e.el.style.overflow=e.overflow,e.el.style.maxHeight=e.maxHeight;t.style.width=r,t.style.transform=i;let v=_>0?n/_:1,y=Number.isFinite(v)?Math.round(Math.min(1,Math.max(m,v))*1e3)/1e3:1;g(e=>e===y?e:y)},t[0]=_):_=t[0];let v;t[1]!==r||t[2]!==n?(v=[n,r],t[1]=r,t[2]=n,t[3]=v):v=t[3],(0,u.useLayoutEffect)(_,v);let y;t[4]===i?y=t[5]:(y={position:`relative`,...i,overflow:`hidden`},t[4]=i,t[5]=y);let b;t[6]===h?b=t[7]:(b=h===1?{}:{"data-bandfit":h},t[6]=h,t[7]=b);let x=h===1?`100%`:`${100/h}%`,S=h===1?void 0:`scale(${h})`,C;t[8]!==a||t[9]!==x||t[10]!==S?(C={...a,width:x,transform:S,transformOrigin:`top left`},t[8]=a,t[9]=x,t[10]=S,t[11]=C):C=t[11];let w;t[12]!==o||t[13]!==b||t[14]!==C?(w=(0,d.jsx)(`div`,{ref:c,...b,style:C,children:o}),t[12]=o,t[13]=b,t[14]=C,t[15]=w):w=t[15];let T;return t[16]!==y||t[17]!==w?(T=(0,d.jsx)(`div`,{ref:s,style:y,children:w}),t[16]=y,t[17]=w,t[18]=T):T=t[18],T}var g=1920,_=1080,v=e=>e.fonts.mono??e.fonts.body,y=e=>e.fonts.displayWeight??(e.fonts.allSerif?500:700),b=(e,t)=>`color-mix(in oklab, ${e} ${t}%, transparent)`,x=(e,t)=>t?e.tokens.darkAccent:`var(--accent-ink)`,S=e=>!!e.tokens.flourish&&!!e.tokens.dark,C=e=>S(e)?`0 0 18px ${b(e.tokens.flourish??e.tokens.accent,35)}`:void 0;function w(e,t={}){let n=e.tokens,{recommended:r,onDark:i}=t,a=i?b(n.darkInk,16):n.rule,o={background:i?n.darkSurface:n.card,borderRadius:n.radius,border:`1px solid ${a}`};switch(n.elevation){case`soft`:o.boxShadow=`0 2px 8px ${b(n.ink,8)}, 0 14px 34px ${b(n.ink,6)}`;break;case`raised`:o.boxShadow=`0 4px 12px ${b(n.ink,12)}, 0 22px 48px ${b(n.ink,10)}`;break;case`glow`:o.border=`1px solid ${b(n.accent,28)}`,o.boxShadow=`0 0 0 1px ${b(n.accent,14)}, 0 24px 60px rgba(0,0,0,0.45)`;break;default:e.id===`grid`&&(o.border=`2px solid ${i?b(n.darkInk,24):n.ruleStrong}`);break}return r&&(o.borderTop=`3px solid var(--accent)`),o}function T(e){let t=(0,l.c)(14),{skin:n,text:r,onDark:i}=e,a;t[0]===n?a=t[1]:(a=v(n),t[0]=n,t[1]=a);let o=`700 24px/1 ${a}`,s;t[2]!==i||t[3]!==n?(s=x(n,i),t[2]=i,t[3]=n,t[4]=s):s=t[4];let c;t[5]===n?c=t[6]:(c=C(n),t[5]=n,t[6]=c);let u;t[7]!==o||t[8]!==s||t[9]!==c?(u={font:o,letterSpacing:`0.22em`,textTransform:`uppercase`,color:s,textShadow:c,whiteSpace:`nowrap`,overflow:`hidden`,textOverflow:`ellipsis`},t[7]=o,t[8]=s,t[9]=c,t[10]=u):u=t[10];let f;return t[11]!==u||t[12]!==r?(f=(0,d.jsx)(`div`,{style:u,children:r}),t[11]=u,t[12]=r,t[13]=f):f=t[13],f}function E(e){let t=(0,l.c)(31),{skin:n,ctx:r,onDark:i}=e,a=n.tokens,o=i?a.darkInk:a.muted,s=i?`color-mix(in oklab, ${a.darkInk} 24%, transparent)`:a.rule,c;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(c={flex:`0 0 auto`},t[0]=c):c=t[0];let u;t[1]===s?u=t[2]:(u=(0,d.jsx)(`div`,{style:{height:1,background:s,marginBottom:22}}),t[1]=s,t[2]=u);let f;t[3]===n?f=t[4]:(f=v(n),t[3]=n,t[4]=f);let p=`600 22px/1 ${f}`,m;t[5]!==o||t[6]!==p?(m={display:`flex`,justifyContent:`space-between`,alignItems:`center`,font:p,letterSpacing:`0.16em`,textTransform:`uppercase`,color:o},t[5]=o,t[6]=p,t[7]=m):m=t[7];let h;t[8]===Symbol.for(`react.memo_cache_sentinel`)?(h={overflow:`hidden`,textOverflow:`ellipsis`,whiteSpace:`nowrap`,minWidth:0},t[8]=h):h=t[8];let g;t[9]===n.brand.name?g=t[10]:(g=(0,d.jsx)(`span`,{style:h,children:n.brand.name}),t[9]=n.brand.name,t[10]=g);let _;t[11]!==i||t[12]!==n?(_=x(n,i),t[11]=i,t[12]=n,t[13]=_):_=t[13];let y;t[14]===_?y=t[15]:(y={flex:`0 0 auto`,color:_},t[14]=_,t[15]=y);let b=String(r.index+1),S;t[16]===b?S=t[17]:(S=b.padStart(2,`0`),t[16]=b,t[17]=S);let C=String(r.total),w;t[18]===C?w=t[19]:(w=C.padStart(2,`0`),t[18]=C,t[19]=w);let T;t[20]!==S||t[21]!==w||t[22]!==y?(T=(0,d.jsxs)(`span`,{style:y,children:[S,` / `,w]}),t[20]=S,t[21]=w,t[22]=y,t[23]=T):T=t[23];let E;t[24]!==T||t[25]!==m||t[26]!==g?(E=(0,d.jsxs)(`div`,{style:m,children:[g,T]}),t[24]=T,t[25]=m,t[26]=g,t[27]=E):E=t[27];let D;return t[28]!==E||t[29]!==u?(D=(0,d.jsxs)(`div`,{style:c,children:[u,E]}),t[28]=E,t[29]=u,t[30]=D):D=t[30],D}function D(e){let t=(0,l.c)(21),{slideId:n,skin:r,ctx:i,kicker:a,onDark:o,children:s}=e,c;t[0]===r.tokens.pad?c=t[1]:(c={position:`absolute`,inset:0,padding:r.tokens.pad,display:`flex`,flexDirection:`column`,boxSizing:`border-box`,overflow:`hidden`},t[0]=r.tokens.pad,t[1]=c);let u;t[2]!==a||t[3]!==o||t[4]!==r?(u=a?(0,d.jsxs)(`div`,{style:{flex:`0 0 auto`,marginBottom:26,display:`flex`,alignItems:`center`,gap:28},children:[(0,d.jsx)(`div`,{style:{flex:`0 1 auto`,minWidth:0},children:(0,d.jsx)(T,{skin:r,text:a,onDark:o})}),(0,d.jsx)(`div`,{"aria-hidden":!0,style:{flex:`1 0 60px`,height:1,background:o?`color-mix(in oklab, ${r.tokens.darkInk} 24%, transparent)`:r.tokens.rule}})]}):null,t[2]=a,t[3]=o,t[4]=r,t[5]=u):u=t[5];let f,p;t[6]===Symbol.for(`react.memo_cache_sentinel`)?(f={flex:`1 1 auto`,minHeight:0},p={display:`flex`,flexDirection:`column`,justifyContent:`center`},t[6]=f,t[7]=p):(f=t[6],p=t[7]);let m;t[8]!==s||t[9]!==r.id||t[10]!==n?(m=(0,d.jsx)(h,{slideId:n,skinId:r.id,outerStyle:f,style:p,children:s}),t[8]=s,t[9]=r.id,t[10]=n,t[11]=m):m=t[11];let g;t[12]!==i||t[13]!==o||t[14]!==r?(g=(0,d.jsx)(E,{skin:r,ctx:i,onDark:o}),t[12]=i,t[13]=o,t[14]=r,t[15]=g):g=t[15];let _;return t[16]!==c||t[17]!==u||t[18]!==m||t[19]!==g?(_=(0,d.jsxs)(`div`,{style:c,children:[u,m,g]}),t[16]=c,t[17]=u,t[18]=m,t[19]=g,t[20]=_):_=t[20],_}function O({skin:e,pct:t,height:n=10,onDark:r,series:i=`primary`}){let a=e.tokens,o=i===`secondary`?r?a.accent2??a.darkAccent:a.accent2??`var(--accent)`:r?a.darkAccent:`var(--accent)`;return(0,d.jsx)(`div`,{style:{height:n,borderRadius:n,background:r?`color-mix(in oklab, ${a.darkInk} 16%, transparent)`:a.track,overflow:`hidden`},children:(0,d.jsx)(`div`,{style:{width:`${Math.round(Math.min(1,Math.max(0,t))*100)}%`,height:`100%`,borderRadius:n,background:o}})})}function k(e){let t=(0,l.c)(13),{skin:n,level:r,scale:i}=e,a=n.tokens,o;t[0]!==a.dark||t[1]!==a.ink?(o=a.dark?`inset 0 0 0 1px ${b(a.ink,22)}`:void 0,t[0]=a.dark,t[1]=a.ink,t[2]=o):o=t[2];let s=o,c;t[3]===Symbol.for(`react.memo_cache_sentinel`)?(c={display:`inline-flex`,gap:10,alignItems:`center`},t[3]=c):c=t[3];let u;if(t[4]!==s||t[5]!==r||t[6]!==i||t[7]!==a.track){let e;t[9]!==s||t[10]!==r||t[11]!==a.track?(e=(e,t)=>(0,d.jsx)(`span`,{style:{width:18,height:18,borderRadius:`50%`,background:t<r?`var(--accent)`:a.track,boxShadow:t<r?void 0:s}},t),t[9]=s,t[10]=r,t[11]=a.track,t[12]=e):e=t[12],u=(0,d.jsx)(`span`,{style:c,children:Array.from({length:i},e)}),t[4]=s,t[5]=r,t[6]=i,t[7]=a.track,t[8]=u}else u=t[8];return u}function A(e){let t=(0,l.c)(5),{skin:n}=e,r=n.tokens;if(!r.texture)return null;let i;t[0]!==r.ink||t[1]!==r.texture?(i=r.texture===`linen`?`repeating-linear-gradient(45deg, ${b(r.ink,3)} 0 1px, transparent 1px 6px),repeating-linear-gradient(-45deg, ${b(r.ink,2.5)} 0 1px, transparent 1px 6px)`:`repeating-linear-gradient(0deg, ${b(r.ink,2.2)} 0 1px, transparent 1px 5px)`,t[0]=r.ink,t[1]=r.texture,t[2]=i):i=t[2];let a=i,o;return t[3]===a?o=t[4]:(o=(0,d.jsx)(`div`,{"aria-hidden":!0,style:{position:`absolute`,inset:0,pointerEvents:`none`,zIndex:0,backgroundImage:a}}),t[3]=a,t[4]=o),o}function j(e){let t=(0,l.c)(57),{skin:n}=e,r=n.tokens,i=r.decorStrength??1,a;t[0]===i?a=t[1]:(a=(e,t)=>b(e,Math.min(100,t*i)),t[0]=i,t[1]=a);let o=a,s=r.accent2??r.accent,c;t[2]===Symbol.for(`react.memo_cache_sentinel`)?(c={position:`absolute`,inset:0,pointerEvents:`none`,zIndex:0,overflow:`hidden`},t[2]=c):c=t[2];let u=c,f;bb0:switch(n.decor){case`geo`:{let e;t[3]!==o||t[4]!==r.accent?(e=o(r.accent,14),t[3]=o,t[4]=r.accent,t[5]=e):e=t[5];let n=`radial-gradient(closest-side, ${e}, transparent)`,i;t[6]===n?i=t[7]:(i=(0,d.jsx)(`div`,{style:{position:`absolute`,top:-260,right:-220,width:760,height:760,borderRadius:`50%`,background:n}}),t[6]=n,t[7]=i);let a;t[8]!==s||t[9]!==o?(a=o(s,42),t[8]=s,t[9]=o,t[10]=a):a=t[10];let c=`2px solid ${a}`,l;t[11]===c?l=t[12]:(l=(0,d.jsx)(`div`,{style:{position:`absolute`,bottom:-120,right:180,width:420,height:420,borderRadius:60,transform:`rotate(18deg)`,border:c}}),t[11]=c,t[12]=l);let p;t[13]!==i||t[14]!==l?(p=(0,d.jsxs)(`div`,{style:u,"aria-hidden":!0,children:[i,l]}),t[13]=i,t[14]=l,t[15]=p):p=t[15],f=p;break bb0}case`organic`:{let e;t[16]!==o||t[17]!==r.accent?(e=o(r.accent,16),t[16]=o,t[17]=r.accent,t[18]=e):e=t[18];let n=`radial-gradient(closest-side, ${e}, transparent)`,i;t[19]===n?i=t[20]:(i=(0,d.jsx)(`div`,{style:{position:`absolute`,top:-240,right:-160,width:720,height:720,borderRadius:`50%`,background:n}}),t[19]=n,t[20]=i);let a;t[21]!==s||t[22]!==o?(a=o(s,34),t[21]=s,t[22]=o,t[23]=a):a=t[23];let c=`radial-gradient(closest-side, ${a}, transparent 78%)`,l;t[24]===c?l=t[25]:(l=(0,d.jsx)(`div`,{style:{position:`absolute`,bottom:-200,right:260,width:460,height:460,borderRadius:`46% 54% 60% 40%`,background:c}}),t[24]=c,t[25]=l);let p;t[26]!==i||t[27]!==l?(p=(0,d.jsxs)(`div`,{style:u,"aria-hidden":!0,children:[i,l]}),t[26]=i,t[27]=l,t[28]=p):p=t[28],f=p;break bb0}case`playful`:{let e;t[29]===s?e=t[30]:(e=(0,d.jsx)(`div`,{style:{position:`absolute`,top:120,right:220,width:180,height:180,borderRadius:`50%`,background:s,opacity:.9}}),t[29]=s,t[30]=e);let n;t[31]===r.accent?n=t[32]:(n=(0,d.jsx)(`div`,{style:{position:`absolute`,top:260,right:120,width:120,height:120,borderRadius:`50%`,background:r.accent}}),t[31]=r.accent,t[32]=n);let i;t[33]!==o||t[34]!==r.accent?(i=o(r.accent,18),t[33]=o,t[34]=r.accent,t[35]=i):i=t[35];let a=`radial-gradient(closest-side, ${i}, transparent)`,c;t[36]===a?c=t[37]:(c=(0,d.jsx)(`div`,{style:{position:`absolute`,bottom:-120,left:-80,width:420,height:420,borderRadius:`50%`,background:a}}),t[36]=a,t[37]=c);let l;t[38]!==e||t[39]!==n||t[40]!==c?(l=(0,d.jsxs)(`div`,{style:u,"aria-hidden":!0,children:[e,n,c]}),t[38]=e,t[39]=n,t[40]=c,t[41]=l):l=t[41],f=l;break bb0}case`dots`:{let e;t[42]!==s||t[43]!==o?(e=o(s,22),t[42]=s,t[43]=o,t[44]=e):e=t[44];let n=`radial-gradient(${e} 1.6px, transparent 1.7px)`,r;t[45]===n?r=t[46]:(r=(0,d.jsx)(`div`,{style:{...u,backgroundImage:n,backgroundSize:`48px 48px`},"aria-hidden":!0}),t[45]=n,t[46]=r),f=r;break bb0}case`grid`:{let e;t[47]!==o||t[48]!==r.ruleStrong?(e=o(r.ruleStrong,9),t[47]=o,t[48]=r.ruleStrong,t[49]=e):e=t[49];let n=e,i=`repeating-linear-gradient(90deg, ${n} 0 1px, transparent 1px 160px),repeating-linear-gradient(0deg, ${n} 0 1px, transparent 1px 180px)`,a;t[50]===i?a=t[51]:(a=(0,d.jsx)(`div`,{style:{...u,backgroundImage:i},"aria-hidden":!0}),t[50]=i,t[51]=a),f=a;break bb0}default:f=null}let p=f,m;t[52]===n?m=t[53]:(m=(0,d.jsx)(A,{skin:n}),t[52]=n,t[53]=m);let h;return t[54]!==p||t[55]!==m?(h=(0,d.jsxs)(d.Fragment,{children:[m,p]}),t[54]=p,t[55]=m,t[56]=h):h=t[56],h}function M(){return new Promise(e=>{if(typeof requestAnimationFrame!=`function`){setTimeout(e,0);return}let t=!1,n=()=>{t||(t=!0,cancelAnimationFrame(r),clearTimeout(i),e())},r=requestAnimationFrame(n),i=setTimeout(n,50)})}async function N(e,t){let n;try{return await Promise.race([e,new Promise(e=>{n=setTimeout(e,t)})])}finally{n!==void 0&&clearTimeout(n)}}async function P(e,t){let n=Array.from(e.querySelectorAll(`img`));n.length&&await Promise.allSettled(n.map(e=>e.complete&&e.naturalWidth>0?Promise.resolve():N(typeof e.decode==`function`?e.decode():new Promise((t,n)=>{e.addEventListener(`load`,()=>t(),{once:!0}),e.addEventListener(`error`,()=>n(Error(`img`)),{once:!0})}),t)))}function F(e){let t=e.querySelectorAll(`.leaflet-container`);for(let e of t)if(!e.querySelector(`.leaflet-tile`)||e.querySelector(`.leaflet-tile:not(.leaflet-tile-loaded)`))return!0;return!1}async function I(e,t={}){if(typeof document>`u`)return;let n=t.timeoutMs??5e3,r=t.perImageMs??3e3;typeof document.fonts?.ready?.then==`function`&&await N(document.fonts.ready,Math.min(n,3e3));let i=Date.now()+n,a=-1,o=0;for(;Date.now()<i;){await M();let t=F(e),n=e.scrollHeight;if(n===a&&!t){if(o+=1,o>=2)break}else o=0,a=n;if(n===0&&!t)break}await P(e,r)}function L(e){let t=(0,l.c)(11),{skin:n,ctx:r}=e,i=n.tokens,a=`500 22px/1 ${n.fonts.body}`,o;t[0]!==i.faint||t[1]!==a?(o={position:`absolute`,bottom:56,left:0,right:0,textAlign:`center`,font:a,letterSpacing:`0.4em`,textTransform:`uppercase`,color:i.faint},t[0]=i.faint,t[1]=a,t[2]=o):o=t[2];let s=String(r.index+1),c;t[3]===s?c=t[4]:(c=s.padStart(2,`0`),t[3]=s,t[4]=c);let u=String(r.total),f;t[5]===u?f=t[6]:(f=u.padStart(2,`0`),t[5]=u,t[6]=f);let p;return t[7]!==o||t[8]!==c||t[9]!==f?(p=(0,d.jsxs)(`div`,{style:o,children:[c,` / `,f]}),t[7]=o,t[8]=c,t[9]=f,t[10]=p):p=t[10],p}var R=e=>{let t=(0,l.c)(40),{slide:n,skin:r,ctx:i}=e,a=r.tokens,s=n.data,c=s.title.length,u=c>50?160:c>28?200:232,f;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(f=(0,d.jsxs)(`span`,{style:{display:`inline-flex`,alignItems:`center`,gap:22},children:[(0,d.jsx)(`span`,{style:{width:120,height:1,background:`var(--accent)`}}),(0,d.jsx)(`span`,{style:{width:8,height:8,background:`var(--accent)`,transform:`rotate(45deg)`}}),(0,d.jsx)(`span`,{style:{width:120,height:1,background:`var(--accent)`}})]}),t[0]=f):f=t[0];let p=f,m;t[1]===a.pad?m=t[2]:(m={position:`absolute`,inset:0,padding:a.pad,display:`flex`,flexDirection:`column`,textAlign:`center`,boxSizing:`border-box`,overflow:`hidden`},t[1]=a.pad,t[2]=m);let g;t[3]===Symbol.for(`react.memo_cache_sentinel`)?(g=(0,d.jsx)(`div`,{"aria-hidden":!0,style:{position:`absolute`,inset:36,border:`1px solid color-mix(in oklab, var(--accent) 30%, transparent)`,pointerEvents:`none`}}),t[3]=g):g=t[3];let _=n.id,v=r.id,y,b;t[4]===Symbol.for(`react.memo_cache_sentinel`)?(y={flex:`1 1 auto`,minHeight:0},b={display:`flex`,flexDirection:`column`,alignItems:`center`,justifyContent:`center`,gap:44},t[4]=y,t[5]=b):(y=t[4],b=t[5]);let x=`500 26px/1 ${r.fonts.body}`,S;t[6]===x?S=t[7]:(S={font:x,letterSpacing:`0.5em`,textTransform:`uppercase`,color:`var(--accent)`},t[6]=x,t[7]=S);let C=n.kicker??r.brand.tagline,w;t[8]!==C||t[9]!==S?(w=(0,d.jsx)(`div`,{style:S,children:C}),t[8]=C,t[9]=S,t[10]=w):w=t[10];let T=`600 ${u}px/0.92 ${r.fonts.display}`,E=a.ink,D;t[11]===Symbol.for(`react.memo_cache_sentinel`)?(D=o(3),t[11]=D):D=t[11];let O;t[12]!==a.ink||t[13]!==T?(O={font:T,color:E,letterSpacing:`0.01em`,textWrap:`balance`,...D},t[12]=a.ink,t[13]=T,t[14]=O):O=t[14];let k;t[15]!==s.title||t[16]!==O?(k=(0,d.jsx)(`div`,{style:O,children:s.title}),t[15]=s.title,t[16]=O,t[17]=k):k=t[17];let A;t[18]!==s.subtitle||t[19]!==r.fonts.display||t[20]!==a.muted?(A=s.subtitle?(0,d.jsx)(`div`,{style:{font:`400 italic 46px/1.32 ${r.fonts.display}`,color:a.muted,maxWidth:1200,...o(2)},children:s.subtitle}):null,t[18]=s.subtitle,t[19]=r.fonts.display,t[20]=a.muted,t[21]=A):A=t[21];let j;t[22]!==s.date||t[23]!==r.fonts.body||t[24]!==a.faint?(j=s.date?(0,d.jsx)(`div`,{style:{font:`500 24px/1 ${r.fonts.body}`,letterSpacing:`0.3em`,textTransform:`uppercase`,color:a.faint,marginTop:12},children:s.date}):null,t[22]=s.date,t[23]=r.fonts.body,t[24]=a.faint,t[25]=j):j=t[25];let M;t[26]!==r.id||t[27]!==n.id||t[28]!==w||t[29]!==k||t[30]!==A||t[31]!==j?(M=(0,d.jsxs)(h,{slideId:_,skinId:v,outerStyle:y,style:b,children:[w,p,k,A,j]}),t[26]=r.id,t[27]=n.id,t[28]=w,t[29]=k,t[30]=A,t[31]=j,t[32]=M):M=t[32];let N;t[33]!==i||t[34]!==r?(N=(0,d.jsx)(L,{skin:r,ctx:i}),t[33]=i,t[34]=r,t[35]=N):N=t[35];let P;return t[36]!==M||t[37]!==m||t[38]!==N?(P=(0,d.jsxs)(`div`,{style:m,children:[g,M,N]}),t[36]=M,t[37]=m,t[38]=N,t[39]=P):P=t[39],P},z=e=>{let t=(0,l.c)(53),{slide:n,skin:a,ctx:s}=e,c=a.tokens,u=n.data,f,p,m,g,_,v,y,b,x,S,C,w;if(t[0]!==u.body.length||t[1]!==a.fonts.display||t[2]!==a.id||t[3]!==n.id||t[4]!==c.ink||t[5]!==c.pad){let e=r(u.body.length,i);t[18]===c.pad?g=t[19]:(g={position:`absolute`,inset:0,padding:c.pad,display:`flex`,flexDirection:`column`,textAlign:`center`,boxSizing:`border-box`,overflow:`hidden`},t[18]=c.pad,t[19]=g),f=h,x=n.id,S=a.id,t[20]===Symbol.for(`react.memo_cache_sentinel`)?(C={flex:`1 1 auto`,minHeight:0},w={display:`flex`,flexDirection:`column`,alignItems:`center`,justifyContent:`center`},t[20]=C,t[21]=w):(C=t[20],w=t[21]);let s=`500 220px/0.5 ${a.fonts.display}`;t[22]===s?m=t[23]:(m=(0,d.jsx)(`div`,{style:{font:s,color:`var(--accent)`,height:110,overflow:`hidden`},"aria-hidden":!0,children:`“`}),t[22]=s,t[23]=m),b=e.size,p=`500 italic ${e.size}px/${e.line} ${a.fonts.display}`,_=c.ink,v=1480,y=o(e.maxLines),t[0]=u.body.length,t[1]=a.fonts.display,t[2]=a.id,t[3]=n.id,t[4]=c.ink,t[5]=c.pad,t[6]=f,t[7]=p,t[8]=m,t[9]=g,t[10]=_,t[11]=v,t[12]=y,t[13]=b,t[14]=x,t[15]=S,t[16]=C,t[17]=w}else f=t[6],p=t[7],m=t[8],g=t[9],_=t[10],v=t[11],y=t[12],b=t[13],x=t[14],S=t[15],C=t[16],w=t[17];let T;t[24]!==p||t[25]!==_||t[26]!==v||t[27]!==y?(T={font:p,color:_,maxWidth:v,...y},t[24]=p,t[25]=_,t[26]=v,t[27]=y,t[28]=T):T=t[28];let E;t[29]!==u.body||t[30]!==T||t[31]!==b?(E=(0,d.jsx)(`div`,{"data-fit-tier":b,style:T,children:u.body}),t[29]=u.body,t[30]=T,t[31]=b,t[32]=E):E=t[32];let D;t[33]!==u.attribution||t[34]!==a.fonts.body||t[35]!==c.muted?(D=u.attribution?(0,d.jsxs)(`div`,{style:{marginTop:48,display:`inline-flex`,alignItems:`center`,gap:22},children:[(0,d.jsx)(`span`,{style:{width:56,height:1,background:`var(--accent)`}}),(0,d.jsx)(`span`,{style:{font:`500 24px/1 ${a.fonts.body}`,letterSpacing:`0.3em`,textTransform:`uppercase`,color:c.muted,...o(2)},children:u.attribution})]}):null,t[33]=u.attribution,t[34]=a.fonts.body,t[35]=c.muted,t[36]=D):D=t[36];let O;t[37]!==f||t[38]!==m||t[39]!==E||t[40]!==D||t[41]!==x||t[42]!==S||t[43]!==C||t[44]!==w?(O=(0,d.jsxs)(f,{slideId:x,skinId:S,outerStyle:C,style:w,children:[m,E,D]}),t[37]=f,t[38]=m,t[39]=E,t[40]=D,t[41]=x,t[42]=S,t[43]=C,t[44]=w,t[45]=O):O=t[45];let k;t[46]!==s||t[47]!==a?(k=(0,d.jsx)(L,{skin:a,ctx:s}),t[46]=s,t[47]=a,t[48]=k):k=t[48];let A;return t[49]!==g||t[50]!==O||t[51]!==k?(A=(0,d.jsxs)(`div`,{style:g,children:[O,k]}),t[49]=g,t[50]=O,t[51]=k,t[52]=A):A=t[52],A},B=e=>{let t=(0,l.c)(71),{slide:n,skin:i,ctx:a}=e,c=n.data,u=i.tokens.darkInk,f=i.tokens.accent2??u,p,m,g,_,v,b,x,S,C,w,T,E,D;if(t[0]!==f||t[1]!==c.body.length||t[2]!==u||t[3]!==i||t[4]!==n.id||t[5]!==n.kicker){let e=r(c.body.length,s);t[19]!==u||t[20]!==i.tokens.pad?(v={position:`absolute`,inset:0,background:`var(--accent)`,color:u,padding:i.tokens.pad,display:`flex`,flexDirection:`column`,boxSizing:`border-box`,overflow:`hidden`},t[19]=u,t[20]=i.tokens.pad,t[21]=v):v=t[21],p=h,T=n.id,E=i.id,t[22]===Symbol.for(`react.memo_cache_sentinel`)?(D={flex:`1 1 auto`,minHeight:0},g={display:`flex`,flexDirection:`column`,justifyContent:`center`,gap:36},t[22]=g,t[23]=D):(g=t[22],D=t[23]),t[24]!==f||t[25]!==i.fonts.body||t[26]!==n.kicker?(_=n.kicker?(0,d.jsx)(`div`,{style:{font:`700 24px/1 ${i.fonts.body}`,letterSpacing:`0.2em`,textTransform:`uppercase`,color:f},children:n.kicker}):null,t[24]=f,t[25]=i.fonts.body,t[26]=n.kicker,t[27]=_):_=t[27],w=e.size;let a;t[28]===i?a=t[29]:(a=y(i),t[28]=i,t[29]=a),m=`${a} ${e.size}px/${e.line} ${i.fonts.display}`,b=`-0.02em`,x=`balance`,S=1500,C=o(e.maxLines),t[0]=f,t[1]=c.body.length,t[2]=u,t[3]=i,t[4]=n.id,t[5]=n.kicker,t[6]=p,t[7]=m,t[8]=g,t[9]=_,t[10]=v,t[11]=b,t[12]=x,t[13]=S,t[14]=C,t[15]=w,t[16]=T,t[17]=E,t[18]=D}else p=t[6],m=t[7],g=t[8],_=t[9],v=t[10],b=t[11],x=t[12],S=t[13],C=t[14],w=t[15],T=t[16],E=t[17],D=t[18];let O;t[30]!==m||t[31]!==b||t[32]!==x||t[33]!==S||t[34]!==C?(O={font:m,letterSpacing:b,textWrap:x,maxWidth:S,...C},t[30]=m,t[31]=b,t[32]=x,t[33]=S,t[34]=C,t[35]=O):O=t[35];let k;t[36]!==c.body||t[37]!==O||t[38]!==w?(k=(0,d.jsx)(`div`,{"data-fit-tier":w,style:O,children:c.body}),t[36]=c.body,t[37]=O,t[38]=w,t[39]=k):k=t[39];let A;t[40]===f?A=t[41]:(A=(0,d.jsx)(`span`,{"aria-hidden":!0,style:{width:240,height:12,background:f,borderRadius:6,flex:`0 0 auto`}}),t[40]=f,t[41]=A);let j;t[42]!==f||t[43]!==c.attribution||t[44]!==i.fonts.body?(j=c.attribution?(0,d.jsx)(`div`,{style:{font:`700 26px/1.3 ${i.fonts.body}`,letterSpacing:`0.04em`,color:f,...o(2)},children:c.attribution}):null,t[42]=f,t[43]=c.attribution,t[44]=i.fonts.body,t[45]=j):j=t[45];let M;t[46]!==p||t[47]!==g||t[48]!==_||t[49]!==k||t[50]!==A||t[51]!==j||t[52]!==T||t[53]!==E||t[54]!==D?(M=(0,d.jsxs)(p,{slideId:T,skinId:E,outerStyle:D,style:g,children:[_,k,A,j]}),t[46]=p,t[47]=g,t[48]=_,t[49]=k,t[50]=A,t[51]=j,t[52]=T,t[53]=E,t[54]=D,t[55]=M):M=t[55];let N=`700 22px/1 ${i.fonts.body}`,P;t[56]!==u||t[57]!==N?(P={position:`absolute`,right:64,bottom:56,font:N,letterSpacing:`0.2em`,color:u,opacity:.85},t[56]=u,t[57]=N,t[58]=P):P=t[58];let F=String(a.index+1),I;t[59]===F?I=t[60]:(I=F.padStart(2,`0`),t[59]=F,t[60]=I);let L=String(a.total),R;t[61]===L?R=t[62]:(R=L.padStart(2,`0`),t[61]=L,t[62]=R);let z;t[63]!==P||t[64]!==I||t[65]!==R?(z=(0,d.jsxs)(`div`,{style:P,children:[I,` / `,R]}),t[63]=P,t[64]=I,t[65]=R,t[66]=z):z=t[66];let B;return t[67]!==v||t[68]!==M||t[69]!==z?(B=(0,d.jsxs)(`div`,{style:v,children:[M,z]}),t[67]=v,t[68]=M,t[69]=z,t[70]=B):B=t[70],B},V=e=>{let t=(0,l.c)(53),{slide:n,skin:i,ctx:s}=e,u=i.tokens,f=n.data,p,m,h,g,_,v,y,b,x,S,C,w;if(t[0]!==s||t[1]!==f.body||t[2]!==f.heading||t[3]!==i||t[4]!==n.id||t[5]!==n.kicker||t[6]!==u.ink){_=f.body.slice(0,1);let e;t[19]===f.body?e=t[20]:(e=f.body.slice(1),t[19]=f.body,t[20]=e),v=e;let l=f.heading?r(f.heading.length,a):null,T=f.body.length+160,E;t[21]===T?E=t[22]:(E=r(T,c),t[21]=T,t[22]=E),m=E,h=m.maxLines*m.size*m.line,g=/[WMQG]/i.test(_)?112:138,p=D,x=n.id,S=i,C=s,w=n.kicker,t[23]===Symbol.for(`react.memo_cache_sentinel`)?(y={maxWidth:1480,display:`flex`,flexDirection:`column`,gap:32},t[23]=y):y=t[23],b=l?(0,d.jsx)(`div`,{"data-fit-tier":l.size,style:{font:`600 ${l.size}px/${l.line} ${i.fonts.display}`,color:u.ink,textWrap:`balance`,...o(l.maxLines)},children:f.heading}):null,t[0]=s,t[1]=f.body,t[2]=f.heading,t[3]=i,t[4]=n.id,t[5]=n.kicker,t[6]=u.ink,t[7]=p,t[8]=m,t[9]=h,t[10]=g,t[11]=_,t[12]=v,t[13]=y,t[14]=b,t[15]=x,t[16]=S,t[17]=C,t[18]=w}else p=t[7],m=t[8],h=t[9],g=t[10],_=t[11],v=t[12],y=t[13],b=t[14],x=t[15],S=t[16],C=t[17],w=t[18];let T;t[24]===h?T=t[25]:(T={maxHeight:h,overflow:`hidden`},t[24]=h,t[25]=T);let E=`400 ${m.size}px/${m.line} ${i.fonts.display}`,O;t[26]!==u.muted||t[27]!==E?(O={font:E,color:u.muted,textAlign:`justify`,margin:0,overflowWrap:`anywhere`},t[26]=u.muted,t[27]=E,t[28]=O):O=t[28];let k=`600 ${g}px/0.82 ${i.fonts.display}`,A;t[29]===k?A=t[30]:(A={float:`left`,font:k,color:`var(--accent)`,marginRight:18,marginTop:8},t[29]=k,t[30]=A);let j;t[31]!==_||t[32]!==A?(j=(0,d.jsx)(`span`,{style:A,children:_}),t[31]=_,t[32]=A,t[33]=j):j=t[33];let M;t[34]!==m.size||t[35]!==v||t[36]!==j||t[37]!==O?(M=(0,d.jsxs)(`p`,{"data-fit-tier":m.size,style:O,children:[j,v]}),t[34]=m.size,t[35]=v,t[36]=j,t[37]=O,t[38]=M):M=t[38];let N;t[39]!==M||t[40]!==T?(N=(0,d.jsx)(`div`,{"data-hard-clip":`press-prose`,style:T,children:M}),t[39]=M,t[40]=T,t[41]=N):N=t[41];let P;t[42]!==y||t[43]!==N||t[44]!==b?(P=(0,d.jsxs)(`div`,{style:y,children:[b,N]}),t[42]=y,t[43]=N,t[44]=b,t[45]=P):P=t[45];let F;return t[46]!==p||t[47]!==P||t[48]!==x||t[49]!==S||t[50]!==C||t[51]!==w?(F=(0,d.jsx)(p,{slideId:x,skin:S,ctx:C,kicker:w,children:P}),t[46]=p,t[47]=P,t[48]=x,t[49]=S,t[50]=C,t[51]=w,t[52]=F):F=t[52],F},H=`https://fonts.googleapis.com/css2?`,U={name:`MAVÉA`,tagline:`A Mavéa presentation`},W={folio:{id:`folio`,label:`Folio`,archetype:`Editorial`,blurb:`Warm editorial — Newsreader serif, hairlines, a deep-pine divider.`,brand:U,decor:`none`,fonts:{href:`${H}family=Hanken+Grotesk:wght@400;500;600;700;800&family=Newsreader:ital,wght@0,400;0,500;0,600;1,400;1,500&display=swap`,display:`'Newsreader', serif`,body:`'Hanken Grotesk', sans-serif`,displayWeight:500},tokens:{paper:`#F4F1EA`,ink:`#1A1916`,muted:`#4A463D`,faint:`#8A8478`,accent:`#B98C46`,tint:`#ECE3CF`,rule:`#D8D3C7`,ruleStrong:`#1A1916`,track:`#E4DECF`,card:`#FBFAF6`,darkSurface:`#1E3A32`,darkInk:`#F4F1EA`,darkAccent:`#C9A766`,radius:4,pad:`92px 120px`,accentInk:`#8A6420`,elevation:`soft`,texture:`paper`},layouts:{}},meridian:{id:`meridian`,label:`Meridian`,archetype:`Corporate`,blurb:`Boardroom-grade — Source Serif headings, IBM Plex body, ruled and precise.`,brand:U,decor:`none`,fonts:{href:`${H}family=IBM+Plex+Sans:wght@400;500;600;700&family=Source+Serif+4:ital,wght@0,600;0,700;1,600&display=swap`,display:`'Source Serif 4', serif`,body:`'IBM Plex Sans', sans-serif`,displayWeight:700},tokens:{paper:`#FFFFFF`,ink:`#0E2235`,muted:`#5B6B7B`,faint:`#9AA6B0`,accent:`#1763C6`,accent2:`#6FA8FF`,tint:`#EAF1FB`,rule:`#D9E0E6`,ruleStrong:`#0E2235`,track:`#E6ECF1`,card:`#F7FAFD`,darkSurface:`#0E2235`,darkInk:`#FFFFFF`,darkAccent:`#6FA8FF`,radius:6,pad:`92px 120px`,elevation:`soft`},layouts:{}},noir:{id:`noir`,label:`Noir`,archetype:`Luxury`,blurb:`Black-and-gold luxury — Cormorant Garamond, centred, whisper-quiet.`,brand:U,decor:`none`,fonts:{href:`${H}family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;1,400;1,500&family=Jost:wght@400;500;600&display=swap`,display:`'Cormorant Garamond', serif`,body:`'Jost', sans-serif`,displayWeight:600},tokens:{paper:`#0C0C0D`,ink:`#F2EFE9`,muted:`rgba(242,239,233,0.62)`,faint:`rgba(242,239,233,0.4)`,accent:`#C9A227`,tint:`rgba(201,162,39,0.14)`,rule:`rgba(242,239,233,0.16)`,ruleStrong:`rgba(242,239,233,0.6)`,track:`rgba(242,239,233,0.12)`,card:`rgba(242,239,233,0.05)`,darkSurface:`#161616`,darkInk:`#F2EFE9`,darkAccent:`#C9A227`,dark:!0,radius:2,pad:`110px 150px`,texture:`linen`},layouts:{cover:R,quote:z}},north:{id:`north`,label:`North`,archetype:`Startup`,blurb:`High-energy pitch — Space Grotesk, electric blue + coral, bold geometry.`,brand:U,decor:`geo`,fonts:{href:`${H}family=Hanken+Grotesk:wght@500;700;800&family=Space+Grotesk:wght@500;700&display=swap`,display:`'Space Grotesk', sans-serif`,body:`'Hanken Grotesk', sans-serif`,displayWeight:700},tokens:{paper:`#FFFFFF`,ink:`#111111`,muted:`#444444`,faint:`#9A9A9A`,accent:`#2C4BFF`,accent2:`#FF5436`,tint:`#EAEDFF`,rule:`#E6E6E6`,ruleStrong:`#111111`,track:`#ECECEC`,card:`#FFFFFF`,darkSurface:`#2C4BFF`,darkInk:`#FFFFFF`,darkAccent:`#FF5436`,radius:18,pad:`92px 120px`,elevation:`raised`,decorStrength:1.2},layouts:{quote:B}},lumen:{id:`lumen`,label:`Lumen`,archetype:`Clinical`,blurb:`Evidence-first clinical — Libre Franklin, clinical teal, calm and trustworthy.`,brand:U,decor:`none`,fonts:{href:`${H}family=Libre+Franklin:wght@500;600;700;800&family=Newsreader:ital,wght@0,400;0,500;0,600;1,400&display=swap`,display:`'Libre Franklin', sans-serif`,body:`'Libre Franklin', sans-serif`,displayWeight:800},tokens:{paper:`#FFFFFF`,ink:`#102A33`,muted:`#4A6670`,faint:`#7E97A0`,accent:`#0E7C86`,tint:`#EAF4F4`,rule:`#DCE6E7`,ruleStrong:`#102A33`,track:`#E4EFEF`,card:`#F1F7F7`,darkSurface:`#102A33`,darkInk:`#FFFFFF`,darkAccent:`#5FC7CF`,radius:18,pad:`92px 120px`,elevation:`soft`},layouts:{}},grid:{id:`grid`,label:`Grid`,archetype:`Swiss`,blurb:`International-style — Archivo black, a visible grid, hard red, sharp edges.`,brand:U,decor:`grid`,fonts:{href:`${H}family=Archivo:wght@600;700;800;900&display=swap`,display:`'Archivo', sans-serif`,body:`'Archivo', sans-serif`,displayWeight:900,bodyWeight:600},tokens:{paper:`#FFFFFF`,ink:`#111111`,muted:`#6A6A6A`,faint:`#9A9A9A`,accent:`#E8330A`,tint:`#FDEDEA`,rule:`#ECECEC`,ruleStrong:`#111111`,track:`#ECECEC`,card:`#FFFFFF`,darkSurface:`#111111`,darkInk:`#FFFFFF`,darkAccent:`#E8330A`,radius:0,pad:`110px 120px`,accentInk:`#C92C06`,decorStrength:1.4},layouts:{}},terra:{id:`terra`,label:`Terra`,archetype:`Organic`,blurb:`Warm and crafted — DM Serif Display, clay + olive, organic shapes.`,brand:U,decor:`organic`,fonts:{href:`${H}family=DM+Serif+Display:ital@0;1&family=Hanken+Grotesk:wght@400;600;700;800&display=swap`,display:`'DM Serif Display', serif`,body:`'Hanken Grotesk', sans-serif`,displayWeight:400},tokens:{paper:`#ECE3D5`,ink:`#3A2E25`,muted:`#5A4D3F`,faint:`#8A7E6F`,accent:`#B5503A`,accent2:`#6B6A41`,tint:`#E3D8C5`,rule:`#C9BBA6`,ruleStrong:`#3A2E25`,track:`#D9CDB8`,card:`#F3ECDD`,darkSurface:`#3A2E25`,darkInk:`#ECE3D5`,darkAccent:`#E0A07F`,radius:16,pad:`96px 130px`,accentInk:`#9E4230`,elevation:`soft`,texture:`paper`},layouts:{}},cobalt:{id:`cobalt`,label:`Cobalt`,archetype:`Deep-tech`,blurb:`Data-native — Sora + Space Mono, midnight navy, teal + a dot grid.`,brand:U,decor:`dots`,fonts:{href:`${H}family=Sora:wght@500;600;700;800&family=Space+Mono:wght@400;700&display=swap`,display:`'Sora', sans-serif`,body:`'Sora', sans-serif`,mono:`'Space Mono', monospace`,displayWeight:700},tokens:{paper:`#0E1424`,ink:`#E6E9F2`,muted:`#9AA4BE`,faint:`rgba(230,233,242,0.5)`,accent:`#46E0B0`,accent2:`#6E8BFF`,tint:`rgba(70,224,176,0.12)`,rule:`rgba(110,139,255,0.24)`,ruleStrong:`rgba(230,233,242,0.6)`,track:`rgba(230,233,242,0.14)`,card:`#16203A`,darkSurface:`#16203A`,darkInk:`#E6E9F2`,darkAccent:`#46E0B0`,dark:!0,radius:18,pad:`100px 130px`,elevation:`glow`,decorStrength:1.7,flourish:`#5AF0BE`},layouts:{}},press:{id:`press`,label:`Press`,archetype:`Academic`,blurb:`Scholarly — all-serif Spectral, drop caps, a deep academic red.`,brand:U,decor:`none`,fonts:{href:`${H}family=Spectral:ital,wght@0,300;0,400;0,500;0,600;1,400;1,500&display=swap`,display:`'Spectral', serif`,body:`'Spectral', serif`,displayWeight:600,allSerif:!0},tokens:{paper:`#F3EEE3`,ink:`#221C16`,muted:`#5A4D3F`,faint:`#8A7E6F`,accent:`#6E1423`,tint:`#EFE4D5`,rule:`#D6CDBC`,ruleStrong:`#221C16`,track:`#DDD3C1`,card:`#F8F3E9`,darkSurface:`#221C16`,darkInk:`#F3EEE3`,darkAccent:`#C98A93`,radius:4,pad:`110px 150px`,texture:`paper`},layouts:{prose:V}},sol:{id:`sol`,label:`Sol`,archetype:`Classroom`,blurb:`Bright and friendly — Poppins, teal/yellow/coral, rounded and playful.`,brand:U,decor:`playful`,fonts:{href:`${H}family=Poppins:wght@500;600;700;800&display=swap`,display:`'Poppins', sans-serif`,body:`'Poppins', sans-serif`,displayWeight:800},tokens:{paper:`#FFFDF7`,ink:`#28323A`,muted:`#5C6770`,faint:`#94A0A8`,accent:`#1FA29A`,accent2:`#F4B12A`,tint:`#E3F4F2`,rule:`#E6E0D2`,ruleStrong:`#28323A`,track:`#EAE4D6`,card:`#FFF4DC`,darkSurface:`#1FA29A`,darkInk:`#FFFFFF`,darkAccent:`#FFE08A`,radius:26,pad:`92px 120px`,accentInk:`#178079`,elevation:`raised`},layouts:{}}},G=[`folio`,`meridian`,`lumen`,`press`,`grid`,`north`,`sol`,`terra`,`noir`,`cobalt`],K=[[`meridian`,/financ|business|market|invest|revenue|strateg|quarter|sales/i],[`lumen`,/health|medic|clinic|biolog|patient|disease|wellness|nutrition|fitness/i],[`press`,/research|science|academ|study|paper|theor|hypothes|literature/i],[`cobalt`,/tech|software|engineer|\bai\b|data|platform|system|architecture|code|cloud/i],[`sol`,/education|school|\blearn|classroom|\bclass\b|teach|student|\bcourse\b|lesson|kindergarten/i],[`noir`,/luxury|fashion|brand|design|premium|art\b|gallery/i],[`terra`,/food|nature|sustain|craft|travel|garden|environment|recipe|farm/i],[`north`,/startup|product|pitch|launch|growth|founder|venture/i]];function q(e){let t=e??``;for(let[e,n]of K)if(n.test(t))return e;return`folio`}export{h as _,N as a,j as c,_ as d,g as f,w as g,v as h,I as i,k as l,y as m,G as n,M as o,D as p,q as r,O as s,W as t,E as u};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as e}from"./chunk-BVpWp9h4.js";import{t}from"./react-BQSORdFI.js";import{t as n}from"./jsx-runtime-DaSxXjOY.js";import{ht as r}from"./index-y8GL67bB.js";import{n as i}from"./icons-CHVz6kv_.js";import{t as a}from"./richText-BkxJhl9N.js";import{t as o}from"./BlockEmpty-CLtVQf6c.js";import"./lib-VFqp6Y3w.js";import{t as s}from"./registry-types-DMuK0vJ6.js";import{r as c}from"./sourceHost-BV3t2XDb.js";var l=n(),u={"two-tailed":`two-tailed`,greater:`one-tailed · greater`,less:`one-tailed · less`};function d({title:e=`Hypothesis Test`,icon:t=`proof`,iconColor:n=`var(--presence)`,h0:r,h1:o,direction:s,alpha:c,variables:d,rejected:f,footer:p,delay:m}){let h=i[t]||i.proof,g=typeof f==`boolean`,_=d?.iv,v=d?.dv,y=typeof c==`number`&&Number.isFinite(c),b=s?u[s]:null;return(0,l.jsxs)(`div`,{className:`card reveal`,style:{"--delay":(m||0)+`ms`},children:[(0,l.jsxs)(`div`,{className:`card-eyebrow`,children:[(0,l.jsx)(h,{className:`ic`,style:{color:n}}),` `,e]}),(_||v||y)&&(0,l.jsxs)(`div`,{className:`hyp-meta`,children:[_&&(0,l.jsxs)(`span`,{className:`hyp-meta-chip`,children:[`IV · `,_]}),v&&(0,l.jsxs)(`span`,{className:`hyp-meta-chip`,children:[`DV · `,v]}),y&&(0,l.jsxs)(`span`,{className:`hyp-meta-chip hyp-alpha tab-num`,children:[`α = `,c]})]}),(0,l.jsxs)(`div`,{className:`hyp-stmt hyp-h0 m-fade-rise m-stagger-item`+(g?f?` rejected`:` retained`:``),style:{"--i":0},children:[(0,l.jsxs)(`div`,{className:`hyp-stmt-head`,children:[(0,l.jsx)(`span`,{className:`hyp-stmt-tag`,children:`H₀ · Null hypothesis`}),g&&(0,l.jsxs)(`span`,{className:`hyp-verdict`,children:[f?(0,l.jsx)(i.x,{className:`ic hyp-verdict-ic`}):(0,l.jsx)(i.check,{className:`ic hyp-verdict-ic`}),f?`Rejected`:`Retained`]})]}),(0,l.jsx)(`div`,{className:`hyp-stmt-body`,children:r})]}),(0,l.jsxs)(`div`,{className:`hyp-stmt hyp-h1 m-fade-rise m-stagger-item`+(g?f?` supported`:` unsupported`:``),style:{"--i":1},children:[(0,l.jsxs)(`div`,{className:`hyp-stmt-head`,children:[(0,l.jsxs)(`span`,{className:`hyp-stmt-tag`,children:[`H₁ · Alternative hypothesis`,b&&(0,l.jsx)(`span`,{className:`hyp-direction`,children:b})]}),g&&(0,l.jsxs)(`span`,{className:`hyp-verdict`,children:[f?(0,l.jsx)(i.check,{className:`ic hyp-verdict-ic`}):(0,l.jsx)(i.x,{className:`ic hyp-verdict-ic`}),f?`Supported`:`Not supported`]})]}),(0,l.jsx)(`div`,{className:`hyp-stmt-body`,children:o})]}),p&&(0,l.jsx)(`div`,{className:`insight-summary`,style:{marginTop:12},dangerouslySetInnerHTML:a(p)})]})}var f=r();function p({title:e,icon:t=`doc`,iconColor:n=`var(--presence)`,source:r,page:o,blocks:s,note:c,footer:u,delay:d}){let f=i[t]||i.doc,p=s.some(e=>e.spot);return(0,l.jsxs)(`div`,{className:`card reveal`,style:{"--delay":(d||0)+`ms`},children:[(0,l.jsxs)(`div`,{className:`card-eyebrow`,children:[(0,l.jsx)(f,{className:`ic`,style:{color:n}}),` `,e]}),(0,l.jsxs)(`div`,{className:`doc-view`+(p?` has-spot`:``),children:[(0,l.jsxs)(`div`,{className:`doc-view-bar`,children:[(0,l.jsxs)(`span`,{className:`doc-view-file`,children:[(0,l.jsx)(i.doc,{className:`doc-view-fileic`}),` `,r??`Document`]}),o&&(0,l.jsxs)(`span`,{className:`doc-view-page`,children:[`p. `,o.n,` / `,o.of]})]}),(0,l.jsxs)(`div`,{className:`doc-view-page-surface`,children:[s.map((e,t)=>(0,l.jsx)(m,{b:e,spotlit:p&&!!e.spot,dimmed:p&&!e.spot},t)),p&&c&&(0,l.jsxs)(`div`,{className:`doc-view-note`,children:[(0,l.jsx)(`span`,{className:`doc-view-note-pin`}),(0,l.jsx)(`span`,{dangerouslySetInnerHTML:a(c)})]})]})]}),u&&(0,l.jsx)(`div`,{className:`insight-summary`,style:{marginTop:12},dangerouslySetInnerHTML:a(u)})]})}function m(e){let t=(0,f.c)(8),{b:n,spotlit:r,dimmed:i}=e,o=`doc-view-${n.kind}`+(r?` spotlit`:``)+(i?` dimmed`:``),s;t[0]===n.text?s=t[1]:(s=a(n.text),t[0]=n.text,t[1]=s);let c;t[2]===r?c=t[3]:(c=r?{"data-mark":`underline`}:{},t[2]=r,t[3]=c);let u;return t[4]!==o||t[5]!==s||t[6]!==c?(u=(0,l.jsx)(`div`,{className:o,dangerouslySetInnerHTML:s,...c}),t[4]=o,t[5]=s,t[6]=c,t[7]=u):u=t[7],u}var h=t();function g(e){if(!e||typeof window>`u`)return null;try{let t=new URL(e,window.location.origin);return t.origin!==window.location.origin||t.protocol!==`http:`&&t.protocol!==`https:`||!t.pathname.toLowerCase().endsWith(`.pdf`)&&t.pathname!==`/pdf`?null:`${t.pathname}${t.search}${t.hash}`}catch{return null}}function _({title:e,icon:t=`doc`,iconColor:n=`var(--presence)`,source:r,file:o,embedSrc:s,pages:u=[],footer:d,delay:f}){let p=i[t]||i.doc,[m,_]=(0,h.useState)(1),y=(0,h.useRef)(null),b=(0,h.useRef)([]),x=g(s)??g(o),S=x?null:c(o??``);return(0,l.jsxs)(`div`,{className:`card reveal`,style:{"--delay":(f||0)+`ms`},children:[(0,l.jsxs)(`div`,{className:`card-eyebrow`,children:[(0,l.jsx)(p,{className:`ic`,style:{color:n}}),` `,e]}),(0,l.jsxs)(`div`,{className:`doc-view`,children:[(0,l.jsxs)(`div`,{className:`doc-view-bar`,children:[(0,l.jsxs)(`span`,{className:`doc-view-file`,children:[(0,l.jsx)(i.doc,{className:`doc-view-fileic`}),` `,r??`Document`]}),(0,l.jsx)(`span`,{className:`doc-view-page`,children:o?`PDF`:`p. ${m} / ${u.length}`})]}),x?(0,l.jsx)(`iframe`,{className:`pr-embed`,src:x,title:r||e,sandbox:``,referrerPolicy:`no-referrer`}):o?(0,l.jsx)(`div`,{className:`pr-file-fallback`,children:S?(0,l.jsx)(`a`,{href:S,target:`_blank`,rel:`noopener noreferrer`,children:`Open the PDF in a new tab ↗`}):(0,l.jsx)(`span`,{children:`This PDF link could not be verified.`})}):(0,l.jsx)(`div`,{className:`pr-scroll`,ref:y,onScroll:()=>{let e=y.current;if(!e)return;let t=e.scrollTop+48,n=1;for(let e=0;e<b.current.length;e++){let r=b.current[e];r&&r.offsetTop<=t&&(n=e+1)}n!==m&&_(n)},children:u.map((e,t)=>(0,l.jsxs)(`div`,{className:`pr-sheet`,ref:e=>{b.current[t]=e},children:[(0,l.jsx)(`span`,{className:`pr-sheet-no`,children:t+1}),e.blocks.map((e,t)=>(0,l.jsx)(v,{b:e},t))]},t))})]}),d&&(0,l.jsx)(`div`,{className:`insight-summary`,style:{marginTop:12},dangerouslySetInnerHTML:a(d)})]})}function v(e){let t=(0,f.c)(5),{b:n}=e,r=`doc-view-${n.kind}`,i;t[0]===n.text?i=t[1]:(i=a(n.text),t[0]=n.text,t[1]=i);let o;return t[2]!==r||t[3]!==i?(o=(0,l.jsx)(`div`,{className:r,dangerouslySetInnerHTML:i}),t[2]=r,t[3]=i,t[4]=o):o=t[4],o}function y({title:e,icon:t=`doc`,iconColor:n=`var(--presence)`,docName:r,paragraphs:o,highlights:s,footer:c,delay:u}){let d=i[t]||i.doc,[f,p]=(0,h.useState)(0),m=(0,h.useMemo)(()=>o.map((e,t)=>{let n=[];s.forEach((t,r)=>{let i=e.indexOf(t.phrase);i>=0&&n.push({s:i,e:i+t.phrase.length,h:r})}),n.sort((e,t)=>e.s-t.s);let r=[],i=0;return n.forEach((n,a)=>{n.s<i||(n.s>i&&r.push({key:`t${t}-${a}`,text:e.slice(i,n.s)}),r.push({key:`h${t}-${a}`,text:e.slice(n.s,n.e),h:n.h}),i=n.e)}),i<e.length&&r.push({key:`t${t}-end`,text:e.slice(i)}),r}),[o,s]),g=s[f];return(0,l.jsxs)(`div`,{className:`card reveal`,style:{"--delay":(u||0)+`ms`},children:[(0,l.jsxs)(`div`,{className:`card-eyebrow`,children:[(0,l.jsx)(d,{className:`ic`,style:{color:n}}),` `,e]}),(0,l.jsxs)(`div`,{className:`ad-body`,children:[(0,l.jsxs)(`div`,{className:`ad-doc`,children:[r&&(0,l.jsx)(`div`,{className:`ad-docname mono faint`,children:r}),m.map((e,t)=>(0,l.jsx)(`p`,{className:`ad-para`,children:e.map(e=>{if(e.h===void 0)return(0,l.jsx)(`span`,{children:e.text},e.key);let t=e.h,n=f===t;return(0,l.jsxs)(`span`,{className:`ad-mark ${n?`on`:``}`,style:{"--hl":s[t].color||`var(--presence)`},role:`button`,tabIndex:0,"aria-label":`Show note ${t+1}`,onMouseEnter:()=>p(t),onClick:()=>p(t),onKeyDown:e=>{(e.key===`Enter`||e.key===` `)&&(e.preventDefault(),p(t))},"data-mark":n?`underline`:void 0,children:[e.text,(0,l.jsx)(`sup`,{className:`ad-mark-num tab-num`,children:t+1})]},e.key)})},t))]}),(0,l.jsxs)(`div`,{className:`ad-margin`,children:[g&&(0,l.jsxs)(`div`,{className:`ad-note`,style:{"--hl":g.color||`var(--presence)`},children:[(0,l.jsxs)(`div`,{className:`ad-note-head`,children:[(0,l.jsx)(`span`,{className:`ad-note-num tab-num`,children:f+1}),g.author&&(0,l.jsx)(`span`,{className:`ad-note-author`,children:g.author})]}),(0,l.jsx)(`div`,{className:`ad-note-body`,dangerouslySetInnerHTML:a(g.note)})]},f),(0,l.jsx)(`div`,{className:`ad-dots`,children:s.map((e,t)=>(0,l.jsx)(`button`,{className:`ad-dot ${f===t?`on`:``}`,style:{"--hl":e.color||`var(--presence)`},onClick:()=>p(t),"aria-label":`Note ${t+1}`},t))})]})]}),c&&(0,l.jsx)(`div`,{className:`insight-summary`,style:{marginTop:12},dangerouslySetInnerHTML:a(c)})]})}function b({title:e,icon:t=`edit`,iconColor:n=`var(--presence)`,docName:r,tokens:o,footer:s,delay:c}){let u=i[t]||i.edit,[d,f]=(0,h.useState)(`review`),p=o.filter(e=>e.ins!=null).length,m=o.filter(e=>e.del!=null).length,g=p+m;return(0,l.jsxs)(`div`,{className:`card reveal`,style:{"--delay":(c||0)+`ms`},children:[(0,l.jsxs)(`div`,{className:`card-eyebrow`,children:[(0,l.jsx)(u,{className:`ic`,style:{color:n}}),` `,e]}),(0,l.jsxs)(`div`,{className:`rl-head`,children:[r&&(0,l.jsx)(`span`,{className:`rl-docname mono faint`,children:r}),(0,l.jsxs)(`span`,{className:`rl-count tab-num`,children:[(0,l.jsx)(`span`,{className:`rl-pip ins`}),p,` `,(0,l.jsx)(`span`,{className:`rl-pip del`}),m]})]}),(0,l.jsx)(`div`,{className:`rl-tabs`,children:[{id:`review`,label:`Tracked`,icon:`eye`},{id:`final`,label:`Final`,icon:`check`},{id:`original`,label:`Original`,icon:`undo`}].map(e=>{let t=i[e.icon];return(0,l.jsxs)(`button`,{className:`rl-tab ${d===e.id?`on`:``}`,onClick:()=>f(e.id),children:[(0,l.jsx)(t,{className:`ic`}),` `,e.label]},e.id)})}),(0,l.jsx)(`div`,{className:`rl-doc mode-${d}`,children:o.map((e,t)=>e.text==null?e.ins==null?e.del==null||d===`final`?null:(0,l.jsx)(`span`,{className:`rl-del`,title:e.by?`deleted by ${e.by}`:`deletion`,children:e.del},t):d===`original`?null:(0,l.jsx)(`span`,{className:`rl-ins`,title:e.by?`inserted by ${e.by}`:`insertion`,children:e.ins},t):(0,l.jsx)(`span`,{className:`rl-keep`,children:e.text},t))}),(0,l.jsxs)(`div`,{className:`rl-foot`,children:[d===`review`&&(0,l.jsxs)(`span`,{className:`rl-hint faint`,children:[g,` tracked change`,g===1?``:`s`,` — switch views to accept or reject`]}),d===`final`&&(0,l.jsx)(`span`,{className:`rl-hint`,style:{color:`var(--insight)`},children:`Accepted — showing final copy`}),d===`original`&&(0,l.jsx)(`span`,{className:`rl-hint`,style:{color:`var(--text-muted)`},children:`Rejected — showing original copy`})]}),s&&(0,l.jsx)(`div`,{className:`insight-summary`,style:{marginTop:12},dangerouslySetInnerHTML:a(s)})]})}var x={strong:{c:`var(--insight)`,t:`strong`},partial:{c:`var(--warning)`,t:`partial`},weak:{c:`var(--danger)`,t:`weak`}};function S({node:e,path:t,depth:n}){let r=!!(e.children&&e.children.length),[o,s]=(0,h.useState)(n<2),c=e.color||(n===0?`var(--presence)`:`var(--insight)`),u=e.strength?x[e.strength]:null;return(0,l.jsxs)(`div`,{className:`cc-node`,style:{"--rail":c},children:[(0,l.jsxs)(`button`,{className:`cc-row ${o?`open`:``} ${r?`has-kids`:`leaf`}`,onClick:()=>r&&s(e=>!e),children:[(0,l.jsx)(`span`,{className:`cc-bullet`,style:{background:c},...n===0?{"data-mark":`circle`}:{}}),r&&(0,l.jsx)(i.chevR,{className:`cc-chev ${o?`open`:``}`}),(0,l.jsx)(`span`,{className:`cc-label`,dangerouslySetInnerHTML:a(e.label)}),e.cite&&(0,l.jsxs)(`span`,{className:`cc-cite mono`,children:[(0,l.jsx)(i.link,{className:`cc-cite-ic`}),e.cite]}),u&&(0,l.jsx)(`span`,{className:`cc-strength`,style:{color:u.c,"--sc":u.c},children:u.t})]}),r&&(0,l.jsx)(`div`,{className:`cc-kids`,"data-open":o,children:o&&e.children.map((e,r)=>(0,l.jsx)(S,{node:e,path:`${t}-${r}`,depth:n+1},`${t}-${r}`))})]})}function ee({title:e,icon:t=`layers`,iconColor:n=`var(--presence)`,root:r,footer:o,delay:s}){let c=i[t]||i.layers;return(0,l.jsxs)(`div`,{className:`card reveal`,style:{"--delay":(s||0)+`ms`},children:[(0,l.jsxs)(`div`,{className:`card-eyebrow`,children:[(0,l.jsx)(c,{className:`ic`,style:{color:n}}),` `,e]}),(0,l.jsx)(`div`,{className:`cc-tree`,children:(0,l.jsx)(S,{node:r,path:`r`,depth:0})}),o&&(0,l.jsx)(`div`,{className:`insight-summary`,style:{marginTop:12},dangerouslySetInnerHTML:a(o)})]})}var C={true:{c:`var(--insight)`,label:`Verified`,icon:`check`},partly:{c:`var(--warning)`,label:`Partly true`,icon:`alert`},false:{c:`var(--danger)`,label:`False`,icon:`x`},unverified:{c:`var(--text-muted)`,label:`Unverified`,icon:`eyeOff`}};function te({title:e,icon:t=`proof`,iconColor:n=`var(--insight)`,claims:r,footer:o,delay:s}){let c=i[t]||i.proof,[u,d]=(0,h.useState)(0);return(0,l.jsxs)(`div`,{className:`card reveal`,style:{"--delay":(s||0)+`ms`},children:[(0,l.jsxs)(`div`,{className:`card-eyebrow`,children:[(0,l.jsx)(c,{className:`ic`,style:{color:n}}),` `,e]}),(0,l.jsx)(`div`,{className:`fc-list`,children:r.map((e,t)=>{let n=C[e.verdict],r=i[n.icon],o=u===t;return(0,l.jsxs)(`div`,{className:`fc-item ${o?`on`:``}`,style:{"--vc":n.c},children:[(0,l.jsxs)(`button`,{className:`fc-head`,onClick:()=>d(o?null:t),children:[(0,l.jsx)(`span`,{className:`fc-verdict`,style:{color:n.c},children:(0,l.jsx)(r,{className:`fc-verdict-ic`})}),(0,l.jsx)(`span`,{className:`fc-claim`,dangerouslySetInnerHTML:a(e.claim)}),(0,l.jsxs)(`span`,{className:`fc-conf tab-num`,style:{color:n.c},children:[Math.round(e.confidence),`%`]}),(0,l.jsx)(i.chevR,{className:`fc-chev ${o?`open`:``}`})]}),(0,l.jsx)(`div`,{className:`fc-bar`,children:(0,l.jsx)(`span`,{className:`fc-bar-fill`,style:{width:e.confidence+`%`,background:n.c}})}),(0,l.jsx)(`div`,{className:`fc-detail`,"data-open":o,children:o&&(0,l.jsxs)(`div`,{className:`fc-detail-in`,children:[(0,l.jsx)(`span`,{className:`fc-tag`,style:{color:n.c,"--vc":n.c},children:n.label}),e.detail&&(0,l.jsx)(`div`,{className:`fc-expl`,dangerouslySetInnerHTML:a(e.detail)}),e.sources&&e.sources.length>0&&(0,l.jsx)(`div`,{className:`fc-sources`,children:e.sources.map((e,t)=>(0,l.jsxs)(`span`,{className:`fc-source mono`,children:[(0,l.jsx)(i.globe,{className:`fc-source-ic`}),` `,e]},t))})]})})]},t)})}),o&&(0,l.jsx)(`div`,{className:`insight-summary`,style:{marginTop:12},dangerouslySetInnerHTML:a(o)})]})}var w={strong:`var(--insight)`,partial:`var(--warning)`,weak:`var(--danger)`,none:`var(--text-muted)`},T={strong:1,partial:.6,weak:.3,none:0};function E({title:e,icon:t=`shield`,iconColor:n=`var(--insight)`,claim:r,overall:o,segments:s,footer:c,delay:u}){let d=i[t]||i.shield,f=s.reduce((e,t,n)=>{let r=(t.weight||0)*T[t.band||`partial`];return r>e.score?{i:n,score:r}:e},{i:0,score:-1}).i,[p,m]=(0,h.useState)(f),g=s.reduce((e,t)=>e+(t.weight||0),0)||1,_=o??Math.round(s.reduce((e,t)=>e+(t.weight||0)*T[t.band||`partial`],0)/g*100),v=_>=75?`var(--insight)`:_>=45?`var(--warning)`:`var(--danger)`,y=s[p];return(0,l.jsxs)(`div`,{className:`card reveal`,style:{"--delay":(u||0)+`ms`},children:[(0,l.jsxs)(`div`,{className:`card-eyebrow`,children:[(0,l.jsx)(d,{className:`ic`,style:{color:n}}),` `,e]}),r&&(0,l.jsx)(`div`,{className:`cm-claim`,dangerouslySetInnerHTML:a(r)}),(0,l.jsxs)(`div`,{className:`insight-stat`,style:{margin:`8px 0 10px`},children:[(0,l.jsxs)(`span`,{className:`big tab-num`,"data-mark":`underline`,style:{color:v},children:[_,`%`]}),(0,l.jsx)(`span`,{className:`cm-conf-label faint`,children:`overall confidence`})]}),(0,l.jsx)(`div`,{className:`cm-track`,children:s.map((e,t)=>{let n=w[e.band||`partial`],r=(e.weight||0)/g*100;return(0,l.jsx)(`button`,{className:`cm-seg ${p===t?`on`:``}`,style:{width:r+`%`,"--c":n},onMouseEnter:()=>m(t)},t)})}),(0,l.jsx)(`div`,{className:`cm-legend`,children:s.map((e,t)=>{let n=w[e.band||`partial`];return(0,l.jsxs)(`button`,{className:`cm-leg ${p===t?`on`:``}`,onMouseEnter:()=>m(t),children:[(0,l.jsx)(`span`,{className:`cm-leg-dot`,style:{background:n}}),(0,l.jsx)(`span`,{className:`cm-leg-label`,children:e.label})]},t)})}),y&&(0,l.jsxs)(`div`,{className:`cm-basis`,style:{"--c":w[y.band||`partial`]},children:[(0,l.jsxs)(`div`,{className:`cm-basis-head`,children:[(0,l.jsx)(`span`,{className:`cm-basis-name`,children:y.label}),(0,l.jsxs)(`span`,{className:`cm-basis-band tab-num`,children:[Math.round(y.weight/g*100),`% weight`]})]}),y.basis&&(0,l.jsx)(`div`,{className:`cm-basis-body`,dangerouslySetInnerHTML:a(y.basis)})]},p),c&&(0,l.jsx)(`div`,{className:`insight-summary`,style:{marginTop:12},dangerouslySetInnerHTML:a(c)})]})}function D({title:e,icon:t=`quote`,iconColor:n=`var(--presence)`,quote:r,phrase:o,source:s,locator:c,color:u=`var(--presence)`,footer:d,delay:f}){let p=i[t]||i.quote,[m,g]=(0,h.useState)(!0),_=o?r.indexOf(o):-1,v;return v=_>=0?(0,l.jsxs)(l.Fragment,{children:[r.slice(0,_),(0,l.jsx)(`mark`,{className:`hs-mark ${m?`on`:``}`,style:{"--hl":u},children:r.slice(_,_+o.length)}),r.slice(_+o.length)]}):r,(0,l.jsxs)(`div`,{className:`card reveal`,style:{"--delay":(f||0)+`ms`},children:[(0,l.jsxs)(`div`,{className:`card-eyebrow`,children:[(0,l.jsx)(p,{className:`ic`,style:{color:n}}),` `,e]}),(0,l.jsxs)(`figure`,{className:`hs-fig`,style:{"--hl":u},children:[(0,l.jsx)(`span`,{className:`hs-quote-glyph`,children:`“`}),(0,l.jsx)(`blockquote`,{className:`hs-quote`,children:v})]}),(0,l.jsxs)(`div`,{className:`hs-foot`,children:[s&&(0,l.jsxs)(`span`,{className:`hs-chip mono`,children:[(0,l.jsx)(i.globe,{className:`hs-chip-ic`}),` `,s,c&&(0,l.jsxs)(`span`,{className:`hs-loc faint`,children:[` · `,c]})]}),(0,l.jsxs)(`button`,{className:`hs-toggle ${m?`on`:``}`,onClick:()=>g(e=>!e),style:{"--hl":u},children:[m?(0,l.jsx)(i.eye,{className:`hs-toggle-ic`}):(0,l.jsx)(i.eyeOff,{className:`hs-toggle-ic`}),m?`Highlighted`:`Plain`]})]}),d&&(0,l.jsx)(`div`,{className:`insight-summary`,style:{marginTop:12},dangerouslySetInnerHTML:a(d)})]})}function O({title:e,icon:t=`image`,iconColor:n=`var(--presence)`,caption:r,ratio:o=16/9,callouts:s,footer:c,delay:u}){let d=i[t]||i.image,[f,p]=(0,h.useState)(0),m=s[f],g=m?.color||`var(--presence)`;return(0,l.jsxs)(`div`,{className:`card reveal`,style:{"--delay":(u||0)+`ms`},children:[(0,l.jsxs)(`div`,{className:`card-eyebrow`,children:[(0,l.jsx)(d,{className:`ic`,style:{color:n}}),` `,e]}),(0,l.jsxs)(`div`,{className:`ac-surface`,style:{aspectRatio:String(o)},children:[(0,l.jsxs)(`svg`,{className:`ac-bg`,viewBox:`0 0 160 90`,preserveAspectRatio:`none`,"aria-hidden":!0,children:[(0,l.jsx)(`defs`,{children:(0,l.jsxs)(`linearGradient`,{id:`acg`,x1:`0`,y1:`0`,x2:`1`,y2:`1`,children:[(0,l.jsx)(`stop`,{offset:`0%`,stopColor:`var(--grid-strong)`}),(0,l.jsx)(`stop`,{offset:`100%`,stopColor:`var(--grid-line)`})]})}),(0,l.jsx)(`rect`,{x:`0`,y:`0`,width:`160`,height:`90`,fill:`url(#acg)`}),[18,36,54,72].map(e=>(0,l.jsx)(`line`,{x1:`10`,y1:e,x2:`150`,y2:e,stroke:`var(--grid-line)`,strokeWidth:`0.6`},e)),[40,80,120].map(e=>(0,l.jsx)(`line`,{x1:e,y1:`8`,x2:e,y2:`82`,stroke:`var(--grid-line)`,strokeWidth:`0.6`},e))]}),s.map((e,t)=>{let n=e.color||`var(--presence)`;return(0,l.jsxs)(`button`,{className:`ac-pin ${f===t?`on`:``}`,style:{left:e.x+`%`,top:e.y+`%`,"--pc":n},onMouseEnter:()=>p(t),onClick:()=>p(t),"aria-label":e.label,"data-mark":t===0?`point`:void 0,children:[(0,l.jsx)(`span`,{className:`ac-pin-ring`}),(0,l.jsx)(`span`,{className:`ac-pin-num tab-num`,children:t+1})]},t)})]}),r&&(0,l.jsx)(`div`,{className:`ac-caption faint`,children:r}),m&&(0,l.jsxs)(`div`,{className:`ac-note`,style:{"--pc":g},children:[(0,l.jsx)(`span`,{className:`ac-note-num tab-num`,children:f+1}),(0,l.jsxs)(`div`,{className:`ac-note-text`,children:[(0,l.jsx)(`span`,{className:`ac-note-label`,children:m.label}),(0,l.jsx)(`span`,{className:`ac-note-body`,dangerouslySetInnerHTML:a(m.note)})]})]},f),(0,l.jsx)(`div`,{className:`ac-thumbs`,children:s.map((e,t)=>(0,l.jsx)(`button`,{className:`ac-thumb tab-num ${f===t?`on`:``}`,style:{"--pc":e.color||`var(--presence)`},onClick:()=>p(t),children:t+1},t))}),c&&(0,l.jsx)(`div`,{className:`insight-summary`,style:{marginTop:12},dangerouslySetInnerHTML:a(c)})]})}function ne({title:e,icon:t=`globe`,iconColor:n=`var(--presence)`,sources:r,footer:o,delay:s}){let c=i[t]||i.globe,[u,d]=(0,h.useState)(`relevance`),[f,p]=(0,h.useState)(0),m=(0,h.useMemo)(()=>{let e=r.map((e,t)=>t);return e.sort((e,t)=>u===`relevance`?r[t].relevance-r[e].relevance:r[e].domain.localeCompare(r[t].domain)),e},[r,u]);return(0,l.jsxs)(`div`,{className:`card reveal`,style:{"--delay":(s||0)+`ms`},children:[(0,l.jsxs)(`div`,{className:`card-eyebrow`,children:[(0,l.jsx)(c,{className:`ic`,style:{color:n}}),` `,e]}),(0,l.jsxs)(`div`,{className:`sl-tabs`,children:[(0,l.jsxs)(`button`,{className:`sl-tab ${u===`relevance`?`on`:``}`,onClick:()=>d(`relevance`),children:[(0,l.jsx)(i.chart,{className:`ic`}),` Relevance`]}),(0,l.jsxs)(`button`,{className:`sl-tab ${u===`az`?`on`:``}`,onClick:()=>d(`az`),children:[(0,l.jsx)(i.doc,{className:`ic`}),` A–Z`]}),(0,l.jsxs)(`span`,{className:`sl-total faint tab-num`,children:[r.length,` sources`]})]}),(0,l.jsx)(`div`,{className:`sl-list`,children:m.map((e,t)=>{let n=r[e],o=n.color||`var(--presence)`,s=n.glyph||n.domain.replace(/^www\./,``).charAt(0).toUpperCase(),c=f===e;return(0,l.jsxs)(`div`,{className:`sl-row ${c?`on`:``}`,children:[(0,l.jsxs)(`button`,{className:`sl-head`,onClick:()=>p(c?null:e),children:[(0,l.jsx)(`span`,{className:`sl-rank tab-num`,children:t+1}),(0,l.jsx)(`span`,{className:`sl-fav`,style:{"--fc":o,background:`color-mix(in oklab, ${o} 22%, transparent)`,color:o},children:s}),(0,l.jsxs)(`span`,{className:`sl-main`,children:[(0,l.jsx)(`span`,{className:`sl-title`,children:n.titleText}),(0,l.jsxs)(`span`,{className:`sl-domain mono faint`,children:[n.domain,n.date&&(0,l.jsxs)(`span`,{className:`sl-date`,children:[` · `,n.date]})]})]}),(0,l.jsxs)(`span`,{className:`sl-rel`,children:[(0,l.jsx)(`span`,{className:`sl-rel-track`,children:(0,l.jsx)(`span`,{className:`sl-rel-fill`,style:{width:n.relevance+`%`,background:o}})}),(0,l.jsx)(`span`,{className:`sl-rel-num tab-num`,style:{color:o},children:Math.round(n.relevance)})]}),(0,l.jsx)(i.chevR,{className:`sl-chev ${c?`open`:``}`})]}),(0,l.jsxs)(`div`,{className:`sl-detail`,"data-open":c,children:[c&&n.snippet&&(0,l.jsx)(`div`,{className:`sl-snippet`,dangerouslySetInnerHTML:a(n.snippet)}),c&&(0,l.jsxs)(`span`,{className:`sl-open mono`,children:[(0,l.jsx)(i.external,{className:`sl-open-ic`}),` `,n.domain]})]})]},e)})}),o&&(0,l.jsx)(`div`,{className:`insight-summary`,style:{marginTop:12},dangerouslySetInnerHTML:a(o)})]})}var k={yes:{c:`var(--insight)`,icon:`check`,t:`Supported`},no:{c:`var(--danger)`,icon:`x`,t:`Contradicted`},partial:{c:`var(--warning)`,icon:`alert`,t:`Partial`},na:{c:`var(--text-muted)`,icon:null,t:`No data`}};function re({title:e,icon:t=`table`,iconColor:n=`var(--presence)`,columns:r,rows:o,footer:s,delay:c}){let u=i[t]||i.table,[d,f]=(0,h.useState)({r:0,c:0}),p=d&&o[d.r]&&o[d.r].cells[d.c]?o[d.r].cells[d.c]:null,m=p?k[p.state]:null;return(0,l.jsxs)(`div`,{className:`card reveal`,style:{"--delay":(c||0)+`ms`},children:[(0,l.jsxs)(`div`,{className:`card-eyebrow`,children:[(0,l.jsx)(u,{className:`ic`,style:{color:n}}),` `,e]}),(0,l.jsx)(`div`,{className:`cg-scroll`,children:(0,l.jsxs)(`table`,{className:`cg-table`,style:{"--cols":r.length},children:[(0,l.jsx)(`thead`,{children:(0,l.jsxs)(`tr`,{children:[(0,l.jsx)(`th`,{className:`cg-corner`}),r.map((e,t)=>(0,l.jsx)(`th`,{className:`cg-colh`,children:(0,l.jsx)(`span`,{children:e})},t))]})}),(0,l.jsx)(`tbody`,{children:o.map((e,t)=>(0,l.jsxs)(`tr`,{children:[(0,l.jsx)(`th`,{className:`cg-rowh`,scope:`row`,children:e.claim}),r.map((n,r)=>{let a=e.cells[r]?.state??`na`,o=k[a],s=o.icon?i[o.icon]:null;return(0,l.jsx)(`td`,{className:`cg-cell ${a} ${d?.r===t&&d?.c===r?`on`:``}`,style:{"--cc":o.c},onMouseEnter:()=>f({r:t,c:r}),children:(0,l.jsx)(`span`,{className:`cg-mark`,children:s?(0,l.jsx)(s,{className:`cg-mark-ic`}):(0,l.jsx)(`span`,{className:`cg-dash`,children:`–`})})},r)})]},t))})]})}),p&&m&&(0,l.jsxs)(`div`,{className:`cg-tip`,style:{"--cc":m.c},children:[(0,l.jsx)(`span`,{className:`cg-tip-tag`,style:{color:m.c},children:m.t}),p.note?(0,l.jsx)(`span`,{className:`cg-tip-note`,dangerouslySetInnerHTML:a(p.note)}):(0,l.jsxs)(`span`,{className:`cg-tip-note faint`,children:[o[d.r].claim,` × `,r[d.c]]})]}),s&&(0,l.jsx)(`div`,{className:`insight-summary`,style:{marginTop:12},dangerouslySetInnerHTML:a(s)})]})}function A(e,t,n,r){e.forEach((e,i)=>{let a=`${n}-${i}`,o=!!(e.children&&e.children.length);r.push({node:e,depth:t,path:a,hasKids:o,index:r.length}),o&&A(e.children,t+1,a,r)})}function ie({title:e,icon:t=`doc`,iconColor:n=`var(--presence)`,docName:r,sections:o,activeIndex:s=0,footer:c,delay:u}){let d=i[t]||i.doc,f=(0,h.useMemo)(()=>{let e=[];return A(o,0,`o`,e),e},[o]),[p,m]=(0,h.useState)(Math.max(0,Math.min(s,f.length-1))),[g,_]=(0,h.useState)({}),v=Math.max(1,...f.map(e=>e.node.weight||0)),y=e=>Object.keys(g).some(t=>g[t]&&e!==t&&e.startsWith(t+`-`)),b=f.length,x=p+1;return(0,l.jsxs)(`div`,{className:`card reveal`,style:{"--delay":(u||0)+`ms`},children:[(0,l.jsxs)(`div`,{className:`card-eyebrow`,children:[(0,l.jsx)(d,{className:`ic`,style:{color:n}}),` `,e]}),(0,l.jsxs)(`div`,{className:`do-head`,children:[r&&(0,l.jsx)(`span`,{className:`do-docname mono faint`,children:r}),(0,l.jsxs)(`span`,{className:`do-progress tab-num faint`,children:[(0,l.jsx)(`span`,{style:{color:`var(--presence)`},children:x}),`/`,b]})]}),(0,l.jsx)(`div`,{className:`do-list`,children:f.map(e=>{if(y(e.path))return null;let t=p===e.index,n=t?`var(--presence)`:`var(--text-muted)`,r=!!g[e.path],a=(e.node.weight||0)/v*100;return(0,l.jsxs)(`div`,{className:`do-row ${t?`on`:``}`,style:{"--depth":Math.min(e.depth,6)},children:[(0,l.jsx)(`span`,{className:`do-rail`}),e.hasKids?(0,l.jsx)(`button`,{className:`do-twist`,onClick:t=>{t.stopPropagation(),_(t=>({...t,[e.path]:!t[e.path]}))},"aria-label":r?`expand`:`collapse`,children:(0,l.jsx)(i.chevR,{className:`do-twist-ic ${r?``:`open`}`})}):(0,l.jsx)(`span`,{className:`do-dot`,style:{background:n},...t?{"data-mark":`point`}:{}}),(0,l.jsxs)(`button`,{className:`do-jump`,onClick:()=>m(e.index),children:[(0,l.jsx)(`span`,{className:`do-heading`,children:e.node.heading}),(e.node.weight??0)>0&&(0,l.jsx)(`span`,{className:`do-wbar`,children:(0,l.jsx)(`span`,{className:`do-wfill`,style:{width:a+`%`}})}),e.node.loc&&(0,l.jsx)(`span`,{className:`do-loc mono faint`,children:e.node.loc})]})]},e.path)})}),c&&(0,l.jsx)(`div`,{className:`insight-summary`,style:{marginTop:12},dangerouslySetInnerHTML:a(c)})]})}var ae={add:`+`,del:`−`,ctx:` `};function j({title:e,icon:t=`doc`,iconColor:n=`var(--presence)`,leftLabel:r=`before`,rightLabel:o=`after`,lines:s,split:c=!1,footer:u,delay:d}){let f=i[t]||i.doc,p=s.filter(e=>e.kind===`add`).length,m=s.filter(e=>e.kind===`del`).length;return(0,l.jsxs)(`div`,{className:`card reveal`,style:{"--delay":(d||0)+`ms`},children:[(0,l.jsxs)(`div`,{className:`card-eyebrow`,children:[(0,l.jsx)(f,{className:`ic`,style:{color:n}}),` `,e]}),(0,l.jsxs)(`div`,{className:`dc-diff-head`,children:[(0,l.jsxs)(`span`,{className:`dc-diff-files`,children:[r,` `,(0,l.jsx)(i.chevR,{className:`dc-diff-arrow`}),` `,o]}),(0,l.jsxs)(`span`,{className:`dc-diff-stat`,children:[(0,l.jsxs)(`span`,{className:`add`,"data-mark":`underline`,children:[`+`,p]}),` `,(0,l.jsxs)(`span`,{className:`del`,children:[`−`,m]})]})]}),(0,l.jsx)(`div`,{className:`dc-diff`,children:c?(0,l.jsxs)(`div`,{className:`dc-diff-split`,children:[(0,l.jsx)(`div`,{className:`dc-diff-body`,children:s.filter(e=>e.kind!==`add`).map((e,t)=>(0,l.jsxs)(`div`,{className:`dc-diff-line `+(e.kind===`del`?`del`:`ctx`),children:[(0,l.jsx)(`span`,{className:`dc-diff-gut`,children:e.oldNo??``}),(0,l.jsx)(`span`,{className:`dc-diff-code`,children:e.text})]},t))}),(0,l.jsx)(`div`,{className:`dc-diff-body`,children:s.filter(e=>e.kind!==`del`).map((e,t)=>(0,l.jsxs)(`div`,{className:`dc-diff-line `+(e.kind===`add`?`add`:`ctx`),children:[(0,l.jsx)(`span`,{className:`dc-diff-gut`,children:e.newNo??``}),(0,l.jsx)(`span`,{className:`dc-diff-code`,children:e.text})]},t))})]}):(0,l.jsx)(`div`,{className:`dc-diff-body`,role:`table`,children:s.map((e,t)=>(0,l.jsxs)(`div`,{className:`dc-diff-line `+e.kind,role:`row`,children:[(0,l.jsx)(`span`,{className:`dc-diff-gut`,children:e.oldNo??``}),(0,l.jsx)(`span`,{className:`dc-diff-gut`,children:e.newNo??``}),(0,l.jsx)(`span`,{className:`dc-diff-sign`,children:ae[e.kind]}),(0,l.jsx)(`span`,{className:`dc-diff-code`,children:e.text})]},t))})}),u&&(0,l.jsx)(`div`,{className:`insight-summary`,style:{marginTop:10},dangerouslySetInnerHTML:a(u)})]})}function M({title:e,icon:t=`layers`,iconColor:n=`var(--presence)`,columns:r,rows:o,caption:s,footer:c,delay:u}){let d=i[t]||i.layers,f=r.length||1,p=`repeat(${f}, minmax(0, 1fr))`,m=o.filter(e=>e.diverge).length;return(0,l.jsxs)(`div`,{className:`card reveal`,style:{"--delay":(u||0)+`ms`},children:[e&&(0,l.jsxs)(`div`,{className:`card-eyebrow`,children:[(0,l.jsx)(d,{className:`ic`,style:{color:n}}),` `,e]}),s&&(0,l.jsx)(`div`,{className:`pt-caption`,children:s}),(0,l.jsx)(`div`,{className:`pt-scroll`,children:(0,l.jsxs)(`div`,{className:`pt-grid`,style:{"--pt-cols":p},children:[(0,l.jsx)(`div`,{className:`pt-headrow`,style:{gridTemplateColumns:p},children:r.map((e,t)=>(0,l.jsxs)(`div`,{className:`pt-colh`+(t===0?` source`:``),children:[(0,l.jsx)(`span`,{className:`pt-colh-label`,children:e.label}),e.lang&&(0,l.jsx)(`span`,{className:`pt-colh-lang mono`,children:e.lang})]},t))}),o.map((e,t)=>(0,l.jsxs)(`div`,{className:`pt-line`+(e.diverge?` diverge`:``),children:[(0,l.jsx)(`div`,{className:`pt-cells`,style:{gridTemplateColumns:p},children:Array.from({length:f},(t,n)=>(0,l.jsx)(`div`,{className:`pt-cell`+(n===0?` source`:``),children:e.cells[n]??``},n))}),e.note&&(0,l.jsxs)(`div`,{className:`pt-note`,children:[(0,l.jsx)(`span`,{className:`pt-note-rail`,"aria-hidden":`true`}),(0,l.jsx)(`span`,{className:`pt-note-text`,children:e.note})]})]},t))]})}),(c||m>0)&&(0,l.jsxs)(`div`,{className:`pt-foot`,children:[m>0&&(0,l.jsxs)(`span`,{className:`pt-foot-tag`,children:[(0,l.jsx)(`span`,{className:`pt-foot-pip`,"aria-hidden":`true`}),m,` divergence`,m===1?``:`s`]}),c&&(0,l.jsx)(`span`,{className:`pt-foot-note`,dangerouslySetInnerHTML:a(c)})]})]})}var N={symptom:`var(--warning)`,diagnosis:`var(--presence)`,treatment:`var(--insight)`,test:`var(--text-secondary)`,result:`var(--text-primary)`,visit:`var(--text-muted)`},P={symptom:`alert`,diagnosis:`proof`,treatment:`sparkle`,test:`chart`,result:`check`,visit:`clock`};function F({title:e,icon:t=`doc`,iconColor:n=`var(--presence)`,events:r,footer:o,delay:s}){let c=i[t]||i.doc;return(0,l.jsxs)(`div`,{className:`card reveal`,style:{"--delay":(s||0)+`ms`},children:[(0,l.jsxs)(`div`,{className:`card-eyebrow`,children:[(0,l.jsx)(c,{className:`ic`,style:{color:n}}),` `,e]}),(0,l.jsx)(`div`,{className:`ct-events`,children:r.map((e,t)=>{let n=N[e.type],a=i[P[e.type]]||i.clock;return(0,l.jsxs)(`div`,{className:`ct-event`,children:[(0,l.jsxs)(`div`,{className:`ct-rail`,children:[(0,l.jsx)(`div`,{className:`ct-dot`,style:{background:n,borderColor:n}}),t<r.length-1&&(0,l.jsx)(`div`,{className:`ct-line`})]}),(0,l.jsxs)(`div`,{className:`ct-body`,children:[(0,l.jsxs)(`div`,{className:`ct-header`,children:[(0,l.jsxs)(`span`,{className:`ct-type-chip`,style:{color:n,background:`color-mix(in oklab, ${n} 12%, transparent)`},children:[(0,l.jsx)(a,{className:`ic`,style:{width:10,height:10}}),e.type]}),(0,l.jsx)(`span`,{className:`ct-date`,children:e.date})]}),(0,l.jsx)(`div`,{className:`ct-label`,children:e.label}),e.note&&(0,l.jsx)(`div`,{className:`ct-note`,children:e.note})]})]},t)})}),o&&(0,l.jsx)(`div`,{className:`insight-summary`,style:{marginTop:12},dangerouslySetInnerHTML:a(o)})]})}function I({title:e,icon:t=`doc`,iconColor:n=`var(--presence)`,question:r,method:o,sampleSize:s,findings:c,conclusion:u,limitations:d,source:f,year:p,footer:m,delay:h}){let g=i[t]||i.doc;return(0,l.jsxs)(`div`,{className:`card reveal`,style:{"--delay":(h||0)+`ms`},children:[(0,l.jsxs)(`div`,{className:`card-eyebrow`,children:[(0,l.jsx)(g,{className:`ic`,style:{color:n}}),` `,e]}),(0,l.jsx)(`div`,{className:`rs-question`,children:r}),(o||s)&&(0,l.jsxs)(`div`,{className:`rs-meta`,children:[o&&(0,l.jsx)(`span`,{className:`rs-meta-chip`,children:o}),s&&(0,l.jsx)(`span`,{className:`rs-meta-chip`,children:s}),p&&(0,l.jsx)(`span`,{className:`rs-meta-chip`,children:p})]}),(0,l.jsxs)(`div`,{className:`rs-findings`,children:[(0,l.jsx)(`div`,{className:`rs-section-label`,children:`Key Findings`}),(0,l.jsx)(`ul`,{className:`rs-findings-list`,children:c.map((e,t)=>(0,l.jsx)(`li`,{className:`rs-finding`,children:e},t))})]}),(0,l.jsxs)(`div`,{className:`rs-conclusion`,children:[(0,l.jsx)(`div`,{className:`rs-section-label`,children:`Conclusion`}),(0,l.jsx)(`div`,{className:`rs-conclusion-body`,children:u})]}),d&&(0,l.jsxs)(`div`,{className:`rs-limitations`,children:[(0,l.jsx)(`div`,{className:`rs-section-label`,children:`Limitations`}),(0,l.jsx)(`div`,{className:`rs-limitations-body`,children:d})]}),f&&(0,l.jsx)(`div`,{className:`rs-source`,children:f}),m&&(0,l.jsx)(`div`,{className:`insight-summary`,style:{marginTop:12},dangerouslySetInnerHTML:a(m)})]})}var L={pass:{color:`var(--insight)`,label:`Met`,icon:`check`},fail:{color:`var(--danger)`,label:`Not met`,icon:`x`},"needs-info":{color:`var(--warning)`,label:`Needs info`,icon:`alert`}},R={likely:{color:`var(--insight)`,label:`Likely qualify`},"not-yet":{color:`var(--danger)`,label:`Do not qualify yet`},depends:{color:`var(--warning)`,label:`Depends`}};function z({title:e,icon:t=`proof`,iconColor:n=`var(--insight)`,requirements:r,overall:o,caveat:s,footer:c,delay:u}){let d=i[t]||i.proof,f=r??[],p=o?R[o]:void 0;return(0,l.jsxs)(`div`,{className:`card reveal`,style:{"--delay":(u||0)+`ms`},children:[(0,l.jsxs)(`div`,{className:`card-eyebrow`,children:[(0,l.jsx)(d,{className:`ic`,style:{color:n}}),` `,e]}),p&&(0,l.jsxs)(`div`,{className:`ec-overall`,style:{"--eo":p.color},children:[(0,l.jsx)(`span`,{className:`ec-overall-label`,children:`Overall`}),(0,l.jsx)(`span`,{className:`ec-overall-verdict`,children:p.label})]}),(0,l.jsx)(`ul`,{className:`ec-list`,children:f.map((e,t)=>{let n=L[e.status]??L[`needs-info`],r=i[n.icon]||i.alert;return(0,l.jsxs)(`li`,{className:`ec-row`,style:{"--es":n.color},children:[(0,l.jsx)(`span`,{className:`ec-mark`,children:(0,l.jsx)(r,{className:`ec-mark-ic`})}),(0,l.jsxs)(`div`,{className:`ec-body`,children:[(0,l.jsxs)(`div`,{className:`ec-rule-line`,children:[(0,l.jsx)(`span`,{className:`ec-rule`,children:e.rule}),(0,l.jsx)(`span`,{className:`ec-badge`,children:n.label})]}),e.detail&&(0,l.jsx)(`div`,{className:`ec-detail`,children:e.detail}),e.fix&&(0,l.jsxs)(`div`,{className:`ec-fix`,children:[(0,l.jsx)(`span`,{className:`ec-fix-tag`,children:e.status===`fail`?`To qualify`:`Confirm`}),(0,l.jsx)(`span`,{children:e.fix})]})]})]},t)})}),s&&(0,l.jsxs)(`div`,{className:`ec-caveat`,children:[(0,l.jsx)(i.shield,{className:`ec-caveat-ic`}),(0,l.jsx)(`span`,{children:s})]}),c&&(0,l.jsx)(`div`,{className:`insight-summary`,style:{marginTop:12},dangerouslySetInnerHTML:a(c)})]})}var B=6;function V({title:e,icon:t=`proof`,iconColor:n=`var(--presence)`,claim:r,summary:o,items:s,caveat:c,footer:u,delay:d}){let f=i[t]||i.proof,p=s??[],[m,g]=(0,h.useState)(!1),_=p.length>B,v=m?p:p.slice(0,B),y=p.length-v.length;return(0,l.jsxs)(`div`,{className:`card reveal`,style:{"--delay":(d||0)+`ms`},children:[(0,l.jsxs)(`div`,{className:`card-eyebrow`,children:[(0,l.jsx)(f,{className:`ic`,style:{color:n}}),` `,e]}),r&&(0,l.jsxs)(`div`,{className:`et-claim`,children:[(0,l.jsx)(`span`,{className:`et-claim-rail`,style:{background:n}}),(0,l.jsxs)(`div`,{className:`et-claim-body`,children:[(0,l.jsx)(`div`,{className:`et-claim-text`,dangerouslySetInnerHTML:a(r)}),o&&(0,l.jsxs)(`span`,{className:`et-summary`,children:[(0,l.jsx)(i.chart,{className:`et-summary-ic`,style:{width:12,height:12}}),` `,o]})]})]}),(0,l.jsxs)(`div`,{className:`et-records-h`,children:[(0,l.jsx)(i.quote,{className:`et-records-h-ic`,style:{width:12,height:12}}),`Underlying records`,(0,l.jsx)(`span`,{className:`et-records-count tab-num`,children:p.length})]}),(0,l.jsx)(`ul`,{className:`et-records`,children:v.map((e,t)=>(0,l.jsxs)(`li`,{className:`et-record`,children:[(0,l.jsx)(`span`,{className:`et-marker`}),(0,l.jsxs)(`div`,{className:`et-record-body`,children:[(0,l.jsx)(`div`,{className:`et-record-text`,children:e.text}),(e.source||e.when)&&(0,l.jsxs)(`div`,{className:`et-record-meta`,children:[e.source&&(0,l.jsxs)(`span`,{className:`et-source mono`,children:[(0,l.jsx)(i.link,{className:`et-source-ic`,style:{width:11,height:11}}),e.source]}),e.when&&(0,l.jsx)(`span`,{className:`et-when`,children:e.when})]})]})]},t))}),_&&(0,l.jsxs)(`button`,{className:`et-more`,onClick:()=>g(e=>!e),children:[m?`Show fewer`:`Show all ${p.length} records`,!m&&(0,l.jsxs)(`span`,{className:`et-more-n tab-num`,children:[`+`,y]})]}),c&&(0,l.jsxs)(`div`,{className:`et-caveat`,children:[(0,l.jsx)(i.alert,{className:`et-caveat-ic`,style:{width:13,height:13}}),(0,l.jsx)(`span`,{children:c})]}),u&&(0,l.jsx)(`div`,{className:`insight-summary`,style:{marginTop:12},dangerouslySetInnerHTML:a(u)})]})}function H(e){return(Math.round(e*10)/10).toFixed(1)}function U({title:e,icon:t=`quote`,iconColor:n=`var(--presence)`,rating:r,count:o,distribution:s,loves:c,complaints:u,dealbreaker:d,footer:f,delay:p}){let m=i[t]||i.quote,h=c??[],g=u??[],_=s&&s.length===5?s:null,v=_?Math.max(..._,1):1,y=_?_.reduce((e,t)=>e+t,0):0,b=r??(_&&y>0?_.reduce((e,t,n)=>e+t*(5-n),0)/y:void 0),x=o??(y>0?y:void 0);return(0,l.jsxs)(`div`,{className:`card reveal`,style:{"--delay":(p||0)+`ms`},children:[(0,l.jsxs)(`div`,{className:`card-eyebrow`,children:[(0,l.jsx)(m,{className:`ic`,style:{color:n}}),` `,e]}),(b!==void 0||_)&&(0,l.jsxs)(`div`,{className:`rv-summary`,children:[b!==void 0&&(0,l.jsxs)(`div`,{className:`rv-score`,children:[(0,l.jsx)(`span`,{className:`rv-score-val tab-num`,children:H(b)}),(0,l.jsxs)(`span`,{className:`rv-stars`,"aria-hidden":`true`,children:[(0,l.jsx)(`span`,{className:`rv-stars-fill`,style:{width:Math.min(b,5)/5*100+`%`},children:`★★★★★`}),(0,l.jsx)(`span`,{className:`rv-stars-track`,children:`★★★★★`})]}),x!==void 0&&(0,l.jsxs)(`span`,{className:`rv-count`,children:[x.toLocaleString(),` reviews`]})]}),_&&(0,l.jsx)(`div`,{className:`rv-dist`,children:_.map((e,t)=>(0,l.jsxs)(`div`,{className:`rv-dist-row`,children:[(0,l.jsx)(`span`,{className:`rv-dist-star tab-num`,children:5-t}),(0,l.jsx)(i.spark,{className:`rv-dist-ic`}),(0,l.jsx)(`span`,{className:`rv-dist-track`,children:(0,l.jsx)(`span`,{className:`rv-dist-fill`,style:{width:e/v*100+`%`}})}),(0,l.jsx)(`span`,{className:`rv-dist-n tab-num`,children:e.toLocaleString()})]},t))})]}),(h.length>0||g.length>0)&&(0,l.jsxs)(`div`,{className:`rv-split`,children:[h.length>0&&(0,l.jsxs)(`section`,{className:`rv-col rv-col--love`,children:[(0,l.jsxs)(`div`,{className:`rv-col-h`,children:[(0,l.jsx)(i.check,{className:`rv-col-ic`}),` People love`]}),(0,l.jsx)(`ul`,{className:`rv-themes`,children:h.map((e,t)=>(0,l.jsx)(W,{theme:e},t))})]}),g.length>0&&(0,l.jsxs)(`section`,{className:`rv-col rv-col--gripe`,children:[(0,l.jsxs)(`div`,{className:`rv-col-h`,children:[(0,l.jsx)(i.x,{className:`rv-col-ic`}),` Complaints`]}),(0,l.jsx)(`ul`,{className:`rv-themes`,children:g.map((e,t)=>(0,l.jsx)(W,{theme:e},t))})]})]}),d&&(0,l.jsxs)(`div`,{className:`rv-dealbreaker`,children:[(0,l.jsx)(i.alert,{className:`rv-db-ic`}),(0,l.jsxs)(`span`,{children:[(0,l.jsx)(`b`,{children:`Biggest dealbreaker:`}),` `,d]})]}),f&&(0,l.jsx)(`div`,{className:`insight-summary`,style:{marginTop:12},dangerouslySetInnerHTML:a(f)})]})}function W(e){let t=(0,f.c)(12),{theme:n}=e,r;t[0]===n.theme?r=t[1]:(r=(0,l.jsx)(`span`,{className:`rv-theme-name`,children:n.theme}),t[0]=n.theme,t[1]=r);let i;t[2]===n.freq?i=t[3]:(i=n.freq&&(0,l.jsx)(`span`,{className:`rv-theme-freq`,children:n.freq}),t[2]=n.freq,t[3]=i);let a;t[4]!==r||t[5]!==i?(a=(0,l.jsxs)(`div`,{className:`rv-theme-head`,children:[r,i]}),t[4]=r,t[5]=i,t[6]=a):a=t[6];let o;t[7]===n.quote?o=t[8]:(o=n.quote&&(0,l.jsx)(`blockquote`,{className:`rv-quote`,children:`“`+n.quote+`”`}),t[7]=n.quote,t[8]=o);let s;return t[9]!==a||t[10]!==o?(s=(0,l.jsxs)(`li`,{className:`rv-theme`,children:[a,o]}),t[9]=a,t[10]=o,t[11]=s):s=t[11],s}function G({name:e,title:t,icon:n=`doc`,iconColor:r=`var(--presence)`,contact:o,summary:s,experience:c,education:u,skills:d,footer:f,delay:p}){let m=i[n]||i.doc;return(0,l.jsxs)(`div`,{className:`card reveal`,style:{"--delay":(p||0)+`ms`},children:[(0,l.jsxs)(`div`,{className:`card-eyebrow`,children:[(0,l.jsx)(m,{className:`ic`,style:{color:r}}),` `,e]}),(0,l.jsxs)(`div`,{className:`rz-paper`,children:[(0,l.jsxs)(`div`,{className:`rz-head`,children:[(0,l.jsx)(`div`,{className:`rz-name`,children:e}),t&&(0,l.jsx)(`div`,{className:`rz-title`,children:t}),!!o?.length&&(0,l.jsx)(`div`,{className:`rz-contact`,children:o.map((e,t)=>(0,l.jsx)(`span`,{className:`rz-contact-item`,children:e},t))})]}),s&&(0,l.jsx)(`p`,{className:`rz-summary`,children:s}),c.length>0&&(0,l.jsxs)(`section`,{className:`rz-section`,children:[(0,l.jsx)(`div`,{className:`rz-section-label`,children:`Experience`}),(0,l.jsx)(`div`,{className:`rz-exp-list`,children:c.map((e,t)=>(0,l.jsx)(K,{exp:e,i:t},t))})]}),!!u?.length&&(0,l.jsxs)(`section`,{className:`rz-section`,children:[(0,l.jsx)(`div`,{className:`rz-section-label`,children:`Education`}),(0,l.jsx)(`div`,{className:`rz-edu-list`,children:u.map((e,t)=>(0,l.jsx)(q,{ed:e,i:t},t))})]}),!!d?.length&&(0,l.jsxs)(`section`,{className:`rz-section`,children:[(0,l.jsx)(`div`,{className:`rz-section-label`,children:`Skills`}),(0,l.jsx)(`div`,{className:`rz-skills`,children:d.map((e,t)=>(0,l.jsx)(`span`,{className:`rz-skill m-stagger-item m-fade-rise`,style:{"--i":t},children:e},t))})]})]}),f&&(0,l.jsx)(`div`,{className:`insight-summary`,style:{marginTop:12},dangerouslySetInnerHTML:a(f)})]})}function K({exp:e,i:t}){let n=[e.start,e.end||`Present`].filter(Boolean).join(` – `);return(0,l.jsxs)(`div`,{className:`rz-exp m-stagger-item m-fade-rise`,style:{"--i":t},children:[(0,l.jsxs)(`div`,{className:`rz-exp-top`,children:[(0,l.jsxs)(`div`,{className:`rz-exp-who`,children:[(0,l.jsx)(`span`,{className:`rz-exp-role`,children:e.role}),(0,l.jsx)(`span`,{className:`rz-exp-org`,children:e.org})]}),(0,l.jsxs)(`div`,{className:`rz-exp-when`,children:[(0,l.jsx)(`span`,{className:`rz-exp-range`,children:n}),e.location&&(0,l.jsx)(`span`,{className:`rz-exp-loc`,children:e.location})]})]}),!!e.bullets?.length&&(0,l.jsx)(`ul`,{className:`rz-bullets`,children:e.bullets.map((e,t)=>(0,l.jsx)(`li`,{children:e},t))})]})}function q({ed:e,i:t}){let n=[e.start,e.end].filter(Boolean).join(` – `);return(0,l.jsxs)(`div`,{className:`rz-edu m-stagger-item m-fade-rise`,style:{"--i":t},children:[(0,l.jsxs)(`div`,{className:`rz-exp-top`,children:[(0,l.jsxs)(`div`,{className:`rz-exp-who`,children:[(0,l.jsx)(`span`,{className:`rz-exp-role`,children:e.school}),(0,l.jsx)(`span`,{className:`rz-exp-org`,children:e.credential})]}),n&&(0,l.jsx)(`div`,{className:`rz-exp-when`,children:(0,l.jsx)(`span`,{className:`rz-exp-range`,children:n})})]}),e.detail&&(0,l.jsx)(`div`,{className:`rz-edu-detail`,children:e.detail})]})}var J={added:`var(--insight)`,changed:`var(--presence)`,fixed:`var(--presence-soft)`,deprecated:`var(--warning-soft)`,removed:`var(--warning)`,security:`var(--danger)`},oe={added:`plus`,changed:`refresh`,fixed:`check`,deprecated:`clock`,removed:`x`,security:`shield`},Y=[`security`,`removed`,`deprecated`,`fixed`,`changed`,`added`];function se(e){let t=Y.length-1;for(let n of e){let e=Y.indexOf(n.kind);e!==-1&&e<t&&(t=e)}return Y[t]??`changed`}function ce({title:e,icon:t=`doc`,iconColor:n=`var(--presence)`,versions:r,footer:o,delay:s}){let c=i[t]||i.doc;return(0,l.jsxs)(`div`,{className:`card reveal`,style:{"--delay":(s||0)+`ms`},children:[(0,l.jsxs)(`div`,{className:`card-eyebrow`,children:[(0,l.jsx)(c,{className:`ic`,style:{color:n}}),` `,e]}),(0,l.jsx)(`div`,{className:`cl-versions`,children:r.map((e,t)=>{let n=t===r.length-1,a=e.entries.length?J[se(e.entries)]:`var(--text-muted)`;return(0,l.jsxs)(`div`,{className:`cl-version m-stagger-item m-fade-rise`,style:{"--i":t},children:[(0,l.jsxs)(`div`,{className:`cl-rail`,children:[(0,l.jsx)(`div`,{className:`cl-dot`,style:{borderColor:a,color:a}}),!n&&(0,l.jsx)(`div`,{className:`cl-line`})]}),(0,l.jsxs)(`div`,{className:`cl-body`,children:[(0,l.jsxs)(`div`,{className:`cl-version-head`,children:[(0,l.jsx)(`span`,{className:`cl-version-num`,children:e.version}),e.date&&(0,l.jsx)(`span`,{className:`cl-version-date`,children:e.date})]}),e.entries.length>0&&(0,l.jsx)(`div`,{className:`cl-entries`,children:e.entries.map((e,t)=>{let n=J[e.kind]??`var(--text-muted)`,r=i[oe[e.kind]]||i.doc;return(0,l.jsxs)(`div`,{className:`cl-entry`,children:[(0,l.jsxs)(`span`,{className:`cl-kind`,style:{color:n,background:`color-mix(in oklab, ${n} 14%, transparent)`},children:[(0,l.jsx)(r,{className:`ic`}),e.kind]}),(0,l.jsx)(`span`,{className:`cl-entry-text`,children:e.text})]},t)})})]})]},t)})}),o&&(0,l.jsx)(`div`,{className:`insight-summary`,style:{marginTop:12},dangerouslySetInnerHTML:a(o)})]})}function le({title:e,icon:t=`doc`,iconColor:n=`var(--presence)`,subject:r,gradeLevel:o,duration:s,objectives:c,materials:u,procedure:d,assessment:f,footer:p,delay:m}){let h=i[t]||i.doc,g=d.reduce((e,t)=>e+(t.minutes||0),0),_=s||(g>0?`${g} min`:void 0);return(0,l.jsxs)(`div`,{className:`card reveal`,style:{"--delay":(m||0)+`ms`},children:[(0,l.jsxs)(`div`,{className:`card-eyebrow`,children:[(0,l.jsx)(h,{className:`ic`,style:{color:n}}),` `,e]}),(0,l.jsxs)(`div`,{className:`lp-paper`,children:[(r||o||_)&&(0,l.jsxs)(`div`,{className:`lp-meta`,children:[r&&(0,l.jsx)(`span`,{className:`lp-meta-chip`,children:r}),o&&(0,l.jsx)(`span`,{className:`lp-meta-chip`,children:o}),_&&(0,l.jsx)(`span`,{className:`lp-meta-chip`,children:_})]}),c.length>0&&(0,l.jsxs)(`section`,{className:`lp-section`,children:[(0,l.jsx)(`div`,{className:`lp-section-label`,children:`Objectives`}),(0,l.jsx)(`ul`,{className:`lp-list`,children:c.map((e,t)=>(0,l.jsx)(`li`,{children:e},t))})]}),!!u?.length&&(0,l.jsxs)(`section`,{className:`lp-section`,children:[(0,l.jsx)(`div`,{className:`lp-section-label`,children:`Materials`}),(0,l.jsx)(`div`,{className:`lp-materials`,children:u.map((e,t)=>(0,l.jsx)(`span`,{className:`lp-material`,children:e},t))})]}),d.length>0&&(0,l.jsxs)(`section`,{className:`lp-section`,children:[(0,l.jsx)(`div`,{className:`lp-section-label`,children:`Procedure`}),(0,l.jsx)(`div`,{className:`lp-steps`,children:d.map((e,t)=>(0,l.jsxs)(`div`,{className:`lp-step m-stagger-item m-fade-rise`,style:{"--i":t},children:[(0,l.jsx)(`span`,{className:`lp-step-num`,children:t+1}),(0,l.jsxs)(`div`,{className:`lp-step-body`,children:[(0,l.jsxs)(`div`,{className:`lp-step-top`,children:[(0,l.jsx)(`span`,{className:`lp-step-text`,children:e.step}),!!e.minutes&&(0,l.jsxs)(`span`,{className:`lp-step-min`,children:[e.minutes,` min`]})]}),e.detail&&(0,l.jsx)(`div`,{className:`lp-step-detail`,children:e.detail})]})]},t))})]}),f&&(0,l.jsxs)(`section`,{className:`lp-section`,children:[(0,l.jsx)(`div`,{className:`lp-section-label`,children:`Assessment`}),(0,l.jsx)(`div`,{className:`lp-assessment`,children:f})]})]}),p&&(0,l.jsx)(`div`,{className:`insight-summary`,style:{marginTop:12},dangerouslySetInnerHTML:a(p)})]})}var ue=[{key:`facts`,label:`Facts`},{key:`issue`,label:`Issue`},{key:`holding`,label:`Holding`},{key:`reasoning`,label:`Reasoning`}];function de({title:e,icon:t=`doc`,iconColor:n=`var(--presence)`,citation:r,parties:o,facts:s,issue:c,holding:u,reasoning:d,footer:f,delay:p}){let m=i[t]||i.doc,h={facts:s,issue:c,holding:u,reasoning:d};return(0,l.jsxs)(`div`,{className:`card reveal`,style:{"--delay":(p||0)+`ms`},children:[(0,l.jsxs)(`div`,{className:`card-eyebrow`,children:[(0,l.jsx)(m,{className:`ic`,style:{color:n}}),` `,e]}),r&&(0,l.jsx)(`div`,{className:`cb-citation`,children:r}),(0,l.jsxs)(`div`,{className:`cb-parties`,children:[(0,l.jsx)(`span`,{className:`cb-party`,children:o.plaintiff}),(0,l.jsx)(`span`,{className:`cb-vs`,children:`v.`}),(0,l.jsx)(`span`,{className:`cb-party`,children:o.defendant})]}),ue.map((e,t)=>(0,l.jsxs)(`section`,{className:`cb-section cb-section--${e.key} m-stagger-item m-fade-rise`,style:{"--i":t},children:[(0,l.jsx)(`div`,{className:`cb-section-label`,children:e.label}),(0,l.jsx)(`div`,{className:`cb-section-body`,children:h[e.key]})]},e.key)),f&&(0,l.jsx)(`div`,{className:`insight-summary`,style:{marginTop:12},dangerouslySetInnerHTML:a(f)})]})}var X={disclosed:{c:`var(--insight)`,icon:`check`,t:`Disclosed`},"not-disclosed":{c:`var(--text-muted)`,icon:null,t:`Not disclosed`},disputed:{c:`var(--warning)`,icon:`alert`,t:`Disputed`}},fe=new Set([`disclosed`,`not-disclosed`,`disputed`]);function Z(e,t,n){let r=Array.isArray(e)?e[t]:void 0,i=Array.isArray(r)?r[n]:void 0;if(!i||typeof i!=`object`||Array.isArray(i))return{state:`not-disclosed`};let a=i,o=typeof a.state==`string`&&fe.has(a.state)?a.state:`not-disclosed`,s=typeof a.quote==`string`&&a.quote.trim()?a.quote:void 0;return s?{state:o,quote:s}:{state:o}}function pe({title:e,icon:t=`table`,iconColor:n=`var(--presence)`,claimElements:r,references:s,cells:c,footer:u,delay:d}){let f=i[t]||i.table,p=Array.isArray(r)?r:[],m=Array.isArray(s)?s.filter(e=>typeof e==`string`):[],[g,_]=(0,h.useState)(p.length&&m.length?{r:0,c:0}:null);if(p.length===0||m.length===0)return(0,l.jsxs)(`div`,{className:`card reveal`,style:{"--delay":(d||0)+`ms`},children:[(0,l.jsxs)(`div`,{className:`card-eyebrow`,children:[(0,l.jsx)(f,{className:`ic`,style:{color:n}}),` `,e]}),(0,l.jsx)(o,{message:`No claim elements or references to chart`})]});let v=0,y=0;for(let e=0;e<p.length;e++)for(let t=0;t<m.length;t++){let n=Z(c,e,t).state;n===`disclosed`?v++:n===`disputed`&&y++}let b=g?Z(c,g.r,g.c):null,x=b?X[b.state]:null;return(0,l.jsxs)(`div`,{className:`card reveal`,style:{"--delay":(d||0)+`ms`},children:[(0,l.jsxs)(`div`,{className:`card-eyebrow`,children:[(0,l.jsx)(f,{className:`ic`,style:{color:n}}),` `,e]}),(0,l.jsxs)(`div`,{className:`pcc-head`,children:[(0,l.jsxs)(`span`,{className:`pcc-count faint`,children:[p.length,` element`,p.length===1?``:`s`,` × `,m.length,` reference`,m.length===1?``:`s`]}),(0,l.jsxs)(`span`,{className:`pcc-tally tab-num faint`,children:[v,` disclosed`,y>0?` · ${y} disputed`:``]})]}),(0,l.jsx)(`div`,{className:`pcc-scroll`,children:(0,l.jsxs)(`table`,{className:`pcc-table`,children:[(0,l.jsxs)(`colgroup`,{children:[(0,l.jsx)(`col`,{className:`pcc-col-el`}),m.map((e,t)=>(0,l.jsx)(`col`,{className:`pcc-col-ref`},t))]}),(0,l.jsx)(`thead`,{children:(0,l.jsxs)(`tr`,{children:[(0,l.jsx)(`th`,{className:`pcc-corner`}),m.map((e,t)=>(0,l.jsx)(`th`,{className:`pcc-refh`,children:(0,l.jsx)(`span`,{children:e})},t))]})}),(0,l.jsx)(`tbody`,{children:p.map((e,t)=>{let n=typeof e?.id==`string`&&e.id.trim()?e.id:String(t+1),r=typeof e?.text==`string`?e.text:``;return(0,l.jsxs)(`tr`,{children:[(0,l.jsxs)(`th`,{className:`pcc-elh`,scope:`row`,children:[(0,l.jsx)(`span`,{className:`pcc-el-num`,children:n}),r&&(0,l.jsx)(`span`,{className:`pcc-el-text`,children:r})]}),m.map((e,n)=>{let r=Z(c,t,n),a=X[r.state],o=a.icon?i[a.icon]:null,s=g?.r===t&&g?.c===n;return(0,l.jsx)(`td`,{className:`pcc-cell ${r.state} ${s?`on`:``}`,style:{"--cc":a.c},onMouseEnter:()=>_({r:t,c:n}),children:(0,l.jsx)(`span`,{className:`pcc-mark`,children:o?(0,l.jsx)(o,{className:`pcc-mark-ic`}):(0,l.jsx)(`span`,{className:`pcc-dash`,children:`–`})})},n)})]},t)})})]})}),b&&x&&(0,l.jsxs)(`div`,{className:`pcc-tip`,style:{"--cc":x.c},children:[(0,l.jsx)(`span`,{className:`pcc-tip-tag`,style:{color:x.c},children:x.t}),b.quote?(0,l.jsx)(`span`,{className:`pcc-tip-note`,dangerouslySetInnerHTML:a(b.quote)}):(0,l.jsxs)(`span`,{className:`pcc-tip-note faint`,children:[p[g.r]?.id||String(g.r+1),` × `,m[g.c]]})]}),u&&(0,l.jsx)(`div`,{className:`insight-summary`,style:{marginTop:12},dangerouslySetInnerHTML:a(u)})]})}function me(e){let t=e.trim();return t?t.split(/\s+/).length:0}function Q({title:e,icon:t=`doc`,iconColor:n=`var(--presence)`,lede:r,nutGraf:s,body:c,background:u,wordCountBudget:d,wordCount:f,footer:p,delay:m}){let g=i[t]||i.doc,_=Array.isArray(c)?c.filter(e=>typeof e==`string`&&e):[],v=Array.isArray(u)?u.filter(e=>typeof e==`string`&&e):[],[y,b]=(0,h.useState)(!1);if(!r&&!s&&_.length===0)return(0,l.jsxs)(`div`,{className:`card reveal`,style:{"--delay":(m||0)+`ms`},children:[(0,l.jsxs)(`div`,{className:`card-eyebrow`,children:[(0,l.jsx)(g,{className:`ic`,style:{color:n}}),` `,e]}),(0,l.jsx)(o,{message:`No draft to show yet`})]});let x=typeof f==`number`&&Number.isFinite(f)?f:me([r,s,..._].filter(Boolean).join(` `)),S=typeof d==`number`&&Number.isFinite(d)&&x>d;return(0,l.jsxs)(`div`,{className:`card reveal`,style:{"--delay":(m||0)+`ms`},children:[(0,l.jsxs)(`div`,{className:`card-eyebrow`,children:[(0,l.jsx)(g,{className:`ic`,style:{color:n}}),` `,e]}),x>0&&(0,l.jsxs)(`div`,{className:`ss-wordcount tab-num faint`,children:[x.toLocaleString(),typeof d==`number`&&Number.isFinite(d)?` / ${d.toLocaleString()} words`:` words`,S&&(0,l.jsx)(`span`,{className:`ss-wordcount-over`,children:` · over budget`})]}),(r||s)&&(0,l.jsxs)(`div`,{className:`ss-lede-block`,children:[r&&(0,l.jsx)(`p`,{className:`ss-lede`,children:r}),s&&(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(`div`,{className:`ss-nutgraf-label`,children:`Nut graf`}),(0,l.jsx)(`p`,{className:`ss-nutgraf`,children:s})]})]}),_.length>0&&(0,l.jsx)(`div`,{className:`ss-body`,children:_.map((e,t)=>(0,l.jsx)(`p`,{className:`ss-para m-stagger-item m-fade-rise`,style:{"--i":t},children:e},t))}),v.length>0&&(0,l.jsxs)(`div`,{className:`ss-bg`,children:[(0,l.jsxs)(`button`,{className:`ss-bg-toggle`,onClick:()=>b(e=>!e),"aria-expanded":y,children:[(0,l.jsx)(i.chevR,{className:`ss-bg-toggle-ic${y?` open`:``}`}),y?`Hide background`:`Background (${v.length})`]}),y&&(0,l.jsx)(`div`,{className:`ss-bg-body`,children:v.map((e,t)=>(0,l.jsx)(`p`,{className:`ss-bg-para`,children:e},t))})]}),p&&(0,l.jsx)(`div`,{className:`insight-summary`,style:{marginTop:12},dangerouslySetInnerHTML:a(p)})]})}function he(e){return typeof e==`number`?Number.isFinite(e)?e.toLocaleString():`—`:typeof e==`string`&&e.trim()?e:`—`}function ge({title:e,icon:t=`doc`,iconColor:n=`var(--presence)`,species:r,name:s,breed:c,sex:u,ageYears:d,weightKg:f,vitals:p,problems:m,footer:h,delay:g}){let _=i[t]||i.doc,v=Array.isArray(p)?p:[],y=Array.isArray(m)?m.filter(e=>typeof e==`string`&&e):[];if(!s&&!r)return(0,l.jsxs)(`div`,{className:`card reveal`,style:{"--delay":(g||0)+`ms`},children:[(0,l.jsxs)(`div`,{className:`card-eyebrow`,children:[(0,l.jsx)(_,{className:`ic`,style:{color:n}}),` `,e]}),(0,l.jsx)(o,{message:`No patient on file`})]});let b=[r,c,u,Number.isFinite(d)?`${d}y`:void 0,Number.isFinite(f)?`${f} kg`:void 0].filter(e=>!!e);return(0,l.jsxs)(`div`,{className:`card reveal`,style:{"--delay":(g||0)+`ms`},children:[(0,l.jsxs)(`div`,{className:`card-eyebrow`,children:[(0,l.jsx)(_,{className:`ic`,style:{color:n}}),` `,e]}),(0,l.jsxs)(`div`,{className:`vpc-signalment`,children:[s&&(0,l.jsx)(`div`,{className:`vpc-name`,children:s}),b.length>0&&(0,l.jsx)(`div`,{className:`vpc-chips`,children:b.map((e,t)=>(0,l.jsx)(`span`,{className:`vpc-chip`,children:e},t))})]}),v.length>0&&(0,l.jsx)(`div`,{className:`vpc-vitals`,children:v.map((e,t)=>(0,l.jsx)(_e,{v:e,i:t},t))}),y.length>0&&(0,l.jsxs)(`div`,{className:`vpc-problems`,children:[(0,l.jsx)(`div`,{className:`vpc-problems-label`,children:`Active problems`}),(0,l.jsx)(`div`,{className:`vpc-problem-list`,children:y.map((e,t)=>(0,l.jsx)(`span`,{className:`vpc-problem-chip m-stagger-item m-fade-rise`,style:{"--i":t},children:e},t))})]}),h&&(0,l.jsx)(`div`,{className:`insight-summary`,style:{marginTop:12},dangerouslySetInnerHTML:a(h)})]})}function _e({v:e,i:t}){let n=typeof e?.label==`string`&&e.label.trim()?e.label:`Reading`,r=he(e?.value),a=typeof e?.unit==`string`&&e.unit.trim()?e.unit:``,o=!!e?.abnormal;return(0,l.jsxs)(`div`,{className:`vpc-vital m-stagger-item m-fade-rise${o?` abnormal`:``}`,style:{"--i":t},children:[(0,l.jsx)(`span`,{className:`vpc-vital-label`,children:n}),(0,l.jsxs)(`span`,{className:`vpc-vital-value tab-num`,children:[r,a&&(0,l.jsx)(`span`,{className:`vpc-vital-unit`,children:a})]}),o&&(0,l.jsx)(i.alert,{className:`vpc-vital-flag`})]})}function ve({title:e,icon:t=`chart`,iconColor:n=`var(--presence)`,opponent:r,tendencies:s,matchupNotes:c,keyPlayers:u,footer:d,delay:f}){let p=i[t]||i.chart,m=Array.isArray(s)?s.filter(e=>typeof e==`string`&&e):[],h=Array.isArray(c)?c:[],g=Array.isArray(u)?u:[];return!r&&m.length===0?(0,l.jsxs)(`div`,{className:`card reveal`,style:{"--delay":(f||0)+`ms`},children:[(0,l.jsxs)(`div`,{className:`card-eyebrow`,children:[(0,l.jsx)(p,{className:`ic`,style:{color:n}}),` `,e]}),(0,l.jsx)(o,{message:`No scouting notes yet`})]}):(0,l.jsxs)(`div`,{className:`card reveal`,style:{"--delay":(f||0)+`ms`},children:[(0,l.jsxs)(`div`,{className:`card-eyebrow`,children:[(0,l.jsx)(p,{className:`ic`,style:{color:n}}),` `,e]}),r&&(0,l.jsxs)(`div`,{className:`scr-opponent`,children:[(0,l.jsx)(`span`,{className:`scr-opponent-label`,children:`Opponent`}),(0,l.jsx)(`span`,{className:`scr-opponent-name`,children:r})]}),m.length>0&&(0,l.jsxs)(`div`,{className:`scr-section`,children:[(0,l.jsx)(`div`,{className:`scr-section-label`,children:`Tendencies`}),(0,l.jsx)(`ul`,{className:`scr-tendencies`,children:m.map((e,t)=>(0,l.jsx)(`li`,{className:`scr-tendency m-stagger-item m-fade-rise`,style:{"--i":t},children:e},t))})]}),h.length>0&&(0,l.jsxs)(`div`,{className:`scr-section`,children:[(0,l.jsx)(`div`,{className:`scr-section-label`,children:`Matchup notes`}),(0,l.jsx)(`div`,{className:`scr-notes`,children:h.map((e,t)=>(0,l.jsx)(ye,{n:e,i:t},t))})]}),g.length>0&&(0,l.jsxs)(`div`,{className:`scr-section`,children:[(0,l.jsx)(`div`,{className:`scr-section-label`,children:`Key players`}),(0,l.jsx)(`div`,{className:`scr-players`,children:g.map((e,t)=>(0,l.jsx)(be,{p:e,i:t},t))})]}),d&&(0,l.jsx)(`div`,{className:`insight-summary`,style:{marginTop:12},dangerouslySetInnerHTML:a(d)})]})}function ye({n:e,i:t}){let n=typeof e?.label==`string`&&e.label.trim()?e.label:`Note`,r=typeof e?.note==`string`?e.note:``;return r?(0,l.jsxs)(`div`,{className:`scr-note m-stagger-item m-fade-rise`,style:{"--i":t},children:[(0,l.jsx)(`span`,{className:`scr-note-label`,children:n}),(0,l.jsx)(`span`,{className:`scr-note-text`,children:r})]}):null}function be({p:e,i:t}){let n=typeof e?.name==`string`&&e.name.trim()?e.name:`Player`,r=typeof e?.role==`string`&&e.role.trim()?e.role:``,i=typeof e?.note==`string`?e.note:``;return(0,l.jsxs)(`div`,{className:`scr-player m-stagger-item m-fade-rise`,style:{"--i":t},children:[(0,l.jsxs)(`div`,{className:`scr-player-top`,children:[(0,l.jsx)(`span`,{className:`scr-player-name`,children:n}),r&&(0,l.jsx)(`span`,{className:`scr-player-role`,children:r})]}),i&&(0,l.jsx)(`span`,{className:`scr-player-note`,children:i})]})}var xe=e({docsRegistry:()=>$}),$={hypothesiscard:s(d),docview:s(p),pdfreader:s(_),annotateddoc:s(y),redline:s(b),citationchain:s(ee),factcheck:s(te),confidencemeter:s(E),highlightsnippet:(e,t)=>(0,l.jsx)(D,{...e,delay:t.delay}),annotcallouts:s(O),sourcelist:s(ne),claimgrid:s(re),docoutline:s(ie),diffviewer:s(j),paralleltext:s(M),clinicaltimeline:s(F),researchsummary:s(I),eligibilitycheck:s(z),evidencetrace:s(V),reviewsynth:s(U),resume:s(G),changelog:s(ce),lessonplan:s(le),casebrief:s(de),patentclaimchart:s(pe),storystructure:s(Q),vetpatientchart:s(ge),scoutingreport:s(ve)};export{xe as n,$ as t};
|
|
1
|
+
import{r as e}from"./chunk-BVpWp9h4.js";import{t}from"./react-BQSORdFI.js";import{t as n}from"./jsx-runtime-DaSxXjOY.js";import{ht as r}from"./index-BlCH2LG4.js";import{n as i}from"./icons-CHVz6kv_.js";import{t as a}from"./richText-BkxJhl9N.js";import{t as o}from"./BlockEmpty-JoKwTRb0.js";import"./lib-3J_9keOc.js";import{t as s}from"./registry-types-DMuK0vJ6.js";import{r as c}from"./sourceHost-BV3t2XDb.js";var l=n(),u={"two-tailed":`two-tailed`,greater:`one-tailed · greater`,less:`one-tailed · less`};function d({title:e=`Hypothesis Test`,icon:t=`proof`,iconColor:n=`var(--presence)`,h0:r,h1:o,direction:s,alpha:c,variables:d,rejected:f,footer:p,delay:m}){let h=i[t]||i.proof,g=typeof f==`boolean`,_=d?.iv,v=d?.dv,y=typeof c==`number`&&Number.isFinite(c),b=s?u[s]:null;return(0,l.jsxs)(`div`,{className:`card reveal`,style:{"--delay":(m||0)+`ms`},children:[(0,l.jsxs)(`div`,{className:`card-eyebrow`,children:[(0,l.jsx)(h,{className:`ic`,style:{color:n}}),` `,e]}),(_||v||y)&&(0,l.jsxs)(`div`,{className:`hyp-meta`,children:[_&&(0,l.jsxs)(`span`,{className:`hyp-meta-chip`,children:[`IV · `,_]}),v&&(0,l.jsxs)(`span`,{className:`hyp-meta-chip`,children:[`DV · `,v]}),y&&(0,l.jsxs)(`span`,{className:`hyp-meta-chip hyp-alpha tab-num`,children:[`α = `,c]})]}),(0,l.jsxs)(`div`,{className:`hyp-stmt hyp-h0 m-fade-rise m-stagger-item`+(g?f?` rejected`:` retained`:``),style:{"--i":0},children:[(0,l.jsxs)(`div`,{className:`hyp-stmt-head`,children:[(0,l.jsx)(`span`,{className:`hyp-stmt-tag`,children:`H₀ · Null hypothesis`}),g&&(0,l.jsxs)(`span`,{className:`hyp-verdict`,children:[f?(0,l.jsx)(i.x,{className:`ic hyp-verdict-ic`}):(0,l.jsx)(i.check,{className:`ic hyp-verdict-ic`}),f?`Rejected`:`Retained`]})]}),(0,l.jsx)(`div`,{className:`hyp-stmt-body`,children:r})]}),(0,l.jsxs)(`div`,{className:`hyp-stmt hyp-h1 m-fade-rise m-stagger-item`+(g?f?` supported`:` unsupported`:``),style:{"--i":1},children:[(0,l.jsxs)(`div`,{className:`hyp-stmt-head`,children:[(0,l.jsxs)(`span`,{className:`hyp-stmt-tag`,children:[`H₁ · Alternative hypothesis`,b&&(0,l.jsx)(`span`,{className:`hyp-direction`,children:b})]}),g&&(0,l.jsxs)(`span`,{className:`hyp-verdict`,children:[f?(0,l.jsx)(i.check,{className:`ic hyp-verdict-ic`}):(0,l.jsx)(i.x,{className:`ic hyp-verdict-ic`}),f?`Supported`:`Not supported`]})]}),(0,l.jsx)(`div`,{className:`hyp-stmt-body`,children:o})]}),p&&(0,l.jsx)(`div`,{className:`insight-summary`,style:{marginTop:12},dangerouslySetInnerHTML:a(p)})]})}var f=r();function p({title:e,icon:t=`doc`,iconColor:n=`var(--presence)`,source:r,page:o,blocks:s,note:c,footer:u,delay:d}){let f=i[t]||i.doc,p=s.some(e=>e.spot);return(0,l.jsxs)(`div`,{className:`card reveal`,style:{"--delay":(d||0)+`ms`},children:[(0,l.jsxs)(`div`,{className:`card-eyebrow`,children:[(0,l.jsx)(f,{className:`ic`,style:{color:n}}),` `,e]}),(0,l.jsxs)(`div`,{className:`doc-view`+(p?` has-spot`:``),children:[(0,l.jsxs)(`div`,{className:`doc-view-bar`,children:[(0,l.jsxs)(`span`,{className:`doc-view-file`,children:[(0,l.jsx)(i.doc,{className:`doc-view-fileic`}),` `,r??`Document`]}),o&&(0,l.jsxs)(`span`,{className:`doc-view-page`,children:[`p. `,o.n,` / `,o.of]})]}),(0,l.jsxs)(`div`,{className:`doc-view-page-surface`,children:[s.map((e,t)=>(0,l.jsx)(m,{b:e,spotlit:p&&!!e.spot,dimmed:p&&!e.spot},t)),p&&c&&(0,l.jsxs)(`div`,{className:`doc-view-note`,children:[(0,l.jsx)(`span`,{className:`doc-view-note-pin`}),(0,l.jsx)(`span`,{dangerouslySetInnerHTML:a(c)})]})]})]}),u&&(0,l.jsx)(`div`,{className:`insight-summary`,style:{marginTop:12},dangerouslySetInnerHTML:a(u)})]})}function m(e){let t=(0,f.c)(8),{b:n,spotlit:r,dimmed:i}=e,o=`doc-view-${n.kind}`+(r?` spotlit`:``)+(i?` dimmed`:``),s;t[0]===n.text?s=t[1]:(s=a(n.text),t[0]=n.text,t[1]=s);let c;t[2]===r?c=t[3]:(c=r?{"data-mark":`underline`}:{},t[2]=r,t[3]=c);let u;return t[4]!==o||t[5]!==s||t[6]!==c?(u=(0,l.jsx)(`div`,{className:o,dangerouslySetInnerHTML:s,...c}),t[4]=o,t[5]=s,t[6]=c,t[7]=u):u=t[7],u}var h=t();function g(e){if(!e||typeof window>`u`)return null;try{let t=new URL(e,window.location.origin);return t.origin!==window.location.origin||t.protocol!==`http:`&&t.protocol!==`https:`||!t.pathname.toLowerCase().endsWith(`.pdf`)&&t.pathname!==`/pdf`?null:`${t.pathname}${t.search}${t.hash}`}catch{return null}}function _({title:e,icon:t=`doc`,iconColor:n=`var(--presence)`,source:r,file:o,embedSrc:s,pages:u=[],footer:d,delay:f}){let p=i[t]||i.doc,[m,_]=(0,h.useState)(1),y=(0,h.useRef)(null),b=(0,h.useRef)([]),x=g(s)??g(o),S=x?null:c(o??``);return(0,l.jsxs)(`div`,{className:`card reveal`,style:{"--delay":(f||0)+`ms`},children:[(0,l.jsxs)(`div`,{className:`card-eyebrow`,children:[(0,l.jsx)(p,{className:`ic`,style:{color:n}}),` `,e]}),(0,l.jsxs)(`div`,{className:`doc-view`,children:[(0,l.jsxs)(`div`,{className:`doc-view-bar`,children:[(0,l.jsxs)(`span`,{className:`doc-view-file`,children:[(0,l.jsx)(i.doc,{className:`doc-view-fileic`}),` `,r??`Document`]}),(0,l.jsx)(`span`,{className:`doc-view-page`,children:o?`PDF`:`p. ${m} / ${u.length}`})]}),x?(0,l.jsx)(`iframe`,{className:`pr-embed`,src:x,title:r||e,sandbox:``,referrerPolicy:`no-referrer`}):o?(0,l.jsx)(`div`,{className:`pr-file-fallback`,children:S?(0,l.jsx)(`a`,{href:S,target:`_blank`,rel:`noopener noreferrer`,children:`Open the PDF in a new tab ↗`}):(0,l.jsx)(`span`,{children:`This PDF link could not be verified.`})}):(0,l.jsx)(`div`,{className:`pr-scroll`,ref:y,onScroll:()=>{let e=y.current;if(!e)return;let t=e.scrollTop+48,n=1;for(let e=0;e<b.current.length;e++){let r=b.current[e];r&&r.offsetTop<=t&&(n=e+1)}n!==m&&_(n)},children:u.map((e,t)=>(0,l.jsxs)(`div`,{className:`pr-sheet`,ref:e=>{b.current[t]=e},children:[(0,l.jsx)(`span`,{className:`pr-sheet-no`,children:t+1}),e.blocks.map((e,t)=>(0,l.jsx)(v,{b:e},t))]},t))})]}),d&&(0,l.jsx)(`div`,{className:`insight-summary`,style:{marginTop:12},dangerouslySetInnerHTML:a(d)})]})}function v(e){let t=(0,f.c)(5),{b:n}=e,r=`doc-view-${n.kind}`,i;t[0]===n.text?i=t[1]:(i=a(n.text),t[0]=n.text,t[1]=i);let o;return t[2]!==r||t[3]!==i?(o=(0,l.jsx)(`div`,{className:r,dangerouslySetInnerHTML:i}),t[2]=r,t[3]=i,t[4]=o):o=t[4],o}function y({title:e,icon:t=`doc`,iconColor:n=`var(--presence)`,docName:r,paragraphs:o,highlights:s,footer:c,delay:u}){let d=i[t]||i.doc,[f,p]=(0,h.useState)(0),m=(0,h.useMemo)(()=>o.map((e,t)=>{let n=[];s.forEach((t,r)=>{let i=e.indexOf(t.phrase);i>=0&&n.push({s:i,e:i+t.phrase.length,h:r})}),n.sort((e,t)=>e.s-t.s);let r=[],i=0;return n.forEach((n,a)=>{n.s<i||(n.s>i&&r.push({key:`t${t}-${a}`,text:e.slice(i,n.s)}),r.push({key:`h${t}-${a}`,text:e.slice(n.s,n.e),h:n.h}),i=n.e)}),i<e.length&&r.push({key:`t${t}-end`,text:e.slice(i)}),r}),[o,s]),g=s[f];return(0,l.jsxs)(`div`,{className:`card reveal`,style:{"--delay":(u||0)+`ms`},children:[(0,l.jsxs)(`div`,{className:`card-eyebrow`,children:[(0,l.jsx)(d,{className:`ic`,style:{color:n}}),` `,e]}),(0,l.jsxs)(`div`,{className:`ad-body`,children:[(0,l.jsxs)(`div`,{className:`ad-doc`,children:[r&&(0,l.jsx)(`div`,{className:`ad-docname mono faint`,children:r}),m.map((e,t)=>(0,l.jsx)(`p`,{className:`ad-para`,children:e.map(e=>{if(e.h===void 0)return(0,l.jsx)(`span`,{children:e.text},e.key);let t=e.h,n=f===t;return(0,l.jsxs)(`span`,{className:`ad-mark ${n?`on`:``}`,style:{"--hl":s[t].color||`var(--presence)`},role:`button`,tabIndex:0,"aria-label":`Show note ${t+1}`,onMouseEnter:()=>p(t),onClick:()=>p(t),onKeyDown:e=>{(e.key===`Enter`||e.key===` `)&&(e.preventDefault(),p(t))},"data-mark":n?`underline`:void 0,children:[e.text,(0,l.jsx)(`sup`,{className:`ad-mark-num tab-num`,children:t+1})]},e.key)})},t))]}),(0,l.jsxs)(`div`,{className:`ad-margin`,children:[g&&(0,l.jsxs)(`div`,{className:`ad-note`,style:{"--hl":g.color||`var(--presence)`},children:[(0,l.jsxs)(`div`,{className:`ad-note-head`,children:[(0,l.jsx)(`span`,{className:`ad-note-num tab-num`,children:f+1}),g.author&&(0,l.jsx)(`span`,{className:`ad-note-author`,children:g.author})]}),(0,l.jsx)(`div`,{className:`ad-note-body`,dangerouslySetInnerHTML:a(g.note)})]},f),(0,l.jsx)(`div`,{className:`ad-dots`,children:s.map((e,t)=>(0,l.jsx)(`button`,{className:`ad-dot ${f===t?`on`:``}`,style:{"--hl":e.color||`var(--presence)`},onClick:()=>p(t),"aria-label":`Note ${t+1}`},t))})]})]}),c&&(0,l.jsx)(`div`,{className:`insight-summary`,style:{marginTop:12},dangerouslySetInnerHTML:a(c)})]})}function b({title:e,icon:t=`edit`,iconColor:n=`var(--presence)`,docName:r,tokens:o,footer:s,delay:c}){let u=i[t]||i.edit,[d,f]=(0,h.useState)(`review`),p=o.filter(e=>e.ins!=null).length,m=o.filter(e=>e.del!=null).length,g=p+m;return(0,l.jsxs)(`div`,{className:`card reveal`,style:{"--delay":(c||0)+`ms`},children:[(0,l.jsxs)(`div`,{className:`card-eyebrow`,children:[(0,l.jsx)(u,{className:`ic`,style:{color:n}}),` `,e]}),(0,l.jsxs)(`div`,{className:`rl-head`,children:[r&&(0,l.jsx)(`span`,{className:`rl-docname mono faint`,children:r}),(0,l.jsxs)(`span`,{className:`rl-count tab-num`,children:[(0,l.jsx)(`span`,{className:`rl-pip ins`}),p,` `,(0,l.jsx)(`span`,{className:`rl-pip del`}),m]})]}),(0,l.jsx)(`div`,{className:`rl-tabs`,children:[{id:`review`,label:`Tracked`,icon:`eye`},{id:`final`,label:`Final`,icon:`check`},{id:`original`,label:`Original`,icon:`undo`}].map(e=>{let t=i[e.icon];return(0,l.jsxs)(`button`,{className:`rl-tab ${d===e.id?`on`:``}`,onClick:()=>f(e.id),children:[(0,l.jsx)(t,{className:`ic`}),` `,e.label]},e.id)})}),(0,l.jsx)(`div`,{className:`rl-doc mode-${d}`,children:o.map((e,t)=>e.text==null?e.ins==null?e.del==null||d===`final`?null:(0,l.jsx)(`span`,{className:`rl-del`,title:e.by?`deleted by ${e.by}`:`deletion`,children:e.del},t):d===`original`?null:(0,l.jsx)(`span`,{className:`rl-ins`,title:e.by?`inserted by ${e.by}`:`insertion`,children:e.ins},t):(0,l.jsx)(`span`,{className:`rl-keep`,children:e.text},t))}),(0,l.jsxs)(`div`,{className:`rl-foot`,children:[d===`review`&&(0,l.jsxs)(`span`,{className:`rl-hint faint`,children:[g,` tracked change`,g===1?``:`s`,` — switch views to accept or reject`]}),d===`final`&&(0,l.jsx)(`span`,{className:`rl-hint`,style:{color:`var(--insight)`},children:`Accepted — showing final copy`}),d===`original`&&(0,l.jsx)(`span`,{className:`rl-hint`,style:{color:`var(--text-muted)`},children:`Rejected — showing original copy`})]}),s&&(0,l.jsx)(`div`,{className:`insight-summary`,style:{marginTop:12},dangerouslySetInnerHTML:a(s)})]})}var x={strong:{c:`var(--insight)`,t:`strong`},partial:{c:`var(--warning)`,t:`partial`},weak:{c:`var(--danger)`,t:`weak`}};function S({node:e,path:t,depth:n}){let r=!!(e.children&&e.children.length),[o,s]=(0,h.useState)(n<2),c=e.color||(n===0?`var(--presence)`:`var(--insight)`),u=e.strength?x[e.strength]:null;return(0,l.jsxs)(`div`,{className:`cc-node`,style:{"--rail":c},children:[(0,l.jsxs)(`button`,{className:`cc-row ${o?`open`:``} ${r?`has-kids`:`leaf`}`,onClick:()=>r&&s(e=>!e),children:[(0,l.jsx)(`span`,{className:`cc-bullet`,style:{background:c},...n===0?{"data-mark":`circle`}:{}}),r&&(0,l.jsx)(i.chevR,{className:`cc-chev ${o?`open`:``}`}),(0,l.jsx)(`span`,{className:`cc-label`,dangerouslySetInnerHTML:a(e.label)}),e.cite&&(0,l.jsxs)(`span`,{className:`cc-cite mono`,children:[(0,l.jsx)(i.link,{className:`cc-cite-ic`}),e.cite]}),u&&(0,l.jsx)(`span`,{className:`cc-strength`,style:{color:u.c,"--sc":u.c},children:u.t})]}),r&&(0,l.jsx)(`div`,{className:`cc-kids`,"data-open":o,children:o&&e.children.map((e,r)=>(0,l.jsx)(S,{node:e,path:`${t}-${r}`,depth:n+1},`${t}-${r}`))})]})}function ee({title:e,icon:t=`layers`,iconColor:n=`var(--presence)`,root:r,footer:o,delay:s}){let c=i[t]||i.layers;return(0,l.jsxs)(`div`,{className:`card reveal`,style:{"--delay":(s||0)+`ms`},children:[(0,l.jsxs)(`div`,{className:`card-eyebrow`,children:[(0,l.jsx)(c,{className:`ic`,style:{color:n}}),` `,e]}),(0,l.jsx)(`div`,{className:`cc-tree`,children:(0,l.jsx)(S,{node:r,path:`r`,depth:0})}),o&&(0,l.jsx)(`div`,{className:`insight-summary`,style:{marginTop:12},dangerouslySetInnerHTML:a(o)})]})}var C={true:{c:`var(--insight)`,label:`Verified`,icon:`check`},partly:{c:`var(--warning)`,label:`Partly true`,icon:`alert`},false:{c:`var(--danger)`,label:`False`,icon:`x`},unverified:{c:`var(--text-muted)`,label:`Unverified`,icon:`eyeOff`}};function te({title:e,icon:t=`proof`,iconColor:n=`var(--insight)`,claims:r,footer:o,delay:s}){let c=i[t]||i.proof,[u,d]=(0,h.useState)(0);return(0,l.jsxs)(`div`,{className:`card reveal`,style:{"--delay":(s||0)+`ms`},children:[(0,l.jsxs)(`div`,{className:`card-eyebrow`,children:[(0,l.jsx)(c,{className:`ic`,style:{color:n}}),` `,e]}),(0,l.jsx)(`div`,{className:`fc-list`,children:r.map((e,t)=>{let n=C[e.verdict],r=i[n.icon],o=u===t;return(0,l.jsxs)(`div`,{className:`fc-item ${o?`on`:``}`,style:{"--vc":n.c},children:[(0,l.jsxs)(`button`,{className:`fc-head`,onClick:()=>d(o?null:t),children:[(0,l.jsx)(`span`,{className:`fc-verdict`,style:{color:n.c},children:(0,l.jsx)(r,{className:`fc-verdict-ic`})}),(0,l.jsx)(`span`,{className:`fc-claim`,dangerouslySetInnerHTML:a(e.claim)}),(0,l.jsxs)(`span`,{className:`fc-conf tab-num`,style:{color:n.c},children:[Math.round(e.confidence),`%`]}),(0,l.jsx)(i.chevR,{className:`fc-chev ${o?`open`:``}`})]}),(0,l.jsx)(`div`,{className:`fc-bar`,children:(0,l.jsx)(`span`,{className:`fc-bar-fill`,style:{width:e.confidence+`%`,background:n.c}})}),(0,l.jsx)(`div`,{className:`fc-detail`,"data-open":o,children:o&&(0,l.jsxs)(`div`,{className:`fc-detail-in`,children:[(0,l.jsx)(`span`,{className:`fc-tag`,style:{color:n.c,"--vc":n.c},children:n.label}),e.detail&&(0,l.jsx)(`div`,{className:`fc-expl`,dangerouslySetInnerHTML:a(e.detail)}),e.sources&&e.sources.length>0&&(0,l.jsx)(`div`,{className:`fc-sources`,children:e.sources.map((e,t)=>(0,l.jsxs)(`span`,{className:`fc-source mono`,children:[(0,l.jsx)(i.globe,{className:`fc-source-ic`}),` `,e]},t))})]})})]},t)})}),o&&(0,l.jsx)(`div`,{className:`insight-summary`,style:{marginTop:12},dangerouslySetInnerHTML:a(o)})]})}var w={strong:`var(--insight)`,partial:`var(--warning)`,weak:`var(--danger)`,none:`var(--text-muted)`},T={strong:1,partial:.6,weak:.3,none:0};function E({title:e,icon:t=`shield`,iconColor:n=`var(--insight)`,claim:r,overall:o,segments:s,footer:c,delay:u}){let d=i[t]||i.shield,f=s.reduce((e,t,n)=>{let r=(t.weight||0)*T[t.band||`partial`];return r>e.score?{i:n,score:r}:e},{i:0,score:-1}).i,[p,m]=(0,h.useState)(f),g=s.reduce((e,t)=>e+(t.weight||0),0)||1,_=o??Math.round(s.reduce((e,t)=>e+(t.weight||0)*T[t.band||`partial`],0)/g*100),v=_>=75?`var(--insight)`:_>=45?`var(--warning)`:`var(--danger)`,y=s[p];return(0,l.jsxs)(`div`,{className:`card reveal`,style:{"--delay":(u||0)+`ms`},children:[(0,l.jsxs)(`div`,{className:`card-eyebrow`,children:[(0,l.jsx)(d,{className:`ic`,style:{color:n}}),` `,e]}),r&&(0,l.jsx)(`div`,{className:`cm-claim`,dangerouslySetInnerHTML:a(r)}),(0,l.jsxs)(`div`,{className:`insight-stat`,style:{margin:`8px 0 10px`},children:[(0,l.jsxs)(`span`,{className:`big tab-num`,"data-mark":`underline`,style:{color:v},children:[_,`%`]}),(0,l.jsx)(`span`,{className:`cm-conf-label faint`,children:`overall confidence`})]}),(0,l.jsx)(`div`,{className:`cm-track`,children:s.map((e,t)=>{let n=w[e.band||`partial`],r=(e.weight||0)/g*100;return(0,l.jsx)(`button`,{className:`cm-seg ${p===t?`on`:``}`,style:{width:r+`%`,"--c":n},onMouseEnter:()=>m(t)},t)})}),(0,l.jsx)(`div`,{className:`cm-legend`,children:s.map((e,t)=>{let n=w[e.band||`partial`];return(0,l.jsxs)(`button`,{className:`cm-leg ${p===t?`on`:``}`,onMouseEnter:()=>m(t),children:[(0,l.jsx)(`span`,{className:`cm-leg-dot`,style:{background:n}}),(0,l.jsx)(`span`,{className:`cm-leg-label`,children:e.label})]},t)})}),y&&(0,l.jsxs)(`div`,{className:`cm-basis`,style:{"--c":w[y.band||`partial`]},children:[(0,l.jsxs)(`div`,{className:`cm-basis-head`,children:[(0,l.jsx)(`span`,{className:`cm-basis-name`,children:y.label}),(0,l.jsxs)(`span`,{className:`cm-basis-band tab-num`,children:[Math.round(y.weight/g*100),`% weight`]})]}),y.basis&&(0,l.jsx)(`div`,{className:`cm-basis-body`,dangerouslySetInnerHTML:a(y.basis)})]},p),c&&(0,l.jsx)(`div`,{className:`insight-summary`,style:{marginTop:12},dangerouslySetInnerHTML:a(c)})]})}function D({title:e,icon:t=`quote`,iconColor:n=`var(--presence)`,quote:r,phrase:o,source:s,locator:c,color:u=`var(--presence)`,footer:d,delay:f}){let p=i[t]||i.quote,[m,g]=(0,h.useState)(!0),_=o?r.indexOf(o):-1,v;return v=_>=0?(0,l.jsxs)(l.Fragment,{children:[r.slice(0,_),(0,l.jsx)(`mark`,{className:`hs-mark ${m?`on`:``}`,style:{"--hl":u},children:r.slice(_,_+o.length)}),r.slice(_+o.length)]}):r,(0,l.jsxs)(`div`,{className:`card reveal`,style:{"--delay":(f||0)+`ms`},children:[(0,l.jsxs)(`div`,{className:`card-eyebrow`,children:[(0,l.jsx)(p,{className:`ic`,style:{color:n}}),` `,e]}),(0,l.jsxs)(`figure`,{className:`hs-fig`,style:{"--hl":u},children:[(0,l.jsx)(`span`,{className:`hs-quote-glyph`,children:`“`}),(0,l.jsx)(`blockquote`,{className:`hs-quote`,children:v})]}),(0,l.jsxs)(`div`,{className:`hs-foot`,children:[s&&(0,l.jsxs)(`span`,{className:`hs-chip mono`,children:[(0,l.jsx)(i.globe,{className:`hs-chip-ic`}),` `,s,c&&(0,l.jsxs)(`span`,{className:`hs-loc faint`,children:[` · `,c]})]}),(0,l.jsxs)(`button`,{className:`hs-toggle ${m?`on`:``}`,onClick:()=>g(e=>!e),style:{"--hl":u},children:[m?(0,l.jsx)(i.eye,{className:`hs-toggle-ic`}):(0,l.jsx)(i.eyeOff,{className:`hs-toggle-ic`}),m?`Highlighted`:`Plain`]})]}),d&&(0,l.jsx)(`div`,{className:`insight-summary`,style:{marginTop:12},dangerouslySetInnerHTML:a(d)})]})}function O({title:e,icon:t=`image`,iconColor:n=`var(--presence)`,caption:r,ratio:o=16/9,callouts:s,footer:c,delay:u}){let d=i[t]||i.image,[f,p]=(0,h.useState)(0),m=s[f],g=m?.color||`var(--presence)`;return(0,l.jsxs)(`div`,{className:`card reveal`,style:{"--delay":(u||0)+`ms`},children:[(0,l.jsxs)(`div`,{className:`card-eyebrow`,children:[(0,l.jsx)(d,{className:`ic`,style:{color:n}}),` `,e]}),(0,l.jsxs)(`div`,{className:`ac-surface`,style:{aspectRatio:String(o)},children:[(0,l.jsxs)(`svg`,{className:`ac-bg`,viewBox:`0 0 160 90`,preserveAspectRatio:`none`,"aria-hidden":!0,children:[(0,l.jsx)(`defs`,{children:(0,l.jsxs)(`linearGradient`,{id:`acg`,x1:`0`,y1:`0`,x2:`1`,y2:`1`,children:[(0,l.jsx)(`stop`,{offset:`0%`,stopColor:`var(--grid-strong)`}),(0,l.jsx)(`stop`,{offset:`100%`,stopColor:`var(--grid-line)`})]})}),(0,l.jsx)(`rect`,{x:`0`,y:`0`,width:`160`,height:`90`,fill:`url(#acg)`}),[18,36,54,72].map(e=>(0,l.jsx)(`line`,{x1:`10`,y1:e,x2:`150`,y2:e,stroke:`var(--grid-line)`,strokeWidth:`0.6`},e)),[40,80,120].map(e=>(0,l.jsx)(`line`,{x1:e,y1:`8`,x2:e,y2:`82`,stroke:`var(--grid-line)`,strokeWidth:`0.6`},e))]}),s.map((e,t)=>{let n=e.color||`var(--presence)`;return(0,l.jsxs)(`button`,{className:`ac-pin ${f===t?`on`:``}`,style:{left:e.x+`%`,top:e.y+`%`,"--pc":n},onMouseEnter:()=>p(t),onClick:()=>p(t),"aria-label":e.label,"data-mark":t===0?`point`:void 0,children:[(0,l.jsx)(`span`,{className:`ac-pin-ring`}),(0,l.jsx)(`span`,{className:`ac-pin-num tab-num`,children:t+1})]},t)})]}),r&&(0,l.jsx)(`div`,{className:`ac-caption faint`,children:r}),m&&(0,l.jsxs)(`div`,{className:`ac-note`,style:{"--pc":g},children:[(0,l.jsx)(`span`,{className:`ac-note-num tab-num`,children:f+1}),(0,l.jsxs)(`div`,{className:`ac-note-text`,children:[(0,l.jsx)(`span`,{className:`ac-note-label`,children:m.label}),(0,l.jsx)(`span`,{className:`ac-note-body`,dangerouslySetInnerHTML:a(m.note)})]})]},f),(0,l.jsx)(`div`,{className:`ac-thumbs`,children:s.map((e,t)=>(0,l.jsx)(`button`,{className:`ac-thumb tab-num ${f===t?`on`:``}`,style:{"--pc":e.color||`var(--presence)`},onClick:()=>p(t),children:t+1},t))}),c&&(0,l.jsx)(`div`,{className:`insight-summary`,style:{marginTop:12},dangerouslySetInnerHTML:a(c)})]})}function ne({title:e,icon:t=`globe`,iconColor:n=`var(--presence)`,sources:r,footer:o,delay:s}){let c=i[t]||i.globe,[u,d]=(0,h.useState)(`relevance`),[f,p]=(0,h.useState)(0),m=(0,h.useMemo)(()=>{let e=r.map((e,t)=>t);return e.sort((e,t)=>u===`relevance`?r[t].relevance-r[e].relevance:r[e].domain.localeCompare(r[t].domain)),e},[r,u]);return(0,l.jsxs)(`div`,{className:`card reveal`,style:{"--delay":(s||0)+`ms`},children:[(0,l.jsxs)(`div`,{className:`card-eyebrow`,children:[(0,l.jsx)(c,{className:`ic`,style:{color:n}}),` `,e]}),(0,l.jsxs)(`div`,{className:`sl-tabs`,children:[(0,l.jsxs)(`button`,{className:`sl-tab ${u===`relevance`?`on`:``}`,onClick:()=>d(`relevance`),children:[(0,l.jsx)(i.chart,{className:`ic`}),` Relevance`]}),(0,l.jsxs)(`button`,{className:`sl-tab ${u===`az`?`on`:``}`,onClick:()=>d(`az`),children:[(0,l.jsx)(i.doc,{className:`ic`}),` A–Z`]}),(0,l.jsxs)(`span`,{className:`sl-total faint tab-num`,children:[r.length,` sources`]})]}),(0,l.jsx)(`div`,{className:`sl-list`,children:m.map((e,t)=>{let n=r[e],o=n.color||`var(--presence)`,s=n.glyph||n.domain.replace(/^www\./,``).charAt(0).toUpperCase(),c=f===e;return(0,l.jsxs)(`div`,{className:`sl-row ${c?`on`:``}`,children:[(0,l.jsxs)(`button`,{className:`sl-head`,onClick:()=>p(c?null:e),children:[(0,l.jsx)(`span`,{className:`sl-rank tab-num`,children:t+1}),(0,l.jsx)(`span`,{className:`sl-fav`,style:{"--fc":o,background:`color-mix(in oklab, ${o} 22%, transparent)`,color:o},children:s}),(0,l.jsxs)(`span`,{className:`sl-main`,children:[(0,l.jsx)(`span`,{className:`sl-title`,children:n.titleText}),(0,l.jsxs)(`span`,{className:`sl-domain mono faint`,children:[n.domain,n.date&&(0,l.jsxs)(`span`,{className:`sl-date`,children:[` · `,n.date]})]})]}),(0,l.jsxs)(`span`,{className:`sl-rel`,children:[(0,l.jsx)(`span`,{className:`sl-rel-track`,children:(0,l.jsx)(`span`,{className:`sl-rel-fill`,style:{width:n.relevance+`%`,background:o}})}),(0,l.jsx)(`span`,{className:`sl-rel-num tab-num`,style:{color:o},children:Math.round(n.relevance)})]}),(0,l.jsx)(i.chevR,{className:`sl-chev ${c?`open`:``}`})]}),(0,l.jsxs)(`div`,{className:`sl-detail`,"data-open":c,children:[c&&n.snippet&&(0,l.jsx)(`div`,{className:`sl-snippet`,dangerouslySetInnerHTML:a(n.snippet)}),c&&(0,l.jsxs)(`span`,{className:`sl-open mono`,children:[(0,l.jsx)(i.external,{className:`sl-open-ic`}),` `,n.domain]})]})]},e)})}),o&&(0,l.jsx)(`div`,{className:`insight-summary`,style:{marginTop:12},dangerouslySetInnerHTML:a(o)})]})}var k={yes:{c:`var(--insight)`,icon:`check`,t:`Supported`},no:{c:`var(--danger)`,icon:`x`,t:`Contradicted`},partial:{c:`var(--warning)`,icon:`alert`,t:`Partial`},na:{c:`var(--text-muted)`,icon:null,t:`No data`}};function re({title:e,icon:t=`table`,iconColor:n=`var(--presence)`,columns:r,rows:o,footer:s,delay:c}){let u=i[t]||i.table,[d,f]=(0,h.useState)({r:0,c:0}),p=d&&o[d.r]&&o[d.r].cells[d.c]?o[d.r].cells[d.c]:null,m=p?k[p.state]:null;return(0,l.jsxs)(`div`,{className:`card reveal`,style:{"--delay":(c||0)+`ms`},children:[(0,l.jsxs)(`div`,{className:`card-eyebrow`,children:[(0,l.jsx)(u,{className:`ic`,style:{color:n}}),` `,e]}),(0,l.jsx)(`div`,{className:`cg-scroll`,children:(0,l.jsxs)(`table`,{className:`cg-table`,style:{"--cols":r.length},children:[(0,l.jsx)(`thead`,{children:(0,l.jsxs)(`tr`,{children:[(0,l.jsx)(`th`,{className:`cg-corner`}),r.map((e,t)=>(0,l.jsx)(`th`,{className:`cg-colh`,children:(0,l.jsx)(`span`,{children:e})},t))]})}),(0,l.jsx)(`tbody`,{children:o.map((e,t)=>(0,l.jsxs)(`tr`,{children:[(0,l.jsx)(`th`,{className:`cg-rowh`,scope:`row`,children:e.claim}),r.map((n,r)=>{let a=e.cells[r]?.state??`na`,o=k[a],s=o.icon?i[o.icon]:null;return(0,l.jsx)(`td`,{className:`cg-cell ${a} ${d?.r===t&&d?.c===r?`on`:``}`,style:{"--cc":o.c},onMouseEnter:()=>f({r:t,c:r}),children:(0,l.jsx)(`span`,{className:`cg-mark`,children:s?(0,l.jsx)(s,{className:`cg-mark-ic`}):(0,l.jsx)(`span`,{className:`cg-dash`,children:`–`})})},r)})]},t))})]})}),p&&m&&(0,l.jsxs)(`div`,{className:`cg-tip`,style:{"--cc":m.c},children:[(0,l.jsx)(`span`,{className:`cg-tip-tag`,style:{color:m.c},children:m.t}),p.note?(0,l.jsx)(`span`,{className:`cg-tip-note`,dangerouslySetInnerHTML:a(p.note)}):(0,l.jsxs)(`span`,{className:`cg-tip-note faint`,children:[o[d.r].claim,` × `,r[d.c]]})]}),s&&(0,l.jsx)(`div`,{className:`insight-summary`,style:{marginTop:12},dangerouslySetInnerHTML:a(s)})]})}function A(e,t,n,r){e.forEach((e,i)=>{let a=`${n}-${i}`,o=!!(e.children&&e.children.length);r.push({node:e,depth:t,path:a,hasKids:o,index:r.length}),o&&A(e.children,t+1,a,r)})}function ie({title:e,icon:t=`doc`,iconColor:n=`var(--presence)`,docName:r,sections:o,activeIndex:s=0,footer:c,delay:u}){let d=i[t]||i.doc,f=(0,h.useMemo)(()=>{let e=[];return A(o,0,`o`,e),e},[o]),[p,m]=(0,h.useState)(Math.max(0,Math.min(s,f.length-1))),[g,_]=(0,h.useState)({}),v=Math.max(1,...f.map(e=>e.node.weight||0)),y=e=>Object.keys(g).some(t=>g[t]&&e!==t&&e.startsWith(t+`-`)),b=f.length,x=p+1;return(0,l.jsxs)(`div`,{className:`card reveal`,style:{"--delay":(u||0)+`ms`},children:[(0,l.jsxs)(`div`,{className:`card-eyebrow`,children:[(0,l.jsx)(d,{className:`ic`,style:{color:n}}),` `,e]}),(0,l.jsxs)(`div`,{className:`do-head`,children:[r&&(0,l.jsx)(`span`,{className:`do-docname mono faint`,children:r}),(0,l.jsxs)(`span`,{className:`do-progress tab-num faint`,children:[(0,l.jsx)(`span`,{style:{color:`var(--presence)`},children:x}),`/`,b]})]}),(0,l.jsx)(`div`,{className:`do-list`,children:f.map(e=>{if(y(e.path))return null;let t=p===e.index,n=t?`var(--presence)`:`var(--text-muted)`,r=!!g[e.path],a=(e.node.weight||0)/v*100;return(0,l.jsxs)(`div`,{className:`do-row ${t?`on`:``}`,style:{"--depth":Math.min(e.depth,6)},children:[(0,l.jsx)(`span`,{className:`do-rail`}),e.hasKids?(0,l.jsx)(`button`,{className:`do-twist`,onClick:t=>{t.stopPropagation(),_(t=>({...t,[e.path]:!t[e.path]}))},"aria-label":r?`expand`:`collapse`,children:(0,l.jsx)(i.chevR,{className:`do-twist-ic ${r?``:`open`}`})}):(0,l.jsx)(`span`,{className:`do-dot`,style:{background:n},...t?{"data-mark":`point`}:{}}),(0,l.jsxs)(`button`,{className:`do-jump`,onClick:()=>m(e.index),children:[(0,l.jsx)(`span`,{className:`do-heading`,children:e.node.heading}),(e.node.weight??0)>0&&(0,l.jsx)(`span`,{className:`do-wbar`,children:(0,l.jsx)(`span`,{className:`do-wfill`,style:{width:a+`%`}})}),e.node.loc&&(0,l.jsx)(`span`,{className:`do-loc mono faint`,children:e.node.loc})]})]},e.path)})}),c&&(0,l.jsx)(`div`,{className:`insight-summary`,style:{marginTop:12},dangerouslySetInnerHTML:a(c)})]})}var ae={add:`+`,del:`−`,ctx:` `};function j({title:e,icon:t=`doc`,iconColor:n=`var(--presence)`,leftLabel:r=`before`,rightLabel:o=`after`,lines:s,split:c=!1,footer:u,delay:d}){let f=i[t]||i.doc,p=s.filter(e=>e.kind===`add`).length,m=s.filter(e=>e.kind===`del`).length;return(0,l.jsxs)(`div`,{className:`card reveal`,style:{"--delay":(d||0)+`ms`},children:[(0,l.jsxs)(`div`,{className:`card-eyebrow`,children:[(0,l.jsx)(f,{className:`ic`,style:{color:n}}),` `,e]}),(0,l.jsxs)(`div`,{className:`dc-diff-head`,children:[(0,l.jsxs)(`span`,{className:`dc-diff-files`,children:[r,` `,(0,l.jsx)(i.chevR,{className:`dc-diff-arrow`}),` `,o]}),(0,l.jsxs)(`span`,{className:`dc-diff-stat`,children:[(0,l.jsxs)(`span`,{className:`add`,"data-mark":`underline`,children:[`+`,p]}),` `,(0,l.jsxs)(`span`,{className:`del`,children:[`−`,m]})]})]}),(0,l.jsx)(`div`,{className:`dc-diff`,children:c?(0,l.jsxs)(`div`,{className:`dc-diff-split`,children:[(0,l.jsx)(`div`,{className:`dc-diff-body`,children:s.filter(e=>e.kind!==`add`).map((e,t)=>(0,l.jsxs)(`div`,{className:`dc-diff-line `+(e.kind===`del`?`del`:`ctx`),children:[(0,l.jsx)(`span`,{className:`dc-diff-gut`,children:e.oldNo??``}),(0,l.jsx)(`span`,{className:`dc-diff-code`,children:e.text})]},t))}),(0,l.jsx)(`div`,{className:`dc-diff-body`,children:s.filter(e=>e.kind!==`del`).map((e,t)=>(0,l.jsxs)(`div`,{className:`dc-diff-line `+(e.kind===`add`?`add`:`ctx`),children:[(0,l.jsx)(`span`,{className:`dc-diff-gut`,children:e.newNo??``}),(0,l.jsx)(`span`,{className:`dc-diff-code`,children:e.text})]},t))})]}):(0,l.jsx)(`div`,{className:`dc-diff-body`,role:`table`,children:s.map((e,t)=>(0,l.jsxs)(`div`,{className:`dc-diff-line `+e.kind,role:`row`,children:[(0,l.jsx)(`span`,{className:`dc-diff-gut`,children:e.oldNo??``}),(0,l.jsx)(`span`,{className:`dc-diff-gut`,children:e.newNo??``}),(0,l.jsx)(`span`,{className:`dc-diff-sign`,children:ae[e.kind]}),(0,l.jsx)(`span`,{className:`dc-diff-code`,children:e.text})]},t))})}),u&&(0,l.jsx)(`div`,{className:`insight-summary`,style:{marginTop:10},dangerouslySetInnerHTML:a(u)})]})}function M({title:e,icon:t=`layers`,iconColor:n=`var(--presence)`,columns:r,rows:o,caption:s,footer:c,delay:u}){let d=i[t]||i.layers,f=r.length||1,p=`repeat(${f}, minmax(0, 1fr))`,m=o.filter(e=>e.diverge).length;return(0,l.jsxs)(`div`,{className:`card reveal`,style:{"--delay":(u||0)+`ms`},children:[e&&(0,l.jsxs)(`div`,{className:`card-eyebrow`,children:[(0,l.jsx)(d,{className:`ic`,style:{color:n}}),` `,e]}),s&&(0,l.jsx)(`div`,{className:`pt-caption`,children:s}),(0,l.jsx)(`div`,{className:`pt-scroll`,children:(0,l.jsxs)(`div`,{className:`pt-grid`,style:{"--pt-cols":p},children:[(0,l.jsx)(`div`,{className:`pt-headrow`,style:{gridTemplateColumns:p},children:r.map((e,t)=>(0,l.jsxs)(`div`,{className:`pt-colh`+(t===0?` source`:``),children:[(0,l.jsx)(`span`,{className:`pt-colh-label`,children:e.label}),e.lang&&(0,l.jsx)(`span`,{className:`pt-colh-lang mono`,children:e.lang})]},t))}),o.map((e,t)=>(0,l.jsxs)(`div`,{className:`pt-line`+(e.diverge?` diverge`:``),children:[(0,l.jsx)(`div`,{className:`pt-cells`,style:{gridTemplateColumns:p},children:Array.from({length:f},(t,n)=>(0,l.jsx)(`div`,{className:`pt-cell`+(n===0?` source`:``),children:e.cells[n]??``},n))}),e.note&&(0,l.jsxs)(`div`,{className:`pt-note`,children:[(0,l.jsx)(`span`,{className:`pt-note-rail`,"aria-hidden":`true`}),(0,l.jsx)(`span`,{className:`pt-note-text`,children:e.note})]})]},t))]})}),(c||m>0)&&(0,l.jsxs)(`div`,{className:`pt-foot`,children:[m>0&&(0,l.jsxs)(`span`,{className:`pt-foot-tag`,children:[(0,l.jsx)(`span`,{className:`pt-foot-pip`,"aria-hidden":`true`}),m,` divergence`,m===1?``:`s`]}),c&&(0,l.jsx)(`span`,{className:`pt-foot-note`,dangerouslySetInnerHTML:a(c)})]})]})}var N={symptom:`var(--warning)`,diagnosis:`var(--presence)`,treatment:`var(--insight)`,test:`var(--text-secondary)`,result:`var(--text-primary)`,visit:`var(--text-muted)`},P={symptom:`alert`,diagnosis:`proof`,treatment:`sparkle`,test:`chart`,result:`check`,visit:`clock`};function F({title:e,icon:t=`doc`,iconColor:n=`var(--presence)`,events:r,footer:o,delay:s}){let c=i[t]||i.doc;return(0,l.jsxs)(`div`,{className:`card reveal`,style:{"--delay":(s||0)+`ms`},children:[(0,l.jsxs)(`div`,{className:`card-eyebrow`,children:[(0,l.jsx)(c,{className:`ic`,style:{color:n}}),` `,e]}),(0,l.jsx)(`div`,{className:`ct-events`,children:r.map((e,t)=>{let n=N[e.type],a=i[P[e.type]]||i.clock;return(0,l.jsxs)(`div`,{className:`ct-event`,children:[(0,l.jsxs)(`div`,{className:`ct-rail`,children:[(0,l.jsx)(`div`,{className:`ct-dot`,style:{background:n,borderColor:n}}),t<r.length-1&&(0,l.jsx)(`div`,{className:`ct-line`})]}),(0,l.jsxs)(`div`,{className:`ct-body`,children:[(0,l.jsxs)(`div`,{className:`ct-header`,children:[(0,l.jsxs)(`span`,{className:`ct-type-chip`,style:{color:n,background:`color-mix(in oklab, ${n} 12%, transparent)`},children:[(0,l.jsx)(a,{className:`ic`,style:{width:10,height:10}}),e.type]}),(0,l.jsx)(`span`,{className:`ct-date`,children:e.date})]}),(0,l.jsx)(`div`,{className:`ct-label`,children:e.label}),e.note&&(0,l.jsx)(`div`,{className:`ct-note`,children:e.note})]})]},t)})}),o&&(0,l.jsx)(`div`,{className:`insight-summary`,style:{marginTop:12},dangerouslySetInnerHTML:a(o)})]})}function I({title:e,icon:t=`doc`,iconColor:n=`var(--presence)`,question:r,method:o,sampleSize:s,findings:c,conclusion:u,limitations:d,source:f,year:p,footer:m,delay:h}){let g=i[t]||i.doc;return(0,l.jsxs)(`div`,{className:`card reveal`,style:{"--delay":(h||0)+`ms`},children:[(0,l.jsxs)(`div`,{className:`card-eyebrow`,children:[(0,l.jsx)(g,{className:`ic`,style:{color:n}}),` `,e]}),(0,l.jsx)(`div`,{className:`rs-question`,children:r}),(o||s)&&(0,l.jsxs)(`div`,{className:`rs-meta`,children:[o&&(0,l.jsx)(`span`,{className:`rs-meta-chip`,children:o}),s&&(0,l.jsx)(`span`,{className:`rs-meta-chip`,children:s}),p&&(0,l.jsx)(`span`,{className:`rs-meta-chip`,children:p})]}),(0,l.jsxs)(`div`,{className:`rs-findings`,children:[(0,l.jsx)(`div`,{className:`rs-section-label`,children:`Key Findings`}),(0,l.jsx)(`ul`,{className:`rs-findings-list`,children:c.map((e,t)=>(0,l.jsx)(`li`,{className:`rs-finding`,children:e},t))})]}),(0,l.jsxs)(`div`,{className:`rs-conclusion`,children:[(0,l.jsx)(`div`,{className:`rs-section-label`,children:`Conclusion`}),(0,l.jsx)(`div`,{className:`rs-conclusion-body`,children:u})]}),d&&(0,l.jsxs)(`div`,{className:`rs-limitations`,children:[(0,l.jsx)(`div`,{className:`rs-section-label`,children:`Limitations`}),(0,l.jsx)(`div`,{className:`rs-limitations-body`,children:d})]}),f&&(0,l.jsx)(`div`,{className:`rs-source`,children:f}),m&&(0,l.jsx)(`div`,{className:`insight-summary`,style:{marginTop:12},dangerouslySetInnerHTML:a(m)})]})}var L={pass:{color:`var(--insight)`,label:`Met`,icon:`check`},fail:{color:`var(--danger)`,label:`Not met`,icon:`x`},"needs-info":{color:`var(--warning)`,label:`Needs info`,icon:`alert`}},R={likely:{color:`var(--insight)`,label:`Likely qualify`},"not-yet":{color:`var(--danger)`,label:`Do not qualify yet`},depends:{color:`var(--warning)`,label:`Depends`}};function z({title:e,icon:t=`proof`,iconColor:n=`var(--insight)`,requirements:r,overall:o,caveat:s,footer:c,delay:u}){let d=i[t]||i.proof,f=r??[],p=o?R[o]:void 0;return(0,l.jsxs)(`div`,{className:`card reveal`,style:{"--delay":(u||0)+`ms`},children:[(0,l.jsxs)(`div`,{className:`card-eyebrow`,children:[(0,l.jsx)(d,{className:`ic`,style:{color:n}}),` `,e]}),p&&(0,l.jsxs)(`div`,{className:`ec-overall`,style:{"--eo":p.color},children:[(0,l.jsx)(`span`,{className:`ec-overall-label`,children:`Overall`}),(0,l.jsx)(`span`,{className:`ec-overall-verdict`,children:p.label})]}),(0,l.jsx)(`ul`,{className:`ec-list`,children:f.map((e,t)=>{let n=L[e.status]??L[`needs-info`],r=i[n.icon]||i.alert;return(0,l.jsxs)(`li`,{className:`ec-row`,style:{"--es":n.color},children:[(0,l.jsx)(`span`,{className:`ec-mark`,children:(0,l.jsx)(r,{className:`ec-mark-ic`})}),(0,l.jsxs)(`div`,{className:`ec-body`,children:[(0,l.jsxs)(`div`,{className:`ec-rule-line`,children:[(0,l.jsx)(`span`,{className:`ec-rule`,children:e.rule}),(0,l.jsx)(`span`,{className:`ec-badge`,children:n.label})]}),e.detail&&(0,l.jsx)(`div`,{className:`ec-detail`,children:e.detail}),e.fix&&(0,l.jsxs)(`div`,{className:`ec-fix`,children:[(0,l.jsx)(`span`,{className:`ec-fix-tag`,children:e.status===`fail`?`To qualify`:`Confirm`}),(0,l.jsx)(`span`,{children:e.fix})]})]})]},t)})}),s&&(0,l.jsxs)(`div`,{className:`ec-caveat`,children:[(0,l.jsx)(i.shield,{className:`ec-caveat-ic`}),(0,l.jsx)(`span`,{children:s})]}),c&&(0,l.jsx)(`div`,{className:`insight-summary`,style:{marginTop:12},dangerouslySetInnerHTML:a(c)})]})}var B=6;function V({title:e,icon:t=`proof`,iconColor:n=`var(--presence)`,claim:r,summary:o,items:s,caveat:c,footer:u,delay:d}){let f=i[t]||i.proof,p=s??[],[m,g]=(0,h.useState)(!1),_=p.length>B,v=m?p:p.slice(0,B),y=p.length-v.length;return(0,l.jsxs)(`div`,{className:`card reveal`,style:{"--delay":(d||0)+`ms`},children:[(0,l.jsxs)(`div`,{className:`card-eyebrow`,children:[(0,l.jsx)(f,{className:`ic`,style:{color:n}}),` `,e]}),r&&(0,l.jsxs)(`div`,{className:`et-claim`,children:[(0,l.jsx)(`span`,{className:`et-claim-rail`,style:{background:n}}),(0,l.jsxs)(`div`,{className:`et-claim-body`,children:[(0,l.jsx)(`div`,{className:`et-claim-text`,dangerouslySetInnerHTML:a(r)}),o&&(0,l.jsxs)(`span`,{className:`et-summary`,children:[(0,l.jsx)(i.chart,{className:`et-summary-ic`,style:{width:12,height:12}}),` `,o]})]})]}),(0,l.jsxs)(`div`,{className:`et-records-h`,children:[(0,l.jsx)(i.quote,{className:`et-records-h-ic`,style:{width:12,height:12}}),`Underlying records`,(0,l.jsx)(`span`,{className:`et-records-count tab-num`,children:p.length})]}),(0,l.jsx)(`ul`,{className:`et-records`,children:v.map((e,t)=>(0,l.jsxs)(`li`,{className:`et-record`,children:[(0,l.jsx)(`span`,{className:`et-marker`}),(0,l.jsxs)(`div`,{className:`et-record-body`,children:[(0,l.jsx)(`div`,{className:`et-record-text`,children:e.text}),(e.source||e.when)&&(0,l.jsxs)(`div`,{className:`et-record-meta`,children:[e.source&&(0,l.jsxs)(`span`,{className:`et-source mono`,children:[(0,l.jsx)(i.link,{className:`et-source-ic`,style:{width:11,height:11}}),e.source]}),e.when&&(0,l.jsx)(`span`,{className:`et-when`,children:e.when})]})]})]},t))}),_&&(0,l.jsxs)(`button`,{className:`et-more`,onClick:()=>g(e=>!e),children:[m?`Show fewer`:`Show all ${p.length} records`,!m&&(0,l.jsxs)(`span`,{className:`et-more-n tab-num`,children:[`+`,y]})]}),c&&(0,l.jsxs)(`div`,{className:`et-caveat`,children:[(0,l.jsx)(i.alert,{className:`et-caveat-ic`,style:{width:13,height:13}}),(0,l.jsx)(`span`,{children:c})]}),u&&(0,l.jsx)(`div`,{className:`insight-summary`,style:{marginTop:12},dangerouslySetInnerHTML:a(u)})]})}function H(e){return(Math.round(e*10)/10).toFixed(1)}function U({title:e,icon:t=`quote`,iconColor:n=`var(--presence)`,rating:r,count:o,distribution:s,loves:c,complaints:u,dealbreaker:d,footer:f,delay:p}){let m=i[t]||i.quote,h=c??[],g=u??[],_=s&&s.length===5?s:null,v=_?Math.max(..._,1):1,y=_?_.reduce((e,t)=>e+t,0):0,b=r??(_&&y>0?_.reduce((e,t,n)=>e+t*(5-n),0)/y:void 0),x=o??(y>0?y:void 0);return(0,l.jsxs)(`div`,{className:`card reveal`,style:{"--delay":(p||0)+`ms`},children:[(0,l.jsxs)(`div`,{className:`card-eyebrow`,children:[(0,l.jsx)(m,{className:`ic`,style:{color:n}}),` `,e]}),(b!==void 0||_)&&(0,l.jsxs)(`div`,{className:`rv-summary`,children:[b!==void 0&&(0,l.jsxs)(`div`,{className:`rv-score`,children:[(0,l.jsx)(`span`,{className:`rv-score-val tab-num`,children:H(b)}),(0,l.jsxs)(`span`,{className:`rv-stars`,"aria-hidden":`true`,children:[(0,l.jsx)(`span`,{className:`rv-stars-fill`,style:{width:Math.min(b,5)/5*100+`%`},children:`★★★★★`}),(0,l.jsx)(`span`,{className:`rv-stars-track`,children:`★★★★★`})]}),x!==void 0&&(0,l.jsxs)(`span`,{className:`rv-count`,children:[x.toLocaleString(),` reviews`]})]}),_&&(0,l.jsx)(`div`,{className:`rv-dist`,children:_.map((e,t)=>(0,l.jsxs)(`div`,{className:`rv-dist-row`,children:[(0,l.jsx)(`span`,{className:`rv-dist-star tab-num`,children:5-t}),(0,l.jsx)(i.spark,{className:`rv-dist-ic`}),(0,l.jsx)(`span`,{className:`rv-dist-track`,children:(0,l.jsx)(`span`,{className:`rv-dist-fill`,style:{width:e/v*100+`%`}})}),(0,l.jsx)(`span`,{className:`rv-dist-n tab-num`,children:e.toLocaleString()})]},t))})]}),(h.length>0||g.length>0)&&(0,l.jsxs)(`div`,{className:`rv-split`,children:[h.length>0&&(0,l.jsxs)(`section`,{className:`rv-col rv-col--love`,children:[(0,l.jsxs)(`div`,{className:`rv-col-h`,children:[(0,l.jsx)(i.check,{className:`rv-col-ic`}),` People love`]}),(0,l.jsx)(`ul`,{className:`rv-themes`,children:h.map((e,t)=>(0,l.jsx)(W,{theme:e},t))})]}),g.length>0&&(0,l.jsxs)(`section`,{className:`rv-col rv-col--gripe`,children:[(0,l.jsxs)(`div`,{className:`rv-col-h`,children:[(0,l.jsx)(i.x,{className:`rv-col-ic`}),` Complaints`]}),(0,l.jsx)(`ul`,{className:`rv-themes`,children:g.map((e,t)=>(0,l.jsx)(W,{theme:e},t))})]})]}),d&&(0,l.jsxs)(`div`,{className:`rv-dealbreaker`,children:[(0,l.jsx)(i.alert,{className:`rv-db-ic`}),(0,l.jsxs)(`span`,{children:[(0,l.jsx)(`b`,{children:`Biggest dealbreaker:`}),` `,d]})]}),f&&(0,l.jsx)(`div`,{className:`insight-summary`,style:{marginTop:12},dangerouslySetInnerHTML:a(f)})]})}function W(e){let t=(0,f.c)(12),{theme:n}=e,r;t[0]===n.theme?r=t[1]:(r=(0,l.jsx)(`span`,{className:`rv-theme-name`,children:n.theme}),t[0]=n.theme,t[1]=r);let i;t[2]===n.freq?i=t[3]:(i=n.freq&&(0,l.jsx)(`span`,{className:`rv-theme-freq`,children:n.freq}),t[2]=n.freq,t[3]=i);let a;t[4]!==r||t[5]!==i?(a=(0,l.jsxs)(`div`,{className:`rv-theme-head`,children:[r,i]}),t[4]=r,t[5]=i,t[6]=a):a=t[6];let o;t[7]===n.quote?o=t[8]:(o=n.quote&&(0,l.jsx)(`blockquote`,{className:`rv-quote`,children:`“`+n.quote+`”`}),t[7]=n.quote,t[8]=o);let s;return t[9]!==a||t[10]!==o?(s=(0,l.jsxs)(`li`,{className:`rv-theme`,children:[a,o]}),t[9]=a,t[10]=o,t[11]=s):s=t[11],s}function G({name:e,title:t,icon:n=`doc`,iconColor:r=`var(--presence)`,contact:o,summary:s,experience:c,education:u,skills:d,footer:f,delay:p}){let m=i[n]||i.doc;return(0,l.jsxs)(`div`,{className:`card reveal`,style:{"--delay":(p||0)+`ms`},children:[(0,l.jsxs)(`div`,{className:`card-eyebrow`,children:[(0,l.jsx)(m,{className:`ic`,style:{color:r}}),` `,e]}),(0,l.jsxs)(`div`,{className:`rz-paper`,children:[(0,l.jsxs)(`div`,{className:`rz-head`,children:[(0,l.jsx)(`div`,{className:`rz-name`,children:e}),t&&(0,l.jsx)(`div`,{className:`rz-title`,children:t}),!!o?.length&&(0,l.jsx)(`div`,{className:`rz-contact`,children:o.map((e,t)=>(0,l.jsx)(`span`,{className:`rz-contact-item`,children:e},t))})]}),s&&(0,l.jsx)(`p`,{className:`rz-summary`,children:s}),c.length>0&&(0,l.jsxs)(`section`,{className:`rz-section`,children:[(0,l.jsx)(`div`,{className:`rz-section-label`,children:`Experience`}),(0,l.jsx)(`div`,{className:`rz-exp-list`,children:c.map((e,t)=>(0,l.jsx)(K,{exp:e,i:t},t))})]}),!!u?.length&&(0,l.jsxs)(`section`,{className:`rz-section`,children:[(0,l.jsx)(`div`,{className:`rz-section-label`,children:`Education`}),(0,l.jsx)(`div`,{className:`rz-edu-list`,children:u.map((e,t)=>(0,l.jsx)(q,{ed:e,i:t},t))})]}),!!d?.length&&(0,l.jsxs)(`section`,{className:`rz-section`,children:[(0,l.jsx)(`div`,{className:`rz-section-label`,children:`Skills`}),(0,l.jsx)(`div`,{className:`rz-skills`,children:d.map((e,t)=>(0,l.jsx)(`span`,{className:`rz-skill m-stagger-item m-fade-rise`,style:{"--i":t},children:e},t))})]})]}),f&&(0,l.jsx)(`div`,{className:`insight-summary`,style:{marginTop:12},dangerouslySetInnerHTML:a(f)})]})}function K({exp:e,i:t}){let n=[e.start,e.end||`Present`].filter(Boolean).join(` – `);return(0,l.jsxs)(`div`,{className:`rz-exp m-stagger-item m-fade-rise`,style:{"--i":t},children:[(0,l.jsxs)(`div`,{className:`rz-exp-top`,children:[(0,l.jsxs)(`div`,{className:`rz-exp-who`,children:[(0,l.jsx)(`span`,{className:`rz-exp-role`,children:e.role}),(0,l.jsx)(`span`,{className:`rz-exp-org`,children:e.org})]}),(0,l.jsxs)(`div`,{className:`rz-exp-when`,children:[(0,l.jsx)(`span`,{className:`rz-exp-range`,children:n}),e.location&&(0,l.jsx)(`span`,{className:`rz-exp-loc`,children:e.location})]})]}),!!e.bullets?.length&&(0,l.jsx)(`ul`,{className:`rz-bullets`,children:e.bullets.map((e,t)=>(0,l.jsx)(`li`,{children:e},t))})]})}function q({ed:e,i:t}){let n=[e.start,e.end].filter(Boolean).join(` – `);return(0,l.jsxs)(`div`,{className:`rz-edu m-stagger-item m-fade-rise`,style:{"--i":t},children:[(0,l.jsxs)(`div`,{className:`rz-exp-top`,children:[(0,l.jsxs)(`div`,{className:`rz-exp-who`,children:[(0,l.jsx)(`span`,{className:`rz-exp-role`,children:e.school}),(0,l.jsx)(`span`,{className:`rz-exp-org`,children:e.credential})]}),n&&(0,l.jsx)(`div`,{className:`rz-exp-when`,children:(0,l.jsx)(`span`,{className:`rz-exp-range`,children:n})})]}),e.detail&&(0,l.jsx)(`div`,{className:`rz-edu-detail`,children:e.detail})]})}var J={added:`var(--insight)`,changed:`var(--presence)`,fixed:`var(--presence-soft)`,deprecated:`var(--warning-soft)`,removed:`var(--warning)`,security:`var(--danger)`},oe={added:`plus`,changed:`refresh`,fixed:`check`,deprecated:`clock`,removed:`x`,security:`shield`},Y=[`security`,`removed`,`deprecated`,`fixed`,`changed`,`added`];function se(e){let t=Y.length-1;for(let n of e){let e=Y.indexOf(n.kind);e!==-1&&e<t&&(t=e)}return Y[t]??`changed`}function ce({title:e,icon:t=`doc`,iconColor:n=`var(--presence)`,versions:r,footer:o,delay:s}){let c=i[t]||i.doc;return(0,l.jsxs)(`div`,{className:`card reveal`,style:{"--delay":(s||0)+`ms`},children:[(0,l.jsxs)(`div`,{className:`card-eyebrow`,children:[(0,l.jsx)(c,{className:`ic`,style:{color:n}}),` `,e]}),(0,l.jsx)(`div`,{className:`cl-versions`,children:r.map((e,t)=>{let n=t===r.length-1,a=e.entries.length?J[se(e.entries)]:`var(--text-muted)`;return(0,l.jsxs)(`div`,{className:`cl-version m-stagger-item m-fade-rise`,style:{"--i":t},children:[(0,l.jsxs)(`div`,{className:`cl-rail`,children:[(0,l.jsx)(`div`,{className:`cl-dot`,style:{borderColor:a,color:a}}),!n&&(0,l.jsx)(`div`,{className:`cl-line`})]}),(0,l.jsxs)(`div`,{className:`cl-body`,children:[(0,l.jsxs)(`div`,{className:`cl-version-head`,children:[(0,l.jsx)(`span`,{className:`cl-version-num`,children:e.version}),e.date&&(0,l.jsx)(`span`,{className:`cl-version-date`,children:e.date})]}),e.entries.length>0&&(0,l.jsx)(`div`,{className:`cl-entries`,children:e.entries.map((e,t)=>{let n=J[e.kind]??`var(--text-muted)`,r=i[oe[e.kind]]||i.doc;return(0,l.jsxs)(`div`,{className:`cl-entry`,children:[(0,l.jsxs)(`span`,{className:`cl-kind`,style:{color:n,background:`color-mix(in oklab, ${n} 14%, transparent)`},children:[(0,l.jsx)(r,{className:`ic`}),e.kind]}),(0,l.jsx)(`span`,{className:`cl-entry-text`,children:e.text})]},t)})})]})]},t)})}),o&&(0,l.jsx)(`div`,{className:`insight-summary`,style:{marginTop:12},dangerouslySetInnerHTML:a(o)})]})}function le({title:e,icon:t=`doc`,iconColor:n=`var(--presence)`,subject:r,gradeLevel:o,duration:s,objectives:c,materials:u,procedure:d,assessment:f,footer:p,delay:m}){let h=i[t]||i.doc,g=d.reduce((e,t)=>e+(t.minutes||0),0),_=s||(g>0?`${g} min`:void 0);return(0,l.jsxs)(`div`,{className:`card reveal`,style:{"--delay":(m||0)+`ms`},children:[(0,l.jsxs)(`div`,{className:`card-eyebrow`,children:[(0,l.jsx)(h,{className:`ic`,style:{color:n}}),` `,e]}),(0,l.jsxs)(`div`,{className:`lp-paper`,children:[(r||o||_)&&(0,l.jsxs)(`div`,{className:`lp-meta`,children:[r&&(0,l.jsx)(`span`,{className:`lp-meta-chip`,children:r}),o&&(0,l.jsx)(`span`,{className:`lp-meta-chip`,children:o}),_&&(0,l.jsx)(`span`,{className:`lp-meta-chip`,children:_})]}),c.length>0&&(0,l.jsxs)(`section`,{className:`lp-section`,children:[(0,l.jsx)(`div`,{className:`lp-section-label`,children:`Objectives`}),(0,l.jsx)(`ul`,{className:`lp-list`,children:c.map((e,t)=>(0,l.jsx)(`li`,{children:e},t))})]}),!!u?.length&&(0,l.jsxs)(`section`,{className:`lp-section`,children:[(0,l.jsx)(`div`,{className:`lp-section-label`,children:`Materials`}),(0,l.jsx)(`div`,{className:`lp-materials`,children:u.map((e,t)=>(0,l.jsx)(`span`,{className:`lp-material`,children:e},t))})]}),d.length>0&&(0,l.jsxs)(`section`,{className:`lp-section`,children:[(0,l.jsx)(`div`,{className:`lp-section-label`,children:`Procedure`}),(0,l.jsx)(`div`,{className:`lp-steps`,children:d.map((e,t)=>(0,l.jsxs)(`div`,{className:`lp-step m-stagger-item m-fade-rise`,style:{"--i":t},children:[(0,l.jsx)(`span`,{className:`lp-step-num`,children:t+1}),(0,l.jsxs)(`div`,{className:`lp-step-body`,children:[(0,l.jsxs)(`div`,{className:`lp-step-top`,children:[(0,l.jsx)(`span`,{className:`lp-step-text`,children:e.step}),!!e.minutes&&(0,l.jsxs)(`span`,{className:`lp-step-min`,children:[e.minutes,` min`]})]}),e.detail&&(0,l.jsx)(`div`,{className:`lp-step-detail`,children:e.detail})]})]},t))})]}),f&&(0,l.jsxs)(`section`,{className:`lp-section`,children:[(0,l.jsx)(`div`,{className:`lp-section-label`,children:`Assessment`}),(0,l.jsx)(`div`,{className:`lp-assessment`,children:f})]})]}),p&&(0,l.jsx)(`div`,{className:`insight-summary`,style:{marginTop:12},dangerouslySetInnerHTML:a(p)})]})}var ue=[{key:`facts`,label:`Facts`},{key:`issue`,label:`Issue`},{key:`holding`,label:`Holding`},{key:`reasoning`,label:`Reasoning`}];function de({title:e,icon:t=`doc`,iconColor:n=`var(--presence)`,citation:r,parties:o,facts:s,issue:c,holding:u,reasoning:d,footer:f,delay:p}){let m=i[t]||i.doc,h={facts:s,issue:c,holding:u,reasoning:d};return(0,l.jsxs)(`div`,{className:`card reveal`,style:{"--delay":(p||0)+`ms`},children:[(0,l.jsxs)(`div`,{className:`card-eyebrow`,children:[(0,l.jsx)(m,{className:`ic`,style:{color:n}}),` `,e]}),r&&(0,l.jsx)(`div`,{className:`cb-citation`,children:r}),(0,l.jsxs)(`div`,{className:`cb-parties`,children:[(0,l.jsx)(`span`,{className:`cb-party`,children:o.plaintiff}),(0,l.jsx)(`span`,{className:`cb-vs`,children:`v.`}),(0,l.jsx)(`span`,{className:`cb-party`,children:o.defendant})]}),ue.map((e,t)=>(0,l.jsxs)(`section`,{className:`cb-section cb-section--${e.key} m-stagger-item m-fade-rise`,style:{"--i":t},children:[(0,l.jsx)(`div`,{className:`cb-section-label`,children:e.label}),(0,l.jsx)(`div`,{className:`cb-section-body`,children:h[e.key]})]},e.key)),f&&(0,l.jsx)(`div`,{className:`insight-summary`,style:{marginTop:12},dangerouslySetInnerHTML:a(f)})]})}var X={disclosed:{c:`var(--insight)`,icon:`check`,t:`Disclosed`},"not-disclosed":{c:`var(--text-muted)`,icon:null,t:`Not disclosed`},disputed:{c:`var(--warning)`,icon:`alert`,t:`Disputed`}},fe=new Set([`disclosed`,`not-disclosed`,`disputed`]);function Z(e,t,n){let r=Array.isArray(e)?e[t]:void 0,i=Array.isArray(r)?r[n]:void 0;if(!i||typeof i!=`object`||Array.isArray(i))return{state:`not-disclosed`};let a=i,o=typeof a.state==`string`&&fe.has(a.state)?a.state:`not-disclosed`,s=typeof a.quote==`string`&&a.quote.trim()?a.quote:void 0;return s?{state:o,quote:s}:{state:o}}function pe({title:e,icon:t=`table`,iconColor:n=`var(--presence)`,claimElements:r,references:s,cells:c,footer:u,delay:d}){let f=i[t]||i.table,p=Array.isArray(r)?r:[],m=Array.isArray(s)?s.filter(e=>typeof e==`string`):[],[g,_]=(0,h.useState)(p.length&&m.length?{r:0,c:0}:null);if(p.length===0||m.length===0)return(0,l.jsxs)(`div`,{className:`card reveal`,style:{"--delay":(d||0)+`ms`},children:[(0,l.jsxs)(`div`,{className:`card-eyebrow`,children:[(0,l.jsx)(f,{className:`ic`,style:{color:n}}),` `,e]}),(0,l.jsx)(o,{message:`No claim elements or references to chart`})]});let v=0,y=0;for(let e=0;e<p.length;e++)for(let t=0;t<m.length;t++){let n=Z(c,e,t).state;n===`disclosed`?v++:n===`disputed`&&y++}let b=g?Z(c,g.r,g.c):null,x=b?X[b.state]:null;return(0,l.jsxs)(`div`,{className:`card reveal`,style:{"--delay":(d||0)+`ms`},children:[(0,l.jsxs)(`div`,{className:`card-eyebrow`,children:[(0,l.jsx)(f,{className:`ic`,style:{color:n}}),` `,e]}),(0,l.jsxs)(`div`,{className:`pcc-head`,children:[(0,l.jsxs)(`span`,{className:`pcc-count faint`,children:[p.length,` element`,p.length===1?``:`s`,` × `,m.length,` reference`,m.length===1?``:`s`]}),(0,l.jsxs)(`span`,{className:`pcc-tally tab-num faint`,children:[v,` disclosed`,y>0?` · ${y} disputed`:``]})]}),(0,l.jsx)(`div`,{className:`pcc-scroll`,children:(0,l.jsxs)(`table`,{className:`pcc-table`,children:[(0,l.jsxs)(`colgroup`,{children:[(0,l.jsx)(`col`,{className:`pcc-col-el`}),m.map((e,t)=>(0,l.jsx)(`col`,{className:`pcc-col-ref`},t))]}),(0,l.jsx)(`thead`,{children:(0,l.jsxs)(`tr`,{children:[(0,l.jsx)(`th`,{className:`pcc-corner`}),m.map((e,t)=>(0,l.jsx)(`th`,{className:`pcc-refh`,children:(0,l.jsx)(`span`,{children:e})},t))]})}),(0,l.jsx)(`tbody`,{children:p.map((e,t)=>{let n=typeof e?.id==`string`&&e.id.trim()?e.id:String(t+1),r=typeof e?.text==`string`?e.text:``;return(0,l.jsxs)(`tr`,{children:[(0,l.jsxs)(`th`,{className:`pcc-elh`,scope:`row`,children:[(0,l.jsx)(`span`,{className:`pcc-el-num`,children:n}),r&&(0,l.jsx)(`span`,{className:`pcc-el-text`,children:r})]}),m.map((e,n)=>{let r=Z(c,t,n),a=X[r.state],o=a.icon?i[a.icon]:null,s=g?.r===t&&g?.c===n;return(0,l.jsx)(`td`,{className:`pcc-cell ${r.state} ${s?`on`:``}`,style:{"--cc":a.c},onMouseEnter:()=>_({r:t,c:n}),children:(0,l.jsx)(`span`,{className:`pcc-mark`,children:o?(0,l.jsx)(o,{className:`pcc-mark-ic`}):(0,l.jsx)(`span`,{className:`pcc-dash`,children:`–`})})},n)})]},t)})})]})}),b&&x&&(0,l.jsxs)(`div`,{className:`pcc-tip`,style:{"--cc":x.c},children:[(0,l.jsx)(`span`,{className:`pcc-tip-tag`,style:{color:x.c},children:x.t}),b.quote?(0,l.jsx)(`span`,{className:`pcc-tip-note`,dangerouslySetInnerHTML:a(b.quote)}):(0,l.jsxs)(`span`,{className:`pcc-tip-note faint`,children:[p[g.r]?.id||String(g.r+1),` × `,m[g.c]]})]}),u&&(0,l.jsx)(`div`,{className:`insight-summary`,style:{marginTop:12},dangerouslySetInnerHTML:a(u)})]})}function me(e){let t=e.trim();return t?t.split(/\s+/).length:0}function Q({title:e,icon:t=`doc`,iconColor:n=`var(--presence)`,lede:r,nutGraf:s,body:c,background:u,wordCountBudget:d,wordCount:f,footer:p,delay:m}){let g=i[t]||i.doc,_=Array.isArray(c)?c.filter(e=>typeof e==`string`&&e):[],v=Array.isArray(u)?u.filter(e=>typeof e==`string`&&e):[],[y,b]=(0,h.useState)(!1);if(!r&&!s&&_.length===0)return(0,l.jsxs)(`div`,{className:`card reveal`,style:{"--delay":(m||0)+`ms`},children:[(0,l.jsxs)(`div`,{className:`card-eyebrow`,children:[(0,l.jsx)(g,{className:`ic`,style:{color:n}}),` `,e]}),(0,l.jsx)(o,{message:`No draft to show yet`})]});let x=typeof f==`number`&&Number.isFinite(f)?f:me([r,s,..._].filter(Boolean).join(` `)),S=typeof d==`number`&&Number.isFinite(d)&&x>d;return(0,l.jsxs)(`div`,{className:`card reveal`,style:{"--delay":(m||0)+`ms`},children:[(0,l.jsxs)(`div`,{className:`card-eyebrow`,children:[(0,l.jsx)(g,{className:`ic`,style:{color:n}}),` `,e]}),x>0&&(0,l.jsxs)(`div`,{className:`ss-wordcount tab-num faint`,children:[x.toLocaleString(),typeof d==`number`&&Number.isFinite(d)?` / ${d.toLocaleString()} words`:` words`,S&&(0,l.jsx)(`span`,{className:`ss-wordcount-over`,children:` · over budget`})]}),(r||s)&&(0,l.jsxs)(`div`,{className:`ss-lede-block`,children:[r&&(0,l.jsx)(`p`,{className:`ss-lede`,children:r}),s&&(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(`div`,{className:`ss-nutgraf-label`,children:`Nut graf`}),(0,l.jsx)(`p`,{className:`ss-nutgraf`,children:s})]})]}),_.length>0&&(0,l.jsx)(`div`,{className:`ss-body`,children:_.map((e,t)=>(0,l.jsx)(`p`,{className:`ss-para m-stagger-item m-fade-rise`,style:{"--i":t},children:e},t))}),v.length>0&&(0,l.jsxs)(`div`,{className:`ss-bg`,children:[(0,l.jsxs)(`button`,{className:`ss-bg-toggle`,onClick:()=>b(e=>!e),"aria-expanded":y,children:[(0,l.jsx)(i.chevR,{className:`ss-bg-toggle-ic${y?` open`:``}`}),y?`Hide background`:`Background (${v.length})`]}),y&&(0,l.jsx)(`div`,{className:`ss-bg-body`,children:v.map((e,t)=>(0,l.jsx)(`p`,{className:`ss-bg-para`,children:e},t))})]}),p&&(0,l.jsx)(`div`,{className:`insight-summary`,style:{marginTop:12},dangerouslySetInnerHTML:a(p)})]})}function he(e){return typeof e==`number`?Number.isFinite(e)?e.toLocaleString():`—`:typeof e==`string`&&e.trim()?e:`—`}function ge({title:e,icon:t=`doc`,iconColor:n=`var(--presence)`,species:r,name:s,breed:c,sex:u,ageYears:d,weightKg:f,vitals:p,problems:m,footer:h,delay:g}){let _=i[t]||i.doc,v=Array.isArray(p)?p:[],y=Array.isArray(m)?m.filter(e=>typeof e==`string`&&e):[];if(!s&&!r)return(0,l.jsxs)(`div`,{className:`card reveal`,style:{"--delay":(g||0)+`ms`},children:[(0,l.jsxs)(`div`,{className:`card-eyebrow`,children:[(0,l.jsx)(_,{className:`ic`,style:{color:n}}),` `,e]}),(0,l.jsx)(o,{message:`No patient on file`})]});let b=[r,c,u,Number.isFinite(d)?`${d}y`:void 0,Number.isFinite(f)?`${f} kg`:void 0].filter(e=>!!e);return(0,l.jsxs)(`div`,{className:`card reveal`,style:{"--delay":(g||0)+`ms`},children:[(0,l.jsxs)(`div`,{className:`card-eyebrow`,children:[(0,l.jsx)(_,{className:`ic`,style:{color:n}}),` `,e]}),(0,l.jsxs)(`div`,{className:`vpc-signalment`,children:[s&&(0,l.jsx)(`div`,{className:`vpc-name`,children:s}),b.length>0&&(0,l.jsx)(`div`,{className:`vpc-chips`,children:b.map((e,t)=>(0,l.jsx)(`span`,{className:`vpc-chip`,children:e},t))})]}),v.length>0&&(0,l.jsx)(`div`,{className:`vpc-vitals`,children:v.map((e,t)=>(0,l.jsx)(_e,{v:e,i:t},t))}),y.length>0&&(0,l.jsxs)(`div`,{className:`vpc-problems`,children:[(0,l.jsx)(`div`,{className:`vpc-problems-label`,children:`Active problems`}),(0,l.jsx)(`div`,{className:`vpc-problem-list`,children:y.map((e,t)=>(0,l.jsx)(`span`,{className:`vpc-problem-chip m-stagger-item m-fade-rise`,style:{"--i":t},children:e},t))})]}),h&&(0,l.jsx)(`div`,{className:`insight-summary`,style:{marginTop:12},dangerouslySetInnerHTML:a(h)})]})}function _e({v:e,i:t}){let n=typeof e?.label==`string`&&e.label.trim()?e.label:`Reading`,r=he(e?.value),a=typeof e?.unit==`string`&&e.unit.trim()?e.unit:``,o=!!e?.abnormal;return(0,l.jsxs)(`div`,{className:`vpc-vital m-stagger-item m-fade-rise${o?` abnormal`:``}`,style:{"--i":t},children:[(0,l.jsx)(`span`,{className:`vpc-vital-label`,children:n}),(0,l.jsxs)(`span`,{className:`vpc-vital-value tab-num`,children:[r,a&&(0,l.jsx)(`span`,{className:`vpc-vital-unit`,children:a})]}),o&&(0,l.jsx)(i.alert,{className:`vpc-vital-flag`})]})}function ve({title:e,icon:t=`chart`,iconColor:n=`var(--presence)`,opponent:r,tendencies:s,matchupNotes:c,keyPlayers:u,footer:d,delay:f}){let p=i[t]||i.chart,m=Array.isArray(s)?s.filter(e=>typeof e==`string`&&e):[],h=Array.isArray(c)?c:[],g=Array.isArray(u)?u:[];return!r&&m.length===0?(0,l.jsxs)(`div`,{className:`card reveal`,style:{"--delay":(f||0)+`ms`},children:[(0,l.jsxs)(`div`,{className:`card-eyebrow`,children:[(0,l.jsx)(p,{className:`ic`,style:{color:n}}),` `,e]}),(0,l.jsx)(o,{message:`No scouting notes yet`})]}):(0,l.jsxs)(`div`,{className:`card reveal`,style:{"--delay":(f||0)+`ms`},children:[(0,l.jsxs)(`div`,{className:`card-eyebrow`,children:[(0,l.jsx)(p,{className:`ic`,style:{color:n}}),` `,e]}),r&&(0,l.jsxs)(`div`,{className:`scr-opponent`,children:[(0,l.jsx)(`span`,{className:`scr-opponent-label`,children:`Opponent`}),(0,l.jsx)(`span`,{className:`scr-opponent-name`,children:r})]}),m.length>0&&(0,l.jsxs)(`div`,{className:`scr-section`,children:[(0,l.jsx)(`div`,{className:`scr-section-label`,children:`Tendencies`}),(0,l.jsx)(`ul`,{className:`scr-tendencies`,children:m.map((e,t)=>(0,l.jsx)(`li`,{className:`scr-tendency m-stagger-item m-fade-rise`,style:{"--i":t},children:e},t))})]}),h.length>0&&(0,l.jsxs)(`div`,{className:`scr-section`,children:[(0,l.jsx)(`div`,{className:`scr-section-label`,children:`Matchup notes`}),(0,l.jsx)(`div`,{className:`scr-notes`,children:h.map((e,t)=>(0,l.jsx)(ye,{n:e,i:t},t))})]}),g.length>0&&(0,l.jsxs)(`div`,{className:`scr-section`,children:[(0,l.jsx)(`div`,{className:`scr-section-label`,children:`Key players`}),(0,l.jsx)(`div`,{className:`scr-players`,children:g.map((e,t)=>(0,l.jsx)(be,{p:e,i:t},t))})]}),d&&(0,l.jsx)(`div`,{className:`insight-summary`,style:{marginTop:12},dangerouslySetInnerHTML:a(d)})]})}function ye({n:e,i:t}){let n=typeof e?.label==`string`&&e.label.trim()?e.label:`Note`,r=typeof e?.note==`string`?e.note:``;return r?(0,l.jsxs)(`div`,{className:`scr-note m-stagger-item m-fade-rise`,style:{"--i":t},children:[(0,l.jsx)(`span`,{className:`scr-note-label`,children:n}),(0,l.jsx)(`span`,{className:`scr-note-text`,children:r})]}):null}function be({p:e,i:t}){let n=typeof e?.name==`string`&&e.name.trim()?e.name:`Player`,r=typeof e?.role==`string`&&e.role.trim()?e.role:``,i=typeof e?.note==`string`?e.note:``;return(0,l.jsxs)(`div`,{className:`scr-player m-stagger-item m-fade-rise`,style:{"--i":t},children:[(0,l.jsxs)(`div`,{className:`scr-player-top`,children:[(0,l.jsx)(`span`,{className:`scr-player-name`,children:n}),r&&(0,l.jsx)(`span`,{className:`scr-player-role`,children:r})]}),i&&(0,l.jsx)(`span`,{className:`scr-player-note`,children:i})]})}var xe=e({docsRegistry:()=>$}),$={hypothesiscard:s(d),docview:s(p),pdfreader:s(_),annotateddoc:s(y),redline:s(b),citationchain:s(ee),factcheck:s(te),confidencemeter:s(E),highlightsnippet:(e,t)=>(0,l.jsx)(D,{...e,delay:t.delay}),annotcallouts:s(O),sourcelist:s(ne),claimgrid:s(re),docoutline:s(ie),diffviewer:s(j),paralleltext:s(M),clinicaltimeline:s(F),researchsummary:s(I),eligibilitycheck:s(z),evidencetrace:s(V),reviewsynth:s(U),resume:s(G),changelog:s(ce),lessonplan:s(le),casebrief:s(de),patentclaimchart:s(pe),storystructure:s(Q),vetpatientchart:s(ge),scoutingreport:s(ve)};export{xe as n,$ as t};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as e}from"./chunk-BVpWp9h4.js";import{t}from"./react-BQSORdFI.js";import{t as n}from"./jsx-runtime-DaSxXjOY.js";import{ht as r}from"./index-y8GL67bB.js";import{n as i}from"./icons-CHVz6kv_.js";import{t as a}from"./richText-BkxJhl9N.js";import{r as o}from"./format-DlZTyeMy.js";import{a as s,r as c}from"./scale-Bcgfo6Hp.js";import"./lib-VFqp6Y3w.js";import{t as l}from"./registry-types-DMuK0vJ6.js";var u=t(),d=n();function f({title:e,icon:t=`sparkle`,iconColor:n=`var(--presence)`,steps:r,conclusion:o,footer:s,delay:c}){let l=i[t]||i.sparkle,[f,p]=(0,u.useState)(0);return(0,d.jsxs)(`div`,{className:`card reveal`,style:{"--delay":(c||0)+`ms`},children:[(0,d.jsxs)(`div`,{className:`card-eyebrow`,children:[(0,d.jsx)(l,{className:`ic`,style:{color:n}}),` `,e]}),(0,d.jsx)(`div`,{className:`ai-cot`,children:r.map((e,t)=>{let n=f===t;return(0,d.jsxs)(`div`,{className:`ai-cot-step`+(n?` is-open`:``),children:[(0,d.jsxs)(`button`,{className:`ai-cot-head`,onClick:()=>p(n?-1:t),children:[(0,d.jsx)(`span`,{className:`ai-cot-dot`,children:(0,d.jsx)(`span`,{children:t+1})}),(0,d.jsxs)(`span`,{className:`ai-cot-body`,children:[(0,d.jsxs)(`span`,{className:`ai-cot-label`,children:[e.label,e.tag&&(0,d.jsx)(`span`,{className:`ai-tag`,style:{"--c":e.tagColor||`var(--presence)`},children:e.tag})]}),(0,d.jsx)(`span`,{className:`ai-cot-summary`,children:e.summary})]}),(0,d.jsx)(i.chevR,{className:`ai-cot-chev`+(n?` is-open`:``)})]}),n&&e.detail&&(0,d.jsx)(`div`,{className:`ai-cot-detail`,dangerouslySetInnerHTML:a(e.detail)})]},t)})}),o&&(0,d.jsxs)(`div`,{className:`ai-cot-conclusion`,children:[(0,d.jsx)(i.check,{className:`ic`}),(0,d.jsx)(`span`,{dangerouslySetInnerHTML:a(o)})]}),s&&(0,d.jsx)(`div`,{className:`insight-summary`,style:{marginTop:12},dangerouslySetInnerHTML:a(s)})]})}var p={ok:{c:`var(--insight)`,label:`OK`},error:{c:`var(--danger)`,label:`ERR`},pending:{c:`var(--warning)`,label:`RUNNING`}};function m({title:e,icon:t=`layers`,iconColor:n=`var(--presence)`,calls:r,footer:o,delay:s}){let c=i[t]||i.layers,[l,f]=(0,u.useState)(0);return(0,d.jsxs)(`div`,{className:`card reveal`,style:{"--delay":(s||0)+`ms`},children:[(0,d.jsxs)(`div`,{className:`card-eyebrow`,children:[(0,d.jsx)(c,{className:`ic`,style:{color:n}}),` `,e]}),(0,d.jsx)(`div`,{className:`ai-tc`,children:r.map((e,t)=>{let r=l===t,a=p[e.status||`ok`]||p.ok;return(0,d.jsxs)(`div`,{className:`ai-tc-call`+(r?` is-open`:``),children:[(0,d.jsxs)(`button`,{className:`ai-tc-head`,onClick:()=>f(r?-1:t),children:[(0,d.jsx)(`span`,{className:`ai-tc-conn`,"aria-hidden":!0}),(0,d.jsx)(`span`,{className:`ai-tc-verb mono`,style:{color:n},children:e.verb||`call`}),(0,d.jsx)(`span`,{className:`ai-tc-name mono`,children:e.name}),(0,d.jsx)(`span`,{className:`ai-tc-spacer`}),typeof e.ms==`number`&&(0,d.jsxs)(`span`,{className:`ai-tc-ms tab-num`,children:[e.ms,`ms`]}),(0,d.jsx)(`span`,{className:`ai-tc-status`,style:{"--c":a.c},children:a.label}),(0,d.jsx)(i.chevR,{className:`ai-cot-chev`+(r?` is-open`:``)})]}),r&&(0,d.jsxs)(`div`,{className:`ai-tc-detail`,children:[(0,d.jsxs)(`div`,{className:`ai-tc-pane`,children:[(0,d.jsxs)(`div`,{className:`ai-tc-pane-label`,children:[(0,d.jsx)(i.arrowUp,{className:`ic`}),` Request`]}),(0,d.jsx)(`pre`,{className:`ai-tc-code mono`,children:e.request})]}),(0,d.jsxs)(`div`,{className:`ai-tc-pane`,children:[(0,d.jsxs)(`div`,{className:`ai-tc-pane-label`,children:[(0,d.jsx)(i.arrowDown,{className:`ic`,style:{color:a.c}}),` Response`]}),(0,d.jsx)(`pre`,{className:`ai-tc-code mono`,children:e.response})]})]})]},t)})}),o&&(0,d.jsx)(`div`,{className:`insight-summary`,style:{marginTop:12},dangerouslySetInnerHTML:a(o)})]})}function h({title:e,icon:t=`share`,iconColor:n=`var(--presence)`,nodes:r,footer:o,delay:s}){let c=i[t]||i.share,[l,f]=(0,u.useState)(!1);return(0,d.jsxs)(`div`,{className:`card reveal`,style:{"--delay":(s||0)+`ms`},children:[(0,d.jsxs)(`div`,{className:`card-eyebrow`,children:[(0,d.jsx)(c,{className:`ic`,style:{color:n}}),` `,e,(0,d.jsxs)(`button`,{className:`ai-at-toggle`+(l?` is-on`:``),onClick:()=>f(e=>!e),children:[(0,d.jsx)(i.layers,{className:`ic`}),` `,l?`Explored`:`Chosen path`]})]}),(0,d.jsx)(`div`,{className:`ai-at`,children:r.map((e,t)=>{let n=l?e.branches:e.branches.filter(e=>e.chosen);return(0,d.jsxs)(`div`,{className:`ai-at-node`,children:[(0,d.jsxs)(`div`,{className:`ai-at-step`,children:[(0,d.jsx)(`span`,{className:`ai-at-rail`,"aria-hidden":!0}),(0,d.jsx)(`span`,{className:`ai-at-stepnum tab-num`,children:t+1}),(0,d.jsxs)(`div`,{className:`ai-at-decision`,children:[(0,d.jsx)(`div`,{className:`ai-at-step-label`,children:e.step}),(0,d.jsx)(`div`,{className:`ai-at-step-q`,children:e.decision})]})]}),(0,d.jsx)(`div`,{className:`ai-at-branches`,children:n.map((e,t)=>{let n=e.chosen?e.color||`var(--insight)`:`var(--text-muted)`;return(0,d.jsxs)(`div`,{className:`ai-at-branch`+(e.chosen?` is-chosen`:` is-alt`),style:{"--c":n},children:[(0,d.jsx)(`span`,{className:`ai-at-branch-mark`,children:e.chosen?(0,d.jsx)(i.check,{className:`ic`}):(0,d.jsx)(i.x,{className:`ic`})}),(0,d.jsx)(`span`,{className:`ai-at-branch-label`,children:e.label}),e.note&&(0,d.jsx)(`span`,{className:`ai-at-branch-note`,children:e.note}),typeof e.score==`number`&&(0,d.jsx)(`span`,{className:`ai-at-branch-score tab-num`,children:Math.round(e.score*100)})]},t)})})]},t)})}),o&&(0,d.jsx)(`div`,{className:`insight-summary`,style:{marginTop:12},dangerouslySetInnerHTML:a(o)})]})}function g({title:e,icon:t=`layers`,iconColor:n=`var(--presence)`,prompt:r,outputs:o,footer:s,delay:c}){let l=i[t]||i.layers,[f,p]=(0,u.useState)(new Set),[m,h]=(0,u.useState)(!0),g=e=>p(t=>{let n=new Set(t);return n.has(e)?n.delete(e):o.length-n.size>1&&n.add(e),n}),_=o.filter((e,t)=>!f.has(t));return(0,d.jsxs)(`div`,{className:`card reveal`,style:{"--delay":(c||0)+`ms`},children:[(0,d.jsxs)(`div`,{className:`card-eyebrow`,children:[(0,d.jsx)(l,{className:`ic`,style:{color:n}}),` `,e,(0,d.jsxs)(`button`,{className:`ai-at-toggle`+(m?` is-on`:``),onClick:()=>h(e=>!e),children:[(0,d.jsx)(i.eye,{className:`ic`}),` Diff`]})]}),r&&(0,d.jsxs)(`div`,{className:`ai-mc-prompt`,children:[(0,d.jsx)(`span`,{className:`ai-mc-prompt-tag`,children:`PROMPT`}),` `,r]}),(0,d.jsx)(`div`,{className:`ai-mc-tabs`,children:o.map((e,t)=>{let n=!f.has(t),r=e.color||`var(--presence)`;return(0,d.jsxs)(`button`,{className:`ai-mc-tab`+(n?` is-on`:``),style:{"--c":r},onClick:()=>g(t),children:[(0,d.jsx)(`span`,{className:`ai-mc-dot`}),e.model,e.best&&(0,d.jsx)(i.check,{className:`ai-mc-best`})]},t)})}),(0,d.jsx)(`div`,{className:`ai-mc-grid`+(m?``:` no-diff`),style:{"--cols":String(_.length)},children:o.map((e,t)=>f.has(t)?null:(0,d.jsxs)(`div`,{className:`ai-mc-col`+(e.best?` is-best`:``),style:{"--c":e.color||`var(--presence)`},children:[(0,d.jsxs)(`div`,{className:`ai-mc-col-head`,children:[(0,d.jsx)(`span`,{className:`ai-mc-dot`}),(0,d.jsx)(`span`,{className:`ai-mc-model`,children:e.model}),e.badge&&(0,d.jsx)(`span`,{className:`ai-mc-badge`,children:e.badge})]}),(0,d.jsx)(`div`,{className:`ai-mc-text`,dangerouslySetInnerHTML:a(e.text)}),e.meta&&e.meta.length>0&&(0,d.jsx)(`div`,{className:`ai-mc-meta`,children:e.meta.map((e,t)=>(0,d.jsxs)(`span`,{children:[(0,d.jsx)(`span`,{className:`faint`,children:e.k}),` `,(0,d.jsx)(`span`,{className:`tab-num`,children:e.v})]},t))})]},t))}),s&&(0,d.jsx)(`div`,{className:`insight-summary`,style:{marginTop:12},dangerouslySetInnerHTML:a(s)})]})}function _(e){return e>=.85?`var(--insight)`:e>=.6?`var(--presence)`:e>=.4?`var(--warning)`:`var(--danger)`}function v({title:e,icon:t=`spark`,iconColor:n=`var(--presence)`,prefix:r,tokens:o,footer:s,delay:c}){let l=i[t]||i.spark,[f,p]=(0,u.useState)(null),m=f==null?null:o[f];return(0,d.jsxs)(`div`,{className:`card reveal`,style:{"--delay":(c||0)+`ms`},children:[(0,d.jsxs)(`div`,{className:`card-eyebrow`,children:[(0,d.jsx)(l,{className:`ic`,style:{color:n}}),` `,e]}),(0,d.jsxs)(`div`,{className:`ai-ts-stream`,children:[r&&(0,d.jsx)(`span`,{className:`ai-ts-prefix`,children:r}),o.map((e,t)=>{let n=_(e.p);return(0,d.jsx)(`span`,{className:`ai-ts-tok`+(f===t?` is-on`:``),style:{"--c":n,"--a":String(.1+e.p*.32)},onMouseEnter:()=>p(t),onMouseLeave:()=>p(null),children:e.text},t)})]}),(0,d.jsx)(`div`,{className:`ai-ts-readout`,children:m?(0,d.jsxs)(`div`,{className:`ai-ts-pop`,children:[(0,d.jsxs)(`div`,{className:`ai-ts-pop-head`,children:[(0,d.jsx)(`span`,{className:`ai-ts-pop-tok mono`,children:m.text.trim()||`␣`}),(0,d.jsxs)(`span`,{className:`ai-ts-pop-p tab-num`,style:{color:_(m.p)},children:[(m.p*100).toFixed(1),`%`]})]}),(0,d.jsx)(`div`,{className:`ai-ts-bar`,children:(0,d.jsx)(`span`,{style:{width:`${m.p*100}%`,background:_(m.p)}})}),m.alts&&m.alts.length>0&&(0,d.jsxs)(`div`,{className:`ai-ts-alts`,children:[(0,d.jsx)(`span`,{className:`faint`,children:`alternatives`}),m.alts.map((e,t)=>(0,d.jsxs)(`span`,{className:`ai-ts-alt`,children:[(0,d.jsx)(`span`,{className:`mono`,children:e.t.trim()||`␣`}),(0,d.jsxs)(`span`,{className:`tab-num faint`,children:[(e.p*100).toFixed(0),`%`]})]},t))]})]}):(0,d.jsxs)(`span`,{className:`faint`,children:[(0,d.jsx)(i.eye,{className:`ic`,style:{verticalAlign:`-2px`,width:14,height:14}}),` `,`Hover a token to see its probability and top alternatives`]})}),s&&(0,d.jsx)(`div`,{className:`insight-summary`,style:{marginTop:12},dangerouslySetInnerHTML:a(s)})]})}function y(e){return e>=.8?`var(--insight)`:e>=.6?`var(--presence)`:e>=.4?`var(--warning)`:`var(--text-muted)`}function b({title:e,icon:t=`layers`,iconColor:n=`var(--presence)`,query:r,chunks:o,footer:s,delay:c}){let l=i[t]||i.layers,f=o.map((e,t)=>({c:e,i:t})).sort((e,t)=>t.c.score-e.c.score),[p,m]=(0,u.useState)(f.length?f[0].i:-1);return(0,d.jsxs)(`div`,{className:`card reveal`,style:{"--delay":(c||0)+`ms`},children:[(0,d.jsxs)(`div`,{className:`card-eyebrow`,children:[(0,d.jsx)(l,{className:`ic`,style:{color:n}}),` `,e]}),r&&(0,d.jsxs)(`div`,{className:`ai-rt-query`,children:[(0,d.jsx)(i.spark,{className:`ic`,style:{color:n}}),` `,(0,d.jsx)(`span`,{children:r})]}),(0,d.jsx)(`div`,{className:`ai-rt`,children:f.map(({c:e,i:t},n)=>{let r=p===t,o=y(e.score);return(0,d.jsxs)(`div`,{className:`ai-rt-chunk`+(r?` is-open`:``),style:{"--c":o},children:[(0,d.jsxs)(`button`,{className:`ai-rt-head`,onClick:()=>m(r?-1:t),children:[(0,d.jsx)(`span`,{className:`ai-rt-rank tab-num`,children:n+1}),(0,d.jsxs)(`span`,{className:`ai-rt-body`,children:[(0,d.jsxs)(`span`,{className:`ai-rt-source`,children:[(0,d.jsx)(i.doc,{className:`ic`}),` `,e.source,e.used&&(0,d.jsx)(`span`,{className:`ai-rt-used`,children:`used`}),e.tag&&(0,d.jsx)(`span`,{className:`ai-tag`,style:{"--c":e.tagColor||`var(--presence)`},children:e.tag})]}),(0,d.jsx)(`span`,{className:`ai-rt-snippet`,children:e.snippet})]}),(0,d.jsxs)(`span`,{className:`ai-rt-score`,children:[(0,d.jsx)(`span`,{className:`ai-rt-meter`,children:(0,d.jsx)(`span`,{style:{width:`${e.score*100}%`,background:o}})}),(0,d.jsx)(`span`,{className:`tab-num`,style:{color:o},children:e.score.toFixed(2)})]}),(0,d.jsx)(i.chevR,{className:`ai-cot-chev`+(r?` is-open`:``)})]}),r&&e.body&&(0,d.jsx)(`div`,{className:`ai-rt-detail`,dangerouslySetInnerHTML:a(e.body)})]},t)})}),s&&(0,d.jsx)(`div`,{className:`insight-summary`,style:{marginTop:12},dangerouslySetInnerHTML:a(s)})]})}function x({title:e,icon:t=`edit`,iconColor:n=`var(--presence)`,beforeLabel:r=`Before`,afterLabel:o=`After`,before:s,after:c,diff:l,footer:f,delay:p}){let m=i[t]||i.edit,[h,g]=(0,u.useState)(`diff`),_=l.filter(e=>e.t===`add`).length,v=l.filter(e=>e.t===`del`).length;return(0,d.jsxs)(`div`,{className:`card reveal`,style:{"--delay":(p||0)+`ms`},children:[(0,d.jsxs)(`div`,{className:`card-eyebrow`,children:[(0,d.jsx)(m,{className:`ic`,style:{color:n}}),` `,e]}),(0,d.jsxs)(`div`,{className:`ai-wc-seg`,children:[(0,d.jsx)(`button`,{className:`ai-wc-seg-btn`+(h===`before`?` is-on`:``),onClick:()=>g(`before`),children:r}),(0,d.jsx)(`button`,{className:`ai-wc-seg-btn`+(h===`after`?` is-on`:``),onClick:()=>g(`after`),children:o}),(0,d.jsxs)(`button`,{className:`ai-wc-seg-btn`+(h===`diff`?` is-on`:``),onClick:()=>g(`diff`),children:[`Diff`,` `,(0,d.jsxs)(`span`,{className:`ai-wc-count`,children:[(0,d.jsxs)(`span`,{className:`ai-wc-add`,children:[`+`,_]}),` `,(0,d.jsxs)(`span`,{className:`ai-wc-del`,children:[`−`,v]})]})]})]}),h===`before`&&(0,d.jsx)(`div`,{className:`ai-wc-prose ai-wc-old`,dangerouslySetInnerHTML:a(s)}),h===`after`&&(0,d.jsx)(`div`,{className:`ai-wc-prose ai-wc-new`,dangerouslySetInnerHTML:a(c)}),h===`diff`&&(0,d.jsx)(`div`,{className:`ai-wc-diff`,children:l.map((e,t)=>(0,d.jsxs)(`div`,{className:`ai-wc-line `+(e.t||`ctx`),children:[(0,d.jsx)(`span`,{className:`ai-wc-gutter`,children:e.t===`add`?`+`:e.t===`del`?`−`:``}),(0,d.jsx)(`span`,{className:`ai-wc-content`,dangerouslySetInnerHTML:a(e.c)})]},t))}),f&&(0,d.jsx)(`div`,{className:`insight-summary`,style:{marginTop:12},dangerouslySetInnerHTML:a(f)})]})}function S({title:e,icon:t=`share`,iconColor:n=`var(--presence)`,query:r,classifier:o=`router`,choices:s,footer:c,delay:l}){let f=i[t]||i.share,[p,m]=(0,u.useState)(Math.max(0,s.findIndex(e=>e.taken))),h=s[p];return(0,d.jsxs)(`div`,{className:`card reveal`,style:{"--delay":(l||0)+`ms`},children:[(0,d.jsxs)(`div`,{className:`card-eyebrow`,children:[(0,d.jsx)(f,{className:`ic`,style:{color:n}}),` `,e]}),(0,d.jsxs)(`div`,{className:`ai-ro`,children:[(0,d.jsxs)(`div`,{className:`ai-ro-source`,children:[r&&(0,d.jsx)(`div`,{className:`ai-ro-query`,children:r}),(0,d.jsxs)(`div`,{className:`ai-ro-classifier`,children:[(0,d.jsx)(i.sparkle,{className:`ic`,style:{color:n}}),` `,o]})]}),(0,d.jsx)(`svg`,{role:`img`,"aria-label":e,className:`ai-ro-wires`,viewBox:`0 0 40 100`,preserveAspectRatio:`none`,"aria-hidden":!0,children:s.map((e,t)=>{let n=(t+.5)/s.length*100,r=e.taken;return(0,d.jsx)(`path`,{d:`M0 50 C 20 50, 20 ${n}, 40 ${n}`,fill:`none`,stroke:r?e.color||`var(--insight)`:`var(--grid-strong)`,strokeWidth:r?2.4:1.4,strokeDasharray:r?`0`:`3 3`},t)})}),(0,d.jsx)(`div`,{className:`ai-ro-choices`,children:s.map((e,t)=>{let n=e.color||(e.taken?`var(--insight)`:`var(--text-muted)`);return(0,d.jsxs)(`button`,{className:`ai-ro-choice`+(e.taken?` is-taken`:``)+(p===t?` is-sel`:``),style:{"--c":n},onClick:()=>m(t),children:[(0,d.jsxs)(`span`,{className:`ai-ro-choice-top`,children:[(0,d.jsx)(`span`,{className:`ai-ro-choice-label`,children:e.label}),e.taken&&(0,d.jsx)(`span`,{className:`ai-ro-taken`,children:(0,d.jsx)(i.check,{className:`ic`})})]}),e.sub&&(0,d.jsx)(`span`,{className:`ai-ro-choice-sub`,children:e.sub}),typeof e.score==`number`&&(0,d.jsx)(`span`,{className:`ai-ro-choice-meter`,children:(0,d.jsx)(`span`,{style:{width:`${e.score*100}%`,background:n}})})]},t)})})]}),h&&h.reason&&(0,d.jsxs)(`div`,{className:`ai-ro-reason`,style:{"--c":h.color||(h.taken?`var(--insight)`:`var(--presence)`)},children:[(0,d.jsx)(i.quote,{className:`ic`}),(0,d.jsxs)(`span`,{children:[(0,d.jsx)(`strong`,{children:h.label}),` —`,` `,(0,d.jsx)(`span`,{dangerouslySetInnerHTML:a(h.reason)})]})]}),c&&(0,d.jsx)(`div`,{className:`insight-summary`,style:{marginTop:12},dangerouslySetInnerHTML:a(c)})]})}var C=[`var(--presence)`,`var(--insight)`,`var(--warning)`,`var(--presence-soft)`,`var(--danger)`];function w({title:e,icon:t=`globe`,iconColor:n=`var(--presence)`,clusters:r,points:o,footer:s,delay:c}){let l=i[t]||i.globe,[f,p]=(0,u.useState)(null),[m,h]=(0,u.useState)(null),g=e=>r[e]?.color||C[e%C.length],_=e=>14+e*512,v=e=>14+(1-e)*272,y=f==null?null:o[f];return(0,d.jsxs)(`div`,{className:`card reveal`,style:{"--delay":(c||0)+`ms`},children:[(0,d.jsxs)(`div`,{className:`card-eyebrow`,children:[(0,d.jsx)(l,{className:`ic`,style:{color:n}}),` `,e]}),(0,d.jsx)(`div`,{className:`ai-em-legend`,children:r.map((e,t)=>(0,d.jsxs)(`button`,{className:`ai-em-leg`+(m===t?` is-on`:``)+(m!=null&&m!==t?` muted`:``),onClick:()=>h(m===t?null:t),children:[(0,d.jsx)(`span`,{className:`ai-em-swatch`,style:{background:g(t)}}),e.name]},t))}),(0,d.jsx)(`div`,{className:`ai-em-wrap`,children:(0,d.jsxs)(`svg`,{role:`img`,"aria-label":e,viewBox:`0 0 540 300`,width:`100%`,className:`ai-em-svg`,style:{display:`block`},children:[[.25,.5,.75].map(e=>(0,d.jsxs)(`g`,{children:[(0,d.jsx)(`line`,{x1:_(e),y1:14,x2:_(e),y2:286,stroke:`var(--grid-line)`,strokeWidth:`1`}),(0,d.jsx)(`line`,{x1:14,y1:v(e),x2:526,y2:v(e),stroke:`var(--grid-line)`,strokeWidth:`1`})]},e)),o.map((e,t)=>{let n=g(e.cluster),r=m!=null&&m!==e.cluster,a=f===t;return e.query?(0,d.jsxs)(`g`,{onMouseEnter:()=>p(t),onMouseLeave:()=>p(null),style:{cursor:`pointer`},children:[(0,d.jsx)(`circle`,{cx:_(e.x),cy:v(e.y),r:a?11:9,fill:`none`,stroke:`var(--presence)`,strokeWidth:`2`,opacity:r?.3:1}),(0,d.jsx)(i.spark,{x:_(e.x)-6,y:v(e.y)-6,width:`12`,height:`12`,style:{color:`var(--presence)`,opacity:r?.3:1}})]},t):(0,d.jsx)(`circle`,{cx:_(e.x),cy:v(e.y),r:a?7:4.5,fill:n,opacity:r?.18:a?1:.82,stroke:a?`var(--text-primary)`:`transparent`,strokeWidth:a?1.5:0,onMouseEnter:()=>p(t),onMouseLeave:()=>p(null),style:{cursor:`pointer`,transition:`r var(--m-fast) var(--ease-out)`}},t)})]})}),(0,d.jsx)(`div`,{className:`insight-summary`,style:{marginTop:12},children:y?(0,d.jsxs)(`span`,{children:[(0,d.jsx)(`span`,{className:`ai-em-swatch`,style:{background:g(y.cluster),display:`inline-block`,verticalAlign:`middle`,marginRight:6}}),(0,d.jsx)(`strong`,{style:{color:`var(--text-primary)`},children:y.label}),(0,d.jsxs)(`span`,{className:`faint`,children:[` `,`· `,r[y.cluster]?.name||`cluster ${y.cluster}`]})]}):s?(0,d.jsx)(`span`,{dangerouslySetInnerHTML:a(s)}):(0,d.jsx)(`span`,{className:`faint`,children:`Hover a point for its label · click a legend chip to isolate a cluster`})})]})}function T({title:e,icon:t=`chart`,iconColor:n=`var(--presence)`,bins:r,color:o=`var(--presence)`,ece:s,footer:c,delay:l}){let f=i[t]||i.chart,p=[...r].sort((e,t)=>e.predicted-t.predicted),[m,h]=(0,u.useState)(null),g=e=>42+e*236,_=e=>278-e*236,v=Math.max(1,...p.map(e=>e.count)),y=p.map((e,t)=>`${t?`L`:`M`} ${g(e.predicted)} ${_(e.actual)}`).join(` `),b=m==null?null:p[m];return(0,d.jsxs)(`div`,{className:`card reveal`,style:{"--delay":(l||0)+`ms`},children:[(0,d.jsxs)(`div`,{className:`card-eyebrow`,children:[(0,d.jsx)(f,{className:`ic`,style:{color:n}}),` `,e,s&&(0,d.jsxs)(`span`,{className:`ai-cal-ece tab-num`,children:[`ECE `,s]})]}),(0,d.jsx)(`div`,{className:`ai-cal-wrap`,children:(0,d.jsxs)(`svg`,{role:`img`,"aria-label":e,viewBox:`0 0 320 320`,width:`100%`,className:`ai-cal-svg`,style:{display:`block`},children:[p.map((e,t)=>{let n=236/p.length,r=e.count/v*236*.5;return(0,d.jsx)(`rect`,{x:g(e.predicted)-n*.32,y:278-r,width:n*.64,height:r,fill:`var(--track)`,rx:2,opacity:m===t?.9:.55},`c`+t)}),(0,d.jsx)(`line`,{x1:42,y1:278,x2:278,y2:278,stroke:`var(--grid-strong)`,strokeWidth:`1`}),(0,d.jsx)(`line`,{x1:42,y1:42,x2:42,y2:278,stroke:`var(--grid-strong)`,strokeWidth:`1`}),(0,d.jsx)(`line`,{x1:g(0),y1:_(0),x2:g(1),y2:_(1),stroke:`var(--hover-line)`,strokeWidth:`1.4`,strokeDasharray:`5 5`}),(0,d.jsx)(`path`,{d:y,fill:`none`,stroke:o,strokeWidth:`2.4`,strokeLinejoin:`round`,strokeLinecap:`round`}),p.map((e,t)=>{let n=m===t;return(0,d.jsxs)(`g`,{onMouseEnter:()=>h(t),onMouseLeave:()=>h(null),style:{cursor:`pointer`},children:[(0,d.jsx)(`circle`,{cx:g(e.predicted),cy:_(e.actual),r:14,fill:`transparent`}),n&&(0,d.jsx)(`line`,{x1:g(e.predicted),y1:_(e.predicted),x2:g(e.predicted),y2:_(e.actual),stroke:`var(--warning)`,strokeWidth:`1.4`,strokeDasharray:`2 2`}),(0,d.jsx)(`circle`,{cx:g(e.predicted),cy:_(e.actual),r:n?6:4,fill:o,stroke:`var(--surface-1, var(--bg))`,strokeWidth:`1.5`,style:{transition:`r var(--m-fast)`}})]},`p`+t)}),(0,d.jsx)(`text`,{x:320/2,y:314,textAnchor:`middle`,fontSize:`11`,fill:`var(--text-muted)`,children:`predicted probability`}),(0,d.jsx)(`text`,{x:0,y:0,transform:`translate(14, ${320/2}) rotate(-90)`,textAnchor:`middle`,fontSize:`11`,fill:`var(--text-muted)`,children:`observed accuracy`})]})}),(0,d.jsx)(`div`,{className:`insight-summary`,style:{marginTop:8},children:b?(0,d.jsxs)(`span`,{className:`ai-cal-readout`,children:[(0,d.jsxs)(`span`,{children:[(0,d.jsx)(`span`,{className:`faint`,children:`predicted`}),` `,(0,d.jsxs)(`span`,{className:`tab-num`,children:[(b.predicted*100).toFixed(0),`%`]})]}),(0,d.jsxs)(`span`,{children:[(0,d.jsx)(`span`,{className:`faint`,children:`actual`}),` `,(0,d.jsxs)(`span`,{className:`tab-num`,style:{color:o},children:[(b.actual*100).toFixed(0),`%`]})]}),(0,d.jsxs)(`span`,{children:[(0,d.jsx)(`span`,{className:`faint`,children:`gap`}),` `,(0,d.jsxs)(`span`,{className:`tab-num`,style:{color:`var(--warning)`},children:[((b.actual-b.predicted)*100).toFixed(0),`pt`]})]}),(0,d.jsxs)(`span`,{children:[(0,d.jsx)(`span`,{className:`faint`,children:`n`}),` `,(0,d.jsx)(`span`,{className:`tab-num`,children:b.count})]})]}):c?(0,d.jsx)(`span`,{dangerouslySetInnerHTML:a(c)}):(0,d.jsx)(`span`,{className:`faint`,children:`Dashed diagonal = perfect calibration · hover a bin for predicted vs actual`})})]})}var E={GET:`var(--presence)`,POST:`var(--insight)`,PUT:`var(--warning)`,PATCH:`var(--warning)`,DELETE:`var(--danger)`};function D(e){return typeof e==`number`?e>=500?`var(--danger)`:e>=400?`var(--warning)`:e>=300?`var(--presence)`:e>=200?`var(--insight)`:`var(--text-muted)`:`var(--text-muted)`}function O({title:e,icon:t=`globe`,iconColor:n=`var(--presence)`,exchanges:r,caption:s,footer:c,delay:l}){let f=i[t]||i.globe,[p,m]=(0,u.useState)(r.findIndex(e=>e.reqBody||e.respPreview));return(0,d.jsxs)(`div`,{className:`card reveal`,style:{"--delay":(l||0)+`ms`},children:[e&&(0,d.jsxs)(`div`,{className:`card-eyebrow`,children:[(0,d.jsx)(f,{className:`ic`,style:{color:n}}),` `,e]}),(0,d.jsx)(`div`,{className:`ai-hx`,children:r.map((e,t)=>{let n=D(e.status),r=E[e.method]||`var(--text-secondary)`,a=!!(e.reqBody||e.respPreview),s=p===t;return(0,d.jsxs)(`div`,{className:`ai-hx-row`+(s?` is-open`:``),children:[(0,d.jsxs)(`button`,{className:`ai-hx-head`,onClick:()=>a&&m(s?-1:t),...a?{}:{"aria-disabled":!0,tabIndex:-1},children:[(0,d.jsx)(`span`,{className:`ai-hx-method mono`,style:{"--c":r},children:e.method}),(0,d.jsx)(`span`,{className:`ai-hx-url mono`,children:e.url}),(0,d.jsx)(`span`,{className:`ai-hx-spacer`}),typeof e.durationMs==`number`&&(0,d.jsx)(`span`,{className:`ai-hx-ms tab-num`,children:o(e.durationMs,{unit:`ms`,decimals:0})}),typeof e.status==`number`&&(0,d.jsxs)(`span`,{className:`ai-hx-status tab-num`,style:{"--c":n},title:e.statusText,children:[e.status,e.statusText&&(0,d.jsxs)(`span`,{className:`ai-hx-status-text`,children:[` `,e.statusText]})]}),a&&(0,d.jsx)(i.chevR,{className:`ai-cot-chev`+(s?` is-open`:``)})]}),e.note&&(0,d.jsxs)(`div`,{className:`ai-hx-note`,style:{"--c":n},children:[(0,d.jsx)(i.alert,{className:`ic`}),` `,(0,d.jsx)(`span`,{children:e.note})]}),a&&s&&(0,d.jsxs)(`div`,{className:`ai-hx-detail`,children:[e.reqBody&&(0,d.jsxs)(`div`,{className:`ai-hx-pane`,children:[(0,d.jsxs)(`div`,{className:`ai-hx-pane-label`,children:[(0,d.jsx)(i.arrowUp,{className:`ic`}),` Request`]}),(0,d.jsx)(`pre`,{className:`ai-hx-code mono`,children:e.reqBody})]}),e.respPreview&&(0,d.jsxs)(`div`,{className:`ai-hx-pane`,children:[(0,d.jsxs)(`div`,{className:`ai-hx-pane-label`,children:[(0,d.jsx)(i.arrowDown,{className:`ic`,style:{color:n}}),` Response`]}),(0,d.jsx)(`pre`,{className:`ai-hx-code mono`,children:e.respPreview})]})]})]},t)})}),s&&(0,d.jsx)(`div`,{className:`ai-hx-caption`,children:s}),c&&(0,d.jsx)(`div`,{className:`insight-summary`,style:{marginTop:12},dangerouslySetInnerHTML:a(c)})]})}var k=r(),A=320,j={l:44,r:16,t:16,b:36},M=A-j.l-j.r;function N(e,t,n,r,i,a){let o=[...t??[],...n??[]].filter(Number.isFinite);if(!o.length)return null;let l=Math.max(...o)*1.08||1,u=s(0,l,c(l-0,4)).filter(e=>e<=l),d=r-j.t-j.b,f=e.length,p=(e,t)=>j.l+(t>1?e/(t-1)*M:M/2),m=e=>j.t+d-(e-0)/(l-0)*d,h=e=>e.map((e,t)=>`${t===0?`M`:`L`}${p(t,f).toFixed(1)},${m(e).toFixed(1)}`).join(` `),g=t?h(t):``,_=n?h(n):``,v=``;if(a&&t&&n){let e=Math.min(t.length,n.length),r=[],i=[];for(let a=0;a<e;a++)n[a]>t[a]&&(r.push(`${p(a,f).toFixed(1)},${m(n[a]).toFixed(1)}`),i.push(`${p(a,f).toFixed(1)},${m(t[a]).toFixed(1)}`));r.length>=2&&(v=`M${r.join(` L`)} L${[...i].reverse().join(` L`)} Z`)}let y=i!==null&&i>=0&&i<f?p(i,f):null;return{yMin:0,yMax:l,yTickVals:u,PH:d,toX:e=>p(e,f),toY:m,trainPath:g,valPath:_,overfitPath:v,bestX:y}}function P(e){let t=(0,k.c)(42),{model:n,epochs:r,label:i,offsetY:a}=e,{yTickVals:o,PH:s,toX:c,toY:l,trainPath:u,valPath:f,overfitPath:p,bestX:m}=n,h=r.length,g=`translate(0,${a})`,_;if(t[0]!==l||t[1]!==o){let e;t[3]===l?e=t[4]:(e=e=>(0,d.jsxs)(`g`,{children:[(0,d.jsx)(`line`,{x1:j.l,y1:l(e),x2:j.l+M,y2:l(e),stroke:`var(--grid-line)`,strokeWidth:.8}),(0,d.jsx)(`text`,{x:j.l-5,y:l(e)+4,textAnchor:`end`,fontSize:8,fill:`var(--text-muted)`,fontFamily:`inherit`,children:e<1?e.toFixed(2):e.toFixed(1)})]},e),t[3]=l,t[4]=e),_=o.map(e),t[0]=l,t[1]=o,t[2]=_}else _=t[2];let v=j.t+s,y;t[5]===v?y=t[6]:(y=(0,d.jsx)(`line`,{x1:j.l,y1:j.t,x2:j.l,y2:v,stroke:`var(--grid-strong)`,strokeWidth:1}),t[5]=v,t[6]=y);let b=j.t+s,x=j.t+s,S;t[7]!==b||t[8]!==x?(S=(0,d.jsx)(`line`,{x1:j.l,y1:b,x2:j.l+M,y2:x,stroke:`var(--grid-strong)`,strokeWidth:1}),t[7]=b,t[8]=x,t[9]=S):S=t[9];let C;t[10]===p?C=t[11]:(C=p&&(0,d.jsx)(`path`,{d:p,fill:`var(--danger)`,fillOpacity:.1}),t[10]=p,t[11]=C);let w;t[12]!==s||t[13]!==m?(w=m!==null&&(0,d.jsxs)(`g`,{children:[(0,d.jsx)(`line`,{x1:m,y1:j.t,x2:m,y2:j.t+s,stroke:`var(--warning)`,strokeWidth:1.5,strokeDasharray:`4 3`}),(0,d.jsx)(`text`,{x:m>A-50?m-3:m+3,y:j.t+10,textAnchor:m>A-50?`end`:`start`,fontSize:8,fill:`var(--warning)`,fontFamily:`inherit`,fontWeight:`600`,children:`Best`})]}),t[12]=s,t[13]=m,t[14]=w):w=t[14];let T;t[15]===u?T=t[16]:(T=u&&(0,d.jsx)(`path`,{d:u,fill:`none`,stroke:`var(--insight)`,strokeWidth:2,strokeLinecap:`round`,strokeLinejoin:`round`}),t[15]=u,t[16]=T);let E;t[17]===f?E=t[18]:(E=f&&(0,d.jsx)(`path`,{d:f,fill:`none`,stroke:`var(--presence)`,strokeWidth:2,strokeDasharray:`5 3`,strokeLinecap:`round`,strokeLinejoin:`round`}),t[17]=f,t[18]=E);let D;if(t[19]!==s||t[20]!==r||t[21]!==h||t[22]!==c){let e;t[24]!==s||t[25]!==h||t[26]!==c?(e=(e,t)=>t%Math.max(1,Math.ceil(h/6))!==0&&t!==h-1?null:(0,d.jsx)(`text`,{x:c(t),y:j.t+s+14,textAnchor:`middle`,fontSize:8,fill:`var(--text-muted)`,fontFamily:`inherit`,children:e},e),t[24]=s,t[25]=h,t[26]=c,t[27]=e):e=t[27],D=r.map(e),t[19]=s,t[20]=r,t[21]=h,t[22]=c,t[23]=D}else D=t[23];let O;t[28]===i?O=t[29]:(O=(0,d.jsx)(`text`,{x:j.l+4,y:j.t+12,fontSize:9,fontWeight:`600`,fill:`var(--text-secondary)`,fontFamily:`inherit`,children:i}),t[28]=i,t[29]=O);let N;t[30]===Symbol.for(`react.memo_cache_sentinel`)?(N=(0,d.jsxs)(`g`,{transform:`translate(${A-j.r-72},${j.t+2})`,children:[(0,d.jsx)(`line`,{x1:0,y1:5,x2:14,y2:5,stroke:`var(--insight)`,strokeWidth:2}),(0,d.jsx)(`text`,{x:17,y:9,fontSize:8,fill:`var(--text-muted)`,fontFamily:`inherit`,children:`Train`}),(0,d.jsx)(`line`,{x1:0,y1:16,x2:14,y2:16,stroke:`var(--presence)`,strokeWidth:2,strokeDasharray:`4 2`}),(0,d.jsx)(`text`,{x:17,y:20,fontSize:8,fill:`var(--text-muted)`,fontFamily:`inherit`,children:`Val`})]}),t[30]=N):N=t[30];let P;return t[31]!==g||t[32]!==T||t[33]!==E||t[34]!==D||t[35]!==O||t[36]!==_||t[37]!==y||t[38]!==S||t[39]!==C||t[40]!==w?(P=(0,d.jsxs)(`g`,{transform:g,children:[_,y,S,C,w,T,E,D,O,N]}),t[31]=g,t[32]=T,t[33]=E,t[34]=D,t[35]=O,t[36]=_,t[37]=y,t[38]=S,t[39]=C,t[40]=w,t[41]=P):P=t[41],P}function F({title:e=`Training Curves`,icon:t=`sparkle`,iconColor:n=`var(--presence)`,epochs:r,trainLoss:o,valLoss:s,trainAcc:c,valAcc:l,bestEpoch:f,lossLabel:p=`Loss`,accLabel:m=`Accuracy`,footer:h,delay:g}){let _=i[t]??i.sparkle,v=o!==void 0||s!==void 0,y=c!==void 0||l!==void 0,b=+!!v+ +!!y,x=b>1?180:220,S=b*x,C=(0,u.useMemo)(()=>{if(f===void 0)return null;let e=r.indexOf(f);return e>=0?e:null},[f,r]),w=(0,u.useMemo)(()=>v?N(r,o,s,x,C,!0):null,[r,o,s,x,C,v]),T=(0,u.useMemo)(()=>y?N(r,c,l,x,C,!1):null,[r,c,l,x,C,y]);return!r.length||b===0?null:(0,d.jsxs)(`div`,{className:`card reveal`,style:{"--delay":(g||0)+`ms`},children:[(0,d.jsxs)(`div`,{className:`card-eyebrow`,children:[(0,d.jsx)(_,{className:`ic`,style:{color:n}}),e]}),(0,d.jsxs)(`svg`,{viewBox:`0 0 ${A} ${S}`,width:`100%`,role:`img`,"aria-label":e,style:{display:`block`,overflow:`visible`},children:[w&&(0,d.jsx)(P,{model:w,epochs:r,label:p,offsetY:0}),T&&(0,d.jsx)(P,{model:T,epochs:r,label:m,offsetY:w?x:0})]}),h&&(0,d.jsx)(`div`,{className:`insight-summary`,dangerouslySetInnerHTML:a(h)})]})}var I=e({aiRegistry:()=>L}),L={reasoning:l(f),toolcalls:l(m),agenttrace:l(h),modelcompare:l(g),tokenstream:l(v),retrieval:l(b),whatchanged:l(x),routing:l(S),embedmap:l(w),calibration:l(T),httpexchange:l(O),trainingcurve:l(F)};export{I as n,L as t};
|
|
1
|
+
import{r as e}from"./chunk-BVpWp9h4.js";import{t}from"./react-BQSORdFI.js";import{t as n}from"./jsx-runtime-DaSxXjOY.js";import{ht as r}from"./index-BlCH2LG4.js";import{n as i}from"./icons-CHVz6kv_.js";import{t as a}from"./richText-BkxJhl9N.js";import{r as o}from"./format-DlZTyeMy.js";import{a as s,r as c}from"./scale-Bcgfo6Hp.js";import"./lib-3J_9keOc.js";import{t as l}from"./registry-types-DMuK0vJ6.js";var u=t(),d=n();function f({title:e,icon:t=`sparkle`,iconColor:n=`var(--presence)`,steps:r,conclusion:o,footer:s,delay:c}){let l=i[t]||i.sparkle,[f,p]=(0,u.useState)(0);return(0,d.jsxs)(`div`,{className:`card reveal`,style:{"--delay":(c||0)+`ms`},children:[(0,d.jsxs)(`div`,{className:`card-eyebrow`,children:[(0,d.jsx)(l,{className:`ic`,style:{color:n}}),` `,e]}),(0,d.jsx)(`div`,{className:`ai-cot`,children:r.map((e,t)=>{let n=f===t;return(0,d.jsxs)(`div`,{className:`ai-cot-step`+(n?` is-open`:``),children:[(0,d.jsxs)(`button`,{className:`ai-cot-head`,onClick:()=>p(n?-1:t),children:[(0,d.jsx)(`span`,{className:`ai-cot-dot`,children:(0,d.jsx)(`span`,{children:t+1})}),(0,d.jsxs)(`span`,{className:`ai-cot-body`,children:[(0,d.jsxs)(`span`,{className:`ai-cot-label`,children:[e.label,e.tag&&(0,d.jsx)(`span`,{className:`ai-tag`,style:{"--c":e.tagColor||`var(--presence)`},children:e.tag})]}),(0,d.jsx)(`span`,{className:`ai-cot-summary`,children:e.summary})]}),(0,d.jsx)(i.chevR,{className:`ai-cot-chev`+(n?` is-open`:``)})]}),n&&e.detail&&(0,d.jsx)(`div`,{className:`ai-cot-detail`,dangerouslySetInnerHTML:a(e.detail)})]},t)})}),o&&(0,d.jsxs)(`div`,{className:`ai-cot-conclusion`,children:[(0,d.jsx)(i.check,{className:`ic`}),(0,d.jsx)(`span`,{dangerouslySetInnerHTML:a(o)})]}),s&&(0,d.jsx)(`div`,{className:`insight-summary`,style:{marginTop:12},dangerouslySetInnerHTML:a(s)})]})}var p={ok:{c:`var(--insight)`,label:`OK`},error:{c:`var(--danger)`,label:`ERR`},pending:{c:`var(--warning)`,label:`RUNNING`}};function m({title:e,icon:t=`layers`,iconColor:n=`var(--presence)`,calls:r,footer:o,delay:s}){let c=i[t]||i.layers,[l,f]=(0,u.useState)(0);return(0,d.jsxs)(`div`,{className:`card reveal`,style:{"--delay":(s||0)+`ms`},children:[(0,d.jsxs)(`div`,{className:`card-eyebrow`,children:[(0,d.jsx)(c,{className:`ic`,style:{color:n}}),` `,e]}),(0,d.jsx)(`div`,{className:`ai-tc`,children:r.map((e,t)=>{let r=l===t,a=p[e.status||`ok`]||p.ok;return(0,d.jsxs)(`div`,{className:`ai-tc-call`+(r?` is-open`:``),children:[(0,d.jsxs)(`button`,{className:`ai-tc-head`,onClick:()=>f(r?-1:t),children:[(0,d.jsx)(`span`,{className:`ai-tc-conn`,"aria-hidden":!0}),(0,d.jsx)(`span`,{className:`ai-tc-verb mono`,style:{color:n},children:e.verb||`call`}),(0,d.jsx)(`span`,{className:`ai-tc-name mono`,children:e.name}),(0,d.jsx)(`span`,{className:`ai-tc-spacer`}),typeof e.ms==`number`&&(0,d.jsxs)(`span`,{className:`ai-tc-ms tab-num`,children:[e.ms,`ms`]}),(0,d.jsx)(`span`,{className:`ai-tc-status`,style:{"--c":a.c},children:a.label}),(0,d.jsx)(i.chevR,{className:`ai-cot-chev`+(r?` is-open`:``)})]}),r&&(0,d.jsxs)(`div`,{className:`ai-tc-detail`,children:[(0,d.jsxs)(`div`,{className:`ai-tc-pane`,children:[(0,d.jsxs)(`div`,{className:`ai-tc-pane-label`,children:[(0,d.jsx)(i.arrowUp,{className:`ic`}),` Request`]}),(0,d.jsx)(`pre`,{className:`ai-tc-code mono`,children:e.request})]}),(0,d.jsxs)(`div`,{className:`ai-tc-pane`,children:[(0,d.jsxs)(`div`,{className:`ai-tc-pane-label`,children:[(0,d.jsx)(i.arrowDown,{className:`ic`,style:{color:a.c}}),` Response`]}),(0,d.jsx)(`pre`,{className:`ai-tc-code mono`,children:e.response})]})]})]},t)})}),o&&(0,d.jsx)(`div`,{className:`insight-summary`,style:{marginTop:12},dangerouslySetInnerHTML:a(o)})]})}function h({title:e,icon:t=`share`,iconColor:n=`var(--presence)`,nodes:r,footer:o,delay:s}){let c=i[t]||i.share,[l,f]=(0,u.useState)(!1);return(0,d.jsxs)(`div`,{className:`card reveal`,style:{"--delay":(s||0)+`ms`},children:[(0,d.jsxs)(`div`,{className:`card-eyebrow`,children:[(0,d.jsx)(c,{className:`ic`,style:{color:n}}),` `,e,(0,d.jsxs)(`button`,{className:`ai-at-toggle`+(l?` is-on`:``),onClick:()=>f(e=>!e),children:[(0,d.jsx)(i.layers,{className:`ic`}),` `,l?`Explored`:`Chosen path`]})]}),(0,d.jsx)(`div`,{className:`ai-at`,children:r.map((e,t)=>{let n=l?e.branches:e.branches.filter(e=>e.chosen);return(0,d.jsxs)(`div`,{className:`ai-at-node`,children:[(0,d.jsxs)(`div`,{className:`ai-at-step`,children:[(0,d.jsx)(`span`,{className:`ai-at-rail`,"aria-hidden":!0}),(0,d.jsx)(`span`,{className:`ai-at-stepnum tab-num`,children:t+1}),(0,d.jsxs)(`div`,{className:`ai-at-decision`,children:[(0,d.jsx)(`div`,{className:`ai-at-step-label`,children:e.step}),(0,d.jsx)(`div`,{className:`ai-at-step-q`,children:e.decision})]})]}),(0,d.jsx)(`div`,{className:`ai-at-branches`,children:n.map((e,t)=>{let n=e.chosen?e.color||`var(--insight)`:`var(--text-muted)`;return(0,d.jsxs)(`div`,{className:`ai-at-branch`+(e.chosen?` is-chosen`:` is-alt`),style:{"--c":n},children:[(0,d.jsx)(`span`,{className:`ai-at-branch-mark`,children:e.chosen?(0,d.jsx)(i.check,{className:`ic`}):(0,d.jsx)(i.x,{className:`ic`})}),(0,d.jsx)(`span`,{className:`ai-at-branch-label`,children:e.label}),e.note&&(0,d.jsx)(`span`,{className:`ai-at-branch-note`,children:e.note}),typeof e.score==`number`&&(0,d.jsx)(`span`,{className:`ai-at-branch-score tab-num`,children:Math.round(e.score*100)})]},t)})})]},t)})}),o&&(0,d.jsx)(`div`,{className:`insight-summary`,style:{marginTop:12},dangerouslySetInnerHTML:a(o)})]})}function g({title:e,icon:t=`layers`,iconColor:n=`var(--presence)`,prompt:r,outputs:o,footer:s,delay:c}){let l=i[t]||i.layers,[f,p]=(0,u.useState)(new Set),[m,h]=(0,u.useState)(!0),g=e=>p(t=>{let n=new Set(t);return n.has(e)?n.delete(e):o.length-n.size>1&&n.add(e),n}),_=o.filter((e,t)=>!f.has(t));return(0,d.jsxs)(`div`,{className:`card reveal`,style:{"--delay":(c||0)+`ms`},children:[(0,d.jsxs)(`div`,{className:`card-eyebrow`,children:[(0,d.jsx)(l,{className:`ic`,style:{color:n}}),` `,e,(0,d.jsxs)(`button`,{className:`ai-at-toggle`+(m?` is-on`:``),onClick:()=>h(e=>!e),children:[(0,d.jsx)(i.eye,{className:`ic`}),` Diff`]})]}),r&&(0,d.jsxs)(`div`,{className:`ai-mc-prompt`,children:[(0,d.jsx)(`span`,{className:`ai-mc-prompt-tag`,children:`PROMPT`}),` `,r]}),(0,d.jsx)(`div`,{className:`ai-mc-tabs`,children:o.map((e,t)=>{let n=!f.has(t),r=e.color||`var(--presence)`;return(0,d.jsxs)(`button`,{className:`ai-mc-tab`+(n?` is-on`:``),style:{"--c":r},onClick:()=>g(t),children:[(0,d.jsx)(`span`,{className:`ai-mc-dot`}),e.model,e.best&&(0,d.jsx)(i.check,{className:`ai-mc-best`})]},t)})}),(0,d.jsx)(`div`,{className:`ai-mc-grid`+(m?``:` no-diff`),style:{"--cols":String(_.length)},children:o.map((e,t)=>f.has(t)?null:(0,d.jsxs)(`div`,{className:`ai-mc-col`+(e.best?` is-best`:``),style:{"--c":e.color||`var(--presence)`},children:[(0,d.jsxs)(`div`,{className:`ai-mc-col-head`,children:[(0,d.jsx)(`span`,{className:`ai-mc-dot`}),(0,d.jsx)(`span`,{className:`ai-mc-model`,children:e.model}),e.badge&&(0,d.jsx)(`span`,{className:`ai-mc-badge`,children:e.badge})]}),(0,d.jsx)(`div`,{className:`ai-mc-text`,dangerouslySetInnerHTML:a(e.text)}),e.meta&&e.meta.length>0&&(0,d.jsx)(`div`,{className:`ai-mc-meta`,children:e.meta.map((e,t)=>(0,d.jsxs)(`span`,{children:[(0,d.jsx)(`span`,{className:`faint`,children:e.k}),` `,(0,d.jsx)(`span`,{className:`tab-num`,children:e.v})]},t))})]},t))}),s&&(0,d.jsx)(`div`,{className:`insight-summary`,style:{marginTop:12},dangerouslySetInnerHTML:a(s)})]})}function _(e){return e>=.85?`var(--insight)`:e>=.6?`var(--presence)`:e>=.4?`var(--warning)`:`var(--danger)`}function v({title:e,icon:t=`spark`,iconColor:n=`var(--presence)`,prefix:r,tokens:o,footer:s,delay:c}){let l=i[t]||i.spark,[f,p]=(0,u.useState)(null),m=f==null?null:o[f];return(0,d.jsxs)(`div`,{className:`card reveal`,style:{"--delay":(c||0)+`ms`},children:[(0,d.jsxs)(`div`,{className:`card-eyebrow`,children:[(0,d.jsx)(l,{className:`ic`,style:{color:n}}),` `,e]}),(0,d.jsxs)(`div`,{className:`ai-ts-stream`,children:[r&&(0,d.jsx)(`span`,{className:`ai-ts-prefix`,children:r}),o.map((e,t)=>{let n=_(e.p);return(0,d.jsx)(`span`,{className:`ai-ts-tok`+(f===t?` is-on`:``),style:{"--c":n,"--a":String(.1+e.p*.32)},onMouseEnter:()=>p(t),onMouseLeave:()=>p(null),children:e.text},t)})]}),(0,d.jsx)(`div`,{className:`ai-ts-readout`,children:m?(0,d.jsxs)(`div`,{className:`ai-ts-pop`,children:[(0,d.jsxs)(`div`,{className:`ai-ts-pop-head`,children:[(0,d.jsx)(`span`,{className:`ai-ts-pop-tok mono`,children:m.text.trim()||`␣`}),(0,d.jsxs)(`span`,{className:`ai-ts-pop-p tab-num`,style:{color:_(m.p)},children:[(m.p*100).toFixed(1),`%`]})]}),(0,d.jsx)(`div`,{className:`ai-ts-bar`,children:(0,d.jsx)(`span`,{style:{width:`${m.p*100}%`,background:_(m.p)}})}),m.alts&&m.alts.length>0&&(0,d.jsxs)(`div`,{className:`ai-ts-alts`,children:[(0,d.jsx)(`span`,{className:`faint`,children:`alternatives`}),m.alts.map((e,t)=>(0,d.jsxs)(`span`,{className:`ai-ts-alt`,children:[(0,d.jsx)(`span`,{className:`mono`,children:e.t.trim()||`␣`}),(0,d.jsxs)(`span`,{className:`tab-num faint`,children:[(e.p*100).toFixed(0),`%`]})]},t))]})]}):(0,d.jsxs)(`span`,{className:`faint`,children:[(0,d.jsx)(i.eye,{className:`ic`,style:{verticalAlign:`-2px`,width:14,height:14}}),` `,`Hover a token to see its probability and top alternatives`]})}),s&&(0,d.jsx)(`div`,{className:`insight-summary`,style:{marginTop:12},dangerouslySetInnerHTML:a(s)})]})}function y(e){return e>=.8?`var(--insight)`:e>=.6?`var(--presence)`:e>=.4?`var(--warning)`:`var(--text-muted)`}function b({title:e,icon:t=`layers`,iconColor:n=`var(--presence)`,query:r,chunks:o,footer:s,delay:c}){let l=i[t]||i.layers,f=o.map((e,t)=>({c:e,i:t})).sort((e,t)=>t.c.score-e.c.score),[p,m]=(0,u.useState)(f.length?f[0].i:-1);return(0,d.jsxs)(`div`,{className:`card reveal`,style:{"--delay":(c||0)+`ms`},children:[(0,d.jsxs)(`div`,{className:`card-eyebrow`,children:[(0,d.jsx)(l,{className:`ic`,style:{color:n}}),` `,e]}),r&&(0,d.jsxs)(`div`,{className:`ai-rt-query`,children:[(0,d.jsx)(i.spark,{className:`ic`,style:{color:n}}),` `,(0,d.jsx)(`span`,{children:r})]}),(0,d.jsx)(`div`,{className:`ai-rt`,children:f.map(({c:e,i:t},n)=>{let r=p===t,o=y(e.score);return(0,d.jsxs)(`div`,{className:`ai-rt-chunk`+(r?` is-open`:``),style:{"--c":o},children:[(0,d.jsxs)(`button`,{className:`ai-rt-head`,onClick:()=>m(r?-1:t),children:[(0,d.jsx)(`span`,{className:`ai-rt-rank tab-num`,children:n+1}),(0,d.jsxs)(`span`,{className:`ai-rt-body`,children:[(0,d.jsxs)(`span`,{className:`ai-rt-source`,children:[(0,d.jsx)(i.doc,{className:`ic`}),` `,e.source,e.used&&(0,d.jsx)(`span`,{className:`ai-rt-used`,children:`used`}),e.tag&&(0,d.jsx)(`span`,{className:`ai-tag`,style:{"--c":e.tagColor||`var(--presence)`},children:e.tag})]}),(0,d.jsx)(`span`,{className:`ai-rt-snippet`,children:e.snippet})]}),(0,d.jsxs)(`span`,{className:`ai-rt-score`,children:[(0,d.jsx)(`span`,{className:`ai-rt-meter`,children:(0,d.jsx)(`span`,{style:{width:`${e.score*100}%`,background:o}})}),(0,d.jsx)(`span`,{className:`tab-num`,style:{color:o},children:e.score.toFixed(2)})]}),(0,d.jsx)(i.chevR,{className:`ai-cot-chev`+(r?` is-open`:``)})]}),r&&e.body&&(0,d.jsx)(`div`,{className:`ai-rt-detail`,dangerouslySetInnerHTML:a(e.body)})]},t)})}),s&&(0,d.jsx)(`div`,{className:`insight-summary`,style:{marginTop:12},dangerouslySetInnerHTML:a(s)})]})}function x({title:e,icon:t=`edit`,iconColor:n=`var(--presence)`,beforeLabel:r=`Before`,afterLabel:o=`After`,before:s,after:c,diff:l,footer:f,delay:p}){let m=i[t]||i.edit,[h,g]=(0,u.useState)(`diff`),_=l.filter(e=>e.t===`add`).length,v=l.filter(e=>e.t===`del`).length;return(0,d.jsxs)(`div`,{className:`card reveal`,style:{"--delay":(p||0)+`ms`},children:[(0,d.jsxs)(`div`,{className:`card-eyebrow`,children:[(0,d.jsx)(m,{className:`ic`,style:{color:n}}),` `,e]}),(0,d.jsxs)(`div`,{className:`ai-wc-seg`,children:[(0,d.jsx)(`button`,{className:`ai-wc-seg-btn`+(h===`before`?` is-on`:``),onClick:()=>g(`before`),children:r}),(0,d.jsx)(`button`,{className:`ai-wc-seg-btn`+(h===`after`?` is-on`:``),onClick:()=>g(`after`),children:o}),(0,d.jsxs)(`button`,{className:`ai-wc-seg-btn`+(h===`diff`?` is-on`:``),onClick:()=>g(`diff`),children:[`Diff`,` `,(0,d.jsxs)(`span`,{className:`ai-wc-count`,children:[(0,d.jsxs)(`span`,{className:`ai-wc-add`,children:[`+`,_]}),` `,(0,d.jsxs)(`span`,{className:`ai-wc-del`,children:[`−`,v]})]})]})]}),h===`before`&&(0,d.jsx)(`div`,{className:`ai-wc-prose ai-wc-old`,dangerouslySetInnerHTML:a(s)}),h===`after`&&(0,d.jsx)(`div`,{className:`ai-wc-prose ai-wc-new`,dangerouslySetInnerHTML:a(c)}),h===`diff`&&(0,d.jsx)(`div`,{className:`ai-wc-diff`,children:l.map((e,t)=>(0,d.jsxs)(`div`,{className:`ai-wc-line `+(e.t||`ctx`),children:[(0,d.jsx)(`span`,{className:`ai-wc-gutter`,children:e.t===`add`?`+`:e.t===`del`?`−`:``}),(0,d.jsx)(`span`,{className:`ai-wc-content`,dangerouslySetInnerHTML:a(e.c)})]},t))}),f&&(0,d.jsx)(`div`,{className:`insight-summary`,style:{marginTop:12},dangerouslySetInnerHTML:a(f)})]})}function S({title:e,icon:t=`share`,iconColor:n=`var(--presence)`,query:r,classifier:o=`router`,choices:s,footer:c,delay:l}){let f=i[t]||i.share,[p,m]=(0,u.useState)(Math.max(0,s.findIndex(e=>e.taken))),h=s[p];return(0,d.jsxs)(`div`,{className:`card reveal`,style:{"--delay":(l||0)+`ms`},children:[(0,d.jsxs)(`div`,{className:`card-eyebrow`,children:[(0,d.jsx)(f,{className:`ic`,style:{color:n}}),` `,e]}),(0,d.jsxs)(`div`,{className:`ai-ro`,children:[(0,d.jsxs)(`div`,{className:`ai-ro-source`,children:[r&&(0,d.jsx)(`div`,{className:`ai-ro-query`,children:r}),(0,d.jsxs)(`div`,{className:`ai-ro-classifier`,children:[(0,d.jsx)(i.sparkle,{className:`ic`,style:{color:n}}),` `,o]})]}),(0,d.jsx)(`svg`,{role:`img`,"aria-label":e,className:`ai-ro-wires`,viewBox:`0 0 40 100`,preserveAspectRatio:`none`,"aria-hidden":!0,children:s.map((e,t)=>{let n=(t+.5)/s.length*100,r=e.taken;return(0,d.jsx)(`path`,{d:`M0 50 C 20 50, 20 ${n}, 40 ${n}`,fill:`none`,stroke:r?e.color||`var(--insight)`:`var(--grid-strong)`,strokeWidth:r?2.4:1.4,strokeDasharray:r?`0`:`3 3`},t)})}),(0,d.jsx)(`div`,{className:`ai-ro-choices`,children:s.map((e,t)=>{let n=e.color||(e.taken?`var(--insight)`:`var(--text-muted)`);return(0,d.jsxs)(`button`,{className:`ai-ro-choice`+(e.taken?` is-taken`:``)+(p===t?` is-sel`:``),style:{"--c":n},onClick:()=>m(t),children:[(0,d.jsxs)(`span`,{className:`ai-ro-choice-top`,children:[(0,d.jsx)(`span`,{className:`ai-ro-choice-label`,children:e.label}),e.taken&&(0,d.jsx)(`span`,{className:`ai-ro-taken`,children:(0,d.jsx)(i.check,{className:`ic`})})]}),e.sub&&(0,d.jsx)(`span`,{className:`ai-ro-choice-sub`,children:e.sub}),typeof e.score==`number`&&(0,d.jsx)(`span`,{className:`ai-ro-choice-meter`,children:(0,d.jsx)(`span`,{style:{width:`${e.score*100}%`,background:n}})})]},t)})})]}),h&&h.reason&&(0,d.jsxs)(`div`,{className:`ai-ro-reason`,style:{"--c":h.color||(h.taken?`var(--insight)`:`var(--presence)`)},children:[(0,d.jsx)(i.quote,{className:`ic`}),(0,d.jsxs)(`span`,{children:[(0,d.jsx)(`strong`,{children:h.label}),` —`,` `,(0,d.jsx)(`span`,{dangerouslySetInnerHTML:a(h.reason)})]})]}),c&&(0,d.jsx)(`div`,{className:`insight-summary`,style:{marginTop:12},dangerouslySetInnerHTML:a(c)})]})}var C=[`var(--presence)`,`var(--insight)`,`var(--warning)`,`var(--presence-soft)`,`var(--danger)`];function w({title:e,icon:t=`globe`,iconColor:n=`var(--presence)`,clusters:r,points:o,footer:s,delay:c}){let l=i[t]||i.globe,[f,p]=(0,u.useState)(null),[m,h]=(0,u.useState)(null),g=e=>r[e]?.color||C[e%C.length],_=e=>14+e*512,v=e=>14+(1-e)*272,y=f==null?null:o[f];return(0,d.jsxs)(`div`,{className:`card reveal`,style:{"--delay":(c||0)+`ms`},children:[(0,d.jsxs)(`div`,{className:`card-eyebrow`,children:[(0,d.jsx)(l,{className:`ic`,style:{color:n}}),` `,e]}),(0,d.jsx)(`div`,{className:`ai-em-legend`,children:r.map((e,t)=>(0,d.jsxs)(`button`,{className:`ai-em-leg`+(m===t?` is-on`:``)+(m!=null&&m!==t?` muted`:``),onClick:()=>h(m===t?null:t),children:[(0,d.jsx)(`span`,{className:`ai-em-swatch`,style:{background:g(t)}}),e.name]},t))}),(0,d.jsx)(`div`,{className:`ai-em-wrap`,children:(0,d.jsxs)(`svg`,{role:`img`,"aria-label":e,viewBox:`0 0 540 300`,width:`100%`,className:`ai-em-svg`,style:{display:`block`},children:[[.25,.5,.75].map(e=>(0,d.jsxs)(`g`,{children:[(0,d.jsx)(`line`,{x1:_(e),y1:14,x2:_(e),y2:286,stroke:`var(--grid-line)`,strokeWidth:`1`}),(0,d.jsx)(`line`,{x1:14,y1:v(e),x2:526,y2:v(e),stroke:`var(--grid-line)`,strokeWidth:`1`})]},e)),o.map((e,t)=>{let n=g(e.cluster),r=m!=null&&m!==e.cluster,a=f===t;return e.query?(0,d.jsxs)(`g`,{onMouseEnter:()=>p(t),onMouseLeave:()=>p(null),style:{cursor:`pointer`},children:[(0,d.jsx)(`circle`,{cx:_(e.x),cy:v(e.y),r:a?11:9,fill:`none`,stroke:`var(--presence)`,strokeWidth:`2`,opacity:r?.3:1}),(0,d.jsx)(i.spark,{x:_(e.x)-6,y:v(e.y)-6,width:`12`,height:`12`,style:{color:`var(--presence)`,opacity:r?.3:1}})]},t):(0,d.jsx)(`circle`,{cx:_(e.x),cy:v(e.y),r:a?7:4.5,fill:n,opacity:r?.18:a?1:.82,stroke:a?`var(--text-primary)`:`transparent`,strokeWidth:a?1.5:0,onMouseEnter:()=>p(t),onMouseLeave:()=>p(null),style:{cursor:`pointer`,transition:`r var(--m-fast) var(--ease-out)`}},t)})]})}),(0,d.jsx)(`div`,{className:`insight-summary`,style:{marginTop:12},children:y?(0,d.jsxs)(`span`,{children:[(0,d.jsx)(`span`,{className:`ai-em-swatch`,style:{background:g(y.cluster),display:`inline-block`,verticalAlign:`middle`,marginRight:6}}),(0,d.jsx)(`strong`,{style:{color:`var(--text-primary)`},children:y.label}),(0,d.jsxs)(`span`,{className:`faint`,children:[` `,`· `,r[y.cluster]?.name||`cluster ${y.cluster}`]})]}):s?(0,d.jsx)(`span`,{dangerouslySetInnerHTML:a(s)}):(0,d.jsx)(`span`,{className:`faint`,children:`Hover a point for its label · click a legend chip to isolate a cluster`})})]})}function T({title:e,icon:t=`chart`,iconColor:n=`var(--presence)`,bins:r,color:o=`var(--presence)`,ece:s,footer:c,delay:l}){let f=i[t]||i.chart,p=[...r].sort((e,t)=>e.predicted-t.predicted),[m,h]=(0,u.useState)(null),g=e=>42+e*236,_=e=>278-e*236,v=Math.max(1,...p.map(e=>e.count)),y=p.map((e,t)=>`${t?`L`:`M`} ${g(e.predicted)} ${_(e.actual)}`).join(` `),b=m==null?null:p[m];return(0,d.jsxs)(`div`,{className:`card reveal`,style:{"--delay":(l||0)+`ms`},children:[(0,d.jsxs)(`div`,{className:`card-eyebrow`,children:[(0,d.jsx)(f,{className:`ic`,style:{color:n}}),` `,e,s&&(0,d.jsxs)(`span`,{className:`ai-cal-ece tab-num`,children:[`ECE `,s]})]}),(0,d.jsx)(`div`,{className:`ai-cal-wrap`,children:(0,d.jsxs)(`svg`,{role:`img`,"aria-label":e,viewBox:`0 0 320 320`,width:`100%`,className:`ai-cal-svg`,style:{display:`block`},children:[p.map((e,t)=>{let n=236/p.length,r=e.count/v*236*.5;return(0,d.jsx)(`rect`,{x:g(e.predicted)-n*.32,y:278-r,width:n*.64,height:r,fill:`var(--track)`,rx:2,opacity:m===t?.9:.55},`c`+t)}),(0,d.jsx)(`line`,{x1:42,y1:278,x2:278,y2:278,stroke:`var(--grid-strong)`,strokeWidth:`1`}),(0,d.jsx)(`line`,{x1:42,y1:42,x2:42,y2:278,stroke:`var(--grid-strong)`,strokeWidth:`1`}),(0,d.jsx)(`line`,{x1:g(0),y1:_(0),x2:g(1),y2:_(1),stroke:`var(--hover-line)`,strokeWidth:`1.4`,strokeDasharray:`5 5`}),(0,d.jsx)(`path`,{d:y,fill:`none`,stroke:o,strokeWidth:`2.4`,strokeLinejoin:`round`,strokeLinecap:`round`}),p.map((e,t)=>{let n=m===t;return(0,d.jsxs)(`g`,{onMouseEnter:()=>h(t),onMouseLeave:()=>h(null),style:{cursor:`pointer`},children:[(0,d.jsx)(`circle`,{cx:g(e.predicted),cy:_(e.actual),r:14,fill:`transparent`}),n&&(0,d.jsx)(`line`,{x1:g(e.predicted),y1:_(e.predicted),x2:g(e.predicted),y2:_(e.actual),stroke:`var(--warning)`,strokeWidth:`1.4`,strokeDasharray:`2 2`}),(0,d.jsx)(`circle`,{cx:g(e.predicted),cy:_(e.actual),r:n?6:4,fill:o,stroke:`var(--surface-1, var(--bg))`,strokeWidth:`1.5`,style:{transition:`r var(--m-fast)`}})]},`p`+t)}),(0,d.jsx)(`text`,{x:320/2,y:314,textAnchor:`middle`,fontSize:`11`,fill:`var(--text-muted)`,children:`predicted probability`}),(0,d.jsx)(`text`,{x:0,y:0,transform:`translate(14, ${320/2}) rotate(-90)`,textAnchor:`middle`,fontSize:`11`,fill:`var(--text-muted)`,children:`observed accuracy`})]})}),(0,d.jsx)(`div`,{className:`insight-summary`,style:{marginTop:8},children:b?(0,d.jsxs)(`span`,{className:`ai-cal-readout`,children:[(0,d.jsxs)(`span`,{children:[(0,d.jsx)(`span`,{className:`faint`,children:`predicted`}),` `,(0,d.jsxs)(`span`,{className:`tab-num`,children:[(b.predicted*100).toFixed(0),`%`]})]}),(0,d.jsxs)(`span`,{children:[(0,d.jsx)(`span`,{className:`faint`,children:`actual`}),` `,(0,d.jsxs)(`span`,{className:`tab-num`,style:{color:o},children:[(b.actual*100).toFixed(0),`%`]})]}),(0,d.jsxs)(`span`,{children:[(0,d.jsx)(`span`,{className:`faint`,children:`gap`}),` `,(0,d.jsxs)(`span`,{className:`tab-num`,style:{color:`var(--warning)`},children:[((b.actual-b.predicted)*100).toFixed(0),`pt`]})]}),(0,d.jsxs)(`span`,{children:[(0,d.jsx)(`span`,{className:`faint`,children:`n`}),` `,(0,d.jsx)(`span`,{className:`tab-num`,children:b.count})]})]}):c?(0,d.jsx)(`span`,{dangerouslySetInnerHTML:a(c)}):(0,d.jsx)(`span`,{className:`faint`,children:`Dashed diagonal = perfect calibration · hover a bin for predicted vs actual`})})]})}var E={GET:`var(--presence)`,POST:`var(--insight)`,PUT:`var(--warning)`,PATCH:`var(--warning)`,DELETE:`var(--danger)`};function D(e){return typeof e==`number`?e>=500?`var(--danger)`:e>=400?`var(--warning)`:e>=300?`var(--presence)`:e>=200?`var(--insight)`:`var(--text-muted)`:`var(--text-muted)`}function O({title:e,icon:t=`globe`,iconColor:n=`var(--presence)`,exchanges:r,caption:s,footer:c,delay:l}){let f=i[t]||i.globe,[p,m]=(0,u.useState)(r.findIndex(e=>e.reqBody||e.respPreview));return(0,d.jsxs)(`div`,{className:`card reveal`,style:{"--delay":(l||0)+`ms`},children:[e&&(0,d.jsxs)(`div`,{className:`card-eyebrow`,children:[(0,d.jsx)(f,{className:`ic`,style:{color:n}}),` `,e]}),(0,d.jsx)(`div`,{className:`ai-hx`,children:r.map((e,t)=>{let n=D(e.status),r=E[e.method]||`var(--text-secondary)`,a=!!(e.reqBody||e.respPreview),s=p===t;return(0,d.jsxs)(`div`,{className:`ai-hx-row`+(s?` is-open`:``),children:[(0,d.jsxs)(`button`,{className:`ai-hx-head`,onClick:()=>a&&m(s?-1:t),...a?{}:{"aria-disabled":!0,tabIndex:-1},children:[(0,d.jsx)(`span`,{className:`ai-hx-method mono`,style:{"--c":r},children:e.method}),(0,d.jsx)(`span`,{className:`ai-hx-url mono`,children:e.url}),(0,d.jsx)(`span`,{className:`ai-hx-spacer`}),typeof e.durationMs==`number`&&(0,d.jsx)(`span`,{className:`ai-hx-ms tab-num`,children:o(e.durationMs,{unit:`ms`,decimals:0})}),typeof e.status==`number`&&(0,d.jsxs)(`span`,{className:`ai-hx-status tab-num`,style:{"--c":n},title:e.statusText,children:[e.status,e.statusText&&(0,d.jsxs)(`span`,{className:`ai-hx-status-text`,children:[` `,e.statusText]})]}),a&&(0,d.jsx)(i.chevR,{className:`ai-cot-chev`+(s?` is-open`:``)})]}),e.note&&(0,d.jsxs)(`div`,{className:`ai-hx-note`,style:{"--c":n},children:[(0,d.jsx)(i.alert,{className:`ic`}),` `,(0,d.jsx)(`span`,{children:e.note})]}),a&&s&&(0,d.jsxs)(`div`,{className:`ai-hx-detail`,children:[e.reqBody&&(0,d.jsxs)(`div`,{className:`ai-hx-pane`,children:[(0,d.jsxs)(`div`,{className:`ai-hx-pane-label`,children:[(0,d.jsx)(i.arrowUp,{className:`ic`}),` Request`]}),(0,d.jsx)(`pre`,{className:`ai-hx-code mono`,children:e.reqBody})]}),e.respPreview&&(0,d.jsxs)(`div`,{className:`ai-hx-pane`,children:[(0,d.jsxs)(`div`,{className:`ai-hx-pane-label`,children:[(0,d.jsx)(i.arrowDown,{className:`ic`,style:{color:n}}),` Response`]}),(0,d.jsx)(`pre`,{className:`ai-hx-code mono`,children:e.respPreview})]})]})]},t)})}),s&&(0,d.jsx)(`div`,{className:`ai-hx-caption`,children:s}),c&&(0,d.jsx)(`div`,{className:`insight-summary`,style:{marginTop:12},dangerouslySetInnerHTML:a(c)})]})}var k=r(),A=320,j={l:44,r:16,t:16,b:36},M=A-j.l-j.r;function N(e,t,n,r,i,a){let o=[...t??[],...n??[]].filter(Number.isFinite);if(!o.length)return null;let l=Math.max(...o)*1.08||1,u=s(0,l,c(l-0,4)).filter(e=>e<=l),d=r-j.t-j.b,f=e.length,p=(e,t)=>j.l+(t>1?e/(t-1)*M:M/2),m=e=>j.t+d-(e-0)/(l-0)*d,h=e=>e.map((e,t)=>`${t===0?`M`:`L`}${p(t,f).toFixed(1)},${m(e).toFixed(1)}`).join(` `),g=t?h(t):``,_=n?h(n):``,v=``;if(a&&t&&n){let e=Math.min(t.length,n.length),r=[],i=[];for(let a=0;a<e;a++)n[a]>t[a]&&(r.push(`${p(a,f).toFixed(1)},${m(n[a]).toFixed(1)}`),i.push(`${p(a,f).toFixed(1)},${m(t[a]).toFixed(1)}`));r.length>=2&&(v=`M${r.join(` L`)} L${[...i].reverse().join(` L`)} Z`)}let y=i!==null&&i>=0&&i<f?p(i,f):null;return{yMin:0,yMax:l,yTickVals:u,PH:d,toX:e=>p(e,f),toY:m,trainPath:g,valPath:_,overfitPath:v,bestX:y}}function P(e){let t=(0,k.c)(42),{model:n,epochs:r,label:i,offsetY:a}=e,{yTickVals:o,PH:s,toX:c,toY:l,trainPath:u,valPath:f,overfitPath:p,bestX:m}=n,h=r.length,g=`translate(0,${a})`,_;if(t[0]!==l||t[1]!==o){let e;t[3]===l?e=t[4]:(e=e=>(0,d.jsxs)(`g`,{children:[(0,d.jsx)(`line`,{x1:j.l,y1:l(e),x2:j.l+M,y2:l(e),stroke:`var(--grid-line)`,strokeWidth:.8}),(0,d.jsx)(`text`,{x:j.l-5,y:l(e)+4,textAnchor:`end`,fontSize:8,fill:`var(--text-muted)`,fontFamily:`inherit`,children:e<1?e.toFixed(2):e.toFixed(1)})]},e),t[3]=l,t[4]=e),_=o.map(e),t[0]=l,t[1]=o,t[2]=_}else _=t[2];let v=j.t+s,y;t[5]===v?y=t[6]:(y=(0,d.jsx)(`line`,{x1:j.l,y1:j.t,x2:j.l,y2:v,stroke:`var(--grid-strong)`,strokeWidth:1}),t[5]=v,t[6]=y);let b=j.t+s,x=j.t+s,S;t[7]!==b||t[8]!==x?(S=(0,d.jsx)(`line`,{x1:j.l,y1:b,x2:j.l+M,y2:x,stroke:`var(--grid-strong)`,strokeWidth:1}),t[7]=b,t[8]=x,t[9]=S):S=t[9];let C;t[10]===p?C=t[11]:(C=p&&(0,d.jsx)(`path`,{d:p,fill:`var(--danger)`,fillOpacity:.1}),t[10]=p,t[11]=C);let w;t[12]!==s||t[13]!==m?(w=m!==null&&(0,d.jsxs)(`g`,{children:[(0,d.jsx)(`line`,{x1:m,y1:j.t,x2:m,y2:j.t+s,stroke:`var(--warning)`,strokeWidth:1.5,strokeDasharray:`4 3`}),(0,d.jsx)(`text`,{x:m>A-50?m-3:m+3,y:j.t+10,textAnchor:m>A-50?`end`:`start`,fontSize:8,fill:`var(--warning)`,fontFamily:`inherit`,fontWeight:`600`,children:`Best`})]}),t[12]=s,t[13]=m,t[14]=w):w=t[14];let T;t[15]===u?T=t[16]:(T=u&&(0,d.jsx)(`path`,{d:u,fill:`none`,stroke:`var(--insight)`,strokeWidth:2,strokeLinecap:`round`,strokeLinejoin:`round`}),t[15]=u,t[16]=T);let E;t[17]===f?E=t[18]:(E=f&&(0,d.jsx)(`path`,{d:f,fill:`none`,stroke:`var(--presence)`,strokeWidth:2,strokeDasharray:`5 3`,strokeLinecap:`round`,strokeLinejoin:`round`}),t[17]=f,t[18]=E);let D;if(t[19]!==s||t[20]!==r||t[21]!==h||t[22]!==c){let e;t[24]!==s||t[25]!==h||t[26]!==c?(e=(e,t)=>t%Math.max(1,Math.ceil(h/6))!==0&&t!==h-1?null:(0,d.jsx)(`text`,{x:c(t),y:j.t+s+14,textAnchor:`middle`,fontSize:8,fill:`var(--text-muted)`,fontFamily:`inherit`,children:e},e),t[24]=s,t[25]=h,t[26]=c,t[27]=e):e=t[27],D=r.map(e),t[19]=s,t[20]=r,t[21]=h,t[22]=c,t[23]=D}else D=t[23];let O;t[28]===i?O=t[29]:(O=(0,d.jsx)(`text`,{x:j.l+4,y:j.t+12,fontSize:9,fontWeight:`600`,fill:`var(--text-secondary)`,fontFamily:`inherit`,children:i}),t[28]=i,t[29]=O);let N;t[30]===Symbol.for(`react.memo_cache_sentinel`)?(N=(0,d.jsxs)(`g`,{transform:`translate(${A-j.r-72},${j.t+2})`,children:[(0,d.jsx)(`line`,{x1:0,y1:5,x2:14,y2:5,stroke:`var(--insight)`,strokeWidth:2}),(0,d.jsx)(`text`,{x:17,y:9,fontSize:8,fill:`var(--text-muted)`,fontFamily:`inherit`,children:`Train`}),(0,d.jsx)(`line`,{x1:0,y1:16,x2:14,y2:16,stroke:`var(--presence)`,strokeWidth:2,strokeDasharray:`4 2`}),(0,d.jsx)(`text`,{x:17,y:20,fontSize:8,fill:`var(--text-muted)`,fontFamily:`inherit`,children:`Val`})]}),t[30]=N):N=t[30];let P;return t[31]!==g||t[32]!==T||t[33]!==E||t[34]!==D||t[35]!==O||t[36]!==_||t[37]!==y||t[38]!==S||t[39]!==C||t[40]!==w?(P=(0,d.jsxs)(`g`,{transform:g,children:[_,y,S,C,w,T,E,D,O,N]}),t[31]=g,t[32]=T,t[33]=E,t[34]=D,t[35]=O,t[36]=_,t[37]=y,t[38]=S,t[39]=C,t[40]=w,t[41]=P):P=t[41],P}function F({title:e=`Training Curves`,icon:t=`sparkle`,iconColor:n=`var(--presence)`,epochs:r,trainLoss:o,valLoss:s,trainAcc:c,valAcc:l,bestEpoch:f,lossLabel:p=`Loss`,accLabel:m=`Accuracy`,footer:h,delay:g}){let _=i[t]??i.sparkle,v=o!==void 0||s!==void 0,y=c!==void 0||l!==void 0,b=+!!v+ +!!y,x=b>1?180:220,S=b*x,C=(0,u.useMemo)(()=>{if(f===void 0)return null;let e=r.indexOf(f);return e>=0?e:null},[f,r]),w=(0,u.useMemo)(()=>v?N(r,o,s,x,C,!0):null,[r,o,s,x,C,v]),T=(0,u.useMemo)(()=>y?N(r,c,l,x,C,!1):null,[r,c,l,x,C,y]);return!r.length||b===0?null:(0,d.jsxs)(`div`,{className:`card reveal`,style:{"--delay":(g||0)+`ms`},children:[(0,d.jsxs)(`div`,{className:`card-eyebrow`,children:[(0,d.jsx)(_,{className:`ic`,style:{color:n}}),e]}),(0,d.jsxs)(`svg`,{viewBox:`0 0 ${A} ${S}`,width:`100%`,role:`img`,"aria-label":e,style:{display:`block`,overflow:`visible`},children:[w&&(0,d.jsx)(P,{model:w,epochs:r,label:p,offsetY:0}),T&&(0,d.jsx)(P,{model:T,epochs:r,label:m,offsetY:w?x:0})]}),h&&(0,d.jsx)(`div`,{className:`insight-summary`,dangerouslySetInnerHTML:a(h)})]})}var I=e({aiRegistry:()=>L}),L={reasoning:l(f),toolcalls:l(m),agenttrace:l(h),modelcompare:l(g),tokenstream:l(v),retrieval:l(b),whatchanged:l(x),routing:l(S),embedmap:l(w),calibration:l(T),httpexchange:l(O),trainingcurve:l(F)};export{I as n,L as t};
|