PageSourceSearch

https://arui.ai/assets/tool-comparison-section-CXGGQKir.js

js arui.ai collected 2026-10-05 13:30:01 UTC 2,609 bytes, 1 lines download raw bytes

1import{j as e}from"./chunk-UVKPFVEO-Cnb0_rWT.js";import{u as l}from"./useTranslation-CqDHyiAa.js";import"./i18nInstance-C81hCH34.js";function m(a){if(typeof a!="object"||a===null)return!1;const s=a;return typeof s.feature=="string"&&typeof s.arui=="string"&&typeof s.traditional=="string"}function u({namespace:a="photo-enhancer"}){const{t:s}=l(a),o=s("comparison.rows",{returnObjects:!0}),i=Array.isArray(o)?o.filter(m):[];if(i.length===0)return null;const n=s("comparison.headers",{returnObjects:!0}),d=Array.isArray(n)&&n.every(r=>typeof r=="string")?n:["Feature","Arui.AI","Traditional"];return e.jsx("section",{className:"py-16 md:py-28",children:e.jsxs("div",{className:"container-wide px-4 md:px-6 lg:px-8",children:[e.jsxs("div",{className:"text-center max-w-3xl mx-auto mb-12 md:mb-16",children:[e.jsx("h2",{className:"text-3xl md:text-4xl font-bold mb-4",children:s("comparison.title")}),e.jsx("p",{className:"text-muted-foreground text-lg",children:s("comparison.subtitle")})]}),e.jsxs("div",{className:"max-w-5xl mx-auto",children:[e.jsx("div",{className:"hidden md:block overflow-x-auto",children:e.jsxs("table",{className:"w-full text-sm",children:[e.jsx("thead",{children:e.jsx("tr",{className:"border-b border-border",children:d.map((r,t)=>e.jsx("th",{className:`px-4 py-3 text-left font-semibold ${t===1?"text-primary":"text-muted-foreground"}`,children:r},t))})}),e.jsx("tbody",{children:i.map((r,t)=>e.jsxs("tr",{className:"border-b border-border/50 last:border-0",children:[e.jsx("td",{className:"px-4 py-4 font-medium text-foreground whitespace-nowrap",children:r.feature}),e.jsx("td",{className:"px-4 py-4 text-primary",children:r.arui}),e.jsx("td",{className:"px-4 py-4 text-muted-foreground",children:r.traditional})]},t))})]})}),e.jsx("div",{className:"md:hidden space-y-4",children:i.map((r,t)=>e.jsxs("div",{className:"rounded-lg border border-border p-4",children:[e.jsx("p",{className:"font-semibold text-foreground mb-3",children:r.feature}),e.jsxs("div",{className:"space-y-2",children:[e.jsxs("div",{className:"flex items-start gap-2",children:[e.jsx("span",{className:"shrink-0 text-xs font-medium text-primary bg-primary/10 px-2 py-0.5 rounded",children:d[1]??"Arui.AI"}),e.jsx("span",{className:"text-sm text-primary",children:r.arui})]}),e.jsxs("div",{className:"flex items-start gap-2",children:[e.jsx("span",{className:"shrink-0 text-xs font-medium text-muted-foreground bg-muted px-2 py-0.5 rounded",children:d[2]??"Traditional"}),e.jsx("span",{className:"text-sm text-muted-foreground",children:r.traditional})]})]})]},t))})]})]})})}export{u as ToolComparisonSection};

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.