1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,413416,e=>{"use strict";var r=e.i(327193),t=e.i(325954);let a=[{value:"Calendar",symbol:(0,r.jsx)("span",{children:"Calendar"})},{value:"Search Emoji",symbol:(0,r.jsx)("span",{children:"Search Emoji"})},{value:"Calculator",symbol:(0,r.jsx)("span",{children:"Calculator"})}],n=[{value:"Profile",symbol:(0,r.jsx)("span",{children:"Profile"}),shortcut:"âP"},{value:"Billing",symbol:(0,r.jsx)("span",{children:"Billing"}),shortcut:"âB"},{value:"Settings",symbol:(0,r.jsx)("span",{children:"Settings"}),shortcut:"âS"}];e.s(["CommandExample",0,function(){return(0,r.jsxs)(t.Command,{defaultValue:"",children:[(0,r.jsx)(t.CommandInput,{placeholder:"Type a command..."}),(0,r.jsxs)(t.CommandList,{children:[(0,r.jsx)(t.CommandEmpty,{children:"No results found."}),(0,r.jsx)(t.CommandGroup,{heading:"Suggestions",children:a.map(e=>(0,r.jsx)(t.CommandItem,{value:e.value,children:e.symbol},e.value))}),(0,r.jsx)(t.CommandSeparator,{}),(0,r.jsx)(t.CommandGroup,{heading:"Settings",children:n.map(e=>(0,r.jsxs)(t.CommandItem,{value:e.value,children:[e.symbol,(0,r.jsx)(t.CommandShortcut,{children:e.shortcut})]},e.value))})]})]})}])},70085,e=>{"use strict";var r=e.i(327193),t=e.i(475127),a=e.i(318203),n=e.i(530549),o=e.i(253452);e.s(["default",0,function({className:e,value:i,defaultValue:l="normal",onChange:d,title:s="Select Difficulty",description:u,vertical:c=!0,...m}){let f=void 0!==i,[h,p]=t.useState(l),g=f?i:h,x=t.useCallback(e=>{f||p(e),d?.(e)},[f,d]);return(0,r.jsxs)(o.Card,{className:(0,a.cn)(e),...m,children:[(0,r.jsxs)(o.CardHeader,{className:"flex flex-col items-center justify-center gap-4",children:[(0,r.jsx)(o.CardTitle,{children:s}),u?(0,r.jsx)(o.CardDescription,{children:u}):null]}),(0,r.jsx)(o.CardContent,{children:(0,r.jsxs)("div",{className:(0,a.cn)("gap-4",c?"flex flex-col":"flex flex-row"),children:[(0,r.jsx)(n.Button,{className:"flex items-center justify-center",variant:"easy"===g?"default":"secondary",onClick:()=>x("easy"),children:"EASY"}),(0,r.jsx)(n.Button,{className:"flex items-center justify-center",variant:"normal"===g?"default":"secondary",onClick:()=>x("normal"),children:"NORMAL"}),(0,r.jsx)(n.Button,{className:"flex items-center justify-center",variant:"hard"===g?"default":"secondary",onClick:()=>x("hard"),children:"HARD"})]})})]})}])},325954,e=>{"use strict";var r=e.i(327193),t=/[\\\/_+.#"@\[\(\{&]/,a=/[\\\/_+.#"@\[\(\{&]/g,n=/[\s-]/,o=/[\s-]/g;function i(e){return e.toLowerCase().replace(o," ")}var l=e.i(684533),d=e.i(475127),s=e.i(943001),u=e.i(168048),c=e.i(443644),m='[cmdk-group=""]',f='[cmdk-group-items=""]',h='[cmdk-item=""]',p=`${h}:not([aria-disabled="true"])`,g="cmdk-item-select",x="data-value",v=(e,r,l)=>{var d;return d=e,function e(r,i,l,d,s,u,c){if(u===i.length)return s===r.length?1:.99;var m=`${s},${u}`;if(void 0!==c[m])return c[m];for(var f,h,p,g,x=d.charAt(u),v=l.indexOf(x,s),b=0;v>=0;)(f=e(r,i,l,d,v+1,u+1,c))>b&&(v===s?f*=1:t.test(r.charAt(v-1))?(f*=.8,(p=r.slice(s,v-1).match(a))&&s>0&&(f*=Math.pow(.999,p.length))):n.test(r.charAt(v-1))?(f*=.9,(g=r.slice(s,v-1).match(o))&&s>0&&(f*=Math.pow(.999,g.length))):(f*=.17,s>0&&(f*=Math.pow(.999,v-s))),r.charAt(v)!==i.charAt(u)&&(f*=.9999)),(f<.1&&l.charAt(v-1)===d.charAt(u+1)||d.charAt(u+1)===d.charAt(u)&&l.charAt(v-1)!==d.charAt(u))&&.1*(h=e(r,i,l,d,v+1,u+2,c))>f&&(f=.1*h),f>b&&(b=f),v=l.indexOf(x,v+1);return c[m]=b,b}(d=l&&l.length>0?`${d+" "+l.join(" ")}`:d,r,i(d),i(r),0,0,{})},b=d.createContext(void 0),y=d.createContext(void 0),w=d.createContext(void 0),j=d.forwardRef((e,r)=>{let t=P(()=>{var r,t;return{search:"",value:null!=(t=null!=(r=e.value)?r:e.defaultValue)?t:"",selectedItemId:void 0,filtered:{count:0,items:new Map,groups:new Set}}}),a=P(()=>new Set),n=P(()=>new Map),o=P(()=>new Map),i=P(()=>new Set),l=M(e),{label:c,children:w,value:j,onValueChange:C,filter:k,shouldFilter:N,loop:E,disablePointerSelection:R=!1,vimBindings:S=!0,...I}=e,D=(0,u.useId)(),_=(0,u.useId)(),F=(0,u.useId)(),L=d.useRef(null),K=O();A(()=>{if(void 0!==j){let e=j.trim();
1t.current.value=e,B.emit()}},[j]),A(()=>{K(6,U)},[]);let B=d.useMemo(()=>({subscribe:e=>(i.current.add(e),()=>i.current.delete(e)),snapshot:()=>t.current,setState:(e,r,a)=>{var n,o,i,d;if(!Object.is(t.current[e],r)){if(t.current[e]=r,"search"===e)q(),V(),K(1,$);else if("value"===e){if(document.activeElement.hasAttribute("cmdk-input")||document.activeElement.hasAttribute("cmdk-root")){let e=document.getElementById(F);e?e.focus():null==(n=document.getElementById(D))||n.focus()}if(K(7,()=>{var e;t.current.selectedItemId=null==(e=W())?void 0:e.id,B.emit()}),a||K(5,U),(null==(o=l.current)?void 0:o.value)!==void 0){null==(d=(i=l.current).onValueChange)||d.call(i,null!=r?r:"");return}}B.emit()}},emit:()=>{i.current.forEach(e=>e())}}),[]),G=d.useMemo(()=>({value:(e,r,a)=>{var n;r!==(null==(n=o.current.get(e))?void 0:n.value)&&(o.current.set(e,{value:r,keywords:a}),t.current.filtered.items.set(e,H(r,a)),K(2,()=>{V(),B.emit()}))},item:(e,r)=>(a.current.add(e),r&&(n.current.has(r)?n.current.get(r).add(e):n.current.set(r,new Set([e]))),K(3,()=>{q(),V(),t.current.value||$(),B.emit()}),()=>{o.current.delete(e),a.current.delete(e),t.current.filtered.items.delete(e);let r=W();K(4,()=>{q(),(null==r?void 0:r.getAttribute("id"))===e&&$(),B.emit()})}),group:e=>(n.current.has(e)||n.current.set(e,new Set),()=>{o.current.delete(e),n.current.delete(e)}),filter:()=>l.current.shouldFilter,label:c||e["aria-label"],getDisablePointerSelection:()=>l.current.disablePointerSelection,listId:D,inputId:F,labelId:_,listInnerRef:L}),[]);function H(e,r){var a,n;let o=null!=(n=null==(a=l.current)?void 0:a.filter)?n:v;return e?o(e,t.current.search,r):0}function V(){if(!t.current.search||!1===l.current.shouldFilter)return;let e=t.current.filtered.items,r=[];t.current.filtered.groups.forEach(t=>{let a=n.current.get(t),o=0;a.forEach(r=>{o=Math.max(e.get(r),o)}),r.push([t,o])});let a=L.current;Y().sort((r,t)=>{var a,n;let o=r.getAttribute("id"),i=t.getAttribute("id");return(null!=(a=e.get(i))?a:0)-(null!=(n=e.get(o))?n:0)}).forEach(e=>{let r=e.closest(f);r?r.appendChild(e.parentElement===r?e:e.closest(`${f} > *`)):a.appendChild(e.parentElement===a?e:e.closest(`${f} > *`))}),r.sort((e,r)=>r[1]-e[1]).forEach(e=>{var r;let t=null==(r=L.current)?void 0:r.querySelector(`${m}[${x}="${encodeURIComponent(e[0])}"]`);null==t||t.parentElement.appendChild(t)})}function $(){let e=Y().find(e=>"true"!==e.getAttribute("aria-disabled")),r=null==e?void 0:e.getAttribute(x);B.setState("value",r||void 0)}function q(){var e,r,i,d;if(!t.current.search||!1===l.current.shouldFilter){t.current.filtered.count=a.current.size;return}t.current.filtered.groups=new Set;let s=0;for(let n of a.current){let a=H(null!=(r=null==(e=o.current.get(n))?void 0:e.value)?r:"",null!=(d=null==(i=o.current.get(n))?void 0:i.keywords)?d:[]);t.current.filtered.items.set(n,a),a>0&&s++}for(let[e,r]of n.current)for(let a of r)if(t.current.filtered.items.get(a)>0){t.current.filtered.groups.add(e);break}t.current.filtered.count=s}function U(){var e,r,t;let a=W();a&&((null==(e=a.parentElement)?void 0:e.firstChild)===a&&(null==(t=null==(r=a.closest(m))?void 0:r.querySelector('[cmdk-group-heading=""]'))||t.scrollIntoView({block:"nearest"})),a.scrollIntoView({block:"nearest"}))}function W(){var e;return null==(e=L.current)?void 0:e.querySelector(`${h}[aria-selected="true"]`)}function Y(){var e;return Array.from((null==(e=L.current)?void 0:e.querySelectorAll(p))||[])}function J(e){let r=Y()[e];r&&B.setState("value",r.getAttribute(x))}function Q(e){var r;let t=W(),a=Y(),n=a.findIndex(e=>e===t),o=a[n+e];null!=(r=l.current)&&r.loop&&(o=n+e<0?a[a.length-1]:n+e===a.length?a[0]:a[n+e]),o&&B.setState("value",o.getAttribute(x))}function X(e){let r=W(),t=null==r?void 0:r.closest(m),a;for(;t&&!a;)a=null==(t=e>0?function(e,r){let t=e.nextElementSibling;for(;t;){if(t.matches(r))return t;t=t.nextElementSibling}}(t,m):function(e,r){let t=e.previousElementSibling;for(;t;){if(t.matches(r))return t;t=t.previousElementSibling}}(t,m))?void 0:t.querySelector(p);a?B.setState("value",a.getAttribute(x)):Q(e)}let Z=()=>J(Y().length-1),ee=e=>{e.preventDefault(),e.metaKey?Z():e.altKey?X(1):Q(1)},er=e=>
1{e.preventDefault(),e.metaKey?J(0):e.altKey?X(-1):Q(-1)};return d.createElement(s.Primitive.div,{ref:r,tabIndex:-1,...I,"cmdk-root":"",onKeyDown:e=>{var r;null==(r=I.onKeyDown)||r.call(I,e);let t=e.nativeEvent.isComposing||229===e.keyCode;if(!(e.defaultPrevented||t))switch(e.key){case"n":case"j":S&&e.ctrlKey&&ee(e);break;case"ArrowDown":ee(e);break;case"p":case"k":S&&e.ctrlKey&&er(e);break;case"ArrowUp":er(e);break;case"Home":e.preventDefault(),J(0);break;case"End":e.preventDefault(),Z();break;case"Enter":{e.preventDefault();let r=W();if(r){let e=new Event(g);r.dispatchEvent(e)}}}}},d.createElement("label",{"cmdk-label":"",htmlFor:G.inputId,id:G.labelId,style:T},c),z(e,e=>d.createElement(y.Provider,{value:B},d.createElement(b.Provider,{value:G},e))))}),C=d.forwardRef((e,r)=>{var t,a;let n=(0,u.useId)(),o=d.useRef(null),i=d.useContext(w),l=d.useContext(b),m=M(e),f=null!=(a=null==(t=m.current)?void 0:t.forceMount)?a:null==i?void 0:i.forceMount;A(()=>{if(!f)return l.item(n,null==i?void 0:i.id)},[f]);let h=_(n,o,[e.value,e.children,o],e.keywords),p=d.useContext(y),x=D(e=>e.value&&e.value===h.current),v=D(e=>!!f||!1===l.filter()||!e.search||e.filtered.items.get(n)>0);function j(){var e,r;C(),null==(r=(e=m.current).onSelect)||r.call(e,h.current)}function C(){p.setState("value",h.current,!0)}if(d.useEffect(()=>{let r=o.current;if(!(!r||e.disabled))return r.addEventListener(g,j),()=>r.removeEventListener(g,j)},[v,e.onSelect,e.disabled]),!v)return null;let{disabled:k,value:N,onSelect:E,forceMount:R,keywords:S,...I}=e;return d.createElement(s.Primitive.div,{ref:(0,c.composeRefs)(o,r),...I,id:n,"cmdk-item":"",role:"option","aria-disabled":!!k,"aria-selected":!!x,"data-disabled":!!k,"data-selected":!!x,onPointerMove:k||l.getDisablePointerSelection()?void 0:C,onClick:k?void 0:j},e.children)}),k=d.forwardRef((e,r)=>{let{heading:t,children:a,forceMount:n,...o}=e,i=(0,u.useId)(),l=d.useRef(null),m=d.useRef(null),f=(0,u.useId)(),h=d.useContext(b),p=D(e=>!!n||!1===h.filter()||!e.search||e.filtered.groups.has(i));A(()=>h.group(i),[]),_(i,l,[e.value,e.heading,m]);let g=d.useMemo(()=>({id:i,forceMount:n}),[n]);return d.createElement(s.Primitive.div,{ref:(0,c.composeRefs)(l,r),...o,"cmdk-group":"",role:"presentation",hidden:!p||void 0},t&&d.createElement("div",{ref:m,"cmdk-group-heading":"","aria-hidden":!0,id:f},t),z(e,e=>d.createElement("div",{"cmdk-group-items":"",role:"group","aria-labelledby":t?f:void 0},d.createElement(w.Provider,{value:g},e))))}),N=d.forwardRef((e,r)=>{let{alwaysRender:t,...a}=e,n=d.useRef(null),o=D(e=>!e.search);return t||o?d.createElement(s.Primitive.div,{ref:(0,c.composeRefs)(n,r),...a,"cmdk-separator":"",role:"separator"}):null}),E=d.forwardRef((e,r)=>{let{onValueChange:t,...a}=e,n=null!=e.value,o=d.useContext(y),i=D(e=>e.search),l=D(e=>e.selectedItemId),u=d.useContext(b);return d.useEffect(()=>{null!=e.value&&o.setState("search",e.value)},[e.value]),d.createElement(s.Primitive.input,{ref:r,...a,"cmdk-input":"",autoComplete:"off",autoCorrect:"off",spellCheck:!1,"aria-autocomplete":"list",role:"combobox","aria-expanded":!0,"aria-controls":u.listId,"aria-labelledby":u.labelId,"aria-activedescendant":l,id:u.inputId,type:"text",value:n?e.value:i,onChange:e=>{n||o.setState("search",e.target.value),null==t||t(e.target.value)}})}),R=d.forwardRef((e,r)=>{let{children:t,label:a="Suggestions",...n}=e,o=d.useRef(null),i=d.useRef(null),l=D(e=>e.selectedItemId),u=d.useContext(b);return d.useEffect(()=>{if(i.current&&o.current){let e=i.current,r=o.current,t,a=new ResizeObserver(()=>{t=requestAnimationFrame(()=>{let t=e.offsetHeight;r.style.setProperty("--cmdk-list-height",t.toFixed(1)+"px")})});return a.observe(e),()=>{cancelAnimationFrame(t),a.unobserve(e)}}},[]),d.createElement(s.Primitive.div,{ref:(0,c.composeRefs)(o,r),...n,"cmdk-list":"",role:"listbox",tabIndex:-1,"aria-activedescendant":l,"aria-label":a,id:u.listId},z(e,e=>d.createElement("div",{ref:(0,c.composeRefs)(i,u.listInnerRef),"cmdk-list-sizer":""},e)))}),S=d.forwardRef((e,r)=>{let{open:t,onOpenChange:a,overlayClassName:n,contentClassName:o,container:i,...s}=e;return d.createElement(l.Root,{open:t,onOpenChange:a},d.createElement(l.Portal,{container:i},d.createElement(l.Overlay,{"cmdk-overlay":"",className:n}),d.createElement(l.Content,{"aria-label":e.label,"cmdk-dialog":"",className:o},d.createElement(j,{ref:r,...s}))))}),I=Object.assign(j,{List:R,Item:C,Input:E,Group:k,Separator:N,Dialog:S,Empty:d.forwardRef((e,r)=>D(e=>0===e.filtered.count)?d.createElement(s.Primitive.div,{ref:r,...e,"cmdk-empty":"",role:"presentation"}):null),Loading:d.forwardRef((e,r)=>{let{progress:t,children:a,label:n="Loading...",...o}=e;return d.createElement(s.Primitive.div,{ref:r,...o,"cmdk-loading":"",role:"progressbar","aria-valuenow":t,"aria-valuemin":0,"aria-valuemax":100,"aria-label":n},z(e,e=>d.createElement("div",{"aria-hidden":!0},e)))})});function M(e){let r=d.useRef(e);return A(()=>{r.current=e}),r}var A="u"<typeof window?d.useEffect:d.useLayoutEffect;function P(e){let r=d.useRef();return void 0===r.current&&(r.current=e()),r}function D(e){let r=d.useContext(y),t=()=>e(r.snapshot());return d.useSyncExternalStore(r.subscribe,t,t)}function _(e,r,t,a=[]){let n=d.useRef(),o=d.useContext(b);return A(()=>{var i;let l=(()=>{var e;
1for(let r of t){if("string"==typeof r)return r.trim();if("object"==typeof r&&"current"in r)return r.current?null==(e=r.current.textContent)?void 0:e.trim():n.current}})(),d=a.map(e=>e.trim());o.value(e,l,d),null==(i=r.current)||i.setAttribute(x,l),n.current=l}),n}var O=()=>{let[e,r]=d.useState(),t=P(()=>new Map);return A(()=>{t.current.forEach(e=>e()),t.current=new Map},[e]),(e,a)=>{t.current.set(e,a),r({})}};function z({asChild:e,children:r},t){let a;return e&&d.isValidElement(r)?d.cloneElement("function"==typeof(a=r.type)?a(r.props):"render"in a?a.render(r.props):r,{ref:r.ref},t(r.props.children)):t(r)}var T={position:"absolute",width:"1px",height:"1px",padding:"0",margin:"-1px",overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",borderWidth:"0"},F=e.i(318203),L=e.i(788369);function K({className:e,...t}){return(0,r.jsx)("div",{className:"relative p-0",children:(0,r.jsx)(I,{"data-slot":"command",className:(0,F.cn)("bg-popover text-popover-foreground flex h-full w-full flex-col overflow-hidden rounded-md",e,e),...t})})}function B({className:e,...t}){return(0,r.jsx)(I.List,{"data-slot":"command-list",className:(0,F.cn)("max-h-[300px] scroll-py-1 overflow-x-hidden overflow-y-auto",e),...t})}function G({...e}){return(0,r.jsx)(I.Empty,{"data-slot":"command-empty",className:"py-6 text-center text-sm",...e})}function H({className:e,...t}){return(0,r.jsx)(I.Group,{"data-slot":"command-group",className:(0,F.cn)("text-foreground [&_[cmdk-group-heading]]:text-muted-foreground overflow-hidden p-1 [&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:py-1.5 [&_[cmdk-group-heading]]:text-xs [&_[cmdk-group-heading]]:font-medium",e),...t})}function V({className:e,...t}){return(0,r.jsx)(I.Separator,{"data-slot":"command-separator",className:(0,F.cn)("bg-border -mx-1 h-px",e),...t})}function $({className:e,...t}){return(0,r.jsx)(I.Item,{"data-slot":"command-item",className:(0,F.cn)("data-[selected=true]:bg-accent data-[selected=true]:text-accent-foreground [&_svg:not([class*='text-'])]:text-muted-foreground relative flex cursor-default items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-hidden select-none data-[disabled=true]:pointer-events-none data-[disabled=true]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",e),...t})}function q({className:e,...t}){return(0,r.jsx)("span",{"data-slot":"command-shortcut",className:(0,F.cn)("text-muted-foreground ml-auto text-xs tracking-widest",e),...t})}e.i(630374),e.s(["Command",0,function({className:e,...t}){return(0,r.jsxs)("div",{className:(0,F.cn)("relative !p-0",e),children:[(0,r.jsx)(K,{"data-slot":"command",className:(0,F.cn)("bg-popover text-popover-foreground flex h-full !w-full flex-col overflow-hidden rounded-md","retro",e),...t}),(0,r.jsx)("div",{className:"absolute -top-1.5 w-1/2 left-1.5 h-1.5 bg-foreground dark:bg-ring"}),(0,r.jsx)("div",{className:"absolute -top-1.5 w-1/2 right-1.5 h-1.5 bg-foreground dark:bg-ring"}),(0,r.jsx)("div",{className:"absolute -bottom-1.5 w-1/2 left-1.5 h-1.5 bg-foreground dark:bg-ring"}),(0,r.jsx)("div",{className:"absolute -bottom-1.5 w-1/2 right-1.5 h-1.5 bg-foreground dark:bg-ring"}),(0,r.jsx)("div",{className:"absolute top-0 left-0 size-1.5 bg-foreground dark:bg-ring"}),(0,r.jsx)("div",{className:"absolute top-0 right-0 size-1.5 bg-foreground dark:bg-ring"}),(0,r.jsx)("div",{className:"absolute bottom-0 left-0 size-1.5 bg-foreground dark:bg-ring"}),(0,r.jsx)("div",{className:"absolute bottom-0 right-0 size-1.5 bg-foreground dark:bg-ring"}),(0,r.jsx)("div",{className:"absolute top-1.5 -left-1.5 h-1/2 w-1.5 bg-foreground dark:bg-ring"}),(0,r.jsx)("div",{className:"absolute top-1.5 -right-1.5 h-1/2 w-1.5 bg-foreground dark:bg-ring"}),(0,r.jsx)("div",{className:"absolute bottom-1.5 -left-1.5 h-1/2 w-1.5 bg-foreground dark:bg-ring"}),(0,r.jsx)("div",{className:"absolute bottom-1.5 -right-1.5 h-1/2 w-1.5 bg-foreground dark:bg-ring"})]})},"CommandEmpty",0,function({...e}){return(0,r.jsx)(G,{"data-slot":"command-empty",className:"py-6 text-center text-sm",...e})},"CommandGroup",0,function({className:e,...t}){return(0,r.jsx)(H,{"data-slot":"command-group",className:(0,F.cn)("text-foreground [&_[cmdk-group-heading]]:text-muted-foreground overflow-hidden p-1 [&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:py-1.5 [&_[cmdk-group-heading]]:text-xs [&_[cmdk-group-heading]]:font-medium","retro",e),...t})},"CommandInput",0,function({className:e,...t}){return(0,r.jsxs)("div",{"data-slot":"command-input-wrapper",className:"flex h-10 items-center gap-2 border-b px-3",children:[(0,r.jsxs)("svg",{width:"30",height:"30",viewBox:"0 0 256 256",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",stroke:"currentColor",strokeWidth:"0.25","aria-label":"search",children:[(0,r.jsx)("rect",{x:"88",y:"56",width:"14",height:"14",rx:"1"}),(0,r.jsx)("rect",{x:"72",y:"72",width:"14",height:"14",rx:"1"}),(0,r.jsx)("rect",{x:"56",y:"88",width:"14",height:"14",rx:"1"}),(0,r.jsx)("rect",{x:"56",y:"104",width:"14",height:"14",rx:"1"}),(0,r.jsx)("rect",{x:"56",y:"120",width:"14",height:"14",rx:"1"}),(0,r.jsx)("rect",{x:"72",y:"136",width:"14",height:"14",rx:"1"}),(0,r.jsx)("rect",{x:"88",y:"152",width:"14",height:"14",rx:"1"}),(0,r.jsx)("rect",{x:"104",y:"152",width:"14",height:"14",rx:"1"}),(0,r.jsx)("rect",{x:"120",y:"152",width:"14",height:"14",rx:"1"}),(0,r.jsx)("rect",{x:"136",y:"136",width:"14",height:"14",rx:"1"}),(0,r.jsx)("rect",{x:"152",y:"120",width:"14",height:"14",rx:"1"}),(0,r.jsx)("rect",{x:"152",y:"104",width:"14",height:"14",rx:"1"}),(0,r.jsx)("rect",{x:"152",y:"88",width:"14",height:"14",rx:"1"}),(0,r.jsx)("rect",{x:"136",y:"72",width:"14",height:"14",rx:"1"}),(0,r.jsx)("rect",{x:"120",y:"56",width:"14",height:"14",rx:"1"}),(0,r.jsx)("rect",{x:"104",y:"56",width:"14",height:"14",rx:"1"}),(0,r.jsx)("rect",{x:"152",y:"152",width:"14",height:"14",rx:"1"}),(0,r.jsx)("rect",{x:"168",y:"168",width:"14",height:"14",rx:"1"}),(0,r.jsx)("rect",{x:"184",y:"184",width:"14",height:"14",rx:"1"})]}),(0,r.jsx)(I.Input,{"data-slot":"command-input",className:(0,F.cn)("placeholder:text-muted-foreground flex h-10 w-full rounded-md bg-transparent py-3 text-sm outline-hidden disabled:cursor-not-allowed disabled:opacity-50",e),...t})]})},"CommandItem",0,function({className:e,...t}){return(0,r.jsx)($,{"data-slot":"command-item",className:(0,F.cn)("rounded-none border-dashed border-y-3 border-ring/0 hover:border-foreground dark:hover:border-ring",e),...t})},"CommandList",0,function({className:e,...t}){return(0,r.jsx)(B,{"data-slot":"command-list",className:(0,F.cn)("max-h-[320px] scroll-py-1 overflow-x-hidden overflow-y-auto","retro",e),...t})},"CommandSeparator",0,function({className:e,...t}){return(0,r.jsx)(V,{"data-slot":"command-separator",className:(0,F.cn)("data-[orientation=horizontal]:bg-[length:16px_8px] data-[orientation=horizontal]:bg-[linear-gradient(90deg,var(--foreground)_75%,transparent_75%)] dark:data-[orientation=horizontal]:bg-[linear-gradient(90deg,var(--ring)_75%,transparent_75%)] shrink-0 data-[orientation=horizontal]:h-0.5 data-[orientation=horizontal]:w-full data-[orientation=vertical]:h-full data-[orientation=vertical]:w-0.5 data-[orientation=vertical]:bg-[length:2px_16px] data-[orientation=vertical]:bg-[linear-gradient(0deg,var(--foreground)_75%,transparent_75%)] dark:data-[orientation=vertical]:bg-[linear-gradient(0deg,var(--ring)_75%,transparent_75%)]","retro",e),...t,children:(0,r.jsx)(L.Separator,{})})},"CommandShortcut",0,function({className:e,...t}){return(0,r.jsx)(q,{className:(0,F.cn)("","retro",e),...t})}],325954)},883266,e=>{"use strict";var r=e.i(327193),t=e.i(475127),a=e.i(724112),n=e.i(97229),o=e.i(515201),i=e.i(443644),l=e.i(767240),d=e.i(168048),s=e.i(882177),u=e.i(448680),c=e.i(943001),m=e.i(559451),f="Menubar",[h,p,g]=(0,a.createCollection)(f),[x,v]=(0,l.createContextScope)(f,[g,u.createRovingFocusGroupScope]),b=(0,s.createMenuScope)(),y=(0,u.createRovingFocusGroupScope)(),[w,j]=x(f),C=t.forwardRef((e,a)=>{let{__scopeMenubar:o,value:i,onValueChange:l,defaultValue:d,loop:s=!0,dir:p,...g}=e,x=(0,n.useDirection)(p),v=y(o),[b,j]=(0,m.useControllableState)({prop:i,onChange:l,defaultProp:d??"",caller:f}),[C,k]=t.useState(null);return(0,r.jsx)(w,{scope:o,value:b,onMenuOpen:t.useCallback(e=>{j(e),k(e)},[j]),onMenuClose:t.useCallback(()=>j(""),[j]),onMenuToggle:t.useCallback(e=>{j(r=>r?"":e),k(e)},[j]),dir:x,loop:s,children:(0,r.jsx)(h.Provider,{scope:o,children:(0,r.jsx)(h.Slot,{scope:o,children:(0,r.jsx)(u.Root,{asChild:!0,...v,orientation:"horizontal",loop:s,dir:x,currentTabStopId:C,onCurrentTabStopIdChange:k,children:(0,r.jsx)(c.Primitive.div,{role:"menubar",...g,ref:a})})})})})});C.displayName=f;var k="MenubarMenu",[N,E]=x(k),R=e=>{let{__scopeMenubar:a,value:n,...o}=e,i=(0,d.useId)(),l=n||i||"LEGACY_REACT_AUTO_VALUE",u=j(k,a),c=b(a),m=t.useRef(null),f=t.useRef(!1),h=u.value===l;return t.useEffect(()=>{h||(f.current=!1)}
1,[h]),(0,r.jsx)(N,{scope:a,value:l,triggerId:(0,d.useId)(),triggerRef:m,contentId:(0,d.useId)(),wasKeyboardTriggerOpenRef:f,children:(0,r.jsx)(s.Root,{...c,open:h,onOpenChange:e=>{e||u.onMenuClose()},modal:!1,dir:u.dir,...o})})};R.displayName=k;var S="MenubarTrigger",I=t.forwardRef((e,a)=>{let{__scopeMenubar:n,disabled:l=!1,...d}=e,m=y(n),f=b(n),p=j(S,n),g=E(S,n),x=t.useRef(null),v=(0,i.useComposedRefs)(a,x,g.triggerRef),[w,C]=t.useState(!1),k=p.value===g.value;return(0,r.jsx)(h.ItemSlot,{scope:n,value:g.value,disabled:l,children:(0,r.jsx)(u.Item,{asChild:!0,...m,focusable:!l,tabStopId:g.value,children:(0,r.jsx)(s.Anchor,{asChild:!0,...f,children:(0,r.jsx)(c.Primitive.button,{type:"button",role:"menuitem",id:g.triggerId,"aria-haspopup":"menu","aria-expanded":k,"aria-controls":k?g.contentId:void 0,"data-highlighted":w?"":void 0,"data-state":k?"open":"closed","data-disabled":l?"":void 0,disabled:l,...d,ref:v,onPointerDown:(0,o.composeEventHandlers)(e.onPointerDown,e=>{!l&&0===e.button&&!1===e.ctrlKey&&(p.onMenuOpen(g.value),k||e.preventDefault())}),onPointerEnter:(0,o.composeEventHandlers)(e.onPointerEnter,()=>{p.value&&!k&&(p.onMenuOpen(g.value),x.current?.focus())}),onKeyDown:(0,o.composeEventHandlers)(e.onKeyDown,e=>{!l&&(["Enter"," "].includes(e.key)&&p.onMenuToggle(g.value),"ArrowDown"===e.key&&p.onMenuOpen(g.value),["Enter"," ","ArrowDown"].includes(e.key)&&(g.wasKeyboardTriggerOpenRef.current=!0,e.preventDefault()))}),onFocus:(0,o.composeEventHandlers)(e.onFocus,()=>C(!0)),onBlur:(0,o.composeEventHandlers)(e.onBlur,()=>C(!1))})})})})});I.displayName=S;var M=e=>{let{__scopeMenubar:t,...a}=e,n=b(t);return(0,r.jsx)(s.Portal,{...n,...a})};M.displayName="MenubarPortal";var A="MenubarContent",P=t.forwardRef((e,a)=>{let{__scopeMenubar:n,align:i="start",...l}=e,d=b(n),u=j(A,n),c=E(A,n),m=p(n),f=t.useRef(!1);return(0,r.jsx)(s.Content,{id:c.contentId,"aria-labelledby":c.triggerId,"data-radix-menubar-content":"",...d,...l,ref:a,align:i,onCloseAutoFocus:(0,o.composeEventHandlers)(e.onCloseAutoFocus,e=>{u.value||f.current||c.triggerRef.current?.focus(),f.current=!1,e.preventDefault()}),onFocusOutside:(0,o.composeEventHandlers)(e.onFocusOutside,e=>{let r=e.target;m().some(e=>e.ref.current?.contains(r))&&e.preventDefault()}),onInteractOutside:(0,o.composeEventHandlers)(e.onInteractOutside,()=>{f.current=!0}),onEntryFocus:e=>{c.wasKeyboardTriggerOpenRef.current||e.preventDefault()},onKeyDown:(0,o.composeEventHandlers)(e.onKeyDown,e=>{if(["ArrowRight","ArrowLeft"].includes(e.key)){var r,t;let a=e.target,n=a.hasAttribute("data-radix-menubar-subtrigger"),o=a.closest("[data-radix-menubar-content]")!==e.currentTarget,i=("rtl"===u.dir?"ArrowRight":"ArrowLeft")===e.key;if(!i&&n||o&&i)return;let l=m().filter(e=>!e.disabled).map(e=>e.value);i&&l.reverse();let d=l.indexOf(c.value),[s]=l=u.loop?(r=l,t=d+1,r.map((e,a)=>r[(t+a)%r.length])):l.slice(d+1);s&&u.onMenuOpen(s)}},{checkForDefaultPrevented:!1}),style:{...e.style,"--radix-menubar-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-menubar-content-available-width":"var(--radix-popper-available-width)","--radix-menubar-content-available-height":"var(--radix-popper-available-height)","--radix-menubar-trigger-width":"var(--radix-popper-anchor-width)","--radix-menubar-trigger-height":"var(--radix-popper-anchor-height)"}})});P.displayName=A;var D=t.forwardRef((e,t)=>{let{__scopeMenubar:a,...n}=e,o=b(a);return(0,r.jsx)(s.Group,{...o,...n,ref:t})});D.displayName="MenubarGroup";var _=t.forwardRef((e,t)=>{let{__scopeMenubar:a,...n}=e,o=b(a);return(0,r.jsx)(s.Label,{...o,...n,ref:t})});_.displayName="MenubarLabel";var O=t.forwardRef((e,t)=>{let{__scopeMenubar:a,...n}=e,o=b(a);return(0,r.jsx)(s.Item,{...o,...n,ref:t})});O.displayName="MenubarItem";var z=t.forwardRef((e,t)=>{let{__scopeMenubar:a,...n}=e,o=b(a);return(0,r.jsx)(s.CheckboxItem,{...o,...n,ref:t})});z.displayName="MenubarCheckboxItem";var T=t.forwardRef((e,t)=>{let{__scopeMenubar:a,...n}=e,o=b(a);return(0,r.jsx)(s.RadioGroup,{...o,...n,ref:t})});T.displayName="MenubarRadioGroup";var F=t.forwardRef((e,t)=>{let{__scopeMenubar:a,...n}=e,o=b(a);return(0,r.jsx)(s.RadioItem,{...o,...n,ref:t})});F.displayName="MenubarRadioItem";var L=t.forwardRef((e,t)=>
1{let{__scopeMenubar:a,...n}=e,o=b(a);return(0,r.jsx)(s.ItemIndicator,{...o,...n,ref:t})});L.displayName="MenubarItemIndicator";var K=t.forwardRef((e,t)=>{let{__scopeMenubar:a,...n}=e,o=b(a);return(0,r.jsx)(s.Separator,{...o,...n,ref:t})});K.displayName="MenubarSeparator",t.forwardRef((e,t)=>{let{__scopeMenubar:a,...n}=e,o=b(a);return(0,r.jsx)(s.Arrow,{...o,...n,ref:t})}).displayName="MenubarArrow";var B="MenubarSub",G=e=>{let{__scopeMenubar:t,children:a,open:n,onOpenChange:o,defaultOpen:i}=e,l=b(t),[d,u]=(0,m.useControllableState)({prop:n,defaultProp:i??!1,onChange:o,caller:B});return(0,r.jsx)(s.Sub,{...l,open:d,onOpenChange:u,children:a})};G.displayName=B;var H=t.forwardRef((e,t)=>{let{__scopeMenubar:a,...n}=e,o=b(a);return(0,r.jsx)(s.SubTrigger,{"data-radix-menubar-subtrigger":"",...o,...n,ref:t})});H.displayName="MenubarSubTrigger";var V=t.forwardRef((e,t)=>{let{__scopeMenubar:a,...n}=e,o=b(a);return(0,r.jsx)(s.SubContent,{...o,"data-radix-menubar-content":"",...n,ref:t,style:{...e.style,"--radix-menubar-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-menubar-content-available-width":"var(--radix-popper-available-width)","--radix-menubar-content-available-height":"var(--radix-popper-available-height)","--radix-menubar-trigger-width":"var(--radix-popper-anchor-width)","--radix-menubar-trigger-height":"var(--radix-popper-anchor-height)"}})});V.displayName="MenubarSubContent";var $=e.i(294237),q=e.i(216704),U=e.i(318203);let W=(0,$.cva)("",{variants:{font:{normal:"",retro:"retro"}},defaultVariants:{font:"retro"}}),Y=t.forwardRef(({className:e,...t},a)=>(0,r.jsxs)("div",{className:(0,U.cn)("relative border-y-6 border-foreground dark:border-ring !p-0",W({font:"retro"}),e),children:[(0,r.jsx)(C,{ref:a,className:(0,U.cn)("flex h-10 items-center space-x-1 bg-background p-1",e),...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"})]}));Y.displayName=C.displayName;let J=t.forwardRef(({className:e,...t},a)=>(0,r.jsx)(I,{ref:a,className:(0,U.cn)("flex cursor-default select-none items-center rounded-sm px-3 py-1.5 text-sm font-medium outline-none focus:border-y-4 focus:border-foreground focus:dark:border-ring focus:border-dashed focus:text-accent-foreground data-[state=open]:border-b-4 data-[state=open]:border-foreground data-[state=open]:dark:border-ring data-[state=open]:text-accent-foreground data-[state=open]:border-dashed border-b-4 border-transparent pt-2",e),...t}));J.displayName=I.displayName;let Q=t.forwardRef(({className:e,inset:t,children:a,...n},o)=>(0,r.jsxs)(H,{ref:o,className:(0,U.cn)("flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none h-10 focus:border-y-4 focus:border-foreground focus:dark:border-ring focus:border-dashed focus:text-accent-foreground data-[state=open]:border-y-4 data-[state=open]:border-foreground data-[state=open]:dark:border-ring data-[state=open]:text-accent-foreground data-[state=open]:border-dashed",t&&"pl-8",e),...n,children:[a,(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","aria-label":"chevron-right",className:"size-7 ml-auto",children:[(0,r.jsx)("rect",{x:"128",y:"136",width:"14",height:"14",rx:"1"}),(0,r.jsx)("rect",{x:"112",y:"152",width:"14",height:"14",rx:"1"}),(0,r.jsx)("rect",{x:"96",y:"72",width:"14",height:"14",rx:"1"}),(0,r.jsx)("rect",{x:"96",y:"168",width:"14",height:"14",rx:"1"}),(0,r.jsx)("rect",{x:"144",y:"120",width:"14",height:"14",rx:"1"}),(0,r.jsx)("rect",{x:"128",y:"104",width:"14",height:"14",rx:"1"}),(0,r.jsx)("rect",{x:"112",y:"88",width:"14",height:"14",rx:"1"})]})]}));Q.displayName=H.displayName;let X=t.forwardRef(({className:e,...t},a)=>(0,r.jsx)(V,{ref:a,className:(0,U.cn)("z-50 min-w-[8rem] overflow-hidden rounded-md border-6 border-foreground dark:border-ring bg-popover p-1 text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:sli
1de-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 origin-[--radix-menubar-content-transform-origin]",e),...t}));X.displayName=V.displayName;let Z=t.forwardRef(({className:e,align:t="start",alignOffset:a=-4,sideOffset:n=8,...o},i)=>(0,r.jsx)(M,{children:(0,r.jsx)(P,{ref:i,align:t,alignOffset:a,sideOffset:n,className:(0,U.cn)("z-50 min-w-[12rem] overflow-hidden rounded-md border-6 mt-1 border-foreground dark:border-ring bg-popover p-1 text-popover-foreground shadow-md data-[state=open]:animate-in data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 origin-[--radix-menubar-content-transform-origin]",W({font:"retro"}),e),...o})}));Z.displayName=P.displayName;let ee=t.forwardRef(({className:e,inset:t,...a},n)=>(0,r.jsx)(O,{ref:n,className:(0,U.cn)("relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:border-y-4 focus:border-foreground focus:dark:border-ring h-9 focus:border-dashed focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",t&&"pl-8",e),...a}));ee.displayName=O.displayName;let er=t.forwardRef(({className:e,children:t,checked:a,...n},o)=>(0,r.jsxs)(z,{ref:o,className:(0,U.cn)("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none h-9 focus:border-y-4 focus:border-foreground focus:dark:border-ring focus:border-dashed focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",e),checked:a,...n,children:[(0,r.jsx)("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:(0,r.jsx)(L,{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","aria-label":"check",className:"size-7",children:[(0,r.jsx)("rect",{x:"80",y:"128",width:"14",height:"14",rx:"1",transform:"rotate(90 80 128)"}),(0,r.jsx)("rect",{x:"96",y:"144",width:"14",height:"14",rx:"1",transform:"rotate(90 96 144)"}),(0,r.jsx)("rect",{x:"112",y:"160",width:"14",height:"14",rx:"1",transform:"rotate(90 112 160)"}),(0,r.jsx)("rect",{x:"128",y:"144",width:"14",height:"14",rx:"1",transform:"rotate(90 128 144)"}),(0,r.jsx)("rect",{x:"144",y:"128",width:"14",height:"14",rx:"1",transform:"rotate(90 144 128)"}),(0,r.jsx)("rect",{x:"160",y:"112",width:"14",height:"14",rx:"1",transform:"rotate(90 160 112)"}),(0,r.jsx)("rect",{x:"176",y:"96",width:"14",height:"14",rx:"1",transform:"rotate(90 176 96)"}),(0,r.jsx)("rect",{x:"192",y:"80",width:"14",height:"14",rx:"1",transform:"rotate(90 192 80)"})]})})}),t]}));er.displayName=z.displayName;let et=t.forwardRef(({className:e,children:t,...a},n)=>(0,r.jsxs)(F,{ref:n,className:(0,U.cn)("relative flex cursor-default select-none items-center rounded-sm py-1.5 h-9 pl-8 pr-2 text-sm outline-none focus:border-y-4 focus:border-foreground focus:dark:border-ring focus:border-dashed focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",e),...a,children:[(0,r.jsx)("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:(0,r.jsx)(L,{children:(0,r.jsx)(q.Circle,{className:"h-2 w-2 fill-current"})})}),t]}));et.displayName=F.displayName;let ea=t.forwardRef(({className:e,inset:t,...a},n)=>(0,r.jsx)(_,{ref:n,className:(0,U.cn)("px-2 py-1.5 text-sm font-semibold",t&&"pl-8",e),...a}));ea.displayName=_.displayName;let en=t.forwardRef(({className:e,...t},a)=>(0,r.jsx)(K,{ref:a,className:(0,U.cn)("-mx-1 my-1 h-px bg-muted",e),...t}));en.displayName=K.displayName;let eo=({className:e,...t})=>(0,r.jsx)("span",{className:(0,U.cn)("ml-auto text-xs tracking-widest text-muted-foreground",e),...t});eo.displayname="MenubarShortcut",e.s(["Menubar",0,Y,"MenubarCheckboxItem",0,er,"MenubarContent",0,Z,"MenubarGroup",0,function({...e}){return(0,r.jsx)(D,{...e})},"MenubarItem",0,ee,"MenubarLabel",0,ea,"MenubarMenu",0,function({...e}){return(0,r.jsx)(R,{...e})},"MenubarPortal",0,function({...e}){return(0,r.jsx)(M,{...e})},"MenubarRadioGroup",0,function({...e}){return(0,r.jsx)(T,{...e})},"MenubarRadioItem",0,et,"MenubarSeparator",0,en,"MenubarShortcut",0,eo,"MenubarSub",0,function({...e}){return(0,r.jsx)(G,{"data-slot":"menubar-sub",...e})},"MenubarSubContent",0,X,"MenubarSubTrigger",0,Q,"MenubarTrigger",0,J,"menubarVariants",0,W],883266)},216704,e=>{"use strict";var r=e.i(186398);
1e.s(["Circle",()=>r.default])}]);
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.