"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5922],{7036:(t,e,n)=>{n.d(e,{KT:()=>d,Tc:()=>a,m0:()=>c,nr:()=>u,un:()=>s});let r="undefined"!=typeof navigator,i=function(){if(!r)return{platform:"",maxTouchPoints:-1};let t=navigator.userAgentData;return t?.platform?{platform:t.platform,maxTouchPoints:navigator.maxTouchPoints}:{platform:navigator.platform??"",maxTouchPoints:navigator.maxTouchPoints??-1}}(),l=function(){if(!r)return"";let t=navigator.userAgentData;return t?.platform?t.platform:navigator.platform??""}(),o=function(){if(!r)return"";let t=navigator.userAgentData;return t&&Array.isArray(t.brands)?t.brands.map(({brand:t,version:e})=>`${t}/${e}`).join(" "):navigator.userAgent}(),a="undefined"!=typeof CSS&&!!CSS.supports&&CSS.supports("-webkit-backdrop-filter:none"),s="MacIntel"===i.platform&&i.maxTouchPoints>1||/iP(hone|ad|od)|iOS/.test(i.platform);r&&/firefox/i.test(o);let u=r&&/apple/i.test(navigator.vendor);r&&/Edg/i.test(o);let c=r&&/android/i.test(l)||/android/i.test(o);r&&l.toLowerCase().startsWith("mac")&&navigator.maxTouchPoints;let d=o.includes("jsdom/")},10208:(t,e,n)=>{n.d(e,{B1:()=>A,C0:()=>f,Dz:()=>b,Jx:()=>s,LI:()=>o,PG:()=>g,RI:()=>a,Sg:()=>h,T9:()=>l,TV:()=>m,WJ:()=>y,_3:()=>d,bV:()=>k,jk:()=>i,lP:()=>M,nI:()=>x,qE:()=>c,r_:()=>r,sq:()=>p,w7:()=>v});let r=["top","right","bottom","left"],i=Math.min,l=Math.max,o=Math.round,a=Math.floor,s=t=>({x:t,y:t}),u={left:"right",right:"left",bottom:"top",top:"bottom"};function c(t,e,n){return l(t,i(e,n))}function d(t,e){return"function"==typeof t?t(e):t}function f(t){return t.split("-")[0]}function h(t){return t.split("-")[1]}function g(t){return"x"===t?"y":"x"}function p(t){return"y"===t?"height":"width"}function m(t){let e=t[0];return"t"===e||"b"===e?"y":"x"}function b(t){return g(m(t))}function v(t,e,n){void 0===n&&(n=!1);let r=h(t),i=b(t),l=p(i),o="x"===i?r===(n?"end":"start")?"right":"left":"start"===r?"bottom":"top";return e.reference[l]>e.floating[l]&&(o=k(o)),[o,k(o)]}function y(t){let e=k(t);return[T(t),e,T(e)]}function T(t){return t.includes("start")?t.replace("start","end"):t.replace("end","start")}let w=["left","right"],P=["right","left"],I=["top","bottom"],S=["bottom","top"];function M(t,e,n,r){let i=h(t),l=function(t,e,n){switch(t){case"top":case"bottom":if(n)return e?P:w;return e?w:P;case"left":case"right":return e?I:S;default:return[]}}(f(t),"start"===n,r);return i&&(l=l.map(t=>t+"-"+i),e&&(l=l.concat(l.map(T)))),l}function k(t){let e=f(t);return u[e]+t.slice(e.length)}function x(t){return"number"!=typeof t?{top:0,right:0,bottom:0,left:0,...t}:{top:t,right:t,bottom:t,left:t}}function A(t){let{x:e,y:n,width:r,height:i}=t;return{width:r,height:i,top:n,left:e,right:e+r,bottom:n+i,x:e,y:n}}},32587:(t,e,n)=>{n.d(e,{Ev:()=>u,Go:()=>s,O_:()=>l,Pg:()=>a,YF:()=>o,jo:()=>i});var r=n(7036);function i(t){t.preventDefault(),t.stopPropagation()}function l(t){return"nativeEvent"in t}function o(t){return""===t.pointerType&&!!t.isTrusted||(r.m0&&t.pointerType?"click"===t.type&&1===t.buttons:0===t.detail&&!t.pointerType)}function a(t){return!r.KT&&(!r.m0&&0===t.width&&0===t.height||r.m0&&1===t.width&&1===t.height&&0===t.pressure&&0===t.detail&&"mouse"===t.pointerType||t.width<1&&t.height<1&&0===t.pressure&&0===t.detail&&"touch"===t.pointerType)}function s(t,e){let n=["mouse","pen"];return e||n.push("",void 0),n.includes(t)}function u(t){let e=t.type;return"click"===e||"mousedown"===e||"keydown"===e||"keyup"===e}},34788:(t,e,n)=>{n.d(e,{A:()=>r});let r=(0,n(13185).A)("x",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]])},48542:(t,e,n)=>{n.d(e,{Y:()=>i});var r=n(69410);function i(t){return(0,r._)(19)?t:t?"true":void 0}},52624:(t,e,n)=>{n.d(e,{y:()=>l});var r=n(12115);let i=[];function l(t){r.useEffect(t,i)}},58261:(t,e,n)=>{n.d(e,{K:()=>a,N:()=>s});var r=n(77509),i=n(52624);globalThis.requestAnimationFrame;class l{request(t){let e=this.nextId;return this.nextId+=1,this.callbacks.push(t),this.callbacksCount+=1,this.isScheduled||(requestAnimationFrame(this.tick),this.isScheduled=!0),e}cancel(t){let e=t-this.startId;e<0||e>=this.callbacks.length||(this.callbacks[e]=null,this.callbacksCount-=1)}constructor(){this.callbacks=[],this.callbacksCount=0,this.nextId=1,this.startId=1,this.isScheduled=!1,this.tick=t=>{this.isScheduled=!1;let e=this.callbacks,n=this.callbacksCount;if(this.callbacks=[],this.callbacksCount=0,this.startId=this.nextId,n>0)for(let n=0;n{this.currentId=null,t()})}constructor(){this.currentId=null,this.cancel=()=>{null!==this.currentId&&(o.cancel(this.currentId),this.currentId=null)},this.disposeEffect=()=>this.cancel}}function s(){let t=(0,r.useRefWithInit)(a.create).current;return(0,i.y)(t.disposeEffect),t}},62840:(t,e,n)=>{n.d(e,{G:()=>o,T:()=>r});let r=function(t){return t.startingStyle="data-starting-style",t.endingStyle="data-ending-style",t}({}),i={[r.startingStyle]:""},l={[r.endingStyle]:""},o={transitionStatus:t=>"starting"===t?i:"ending"===t?l:null}},66162:(t,e,n)=>{n.d(e,{BT:()=>o,Ed:()=>r,Jd:()=>c,RJ:()=>s,WS:()=>l,XA:()=>i,eR:()=>a,il:()=>u});let r="data-base-ui-focusable",i="active",l="selected",o="input:not([type='hidden']):not([disabled]),[contenteditable]:not([contenteditable='false']),textarea:not([disabled])",a="ArrowLeft",s="ArrowRight",u="ArrowUp",c="ArrowDown"},75302:(t,e,n)=>{n.d(e,{q:()=>r});function r(t){return null==t?t:"current"in t?t.current:t}},77818:(t,e,n)=>{n.d(e,{v:()=>u});var r=n(12115),i=n(7546),l=n(47650),o=n(58261),a=n(75302),s=n(62840);function u(t){let{enabled:e=!0,open:n,ref:u,onComplete:c}=t,d=(0,i.K)(c),f=function(t){let e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=!(arguments.length>2)||void 0===arguments[2]||arguments[2],r=(0,o.N)();return(0,i.K)(function(i){let o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;r.cancel();let u=(0,a.q)(t);if(null==u)return;let c=()=>{l.flushSync(i)};if("function"!=typeof u.getAnimations||globalThis.BASE_UI_ANIMATIONS_DISABLED)return void i();function d(){Promise.all(u.getAnimations().map(t=>t.finished)).then(()=>{(null==o?void 0:o.aborted)||c()}).catch(()=>{if(n){(null==o?void 0:o.aborted)||c();return}let t=u.getAnimations();!(null==o?void 0:o.aborted)&&t.length>0&&t.some(t=>t.pending||"finished"!==t.playState)&&d()})}if(e){let t=s.T.startingStyle;if(!u.hasAttribute(t))return void r.request(d);let e=new MutationObserver(()=>{u.hasAttribute(t)||(e.disconnect(),d())});return e.observe(u,{attributes:!0,attributeFilter:[t]}),void(null==o||o.addEventListener("abort",()=>e.disconnect(),{once:!0}))}r.request(d)})}(u,n,!1);r.useEffect(()=>{if(!e)return;let t=new AbortController;return f(d,t.signal),()=>{t.abort()}},[e,n,d,f])}},78368:(t,e,n)=>{n.d(e,{BF:()=>d,FP:()=>m,J9:()=>b,Kg:()=>f,Y3:()=>p,Zb:()=>u,du:()=>s,fl:()=>g,vB:()=>c,zf:()=>h});var r=n(10208),i=n(2066),l=n(32587),o=n(66162);function a(t,e,n){return Math.floor(t/e)!==n}function s(t,e){return e<0||e>=t.length}function u(t,e){return d(t.current,{disabledIndices:e})}function c(t,e){return d(t.current,{decrement:!0,startingIndex:t.current.length,disabledIndices:e})}function d(t,{startingIndex:e=-1,decrement:n=!1,disabledIndices:r,amount:i=1}={}){let l=e;do l+=n?-i:i;while(l>=0&&l<=t.length-1&&m(t,l,r));return l}function f(t,{event:e,orientation:n,loopFocus:i,onLoop:u,rtl:c,cols:f,disabledIndices:h,minIndex:g,maxIndex:p,prevIndex:b,stopEvent:v=!1}){let y,T=b;if(e.key===o.il?y="up":e.key===o.Jd&&(y="down"),y){let n=[],o=[],a=!1,c=0;{let e=null,r=-1;t.forEach((t,i)=>{if(null==t)return;c+=1;let l=t.closest('[role="row"]');l&&(a=!0),(l!==e||-1===r)&&(e=l,n[r+=1]=[]),n[r].push(i),o[i]=r})}let w=!1,P=0;if(a)for(let t of n){let e=t.length;e>P&&(P=e),e!==f&&(w=!0)}let I=w&&c{if(!w||-1===b)return;let l=o[b];if(null==l)return;let a=n[l].indexOf(b),s="up"===r?-1:1;for(let r=l+s,c=0;c=n.length){if(!i||I)return;if(r=r<0?n.length-1:0,u){let t=Math.min(a,n[r].length-1);r=o[u(e,b,n[r][t]??n[r][0])]??r}}let l=n[r];for(let e=Math.min(a,l.length-1);e>=0;e-=1){let n=l[e];if(!m(t,n,h))return n}}})(y)??(e=>{if(!I||-1===b)return;let n=b%S,l="up"===e?-S:S,o=p-p%S,a=(0,r.RI)(p/S)+1;for(let e=b-n+l,r=0;rp){if(!i)return;e=e<0?o:0}let r=Math.min(e+S-1,p);for(let i=Math.min(e+n,r);i>=e;i-=1)if(!m(t,i,h))return i}})(y);if(void 0!==M)T=M;else if(-1===b)T="up"===y?p:g;else if(T=d(t,{startingIndex:b,amount:S,decrement:"up"===y,disabledIndices:h}),i){if("up"===y&&(b-St?r:r-S,u&&(T=u(e,b,T))}"down"===y&&b+S>p&&(T=d(t,{startingIndex:b%S-S,amount:S,disabledIndices:h}),u&&(T=u(e,b,T)))}s(t,T)&&(T=b)}if("both"===n){let n=(0,r.RI)(b/f);e.key===(c?o.eR:o.RJ)&&(v&&(0,l.jo)(e),b%f!=f-1?(T=d(t,{startingIndex:b,disabledIndices:h}),i&&a(T,f,n)&&(T=d(t,{startingIndex:b-b%f-1,disabledIndices:h}),u&&(T=u(e,b,T)))):i&&(T=d(t,{startingIndex:b-b%f-1,disabledIndices:h}),u&&(T=u(e,b,T))),a(T,f,n)&&(T=b)),e.key===(c?o.RJ:o.eR)&&(v&&(0,l.jo)(e),b%f!=0?(T=d(t,{startingIndex:b,decrement:!0,disabledIndices:h}),i&&a(T,f,n)&&(T=d(t,{startingIndex:b+(f-b%f),decrement:!0,disabledIndices:h}),u&&(T=u(e,b,T)))):i&&(T=d(t,{startingIndex:b+(f-b%f),decrement:!0,disabledIndices:h}),u&&(T=u(e,b,T))),a(T,f,n)&&(T=b));let g=(0,r.RI)(p/f)===n;s(t,T)&&(i&&g?(T=e.key===(c?o.RJ:o.eR)?p:d(t,{startingIndex:b-b%f-1,disabledIndices:h}),u&&(T=u(e,b,T))):T=b)}return T}function h(t,e,n){let r=[],i=0;return t.forEach(({width:t,height:l},o)=>{let a=!1;for(n&&(i=0);!a;){let n=[];for(let r=0;rnull==r[t])?(n.forEach(t=>{r[t]=o}),a=!0):i+=1}}),[...r]}function g(t,e,n,r,i){if(-1===t)return -1;let l=n.indexOf(t),o=e[t];switch(i){case"tl":return l;case"tr":if(!o)return l;return l+o.width-1;case"bl":if(!o)return l;return l+(o.height-1)*r;case"br":return n.lastIndexOf(t);default:return -1}}function p(t,e){return e.flatMap((e,n)=>t.includes(e)?[n]:[])}function m(t,e,n){if("function"==typeof n?n(e):n?.includes(e)??!1)return!0;let r=t[e];return!!r&&(!b(r)||!n&&(r.hasAttribute("disabled")||"true"===r.getAttribute("aria-disabled")))}function b(t,e=t?(0,i.L9)(t):null){var n;return!!t&&!!t.isConnected&&!!e&&"hidden"!==(n=e).visibility&&"collapse"!==n.visibility&&("function"==typeof t.checkVisibility?t.checkVisibility():"none"!==e.display&&"contents"!==e.display)}},81636:(t,e,n)=>{n.d(e,{$:()=>o});var r=n(12115),i=n(39972),l=n(58261);function o(t){let e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],[o,a]=r.useState(t&&e?"idle":void 0),[s,u]=r.useState(t);return t&&!s&&(u(!0),a("starting")),t||!s||"ending"===o||n||a("ending"),t||s||"ending"!==o||a(void 0),(0,i.g)(()=>{if(!t&&s&&"ending"!==o&&n){let t=l.K.request(()=>{a("ending")});return()=>{l.K.cancel(t)}}},[t,s,o,n]),(0,i.g)(()=>{if(!t||e)return;let n=l.K.request(()=>{a(void 0)});return()=>{l.K.cancel(n)}},[e,t]),(0,i.g)(()=>{if(!t||!e)return;t&&s&&"idle"!==o&&a("starting");let n=l.K.request(()=>{a("idle")});return()=>{l.K.cancel(n)}},[e,t,s,o]),{mounted:s,setMounted:u,transitionStatus:o}}},94769:(t,e,n)=>{n.d(e,{$v:()=>y,Jd:()=>l,Kp:()=>u,LM:()=>g,Qi:()=>v,RJ:()=>a,eR:()=>o,eb:()=>c,il:()=>i,jF:()=>m,lZ:()=>d,nX:()=>p,rT:()=>b,ug:()=>f,yZ:()=>s,z5:()=>h});var r=n(2066);let i="ArrowUp",l="ArrowDown",o="ArrowLeft",a="ArrowRight",s="Home",u="End",c=new Set([o,a]),d=new Set([o,a,s,u]),f=new Set([i,l]),h=new Set([i,l,s,u]),g=new Set([...c,...f]),p=new Set([...g,s,u]),m=new Set([i,l,o,a,s,u]),b=new Set(["Shift","Control","Alt","Meta"]);function v(t){return!!((0,r.sb)(t)&&"INPUT"===t.tagName&&null!=t.selectionStart||(0,r.sb)(t)&&"TEXTAREA"===t.tagName)}function y(t,e,n,r){if(!t||!e||!e.scrollTo)return;let i=t.scrollLeft,l=t.scrollTop,o=t.clientWidtht.scrollLeft+t.clientWidth-l.scrollPaddingRight?i=r+e.offsetWidth+o.scrollMarginRight-t.clientWidth+l.scrollPaddingRight:r-o.scrollMarginLeftt.scrollLeft+t.clientWidth-l.scrollPaddingRight&&(i=r+e.offsetWidth+o.scrollMarginRight-t.clientWidth+l.scrollPaddingRight))}if(a&&"horizontal"!==r){let n=T(t,e,"top"),r=w(t),i=w(e);n-i.scrollMarginTopt.scrollTop+t.clientHeight-r.scrollPaddingBottom&&(l=n+e.offsetHeight+i.scrollMarginBottom-t.clientHeight+r.scrollPaddingBottom)}t.scrollTo({left:i,top:l,behavior:"auto"})}function T(t,e,n){let r="left"===n?"offsetLeft":"offsetTop",i=0;for(;e.offsetParent&&(i+=e[r],e.offsetParent!==t);)e=e.offsetParent;return i}function w(t){let e=getComputedStyle(t);return{scrollMarginTop:parseFloat(e.scrollMarginTop)||0,scrollMarginRight:parseFloat(e.scrollMarginRight)||0,scrollMarginBottom:parseFloat(e.scrollMarginBottom)||0,scrollMarginLeft:parseFloat(e.scrollMarginLeft)||0,scrollPaddingTop:parseFloat(e.scrollPaddingTop)||0,scrollPaddingRight:parseFloat(e.scrollPaddingRight)||0,scrollPaddingBottom:parseFloat(e.scrollPaddingBottom)||0,scrollPaddingLeft:parseFloat(e.scrollPaddingLeft)||0}}}}]);