PageSourceSearch

https://omniad.ai/assets/primitives-CX3Xr0fu.js

js omniad.ai collected 2026-10-05 13:34:41 UTC 2,687 bytes, 1 lines download raw bytes

1import{f as e,m as t}from"./index-BdL3ESYt.js";var n=t();function r({children:e,tone:t=`dark`,rule:r=!1,className:i=``}){return(0,n.jsxs)(`div`,{className:`mb-5`,children:[(0,n.jsx)(`p`,{className:`mono text-lg font-semibold uppercase tracking-[0.15em] ${t===`light`?`text-cyan`:`text-blue`} ${i}`,children:e}),r?(0,n.jsx)(`div`,{className:`gradient-rule mt-3 h-[3px] w-24`}):null]})}function i({children:e,tone:t=`white`,className:r=``,id:i}){return(0,n.jsx)(`section`,{id:i,className:`${{white:`bg-surface text-navy`,blue:`bg-surface-blue text-navy`,violet:`bg-surface-violet text-navy`,navy:`bg-navy text-white`}[t]} ${r}`,children:e})}function a({children:e,width:t=`wide`,className:r=``}){return(0,n.jsx)(`div`,{className:`mx-auto px-5 sm:px-8 ${t===`prose`?`max-w-[68ch]`:`max-w-6xl`} ${r}`,children:e})}function o({to:t,href:r,variant:i=`solid`,children:a}){let o=`inline-flex h-14 items-center justify-center rounded-full px-8 text-xs font-semibold transition-colors ${{solid:`bg-blue text-white hover:bg-[#0b52c6]`,outline:`border border-white/50 text-white hover:bg-white hover:text-navy`,outlineDark:`border border-border bg-surface text-navy hover:border-navy/40 hover:bg-surface-blue`}[i]}`;return r?(0,n.jsx)(`a`,{href:r,className:o,children:a}):(0,n.jsx)(e,{to:t??`/`,className:o,children:a})}function s({rows:e,caption:t,tone:r=`dark`}){let i=r===`light`;return(0,n.jsx)(`div`,{className:`scroll-x rounded-md border border-border`,children:(0,n.jsxs)(`table`,{className:`w-full min-w-[34rem] border-collapse text-left`,children:[t?(0,n.jsx)(`caption`,{className:`sr-only`,children:t}):null,(0,n.jsx)(`tbody`,{children:e.map((e,t)=>(0,n.jsxs)(`tr`,{className:t%2==0?i?`bg-white/[0.03]`:`bg-white`:i?``:`bg-surface-blue`,children:[(0,n.jsx)(`th`,{scope:`row`,className:`w-[16rem] border-b px-4 py-3 align-top text-xs font-semibold ${i?`border-white/15 text-white`:`border-border`}`,children:e.label}),(0,n.jsx)(`td`,{className:`mono border-b px-4 py-3 align-top text-xs ${i?`border-white/15 text-white/85`:`border-border text-muted-foreground`}`,children:e.value})]},e.label))})]})})}function c({eyebrow:e,title:t,intro:o,eyebrowClassName:s=``,titleClassName:c=``}){return(0,n.jsx)(i,{tone:`navy`,className:`border-b border-white/10`,children:(0,n.jsx)(a,{className:`py-14 sm:py-20`,children:(0,n.jsxs)(`div`,{className:`max-w-3xl`,children:[(0,n.jsx)(r,{tone:`light`,rule:!0,className:s,children:e}),(0,n.jsx)(`h1`,{className:`max-w-[24ch] text-[2.25rem] leading-[1.02] [hyphens:auto] sm:text-3xl sm:leading-[0.98] ${c}`,children:t}),o?(0,n.jsx)(`div`,{className:`mt-6 space-y-4 text-lg text-white/80`,children:o}):null]})})})}export{s as a,c as i,o as n,a as o,r,i as t};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.