(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,121583,(e,t,n)=>{t.exports=function(){var e=document.getSelection();if(!e.rangeCount)return function(){};for(var t=document.activeElement,n=[],r=0;r{"use strict";var r=e.r(121583),o={"text/plain":"Text","text/html":"Url",default:"Text"};t.exports=function(e,t){var n,i,l,u,a,s,c,d,f=!1;t||(t={}),l=t.debug||!1;try{if(a=r(),s=document.createRange(),c=document.getSelection(),(d=document.createElement("span")).textContent=e,d.ariaHidden="true",d.style.all="unset",d.style.position="fixed",d.style.top=0,d.style.clip="rect(0, 0, 0, 0)",d.style.whiteSpace="pre",d.style.webkitUserSelect="text",d.style.MozUserSelect="text",d.style.msUserSelect="text",d.style.userSelect="text",d.addEventListener("copy",function(n){if(n.stopPropagation(),t.format)if(n.preventDefault(),void 0===n.clipboardData){l&&console.warn("unable to use e.clipboardData"),l&&console.warn("trying IE specific stuff"),window.clipboardData.clearData();var r=o[t.format]||o.default;window.clipboardData.setData(r,e)}else n.clipboardData.clearData(),n.clipboardData.setData(t.format,e);t.onCopy&&(n.preventDefault(),t.onCopy(n.clipboardData))}),document.body.appendChild(d),s.selectNodeContents(d),c.addRange(s),!document.execCommand("copy"))throw Error("copy command was unsuccessful");f=!0}catch(r){l&&console.error("unable to copy using execCommand: ",r),l&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(t.format||"text",e),t.onCopy&&t.onCopy(window.clipboardData),f=!0}catch(r){l&&console.error("unable to copy using clipboardData: ",r),l&&console.error("falling back to prompt"),n="message"in t?t.message:"Copy to clipboard: #{key}, Enter",i=(/mac os x/i.test(navigator.userAgent)?"⌘":"Ctrl")+"+C",u=n.replace(/#{\s*key\s*}/g,i),window.prompt(u,e)}}finally{c&&("function"==typeof c.removeRange?c.removeRange(s):c.removeAllRanges()),d&&document.body.removeChild(d),a()}return f}},577664,(e,t,n)=>{t.exports={icon:{type:"element",isRootNode:!0,name:"svg",attributes:{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},children:[{type:"element",name:"path",attributes:{d:"M10.6665 2.66634H11.9998C12.3535 2.66634 12.6926 2.80682 12.9426 3.05687C13.1927 3.30691 13.3332 3.64605 13.3332 3.99967V13.333C13.3332 13.6866 13.1927 14.0258 12.9426 14.2758C12.6926 14.5259 12.3535 14.6663 11.9998 14.6663H3.99984C3.64622 14.6663 3.30708 14.5259 3.05703 14.2758C2.80698 14.0258 2.6665 13.6866 2.6665 13.333V3.99967C2.6665 3.64605 2.80698 3.30691 3.05703 3.05687C3.30708 2.80682 3.64622 2.66634 3.99984 2.66634H5.33317M5.99984 1.33301H9.99984C10.368 1.33301 10.6665 1.63148 10.6665 1.99967V3.33301C10.6665 3.7012 10.368 3.99967 9.99984 3.99967H5.99984C5.63165 3.99967 5.33317 3.7012 5.33317 3.33301V1.99967C5.33317 1.63148 5.63165 1.33301 5.99984 1.33301Z",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"},children:[]}]},name:"Copy"}},183612,(e,t,n)=>{t.exports={icon:{type:"element",isRootNode:!0,name:"svg",attributes:{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},children:[{type:"element",name:"path",attributes:{d:"M10.6665 2.66683C11.2865 2.66683 11.5965 2.66683 11.8508 2.73498C12.541 2.91991 13.0801 3.45901 13.265 4.14919C13.3332 4.40352 13.3332 4.71352 13.3332 5.3335V11.4668C13.3332 12.5869 13.3332 13.147 13.1152 13.5748C12.9234 13.9511 12.6175 14.2571 12.2412 14.4488C11.8133 14.6668 11.2533 14.6668 10.1332 14.6668H5.8665C4.7464 14.6668 4.18635 14.6668 3.75852 14.4488C3.3822 14.2571 3.07624 13.9511 2.88449 13.5748C2.6665 13.147 2.6665 12.5869 2.6665 11.4668V5.3335C2.6665 4.71352 2.6665 4.40352 2.73465 4.14919C2.91959 3.45901 3.45868 2.91991 4.14887 2.73498C4.4032 2.66683 4.71319 2.66683 5.33317 2.66683M5.99984 10.0002L7.33317 11.3335L10.3332 8.3335M6.39984 4.00016H9.59984C9.9732 4.00016 10.1599 4.00016 10.3025 3.9275C10.4279 3.86359 10.5299 3.7616 10.5938 3.63616C10.6665 3.49355 10.6665 3.30686 10.6665 2.9335V2.40016C10.6665 2.02679 10.6665 1.84011 10.5938 1.6975C10.5299 1.57206 10.4279 1.47007 10.3025 1.40616C10.1599 1.3335 9.97321 1.3335 9.59984 1.3335H6.39984C6.02647 1.3335 5.83978 1.3335 5.69718 1.40616C5.57174 1.47007 5.46975 1.57206 5.40583 1.6975C5.33317 1.84011 5.33317 2.02679 5.33317 2.40016V2.9335C5.33317 3.30686 5.33317 3.49355 5.40583 3.63616C5.46975 3.7616 5.57174 3.86359 5.69718 3.9275C5.83978 4.00016 6.02647 4.00016 6.39984 4.00016Z",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"},children:[]}]},name:"CopyCheck"}},790480,(e,t,n)=>{t.exports={icon:{type:"element",isRootNode:!0,name:"svg",attributes:{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},children:[{type:"element",name:"g",attributes:{id:"Icon"},children:[{type:"element",name:"path",attributes:{id:"Icon_2",d:"M9.33366 7.3335H5.33366M6.66699 10.0002H5.33366M10.667 4.66683H5.33366M13.3337 4.5335V11.4668C13.3337 12.5869 13.3337 13.147 13.1157 13.5748C12.9239 13.9511 12.618 14.2571 12.2416 14.4488C11.8138 14.6668 11.2538 14.6668 10.1337 14.6668H5.86699C4.74689 14.6668 4.18683 14.6668 3.75901 14.4488C3.38269 14.2571 3.07673 13.9511 2.88498 13.5748C2.66699 13.147 2.66699 12.5869 2.66699 11.4668V4.5335C2.66699 3.41339 2.66699 2.85334 2.88498 2.42552C3.07673 2.04919 3.38269 1.74323 3.75901 1.55148C4.18683 1.3335 4.74689 1.3335 5.86699 1.3335H10.1337C11.2538 1.3335 11.8138 1.3335 12.2416 1.55148C12.618 1.74323 12.9239 2.04919 13.1157 2.42552C13.3337 2.85334 13.3337 3.41339 13.3337 4.5335Z",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"},children:[]}]}]},name:"File02"}},680011,(e,t,n)=>{t.exports={icon:{type:"element",isRootNode:!0,name:"svg",attributes:{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},children:[{type:"element",name:"g",attributes:{id:"file-arrow-01"},children:[{type:"element",name:"path",attributes:{id:"Vector",d:"M3.33333 12.333C3.33333 12.6426 3.33333 12.7974 3.35044 12.9274C3.4686 13.8249 4.17481 14.5311 5.07228 14.6492C5.20225 14.6663 5.35705 14.6663 5.66667 14.6663H10.8C11.9201 14.6663 12.4802 14.6663 12.908 14.4484C13.2843 14.2566 13.5903 13.9506 13.782 13.5743C14 13.1465 14 12.5864 14 11.4663V6.65849C14 6.16931 14 5.92472 13.9447 5.69454C13.8957 5.49047 13.8149 5.29538 13.7053 5.11644C13.5816 4.91461 13.4086 4.74165 13.0627 4.39575L10.9373 2.27027C10.5914 1.92436 10.4184 1.75141 10.2166 1.62773C10.0376 1.51807 9.84254 1.43726 9.63846 1.38827C9.40829 1.33301 9.1637 1.33301 8.67452 1.33301H5.66667C5.35705 1.33301 5.20225 1.33301 5.07228 1.35012C4.17481 1.46827 3.4686 2.17449 3.35044 3.07196M5.33333 5.99967L7.33333 7.99967M7.33333 7.99967L5.33333 9.99967M7.33333 7.99967H2",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"},children:[]}]}]},name:"FileArrow01"}},789075,(e,t,n)=>{t.exports={icon:{type:"element",isRootNode:!0,name:"svg",attributes:{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},children:[{type:"element",name:"g",attributes:{id:"file-check-02"},children:[{type:"element",name:"path",attributes:{id:"Icon",d:"M13.3337 8.33301V4.53301C13.3337 3.4129 13.3337 2.85285 13.1157 2.42503C12.9239 2.0487 12.618 1.74274 12.2416 1.55099C11.8138 1.33301 11.2538 1.33301 10.1337 1.33301H5.86699C4.74689 1.33301 4.18683 1.33301 3.75901 1.55099C3.38269 1.74274 3.07673 2.0487 2.88498 2.42503C2.66699 2.85285 2.66699 3.4129 2.66699 4.53301V11.4663C2.66699 12.5864 2.66699 13.1465 2.88498 13.5743C3.07673 13.9506 3.38269 14.2566 3.75901 14.4484C4.18683 14.6663 4.74689 14.6663 5.86699 14.6663H8.00033M9.33366 7.33301H5.33366M6.66699 9.99967H5.33366M10.667 4.66634H5.33366M9.66699 12.6663L11.0003 13.9997L14.0003 10.9997",stroke:"currentColor","stroke-width":"1.25","stroke-linecap":"round","stroke-linejoin":"round"},children:[]}]}]},name:"FileCheck02"}},335031,(e,t,n)=>{t.exports={icon:{type:"element",isRootNode:!0,name:"svg",attributes:{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},children:[{type:"element",name:"path",attributes:{d:"M20 12.5V6.8C20 5.11984 20 4.27976 19.673 3.63803C19.3854 3.07354 18.9265 2.6146 18.362 2.32698C17.7202 2 16.8802 2 15.2 2H8.8C7.11984 2 6.27976 2 5.63803 2.32698C5.07354 2.6146 4.6146 3.07354 4.32698 3.63803C4 4.27976 4 5.11984 4 6.8V17.2C4 18.8802 4 19.7202 4.32698 20.362C4.6146 20.9265 5.07354 21.3854 5.63803 21.673C6.27976 22 7.1198 22 8.79986 22H12.5M14 11H8M10 15H8M16 7H8M15 19L18 22M18 22L21 19M18 22V16",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},children:[]}]},name:"FileDownload02"}},605506,(e,t,n)=>{t.exports={icon:{type:"element",isRootNode:!0,name:"svg",attributes:{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},children:[{type:"element",name:"g",attributes:{id:"file-plus-01"},children:[{type:"element",name:"path",attributes:{id:"Icon",d:"M13.3332 6.99967V4.53301C13.3332 3.4129 13.3332 2.85285 13.1152 2.42503C12.9234 2.0487 12.6175 1.74274 12.2412 1.55099C11.8133 1.33301 11.2533 1.33301 10.1332 1.33301H5.8665C4.7464 1.33301 4.18635 1.33301 3.75852 1.55099C3.3822 1.74274 3.07624 2.0487 2.88449 2.42503C2.6665 2.85285 2.6665 3.4129 2.6665 4.53301V11.4663C2.6665 12.5864 2.6665 13.1465 2.88449 13.5743C3.07624 13.9506 3.3822 14.2566 3.75852 14.4484C4.18635 14.6663 4.7464 14.6663 5.8665 14.6663H7.99984M11.9998 13.9997V9.99967M9.99984 11.9997H13.9998",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"},children:[]}]}]},name:"FilePlus01"}},351383,(e,t,n)=>{t.exports={icon:{type:"element",isRootNode:!0,name:"svg",attributes:{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},children:[{type:"element",name:"path",attributes:{d:"M13.3333 6.99992V4.53325C13.3333 3.41315 13.3333 2.85309 13.1153 2.42527C12.9236 2.04895 12.6176 1.74299 12.2413 1.55124C11.8135 1.33325 11.2534 1.33325 10.1333 1.33325H5.86666C4.74655 1.33325 4.1865 1.33325 3.75868 1.55124C3.38235 1.74299 3.07639 2.04895 2.88464 2.42527C2.66666 2.85309 2.66666 3.41315 2.66666 4.53325V11.4666C2.66666 12.5867 2.66666 13.1467 2.88464 13.5746C3.07639 13.9509 3.38235 14.2569 3.75868 14.4486C4.1865 14.6666 4.74655 14.6666 5.86666 14.6666H7.99999M9.33332 7.33325H5.33332M6.66666 9.99992H5.33332M10.6667 4.66659H5.33332M12 13.9999V9.99992M9.99999 11.9999H14",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"},children:[]}]},name:"FilePlus02"}},591337,(e,t,n)=>{t.exports={icon:{type:"element",isRootNode:!0,name:"svg",attributes:{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},children:[{type:"element",name:"g",attributes:{id:"file-text"},children:[{type:"element",name:"path",attributes:{id:"Icon",d:"M14 2H6C5.46957 2 4.96086 2.21071 4.58579 2.58579C4.21071 2.96086 4 3.46957 4 4V20C4 20.5304 4.21071 21.0391 4.58579 21.4142C4.96086 21.7893 5.46957 22 6 22H18C18.5304 22 19.0391 21.7893 19.4142 21.4142C19.7893 21.0391 20 20.5304 20 20V8M14 2L20 8M14 2V8H20M16 13H8M16 17H8M10 9H8",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},children:[]}]}]},name:"FileText"}},149620,(e,t,n)=>{t.exports={icon:{type:"element",isRootNode:!0,name:"svg",attributes:{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},children:[{type:"element",name:"g",attributes:{id:"file-upload"},children:[{type:"element",name:"path",attributes:{id:"Icon",d:"M20 10.5V6.8C20 5.11984 20 4.27976 19.673 3.63803C19.3854 3.07354 18.9265 2.6146 18.362 2.32698C17.7202 2 16.8802 2 15.2 2H8.8C7.11984 2 6.27976 2 5.63803 2.32698C5.07354 2.6146 4.6146 3.07354 4.32698 3.63803C4 4.27976 4 5.11984 4 6.8V17.2C4 18.8802 4 19.7202 4.32698 20.362C4.6146 20.9265 5.07354 21.3854 5.63803 21.673C6.27976 22 7.11984 22 8.8 22H12M14 11H8M10 15H8M16 7H8",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},children:[]},{type:"element",name:"path",attributes:{id:"Icon_2",d:"M15 18L18 15M18 15L21 18M18 15L18 21",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},children:[]}]}]},name:"FileUpload"}},669299,(e,t,n)=>{t.exports={icon:{type:"element",isRootNode:!0,name:"svg",attributes:{width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},children:[{type:"element",name:"g",attributes:{id:"folder"},children:[{type:"element",name:"path",attributes:{id:"Icon",d:"M12.8327 11.0833C12.8327 11.3928 12.7098 11.6895 12.491 11.9083C12.2722 12.1271 11.9754 12.25 11.666 12.25H2.33268C2.02326 12.25 1.72652 12.1271 1.50772 11.9083C1.28893 11.6895 1.16602 11.3928 1.16602 11.0833V2.91667C1.16602 2.60725 1.28893 2.3105 1.50772 2.09171C1.72652 1.87292 2.02326 1.75 2.33268 1.75H5.24935L6.41602 3.5H11.666C11.9754 3.5 12.2722 3.62292 12.491 3.84171C12.7098 4.0605 12.8327 4.35725 12.8327 4.66667V11.0833Z",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"},children:[]}]}]},name:"Folder"}},21511,498664,842820,644916,382521,910151,629807,155365,e=>{"use strict";var t=e.i(835240),n=e.i(807324),r=e.i(577664);let o=e=>{let{ref:o,...i}=e;return(0,t.jsx)(n.default,{...i,ref:o,data:r.default})};o.displayName="Copy",e.s(["default",0,o],498664);var i=e.i(183612);let l=e=>{let{ref:r,...o}=e;return(0,t.jsx)(n.default,{...o,ref:r,data:i.default})};l.displayName="CopyCheck",e.s(["default",0,l],842820),e.i(790480);var u=e.i(680011);let a=e=>{let{ref:r,...o}=e;return(0,t.jsx)(n.default,{...o,ref:r,data:u.default})};a.displayName="FileArrow01",e.s(["default",0,a],644916),e.i(789075);var s=e.i(335031);let c=e=>{let{ref:r,...o}=e;return(0,t.jsx)(n.default,{...o,ref:r,data:s.default})};c.displayName="FileDownload02",e.s(["default",0,c],382521);var d=e.i(605506);let f=e=>{let{ref:r,...o}=e;return(0,t.jsx)(n.default,{...o,ref:r,data:d.default})};f.displayName="FilePlus01",e.s(["default",0,f],910151);var p=e.i(351383);let C=e=>{let{ref:r,...o}=e;return(0,t.jsx)(n.default,{...o,ref:r,data:p.default})};C.displayName="FilePlus02",e.s(["default",0,C],629807),e.i(591337),e.i(149620);var m=e.i(669299);let h=e=>{let{ref:r,...o}=e;return(0,t.jsx)(n.default,{...o,ref:r,data:m.default})};h.displayName="Folder",e.s(["default",0,h],155365),e.s([],21511)},234951,471959,748299,983640,e=>{"use strict";e.i(276949);var t=e.i(736893),n=e.i(92615),r=e.i(20746),o=e.i(887642),i=e.i(804849),l=e.i(102094),u=e.i(682354),a=e.i(447594),s=e.i(358527),c=e.i(795258),d=e.i(67077),f=e.i(586622),p=e.i(777321),C=e.i(331033);function m(e,t,n){switch(e){case"vertical":return t;case"horizontal":return n;default:return t||n}}function h(e,t){return m(t,e===C.ARROW_UP||e===C.ARROW_DOWN,e===C.ARROW_LEFT||e===C.ARROW_RIGHT)}function g(e,t,n){return m(t,e===C.ARROW_DOWN,n?e===C.ARROW_LEFT:e===C.ARROW_RIGHT)||"Enter"===e||" "===e||""===e}e.s(["useListNavigation",0,function(e,w){let y="rootStore"in e?e.rootStore:e,v=y.useState("open"),x=y.useState("floatingElement"),k=y.useState("domReferenceElement"),R=y.context.dataRef,{listRef:b,activeIndex:M,onNavigate:E=()=>{},enabled:H=!0,selectedIndex:L=null,allowEscape:I=!1,loopFocus:D=!1,nested:A=!1,rtl:N=!1,virtual:V=!1,focusItemOnOpen:O="auto",focusItemOnHover:S=!0,openOnArrowKeyDown:T=!0,disabledIndices:F,orientation:W="vertical",parentOrientation:j,cols:_=1,id:B,resetOnPointerLeave:P=!0,externalTree:U}=w,G=(0,u.getFloatingFocusElement)(x),K=(0,r.useValueAsRef)(G),q=(0,c.useFloatingParentNodeId)(),z=(0,c.useFloatingTree)(U);(0,i.useIsoLayoutEffect)(()=>{R.current.orientation=W},[R,W]);let Z=(0,u.isTypeableCombobox)(k),$=t.useRef(O),X=t.useRef(L??-1),J=t.useRef(null),Q=t.useRef(!0),Y=(0,o.useStableCallback)(e=>{E(-1===X.current?null:X.current,e)}),ee=t.useRef(Y),et=t.useRef(!!x),en=t.useRef(v),er=t.useRef(!1),eo=t.useRef(!1),ei=(0,r.useValueAsRef)(F),el=(0,r.useValueAsRef)(v),eu=(0,r.useValueAsRef)(L),ea=(0,r.useValueAsRef)(P),es=(0,o.useStableCallback)(()=>{function e(e){V?z?.events.emit("virtualfocus",e):(0,p.enqueueFocus)(e,{sync:er.current,preventScroll:!0})}let t=b.current[X.current],n=eo.current;t&&e(t),(er.current?e=>e():requestAnimationFrame)(()=>{let r=b.current[X.current]||t;!r||(t||e(r),ed&&(n||!Q.current)&&r.scrollIntoView?.({block:"nearest",inline:"nearest"}))})});(0,i.useIsoLayoutEffect)(()=>{H&&(v&&x?(X.current=L??-1,$.current&&null!=L&&(eo.current=!0,Y())):et.current&&(X.current=-1,ee.current()))},[H,v,x,L,Y]),(0,i.useIsoLayoutEffect)(()=>{if(H){if(!v){er.current=!1;return}if(x)if(null==M){if(er.current=!1,null!=eu.current)return;if(et.current&&(X.current=-1,es()),(!en.current||!et.current)&&$.current&&(null!=J.current||!0===$.current&&null==J.current)){let e=0,t=()=>{null==b.current[0]?(e<2&&(e?requestAnimationFrame:queueMicrotask)(t),e+=1):(X.current=null==J.current||g(J.current,W,N)||A?(0,s.getMinListIndex)(b):(0,s.getMaxListIndex)(b),J.current=null,Y())};t()}}else(0,s.isIndexOutOfListBounds)(b,M)||(X.current=M,es(),eo.current=!1)}},[H,v,x,M,eu,A,b,W,N,Y,es,ei]),(0,i.useIsoLayoutEffect)(()=>{if(!H||x||!z||V||!et.current)return;let e=z.nodesRef.current,t=e.find(e=>e.id===q)?.context?.elements.floating,n=(0,u.activeElement)((0,l.ownerDocument)(x)),r=e.some(e=>e.context&&(0,u.contains)(e.context.elements.floating,n));t&&!r&&Q.current&&t.focus({preventScroll:!0})},[H,x,z,q,V]),(0,i.useIsoLayoutEffect)(()=>{ee.current=Y,en.current=v,et.current=!!x}),(0,i.useIsoLayoutEffect)(()=>{v||(J.current=null,$.current=O)},[v,O]);let ec=null!=M,ed=t.useMemo(()=>{function e(e){if(!el.current)return;let t=b.current.indexOf(e.currentTarget);-1!==t&&X.current!==t&&(X.current=t,Y(e))}return{onFocus(t){er.current=!0,e(t)},onClick:e=>{let{currentTarget:t}=e;return t.focus({preventScroll:!0})},onMouseMove(t){er.current=!0,eo.current=!1,S&&e(t)},onPointerLeave(e){if(!el.current||!Q.current||"touch"===e.pointerType)return;er.current=!0;let t=e.relatedTarget;if(!(!S||b.current.includes(t))&&ea.current&&((0,p.enqueueFocus)(null,{sync:!0}),X.current=-1,Y(e),!V)){let e=K.current,t=(0,u.activeElement)((0,l.ownerDocument)(e));e&&(0,u.contains)(e,t)&&e.focus({preventScroll:!0})}}}},[el,K,S,b,Y,ea,V]),ef=t.useCallback(()=>j??z?.nodesRef.current.find(e=>e.id===q)?.context?.dataRef?.current.orientation,[q,z,j]),ep=(0,o.useStableCallback)(e=>{var t;let r,o;if(Q.current=!1,er.current=!0,229===e.which||!el.current&&e.currentTarget===K.current)return;if(A&&(t=e.key,r=N?t===C.ARROW_RIGHT:t===C.ARROW_LEFT,o=t===C.ARROW_UP,"both"===W||"horizontal"===W&&_&&_>1?"Escape"===t:m(W,r,o))){h(e.key,ef())||(0,a.stopEvent)(e),y.setOpen(!1,(0,d.createChangeEventDetails)(f.REASONS.listNavigation,e.nativeEvent)),(0,n.isHTMLElement)(k)&&(V?z?.events.emit("virtualfocus",k):k.focus());return}let i=X.current,l=(0,s.getMinListIndex)(b,F),c=(0,s.getMaxListIndex)(b,F);if(Z||("Home"===e.key&&((0,a.stopEvent)(e),X.current=l,Y(e)),"End"===e.key&&((0,a.stopEvent)(e),X.current=c,Y(e))),_>1){let t=Array.from({length:b.current.length},()=>({width:1,height:1})),n=(0,s.createGridCellMap)(t,_,!1),r=n.findIndex(e=>null!=e&&!(0,s.isListIndexDisabled)(b,e,F)),o=n.reduce((e,t,n)=>null==t||(0,s.isListIndexDisabled)(b,t,F)?e:n,-1),i=n[(0,s.getGridNavigatedIndex)({current:n.map(e=>null!=e?b.current[e]:null)},{event:e,orientation:W,loopFocus:D,rtl:N,cols:_,disabledIndices:(0,s.getGridCellIndices)([...("function"!=typeof F?F:null)||b.current.map((e,t)=>(0,s.isListIndexDisabled)(b,t,F)?t:void 0),void 0],n),minIndex:r,maxIndex:o,prevIndex:(0,s.getGridCellIndexOfCorner)(X.current>c?l:X.current,t,n,_,e.key===C.ARROW_DOWN?"bl":e.key===(N?C.ARROW_LEFT:C.ARROW_RIGHT)?"tr":"tl"),stopEvent:!0})];if(null!=i&&(X.current=i,Y(e)),"both"===W)return}if(h(e.key,W)){if((0,a.stopEvent)(e),v&&!V&&(0,u.activeElement)(e.currentTarget.ownerDocument)===e.currentTarget){X.current=g(e.key,W,N)?l:c,Y(e);return}g(e.key,W,N)?D?i>=c?I&&i!==b.current.length?X.current=-1:(er.current=!1,X.current=l):X.current=(0,s.findNonDisabledListIndex)(b,{startingIndex:i,disabledIndices:F}):X.current=Math.min(c,(0,s.findNonDisabledListIndex)(b,{startingIndex:i,disabledIndices:F})):D?i<=l?I&&-1!==i?X.current=b.current.length:(er.current=!1,X.current=c):X.current=(0,s.findNonDisabledListIndex)(b,{startingIndex:i,decrement:!0,disabledIndices:F}):X.current=Math.max(l,(0,s.findNonDisabledListIndex)(b,{startingIndex:i,decrement:!0,disabledIndices:F})),(0,s.isIndexOutOfListBounds)(b,X.current)&&(X.current=-1),Y(e)}}),eC=t.useMemo(()=>V&&v&&ec&&{"aria-activedescendant":`${B}-${M}`},[V,v,ec,B,M]),em=t.useMemo(()=>({"aria-orientation":"both"===W?void 0:W,...!Z?eC:{},onKeyDown(e){if("Tab"===e.key&&e.shiftKey&&v&&!V){let t=(0,u.getTarget)(e.nativeEvent);if(t&&!(0,u.contains)(K.current,t))return;(0,a.stopEvent)(e),y.setOpen(!1,(0,d.createChangeEventDetails)(f.REASONS.focusOut,e.nativeEvent)),(0,n.isHTMLElement)(k)&&k.focus();return}ep(e)},onPointerMove(){Q.current=!0}}),[eC,ep,K,W,Z,y,v,V,k]),eh=t.useMemo(()=>{function e(e){"auto"===O&&(0,a.isVirtualClick)(e.nativeEvent)&&($.current=!V)}function t(e){$.current=O,"auto"===O&&(0,a.isVirtualPointerEvent)(e.nativeEvent)&&($.current=!0)}return{onKeyDown(e){var t,n;let r=y.select("open");Q.current=!1;let o=e.key.startsWith("Arrow"),i=(t=e.key,n=ef(),m(n,N?t===C.ARROW_LEFT:t===C.ARROW_RIGHT,t===C.ARROW_DOWN)),l=h(e.key,W),u=(A?i:l)||"Enter"===e.key||""===e.key.trim();if(V&&r)return ep(e);if(r||T||!o){if(u){let t=h(e.key,ef());J.current=A&&t?null:e.key}if(A){i&&((0,a.stopEvent)(e),r?(X.current=(0,s.getMinListIndex)(b,ei.current),Y(e)):y.setOpen(!0,(0,d.createChangeEventDetails)(f.REASONS.listNavigation,e.nativeEvent,e.currentTarget)));return}l&&(null!=eu.current&&(X.current=eu.current),(0,a.stopEvent)(e),!r&&T?y.setOpen(!0,(0,d.createChangeEventDetails)(f.REASONS.listNavigation,e.nativeEvent,e.currentTarget)):ep(e),r&&Y(e))}},onFocus(e){y.select("open")&&!V&&(X.current=-1,Y(e))},onPointerDown:t,onPointerEnter:t,onMouseDown:e,onClick:e}},[ep,ei,O,b,A,Y,y,T,W,ef,N,eu,V]),eg=t.useMemo(()=>({...eC,...eh}),[eC,eh]);return t.useMemo(()=>H?{reference:eg,floating:em,item:ed,trigger:eh}:{},[H,eg,em,eh,ed])}],234951);var w=e.i(161476);e.s(["useTypeahead",0,function(e,n){let r="rootStore"in e?e.rootStore:e,l=r.context.dataRef,c=r.useState("open"),{listRef:d,elementsRef:f,activeIndex:p,onMatch:C,onTypingChange:m,enabled:h=!0,resetMs:g=750,selectedIndex:y=null}=n,v=(0,w.useTimeout)(),x=t.useRef(""),k=t.useRef(y??p??-1),R=t.useRef(null);(0,i.useIsoLayoutEffect)(()=>{(c||null===y)&&(v.clear(),R.current=null,""!==x.current&&(x.current=""))},[c,y,v]),(0,i.useIsoLayoutEffect)(()=>{c&&""===x.current&&(k.current=y??p??-1)},[c,y,p]);let b=(0,o.useStableCallback)(e=>{e?l.current.typing||(l.current.typing=e,m?.(e)):l.current.typing&&(l.current.typing=e,m?.(e))}),M=(0,o.useStableCallback)(e=>{function t(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(0===e.length)return -1;let r=(n%e.length+e.length)%e.length,o=t.toLocaleLowerCase();for(let t=0;t0&&" "===e.key&&((0,a.stopEvent)(e),b(!0)),x.current.length>0&&" "!==x.current[0]&&-1===t(n,x.current)&&" "!==e.key&&b(!1),null==n||1!==e.key.length||e.ctrlKey||e.metaKey||e.altKey)return;c&&" "!==e.key&&((0,a.stopEvent)(e),b(!0));let r=""===x.current;r&&(k.current=y??p??-1),n.every(e=>!e||e[0]?.toLocaleLowerCase()!==e[1]?.toLocaleLowerCase())&&x.current===e.key&&(x.current="",k.current=R.current),x.current+=e.key,v.start(g,()=>{x.current="",k.current=R.current,b(!1)});let o=r?y??p??-1:k.current,i=t(n,x.current,(o??0)+1);-1!==i?(C?.(i),R.current=i):" "!==e.key&&(x.current="",b(!1))}),E=(0,o.useStableCallback)(e=>{let t=e.relatedTarget,n=r.select("domReferenceElement"),o=r.select("floatingElement"),i=(0,u.contains)(n,t),l=(0,u.contains)(o,t);i||l||(v.clear(),x.current="",k.current=R.current,b(!1))}),H=t.useMemo(()=>({onKeyDown:M,onBlur:E}),[M,E]),L=t.useMemo(()=>({onKeyDown:M,onBlur:E}),[M,E]);return t.useMemo(()=>h?{reference:H,floating:L}:{},[h,H,L])}],471959),e.s(["getPseudoElementBounds",0,function(e){let t=e.getBoundingClientRect(),n=window.getComputedStyle(e,"::before"),r=window.getComputedStyle(e,"::after");if("none"===n.content&&"none"===r.content)return t;let o=parseFloat(n.width)||0,i=parseFloat(n.height)||0,l=parseFloat(r.width)||0,u=parseFloat(r.height)||0,a=Math.max(t.width,o,l),s=Math.max(t.height,i,u),c=a-t.width,d=s-t.height;return{left:t.left-c/2,right:t.right+c/2,top:t.top-d/2,bottom:t.bottom+d/2}}],748299);var y=e.i(581263);let v=t.forwardRef(function(e,t){let{className:n,render:r,orientation:o="horizontal",...i}=e;return(0,y.useRenderElement)("div",e,{state:{orientation:o},ref:t,props:[{role:"separator","aria-orientation":o},i]})});e.s(["Separator",0,v],983640)}]);