PageSourceSearch

https://sodda.ai/_next/static/chunks/226u-cuij97fm.js

js sodda.ai collected 2026-10-05 13:33:05 UTC 4,039 bytes, 1 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,720798,e=>{"use strict";var t=e.i(470698),s=e.i(744555),r=e.i(430178),l=e.i(363395),i=e.i(97256),a=e.i(637263),o=e.i(526683),n=e.i(583898),d=e.i(631576),c=e.i(796543);function u({tool:e,title:s,description:r,big:l}){return(0,t.jsxs)(i.Link,{href:e.href,style:(0,c.toolColorVars)(e.color),className:(0,o.cn)("group bg-card border-border flex flex-col gap-2.5 rounded-2xl border shadow-sm","transition-all duration-150 hover:-translate-y-0.5 hover:shadow-md","hover:border-[rgb(var(--tc)/0.55)] hover:bg-[rgb(var(--tc)/0.06)]",l?"p-4 sm:p-5":"p-3.5 sm:p-4"),children:[(0,t.jsx)(c.ToolIconTile,{tool:e,className:l?"size-11":"size-10",iconClassName:l?"size-5":"size-[18px]"}),(0,t.jsxs)("span",{className:"min-w-0",children:[(0,t.jsx)("span",{className:(0,o.cn)("text-foreground block truncate font-bold",l?"text-body-sm":"text-label-lg"),children:s}),(0,t.jsx)("span",{className:"text-muted-foreground text-meta-sm mt-0.5 line-clamp-2 leading-snug",children:r})]})]})}function m({label:e,items:s,big:r}){return 0===s.length?null:(0,t.jsxs)("section",{children:[(0,t.jsx)("h2",{className:"text-muted-foreground mb-3 text-xs font-bold tracking-wider uppercase",children:e}),(0,t.jsx)("div",{className:"grid grid-cols-2 gap-2.5 sm:grid-cols-3 lg:grid-cols-4",children:s.map(e=>(0,t.jsx)(u,{...e,big:r},e.tool.key))})]})}e.s(["CreateToolsView",0,function(){let e=(0,r.useTranslations)("createTools"),i=(0,r.useTranslations)("tools"),c=(0,r.useTranslations)("app"),[u,x]=(0,s.use
1State)(""),p=(0,s.useMemo)(()=>{let e=u.trim().toLowerCase();return Object.fromEntries(a.TOOL_CATEGORIES.map(t=>[t,(0,a.toolsByCategory)(t).map(e=>({tool:e,title:c(e.titleKey),description:c(e.descKey)})).filter(({title:t})=>!e||t.toLowerCase().includes(e))]))},[u,c]),g=a.TOOL_CATEGORIES.some(e=>p[e].length>0);return(0,t.jsxs)("div",{className:(0,o.cn)(n.PAGE_CONTAINER,"pb-24 md:pb-0"),children:[(0,t.jsxs)("div",{className:"flex flex-col gap-4 sm:flex-row sm:items-center sm:justify-between",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)("h1",{className:"text-foreground text-lg font-bold tracking-tight sm:text-xl",children:e("title")}),(0,t.jsx)("p",{className:"text-muted-foreground mt-0.5 text-xs sm:text-sm",children:e("subtitle")})]}),(0,t.jsxs)("div",{className:"relative w-full sm:w-72",children:[(0,t.jsx)(l.Search,{className:"text-muted-foreground pointer-events-none absolute top-1/2 left-3 h-4 w-4 -translate-y-1/2"}),(0,t.jsx)(d.Input,{value:u,onChange:e=>x(e.target.value),placeholder:e("searchPlaceholder"),className:"pl-9","aria-label":e("searchPlaceholder")})]})]}),(0,t.jsxs)("div",{className:"mt-8 flex flex-col gap-8",children:[(0,t.jsx)(m,{label:i("categories.popular"),items:p.popular,big:!0}),a.TOOL_CATEGORIES.filter(e=>"popular"!==e).map(e=>(0,t.jsx)(m,{label:i(`categories.${e}`),items:p[e]},e)),!g&&(0,t.jsx)("p",{className:"text-muted-foreground py-12 text-center text-sm",children:e("searchEmpty")})]})]})}])},583898,e=>{"use strict";let t="mx-auto w-full max-w-[92rem] px-5 lg:px-8 2xl:max-w-[1840px]",s=`${t} py-5 lg:py-8`;e.s(["PAGE_CONTAINER",0,s,"PAGE_CONTAINER_X",0,t])},631576,e=>{"use strict";var t=e.i(470698);e.i(744555);var s=e.i(526683);e.s(["Input",0,function({className:e,type:r,...l}){return(0,t.jsx)("input",{type:r,"data-slot":"input",className:(0,s.cn)("file:text-foreground placeholder:text-muted-foreground selection:bg-primary selection:text-primary-foreground dark:bg-input/30 border-input file:text-body md:text-body h-10 w-full min-w-0 rounded-md border bg-transparent px-3 py-1 text-base shadow-xs transition-[color,box-shadow] outline-none file:inline-flex file:h-7 file:border-0 file:bg-transparent file:font-medium disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50","focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px]","aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",e),...l})}])}]);

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.