1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,973856,e=>{"use strict";var r=e.i(843476),t=e.i(271645);e.i(529333);var s=e.i(128769);e.s(["Textarea",0,function({value:e,onChange:o,placeholder:a,id:d,className:i="",name:n,size:l="md",autoGrow:c=!1,error:u,disabled:p=!1,readOnly:f=!1,required:b,rows:g,autoFocus:m=!1,autoComplete:x,maxLength:v,onFocus:h,onBlur:w,onKeyDown:j}){let y,C=(0,t.useRef)(null),N=(0,t.useCallback)(()=>{C.current&&o&&o(C.current.value,d)},[o,d]);switch((0,t.useEffect)(()=>{c&&C.current&&void 0!==e&&""!==e&&(C.current.style.height="auto",C.current.style.height=`${C.current.scrollHeight}px`)},[e,c]),l){case"sm":y=28;break;case"md":y=36;break;default:y=44}return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("textarea",{ref:C,id:d,className:(0,s.cn)("block w-full border bg-product-surface-base text-product transition-colors duration-150 ease-out placeholder:text-product-disabled focus:outline-hidden focus-visible:ring-0",{"rounded-md py-2":"sm"===l||"md"===l,"px-2.5 text-xs":"sm"===l,"px-3 text-sm":"md"===l,"rounded-lg px-3.5 py-2.5":"lg"===l,"border-product-divider-subtle text-product-disabled":p,"border-product-divider hover:border-product-divider-bolder focus-visible:border-product-divider-brand":!(p||f)&&!u,"border-product-divider-danger-subtle hover:border-product-divider-danger focus:border-product-divider-danger":!(p||f)&&u,"resize-none overflow-hidden":c,"cursor-text border-product-divider-subtle text-product-subtle":f},i),placeholder:a,onChange:N,disabled:p,name:n,value:e,required:b,rows:g,style:{minHeight:y},"data-error":!!u||null,autoFocus:m,autoComplete:x,maxLength:v,onFocus:h,onBlur:w,onKeyDown:j}),u&&"object"==typeof u&&(0,r.jsx)("p",{role:"alert",className:"mt-2 text-xs text-product-danger",children:u.message})]})}])},614446,e=>{"use strict";e.i(973856),e.s([])},515524,e=>{"use strict";var r,t=e.i(271645);function s(){return(s=Object.assign.bind()).apply(null,arguments)}e.s(["default",0,function(e){return t.createElement("svg",s({"aria-hidden":"true",focusable:"false",width:16,height:16,viewBox:"0 0 16 16",xmlns:"http://www.w3.org/2000/svg"},e),r||(r=t.createElement("path",{d:"M8.5 7.5V3h-1v4.5H3v1h4.5V13h1V8.5H13v-1H8.5Z"})))}])},869507,e=>{"use strict";var r=e.i(843476),t=e.i(271645),s=e.i(248425),o=t.forwardRef((e,t)=>(0,r.jsx)(s.Primitive.label,{...e,ref:t,onMouseDown:r=>{r.target.closest("button, input, select, textarea")||(e.onMouseDown?.(r),!r.defaultPrevented&&r.detail>1&&r.preventDefault())}}));o.displayName="Label",e.s(["Label",0,o,"Root",0,o],973741);var a=e.i(973741),a=a;e.i(529333);var d=e.i(128769);let i=t.forwardRef(({className:e,...t},s)=>(0,r.jsx)(a.Root,{ref:s,className:(0,d.cn)("text-sm text-product select-none peer-disabled:cursor-not-allowed peer-disabled:text-product-disabled",e),...t}));e.s(["Label",0,i],869507)},477059,e=>{"use strict";e.i(869507),e.s([])},869776,e=>{"use strict";var r=e.i(843476),t=e.i(271645),s=e.i(258596);e.i(529333);var o=e.i(128769);let a=(0,t.forwardRef)(({value:e,onChange:a,onClick:d,onFocus:i,onBlur:n,onKeyDown:l,onReset:c,placeholder:u,id:p,blurOnEscape:f,className:b,containerClassName:g,type:m="text",size:x="md",appearance:v="secondary",error:h,disabled:w=!1,readOnly:j=!1,required:y,prefix:C,suffix:N,maxLength:S,min:_,max:D,step:R=1,bigStep:z=10,autoFocus:k=!1,allowReset:P,name:O,autoComplete:L,inputMode:T="text"},I)=>{let[F,M]=(0,t.useState)(!1),E="number"===T,B="ghost"===v,A=(0,t.useCallback)(e=>{let r=e;return void 0!==_&&r<_&&(r=_),void 0!==D&&r>D&&(r=D),r},[_,D]),H=(0,t.useCallback)(r=>{if(M(!1),E&&void 0!==e&&a){let r=parseFloat(e);if(isNaN(r))""!==e&&void 0!==_&&a(_.toString(),p);else{let e=A(r);e!==r&&a(e.toString(),p)}}n&&n(r)},[E,e,a,n,A,p,_]),Z=(0,t.useCallback)(r=>{r.stopPropagation(),r.nativeEvent.stopImmediatePropagation(),f&&"Escape"===r.key&&r.target.blur(),E&&a&&("ArrowUp"===r.key||"ArrowDown"===r.key)&&(r.preventDefault(),a(A((parseFloat(e??"0")||0)+(r.shiftKey?z:R)*("ArrowUp"===r.key?1:-1)).toString(),p)),l&&l(r)},[f,E,a,e,z,R,A,p,l]);return(0,r.jsxs)("div",{className:g,children:[(0,r.jsxs)("div",{className:(0,o.cn)("relative flex w-full items-center border transition-colors duration-150 ease-out",{"border-product-divider":!h&&!B,"border-transparent":!h&&B,"hover:border-product-divider-bolder":!B&&!F&&!w&&!j&&!h,"border-product-divider-brand ring-1 ring-product-divider-brand":!B&&F&&!h,"pointer-events-none opacity-50":w,"text-product-subtle":j,"rounded-md":"sm"===x||"md"===x,"h-7 text-xs":"sm"===x,"h-9 text-sm":"md"===x,"h-11 rounded-lg":"lg"===x,"border-product-divider-danger-subtle":h&&
1!F,"border-product-divider-danger":h&&F&&B,"border-product-divider-danger ring-1 ring-product-divider-danger":h&&F&&!B}),children:[C&&(0,r.jsx)("span",{className:(0,o.cn)("whitespace-nowrap text-product-subtle select-none",{"mr-2.5 pl-2.5":"sm"===x,"mr-3 pl-3":"md"===x,"mr-3.5 pl-3.5":"lg"===x}),children:C}),(0,r.jsx)("input",{ref:I,id:p,className:(0,o.cn)("min-h-full min-w-0 flex-1 bg-transparent! no-focus-ring placeholder:text-product-subtlest",{"rounded-md":"sm"===x||"md"===x,"px-2.5 py-1.5 text-xs":"sm"===x,"px-3 py-2 text-sm":"md"===x,"rounded-lg px-3.5 py-2.5":"lg"===x,"rounded-l-none pl-0":C,"rounded-r-none pr-0":N,"pointer-events-none":w,"cursor-text":j,"text-product":!w},b),name:O,type:m,inputMode:E?"numeric":void 0,"data-error":!!h||null,placeholder:u,onChange:e=>{a&&a(e.target.value,p)},onClick:e=>{d&&d(e)},onFocus:e=>{M(!0),i&&i(e)},onBlur:H,disabled:w,readOnly:!!j||void 0,value:e,required:y,maxLength:S,onKeyDown:Z,autoFocus:k,autoComplete:L}),N&&(0,r.jsx)("span",{className:(0,o.cn)("whitespace-nowrap text-product-subtle select-none",{"ml-2.5 pr-2.5":"sm"===x,"ml-3 pr-3":"md"===x,"ml-3.5 pr-3.5":"lg"===x}),children:N}),P?(0,r.jsx)("button",{type:"button","aria-label":"Clear value",title:"Clear value",className:(0,o.cn)("group flex shrink-0 items-center justify-center",{"size-7":"sm"===x,"size-9":"md"===x,"size-11":"lg"===x,invisible:!e}),onClick:()=>{a&&a(""),c&&c()},disabled:!e,children:(0,r.jsx)(s.default,{className:(0,o.cn)("fill-product-icon-subtle transition-colors duration-100 ease-out group-hover:fill-product-icon group-focus:fill-product-icon",{"size-3":"sm"===x,"size-3.5":"md"===x,"size-4":"lg"===x})})}):null]}),h&&"object"==typeof h&&(0,r.jsx)("p",{role:"alert",className:"mt-2 text-xs text-product-danger",children:h.message})]})});e.s(["Input",0,a])},867198,e=>{"use strict";e.i(869776),e.s([])},732257,e=>{"use strict";var r,t=e.i(271645);function s(){return(s=Object.assign.bind()).apply(null,arguments)}e.s(["default",0,function(e){return t.createElement("svg",s({"aria-hidden":"true",focusable:"false",width:16,height:16,viewBox:"0 0 16 16",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg"},e),r||(r=t.createElement("path",{d:"M8 4.99976L13 9.99971L12.3 10.6997L8 6.39971L3.7 10.6997L3 9.99971L8 4.99976Z"})))}])},969184,e=>{"use strict";var r=e.i(843476),t=e.i(774084),s=e.i(271645),o=e.i(138959),a=e.i(364030),d=e.i(732257);e.i(529333);var i=e.i(128769);let n=(0,s.createContext)({size:"md"}),l=t.Select.Group,c=t.Select.Value,u=s.forwardRef(({className:e,children:o,appearance:d="secondary",...l},c)=>{let u=(0,s.useContext)(n).size;return(0,r.jsxs)(t.Select.Trigger,{ref:c,className:(0,i.cn)("flex items-center justify-between border text-left text-product select-none disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50 data-placeholder:text-product [&>span]:truncate","focus-visible:border-product-divider-brand focus-visible:ring-1 focus-visible:ring-product-divider-brand focus-visible:ring-offset-0 focus-visible:outline-hidden",{"border-product-divider shadow-product-raised hover:bg-product-surface-base-alpha-subtle":"secondary"===d,"border-transparent hover:border-product-divider hover:bg-product-surface-base-alpha-subtle hover:shadow-product-raised":"ghost"===d,"h-7 gap-1.5 rounded-md pr-1.5 pl-2.5 text-xs":"sm"===u,"h-9 gap-1.5 rounded-md pr-2.5 pl-3 text-sm":"md"===u,"h-11 gap-2 rounded-lg pr-3 pl-3.5":"lg"===u},e),...l,children:[o,(0,r.jsx)(t.Select.Icon,{asChild:!0,children:(0,r.jsx)(a.default,{className:(0,i.cn)("shrink-0 fill-product-icon",{"size-3":"sm"===u,"size-3.5":"md"===u,"size-4":"lg"===u})})})]})}),p=s.forwardRef(({className:e,...s},o)=>(0,r.jsx)(t.Select.ScrollUpButton,{ref:o,className:(0,i.cn)("flex cursor-pointer items-center justify-center py-1.5",e),...s,children:(0,r.jsx)(d.default,{className:"size-3 fill-product-icon"})})),f=s.forwardRef(({className:e,...s},o)=>(0,r.jsx)(t.Select.ScrollDownButton,{ref:o,className:(0,i.cn)("flex cursor-pointer items-center justify-center py-1.5",e),...s,children:(0,r.jsx)(a.default,{className:"size-3 fill-product-icon"})})),b=s.forwardRef(({className:e,children:o,position:a,...d},l)=>{let c=(0,s.useContext)(n).size;return(0,r.jsx)(t.Select.Portal,{children:(0,r.jsxs)(t.Select.Content,{ref:l,className:(0,i.cn)("relative z-(--z-index-higher) max-h-96 overflow-hidden border border-product-divider bg-product-surface-base shadow-product-popover dark:bg-product-surface-raised","popper"===a&&"data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1",{"rounded-lg":"md"===c||"sm"===c,"rounded-xl":"lg"===c},e),position:a,...d,children:[(0,r.jsx)(p,{}),(0,r.jsx)(t.Select.Viewport,{className:(0,i.cn)("p-1","popper"===a&&"h-(--radix-select-trigger-height) w-full min-w-(--radix-select-trigger-width)"),children:o}),(0,r.jsx)(f,{})]})})}),g=s.forwardRef(({className:e,...s},o)=>(0,r.jsx)(t.Select.Label,{ref:o,className:(0,i.cn)("py-1.5 pr-2 pl-8 text-2xs text-product-subtlest",e),...s})),m=s.forwardRef(({className:e,children:a,...d},l)=>{let c=(0,s.useContext)(n).size;return(0,r.jsxs)(t.Select.Item,{ref:l,className:(0,i.cn)("relative flex w-full cursor-pointer items-center py-1.5 pr-2 pl-8 outline-hidden select-none focus:bg-product-surface-base-alpha-subtle data-disabled:pointer-events-none data-disabled:text-product-disabled data-highlighted:bg-product-surface-base-alpha-subtle",{"min-h-7 rounded-sm text-xs":"sm"===c,"min-h-9 rounded-sm text-sm":"md"===c,"min-h-11 rounded-md":"lg"===c},e),...d,children:[(0,r.jsx)("span",{className:"absolute left-2 flex size-4 items-center justify-center",children:(0,r.jsx)(t.Select.ItemIndicator,{children:(0,r.jsx)(o.default,{className:"size-3.5 fill-product-icon"})})}),(0,r.jsx)(t.Select.ItemText,{children:a})]})}),x=s.forwardRef(({className:e,...s},o)=>(0,r.jsx)(t.Select.Separator,{ref:o,className:(0,i.cn)("-mx-1 my-1 h-px border-t border-product-divider",e),...s}));e.s(["Select",0,e=>{let{children:s,size:o="md",...a}=e;return(0,r.jsx)(n.Provider,{value:{size:o},children:(0,r.jsx)(t.Select.Root,{...a,children:s})})},"SelectContent",0,b,"SelectGroup",0,l,"SelectItem",0,m,"SelectLabel",0,g,"SelectScrollDownButton",0,f,"SelectScrollUpButton",0,p,"SelectSeparator",0,x,"SelectTrigger",0,u,"SelectValue",0,c])},753138,e=>{"use strict";e.i(969184),e.s([])},32934,e=>{"use strict";var r=e.i(843476);e.s(["default",0,function(e){return(0,r.jsx)("svg",{width:"16",height:"16",viewBox:"0 0 16 16","aria-hidden":"true",focusable:"false",fill:"
1currentColor",xmlns:"http://www.w3.org/2000/svg",...e,children:(0,r.jsx)("path",{d:"M13 3.875 12.125 3 8 7.125 3.875 3 3 3.875 7.125 8 3 12.125l.875.875L8 8.875 12.125 13l.875-.875L8.875 8 13 3.875Z"})})}])},378527,e=>{"use strict";var r=e.i(843476);e.s(["default",0,function(e){return(0,r.jsx)("svg",{width:"16",height:"16",viewBox:"0 0 16 16","aria-hidden":"true",focusable:"false",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",...e,children:(0,r.jsx)("path",{d:"M8 1C4.15 1 1 4.15 1 8s3.15 7 7 7 7-3.15 7-7-3.15-7-7-7Zm-.55 3h1.1v5.5h-1.1V4ZM8 12.5c-.4 0-.75-.35-.75-.75S7.6 11 8 11s.75.35.75.75-.35.75-.75.75Z"})})}])},78293,468036,592491,e=>{"use strict";var r=e.i(843476);function t(e){return(0,r.jsx)("svg",{"aria-hidden":"true",focusable:"false",width:"16",height:"16",viewBox:"0 0 16 16",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",...e,children:(0,r.jsx)("path",{d:"M8 1a7 7 0 1 0 0 14A7 7 0 0 0 8 1Zm-1 9.795-2.5-2.5.795-.795L7 9.205 10.705 5.5l.798.793L7 10.795Z"})})}e.s(["default",0,t],468036);var s=e.i(32934),o=e.i(378527);function a(e){return(0,r.jsx)("svg",{width:"16",height:"16",viewBox:"0 0 16 16","aria-hidden":"true",focusable:"false",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",...e,children:(0,r.jsx)("path",{d:"M8 1a7 7 0 1 0 0 14A7 7 0 0 0 8 1Zm0 3a.75.75 0 1 1 0 1.5A.75.75 0 0 1 8 4Zm2 8.063H6v-1.126h1.438V8.063H6.5V6.937h2.063v4H10v1.126Z"})})}e.s(["default",0,a],592491),e.i(529333);var d=e.i(128769);e.i(536460);var i=e.i(406161);e.s(["Banner",0,function({title:e,type:n="info",className:l,size:c="md",description:u,details:p,onClose:f,...b}){return(0,r.jsxs)("div",{className:(0,d.cn)("flex w-full flex-col flex-wrap overflow-hidden border border-product-divider leading-relaxed",{"rounded-md":"sm"===c||"md"===c,"p-3 text-xs":"sm"===c,"p-4 text-sm":"md"===c,"rounded-lg p-4":"lg"===c},l),...b,children:[(0,r.jsxs)("div",{className:(0,d.cn)("relative flex items-start gap-3",{"border-b border-product-divider":p,"pb-3":p}),children:[(0,r.jsxs)("div",{className:(0,d.cn)("flex items-center justify-center",{"h-4":"sm"===c,"h-5":"md"===c,"h-6 translate-y-px":"lg"===c}),children:["info"===n&&(0,r.jsx)(a,{className:"size-3.5 fill-product-icon-subtle"}),"success"===n&&(0,r.jsx)(t,{className:"size-3.5 fill-product-icon-success"}),"error"===n&&(0,r.jsx)(o.default,{className:"size-3.5 fill-product-icon-danger"}),"warning"===n&&(0,r.jsx)(o.default,{className:"size-3.5 fill-product-icon-warning"}),"loading"===n&&(0,r.jsx)(i.Spinner,{size:c})]}),(0,r.jsxs)("div",{className:"flex flex-1 flex-col gap-1",children:[e?(0,r.jsx)("div",{className:(0,d.cn)("font-medium text-product",{"text-product":"info"===n,"text-product-success":"success"===n,"text-product-danger":"error"===n,"text-product-warning":"warning"===n}),children:e}):null,u&&(0,r.jsx)("div",{className:(0,d.cn)("leading-relaxed text-pretty text-product-subtle","[&>*+*]:mt-3","[&_a]:rounded [&_a]:text-product [&_a]:underline [&_a]:decoration-product-divider-bold [&_a]:decoration-dotted [&_a]:decoration-1 [&_a]:underline-offset-4 [&_a]:transition-colors [&_a]:duration-150 [&_a]:ease-out [&_a]:hover:decoration-product-divider-bolder [&_a]:focus-visible:decoration-product-divider-bolder","[&_:not(pre)>code]:rounded [&_:not(pre)>code]:border-transparent [&_:not(pre)>code]:bg-product-surface-base-alpha-subtle [&_:not(pre)>code]:text-[13px]/5 [&_:not(pre)>code]:font-normal [&_:not(pre)>code]:text-product [&_:not(pre)>code]:ring [&_:not(pre)>code]:ring-product-divider [&_:not(pre)>code]:ring-inset",{"[&_:not(pre)>code]:text-[11px]":"sm"===c,"text-sm [&_:not(pre)>code]:text-[13px]":"md"===c,"text-base [&_:not(pre)>code]:text-[15px]":"lg"===c}),children:u})]}),f&&(0,r.jsx)("button",{type:"button",className:(0,d.cn)("group relative inline-flex items-center justify-center rounded-sm before:absolute before:-inset-2",{"size-4":"sm"===c,"size-5":"md"===c,"size-6 translate-y-px":"lg"===c}),onClick:f,"aria-label":"Mark as read",title:"Mark as read",children:(0,r.jsx)(s.default,{className:"fill-product-icon transition-colors duration-150 ease-out group-hover:fill-product-icon-bolder focus-visible:fill-product-icon-bolder"})})]}),p&&(0,r.jsx)("div",{className:(0,d.cn)("relative grow overflow-auto px-6 py-4 text-sm",{"py-6 md:text-base":"lg"===c}),children:p})]})}],78293)},903057,e=>{"use strict";e.i(78293),e.s([])},26695,e=>{e.v({bar:"Spinner-module__gwYugG__bar",spin:"Spinner-module__gwYugG__spin"})},406161,e=>{"use strict";var r=e.i(843476);e.i(529333);var t=e.i(128769),s=e.i(26695);let o=Array(12).fill(0);e.s(["Spinner",0,function({className:e,appearance:a="default",size:d="md"}){return(0,r.jsx)("div",{className:(0,t.cn)({"size-2":"xs"===d,"size-2.5":"sm"===d,"size-3":"md"===d,"size-4":"lg"===d,"size-5":"xl"===d,"size-7":"2xl"===d},e),children:(0,r.jsx)("div",{className:"relative top-1/2 left-1/2 h-full w-full",children:o.map((e,o)=>(0,r.jsx)("div",{className:(0,t.cn)(s.default.bar,"absolute top-[-3.9%] left-[-10%] h-[8%] w-[24%] rounded-md motion-reduce:animate-none motion-reduce:transition-none",{"bg-product-surface-base-inverse":"default"===a,"bg-product-surface-base":"inverse"===a,"bg-product-surface-brand":"brand"===a,"bg-product-surface-success":"success"===a,"bg-product-surface-warning":"warning"===a,"bg-product-surface-danger":"danger"===a,"bg-product-surface-information":"information"===a,"bg-product-surface-accent-yellow":"product-comments"===a,"bg-product-surface-accent-green":"product-notifications"===a,"bg-product-surface-accent-blue":"product-multiplayer"===a,"bg-product-surface-accent-pink":"product-ai-agents"===a,"bg-(--custom-color)":"custom"===a})},o))})})}])},536460,e=>{"use strict";e.i(406161),e.s([])},586011,e=>{"use strict";var r=e.i(991918);e.s(["Slot",0,r])},393701,e=>{"use strict";var r=e.i(843476),t=e.i(225913),s=e.i(586011),o=e.i(271645);e.i(529333);var a=e.i(128769);let d=(0,t.cva)("group inline-flex items-center border justify-center whitespace-nowrap ease-out-expo duration-150 font-medium transition focus-visible:outline-hidden disabled:pointer-events-none disabled:opacity-50 select-none data-square:px-0 active:scale-[0.99] touch-manipulation",{variants:{appearance:{ghost:["text-product","hover:bg-product-surface-base-alpha-subtle focus:bg-product-surface-base-alpha-subtle active:bg-product-surface-base-alpha data-[state=open]:bg-product-surface-base-alpha-subtle","border-transparent hover:border-product-divider active:border-product-divider-bold focus:border-product-divider-bold","hover:shadow-
1product-raised focus:shadow-product-raised active:shadow-none"],primary:["text-product-inverse","bg-product-surface-base-inverse-subtle hover:bg-product-surface-base-inverse focus:bg-product-surface-base-inverse active:bg-product-surface-base-inverse-bold data-[state=open]:bg-product-surface-base-inverse-bold","border-product-divider-inverse-bolder","shadow-product-raised active:shadow-none"],secondary:["text-product","hover:bg-product-surface-base-alpha-subtle focus:bg-product-surface-base-alpha-subtle active:bg-product-surface-base-alpha-subtle data-[state=open]:bg-product-surface-base-alpha-subtle","border-product-divider","shadow-product-raised active:shadow-none"],destructive:["text-product-inverse","bg-product-surface-danger hover:bg-product-surface-danger-bolder focus:bg-product-surface-danger-bolder active:bg-product-surface-danger-boldest data-[state=open]:bg-product-surface-danger-boldest","border-product-divider","shadow-product-raised active:shadow-none","focus:ring-product-surface-danger!"],"secondary-destructive":["text-product-danger","hover:bg-product-surface-base-alpha-subtle focus:bg-product-surface-base-alpha-subtle active:bg-product-surface-base-alpha-subtle data-[state=open]:bg-product-surface-base-alpha-subtle","border-product-divider","shadow-product-raised active:shadow-none","focus:ring-product-surface-danger!"]},size:{sm:"h-7 rounded-md px-2 text-xs data-square:w-7",md:"h-9 rounded-md px-3.5 text-sm data-square:w-9",lg:"h-11 rounded-lg px-4 data-square:w-11"}},defaultVariants:{appearance:"secondary",size:"md"}}),i=o.forwardRef(({className:e,appearance:t,formAction:o,size:i,square:n,loading:l,shining:c,shiningOnHover:u,asChild:p=!1,children:f,disabled:b,...g},m)=>{let x=p?s.Slot.Slot:"button";return(0,r.jsx)(x,{className:(0,a.cn)(d({appearance:t,size:i,className:e}),{"relative overflow-hidden":l||c||u,"before:absolute before:top-0 before:h-full before:w-full before:bg-linear-to-r before:from-transparent before:to-transparent before:transition-all before:content-['']":l||c||u,"before:via-black/5 dark:before:via-white/5":(l||c||u)&&(!t||"secondary"===t||"ghost"===t||"secondary-destructive"===t||"destructive"===t),"before:via-white/20 dark:before:via-black/20":(l||c||u)&&"primary"===t,"before:animate-shine":l||c,"before:-left-full hover:before:animate-shine-hover":u&&!c&&!l}),ref:m,"data-square":n?"":void 0,disabled:b||l,...g,children:f})});e.s(["Button",0,i,"buttonAppearances",0,d])},612290,e=>{"use strict";e.i(393701),e.s([])},575295,e=>{"use strict";var r=e.i(843476);e.i(529333);var t=e.i(128769);e.i(536460);var s=e.i(406161);e.s(["Badge",0,function({children:e,className:o,size:a="md",appearance:d="default",isUppercase:i=!0,isLoading:n,isFullyRounded:l=!0,isRinged:c=!1,...u}){return(0,r.jsxs)("span",{className:(0,t.cn)("inline-flex shrink-0 items-center font-mono font-normal",l?"rounded-full":"rounded",{"ring ring-inset":c,"tracking-widest uppercase":i,"bg-product-surface-base-alpha-subtle text-product-subtle ring-product-divider-subtle":"default"===d,"bg-product-surface-brand-subtlest text-product-brand ring-product-divider-brand-subtlest":"brand"===d,"bg-product-surface-success-subtlest text-product-success ring-product-divider-success-subtler":"success"===d,"bg-product-surface-warning-subtlest text-product-warning ring-product-divider-warning-subtler":"warning"===d,"bg-product-surface-danger-subtlest text-product-danger ring-product-divider-danger-subtler":"danger"===d,"bg-product-surface-information-subtlest text-product-information ring-product-divider-information-subtler":"information"===d,"bg-product-surface-accent-yellow-subtlest text-product-accent-yellow":"product-comments"===d,"bg-product-surface-accent-green-subtlest text-product-accent-green":"product-notifications"===d,"bg-product-surface-accent-blue-subtlest text-product-accent-blue":"product-multiplayer"===d,"bg-product-surface-accent-pink-subtlest text-product-accent-pink":"product-ai-agents"===d,"h-3.5 px-1.5 text-[8px] leading-3.5":"xs"===a,"h-4 text-[9px] leading-4":"sm"===a,"px-1.5":"sm"===a&&!i,"px-2":"sm"===a&&i||"md"===a&&!i,"h-5 text-2xs leading-5":"md"===a,"px-2.5":"md"===a&&i||"lg"===a&&!i,"h-6 text-xs leading-6":"lg"===a,"px-3":"lg"===a&&i},o),...u,children:[n&&(0,r.jsx)(s.Spinner,{className:(0,t.cn)("shrink-0",{"mr-1.5 -ml-0.5":"xs"===a,"mr-1.5 -ml-1":"sm"===a,"mr-2 -ml-1":"md"===a,"mr-2 -ml-1.5":"lg"===a}),size:a,appearance:d}),e]})}])},15710,e=>{"use strict";e.i(575295),e.s([])},326999,e=>{"use strict";var r=e.i(271645),t=e.i(981140),s=e.i(820783),o=e.i(30030),a=e.i(610772),d=e.i(369340),i=e.i(726330),n=e.i(765491),l=e.i(774606),c=e.i(296626),u=e.i(248425),p=e.i(303536),f=e.i(985369),b=e.i(186312),g=e.i(991918),m=e.i(843476),x="Dialog",[v,h]=(0,o.createContextScope)(x),[w,j]=v(x),y=e=>{let{__scopeDialog:t,children:s,open:o,defaultOpen:i,onOpenChange:n,modal:l=!0}=e,c=r.useRef(null),u=r.useRef(null),[p,f]=(0,d.useControllableState)({prop:o,defaultProp:i??!1,onChange:n,caller:x});return(0,m.jsx)(w,{scope:t,triggerRef:c,contentRef:u,contentId:(0,a.useId)(),titleId:(0,a.useId)(),descriptionId:(0,a.useId)(),open:p,onOpenChange:f,onOpenToggle:r.useCallback(()=>f(e=>!e),[f]),modal:l,children:s})};y.displayName=x;var C="DialogTrigger",N=r.forwardRef((e,r)=>{let{__scopeDialog:o,...a}=e,d=j(C,o),i=(0,s.useComposedRefs)(r,d.triggerRef);return(0,m.jsx)(u.Primitive.button,{type:"button","aria-haspopup":"dialog","aria-expanded":d.open,"aria-controls":d.open?d.contentId:void 0,"data-state":q(d.open),...a,ref:i,onClick:(0,t.composeEventHandlers)(e.onClick,d.onOpenToggle)})});N.displayName=C;var S="DialogPortal",[_,D]=v(S,{forceMount:void 0}),R=e=>{let{__scopeDialog:t,forceMount:s,children:o,container:a}=e,d=j(S,t);return(0,m.jsx)(_,{scope:t,forceMount:s,children:r.Children.map(o,e=>(0,m.jsx)(c.Presence,{present:s||d.open,children:(0,m.jsx)(l.Portal,{asChild:!0,container:a,children:e})}))})};R.displayName=S;var z="DialogOverlay",k=r.forwardRef((e,r)=>{let t=D(z,e.__scopeDialog),{forceMount:s=t.forceMount,...o}=e,a=j(z,e.__scopeDialog);return a.modal?(0,m.jsx)(c.Presence,{present:s||a.open,children:(0,m.jsx)(O,{...o,ref:r})}):null});k.displayName=z;var P=(0,g.createSlot)("DialogOverlay.RemoveScroll"),O=r.forwardRef((e,r)=>{let{__scopeDialog:t,...o}=e,a=j(z,t),d=(0,i.useDismissableLayerSurface)(),n=(0,s.useComposedRefs)(r,d);return(0,m.jsx)(f.RemoveScroll,{as:P,allowPinchZoom:!0,shards:[a.contentRef],children:(0,m.jsx)(u.Primitive.div,{"data-state":q(a.open),...o,ref:n,style:{pointerEvents:"auto",...o.style}})})}),L="DialogContent",T=r.forwardRef((e,r)=>{let t=D(L,e.__scopeDialog),{forceMount:s=t.forceMount,...o}=e,a=j(L,e.__scopeDialog);return(0,m.jsx)(c.Presence,{present:s||a.open,children:a.modal?(0,m.jsx)(I,{...o,ref:r}):(0,m.jsx)(F,{...o,ref:r})})});T.displayName=L;var I=r.forwardRef((e,o)=>{let a=j(L,e.__scopeDialog),d=r.useRef(null),i=(0,s.useComposedRefs)(o,a.contentRef,d);return r.useEffect(()=>{let e=d.current;if(e)return(0,b.hideOthers)(e)},[]),(0,m.jsx)(M,{...e,ref:i,trapFocus:a.open,disableOutsidePointerEvents:a.open,onCloseAutoFocus:(0,t.composeEventHandlers)(e.onCloseAutoFocus,e=>{e.preventDefault(),a.triggerRef.current?.focus()}),onPointerDownOutside:(0,t.composeEventHandlers)(e.onPointerDownOutside,e=>{let r=e.detail.originalEvent,t=0===r.button&&!0===r.ctrlKey;(2===r.button||t)&&e.preventDefault()}),onFocusOutside:(0,t.composeEventHandlers)(e.onFocusOutside,e=>e.preventDefault())})}),F=r.forwardRef((e,t)=>
1{let s=j(L,e.__scopeDialog),o=r.useRef(!1),a=r.useRef(!1);return(0,m.jsx)(M,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:r=>{e.onCloseAutoFocus?.(r),r.defaultPrevented||(o.current||s.triggerRef.current?.focus(),r.preventDefault()),o.current=!1,a.current=!1},onInteractOutside:r=>{e.onInteractOutside?.(r),r.defaultPrevented||(o.current=!0,"pointerdown"===r.detail.originalEvent.type&&(a.current=!0));let t=r.target;s.triggerRef.current?.contains(t)&&r.preventDefault(),"focusin"===r.detail.originalEvent.type&&a.current&&r.preventDefault()}})}),M=r.forwardRef((e,r)=>{let{__scopeDialog:t,trapFocus:s,onOpenAutoFocus:o,onCloseAutoFocus:a,...d}=e,l=j(L,t);return(0,p.useFocusGuards)(),(0,m.jsx)(m.Fragment,{children:(0,m.jsx)(n.FocusScope,{asChild:!0,loop:!0,trapped:s,onMountAutoFocus:o,onUnmountAutoFocus:a,children:(0,m.jsx)(i.DismissableLayer,{role:"dialog",id:l.contentId,"aria-describedby":l.descriptionId,"aria-labelledby":l.titleId,"data-state":q(l.open),...d,ref:r,deferPointerDownOutside:!0,onDismiss:()=>l.onOpenChange(!1)})})})}),E="DialogTitle",B=r.forwardRef((e,r)=>{let{__scopeDialog:t,...s}=e,o=j(E,t);return(0,m.jsx)(u.Primitive.h2,{id:o.titleId,...s,ref:r})});B.displayName=E;var A="DialogDescription",H=r.forwardRef((e,r)=>{let{__scopeDialog:t,...s}=e,o=j(A,t);return(0,m.jsx)(u.Primitive.p,{id:o.descriptionId,...s,ref:r})});H.displayName=A;var Z="DialogClose",V=r.forwardRef((e,r)=>{let{__scopeDialog:s,...o}=e,a=j(Z,s);return(0,m.jsx)(u.Primitive.button,{type:"button",...o,ref:r,onClick:(0,t.composeEventHandlers)(e.onClick,()=>a.onOpenChange(!1))})});function q(e){return e?"open":"closed"}V.displayName=Z,e.s(["Close",0,V,"Content",0,T,"Description",0,H,"Dialog",0,y,"DialogClose",0,V,"DialogContent",0,T,"DialogDescription",0,H,"DialogOverlay",0,k,"DialogPortal",0,R,"DialogTitle",0,B,"DialogTrigger",0,N,"Overlay",0,k,"Portal",0,R,"Root",0,y,"Title",0,B,"Trigger",0,N,"WarningProvider",0,e=>e.children,"createDialogScope",0,h])},739062,e=>{e.v({"animate-in":"Tooltip-module__7boMtG__animate-in",content:"Tooltip-module__7boMtG__content"})},625026,e=>{"use strict";var r=e.i(843476),t=e.i(785786);e.i(529333);var s=e.i(128769),o=e.i(739062);e.s(["Tooltip",0,({className:e,children:a,content:d,size:i="md",side:n="top",sideOffset:l=4,collisionPadding:c=12,open:u,defaultOpen:p,delayDuration:f,onOpenChange:b,disabled:g=!1,hideArrow:m=!1,...x})=>(0,r.jsxs)(t.Tooltip.Root,{open:u,defaultOpen:p,onOpenChange:b,delayDuration:f,children:[(0,r.jsx)(t.Tooltip.Trigger,{disabled:g,asChild:!0,children:a}),(0,r.jsx)(t.Tooltip.Portal,{children:(0,r.jsxs)(t.Tooltip.Content,{side:n,sideOffset:l,collisionPadding:c,align:"center",className:(0,s.cn)(o.default.content,"z-(--z-index-highest) border border-product-divider bg-product-surface-base text-product-subtle shadow-product-popover dark:bg-product-surface-raised",{"max-w-[16rem] rounded-md px-2.5 py-2 text-2xs leading-tight":"sm"===i,"max-w-[16rem] rounded-md px-3 py-2 text-xs":"md"===i,"max-w-xs rounded-lg px-3.5 py-2.5 text-sm":"lg"===i},e),...x,children:[d,!m&&(0,r.jsx)(t.Tooltip.Arrow,{asChild:!0,children:(0,r.jsxs)("svg",{"aria-hidden":"true",focusable:"false",width:"18",height:"8",viewBox:"0 0 18 8",children:[(0,r.jsx)("path",{className:"fill-product-surface-base dark:fill-product-surface-raised",d:"M17 0H1L9.00002 8L17 0Z"}),(0,r.jsx)("path",{className:"fill-product-divider",d:"M1 0L9 8L17 0H15.5898L9 6.58984L2.41016 0H1Z"})]})})]})})]})])},370641,e=>{"use strict";e.i(625026),e.s([])},50270,e=>{"use strict";var r=e.i(788685);e.s(["z",0,r])}]);
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.