PageSourceSearch

https://lattice-log.vercel.app/_next/static/chunks/3261-d55c4e6839…?dpl=dpl_HrZ67AaEM5mch9phuTLPpPycBJBL

js lattice-log.vercel.app collected 2026-10-03 07:13:29 UTC 45,299 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3261],{12310:(e,t,n)=>{n.r(t),n.d(t,{HeaderUser:()=>b});var r=n(95155),s=n(98500),a=n.n(s),l=n(12115),i=n(96339),o=n(49960),d=n(46185),c=n(58858),m=n(7428),x=n(61440),u=n(95617),p=n(76961),h=n(91337);function b({transparent:e=!1,hideAuthAction:t=!1}){let[n,s]=(0,l.useState)(null),[f,g]=(0,l.useState)(!1);if((0,l.useEffect)(()=>{let e=!1;return fetch("/api/me",{cache:"no-store"}).then(e=>e.ok?e.json():{user:null}).then(t=>{e||(s(t.user),g(!0))}).catch(()=>{e||g(!0)}),()=>{e=!0}},[]),!f)return(0,r.jsx)("div",{"aria-hidden":!0,className:"h-11 w-11 md:h-12 md:w-22 lg:w-35"});if(!n)return t?null:(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(a(),{href:"/login","aria-label":"로그인",className:"lattice-mobile-login flex h-11 w-11 items-center justify-center rounded-full text-foreground md:hidden",children:(0,r.jsx)(i.A,{className:"h-5 w-5","aria-hidden":!0})}),(0,r.jsxs)(a(),{href:"/login",className:"lattice-radar-cta hidden md:inline-flex","aria-label":"로그인",children:[(0,r.jsx)("span",{className:"lattice-radar-orb","aria-hidden":!0}),(0,r.jsx)("span",{className:"lattice-radar-label",children:"로그인"})]})]});let j=(n.display_name??"").trim()||(n.username??"").trim()||(n.email??"").split("@")[0]||"내 계정",w=n.display_name??n.username??n.email??null;return(0,r.jsxs)("details",{className:"group relative",children:[(0,r.jsxs)("summary",{"aria-label":"프로필 메뉴",className:(0,h.cn)("flex h-11 cursor-pointer list-none items-center gap-2 rounded-full border px-1 pr-3.5 transition-colors","focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background",e?"border-white/25 bg-white/10 text-white hover:bg-white/20":"border-line bg-paper text-foreground hover:border-brand/30 hover:bg-muted","[&::-webkit-details-marker]:hidden"),children:[n.avatar_url?(0,r.jsx)(x.T,{src:n.avatar_url,name:w,size:"md",className:(0,h.cn)("h-8 w-8",e&&"ring-1 ring-white/30")}):(0,r.jsx)("span",{className:(0,h.cn)("grid h-8 w-8 place-items-center rounded-full text-sm font-bold uppercase",e?"bg-white text-foreground":"bg-brand text-brand-fg"),children:(0,p.NN)(w)}),(0,r.jsx)("span",{className:"hidden max-w-40 truncate text-[13px] font-medium sm:inline",children:j})]}),(0,r.jsx)("div",{className:"pointer-events-none fixed inset-x-0 bottom-0 top-16 z-40 hidden bg-black/35 backdrop-blur-[2px] group-open:block md:hidden"}),(0,r.jsxs)("div",{className:(0,h.cn)("absolute right-0 top-full z-50 mt-2 hidden w-64 rounded-xl border p-2 shadow-2xl group-open:block","border-line bg-paper text-foreground"),children:[(0,r.jsxs)("div",{className:"border-b border-line px-3 py-2",children:[(0,r.jsx)("div",{className:"text-[11px] uppercase tracking-wider text-muted-fg",children:"로그인 계정"}),(0,r.jsx)("div",{className:"truncate text-sm font-medium",children:j}),n.email?(0,r.jsx)("div",{className:"truncate text-[11px] text-muted-fg",children:n.email}):null]}),(0,r.jsxs)(a(),{href:"/dashboard",className:"mt-1 flex min-h-10 items-center gap-2 rounded-md px-3 text-sm font-medium hover:bg-muted",children:[(0,r.jsx)(o.A,{className:"h-4 w-4"}),"대시보드"]}),(0,r.jsxs)(a(),{href:"/subscribe?tab=sources",onClick:()=>(0,u.sendGaEvent)("subscribe_cta_click",{surface:"account_menu"}),className:"flex min-h-10 items-center gap-2 rounded-md px-3 text-sm font-medium hover:bg-muted",children:[(0,r.jsx)(d.A,{className:"h-4 w-4"}),"내 구독 채널"]}),(0,r.jsxs)(a(),{href:"/me/profile",className:"flex min-h-10 items-center gap-2 rounded-md px-3 text-sm font-medium hover:bg-muted",children:[(0,r.jsx)(c.A,{className:"h-4 w-4"}),"프로필 설정"]}),(0,r.jsx)("form",{action:"/auth/signout",method:"post",children:(0,r.jsxs)("button",{type:"submit",className:"flex min-h-10 w-full items-center gap-2 rounded-md px-3 text-sm font-medium text-red-600 hover:bg-red-500/10",children:[(0,r.jsx)(m.A,{className:"h-4 w-4"}),"로그아웃"]})})]})]})}},50095:(e,t,n)=>{n.d(t,{MQ:()=>i,RG:()=>s,S6:()=>u,er:()=>r,lg:()=>x,nm:()=>m,r3:()=>d,ts:()=>l,uI:()=>a});let r={sessionShown:"lattice:auth-gate:session-shown",sessionPageviews:"lattice:auth-gate:session-pageviews",dismissedAt:"lattice:auth-gate:dismissed-at"}
1,s={view:"auth_prompt_view",dismiss:"auth_prompt_dismiss",ctaClick:"auth_prompt_cta_click",providerClick:"auth_provider_click",hardGateView:"auth_hard_gate_view",highIntent:"auth_gate_high_intent"},a={home:"home",blog:"blog",blogDetail:"blog_detail",blogDetailLocked:"blog_detail_locked",today:"today",news:"news",repos:"repos",prompts:"prompts",promptDetail:"prompt_detail",skills:"skills",mcp:"mcp",community:"community",workflows:"workflows",other:"other"},l={engagedTime:"engaged_time",scrollDepth:"scroll_depth",sessionPageviews:"session_pageviews",highIntent:"high_intent",manual:"manual"},i={cooldownMs:2e4,engagedTimeSec:35,scrollDepthPct:55,pageviewThreshold:2,maxPerSession:1,dismissTtlMs:6048e5},o=[/^\/login(?:\?|\/|$)/,/^\/auth(?:\/|$)/,/^\/api(?:\/|$)/,/^\/dashboard(?:\/|$)/,/^\/me(?:\/|$)/,/^\/prompts\/new(?:\/|$)/,/^\/news(?:\/|$)/,/^\/today(?:\/|$)/,/^\/blog(?:\/|$)/];function d(e){return o.some(t=>t.test(e))}let c=[/^\/$/];function m(e){return c.some(t=>t.test(e))}function x(e){return"/"===e||""===e?a.home:/^\/blog\/[^/]+/.test(e)?a.blogDetail:e.startsWith("/blog")?a.blog:e.startsWith("/today")?a.today:e.startsWith("/news")?a.news:e.startsWith("/repos")?a.repos:/^\/prompts\/[^/]+/.test(e)?a.promptDetail:e.startsWith("/prompts")?a.prompts:e.startsWith("/skills")?a.skills:e.startsWith("/mcp")?a.mcp:e.startsWith("/community")?a.community:e.startsWith("/workflows")?a.workflows:a.other}function u(e,t=Date.now()){return!!e&&!!Number.isFinite(e)&&t-e<i.dismissTtlMs}}
1,52939:(e,t,n)=>{n.d(t,{HomeLiveMenu:()=>c});var r=n(95155),s=n(98500),a=n.n(s),l=n(12115),i=n(12363),o=n(91337);let d=[{href:"/live/today",en:{label:"Today's News",sub:"Daily editorial digest"},kr:{label:"오늘의 뉴스",sub:"매일 4슬롯 종합 큐레이션"}},{href:"/news",en:{label:"Current News Slot",sub:"Raw slots \xb7 10 / 14 / 18 / 22 KST"},kr:{label:"전체 슬롯",sub:"원문 슬롯 \xb7 10 / 14 / 18 / 22 KST"}}];function c(){let[e,t]=(0,l.useState)(!1),n=(0,l.useRef)(null);return(0,l.useEffect)(()=>{if(e)return document.addEventListener("mousedown",r),document.addEventListener("keydown",s),()=>{document.removeEventListener("mousedown",r),document.removeEventListener("keydown",s)};function r(e){n.current&&(n.current.contains(e.target)||t(!1))}function s(e){"Escape"===e.key&&t(!1)}},[e]),(0,r.jsxs)("div",{ref:n,className:"relative",children:[(0,r.jsxs)("button",{type:"button",onClick:()=>t(e=>!e),"aria-expanded":e,"aria-haspopup":"menu",className:(0,o.cn)("inline-flex items-center gap-1 whitespace-nowrap text-[14px] font-medium tracking-tight transition-colors",e?"text-foreground":"text-muted-fg hover:text-foreground"),children:[(0,r.jsx)("span",{"data-locale-en":!0,children:"Live"}),(0,r.jsx)("span",{"data-locale-kr":!0,children:"라이브"}),(0,r.jsx)(i.A,{className:(0,o.cn)("h-3.5 w-3.5 transition-transform duration-200",e&&"rotate-180"),"aria-hidden":!0})]}),e?(0,r.jsx)("div",{role:"menu",className:"absolute left-1/2 top-[calc(100%+10px)] z-50 w-[280px] -translate-x-1/2 rounded-2xl border border-line/70 bg-paper/95 p-2 shadow-[0_28px_70px_-30px_rgba(0,0,0,0.45)] backdrop-blur-2xl",children:d.map(e=>(0,r.jsx)(a(),{href:e.href,role:"menuitem",onClick:()=>t(!1),className:"flex items-center gap-3 rounded-xl px-3 py-2.5 transition-colors hover:bg-paper-elevated",children:(0,r.jsxs)("span",{className:"flex min-w-0 flex-col gap-0.5",children:[(0,r.jsxs)("span",{className:"text-[14px] font-semibold text-foreground",children:[(0,r.jsx)("span",{"data-locale-en":!0,children:e.en.label}),(0,r.jsx)("span",{"data-locale-kr":!0,children:e.kr.label})]}),(0,r.jsxs)("span",{className:"text-[11px] text-muted-fg",children:[(0,r.jsx)("span",{"data-locale-en":!0,children:e.en.sub}),(0,r.jsx)("span",{"data-locale-kr":!0,children:e.kr.sub})]})]})},e.href))}):null]})}},57342:(e,t,n)=>{n.d(t,{R:()=>w});var r=n(95155),s=n(12115),a=n(98500),l=n.n(a),i=n(74350),o=n(91337),d=n(95617),c=n(50095);let m={prompt:{label:"프롬프트",href:e=>`/prompts/${e}`},skill:{label:"스킬",href:e=>`/skills/${e}`},mcp:{label:"MCP",href:e=>`/mcp/${e}`},workflow:{label:"워크플로",href:e=>
1`/workflows/${e}`},repo:{label:"GitHub",href:e=>`https://github.com/${e}`,external:!0},news:{label:"뉴스",href:e=>`/news/${e}`},blog:{label:"블로그",href:e=>`/blog/${e}`}},x={strong:"강한 매칭",good:"좋은 후보",related:"관련 있음",exploratory:"탐색용"},u={local:"내부 자료",github_live:"GitHub",scenario:"시나리오"},p={high:"강한 매칭",medium:"가장 가까운 해석",low:"가능한 방향"},h=["게임 엔진 기반 앱 만들기","RAG 앱 만들고 싶어","Claude Code 프로젝트 세팅","PR 리뷰 자동화","헬스케어 앱 설계"],b="도움됨",f="별로임",g="아직 강한 후보 없음";function j(e){try{let t=JSON.stringify(e);if("u">typeof navigator&&"function"==typeof navigator.sendBeacon){let e=new Blob([t],{type:"application/json"});if(navigator.sendBeacon("/api/search/events",e))return}fetch("/api/search/events",{method:"POST",headers:{"content-type":"application/json"},body:t,keepalive:!0}).catch(()=>{})}catch{}}function w({open:e,onOpenChange:t}){let[n,a]=(0,s.useState)(""),[l,x]=(0,s.use
1State)(null),[u,p]=(0,s.useState)(!1),[h,b]=(0,s.useState)(0),[f,g]=(0,s.useState)(null),[N,v]=(0,s.useState)(null),y=(0,s.useRef)(null),_=(0,s.useRef)(0),P=(0,s.useRef)(new Set);(0,s.useEffect)(()=>{if(!e)return;let t=setTimeout(()=>y.current?.focus(),50);return()=>clearTimeout(t)},[e]);let S=n.trim(),L=S.length>=2;function H(e){e||(a(""),x(null),p(!1),b(0),g(null),v(null),P.current.clear()),t(e)}function R(e,t){l&&(j({event:"click",query:S,mode:l.mode,clicked_kind:e,clicked_slug:t}),(0,d.sendAuthGateEvent)(c.RG.highIntent,{action:"search_result_click",path:`/${e}/${t}`}))}(0,s.useEffect)(()=>{if(!L)return;let e=++_.current,t=setTimeout(async()=>{p(!0);let t="u">typeof performance?performance.now():Date.now();try{var n;let r,s=await fetch("/api/search/intelligence",{method:"POST",headers:{"content-type":"application/json"},body:JSON.stringify({q:S,k:12})}),a=await s.json();if(e!==_.current)return;let l=Math.round(("u">typeof performance?performance.now():Date.now())-t);x(a),b(0),v(null);let i="console"===a.mode?[...a.resources.repos,...a.resources.skills,...a.resources.mcps,...a.resources.workflows,...a.resources.prompts,...a.resources.news,...a.resources.blog].slice(0,20).map(e=>({kind:e.kind,slug:e.slug,source:e.source})):a.fallbackResults.slice(0,20).map(e=>({kind:e.kind,slug:e.slug})),o=(n=a.mode,r=(i??[]).slice(0,10).map(e=>`${e.kind}:${e.slug}`).join("|"),`${S}::${n}::${r}`);P.current.has(o)||(P.current.add(o),j({event:"shown",query:S,normalized_query:S.toLowerCase(),mode:a.mode,intent:{roles:a.intent.roles,domains:a.intent.domains,tasks:a.intent.tasks,platforms:a.intent.platforms,techNeeds:a.intent.techNeeds},shown_results:i,latency_ms:l,zero_result:(i?.length??0)===0}))}catch{if(e!==_.current)return;x(null)}finally{e===_.current&&p(!1)}},280);return()=>clearTimeout(t)},[S,L]);let D=l?.mode==="list"?l.fallbackResults:[];async function M(e,t){try{await navigator.clipboard.writeText(e),g(t),window.setTimeout(()=>g(e=>e===t?null:e),1500)}catch{let t=window.open("","_blank");t&&t.document.write(`<pre style="white-space:pre-wrap;font-family:monospace">${e.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#39;")}</pre>`)}}let T=l?.mode==="console";return(0,r.jsx)(i.lG,{open:e,onOpenChange:H,children:(0,r.jsxs)(i.Cf,{className:(0,o.cn)("lattice-search-shell flex max-h-[85vh] w-[calc(100vw-2rem)] max-w-3xl flex-col gap-0 overflow-hidden rounded-md border-line-strong bg-black p-0 font-mono shadow-2xl","[&>button:last-child]:hidden"),children:[(0,r.jsx)(i.L3,{className:"sr-only",children:"Search"}),(0,r.jsx)(i.rr,{className:"sr-only",children:"프롬프트, 스킬, MCP, 워크플로우, 레포, 뉴스, 블로그를 의미 기반으로 검색하고 긴 자연어 빌더 질문에는 Intelligence Console로 답합니다."}),(0,r.jsxs)("div",{className:"flex shrink-0 items-center justify-between border-b border-line bg-white/3 px-3 py-2 text-[12px] text-muted-fg",children:[(0,r.jsxs)("span",{className:"inline-flex items-center gap-2.5",children:[(0,r.jsxs)("span",{className:"inline-flex gap-1",children:[(0,r.jsx)("span",{className:"h-2.5 w-2.5 rounded-full bg-white/20"}),(0,r.jsx)("span",{className:"h-2.5 w-2.5 rounded-full bg-white/20"}),(0,r.jsx)("span",{className:"h-2.5 w-2.5 rounded-full bg-white/20"})]}),(0,r.jsxs)("span",{className:"ml-1 tracking-wider",children:["Lattice ",(0,r.jsx)("span",{className:"text-foreground/30",children:"▸"})," ",T?"인텔리전스 콘솔":"검색"]})]}),(0,r.jsxs)("span",{className:"inline-flex items-center gap-1.5",children:[(0,r.jsx)("kbd",{className:"rounded border border-line bg-white/6 px-1.5 py-0.5 text-[11px] text-foreground",children:"Esc"}),(0,r.jsx)("span",{children:"닫기"})]})]}),(0,r.jsxs)("div",{className:"lattice-prompt relative shrink-0 border-b border-line bg-linear-to-b from-brand/4 via-transparent to-transparent",children:[(0,r.jsxs)("div",{className:"flex items-center gap-3 px-4 py-4",children:[(0,r.jsx)("span",{className:"select-none text-xl leading-none font-bold text-brand drop-shadow-[0_0_8px_rgba(255,107,44,0.35)]","aria-hidden":!0,
1children:"❯"}),(0,r.jsx)("input",{ref:y,value:n,onChange:e=>a(e.target.value),onKeyDown:function(e){if(0!==D.length){if("ArrowDown"===e.key)e.preventDefault(),b(e=>(e+1)%D.length);else if("ArrowUp"===e.key)e.preventDefault(),b(e=>(e-1+D.length)%D.length);else if("Enter"===e.key){let e=D[h];if(!e)return;let t=m[e.kind],n=t.href(e.slug);t.external?window.open(n,"_blank","noopener"):window.location.assign(n),H(!1)}}},placeholder:'무엇을 만들고, 조사하고, 자동화할지 물어보세요 — 예: "헬스케어 자세 교정 앱"',spellCheck:!1,autoComplete:"off","aria-label":"검색어 입력",className:"w-full bg-transparent font-mono text-[17px] text-foreground caret-brand outline-none placeholder:text-muted-fg"}),u&&(0,r.jsxs)("span",{className:"inline-flex items-center gap-1.5 text-[11px] text-muted-fg","aria-label":"검색 중",children:[(0,r.jsx)("span",{className:"inline-block h-1.5 w-1.5 animate-pulse rounded-full bg-brand"}),(0,r.jsx)("span",{className:"inline-block h-1.5 w-1.5 animate-pulse rounded-full bg-brand [animation-delay:120ms]"}),(0,r.jsx)("span",{className:"inline-block h-1.5 w-1.5 animate-pulse rounded-full bg-brand [animation-delay:240ms]"}),(0,r.jsx)("span",{className:"ml-1 hidden sm:inline",children:T?"자료를 찾는 중…":"의도를 해석하는 중…"})]})]}),u&&(0,r.jsx)("div",{className:"lattice-scan absolute bottom-0 left-0 h-[2px] w-full bg-transparent"})]}),(0,r.jsxs)("div",{className:"lattice-modal-scroll min-h-0 flex-1 overflow-y-auto",children:[!L&&(0,r.jsx)(A,{onPick:e=>a(e)}),L&&null===l&&!u&&(0,r.jsx)(E,{q:S}),T&&l&&(0,r.jsx)(k,{resp:l,onClickResource:(e,t)=>R(e,t),onRefine:function(e){a(t=>{let n=t.trim();return 0===n.length?e:`${n} ${e}`}),y.current?.focus()},onCtaClick:e=>{R("execution_pack",e),t(!1)}}),l?.mode==="list"&&0===D.length&&!u&&(0,r.jsx)(E,{q:S}),l?.mode==="list"&&D.length>0&&(0,r.jsx)("ul",{children:D.map((e,n)=>(0,r.jsx)($,{hit:e,active:n===h,onHover:()=>b(n),onSelect:()=>{R(e.kind,e.slug),t(!1)}},`${e.kind}-${e.slug}`))})]}),T&&l&&l.actions.length>0&&(0,r.jsx)("div",{className:"lattice-search-actions shrink-0 border-t border-line bg-black/70 px-3 py-2.5 backdrop-blur sm:px-4",children:(0,r.jsxs)("div",{className:"flex flex-wrap items-center justify-between gap-2",children:[(0,r.jsx)("div",{className:"flex flex-wrap items-center gap-2",children:l.actions.map((e,t)=>{let n=f===e.id;return(0,r.jsx)("button",{type:"button",onClick:()=>M(e.payload,e.id),"aria-label":e.label,className:(0,o.cn)("rounded-md border px-3 py-2 font-sans text-[12.5px] font-medium transition-colors",n?"border-brand bg-brand/20 text-brand":0===t?"border-brand/55 bg-brand/12 text-brand hover:border-brand hover:bg-brand/18":"border-line bg-white/4 text-foreground hover:border-brand/60 hover:bg-white/8"),children:n?"복사됨 ✓":e.label},e.id)})}),(0,r.jsx)(C,{feedbackSent:N,onFeedback:function(e){l&&"console"===l.mode&&!N&&(v(e),j({event:"feedback",query:S,mode:l.mode,feedback:e}))}})]})}),(0,r.jsxs)("div",{className:"flex shrink-0 items-center justify-between border-t border-line bg-white/3 px-4 py-2.5 font-sans text-[11.5px] tabular-nums text-muted-fg",children:[(0,r.jsxs)("span",{children:[T?"인텔리전스 콘솔":D.length>0?`${D.length}건의 결과`:"준비됨",(0,r.jsx)("span",{className:"px-1.5 text-foreground/30",children:"\xb7"}),"의미 기반",l?.degraded&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("span",{className:"px-1.5 text-foreground/30",children:"\xb7"}),(0,r.jsx)("span",{className:"text-amber-400/80",children:"일부 기능 제한"})]})]}),(0,r.jsx)("span",{className:"inline-flex items-center gap-3",children:!T&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)("span",{className:"inline-flex items-center gap-1.5",children:[(0,r.jsx)("kbd",{className:"rounded border border-line bg-white/6 px-1.5 py-0.5 text-[11px] text-foreground",children:"↑↓"}),"이동"]}),(0,r.jsxs)("span",{className:"inline-flex items-center gap-1.5",children:[(0,r.jsx)("kbd",{className:"rounded border border-line bg-white/6 px-1.5 py-0.5 text-[11px] text-foreground",children:"↵"}),"열기"]})]})})]})]})})}function k({resp:e,onClickResource:t,onRefine:n,onCtaClick:s}){var a;let i,d,c=e.topConfidence??"low",m=function(e){let t=e.scenarios[0];if(!t||!t.matchedDimensions||0===t.matchedDimensions.length)return null;let n=t.matchedDimensions.map(e=>{switch(e){case"role":return"역할";case"domain":return"도메인";case"task":return"작업";case"platform":return"플랫폼";case"keyword":return"키워드";default:return e}});return`매칭 근거 — ${n.join(" \xb7 ")}`}
1(e),x=(a=e.intent,i=new Set,[{key:"role",label:"역할",tone:"border-violet-400/25 bg-violet-400/[0.07] text-violet-100/90",items:(d=e=>{let t=[];for(let n of e)!n||i.has(n)||(i.add(n),t.push(n));return t})(a.roles)},{key:"domain",label:"도메인",tone:"border-violet-400/25 bg-violet-400/[0.07] text-violet-100/90",items:d(a.domains)},{key:"task",label:"목표",tone:"border-brand/40 bg-brand/[0.10] text-brand",items:d(a.tasks)},{key:"platform",label:"플랫폼",tone:"border-sky-400/30 bg-sky-400/[0.08] text-sky-100/90",items:d(a.platforms)},{key:"tech",label:"기술",tone:"border-sky-400/30 bg-sky-400/[0.08] text-sky-100/90",items:d(a.techNeeds)}].filter(e=>e.items.length>0)),u=[{key:"repos",kind:"repo",label:"GitHub 레포",items:e.resources.repos,showEmpty:!0,emptyLabel:"GitHub 후보를 아직 찾지 못했어요. 검색어를 더 구체화해보세요."},{key:"skills",kind:"skill",label:"스킬",items:e.resources.skills,showEmpty:!1,emptyLabel:g},{key:"mcps",kind:"mcp",label:"MCP",items:e.resources.mcps,showEmpty:!1,emptyLabel:g},{key:"workflows",kind:"workflow",label:"워크플로",items:e.resources.workflows,showEmpty:!1,emptyLabel:g},{key:"prompts",kind:"prompt",label:"프롬프트",items:e.resources.prompts,showEmpty:!1,emptyLabel:g},{key:"news_blog",kind:"news",label:"글/뉴스",items:[...e.resources.news,...e.resources.blog],showEmpty:!1,emptyLabel:g}].filter(e=>e.items.length>0||e.showEmpty);return(0,r.jsxs)("div",{className:"space-y-4 px-4 py-4 text-[13px] leading-relaxed",children:[(0,r.jsxs)("section",{className:(0,o.cn)("rounded-md border bg-white/4 px-4 py-3.5","high"===c?"border-brand/40 ring-1 ring-brand/25":"medium"===c?"border-line":"border-amber-400/25"),children:[(0,r.jsxs)("div",{className:"flex flex-wrap items-center gap-2",children:[(0,r.jsx)("span",{className:(0,o.cn)("rounded-full px-2.5 py-0.5 font-sans text-[11px] font-semibold","high"===c?"bg-brand/15 text-brand":"medium"===c?"bg-white/8 text-foreground":"bg-amber-400/10 text-amber-200/90"),children:p[c]}),(0,r.jsxs)("span",{className:"inline-flex items-center gap-1.5 text-[11px] font-sans text-muted-fg",children:[(0,r.jsx)(y,{}),"추천 시나리오"]})]}),(0,r.jsx)("h2",{className:"mt-2 font-sans text-[17px] leading-snug font-semibold text-foreground",children:e.interpretation}),m&&(0,r.jsx)("p",{className:"mt-1 font-sans text-[12px] text-muted-fg",children:m}),(0,r.jsxs)("div",{className:"mt-2.5 flex flex-wrap gap-1.5 font-sans text-[10.5px]",children:[(0,r.jsx)(N,{label:"무료 구조"}),(0,r.jsx)(N,{label:"LLM 호출 없음"}),(0,r.jsx)(N,{label:"결정론적 추천"})]})]}),e.executionPackCta&&(0,r.jsx)(l(),{href:e.executionPackCta.href,onClick:()=>s(e.executionPackCta.slug),"aria-label":`${e.executionPackCta.label} — ${e.executionPackCta.helperText}`,className:(0,o.cn)("group block rounded-md border border-brand/55 bg-linear-to-br from-brand/12 via-brand/6 to-transparent px-4 py-3.5","transition-colors hover:border-brand hover:from-brand/20 hover:via-brand/10"),children:(0,r.jsxs)("div",{className:"flex items-center justify-between gap-3",children:[(0,r.jsxs)("div",{className:"min-w-0 flex-1",children:[(0,r.jsxs)("p",{className:"inline-flex items-center gap-1.5 font-sans text-[10.5px] font-semibold tracking-wider text-brand uppercase",children:[(0,r.jsx)("span",{"aria-hidden":!0,children:"▸"}),"Execution Pack"]}),(0,r.jsx)("p",{className:"mt-1.5 font-sans text-[15px] font-semibold text-foreground",children:e.executionPackCta.label}),(0,r.jsx)("p",{className:"mt-0.5 font-sans text-[12.5px] text-muted-fg",children:e.executionPackCta.helperText})]}),(0,r.jsx)("span",{"aria-hidden":!0,className:"shrink-0 select-none font-mono text-[20px] leading-none text-brand/80 transition-transform group-hover:translate-x-0.5 group-hover:text-brand",children:"→"})]})}),x.length>0&&(0,r.jsx)("section",{className:"space-y-1.5",children:x.map(e=>(0,r.jsxs)("div",{className:"flex flex-wrap items-center gap-x-2 gap-y-1.5",children:[(0,r.jsx)("span",{className:"min-w-10 font-sans text-[11px] text-muted-fg",children:e.label}),(0,r.jsx)("div",{className:"flex flex-wrap gap-1.5",children:e.items.map(t=>(0,r.jsx)("span",{className:(0,o.cn)("rounded-full border px-2.5 py-0.5 font-sans text-[11.5px]",e.tone),children:t},t))})]},e.key))}),e.missingContext.length>0&&(0,r.jsxs)("section",{className:"rounded-md border border-dashed border-line bg-white/3 px-3 py-2.5",children:[(0,r.jsx)("p",{className:"font-sans text-[12px] text-muted-fg",children:"이 정보가 더해지면 추천이 더 정확해져요"}),(0,r.jsx)("div",{className:"mt-1.5 flex flex-wrap gap-1.5",children:e.missingContext.map(e=>(0,r.jsx)("span",{className:"rounded-full border border-dashed border-line bg-white/3 px-2.5 py-0.5 font-sans text-[11.5px] text-muted-fg/90",children:e},e))})]}),e.brief.recommendedDirection.length>0&&(0,r.jsx)(v,{label:"추천 방향",children:(0,r.jsx)("ul",{className:"ml-4 list-disc space-y-1 font-sans text-foreground",children:e.brief.recommendedDirection.slice(0,3).map((e,t)=>(0,r.jsx)("li",{className:"text-[13.5px] leading-relaxed",children:e},t))})}),u.length>0&&(0,r.jsx)(v,{label:"추천 자료",children:(0,r.jsx)("div",{className:"space-y-3",children:u.map(e=>(0,r.jsxs)("div",{children:[(0,r.jsxs)("div",{className:"mb-1.5 flex items-center justify-between font-sans text-[11px] text-muted-fg",children:[(0,r.jsx)("span",{className:"text-foreground
1/85",children:e.label}),e.items.length>0&&(0,r.jsx)("span",{className:"text-muted-fg/70",children:e.items.length})]}),0===e.items.length?(0,r.jsx)("p",{className:"rounded-md border border-dashed border-line bg-white/2 px-3 py-2 font-sans text-[12px] text-muted-fg",children:e.emptyLabel}):(0,r.jsx)("ul",{className:"grid grid-cols-1 gap-1.5 sm:grid-cols-2",children:e.items.slice(0,4).map(e=>(0,r.jsx)(_,{r:e,onClick:()=>t(e.kind,e.slug)},`${e.kind}-${e.slug}`))})]},e.key))})}),e.brief.buildPath.length>0&&(0,r.jsx)(v,{label:"구현 순서",children:(0,r.jsx)("ol",{className:"space-y-1.5",children:e.brief.buildPath.slice(0,5).map((e,t)=>(0,r.jsxs)("li",{className:"flex items-start gap-3 font-sans text-foreground",children:[(0,r.jsx)("span",{className:"mt-0.5 inline-flex h-6 w-9 shrink-0 items-center justify-center rounded border border-line bg-white/4 font-mono text-[11px] font-semibold text-brand/90 tabular-nums",children:String(t+1).padStart(2,"0")}),(0,r.jsx)("span",{className:"text-[13.5px]",children:e})]},t))})}),e.brief.riskNotes.length>0&&(0,r.jsxs)("section",{className:"rounded-md border border-amber-400/25 bg-amber-400/5 px-4 py-3",children:[(0,r.jsxs)("div",{className:"flex items-center gap-2 font-sans text-[11px] font-semibold text-amber-200/90",children:[(0,r.jsx)("span",{"aria-hidden":!0,children:"⚠"}),"주의할 점"]}),(0,r.jsx)("ul",{className:"mt-1.5 ml-4 list-disc space-y-1 font-sans text-[13px] text-amber-100/90",children:e.brief.riskNotes.slice(0,4).map((e,t)=>(0,r.jsx)("li",{children:e},t))})]}),e.refinementChips.length>0&&(0,r.jsxs)("section",{children:[(0,r.jsxs)("div",{className:"mb-1.5 flex items-baseline justify-between font-sans",children:[(0,r.jsx)("span",{className:"text-[11px] text-muted-fg",children:"더 좁혀보기"}),"low"===c&&(0,r.jsx)("span",{className:"text-[11px] text-muted-fg/80",children:"더 정확한 추천을 위해 정보를 조금만 더 알려주세요."})]}),(0,r.jsx)("div",{className:"flex flex-wrap gap-1.5",children:e.refinementChips.map(e=>(0,r.jsxs)("button",{type:"button",onClick:()=>n(e),"aria-label":`검색어에 "${e}" 추가`,className:"rounded-full border border-line bg-white/4 px-2.5 py-1 font-sans text-[12.5px] text-foreground transition-colors hover:border-brand/60 hover:bg-brand/10 hover:text-brand",children:["+ ",e]},e))})]})]})}function N({label:e}){return(0,r.jsxs)("span",{className:"inline-flex items-center gap-1 rounded-full border border-line bg-white/4 px-2 py-0.5 text-[10.5px] text-muted-fg",children:[(0,r.jsx)("span",{"aria-hidden":!0,className:"inline-block h-1 w-1 rounded-full bg-emerald-400/80"}),e]})}function v({label:e,children:t}){return(0,r.jsxs)("section",{className:"rounded-md border border-line bg-white/3 px-4 py-3",children:[(0,r.jsx)("div",{className:"mb-1.5 font-sans text-[11px] font-medium text-muted-fg",children:e}),t]})}function y(){return(0,r.jsx)("span",{"aria-hidden":!0,className:"inline-block h-1.5 w-1.5 rounded-full bg-emerald-400/80 shadow-[0_0_6px_rgba(74,222,128,0.6)]"})}function _({r:e,onClick:t}){let n=m[e.kind],s=e.href??n.href(e.slug),a=!!n.external,i="strong"===e.confidence?"border-brand/60 bg-brand/10 text-brand":"good"===e.confidence?"border-sky-400/40 bg-sky-400/10 text-sky-100/95":"related"===e.confidence?"border-line bg-white/5 text-foreground/80":"border-line bg-white/3 text-muted-fg/80",d=(0,r.jsxs)("div",{className:"group flex h-full flex-col gap-1.5 rounded-md border border-line bg-white/3 px-3 py-2.5 transition-colors hover:border-brand/40 hover:bg-white/6",children:[(0,r.jsxs)("div",{className:"flex items-start justify-between gap-2",children:[(0,r.jsxs)("span",{className:"line-clamp-1 font-sans text-[13.5px] font-medium text-foreground",children:[e.title,a&&(0,r.jsx)("span",{className:"ml-1 text-[11px] text-muted-fg",children:"↗"})]}),(0,r.jsx)("span",{className:(0,o.cn)("shrink-0 rounded-full border px-1.5 py-0.5 font-sans text-[10.5px] font-semibold",i),"aria-label":`매칭 강도 ${x[e.confidence]}`,children:x[e.confidence]})]}),e.description&&(0,r.jsx)("span",{className:"line-clamp-2 font-sans text-[12px] text-muted-fg",children:e.description}),(0,r.jsxs)("div",{className:"mt-auto flex flex-wrap items-center gap-1.5 font-sans text-[10.5px] text-muted-fg",children:[(0,r.jsx)("span",{className:"rounded border border-line bg-white/4 px-1.5 py-0.5 text-foreground
1/85",children:n.label}),(0,r.jsx)("span",{className:"rounded border border-line bg-white/4 px-1.5 py-0.5",children:u[e.source]}),(0,r.jsx)("span",{className:"line-clamp-1 text-foreground/70",children:e.why})]})]});return(0,r.jsx)("li",{className:"flex",children:a?(0,r.jsx)("a",{href:s,target:"_blank",rel:"noopener noreferrer",onClick:t,className:"block w-full",children:d}):(0,r.jsx)(l(),{href:s,onClick:t,className:"block w-full",children:d})})}function C({feedbackSent:e,onFeedback:t}){return(0,r.jsxs)("div",{className:"flex items-center gap-1.5 font-sans text-[11.5px] text-muted-fg",children:[(0,r.jsx)("button",{type:"button",onClick:()=>t("up"),disabled:null!==e,"aria-label":b,"aria-pressed":"up"===e,className:(0,o.cn)("rounded-md border px-2 py-1 transition-colors disabled:cursor-default","up"===e?"border-brand bg-brand/15 text-brand":"down"===e?"border-line bg-white/3 text-muted-fg/60":"border-line bg-white/4 text-foreground hover:border-brand/60 hover:text-brand"),children:b}),(0,r.jsx)("button",{type:"button",onClick:()=>t("down"),disabled:null!==e,"aria-label":f,"aria-pressed":"down"===e,className:(0,o.cn)("rounded-md border px-2 py-1 transition-colors disabled:cursor-default","down"===e?"border-brand bg-brand/15 text-brand":"up"===e?"border-line bg-white/3 text-muted-fg/60":"border-line bg-white/4 text-foreground hover:border-brand/60 hover:text-brand"),children:f}),e&&(0,r.jsx)("span",{className:"text-foreground/60",children:"고마워요"})]})}function $({hit:e,active:t,onHover:n,onSelect:s}){let a=m[e.kind],i=a.href(e.slug),d=e.score>=.85?"strong":e.score>=.65?"good":e.score>=.45?"related":"exploratory",c=(0,o.cn)("group relative grid items-center gap-x-3 border-l-2 px-3 text-[14px] transition-colors","grid-cols-[18px_108px_minmax(0,1fr)_96px_14px] py-1.5 sm:py-2",t?"border-brand bg-white/8 text-foreground":"border-transparent text-foreground hover:bg-white/4"),u=(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("span",{className:(0,o.cn)("select-none text-brand text-lg leading-none",t?"opacity-100":"opacity-0 group-hover:opacity-50"),"aria-hidden":!0,children:"›"}),(0,r.jsx)("span",{className:(0,o.cn)("font-sans text-[11px] tracking-tight tabular-nums",t?"text-brand":"text-muted-fg"),children:a.label}),(0,r.jsxs)("span",{className:"flex min-w-0 flex-col leading-snug",children:[(0,r.jsx)("span",{className:"font-medium text-foreground",children:e.title}),e.description&&(0,r.jsx)("span",{className:"truncate text-[12px] text-muted-fg",children:e.description})]}),(0,r.jsx)("span",{className:(0,o.cn)("text-right font-sans text-[11px] tabular-nums","strong"===d?"text-brand":"good"===d?"text-foreground":"text-muted-fg"),children:x[d]}),(0,r.jsx)("span",{className:"text-[11px] text-muted-fg","aria-hidden":!0,children:a.external?"↗":""})]});return(0,r.jsx)("li",{children:a.external?(0,r.jsx)("a",{href:i,target:"_blank",rel:"noopener noreferrer",onMouseEnter:n,onClick:s,className:c,children:u}):(0,r.jsx)(l(),{href:i,onMouseEnter:n,onClick:s,className:c,children:u})})}function A({onPick:e}){return(0,r.jsxs)("div",{className:"px-4 py-7 font-sans text-[14px] leading-relaxed",children:[(0,r.jsx)("h2",{className:"text-[17px] font-semibold text-foreground",children:"무엇을 만들고, 조사하고, 자동화할지 물어보세요."}),(0,r.jsx)("p",{className:"mt-2 text-[13px] text-muted-fg",children:"짧은 키워드는 검색, 긴 자연어는 인텔리전스 콘솔로 답해요."}),(0,r.jsx)("p",{className:"mt-5 text-[11px] text-muted-fg",children:"예시"}),(0,r.jsx)("div",{className:"mt-2 flex flex-wrap gap-1.5",children:h.map(t=>(0,r.jsx)("button",{type:"button",onClick:()=>e(t),className:"rounded-full border border-line bg-white/4 px-3 py-1 text-[12.5px] text-foreground transition-colors hover:border-brand/60 hover:bg-brand/10 hover:text-brand",children:t},t))}),(0,r.jsx)("p",{className:"mt-6 text-[11px] text-muted-fg",children:"레인"}),(0,r.jsx)("p",{className:"mt-1 text-[12.5px] text-foreground/85",children:"프롬프트 \xb7 스킬 \xb7 MCP \xb7 워크플로 \xb7 GitHub 레포 \xb7 뉴스 \xb7 블로그"})]})}function E({q:e}){return(0,r.jsxs)("div",{className:"px-4 py-7 font-sans text-[14px] leading-relaxed",children:[(0,r.jsxs)("p",{className:"text-foreground",children:[(0,r.jsx)("span",{className:"text-brand",children:"›"})," ",(0,r.jsxs)("span",{className:"text-foreground",children:["“",e,"”"]})]}),(0,r.jsx)("p",{className:"mt-1.5 text-[15px] font-medium text-foreground",children:"결과가 없어요."}),(0,r.jsx)("p",{className:"mt-1 text-[13px] text-muted-fg",children:"다르게 풀어쓰거나 키워드를 조금 더 구체적으로 넣어보세요."})]})}},61440:(e,t,n)=>{n.d(t,{T:()=>
1o});var r=n(95155),s=n(91337),a=n(76961);let l={xs:20,sm:28,md:40,lg:64},i={xs:"text-[9px]",sm:"text-[10px]",md:"text-sm",lg:"text-lg"};function o({src:e,name:t,size:n="sm",className:d}){let c=l[n],m=(0,a.NN)(t),x=(0,s.cn)("inline-flex shrink-0 items-center justify-center overflow-hidden rounded-full bg-brand text-brand-fg font-bold uppercase",i[n],d),u={width:c,height:c};return e?(0,r.jsx)("span",{className:x,style:u,"aria-label":t??"avatar",children:(0,r.jsx)("img",{src:e,alt:"",width:c,height:c,loading:"lazy",referrerPolicy:"no-referrer",className:"h-full w-full object-cover"})}):(0,r.jsx)("span",{className:x,style:u,"aria-label":t??"avatar",children:m})}},65001:(e,t,n)=>{n.d(t,{HomeAiNativeMenu:()=>c});var r=n(95155),s=n(98500),a=n.n(s),l=n(12115),i=n(12363),o=n(91337);let d=[{href:"/repos",en:{label:"Repos",sub:"Trending AI repos"},kr:{label:"레포",sub:"트렌딩 AI 레포"}},{href:"/prompts",en:{label:"Prompts",sub:"Korean prompt library"},kr:{label:"프롬프트",sub:"한국어 프롬프트 라이브러리"}},{href:"/skills",en:{label:"Skills",sub:"Claude Code skills"},kr:{label:"스킬",sub:"Claude Code 스킬"}},{href:"/mcp",en:{label:"MCP",sub:"Model Context Protocol"},kr:{label:"MCP",sub:"Model Context Protocol"}},{href:"/workflows",en:{label:"Workflows",sub:"Automation patterns"},kr:{label:"워크플로우",sub:"자동화 패턴"}}];function c(){let[e,t]=(0,l.useState)(!1),n=(0,l.useRef)(null);return(0,l.useEffect)(()=>{if(e)return document.addEventListener("mousedown",r),document.addEventListener("keydown",s),()=>{document.removeEventListener("mousedown",r),document.removeEventListener("keydown",s)};function r(e){n.current&&(n.current.contains(e.target)||t(!1))}function s(e){"Escape"===e.key&&t(!1)}},[e]),(0,r.jsxs)("div",{ref:n,className:"relative",children:[(0,r.jsxs)("button",{type:"button",onClick:()=>t(e=>!e),"aria-expanded":e,"aria-haspopup":"menu",className:(0,o.cn)("inline-flex items-center gap-1 whitespace-nowrap text-[14px] font-medium tracking-tight transition-colors",e?"text-foreground":"text-muted-fg hover:text-foreground"),children:[(0,r.jsx)("span",{"data-locale-en":!0,children:"AI-Native"}),(0,r.jsx)("span",{"data-locale-kr":!0,children:"AI 네이티브"}),(0,r.jsx)(i.A,{className:(0,o.cn)("h-3.5 w-3.5 transition-transform duration-200",e&&"rotate-180"),"aria-hidden":!0})]}),e?(0,r.jsx)("div",{role:"menu",className:"absolute left-1/2 top-[calc(100%+10px)] z-50 w-[280px] -translate-x-1/2 rounded-2xl border border-line/70 bg-paper/95 p-2 shadow-[0_28px_70px_-30px_rgba(0,0,0,0.45)] backdrop-blur-2xl",children:d.map(e=>(0,r.jsx)(a(),{href:e.href,role:"menuitem",onClick:()=>t(!1),className:"flex items-center gap-3 rounded-xl px-3 py-2.5 transition-colors hover:bg-paper-elevated",children:(0,r.jsxs)("span",{className:"flex min-w-0 flex-col gap-0.5",children:[(0,r.jsxs)("span",{className:"text-[14px] font-semibold text-foreground",children:[(0,r.jsx)("span",{"data-locale-en":!0,children:e.en.label}),(0,r.jsx)("span",{"data-locale-kr":!0,children:e.kr.label})]}),(0,r.jsxs)("span",{className:"text-[11px] text-muted-fg",children:[(0,r.jsx)("span",{"data-locale-en":!0,children:e.en.sub}),(0,r.jsx)("span",{"data-locale-kr":!0,children:e.kr.sub})]})]})},e.href))}):null]})}},74350:(e,t,n)=>{n.d(t,{Cf:()=>m,L3:()=>u,c7:()=>x,lG:()=>o,rr:()=>p});var r=n(95155),s=n(12115),a=n(22304),l=n(9005),i=n(91337);let o=a.bL;a.l9,a.bm;let d=a.ZL,c=s.forwardRef(({className:e,...t},n)=>(0,r.jsx)(a.hJ,{ref:n,className:(0,i.cn)("fixed inset-0 z-50 bg-black/55 backdrop-blur-sm data-[state=open]:animate-in data-[state=closed]:animate-out",e),...t}));c.displayName="DialogOverlay";let m=s.forwardRef(({className:e,children:t,...n},s)=>(0,r.jsxs)(d,{children:[(0,r.jsx)(c,{}),(0,r.jsxs)(a.UC,{ref:s,className:(0,i.cn)("fixed left-1/2 top-1/2 z-50 grid w-full max-w-md -translate-x-1/2 -translate-y-1/2 gap-4 rounded-2xl border border-line bg-paper p-6 shadow-xl",e),...n,children:[t,(0,r.jsxs)(a.bm,{className:"absolute right-4 top-4 roun
1ded-md p-1 text-muted-fg transition-colors hover:bg-muted hover:text-foreground",children:[(0,r.jsx)(l.A,{className:"h-4 w-4"}),(0,r.jsx)("span",{className:"sr-only",children:"닫기"})]})]})]}));m.displayName="DialogContent";let x=({className:e,...t})=>(0,r.jsx)("div",{className:(0,i.cn)("flex flex-col gap-1.5 text-left",e),...t}),u=s.forwardRef(({className:e,...t},n)=>(0,r.jsx)(a.hE,{ref:n,className:(0,i.cn)("text-lg font-semibold leading-none tracking-tight",e),...t}));u.displayName="DialogTitle";let p=s.forwardRef(({className:e,...t},n)=>(0,r.jsx)(a.VY,{ref:n,className:(0,i.cn)("text-sm text-muted-fg",e),...t}));p.displayName="DialogDescription"},76961:(e,t,n)=>{n.d(t,{$K:()=>o,A0:()=>S,AB:()=>b,B6:()=>s,Ib:()=>h,Iv:()=>u,MN:()=>R,Mb:()=>f,NN:()=>H,NR:()=>d,Q3:()=>j,Rl:()=>p,WO:()=>c,aO:()=>g,gc:()=>x,gw:()=>l,hP:()=>m,hp:()=>k,o5:()=>y,t5:()=>w,tB:()=>i,xg:()=>P,yY:()=>L});var r=n(47173);let s=[{key:"magma",name:"Magma",label:"Magma",fromClass:"from-orange-500",toClass:"to-rose-600",glowClass:"shadow-orange-500/30",accentHex:"#ff6a1a",accentHexAlt:"#ff3d5a"},{key:"aurora",name:"Aurora",label:"Aurora",fromClass:"from-cyan-400",toClass:"to-violet-600",glowClass:"shadow-cyan-500/30",accentHex:"#22d3ee",accentHexAlt:"#a78bfa"},{key:"lime",name:"Lime",label:"Lime",fromClass:"from-lime-400",toClass:"to-emerald-600",glowClass:"shadow-lime-500/30",accentHex:"#a3e635",accentHexAlt:"#10b981"},{key:"cobalt",name:"Cobalt",label:"Cobalt",fromClass:"from-blue-500",toClass:"to-indigo-700",glowClass:"shadow-blue-500/30",accentHex:"#3b82f6",accentHexAlt:"#6366f1"},{key:"crimson",name:"Crimson",label:"Crimson",fromClass:"from-rose-500",toClass:"to-red-700",glowClass:"shadow-rose-500/30",accentHex:"#f43f5e",accentHexAlt:"#dc2626"}],a=s.map(e=>e.key),l="magma";function i(e){return s.find(t=>t.key===e)??s[0]}let o={common:{label:"Common",emoji:"\uD83E\uDD49",rangeHint:"0–33%",accentHex:"#a1a1aa",glowHex:"rgba(161, 161, 170, 0.18)"},rare:{label:"Rare",emoji:"\uD83E\uDD48",rangeHint:"34–66%",accentHex:"#22d3ee",glowHex:"rgba(0, 213, 255, 0.32)"},epic:{label:"Epic",emoji:"\uD83E\uDD47",rangeHint:"67–89%",accentHex:"#ff6a1a",glowHex:"rgba(255, 106, 26, 0.42)"},legendary:{label:"Legendary",emoji:"\uD83D\uDC8E",rangeHint:"90–100%",accentHex:"#ff3d5a",glowHex:"rgba(255, 61, 90, 0.55)"}};function d(e){return e>=90?"legendary":e>=67?"epic":e>=34?"rare":"common"}function c(e,t){if(t<=0)return null;let n=d(Math.round(e/t*100));if("legendary"===n)return null;let r=Math.max(1,Math.ceil(("common"===n?34:"rare"===n?67:90)/100*t)-e);return{next:"common"===n?"rare":"rare"===n?"epic":"legendary",missionsLeft:r}}let m=["Claude Code","Cursor","ChatGPT","Gemini","Next.js","Vercel","Supabase","MCP","RAG","Agent","Skill","Lovable","v0","Replit"],x=["vibe_builder","engineer","founder","operator","designer","researcher","other"],u={vibe_builder:"Vibe 빌더",engineer:"엔지니어",founder:"파운더",operator:"오퍼레이터",designer:"디자이너",researcher:"리서처",other:"빌더"};function p(e){return e&&x.includes(e)?e:null}let h=40,b=24,f=80,g=140,j=500,w=8,k=500,N=/^[a-z0-9_]{3,24}$/,v=/^https?:\/\//i;function y(e){return e?e.trim().toLowerCase().replace(/[^a-z0-9_]+/g,"_").replace(/_+/g,"_").replace(/^_+|_+$/g,"").slice(0,b):""}let _=r.YjP().trim().max(k,`URL이 너무 길어요. (최대 ${k}자)`).transform(e=>""===e?null:e).nullable().refine(e=>null==e||v.test(e),"URL은 http(s)만 허용해요."),C=(e,t)=>r.YjP().trim().max(e,`${t}이(가) 너무 길어요. (최대 ${e}자)`).transform(e=>""===e?null:e).nullable(),$=r.YjP().trim().toLowerCase().transform(e=>""===e?null:e).nullable().refine(e=>null==e||N.test(e),`핸들은 3~${b}자 영문 소문자/숫자/_만 가능해요.`),A=r.YOg(r.YjP().trim().min(1).max(32)).max(w,`도구 태그는 최대 ${w}개까지 가능해요.`).default([]).transform(e=>Array.from(new Set(e.map(e=>e.trim()).filter(Boolean)))),E=r.YjP().trim().transform(e=>""===e?null:e).nullable().refine(e=>null==e||x.includes(e),"허용되지 않는 빌더 role 이에요.");function P(e){let t={avatar:!!(e.avatar_url??"").trim(),name:!!(e.display_name??"").trim(),handle:!!(e.username??"").trim(),headline:!!(e.headline??"").trim(),current_build:!!(e.current_build??"").trim(),links:!!((e.website_url??"").trim()||(e.github_url??"").trim()||(e.x_url??"").trim())},n=t.avatar&&t.name&&t.handle&&t.headline&&t.current_build&&t.links;return[{id:"avatar",label:"아바타 선택",hint:"5초 안에 누군지 알아보게",done:t.avatar},{id:"name",label:"이름 입력",hint:"카드에 표시될 이름",done:t.name},{id:"handle",label:"핸들 설정",hint:"/u/your_handle 주소가 됨",done:t.handle},{id:"headline",label:"한 줄 소개",hint:"빌더들이 기억할 한 줄",done:t.headline},{id:"current_build",label:"지금 만드는 것",hint:"요즘 몰입 중인 빌드",done:t.current_build},{id:"links",label:"빌더 레퍼런스",hint:"신뢰를 더하는 외부 링크 1개+",done:t.links},{id:"ready",label:"카드 공개 준비 완료",hint:"위 미션을 모두 완료",done:n}]}function S(e){let t=P(e);return t.filter(e=>e.done).length/t.length}r.Ikc({display_name:r.YjP().trim().min(2,"이름은 2자 이상이어야 해요.").max(h,`이름은 ${h}자 이하이어야 해요.`),username:$,avatar_url:_,headline:C(f,"한 줄 소개"),current_build:C(g,"지금 만드는 것"),bio:C(j,"소개"),tool_tags:A,website_url:_,github_url:_,x_url:_,builder_role:E.optional().default(null),showcase_url:_.optional().default(null),theme:r.k5n(a).default(l).catch(l)});let L=7;function H(e){let t=(e??"").trim();if(!t)return"?";
1let n=t.split(/\s+/).filter(Boolean);return 0===n.length?"?":((Array.from(n[0])[0]??"")+(n[1]?Array.from(n[1])[0]??"":"")).toUpperCase()||"?"}function R(e){if(!e)return null;let t=(e.username??"").trim();return t&&N.test(t)?`/u/${t}`:`/u/${e.id}`}},82277:(e,t,n)=>{n.r(t),n.d(t,{ThemeToggle:()=>c,ThemeToggleRow:()=>m});var r=n(95155),s=n(12115),a=n(47603),l=n(78890),i=n(70460),o=n(91337);function d(){return(0,s.useSyncExternalStore)(()=>()=>{},()=>!0,()=>!1)}function c({transparent:e=!1,className:t}){let n=d(),{resolvedTheme:s,setTheme:m}=(0,i.D)(),x=!n||"light"!==s,u=x?"라이트 모드로 전환":"다크 모드로 전환";return(0,r.jsxs)("button",{type:"button",onClick:()=>m(x?"light":"dark"),"aria-label":u,title:u,className:(0,o.cn)("lattice-theme-toggle",e&&"is-transparent",t),children:[(0,r.jsx)("span",{className:"sr-only",children:u}),(0,r.jsx)("span",{"aria-hidden":!0,className:"inline-flex",children:x?(0,r.jsx)(a.A,{className:"h-4 w-4"}):(0,r.jsx)(l.A,{className:"h-4 w-4"})})]})}function m(){let e=d(),{resolvedTheme:t,setTheme:n}=(0,i.D)(),s=!e||"light"!==t;return(0,r.jsxs)("button",{type:"button",onClick:()=>n(s?"light":"dark"),"aria-label":s?"라이트 모드로 전환":"다크 모드로 전환",className:"lattice-theme-toggle-row",children:[(0,r.jsxs)("span",{className:"flex items-center gap-2.5",children:[(0,r.jsx)("span",{"aria-hidden":!0,className:"inline-flex",children:s?(0,r.jsx)(a.A,{className:"h-4 w-4"}):(0,r.jsx)(l.A,{className:"h-4 w-4"})}),"외관"]}),(0,r.jsxs)("span",{className:"lattice-theme-toggle-pill",children:[(0,r.jsx)("span",{"data-active":s?"true":"false",children:"다크"}),(0,r.jsx)("span",{className:"lattice-theme-toggle-sep",children:"\xb7"}),(0,r.jsx)("span",{"data-active":s?"false":"true",children:"라이트"})]})]})}},91337:(e,t,n)=>{n.d(t,{OJ:()=>i,cn:()=>a,lj:()=>l});var r=n(29722),s=n(622);function a(...e){return(0,s.QP)((0,r.$)(e))}function l(e){let t=new Set,n=[];for(let r of e.matchAll(/\{([^}\n]+)\}/g)){let e=r[1].trim();e&&!t.has(e)&&(t.add(e),n.push(e))}return n}function i(e,t){return e.replace(/\{([^}\n]+)\}/g,(e,n)=>{let r=String(n).trim();return t[r]&&t[r].length>0?t[r]:`{${r}}`})}},95617:(e,t,n)=>{n.r(t),n.d(t,{GaEventLink:()=>c,GaViewEvent:()=>d,sendAuthGateEvent:()=>o,sendGaEvent:()=>i});var r=n(95155),s=n(98500),a=n.n(s),l=n(12115);function i(e,t={}){"function"==typeof window.gtag&&window.gtag("event",e,t)}function o(e,t={}){i(e,t)}function d({eventName:e,params:t,className:n,children:s}){let a=(0,l.useRef)(null),o=(0,l.useMemo)(()=>t??{},[t]);return(0,l.useEffect)(()=>{let t=a.current;if(!t)return;let n=!1,r=()=>{n||(n=!0,i(e,o))};if(!("IntersectionObserver"in window))return void r();let s=new IntersectionObserver(e=>{e.some(e=>e.isIntersecting)&&(r(),s.disconnect())},{threshold:.35});return s.observe(t),()=>s.disconnect()},[e,o]),(0,r.jsx)("div",{ref:a,className:n,children:s})}function c({href:e,eventName:t,eventParams:n,children:s,...l}){let o=/^https?:\/\//i.test(e),d=e=>{l.onClick?.(e),e.defaultPrevented||i(t,n)};return o?(0,r.jsx)("a",{href:e,...l,onClick:d,children:s}):(0,r.jsx)(a(),{href:e,...l,onClick:d,children:s})}}}]);

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.