PageSourceSearch

https://www.8bitcn.com/_next/static/immutable/chunks/3sq0qjif9fwdx.js

js 8bitcn.com collected 2026-10-04 00:26:50 UTC 46,841 bytes, 20 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,807206,e=>{"use strict";var r=e.i(327193),t=e.i(475127),s=e.i(915064),i=e.i(753597),a=e.i(494759),l=e.i(166911);e.s(["default",0,function(){let[e,n]=(0,t.useState)(!1);return((0,s.useShowcaseScrollGuard)(),(0,t.useEffect)(()=>{n(!0)},[]),e)?(0,r.jsxs)("div",{className:"mt-10 grid grid-cols-1 gap-4 sm:grid-cols-2 lg:grid-cols-4",children:[(0,r.jsx)(i.ColumnOne,{}),(0,r.jsx)(a.FeatureColumn,{}),(0,r.jsx)(l.InteractiveColumn,{})]}):(0,r.jsx)("div",{className:"mt-10 min-h-[800px]"})}])},753597,e=>{"use strict";var r=e.i(327193),t=e.i(173044),s=e.i(321108),i=e.i(475127),a=e.i(244342),l=e.i(349228),n=e.i(431451),x=e.i(533386),d=e.i(294237),c=e.i(318203),o=e.i(442194),h=e.i(253452),m=e.i(400541),g=e.i(754253),j=e.i(387206),u=e.i(788369);(0,d.cva)("",{variants:{font:{normal:"",retro:"retro"}},defaultVariants:{font:"retro"}});let f=[{name:"Strength",shortName:"STR",value:10},{name:"Dexterity",shortName:"DEX",value:10},{name:"Intelligence",shortName:"INT",value:10},{name:"Vitality",shortName:"VIT",value:10},{name:"Wisdom",shortName:"WIS",value:10},{name:"Charisma",shortName:"CHA",value:10}],p=function({className:e,font:t,characterName:s,characterClass:i,characterTitle:a,characterLevel:l=1,avatarSrc:n,avatarFallback:d,primaryAttributes:p,secondaryStats:w,health:b,mana:v,experience:N,equipment:y,customSections:C,showAvatar:k=!0,showLevel:M=!0,showHealth:D=!0,showMana:S=!0,showExperience:T=!0,showAttributes:I=!0,showSecondaryStats:A=!0,showEquipment:B=!0,...F}){let E=p||f,H=b?Math.round(b.current/b.max*100):0,P=v?Math.round(v.current/v.max*100):0,L=N?Math.round(N.current/N.max*100):0;return(0,r.jsxs)(h.Card,{className:(0,c.cn)("w-full","normal"!==t&&"retro",e),...F,children:[(0,r.jsx)(h.CardHeader,{className:"pb-4",children:(0,r.jsxs)("div",{className:"flex sm:flex-row flex-col items-start gap-4",children:[k&&(0,r.jsxs)(o.Avatar,{className:"size-20",variant:"pixel",font:"retro",children:[(0,r.jsx)(o.AvatarImage,{src:n,alt:s}),(0,r.jsx)(o.AvatarFallback,{className:"text-xl",children:d||s.charAt(0).toUpperCase()})]}),(0,r.jsxs)("div",{className:"flex-1 min-w-0 space-y-2",children:[(0,r.jsxs)("div",{className:"flex flex-wrap flex-col gap-1 sm:flex-row sm:items-center sm:justify-between",children:[(0,r.jsx)("h2",{className:"text-xl font-bold truncate",children:s}),M&&(0,r.jsxs)(x.Badge,{className:"text-xs w-fit",children:["LV. ",l]})]}),(i||a)&&(0,r.jsxs)("div",{className:"flex flex-wrap gap-2 text-sm text-muted-foreground",children:[i&&(0,r.jsx)("span",{children:i}),a&&(0,r.jsx)("span",{className:"text-amber-800 dark:text-amber-300",children:a})]})]})]})}),(0,r.jsxs)(h.CardContent,{className:"space-y-6",children:[(D||S||T)&&(0,r.jsxs)("div",{className:"space-y-3",children:[D&&b&&(0,r.jsxs)("div",{className:"space-y-1",children:[(0,r.jsxs)("div",{className:"flex sm:flex-row flex-col justify-between items-center",children:[(0,r.jsx)("span",{className:"font-medium text-red-700 text-sm dark:text-red-300",children:"Health"}),(0,r.jsxs)("span",{className:"text-xs text-muted-foreground retro",children:[b.current,"/",b.max]})]}),(0,r.jsx)(m.default,{value:H,variant:"retro",className:"h-3"})]}),S&&v&&(0,r.jsxs)("div",{className:"space-y-1",children:[(0,r.jsxs)("div",{className:"flex sm:flex-row flex-col justify-between items-center",children:[(0,r.jsx)("span",{className:"font-medium text-blue-700 text-sm dark:text-blue-300",children:"Mana"}),(0,r.jsxs)("span",{className:"text-xs text-muted-foreground retro",children:[v.current,"/",v.max]})]}),(0,r.jsx)(g.default,{value:P,variant:"retro",className:"h-3"})]}),T&&N&&(0,r.jsxs)("div",{className:"space-y-1",children:[(0,r.jsxs)("div",{className:"flex sm:flex-row flex-col justify-between items-center",children:[(0,r.jsx)("span",{className:"font-medium text-sm text-yellow-800 dark:text-yellow-300",children:"Experience"}),(0,r.jsxs)("span",{className:"text-xs text-muted-foreground retro",children:[N.current,"/",N.max," XP"]})]}),(0,r.jsx)(j.Progress,{value:L,variant:"retro",progressBg:"bg-yellow-500",className:"h-3"})]})]}),I&&E.length>0&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(u.Separator,{}),(0,r.jsxs)("div",{className:"space-y-3",children:[(0,r.jsx)("h3",{className:"text-sm font-bold uppercase tracking-wide",children:"Attributes"}),(0,r.jsx)("div",{className:"grid grid-cols-2 sm:grid-cols-3 gap-3",children:E.map(e=>(0,r.jsxs)("div",{className:"flex items-center justify-between p-2 bg-muted/30 border-2",children:[(0,r.jsx)("span",{className:"text-xs font-bold",children:e.shortName}),(0,r.jsx)("span",{className:"text-xs font-bold",children:e.value})]},e.shortName))})]})]}),A&&w&&w.length>0&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(u.Separator,{}),(0,r.jsxs)("div",{className:"space-y-3",children:[(0,r.jsx)("h3",{className:"text-sm font-bold uppercase tracking-wide",children:"Stats"}),(0,r.jsx)("div",{className:"grid sm:grid-cols-2 gap-2",children:w.map(e=>(0,r.jsxs)("div",{className:"flex items-center justify-between py-1.5 px-2",children:[(0,r.jsxs)("span",{className:"text-xs text-muted-foreground flex items-center gap-1",children:[e.icon,e.name]}
1),(0,r.jsxs)("span",{className:(0,c.cn)("text-sm font-bold",e.color||"text-foreground"),children:[e.value,e.isPercentage&&"%",e.max&&!e.isPercentage&&`/${e.max}`]})]},e.name))})]})]}),B&&y&&y.length>0&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(u.Separator,{}),(0,r.jsxs)("div",{className:"space-y-3",children:[(0,r.jsx)("h3",{className:"text-sm font-bold uppercase tracking-wide",children:"Equipment"}),(0,r.jsx)("div",{className:"space-y-2",children:y.map(e=>(0,r.jsxs)("div",{className:"flex sm:flex-row flex-col items-center justify-between py-2 px-3 bg-muted/30 border-2",children:[(0,r.jsx)("span",{className:"text-xs text-muted-foreground uppercase",children:e.slot}),(0,r.jsxs)("span",{className:"text-sm font-medium flex items-center gap-1",children:[e.icon,e.name]})]},e.slot))})]})]}),C&&C.map((e,t)=>(0,r.jsxs)("div",{children:[(0,r.jsx)(u.Separator,{}),(0,r.jsxs)("div",{className:"space-y-3 pt-4",children:[(0,r.jsx)("h3",{className:"text-sm font-bold uppercase tracking-wide",children:e.title}),e.content]})]},t))]})]})};var w=e.i(530549);let b=[{label:"START GAME",action:()=>console.log("Starting game...")},{label:"OPTIONS",action:()=>console.log("Showing options...")},{label:"HIGH SCORES",action:()=>console.log("Showing high scores...")},{label:"MULTIPLAYER",action:()=>console.log("Multiplayer mode...")},{label:"QUIT",action:()=>console.log("Quitting game...")}];function v({className:e,...t}){return(0,r.jsxs)(h.Card,{className:(0,c.cn)(e),...t,children:[(0,r.jsxs)(h.CardHeader,{className:"flex flex-col items-center justify-center gap-2",children:[(0,r.jsx)(h.CardTitle,{children:"Main Menu"}),(0,r.jsx)(h.CardDescription,{children:"Retro 8-bit Quest"})]}),(0,r.jsx)(h.CardContent,{children:(0,r.jsx)("div",{className:"flex flex-col gap-4",children:b.map(e=>(0,r.jsx)(w.Button,{className:"flex items-center gap-2",children:(0,r.jsx)("span",{children:e.label})},e.label))})})]})}var N=e.i(632830);e.s(["ColumnOne",0,function({onReady:e}={}){return(0,i.useEffect)(()=>{e?.()},[e]),(0,r.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,r.jsx)(l.default,{}),(0,r.jsx)(s.default,{href:"/sponsors",children:(0,r.jsx)(h.Card,{children:(0,r.jsxs)(h.CardContent,{className:"flex flex-col items-center p-3 md:flex-row",children:[(0,r.jsx)(t.default,{alt:"Treasure",className:"pixelated",height:150,src:"/images/8bit-treasure.png",width:150}),(0,r.jsxs)("div",{className:"space-y-1",children:[(0,r.jsx)("p",{className:"font-bold text-sm",children:"Become a Sponsor"}),(0,r.jsx)("p",{className:"text-[10px] text-muted-foreground",children:"Help 8bitcn to grow"})]})]})})}),(0,r.jsxs)("div",{className:"mt-1.5 mb-2 flex flex-col gap-4 md:hidden",children:[(0,r.jsx)(w.Button,{children:"Button"}),(0,r.jsx)(a.DrawerExample,{}),(0,r.jsxs)(N.DropdownMenu,{children:[(0,r.jsx)(N.DropdownMenuTrigger,{asChild:!0,children:(0,r.jsx)(w.Button,{variant:"outline",children:"Dropdown Menu"})}),(0,r.jsxs)(N.DropdownMenuContent,{children:[(0,r.jsx)(N.DropdownMenuLabel,{children:"My Account"}),(0,r.jsx)(N.DropdownMenuSeparator,{}),(0,r.jsxs)(N.DropdownMenuGroup,{children:[(0,r.jsx)(N.DropdownMenuItem,{children:"Profile"}),(0,r.jsx)(N.DropdownMenuItem,{children:"Billing"})]})]})]})]}),(0,r.jsx)(v,{}),(0,r.jsx)("div",{className:"my-1.5",children:(0,r.jsxs)(n.Alert,{children:[(0,r.jsx)(n.AlertTitle,{children:"Info"}),(0,r.jsx)(n.AlertDescription,{children:"Your game progress has been saved successfully."})]})}),(0,r.jsx)("div",{className:"my-1.5",children:(0,r.jsxs)(n.Alert,{variant:"destructive",children:[(0,r.jsx)(n.AlertTitle,{children:"Warning"}),(0,r.jsx)(n.AlertDescription,{children:"Low health! Find a health potion quickly."})]})}),(0,r.jsxs)(h.Card,{children:[(0,r.jsxs)(h.CardHeader,{className:"flex flex-row items-center justify-between space-y-0 pb-2",children:[(0,r.jsx)(h.CardTitle,{className:"font-medium text-sm",children:"Active Now"}),(0,r.jsxs)("svg",{className:"size-6",fill:"currentColor",height:"50",stroke:"currentColor",strokeWidth:"0.25",viewBox:"0 0 256 256",width:"50",xmlns:"http://www.w3.org/2000/svg",children:[(0,r.jsx)("title",{children:"Activity"}),(0,r.jsx)("rect",{height:"14",rx:"1",width:"14",x:"160",y:"192"}),(0,r.jsx)("rect",{height:"14",rx:"1",width:"14",x:"164",y:"176"}),(0,r.jsx)("rect",{height:"14",rx:"1",width:"14",x:"168",y:"160"}),(0,r.jsx)("rect",{height:"14",rx:"1",width:"14",x:"172",y:"144"}),(0,r.jsx)("rect",{height:"14",rx:"1",width:"14",x:"176",y:"128"}),(0,r.jsx)("rect",{height:"14",rx:"1",width:"14",x:"192",y:"128"}),(0,r.jsx)("rect",{height:"14",rx:"1",width:"14",x:"64",y:"128"}),(0,r.jsx)("rect",{height:"14",rx:"1",width:"14",x:"152",y:"208"}),(0,r.jsx)("rect",{height:"14",rx:"1",width:"14",x:"84",y:"112"}),(0,r.jsx)("rect",{height:"14",rx:"1",width:"14",x:"88",y:"96"}),(0,r.jsx)("rect",{height:"14",rx:"1",width:"14",x:"92",y:"80"}),(0,r.jsx)("rect",{height:"14",rx:"1",width:"14",x:"96",y:"64"}),(0,r.jsx)("rect",{height:"14",rx:"1",width:"14",x:"104",y:"48"}),(0,r.jsx)("rect",{height:"14",rx:"1",width:"14",x:"80",y:"128"}),(0,r.jsx)("rect",{height:"14",rx:"1",width:"14",x:"120",y:"96"}),(0,r.jsx)("rect",{height:"14",rx:"1",width:"14",x:"116",y:"80"}),(0,r.jsx)("rect",{height:"14",rx:"1",width:"14",x:"112",y:"64"}),(0,r.jsx)("rect",{height:"14",rx:"1",width:"14",x:"136",y:"160"}),(0,r.jsx)("rect",{height:"14",rx:"1",width:"14",x:"140",y:"176"}),(0,r.jsx)("rect",{height:"14",rx:"1",width:"14",x:"124",y:"112"}),(0,r.jsx)("rect",{height:"14",rx:"1",width:"14",x:"128",y:"128"}),(0,r.jsx)("rect",{height:"14",rx:"1",width:"14",x:"132",y:"144"}),(0,r.jsx)("rect",{height:"14",rx:"1",width:"14",x:"144",y:"192"})]})]}),(0,r.jsxs)(h.CardContent,{children:[(0,r.jsx)("div",{className:"font-bold text-2xl",children:"+573"}),(0,r.jsx)("p",{className:"text-muted-foreground text-xs",children:"+201 since last hour"})]})]}),(0,r.jsxs)(h.Card,{children:[(0,r.jsxs)(h.CardHeader,{className:"flex flex-row items-center justify-between space-y-0 pb-2",children:[(0,r.jsx)(h.CardTitle,{className:"font-medium text-sm",children:"Subscriptions"}),(0,r.jsxs)("svg",{className:"size-6",fill:"currentColor",height:"50",stroke:"currentColor",strokeWidth:"0.25",viewBox:"0 0 256 256",width:"50",xmlns:"http://www.w3.org/2000/svg",children:[(0,r.jsx)("title",{children:"User"}),(0,r.jsx)("rect",{height:"14",rx:"1",width:"14",x:"64",y:"144"}),(0,r.jsx)("rect",{height:"14",rx:"1",width:"14",x:"96",y:"80"}),(0,r.jsx)("rect",{height:"14",rx:"1",width:"14",x:"144",y:"80"}),(0,r.jsx)("rect",{height:"14",rx:"1",width:"14",x:"192",y:"192"}),(0,r.jsx)("rect",{height:"14",rx:"1",width:"14",x:"176",y:"192"}),(0,r.jsx)("rect",{height:"14",rx:"1",width:"14",x:"64",y:"192"}),(0,r.jsx)("rect",{height:"14",rx:"1",width:"14",x:"48",y:"176"}),(0,r.jsx)("rect",{height:"14",rx:"1",width:"14",x:"48",y:"192"}),(0,r.jsx)("rect",{height:"14",rx:"1",width:"14",x:"192",y:"160"}),(0,r.jsx)("rect",{height:"14",rx:"1",width:"14",x:"176",y:"144"}),(0,r.jsx)("rect",{height:"14",rx:"1",width:"14",x:"192",y:"176"}),(0,r.jsx)("rect",{height:"14",rx:"1",width:"14",x:"48",y:"160"}),(0,r.jsx)("rect",{height:"14",rx:"1",width:"14",x:"96",y:"64"}),(0,r.jsx)("rect",{height:"14",rx:"1",width:"14",x:"112",y:"48"}),(0,r.jsx)("rect",{height:"14",rx:"1",width:"14",x:"128",y:"48"}),(0,r.jsx)("rect",{height:"14",rx:"1",width:"14",x:"144",y:"64"}),(0,r.jsx)("rect",{height:"14",rx:"1",width:"14",x:"144",y:"64"}),(0,r.jsx)("rect",{height:"14",rx:"1",width:"14",x:"112",y:"96"}),(0,r.jsx)("rect",{height:"14",rx:"1",width:"14",x:"128",y:"96"}),(0,r.jsx)("rect",{height:"14",rx:"1",width:"14",x:"80",y:"144"}),(0,r.jsx)("rect",{height:"14",rx:"1",width:"14",x:"96",y:"144"}),(0,r.jsx)("rect",{height:"14",rx:"1",width:"14",x:"112",y:"144"}),(0,r.jsx)("rect",{height:"14",rx:"1",width:"14",x:"128",y:"144"}),(0,r.jsx)("rect",{height:"14",rx:"1",width:"14",x:"144",y:"144"}),(0,r.jsx)("rect",{height:"14",rx:"1",width:"14",x:"160",y:"144"}),(0,r.jsx)("rect",{height:"14",rx:"1",width:"14",x:"80",y:"192"}),(0,r.jsx)("rect",{height:"14",rx:"1",width:"14",x:"96",y:"192"}),(0,r.jsx)("rect",{height:"14",rx:"1",width:"14",x:"112",y:"192"}),(0,r.jsx)("rect",{height:"14",rx:"1",width:"14",x:"128",y:"192"}),(0,r.jsx)("rect",{height:"14",rx:"1",width:"14",x:"144",y:"192"}),(0,r.jsx)("rect",{height:"14",rx:"1",width:"14",x:"160",y:"192"})]})]}),(0,r.jsxs)(h.CardContent,{children:[(0,r.jsx)("div",{className:"font-bold text-2xl",children:"+2350"}),(0,r.jsx)("p",{className:"text-muted-foreground text-xs",children:"+180.1% from last month"})]})]}),(0,r.jsxs)(h.Card,{children:[(0,r.jsx)(h.CardHeader,{children:(0,r.jsx)(h.CardTitle,{className:"font-medium text-sm",children:"Player Status"})}),(0,r.jsxs)(h.CardContent,{className:"flex flex-wrap gap-5",children:[(0,r.jsx)(x.Badge,{children:"Level 42"}),(0,r.jsx)(x.Badge,{children:"Warrior"}),(0,r.jsx)(x.Badge,{children:"Critical"}),(0,r.jsx)(x.Badge,{children:"Online"})]})]}),(0,r.jsx)(p,{avatarFallback:"MQ",characterClass:"Archmage",characterLevel:99,characterName:"Orc Mage",customSections:[{title:"Active Skills",content:(0,r.jsxs)("div",{className:"grid grid-cols-2 gap-2",children:[(0,r.jsx)("div",{className:"border-2 border-border bg-muted/30 p-2 text-center",children:(0,r.jsx)("span",{className:"text-purple-500 text-sm",children:"Fireball"})}),(0,r.jsx)("div",{className:"border-2 border-border bg-muted/30 p-2 text-center",children:(0,r.jsx)("span",{className:"text-blue-500 text-sm",children:"Ice Storm"})})]})}],health:{current:300,max:300},mana:{current:1500,max:1500},secondaryStats:[{name:"Magic Power",value:999},{name:"Spell Speed",value:85,isPercentage:!0}],showAttributes:!1,showEquipment:!1})]})}],753597)},494759,e=>{"use strict";var r=e.i(327193),t=e.i(173044),s=e.i(475127),i=e.i(79448),a=e.i(318203),l=e.i(431451),n=e.i(442194);function x({className:e,avatarSrc:t,avatarFallback:s,title:i,description:d,player:c=!0,...o}){return(0,r.jsxs)("div",{className:(0,a.cn)("flex gap-4 items-center",e),...o,children:[c&&(0,r.jsxs)(n.Avatar,{variant:"retro",className:"size-16",children:[(0,r.jsx)(n.AvatarImage,{src:t,alt:s}),(0,r.jsx)(n.AvatarFallback,{children:s})]}),(0,r.jsxs)(l.Alert,{className:(0,a.cn)("mx-0",!c&&"text-right"),children:[(0,r.jsx)(l.AlertTitle,{children:i}),(0,r.jsx)(l.AlertDescription,{children:d})]}),!c&&(0,r.jsxs)(n.Avatar,{variant:"retro",className:"size-16",children:[(0,r.jsx)(n.AvatarImage,{src:t,alt:s}),(0,r.jsx)(n.AvatarFallback,{children:s})]})]})}var d=e.i(530549),c=e.i(253452);function o({className:e,...t}){return(0,r.jsx)("div",{className:(0,a.cn)("flex flex-col gap-6",e),...t,children:(0,r.jsx)(c.Card,{className:"p-5",children:(0,r.jsxs)(c.CardContent,{className:"grid p-0 md:grid-cols-2",children:[(0,r.jsxs)("div",{className:"flex flex-col gap-5 px-5 py-15",children:[(0,r.jsxs)("div",{className:"flex flex-col items-center text-center",children:[(0,r.jsx)("h1",{className:"text-xl font-bold",children:"Game Over"}),(0,r.jsx)("p",{className:"text-balance text-xs text-muted-foreground",children:"Continue?"})]}),(0,r.jsxs)(d.Button,{className:"flex items-center",children:[(0,r.jsxs)("svg",{width:"50",height:"50",viewBox:"0 0 256 256",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",stroke:"currentColor",strokeWidth:"0.25",color:"",className:"size-6","aria-label":"repeat",children:[(0,r.jsx)("rect",{x:"184",y:"48",width:"14",height:"14",rx:"1"}),(0,r.jsx)("rect",{x:"200",y:"64",width:"14",height:"14",rx:"1"}),(0,r.jsx)("rect",{x:"184",y:"80",width:"14",height:"14",rx:"1"}),(0,r.jsx)("rect",{x:"184",y:"64",width:"14",height:"14",rx:"1"}),(0,r.jsx)("rect",{x:"168",y:"32",width:"14",height:"14",rx:"1"}
1),(0,r.jsx)("rect",{x:"168",y:"96",width:"14",height:"14",rx:"1"}),(0,r.jsx)("rect",{x:"168",y:"64",width:"14",height:"14",rx:"1"}),(0,r.jsx)("rect",{x:"152",y:"64",width:"14",height:"14",rx:"1"}),(0,r.jsx)("rect",{x:"136",y:"64",width:"14",height:"14",rx:"1"}),(0,r.jsx)("rect",{x:"120",y:"64",width:"14",height:"14",rx:"1"}),(0,r.jsx)("rect",{x:"56",y:"112",width:"14",height:"14",rx:"1"}),(0,r.jsx)("rect",{x:"56",y:"80",width:"14",height:"14",rx:"1"}),(0,r.jsx)("rect",{x:"88",y:"64",width:"14",height:"14",rx:"1"}),(0,r.jsx)("rect",{x:"104",y:"64",width:"14",height:"14",rx:"1"}),(0,r.jsx)("rect",{x:"56",y:"96",width:"14",height:"14",rx:"1"}),(0,r.jsx)("rect",{x:"72",y:"64",width:"14",height:"14",rx:"1"}),(0,r.jsx)("rect",{x:"56",y:"176",width:"14",height:"14",rx:"1"}),(0,r.jsx)("rect",{x:"184",y:"144",width:"14",height:"14",rx:"1"}),(0,r.jsx)("rect",{x:"56",y:"160",width:"14",height:"14",rx:"1"}),(0,r.jsx)("rect",{x:"184",y:"160",width:"14",height:"14",rx:"1"}),(0,r.jsx)("rect",{x:"72",y:"144",width:"14",height:"14",rx:"1"}),(0,r.jsx)("rect",{x:"40",y:"176",width:"14",height:"14",rx:"1"}),(0,r.jsx)("rect",{x:"168",y:"176",width:"14",height:"14",rx:"1"}),(0,r.jsx)("rect",{x:"152",y:"176",width:"14",height:"14",rx:"1"}),(0,r.jsx)("rect",{x:"136",y:"176",width:"14",height:"14",rx:"1"}),(0,r.jsx)("rect",{x:"120",y:"176",width:"14",height:"14",rx:"1"}),(0,r.jsx)("rect",{x:"184",y:"128",width:"14",height:"14",rx:"1"}),(0,r.jsx)("rect",{x:"56",y:"192",width:"14",height:"14",rx:"1"}),(0,r.jsx)("rect",{x:"88",y:"176",width:"14",height:"14",rx:"1"}),(0,r.jsx)("rect",{x:"104",y:"176",width:"14",height:"14",rx:"1"}),(0,r.jsx)("rect",{x:"72",y:"208",width:"14",height:"14",rx:"1"}),(0,r.jsx)("rect",{x:"72",y:"176",width:"14",height:"14",rx:"1"})]}),(0,r.jsx)("span",{children:"Retry"})]}),(0,r.jsxs)(d.Button,{className:"flex items-center",children:[(0,r.jsxs)("svg",{width:"50",height:"50",viewBox:"0 0 256 256",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",stroke:"currentColor",strokeWidth:"0.25",color:"",className:"size-6","aria-label":"x",children:[(0,r.jsx)("rect",{width:"14",height:"14",rx:"1",transform:"matrix(0 -1 -1 0 120 152)"}),(0,r.jsx)("rect",{width:"14",height:"14",rx:"1",transform:"matrix(0 -1 -1 0 104 168)"}),(0,r.jsx)("rect",{width:"14",height:"14",rx:"1",transform:"matrix(0 -1 -1 0 184 184)"}),(0,r.jsx)("rect",{width:"14",height:"14",rx:"1",transform:"matrix(0 -1 -1 0 88 184)"}),(0,r.jsx)("rect",{width:"14",height:"14",rx:"1",transform:"matrix(0 -1 -1 0 168 104)"}),(0,r.jsx)("rect",{width:"14",height:"14",rx:"1",transform:"matrix(0 -1 -1 0 184 88)"}),(0,r.jsx)("rect",{width:"14",height:"14",rx:"1",transform:"matrix(0 -1 -1 0 200 72)"}),(0,r.jsx)("rect",{width:"14",height:"14",rx:"1",transform:"matrix(0 -1 -1 0 200 200)"}),(0,r.jsx)("rect",{width:"14",height:"14",rx:"1",transform:"matrix(0 -1 -1 0 152 120)"}),(0,r.jsx)("rect",{width:"14",height:"14",rx:"1",transform:"matrix(0 -1 -1 0 152 152)"}),(0,r.jsx)("rect",{width:"14",height:"14",rx:"1",transform:"matrix(0 -1 -1 0 136 136)"}),(0,r.jsx)("rect",{width:"14",height:"14",rx:"1",transform:"matrix(0 -1 -1 0 120 120)"}),(0,r.jsx)("rect",{width:"14",height:"14",rx:"1",transform:"matrix(0 -1 -1 0 136 136)"}),(0,r.jsx)("rect",{width:"14",height:"14",rx:"1",transform:"matrix(0 -1 -1 0 168 168)"}),(0,r.jsx)("rect",{width:"14",height:"14",rx:"1",transform:"matrix(0 -1 -1 0 88 88)"}),(0,r.jsx)("rect",{width:"14",height:"14",rx:"1",transform:"matrix(0 -1 -1 0 72 72)"}),(0,r.jsx)("rect",{width:"14",height:"14",rx:"1",transform:"matrix(0 -1 -1 0 72 200)"}),(0,r.jsx)("rect",{width:"14",height:"14",rx:"1",transform:"matrix(0 -1 -1 0 104 104)"})]}),(0,r.jsx)("span",{children:"Exit"})]})]}),(0,r.jsx)("div",{className:"relative hidden bg-muted md:block",children:(0,r.jsx)("img",{src:"/images/8-bit-skull.png",alt:"Image",className:"absolute inset-0 h-full w-full object-cover dark:brightness-[0.2] dark:grayscale opacity-70"})})]})})})}var h=e.i(321108);function m({title:e="You made the Ogre angry!",description:s="This room doesn't exist. Turn back before it's too late.",cta:i="Return to Home Page",href:l="/",imageSrc:n="/images/8bit-ogre.png",className:x}){return(0,r.jsxs)("div",{className:(0,a.cn)("retro grid w-full place-content-center gap-5 bg-background px-4 py-16 text-center md:py-24",x),children:[(0,r.jsx)("div",{className:"retro font-bold text-6xl tracking-tight sm:text-8xl",children:"404"}),n&&(0,r.jsx)("div",{className:"flex justify-center -mt-10",children:(0,r.jsx)(t.default,{alt:"404",className:"pixelated",height:200,src:n,width:200})}),(0,r.jsx)("h1",{className:"retro font-bold text-2xl tracking-tight sm:text-4xl",children:e}),(0,r.jsx)("p",{className:"retro text-muted-foreground text-xs",children:s}),(0,r.jsx)("div",{className:"flex justify-center",children:(0,r.jsx)(d.Button,{asChild:!0,children:(0,r.jsx)(h.default,{href:l,children:i})})})]})}var g=e.i(294237),j=e.i(400541);let u=(0,g.cva)("",{variants:{variant:{default:"",retro:"retro"},size:{sm:"text-xs",md:"text-sm",lg:"text-base"},textColor:{red:"text-red-500",orange:"text-orange-500",yellow:"text-yellow-500",green:"text-green-500",blue:"text-blue-500",purple:"text-purple-500"}},defaultVariants:{variant:"retro",size:"md",textColor:"red"}});function f({className:e,variant:t,size:s,textColor:i,enemyName:l,level:n,currentHealth:x,maxHealth:d,showLevel:c=!0,showHealthText:o=!0,healthBarVariant:h="retro",healthBarColor:m="bg-red-500",enemyNameColor:g="text-foreground",...p}){let w=Math.max(0,Math.min(100,x/d*100)),b=`${x}
1/${d}`;return(0,r.jsxs)("div",{className:(0,a.cn)("relative w-full space-y-2",u({variant:t,size:s,textColor:i}),e),...p,children:[(0,r.jsxs)("div",{className:"flex items-center justify-between",children:[(0,r.jsxs)("div",{className:"flex items-center gap-2",children:[(0,r.jsx)("span",{className:(0,a.cn)("font-bold",g),children:l}),c&&n&&(0,r.jsxs)("span",{className:"text-muted-foreground",children:["Lv.",n]})]}),o&&(0,r.jsx)("span",{className:"text-muted-foreground text-[9px]",children:b})]}),(0,r.jsxs)("div",{className:"relative",children:[(0,r.jsx)(j.default,{value:w,variant:h,className:"w-full",props:{progressBg:m}}),"retro"===h&&(0,r.jsx)("div",{className:"absolute inset-0 flex items-center justify-center",children:(0,r.jsxs)("span",{className:"text-xs font-bold text-white drop-shadow-lg bg-black/50 px-1",children:[Math.round(w),"%"]})})]})]})}var p=e.i(754253),w=e.i(782890);let b=s.default.forwardRef(({className:e,variant:t="classic",...s},i)=>(0,r.jsxs)(r.Fragment,{children:["classic"===t&&(0,r.jsxs)("svg",{ref:i,width:"50",height:"50",viewBox:"0 0 256 256",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",stroke:"currentColor",strokeWidth:"0.25",className:(0,a.cn)("animate-spin size-5",e),role:"status","aria-label":"Loading",...s,children:[(0,r.jsx)("rect",{x:"200",y:"80",width:"14",height:"14",rx:"1"}),(0,r.jsx)("rect",{x:"200",y:"96",width:"14",height:"14",rx:"1"}),(0,r.jsx)("rect",{x:"184",y:"96",width:"14",height:"14",rx:"1"}),(0,r.jsx)("rect",{x:"184",y:"80",width:"14",height:"14",rx:"1"}),(0,r.jsx)("rect",{x:"200",y:"64",width:"14",height:"14",rx:"1"}),(0,r.jsx)("rect",{x:"168",y:"96",width:"14",height:"14",rx:"1"}),(0,r.jsx)("rect",{x:"168",y:"64",width:"14",height:"14",rx:"1"}),(0,r.jsx)("rect",{x:"152",y:"48",width:"14",height:"14",rx:"1"}),(0,r.jsx)("rect",{x:"136",y:"48",width:"14",height:"14",rx:"1"}),(0,r.jsx)("rect",{x:"120",y:"48",width:"14",height:"14",rx:"1"}),(0,r.jsx)("rect",{x:"56",y:"64",width:"14",height:"14",rx:"1"}),(0,r.jsx)("rect",{x:"72",y:"64",width:"14",height:"14",rx:"1"}),(0,r.jsx)("rect",{x:"88",y:"48",width:"14",height:"14",rx:"1"}),(0,r.jsx)("rect",{x:"104",y:"48",width:"14",height:"14",rx:"1"}),(0,r.jsx)("rect",{x:"56",y:"80",width:"14",height:"14",rx:"1"}),(0,r.jsx)("rect",{x:"40",y:"80",width:"14",height:"14",rx:"1"}),(0,r.jsx)("rect",{x:"40",y:"96",width:"14",height:"14",rx:"1"}),(0,r.jsx)("rect",{x:"40",y:"112",width:"14",height:"14",rx:"1"}),(0,r.jsx)("rect",{x:"72",y:"144",width:"14",height:"14",rx:"1"}),(0,r.jsx)("rect",{x:"40",y:"160",width:"14",height:"14",rx:"1"}),(0,r.jsx)("rect",{x:"104",y:"192",width:"14",height:"14",rx:"1"}),(0,r.jsx)("rect",{x:"88",y:"192",width:"14",height:"14",rx:"1"}),(0,r.jsx)("rect",{x:"40",y:"176",width:"14",height:"14",rx:"1"}),(0,r.jsx)("rect",{x:"56",y:"160",width:"14",height:"14",rx:"1"}),(0,r.jsx)("rect",{x:"56",y:"144",width:"14",height:"14",rx:"1"}),(0,r.jsx)("rect",{x:"40",y:"144",width:"14",height:"14",rx:"1"}),(0,r.jsx)("rect",{x:"120",y:"192",width:"14",height:"14",rx:"1"}),(0,r.jsx)("rect",{x:"136",y:"192",width:"14",height:"14",rx:"1"}),(0,r.jsx)("rect",{x:"152",y:"192",width:"14",height:"14",rx:"1"}),(0,r.jsx)("rect",{x:"168",y:"192",width:"14",height:"14",rx:"1"}),(0,r.jsx)("rect",{x:"72",y:"48",width:"14",height:"14",rx:"1"}),(0,r.jsx)("rect",{x:"72",y:"176",width:"14",height:"14",rx:"1"}),(0,r.jsx)("rect",{x:"168",y:"176",width:"14",height:"14",rx:"1"}),(0,r.jsx)("rect",{x:"184",y:"176",width:"14",height:"14",rx:"1"}),(0,r.jsx)("rect",{x:"184",y:"160",width:"14",height:"14",rx:"1"}),(0,r.jsx)("rect",{x:"200",y:"160",width:"14",height:"14",rx:"1"}),(0,r.jsx)("rect",{x:"200",y:"144",width:"14",height:"14",rx:"1"}),(0,r.jsx)("rect",{x:"200",y:"128",width:"14",height:"14",rx:"1"})]}),"diamond"===t&&(0,r.jsxs)("svg",{ref:i,viewBox:"0 0 20 20",fill:"currentColor",className:(0,a.cn)("size-4",e),role:"status","aria-label":"Loading",...s,children:[(0,r.jsx)("style",{dangerouslySetInnerHTML:{__html:`
2                @keyframes spin-pixel {
3                    0% { opacity: 0; }
4                    1% { opacity: 1; }
5                    100% { opacity: 0; }
6                }
7                .pixel-1 { animation: spin-pixel 0.8s ease-in-out 0s infinite; }
8                .pixel-2 { animation: spin-pixel 0.8s ease-in-out 0.1s infinite; }
9                .pixel-3 { animation: spin-pixel 0.8s ease-in-out 0.2s infinite; }
10                .pixel-4 { animation: spin-pixel 0.8s ease-in-out 0.3s infinite; }
11                .pixel-5 { animation: spin-pixel 0.8s ease-in-out 0.4s infinite; }
12                .pixel-6 { animation: spin-pixel 0.8s ease-in-out 0.5s infinite; }
13                .pixel-7 { animation: spin-pixel 0.8s ease-in-out 0.6s infinite; }
14                .pixel-8 { animation: spin-pixel 0.8s ease-in-out 0.7s infinite; }
15              `}}),(0,r.jsx)("rect",{className:"pixel-1",x:"8",y:"0",width:"4",height:"4"}),(0,r.jsx)("rect",{className:"pixel-2",x:"12",y:"4",width:"4",height:"4"}),(0,r.jsx)("rect",{className:"pixel-3",x:"16",y:"8",width:"4",height:"4"}),(0,r.jsx)("rect",{className:"pixel-4",x:"12",y:"12",width:"4",height:"4"}),(0,r.jsx)("rect",{className:"pixel-5",x:"8",y:"16",width:"4",height:"4"}),(0,r.jsx)("rect",{className:"pixel-6",x:"4",y:"12",width:"4",height:"4"}),(0,r.jsx)("rect",{className:"pixel-7",x:"0",y:"8",width:"4",height:"4"}),(0,r.jsx)("rect",{className:"pixel-8",x:"4",y:"4",width:"4",height:"4"})]})]}));b.displayName="Spinner";var v=e.i(387206);function N({className:e,variant:t,value:s,levelUpMessage:i="LEVEL UP!",...l}){let n=100===s;return(0,r.jsxs)("div",{className:(0,a.cn)("relative",e),children:[(0,r.jsx)(v.Progress,{...l,value:s,variant:t,className:(0,a.cn)(n&&"animate-pulse"),progressBg:"bg-yellow-500"}),n&&(0,r.jsx)("div",{className:(0,a.cn)("retro","absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2","text-[0.625rem] text-black","pointer-events-none whitespace-nowrap z-10","drop-shadow-[1px_1px_0_#fff] [text-shadow:1px_1px_0_#fff,-1px_-1px_0_#fff,1px_-1px_0_#fff,-1px_1px_0_#fff]","animate-[blink_0.5s_step-end_infinite]"),children:i}),(0,r.jsx)("style",{children:`
16        @keyframes blink {
17          0%, 100% { opacity: 1; }
18          50% { opacity: 0; }
19        }
20      `})]})}e.s(["FeatureColumn",0,function({onReady:e}={}){return(0,s.useEffect)(()=>{e?.()},[e]),(0,r.jsxs)("div",{className:"flex flex-col gap-1 lg:col-span-2",children:[(0,r.jsxs)(c.Card,{children:[(0,r.jsx)(c.CardHeader,{children:(0,r.jsx)(c.CardTitle,{className:"font-medium text-sm",children:"Party (3/5)"})}),(0,r.jsx)(c.CardContent,{className:"pt-0",children:(0,r.jsxs)("div",{className:"grid gap-3 md:grid-cols-3",children:[(0,r.jsxs)("div",{className:"p-2",children:[(0,r.jsxs)("div",{className:"w-full",children:[(0,r.jsxs)("div",{className:"retro mb-1 flex justify-between text-[10px]",children:[(0,r.jsx)("span",{children:"Wizard MP"}),(0,r.jsx)("span",{children:"140/180"})]}),(0,r.jsx)(p.default,{className:"w-full",value:65,variant:"retro"})]}),(0,r.jsx)(t.default,{alt:"Wizard",className:"pixelated mx-auto mt-2",height:140,src:"/images/8bit-wizard.png",width:140})]}),(0,r.jsxs)("div",{className:"p-2",children:[(0,r.jsxs)("div",{className:"w-full",children:[(0,r.jsxs)("div",{className:"retro mb-1 flex justify-between text-[10px]",children:[(0,r.jsx)("span",{children:"Troll HP"}),(0,r.jsx)("span",{children:"320/450"})]}),(0,r.jsx)(j.default,{className:"w-full",value:71,variant:"retro"})]}),(0,r.jsx)(t.default,{alt:"Troll",className:"pixelated mx-auto mt-2",height:140,src:"/images/8bit-troll.png",width:140})]}),(0,r.jsxs)("div",{className:"p-2",children:[(0,r.jsxs)("div",{className:"w-full",children:[(0,r.jsxs)("div",{className:"retro mb-1 flex justify-between text-[10px]",children:[(0,r.jsx)("span",{children:"Orc XP"}),(0,r.jsx)("span",{children:"980/1200"})]}),(0,r.jsx)(N,{levelUpMessage:"DING",value:82,variant:"retro"})]}),(0,r.jsx)(t.default,{alt:"Orc Warrior",className:"pixelated mx-auto mt-2",height:140,src:"/images/8bit-orc-warrior.png",width:140})]})]})})]}),(0,r.jsx)(c.Card,{children:(0,r.jsx)(c.CardContent,{className:"flex flex-col gap-4",children:(0,r.jsxs)("div",{className:"flex flex-wrap gap-4",children:[(0,r.jsx)(b,{className:"size-10",variant:"diamond"}),(0,r.jsx)(b,{className:"size-10",variant:"classic"}),(0,r.jsxs)(w.Select,{children:[(0,r.jsx)(w.SelectTrigger,{"aria-label":"Theme",className:"w-[180px]",children:(0,r.jsx)(w.SelectValue,{placeholder:"Theme"})}),(0,r.jsxs)(w.SelectContent,{children:[(0,r.jsx)(w.SelectItem,{value:"light",children:"Light"}),(0,r.jsx)(w.SelectItem,{value:"dark",children:"Dark"}),(0,r.jsx)(w.SelectItem,{value:"system",children:"System"})]})]}),(0,r.jsx)("div",{className:"flex items-center justify-center",children:(0,r.jsx)(i.DatePicker,{className:"w-full max-w-[300px]"})}),(0,r.jsx)(f,{currentHealth:850,enemyName:"Fire Dragon",level:25,maxHealth:1e3}),(0,r.jsxs)("div",{className:"w-full",children:[(0,r.jsxs)("div",{className:"retro mb-1 flex justify-between text-[10px]",children:[(0,r.jsx)("span",{children:"XP"}),(0,r.jsx)("span",{children:"1400/1400"})]}),(0,r.jsx)(N,{levelUpMessage:"DING",value:100,variant:"retro"})]})]})})}),(0,r.jsx)(c.Card,{children:(0,r.jsxs)(c.CardContent,{className:"flex flex-col gap-4",children:[(0,r.jsx)(x,{avatarFallback:"Orc",avatarSrc:"/images/pixelized-8bitcnorc.jpg",description:"I bring you a gift… it's called A
20XE TO THE FACE! SLASH!!",title:"Orc"}),(0,r.jsx)("div",{className:"flex justify-end",children:(0,r.jsx)(x,{avatarFallback:"Goblin",avatarSrc:"/images/goblin.png",description:"`Screeches like a dying flute`",player:!1,title:"Goblin"})})]})}),(0,r.jsx)(o,{}),(0,r.jsx)(c.Card,{children:(0,r.jsx)(c.CardContent,{children:(0,r.jsx)(m,{})})})]})}],494759)},166911,e=>{"use strict";var r=e.i(327193),t=e.i(475127),s=e.i(413416),i=e.i(244342),a=e.i(70085),l=e.i(530549),n=e.i(253452),x=e.i(162601),d=e.i(632830),c=e.i(248780),o=e.i(386162),h=e.i(883266),m=e.i(170870);e.s(["InteractiveColumn",0,function({onReady:e}={}){return(0,t.useEffect)(()=>{e?.()},[e]),(0,r.jsxs)("div",{className:"flex w-full flex-col gap-1",children:[(0,r.jsxs)("div",{className:"mt-1.5 mb-2 hidden flex-col gap-4 md:flex",children:[(0,r.jsx)(l.Button,{children:"Button"}),(0,r.jsx)(i.DrawerExample,{}),(0,r.jsxs)(d.DropdownMenu,{children:[(0,r.jsx)(d.DropdownMenuTrigger,{asChild:!0,children:(0,r.jsx)(l.Button,{variant:"outline",children:"Dropdown Menu"})}),(0,r.jsxs)(d.DropdownMenuContent,{children:[(0,r.jsx)(d.DropdownMenuLabel,{children:"My Account"}),(0,r.jsx)(d.DropdownMenuSeparator,{}),(0,r.jsxs)(d.DropdownMenuGroup,{children:[(0,r.jsx)(d.DropdownMenuItem,{children:"Profile"}),(0,r.jsx)(d.DropdownMenuItem,{children:"Billing"})]})]})]})]}),(0,r.jsx)(c.Input,{"aria-label":"Name",autoComplete:"name",placeholder:"Enter your name"}),(0,r.jsxs)(h.Menubar,{children:[(0,r.jsxs)(h.MenubarMenu,{children:[(0,r.jsx)(h.MenubarTrigger,{children:"File"}),(0,r.jsxs)(h.MenubarContent,{children:[(0,r.jsxs)(h.MenubarItem,{children:["New Tab ",(0,r.jsx)(h.MenubarShortcut,{children:"⌘T"})]}),(0,r.jsx)(h.MenubarItem,{children:"New Window"}),(0,r.jsx)(h.MenubarSeparator,{}),(0,r.jsx)(h.MenubarItem,{children:"Share"}),(0,r.jsx)(h.MenubarSeparator,{}),(0,r.jsx)(h.MenubarItem,{children:"Print"})]})]}),(0,r.jsxs)(h.MenubarMenu,{children:[(0,r.jsx)(h.MenubarTrigger,{children:"Edit"}),(0,r.jsxs)(h.MenubarContent,{children:[(0,r.jsx)(h.MenubarItem,{children:"Undo"}),(0,r.jsx)(h.MenubarItem,{children:"Redo"}),(0,r.jsx)(h.MenubarSeparator,{})]})]})]}),(0,r.jsx)(a.default,{}),(0,r.jsx)("div",{className:"my-1",children:(0,r.jsx)(s.CommandExample,{})}),(0,r.jsxs)(n.Card,{children:[(0,r.jsx)(n.CardHeader,{className:"flex flex-row items-center justify-between space-y-0 pb-2",children:(0,r.jsx)(n.CardTitle,{className:"font-medium text-sm",children:"Product Details"})}),(0,r.jsx)(n.CardContent,{children:(0,r.jsxs)("div",{className:"grid gap-6",children:[(0,r.jsxs)("div",{className:"grid gap-3",children:[(0,r.jsx)(o.Label,{htmlFor:"name",children:"Name"}),(0,r.jsx)(c.Input,{className:"w-full",defaultValue:"Gamer Gear",id:"name",type:"text"})]}),(0,r.jsxs)("div",{className:"grid gap-3",children:[(0,r.jsx)(o.Label,{htmlFor:"description",children:"Description"}),(0,r.jsx)(m.Textarea,{className:"min-h-32",defaultValue:"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nullam auctor, nisl nec ultricies ultricies, nunc nisl ultricies nunc, nec ultricies nunc nisl nec nunc.",id:"description"})]})]})})]}),(0,r.jsxs)(n.Card,{children:[(0,r.jsx)(n.CardHeader,{children:(0,r.jsx)(n.CardTitle,{className:"font-medium text-sm",children:"Game Options"})}),(0,r.jsxs)(n.CardContent,{className:"space-y-3",children:[(0,r.jsxs)("div",{className:"flex items-center gap-4",children:[(0,r.jsx)(x.Checkbox,{defaultChecked:!0,id:"autosave"}),(0,r.jsx)(o.Label,{htmlFor:"autosave",children:"Auto-save enabled"})]}),(0,r.jsxs)("div",{className:"flex items-center gap-4",children:[(0,r.jsx)(x.Checkbox,{id:"notifications"}),(0,r.jsx)(o.Label,{htmlFor:"notifications",children:"Show notifications"})]}),(0,r.jsxs)("div",{className:"flex items-center gap-4",children:[(0,r.jsx)(x.Checkbox,{defaultChecked:!0,id:"fullscreen"}),(0,r.jsx)(o.Label,{htmlFor:"fullscreen",children:"Fullscreen mode"})]}),(0,r.jsxs)("div",{className:"flex items-center gap-4",children:[(0,r.jsx)(x.Checkbox,{id:"hardcore"}),(0,r.jsx)(o.Label,{htmlFor:"hardcore",children:"Hardcore mode"})]})]})]}),(0,r.jsxs)(n.Card,{children:[(0,r.jsx)(n.CardHeader,{className:"flex",children:(0,r.jsx)(n.CardTitle,{className:"font-medium text-sm",children:"Warriors"})}),(0,r.jsxs)(n.CardContent,{children:[(0,r.jsx)("div",{className:"font-bold text-2xl",children:"+100"}),(0,r.jsx)("p",{className:"text-muted-foreground text-xs",children:"+42% since last month"})]})]}),(0,r.jsxs)(n.Card,{children:[(0,r.jsx)(n.CardHeader,{className:"flex",children:(0,r.jsx)(n.CardTitle,{className:"font-medium text-sm",children:"Wizards"})}),(0,r.jsxs)(n.CardContent,{children:[(0,r.jsx)("div",{className:"font-bold text-2xl",children:"+1000"}),(0,r.jsx)("p",{className:"text-muted-foreground text-xs",children:"+31% since last month"})]})]})]})}])},45109,e=>{"use strict";var r=e.i(327193),t=e.i(750276),s=e.i(167881),i=e.i(514690),a=e.i(729034),l=e.i(625257),n=e.i(783375),x=e.i(551952);e.s(["ThemeSelector",0,function(){let{activeTheme:e,setActiveTheme:d}=(0,a.useThemeConfig)();return(0,r.jsxs)("div",{className:"flex items-center justify-between gap-2 border-y border-dashed p-5",children:[(0,r.jsx)("div",{className:"w-64",children:(0,r.jsx)(n.SelectThemeDropdown,{activeTheme:e,setActiveTheme:d})}),(0,r.jsxs)(t.Dialog,{children:[(0,r.jsx)(t.DialogTrigger,{asChild:!0,children:(0,r.jsx)(s.Button,{children:"Copy"})}),(0,r.jsx)(t.DialogContent,{children:(0,r.jsxs)(x.ScrollArea,{className:"max-h-[80vh]",children:[(0,r.jsxs)(t.DialogHeader,{children:[(0,r.jsx)(t.DialogTitle,{children:"Theme"}),(0,r.jsx)(t.DialogDescription,{children:"Copy and paste the following code into your CSS file."})]}),(0,r.jsx)(l.default,{children:(0,i.getThemeCode)(e)})]})})]})]})}])},442194,e=>{"use strict";var r=e.i(327193),t=e.i(475127),s=e.i(7950),i=e.i(294237),a=e.i(318203);(0,i.cva)("",{variants:{font:{normal:"",retro:"retro"},variant:{default:"",retro:"",pixel:""}},defaultVariants:{font:"retro",variant:"pixel"}});let l=(0,t.forwardRef)(({className:e="",font:t,variant:i="pixel",...l},n)=>{let x="pixel"===i;return(0,r.jsxs)("div",{className:(0,a.cn)("relative size-max",e),children:[x&&(0,r.jsxs)("div",{className:"absolute inset-0 w-full h-full pointer-events-none",style:{zIndex:10},children:[(0,r.jsx)("div",{className:"absolute top-0 left-[23%] right-[23%] h-[7%] bg-foreground dark:bg-ring"}),(0,r.jsx)("div",{className:"absolute top-[6.25%] left-[17%] right-[17%] h-[7%] bg-foreground dark:bg-ring"}),(0,r.jsx)("div",{className:"absolute top-[12.5%] left-[11%] h-[7%] bg-foreground dark:bg-ring w-[20%]"}),(0,r.jsx)("div",{className:"absolute top-[12.5%] right-[11%] h-[7%] bg-foreground dark:bg-ring w-[20%]"}),(0,r.jsx)("div",{className:"absolute top-[18.75%] left-[5%] w-[20%] h-[7%] bg-foreground dark:bg-ring"}),(0,r.jsx)("div",{className:"absolute top-[18.75%] right-[5%] w-[20%] h-[7%] bg-foreground dark:bg-ring"}),(0,r.jsx)("div",{className:"absolute top-[25%] left-0 w-[20%] h-[7%] bg-foreground dark:bg-ring"}),(0,r.jsx)("div",{className:"absolute top-[25%] right-0 w-[20%] h-[7%] bg-foreground dark:bg-ring"}),(0,r.jsx)("div",{className:"absolute top-[31.25%] left-0 w-[13.5%] h-[13%] bg-foreground dark:bg-ring"}),(0,r.jsx)("div",{className:"absolute top-[31.25%] right-0 w-[13.5%] h-[13%] bg-foreground dark:bg-ring"}),(0,r.jsx)("div",{className:"absolute top-[43.75%] left-0 w-[13.5%] h-[7%] bg-foreground dark:bg-ring"}),(0,r.jsx)("div",{className:"absolute top-[43.75%] right-0 w-[13.5%] h-[7%] bg-foreground dark:bg-ring"}),(0,r.jsx)("div",{className:"absolute top-[50%] left-0 w-[13.5%] h-[7%] bg-foreground dark:bg-ring"}),(0,r.jsx)("div",{className:"absolute top-[50%] right-0 w-[13.5%] h-[7%] bg-foreground dark:bg-ring"}),(0,r.jsx)("div",{className:"absolute top-[56.25%] left-0 w-[13.5%] h-[13%] bg-foreground dark:bg-ring"}),(0,r.jsx)("div",{className:"absolute top-[56.25%] right-0 w-[13.5%] h-[13%] bg-foreground dark:bg-ring"}),(0,r.jsx)("div",{className:"absolute top-[68.75%] left-0 w-[20%] h-[7%] bg-foreground dark:bg-ring"}),(0,r.jsx)("div",{className:"absolute top-[68.75%] right-0 w-[20%] h-[7%] bg-foreground dark:bg-ring"}),(0,r.jsx)("div",{className:"absolute top-[75%] left-[5%] w-[20%] h-[7%] bg-foreground dark:bg-ring"}),(0,r.jsx)("div",{className:"absolute top-[75%] right-[5%] w-[20%] h-[7%] bg-foreground dark:bg-ring"}),(0,r.jsx)("div",{className:"absolute top-[81.25%] left-[11%] h-[7%] bg-foreground dark:bg-ring w-[20%]"}),(0,r.jsx)("div",{className:"absolute top-[81.25%] right-[11%] h-[7%] bg-foreground dark:bg-ring w-[20%]"}),(0,r.jsx)("div",{className:"absolute top-[87.5%] left-[17%] right-[17%] h-[7%] bg-foreground dark:bg-ring"}),(0,r.jsx)("div",{className:"absolute bottom-0 left-[23%] right-[23%] h-[7%] bg-foreground dark:bg-ring"})]}),(0,r.jsx)(s.Root,{ref:n,"data-slot":"avatar",className:(0,a.cn)("relative flex size-10 shrink-0 overflow-hidden text-xs",!x&&"rounded-none",x&&"rounded-full","normal"!==t&&"retro","retro"===i&&"image-rendering-pixelated",e),...l}),!x&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("div",{className:"absolute top-0 left-0 w-full h-1.5 bg-foreground dark:bg-ring pointer-events-none"}),(0,r.jsx)("div",{className:"absolute bottom-0 w-full h-1.5 bg-foreground dark:bg-ring pointer-events-none"}),(0,r.jsx)("div",{className:"absolute top-1.5 -left-1.5 w-1.5 h-1/2 bg-foreground dark:bg-ring pointer-events-none"}),(0,r.jsx)("div",{className:"absolute bottom-1.5 -left-1.5 w-1.5 h-1/2 bg-foreground dark:bg-ring pointer-events-none"}),(0,r.jsx)("div",{className:"absolute top-1.5 -right-1.5 w-1.5 h-1/2 bg-foreground dark:bg-ring pointer-events-none"}),(0,r.jsx)("div",{className:"absolute bottom-1.5 -right-1.5 w-1.5 h-1/2 bg-foreground dark:bg-ring pointer-events-none"})]})]})});l.displayName=s.Root.displayName;let n=(0,t.forwardRef)(({className:e,font:t,...i},l)=>(0,r.jsx)(s.Image,{ref:l,"data-slot":"avatar-image",className:(0,a.cn)("aspect-square h-full w-full","retro"===t&&"retro",e),...i}));n.displayName=s.Image.displayName;let x=(0,t.forwardRef)(({className:e,...t},i)=>(0,r.jsx)(s.Fallback,{ref:i,"data-slot":"avatar-fallback",className:(0,a.cn)("flex h-full w-full items-center justify-center rounded-full bg-muted text-foreground",e),...t}));x.displayName=s.Fallback.displayName,e.s(["Avatar",0,l,"AvatarFallback",0,x,"AvatarImage",0,n])},162601,e=>{"use strict";var r=e.i(327193),t=e.i(294237),s=e.i(318203),i=e.i(625959);(0,t.cva)("",{variants:{font:{normal:"",retro:"retro"}},defaultVariants:{font:"retro"}}),e.s(["Checkbox",0,function({className:e,font:t,...a}){return(0,r.jsxs)("div",{className:(0,s.cn)("relative flex items-center justify-center border-y-6 border-foreground dark:border-ring",e),children:[(0,r.jsx)(i.Checkbox,{className:(0,s.cn)("rounded-none size-5 ring-0 border-none","normal"!==t&&"retro",e),...a}),(0,r.jsx)("div",{className:"absolute inset-0 border-x-6 -mx-1.5 border-foreground dark:border-ring pointer-events-none","aria-hidden":"true"})]})}])},750276,e=>{"use strict";var r=e.i(327193),t=e.i(294237),s=e.i(318203),i=e.i(630374);let a=i.Dialog,l=i.DialogTrigger,n=i.DialogHeader,x=i.DialogDescription;i.DialogClose,i.DialogFooter,(0,t.cva)("",{variants:{font:{normal:"",retro:"retro"}},defaultVariants:{font:"retro"}}),e.s(["Dialog",0,a,"DialogContent",0,function({className:e,children:t,font:a,...l}){return(0,r.jsxs)(i.DialogContent,{className:(0,s.cn)("bg-card rounded-none border-none","normal"!==a&&"retro",e),...l,children:[t,(0,r.jsx)("div",{className:"absolute inset-0 border-x-6 -mx-1.5 border-foreground dark:border-ring pointer-events-none","aria-hidden":"true"}),(0,r.jsx)("div",{className:"absolute inset-0 border-y-6 -my-1.5 border-foreground dark:border-ring pointer-events-none","aria-hidden":"true"})]})},"DialogDescription",0,x,"DialogHeader",0,n,"DialogTitle",0,function({...e}){let{className:t,font:a}=e;return(0,r.jsx)(i.DialogTitle,{className:(0,s.cn)("normal"!==a&&"retro",t),...e})},"DialogTrigger",0,l])},632830,e=>{"use strict";var r=e.i(327193),t=e.i(294237),s=e.i(318203),i=e.i(463415);let a=i.DropdownMenu;i.DropdownMenuPortal;let l=i.DropdownMenuTrigger,n=i.DropdownMenuGroup,x=i.DropdownMenuLabel,d=i.DropdownMenuSeparator;i.DropdownMenuShortcut,i.DropdownMenuSub;let c=i.DropdownMenuCheckboxItem;(0,t.cva)("",{variants:{font:{normal:"",retro:"retro"}},defaultVariants:{font:"retro"}}),e.s(["DropdownMenu",0,a,"DropdownMenuCheckboxItem",0,c,"DropdownMenuContent",0,function({children:e,font:t,className:a,...l}){return(0,r.jsxs)(i.DropdownMenuContent,{className:(0,s.cn)("mt-1 py-2","normal"!==t&&"retro",a),...l,children:[e,(0,r.jsx)("div",{className:"mt-2.5 absolute inset-0 border-x-6 -mx-1.5 border-foreground dark:border-ring pointer-events-none","aria-hidden":"true"}),(0,r.jsx)("div",{className:"mt-1 absolute inset-0 border-y-6 -my-1.5 border-foreground dark:border-ring pointer-events-none","aria-hidden":"true"})]})},"DropdownMenuGroup",0,n,"DropdownMenuItem",0,function({className:e,children:t,...a}){return(0,r.jsx)(i.DropdownMenuItem,{className:(0,s.cn)("hover:bg-transparent active:bg-transparent focus:bg-transparent roun
20ded-none border-dashed border-y-3 border-transparent focus:border-foreground hover:border-foreground dark:focus:border-ring bg-transparent",e),...a,children:t})},"DropdownMenuLabel",0,x,"DropdownMenuSeparator",0,d,"DropdownMenuTrigger",0,l])},754253,e=>{"use strict";var r=e.i(327193),t=e.i(387206);e.s(["default",0,function({className:e,variant:s,value:i,...a}){return(0,r.jsx)(t.Progress,{...a,value:i,variant:s,className:e,progressBg:"bg-blue-500"})}])},170870,e=>{"use strict";var r=e.i(327193),t=e.i(294237),s=e.i(318203);function i({className:e,...t}){return(0,r.jsx)("textarea",{"data-slot":"textarea",className:(0,s.cn)("border-input placeholder:text-muted-foreground focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive dark:bg-input/30 flex field-sizing-content min-h-16 w-full rounded-md border bg-transparent px-3 py-2 text-base shadow-xs transition-[color,box-shadow] outline-none focus-visible:ring-[3px] disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",e),...t})}(0,t.cva)("",{variants:{font:{normal:"",retro:"retro"}},defaultVariants:{font:"retro"}}),e.s(["Textarea",0,function({...e}){let{className:t,font:a}=e;return(0,r.jsxs)("div",{className:(0,s.cn)("relative w-full",t),children:[(0,r.jsx)(i,{...e,className:(0,s.cn)("rounded-none transition-transform ring-0 border-0","normal"!==a&&"retro",t)}),(0,r.jsx)("div",{className:"absolute inset-0 border-y-6 -my-1.5 border-foreground dark:border-ring pointer-events-none","aria-hidden":"true"}),(0,r.jsx)("div",{className:"absolute inset-0 border-x-6 -mx-1.5 border-foreground dark:border-ring pointer-events-none","aria-hidden":"true"})]})}],170870)},915064,e=>{"use strict";var r=e.i(475127);e.s(["useShowcaseScrollGuard",0,function(e=!0){(0,r.useEffect)(()=>{if(!e)return;let r=Element.prototype.scrollIntoView;Element.prototype.scrollIntoView=()=>{};let t=requestAnimationFrame(()=>{window.scrollY>0&&!window.location.hash&&window.scrollTo(0,0)}),s=setTimeout(()=>{Element.prototype.scrollIntoView=r},600);return()=>{cancelAnimationFrame(t),clearTimeout(s),Element.prototype.scrollIntoView=r}},[e])}])}]);

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.