PageSourceSearch

https://lorecraft-gilt.vercel.app/_next/static/chunks/a24325cfdee0eb6a.js?dpl=dpl_FeHb5fz1evSRTrkj2DCLBin72nvP

js lorecraft-gilt.vercel.app collected 2026-10-03 07:16:11 UTC 19,176 bytes, 1 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,761911,e=>{"use strict";let t=(0,e.i(475254).default)("users",[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["path",{d:"M16 3.128a4 4 0 0 1 0 7.744",key:"16gr8j"}],["path",{d:"M22 21v-2a4 4 0 0 0-3-3.87",key:"kshegd"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}]]);e.s(["Users",()=>t],761911)},972520,e=>{"use strict";let t=(0,e.i(475254).default)("arrow-right",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]]);e.s(["ArrowRight",()=>t],972520)},555436,e=>{"use strict";let t=(0,e.i(475254).default)("search",[["path",{d:"m21 21-4.34-4.34",key:"14j7rj"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}]]);e.s(["Search",()=>t],555436)},286536,e=>{"use strict";let t=(0,e.i(475254).default)("eye",[["path",{d:"M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0",key:"1nclc0"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]]);e.s(["Eye",()=>t],286536)},862568,e=>{"use strict";let t=(0,e.i(475254).default)("skull",[["path",{d:"m12.5 17-.5-1-.5 1h1z",key:"3me087"}],["path",{d:"M15 22a1 1 0 0 0 1-1v-1a2 2 0 0 0 1.56-3.25 8 8 0 1 0-11.12 0A2 2 0 0 0 8 20v1a1 1 0 0 0 1 1z",key:"1o5pge"}],["circle",{cx:"15",cy:"12",r:"1",key:"1tmaij"}],["circle",{cx:"9",cy:"12",r:"1",key:"1vctgf"}]]);e.s(["Skull",()=>t],862568)},751737,e=>{"use strict";let t=(0,e.i(475254).default)("shield-alert",[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}],["path",{d:"M12 8v4",key:"1got3b"}],["path",{d:"M12 16h.01",key:"1drbdi"}]]);e.s(["ShieldAlert",()=>t],751737)},503692,e=>{"use strict";let t=(0,e.i(475254).default)("scroll",[["path",{d:"M19 17V5a2 2 0 0 0-2-2H4",key:"zz82l3"}],["path",{d:"M8 21h12a2 2 0 0 0 2-2v-1a1 1 0 0 0-1-1H11a1 1 0 0 0-1 1v1a2 2 0 1 1-4 0V5a2 2 0 1 0-4 0v2a1 1 0 0 0 1 1h3",key:"1ph1d7"}]]);e.s(["Scroll",()=>t],503692)},975,e=>{"use strict";let t=(0,e.i(475254).default)("crosshair",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"22",x2:"18",y1:"12",y2:"12",key:"l9bcsi"}],["line",{x1:"6",x2:"2",y1:"12",y2:"12",key:"13hhkx"}],["line",{x1:"12",x2:"12",y1:"6",y2:"2",key:"10w3f3"}],["line",{x1:"12",x2:"12",y1:"22",y2:"18",key:"15g9kq"}]]);e.s(["Crosshair",()=>t],975)},314809,e=>{"use strict";var t=e.i(843476),a=e.i(271645),i=e.i(948148),l=e.i(37727),s=e.i(751737);function r({isOpen:e,onConfirm:r,onCancel:c}){let n=(0,i.useTranslations)("ageGate"),[o,d]=(0,a.useState)(""),[h,x]=(0,a.useState)("");return e?(0,t.jsxs)("div",{className:"fixed inset-0 z-[100] flex items-center justify-center p-4",children:[(0,t.jsx)("div",{className:"absolute inset-0 bg-black/85 backdrop-blur-md",onClick:c}),(0,t.jsxs)("div",{className:"relative w-full max-w-md glass-card border-pink-500/20 bg-zinc-950/90 p-8 rounded-3xl shadow-2xl shadow-pink-500/5 animate-in fade-in zoom-in duration-200",children:[(0,t.jsx)("button",{onClick:c,"aria-label":n("close"),className:"absolute top-6 right-6 text-foreground/20 hover:text-white transition-colors",children:(0,t.jsx)(l.X,{size:20})}),(0,t.jsxs)("div",{className:"flex flex-col items-center text-center",children:[(0,t.jsx)("div",{className:"w-16 h-16 rounded-2xl flex items-center justify-center mb-6 bg-pink-500/10 text-pink-500 animate-pulse",children:(0,t.jsx)(s.ShieldAlert,{size:32})}),(0,t.jsx)("h3",{className:"text-xl font-black italic tracking-tighter uppercase mb-2 text-pink-500",children:n("title")}),(0,t.jsx)("p",{className:"text-foreground/70 text-sm font-medium leading-relaxed mb-6",children:n("birthYearMessage")}),(0,t.jsxs)("div",{className:"w-full space-y-2 mb-6",children:[(0,t.jsx)("label",{className:"block text-[9px] font-black tracking-widest text-pink-500/60 uppercase",children:n("birthYear")}),(0,t.jsx)("input",{type:"text",inputMode:"numeric",maxLength:4,pattern:"[0-9]*",value:o,onChange:e=>{d(e.target.value.replace(/[^0-9]/g,"")),x("")},placeholder:n("birthYearPlaceholder"),className:"w-full bg-white/5 border border-white/10 rounded-2xl px-4 py-3 text-center text-lg font-bold text-white placeholder:text-zinc-700 focus:outline-none focus:border-pink-500/50 transition-colors"}),h&&(0,t.jsx)("p",{className:"text-[10px] font-semibold text-rose-400 mt-1 text-center animate-pulse",children:h})]}),(0,t.jsxs)("div",{className:"flex gap-3 w-full",children:[(0,t.jsx)("button",{onClick:c,className:"flex-1 py-4 rounded-2xl border border-white/10 text-xs font-black tracking-widest uppercase hover:bg-white/5 transition-all text-foreground
1/60 hover:text-white",children:n("cancelShort")}),(0,t.jsx)("button",{onClick:()=>{let e=parseInt(o),t=new Date().getFullYear();!o||isNaN(e)||4!==o.length?x(n("invalidFourDigitYear")):e<1900||e>t?x(n("invalidYear")):t-e<18?x(n("accessDenied")):(localStorage.setItem("lorecraft_age_confirmed_18","true"),r())},className:"flex-1 py-4 rounded-2xl text-xs font-black tracking-widest uppercase bg-pink-600 hover:bg-pink-500 text-white shadow-xl shadow-pink-600/20 hover:shadow-pink-500/30 transition-all active:scale-[0.98]",children:n("confirmShort")})]})]})]})]}):null}e.s(["default",()=>r])},575822,e=>{"use strict";let t=(0,e.i(475254).default)("coins",[["circle",{cx:"8",cy:"8",r:"6",key:"3yglwk"}],["path",{d:"M18.09 10.37A6 6 0 1 1 10.34 18",key:"t5s6rm"}],["path",{d:"M7 6h1v4",key:"1obek4"}],["path",{d:"m16.71 13.88.7.71-2.82 2.82",key:"1rbuyh"}]]);e.s(["Coins",()=>t],575822)},958377,e=>{"use strict";let t=(0,e.i(475254).default)("flame",[["path",{d:"M12 3q1 4 4 6.5t3 5.5a1 1 0 0 1-14 0 5 5 0 0 1 1-3 1 1 0 0 0 5 0c0-2-1.5-3-1.5-5q0-2 2.5-4",key:"1slcih"}]]);e.s(["Flame",()=>t],958377)},349559,e=>{"use strict";let t=(0,e.i(475254).default)("fingerprint-pattern",[["path",{d:"M12 10a2 2 0 0 0-2 2c0 1.02-.1 2.51-.26 4",key:"1nerag"}],["path",{d:"M14 13.12c0 2.38 0 6.38-1 8.88",key:"o46ks0"}],["path",{d:"M17.29 21.02c.12-.6.43-2.3.5-3.02",key:"ptglia"}],["path",{d:"M2 12a10 10 0 0 1 18-6",key:"ydlgp0"}],["path",{d:"M2 16h.01",key:"1gqxmh"}],["path",{d:"M21.8 16c.2-2 .131-5.354 0-6",key:"drycrb"}],["path",{d:"M5 19.5C5.5 18 6 15 6 12a6 6 0 0 1 .34-2",key:"1tidbn"}],["path",{d:"M8.65 22c.21-.66.45-1.32.57-2",key:"13wd9y"}],["path",{d:"M9 6.8a6 6 0 0 1 9 5.2v2",key:"1fr1j5"}]]);e.s(["Fingerprint",()=>t],349559)},991799,e=>{"use strict";let t=(0,e.i(475254).default)("moon",[["path",{d:"M20.985 12.486a9 9 0 1 1-9.473-9.472c.405-.022.617.46.402.803a6 6 0 0 0 8.268 8.268c.344-.215.825-.004.803.401",key:"kfwtm"}]]);e.s(["Moon",()=>t],991799)},897250,e=>{"use strict";let t=(0,e.i(475254).default)("sun",[["circle",{cx:"12",cy:"12",r:"4",key:"4exip2"}],["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"M12 20v2",key:"1lh1kg"}],["path",{d:"m4.93 4.93 1.41 1.41",key:"149t6j"}],["path",{d:"m17.66 17.66 1.41 1.41",key:"ptbguv"}],["path",{d:"M2 12h2",key:"1t8f8n"}],["path",{d:"M20 12h2",key:"1q8mjw"}],["path",{d:"m6.34 17.66-1.41 1.41",key:"1m8zz5"}],["path",{d:"m19.07 4.93-1.41 1.41",key:"1shlcs"}]]);e.s(["Sun",()=>t],897250)},63639,613648,e=>{"use strict";var t=e.i(475254);let a=(0,t.default)("radio",[["path",{d:"M16.247 7.761a6 6 0 0 1 0 8.478",key:"1fwjs5"}],["path",{d:"M19.075 4.933a10 10 0 0 1 0 14.134",key:"ehdyv1"}],["path",{d:"M4.925 19.067a10 10 0 0 1 0-14.134",key:"1q22gi"}],["path",{d:"M7.753 16.239a6 6 0 0 1 0-8.478",key:"r2q7qm"}],["circle",{cx:"12",cy:"12",r:"2",key:"1c9p78"}]]);e.s(["Radio",()=>a],63639);let i=(0,t.default)("satellite",[["path",{d:"m13.5 6.5-3.148-3.148a1.205 1.205 0 0 0-1.704 0L6.352 5.648a1.205 1.205 0 0 0 0 1.704L9.5 10.5",key:"dzhfyz"}],["path",{d:"M16.5 7.5 19 5",key:"1ltcjm"}],["path",{d:"m17.5 10.5 3.148 3.148a1.205 1.205 0 0 1 0 1.704l-2.296 2.296a1.205 1.205 0 0 1-1.704 0L13.5 14.5",key:"nfoymv"}],["path",{d:"M9 21a6 6 0 0 0-6-6",key:"1iajcf"}],["path",{d:"M9.352 10.648a1.205 1.205 0 0 0 0 1.704l2.296 2.296a1.205 1.205 0 0 0 1.704 0l4.296-4.296a1.205 1.205 0 0 0 0-1.704l-2.296-2.296a1.205 1.205 0 0 0-1.704 0z",key:"nv9zqy"}]]);e.s(["Satellite",()=>i],613648)},401725,e=>{"use strict";let t=(0,e.i(475254).default)("tram-front",[["rect",{width:"16",height:"16",x:"4",y:"3",rx:"2",key:"1wxw4b"}],["path",{d:"M4 11h16",key:"mpoxn0"}],["path",{d:"M12 3v8",key:"1h2ygw"}],["path",{d:"m8 19-2 3",key:"13i0xs"}],["path",{d:"m18 22-2-3",key:"1p0ohu"}],["path",{d:"M8 15h.01",key:"a7atzg"}],["path",{d:"M16 15h.01",key:"rnfrdf"}]]);e.s(["Train",()=>t],401725)},656572,e=>{"use strict";var t=e.i(843476),a=e.i(657688),i=e.i(520133),l=e.i(271645),s=e.i(846932),r=e.i(88653),c=e.i(972520),n=e.i(975),o=e.i(243553),d=e.i(575822),h=e.i(286536),x=e.i(349559),p=e.i(958377),m=e.i(565157),u=e.i(991799),b=e.i(63639),g=e.i(613648),f=e.i(503692),k=e.i(555436),y=e.i(98919),w=e.i(862568),v=e.i(897250),j=e.i(401725),N=e.i(761911),M=e.i(477754),S=e.i(469193),C=e.i(375679),z=e.i(948148),_=e.i(861745),L=e.i(314809),q=e.i(273758);let T=["fantasy","dnd","cyberpunk","western","space","modern","historical","magic_school","detective","nsfw"],$={skull:w.Skull,crown:o.Crown,moon:u.Moon,crosshair:n.Crosshair,eye:h.Eye,coins:d.Coins,train:j.Train,scroll:f.Scroll,sun:v.Sun,radio:b.Radio,satellite:g.Satellite,globe:m.Globe2,flame:p.Flame,shield:y.Shield,search:k.Search,fingerprint:x.Fingerprint};function A({scenario:e,launchCost:l,onAction:r}){let n=(0,z.useTranslations)("scenariosPage"),o=(0,i.useRouter)(),d=$[e.palette.icon],h=(0,S.getScenarioImage)(e),x="community"===e.source,p=x?`/quick-start?scenario=${e.id}&community=1`:`/quick-start?scenario=${e.id}`,m=x?`/quick-start?scenario=${e.id}&community=1&coop=1`:`/quick-start?scenario=${e.id}&coop=1`,u=(t,a)=>{e.tags?.includes("nsfw")&&"true"!==localStorage.getItem("lorecraft_age_confirmed_18")&&(t.preventDefault(),r(()=>{o.push(a)}))};return(0,t.jsxs)(s.motion.article,{layout:!0,initial:{opacity:0,y:20}
1,animate:{opacity:1,y:0},exit:{opacity:0,scale:.95},whileHover:{y:-6},transition:{duration:.2},className:"group relative flex min-h-[470px] flex-col overflow-hidden rounded-[30px] border border-white/10 bg-[#0d0c0a] transition hover:border-accent/40 hover:shadow-[0_26px_70px_rgba(0,0,0,0.34)]",children:[(0,t.jsxs)(i.Link,{href:`/scenarios/${e.id}`,onClick:t=>{(0,C.track)("scenario_details_opened",{scenario_id:e.id,genre:e.genre,source:"scenarios_page"}),u(t,`/scenarios/${e.id}`)},className:"relative flex flex-1 flex-col",children:[(0,t.jsxs)("div",{className:"relative min-h-[235px] overflow-hidden",children:[(0,t.jsx)(a.default,{src:h,alt:e.title,fill:!0,className:"object-cover opacity-75 transition duration-700 group-hover:scale-105 group-hover:opacity-90",sizes:"(max-width: 767px) 100vw, (max-width: 1199px) 50vw, 33vw"}),(0,t.jsx)("div",{className:"absolute inset-0 bg-gradient-to-t from-[#0d0c0a] via-black/25 to-black/15"}),(0,t.jsxs)("div",{className:"absolute inset-x-0 top-0 flex items-start justify-between gap-3 p-5",children:[(0,t.jsx)("div",{className:"flex h-11 w-11 items-center justify-center rounded-2xl border border-accent/25 bg-black/55 text-accent backdrop-blur-md",children:(0,t.jsx)(d,{className:"h-5 w-5"})}),(0,t.jsxs)("div",{className:"flex flex-wrap justify-end gap-1.5",children:[e.isDetective&&(0,t.jsxs)("span",{className:"inline-flex items-center gap-1 rounded-full border border-white/15 bg-black/55 px-2.5 py-1 text-[8px] font-black tracking-wide text-white/70 backdrop-blur-md",children:[(0,t.jsx)(k.Search,{className:"h-2.5 w-2.5 text-accent"})," ",n("detective")]}),e.tags?.includes("nsfw")&&(0,t.jsx)("span",{className:"inline-flex items-center rounded-full border border-accent/25 bg-black/55 px-2.5 py-1 text-[8px] font-black tracking-wide text-accent backdrop-blur-md",children:"18+"})]})]})]}),(0,t.jsxs)("div",{className:"relative flex flex-1 flex-col px-6 pb-6 pt-1 sm:px-7 sm:pb-7",children:[(0,t.jsxs)("div",{className:"mb-3 flex items-center justify-between gap-3",children:[(0,t.jsx)("span",{className:"text-[10px] font-black tracking-[0.1em] text-accent",children:e.genreLabel}),(0,t.jsx)("span",{className:"truncate text-right text-[9px] font-bold tracking-wide text-white/28",children:e.palette.mood})]}),(0,t.jsx)("h2",{className:"text-2xl font-black leading-[1.08] tracking-[-0.025em] text-white transition-colors group-hover:text-accent sm:text-[1.7rem]",children:e.title}),(0,t.jsx)("p",{className:"mt-3 line-clamp-3 text-sm leading-6 text-white/52",children:e.teaser}),x?(0,t.jsxs)("div",{className:"mt-4",children:[e.customTags?.length?(0,t.jsx)("div",{className:"mb-3 flex flex-wrap gap-1.5",children:e.customTags.map(e=>(0,t.jsxs)("span",{className:"rounded-full border border-violet-200/15 bg-violet-200/[0.04] px-2.5 py-1 text-[8px] font-black tracking-wide text-violet-100/60",children:["#",e]},e))}):null,(0,t.jsxs)("p",{className:"text-[10px] font-bold tracking-wide text-white/30",children:[n("by"),": ",e.authorName,e.communityStats?.launches?` \xb7 ${e.communityStats.launches} ${n("launches")}`:""]})]}):null,(0,t.jsxs)("div",{className:"mt-auto flex items-center gap-2 pt-5 text-[9px] font-black tracking-[0.08em] text-white/35 transition group-hover:text-accent",children:[n("details"),(0,t.jsx)(c.ArrowRight,{size:14,className:"transition-transform group-hover:translate-x-1"})]})]})]}),(0,t.jsxs)("div",{className:"grid grid-cols-2 gap-2 border-t border-white/10 p-3",children:[(0,t.jsxs)(i.Link,{href:p,onClick:t=>{(0,C.track)("scenario_chosen",{scenario_id:e.id,genre:e.genre,source:"scenarios_page",mode:"solo"}),u(t,p)},className:"flex min-h-12 flex-col items-center justify-center rounded-[16px] border border-white/10 bg-white/[0.035] px-2 text-[9px] font-black tracking-wide text-white/68 transition hover:border-accent/30 hover:text-accent",title:n("soloTitle"),children:[(0,t.jsx)("span",{children:n("playSolo")}),null!=l&&l>0&&(0,t.jsxs)("span",{className:"mt-1 inline-flex items-center gap-1 text-[8px] text-accent",children:[(0,t.jsx)(M.Puzzle,{size:9})," ",l," ",n("shardsShort")]})]}),(0,t.jsxs)(i.Link,{href:m,onClick:t=>{(0,C.track)("scenario_chosen",{scenario_id:e.id,genre:e.genre,source:"scenarios_page",mode:"coop"}),u(t,m)},className:"flex min-h-12 flex-col items-center justify-center rounded-[16px] bg-accent px-2 text-[9px] font-black tracking-wide text-[#17120b] transition hover:bg-accent/90",title:n("coopTitle"),children:[(0,t.jsxs)("span",{className:"inline-flex items-center gap-1.5",children:[(0,t.jsx)(N.Users,{size:11}),n("withFriend")]}),null!=l&&l>0&&(0,t.jsxs)("span",{className:"mt-1 inline-flex items-center gap-1 text-[8px] opacity-65",children:[(0,t.jsx)(M.Puzzle,{size:9})," ",l," ",n("shardsShort")]})]})]})]})}function P({scenarios:e}){let a=(0,z.useTranslations)("scenariosPage"),i=(0,_.useLocale)(),[c,n]=(0,l.useState)("all"),[o,d]=(0,l.useState)("all"),[h,x]=(0,l.useState)(""),[p,m]=(0,l.useState)(!1),[u,b]=(0,l.useState)(null),[g,f]=(0,l.useState)(null);(0,l.useEffect)(()=>{Promise.all([(0,q.getGenerationCost)("cost_character_image"),(0,q.getGenerationCost)("cost_game_image")]).then(([e,t])=>f({character:e,gameImage:t}))},[]);let y=e=>{b(()=>e),m(!0)},w=e.filter(e=>{if("all"!==o&&(e.source||"official")!==o||!("all"===c||e.tags?.includes(c)||c===e.genre))return!1;let t=h.trim().toLocaleLowerCase(i);return!t||[e.title,e.teaser,e.genre,e.genreLabel,e.palette.mood,...e.tags||[],...e.customTags||[]].join(" ").toLocaleLowerCase(i).includes(t)});return(0,t.jsxs)("section",{children:[(0,t.jsxs)("div",{className:"mb-7 rounded-[30px] border border-white/10 bg-white/[0.025] p-4 sm:p-6",children:[(0,t.jsxs)("div",{className:"flex flex-col justify-between gap-5 lg:flex-row lg:items-end",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)("p",{className:"text-[9px] font-black tracking-[0.1em] text-accent",children:a("filterHint")}),(0,t.jsx)("h2",{className:"mt-2 text-2xl font-black tracking-[-0.025em] text-white sm:text-3xl",children:a("catalogTitle")}),(0,t.jsx)("p",{className:"mt-2 text-xs font-bold tracking-wide text-white/32",children:a("shownCount",{count:w.length})})]}),(0,t.jsxs)("label",{className:"relative block w-full lg:max-w-sm",children:[(0,t.jsx)(k.Search,{className:"pointer-events-none absolute left-4 top-1/2 h-4 w-4 -translate-y-1/2 text-white/25"}),(0,t.jsx)("span",{className:"sr-only",children:a("searchPlaceholder")}),(0,t.jsx)("input",{type:"search",value:h,onChange:e=>x(e.target.value),placeholder:a("searchPlaceholder"),className:"min-h-12 w-full rounded-[16px] border border-white/10 bg-black/25 pl-11 pr-4 text-sm font-medium text-white outline-none transition placeholder:text-white/25 focus:border-accent/45"})]})]}),(0,t.jsx)("div",{className:"mt-6 flex gap-2 overflow-x-auto border-t border-white/8 pt-5 scrollbar-hide",children:["all","official","community"].map(e=>(0,t.jsx)("button",{type:"button",onClick:()=>d(e),className:`min-h-11 shrink-0 rounded-full border px-5 text-[10px] font-black tracking-wide transition-all ${o===e?"border-accent bg-accent text-[#17120b] shadow-lg shadow-accent/10":"border-white/10 bg-black/20 text-white/40 hover:border-accent/25 hover:text-white/70"}`,children:"all"===e?a("allAuthors"):"official"===e?a("fromLoreCraft"):a("community")},e))}),(0,t.jsxs)("div",{className:"mt-3 flex gap-2 overflow-x-auto scrollbar-hide",children:[(0,t.jsx)("button",{type:"button",onClick:()=>n("all"),className:`min-h-11 shrink-0 rounded-full border px-5 text-[10px] font-black tracking-wide transition-all ${"all"===c?"border-accent bg-accent text-[#17120b] shadow-lg shadow-accent/10":"border-white/10 bg-black/20 text-white/40 hover:border-accent/25 hover:text-white/70"}`,children:a("all")}),T.map(e=>{let i="detective"===e,l="nsfw"===e,s=c===e;return(0,t.jsxs)("button",{type:"button",onClick:()=>{l&&"true"!==localStorage.getItem("lorecraft_age_confirmed_18")?y(()=>{n(e)}):n(e)},className:`inline-flex min-h-11 shrink-0 items-center gap-1.5 rounded-full border px-5 text-[10px] font-black tracking-wide transition-all ${s?"border-accent bg-accent text-[#17120b] shadow-lg shadow-accent/10":"border-white/10 bg-black/20 text-white/40 hover:border-accent/25 hover:text-white/70"}`,children:[i&&(0,t.jsx)(k.Search,{size:11}),a(`filters.${e}`)]},e)})]})]}),w.length>0?(0,t.jsx)(s.motion.div,{layout:!0,className:"grid grid-cols-1 gap-5 md:grid-cols-2 xl:grid-cols-3",children:(0,t.jsx)(r.AnimatePresence,{mode:"popLayout",children:w.map(e=>(0,t.jsx)(A,{scenario:e,launchCost:g?g.character+(e.cardImage?0:g.gameImage):null,onAction:y}
1,e.id))})}):(0,t.jsxs)("div",{className:"flex min-h-72 flex-col items-center justify-center rounded-[30px] border border-dashed border-white/10 bg-white/[0.015] px-6 text-center",children:[(0,t.jsx)(k.Search,{size:28,className:"mb-4 text-accent/60"}),(0,t.jsx)("p",{className:"text-sm font-black tracking-[0.06em] text-white/45",children:a("noResults")}),(0,t.jsx)("button",{type:"button",onClick:()=>{x(""),n("all"),d("all")},className:"mt-5 rounded-full border border-accent/25 bg-accent/10 px-5 py-2.5 text-[10px] font-black tracking-wide text-accent transition hover:bg-accent hover:text-[#17120b]",children:a("all")})]}),(0,t.jsx)(L.default,{isOpen:p,onConfirm:()=>{m(!1),u?.()},onCancel:()=>{m(!1),b(null)}})]})}e.s(["default",()=>P])}]);

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.