(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,621082,e=>{"use strict";e.i(247167);var t=e.i(229315);function n(e,{startingIndex:t=-1,decrement:i=!1,disabledIndices:o,amount:s=1}={}){let l=t;do l+=i?-s:s;while(l>=0&&l<=e.length-1&&r(e,l,o))return l}function r(e,t,n){if("function"==typeof n?n(t):n?.includes(t)??!1)return!0;let r=e[t];return!!r&&(!!(!i(r)||r.matches(":disabled"))||!n&&(r.hasAttribute("disabled")||"true"===r.getAttribute("aria-disabled")))}function i(e,n=e?(0,t.X)(e):null){var r;return!!e&&!!e.isConnected&&!!n&&"hidden"!==(r=n).visibility&&"collapse"!==r.visibility&&("function"==typeof e.checkVisibility?e.checkVisibility():"none"!==n.display&&"contents"!==n.display)}e.s(["e",0,n,"_",0,function(e,t){return n(e.current,{decrement:!0,startingIndex:e.current.length,disabledIndices:t})},"J",0,function(e,t){return n(e.current,{disabledIndices:t})},"v",0,i,"c",0,function(e,t){return t<0||t>=e.length},"K",0,r])},675606,e=>{"use strict";var t=e.i(956789);e.s(["j",0,function(e,n,r,i){let o=!1,s=!1,l=i??t.w;return{reason:e,event:n??new Event("base-ui"),cancel(){o=!0},allowPropagation(){s=!0},get isCanceled(){return o},get isPropagationAllowed(){return s},trigger:r,...l}},"U",0,function(e,n,r){let i=r??t.w;return{reason:e,event:n??new Event("base-ui"),...i}}])},872855,e=>{"use strict";e.i(247167);var t=e.i(271645);let n=t.createContext(void 0);e.s(["f",0,function(){let e=t.useContext(n);return e?.direction??"ltr"}])},253984,e=>{"use strict";var t=e.i(956789),n=e.i(638396);e.s(["f",0,function(e){return"starting"===e?n.e:t.w}])},216856,e=>{"use strict";e.s(["cancelOpen",0,"cancel-open","closePress",0,"close-press","disabled",0,"disabled","drag",0,"drag","escapeKey",0,"escape-key","focusOut",0,"focus-out","imperativeAction",0,"imperative-action","initial",0,"initial","inputChange",0,"input-change","itemPress",0,"item-press","keyboard",0,"keyboard","listNavigation",0,"list-navigation","missing",0,"missing","none",0,"none","outsidePress",0,"outside-press","siblingOpen",0,"sibling-open","trackPress",0,"track-press","triggerFocus",0,"trigger-focus","triggerHover",0,"trigger-hover","triggerPress",0,"trigger-press","windowResize",0,"window-resize"])},268765,e=>{"use strict";var t=e.i(216856);e.s(["f",0,t])},380025,e=>{"use strict";var t=e.i(216856);e.s(["f",0,t])},641530,e=>{"use strict";var t=e.i(216856);e.s(["f",0,t])},647554,e=>{"use strict";var t=e.i(229315);e.s(["T",0,function(e){let t=e.activeElement;for(;t?.shadowRoot?.activeElement!=null;)t=t.shadowRoot.activeElement;return t},"I",0,function(e,n){if(!e||!n)return!1;let r=n.getRootNode?.();if(e.contains(n))return!0;if(r&&(0,t.R)(r)){let t=n;for(;t;){if(e===t)return!0;t=t.parentNode||t.host}}return!1},"Z",0,function(e){return"composedPath"in e?e.composedPath()[0]:e.target}])},209407,e=>{"use strict";var t;let n=((t={}).startingStyle="data-starting-style",t.endingStyle="data-ending-style",t),r={"data-starting-style":""},i={"data-ending-style":""};e.s(["S",0,n,"T",0,{transitionStatus:e=>"starting"===e?r:"ending"===e?i:null}])},923706,e=>{"use strict";var t=e.i(271645),n=e.i(343084),r=e.i(108868),i=e.i(333848),o=e.i(146376),s=e.i(446265),l=e.i(667865),u=e.i(953760),a=e.i(258950),c=e.i(229315),f=e.i(46420);function d(e){return function(e,n){let{nodeId:r,externalTree:i}=e,s=n.useState("referenceElement"),l=n.useState("floatingElement"),u=n.useState("domReferenceElement"),d=n.useState("open"),g=n.useState("floatingId"),[p,h]=t.useState(null),[m,v]=t.useState(void 0),[b,y]=t.useState(void 0),S=t.useRef(null),x=(0,f.$)(i),E=t.useMemo(()=>({reference:s,floating:l,domReference:u}),[s,l,u]),w=(0,a.E)({...e,elements:{...E,...p&&{reference:p}}}),R=(0,c.m)(m)?m:null,C=void 0===b?n.state.floatingElement:b;n.useSyncedValue("referenceElement",m??null),n.useSyncedValue("domReferenceElement",void 0===m?u:R),n.useSyncedValue("floatingElement",C);let P=t.useCallback(e=>{let t=(0,c.m)(e)?{getBoundingClientRect:()=>e.getBoundingClientRect(),getClientRects:()=>e.getClientRects(),contextElement:e}:e;h(t),w.refs.setReference(t)},[w.refs]),I=t.useCallback(e=>{((0,c.m)(e)||null===e)&&(S.current=e,v(e)),((0,c.m)(w.refs.reference.current)||null===w.refs.reference.current||null!==e&&!(0,c.m)(e))&&w.refs.setReference(e)},[w.refs,v]),A=t.useCallback(e=>{y(e),w.refs.setFloating(e)},[w.refs]),O=t.useMemo(()=>({...w.refs,setReference:I,setFloating:A,setPositionReference:P,domReference:S}),[w.refs,I,A,P]),$=t.useMemo(()=>({...w.elements,domReference:u}),[w.elements,u]),k=t.useMemo(()=>({...w,dataRef:n.context.dataRef,open:d,onOpenChange:n.setOpen,events:n.context.events,floatingId:g,refs:O,elements:$,nodeId:r,rootStore:n}),[w,O,$,r,n,d,g]);return(0,o.f)(()=>{u&&(S.current=u)},[u]),(0,o.f)(()=>{n.context.dataRef.current.floatingContext=k;let e=x?.nodesRef.current.find(e=>e.id===r);e&&(e.context=k)}),t.useMemo(()=>({...w,context:k,refs:O,elements:$,rootStore:n}),[w,O,$,k,n])}(e,e.rootContext)}var g=e.i(872855);let p={name:"hide",async fn(e){let{width:t,height:n,x:r,y:i}=e.rects.reference,o=await e.platform.detectOverflow(e,{elementContext:"reference"});return{data:{referenceHidden:o.top-n>=0||o.right-t>=0||o.bottom-n>=0||o.left-t>=0||0===t&&0===n&&0===r&&0===i}}}},h={sideX:"left",sideY:"top"},m="--available-width",v="--available-height";function b(e,t,n){let r="inline-start"===e||"inline-end"===e;return({top:"top",right:r?n?"inline-start":"inline-end":"right",bottom:"bottom",left:r?n?"inline-end":"inline-start":"left"})[t]}function y(e,t,r){let{rects:i,placement:o}=e;return{side:b(t,(0,n.m)(o),r),align:(0,n.R)(o)||"center",anchor:{width:i.reference.width,height:i.reference.height},positioner:{width:i.floating.width,height:i.floating.height}}}function S(e){return null!=e&&"current"in e}e.s(["f",0,function(e){return function(e,c){var f,d;let{anchor:x,positionMethod:E="absolute",side:w="bottom",sideOffset:R=0,align:C="center",alignOffset:P=0,collisionBoundary:I,collisionPadding:A=5,sticky:O=!1,arrowPadding:$=5,disableAnchorTracking:k=!1,inline:T,keepMounted:M=!1,floatingRootContext:q,mounted:B,collisionAvoidance:V,shift:j,nodeId:D,adaptiveOrigin:U,lazyFlip:z=!1,externalTree:H}=e,[L,N]=t.useState(null);B||null===L||N(null);let W=V.side||"flip",F=V.align||"flip",K=V.fallbackAxisSide||"end",_=j?.crossAxis??!1,X=j?.rootBoundary,J="function"==typeof x?x:void 0,Y=(0,l.f)(J),Z=J?Y:x,G=(0,s.f)(x),Q=(0,s.f)(B),ee="rtl"===(0,g.f)(),et=L||({top:"top",right:"right",bottom:"bottom",left:"left","inline-end":ee?"left":"right","inline-start":ee?"right":"left"})[w],en="center"===C?et:`${et}-${C}`,er=A;"number"==typeof er?er={top:er,right:er,bottom:er,left:er}:er&&(er={top:er.top||0,right:er.right||0,bottom:er.bottom||0,left:er.left||0});let ei=+("bottom"===w),eo=+("top"===w),es=+("right"===w),el=+("left"===w),eu={boundary:"clipping-ancestors"===I?"clippingAncestors":I,padding:er},ea=t.useRef(null),ec=(0,s.f)(R),ef=(0,s.f)(P),ed="function"!=typeof R?R:0,eg="function"!=typeof P?P:0,ep=[];T&&ep.push(T),ep.push((0,a.T)(e=>{let t=y(e,w,ee),n="function"==typeof ec.current?ec.current(t):ec.current,r="function"==typeof ef.current?ef.current(t):ef.current;return{mainAxis:n,crossAxis:r,alignmentAxis:r}},[ed,eg,ee,w]));let eh="none"===F&&"shift"!==W,em=!eh&&(O||_||"shift"===W),ev="none"===W?null:(0,a.x)({...eu,padding:{top:er.top+1+ei,right:er.right+1+el,bottom:er.bottom+1+eo,left:er.left+1+es},mainAxis:!_&&"flip"===W,crossAxis:"flip"===F&&"alignment",fallbackAxisSideDirection:K}),eb=eh?null:(0,a.e)({...eu,rootBoundary:X,mainAxis:"none"!==F,crossAxis:em,limiter:O||_?void 0:(0,a.n)(e=>{if(!ea.current)return{};let{width:t,height:r}=ea.current.getBoundingClientRect(),i=(0,n.$)((0,n.m)(e.placement)),o="y"===i?er.left+er.right:er.top+er.bottom;return{offset:("y"===i?t:r)/2+o/2}})},[eu,O,_,X,er,F]);"shift"===W||"shift"===F||"center"===C?ep.push(eb,ev):ep.push(ev,eb),ep.push((0,a.o)({...eu,apply({elements:{floating:e},availableWidth:t,availableHeight:n,rects:r}){if(!Q.current)return;let o=e.style;o.setProperty(m,`${t}px`),o.setProperty(v,`${n}px`);let s=(0,i.f)(e).devicePixelRatio||1,{x:l,y:u,width:a,height:c}=r.reference,f=(Math.round((l+a)*s)-Math.round(l*s))/s,d=(Math.round((u+c)*s)-Math.round(u*s))/s;o.setProperty("--anchor-width",`${f}px`),o.setProperty("--anchor-height",`${d}px`)}}),(f=e=>({element:ea.current||(0,r.f)(e.elements.floating).createElement("div"),padding:$,offsetParent:"floating"}),d=[$],{...{name:"arrow",options:f,async fn(e){let{x:t,y:r,placement:i,rects:o,platform:s,elements:l,middlewareData:u}=e,{element:a,padding:c=0,offsetParent:d="real"}=(0,n.h)(f,e)||{};if(null==a)return{};let g=(0,n.j)(c),p={x:t,y:r},h=(0,n.i)(i),m=(0,n.T)(h),v=await s.getDimensions(a),b="y"===h,y=b?"clientHeight":"clientWidth",S=o.reference[m]+o.reference[h]-p[h]-o.floating[m],x=p[h]-o.reference[h],E="real"===d?await s.getOffsetParent?.(a):l.floating,w=l.floating[y]||o.floating[m];w&&await s.isElement?.(E)||(w=l.floating[y]||o.floating[m]);let R=w/2-v[m]/2-1,C=Math.min(g[b?"top":"left"],R),P=Math.min(g[b?"bottom":"right"],R),I=w-v[m]-P,A=w/2-v[m]/2+(S/2-x/2),O=(0,n.O)(C,A,I),$=!u.arrow&&null!=(0,n.R)(i)&&A!==O&&o.reference[m]/2-(Ab,x={top:`${p}px calc(100% + ${b}px)`,bottom:`${p}px ${-b}px`,left:`calc(100% + ${b}px) ${h}px`,right:`${-b}px ${h}px`}[l],E=`${p}px ${o.reference.y+v-s}px`;return t.floating.style.setProperty("--transform-origin",em&&"y"===u&&S?E:x),{}}},p,U),(0,o.f)(()=>{!B&&q&&q.update({referenceElement:null,floatingElement:null,domReferenceElement:null,positionReference:null})},[B,q]);let ey=t.useMemo(()=>({elementResize:!k&&"u">typeof ResizeObserver,layoutShift:!k&&"u">typeof IntersectionObserver}),[k]),{refs:eS,elements:ex,x:eE,y:ew,middlewareData:eR,update:eC,placement:eP,context:eI,isPositioned:eA,floatingStyles:eO}=c({rootContext:q,open:M?B:void 0,placement:en,middleware:ep,strategy:E,whileElementsMounted:M?void 0:(...e)=>(0,u.n)(...e,ey),nodeId:D,externalTree:H}),{sideX:e$,sideY:ek}=eR.adaptiveOrigin||h,eT=eA?E:"fixed",eM=t.useMemo(()=>{let e;return(e=eA?U?{position:eT,[e$]:eE,[ek]:ew}:{...eO,position:eT}:{position:eT,top:0,left:0})[m]="100vw",e[v]="100vh",eA||(e.opacity=0),e},[U,eT,e$,eE,ek,ew,eO,eA]),eq=t.useRef(null);(0,o.f)(()=>{if(!B)return;let e=G.current,t="function"==typeof e?e():e,n=(S(t)?t.current:t)||null;n!==eq.current&&(eS.setPositionReference(n),eq.current=n)},[B,eS,Z,G]),t.useEffect(()=>{if(!B)return;let e=G.current;"function"!=typeof e&&S(e)&&e.current!==eq.current&&(eS.setPositionReference(e.current),eq.current=e.current)},[B,eS,Z,G]),t.useEffect(()=>{if(M&&B&&ex.reference&&ex.floating)return(0,u.n)(ex.reference,ex.floating,eC,ey)},[M,B,ex,eC,ey]);let eB=(0,n.m)(eP),eV=b(w,eB,ee),ej=(0,n.R)(eP)||"center",eD=!!eR.hide?.referenceHidden;(0,o.f)(()=>{z&&B&&eA&&eB!==et&&N(eB)},[z,B,eA,eB,et]);let eU=t.useMemo(()=>({position:"absolute",top:eR.arrow?.y,left:eR.arrow?.x}),[eR.arrow]),ez=eR.arrow?.centerOffset!==0;return t.useMemo(()=>({positionerStyles:eM,arrowStyles:eU,arrowRef:ea,arrowUncentered:ez,side:eV,align:ej,physicalSide:eB,anchorHidden:eD,refs:eS,context:eI,isPositioned:eA,update:eC}),[eM,eU,ea,ez,eV,ej,eB,eD,eS,eI,eA,eC])}(e,d)}],923706)},788015,883977,e=>{"use strict";var t=e.i(271645),n=e.i(214553);let r=0,i=n.f.useId;function o(e,n){if(void 0!==i){let t=i();return e??(n?`${n}-${t}`:t)}return function(e,n="mui"){let[i,o]=t.useState(e),s=e||i;return t.useEffect(()=>{null==i&&(r+=1,o(`${n}-${r}`))},[i,n]),s}(e,n)}e.s(["f",0,o],883977),e.s(["f",0,function(e){return o(e,"base-ui")}],788015)},137584,594603,222640,e=>{"use strict";var t=e.i(271645),n=e.i(667865),r=e.i(174080),i=e.i(708445);function o(e){return null==e?e:"current"in e?e.current:e}function s(e,t=!1){let l=(0,i.z)();return(0,n.f)((n,i=null)=>{l.cancel();let s=o(e);if(null==s)return;let u=()=>{r.flushSync(n)};if("function"!=typeof s.getAnimations||globalThis.BASE_UI_ANIMATIONS_DISABLED)return void n();function a(){Promise.all(s.getAnimations().map(e=>e.finished)).then(()=>{i?.aborted||u()},()=>{i?.aborted||(s.getAnimations().some(e=>e.pending||"finished"!==e.playState)?a():u())})}if(t){let e="data-starting-style";if(!s.hasAttribute(e))return void l.request(a);let t=new MutationObserver(()=>{s.hasAttribute(e)||(t.disconnect(),a())});return t.observe(s,{attributes:!0,attributeFilter:[e]}),void i?.addEventListener("abort",()=>t.disconnect(),{once:!0})}l.request(a)})}e.s(["f",0,o],594603),e.s(["f",0,s],222640),e.s(["f",0,function(e){let{enabled:r=!0,open:i,ref:o,onComplete:l}=e,u=(0,n.f)(l),a=s(o,i);t.useEffect(()=>{if(!r)return;let e=new AbortController;return a(u,e.signal),()=>{e.abort()}},[r,i,u,a])}],137584)},223910,e=>{"use strict";var t=e.i(271645),n=e.i(146376),r=e.i(708445);e.s(["f",0,function(e,i=!1,o=!1){let[s,l]=t.useState(e&&i?"idle":void 0),[u,a]=t.useState(e);return e&&!u&&(a(!0),l("starting")),e||!u||"ending"===s||o||l("ending"),e||u||"ending"!==s||l(void 0),(0,n.f)(()=>{if(!e&&u&&"ending"!==s&&o){let e=r.$.request(()=>{l("ending")});return()=>{r.$.cancel(e)}}},[e,u,s,o]),(0,n.f)(()=>{if(!e||i)return;let t=r.$.request(()=>{l(void 0)});return()=>{r.$.cancel(t)}},[i,e]),(0,n.f)(()=>{if(!e||!i)return;e&&u&&"idle"!==s&&l("starting");let t=r.$.request(()=>{l("idle")});return()=>{r.$.cancel(t)}},[i,e,u,s]),{mounted:u,setMounted:a,transitionStatus:s}}])},116786,e=>{"use strict";var t=e.i(956789),n=e.i(156341),r=e.i(990627);let i=e=>e.triggerIdProp??e.activeTriggerId,o=e=>e.openProp??e.open,s=e=>(e.popupElement?.id??e.floatingId)||void 0;function l(e,t){return void 0!==t&&o(e)&&i(e)===t}e.s(["i",0,function(){return{open:!1,openProp:void 0,mounted:!1,transitionStatus:void 0,floatingRootContext:new n.f({open:!1,transitionStatus:void 0,floatingElement:null,referenceElement:null,triggerElements:new r.f,floatingId:void 0,syncOnly:!1,nested:!1,onOpenChange:void 0}),floatingId:void 0,triggerCount:0,preventUnmountingOnClose:!1,payload:void 0,activeTriggerId:null,activeTriggerElement:null,triggerIdProp:void 0,popupElement:null,positionerElement:null,activeTriggerProps:t.w,inactiveTriggerProps:t.w,popupProps:t.w}},"c",0,function(e,t,r=!1){return new n.f({open:!1,transitionStatus:void 0,floatingElement:null,referenceElement:null,triggerElements:e,floatingId:t,syncOnly:!0,nested:r,onOpenChange:void 0})},"j",0,{open:o,mounted:e=>e.mounted,transitionStatus:e=>e.transitionStatus,floatingRootContext:e=>e.floatingRootContext,triggerCount:e=>e.triggerCount,preventUnmountingOnClose:e=>e.preventUnmountingOnClose,payload:e=>e.payload,activeTriggerId:i,activeTriggerElement:e=>e.mounted?e.activeTriggerElement:null,popupId:s,isTriggerActive:(e,t)=>void 0!==t&&i(e)===t,isOpenedByTrigger:(e,t)=>l(e,t),isMountedByTrigger:(e,t)=>void 0!==t&&i(e)===t&&e.mounted,triggerProps:(e,t)=>t?e.activeTriggerProps:e.inactiveTriggerProps,triggerPopupId:(e,t)=>l(e,t)||void 0!==t&&o(e)&&null==i(e)&&1===e.triggerCount?s(e):void 0,popupProps:e=>e.popupProps,popupElement:e=>e.popupElement,positionerElement:e=>e.positionerElement}],116786)},459636,e=>{"use strict";var t=e.i(271645),n=e.i(802239),r=e.i(956789);e.s(["f",0,function(e){let i=t.useCallback(t=>void 0===e?r.x:e.subscribeStore(t),[e]),o=t.useCallback(()=>void 0===e?void 0:e.store,[e]);return(0,n.useSyncExternalStore)(i,o,()=>e?.serverStore)}])},789579,e=>{"use strict";var t=e.i(405005),n=e.i(552245),r=e.i(253984);e.s(["f",0,function(e,i,{styles:o,transitionStatus:s,props:l,refs:u,hidden:a,inert:c=!1}){let f={...o};return c&&(f.pointerEvents="none"),(0,n.f)("div",e,{state:i,ref:u,props:[{role:"presentation",hidden:a,style:f},(0,r.f)(s),l],stateAttributesMapping:t.E})}])},574735,e=>{"use strict";e.s(["f",0,function(e,t,n,r){return e.addEventListener(t,n,r),()=>{e.removeEventListener(t,n,r)}}])},108868,e=>{"use strict";e.s(["f",0,function(e){return e?.ownerDocument||document}])},708445,626300,e=>{"use strict";var t=e.i(388940),n=e.i(271645),r=e.i(956789);function i(e){n.useEffect(e,r.v)}e.s(["f",0,i],626300);let o=new class{callbacks=[];callbacksCount=0;nextId=1;startId=1;isScheduled=!1;tick=e=>{this.isScheduled=!1;let t=this.callbacks,n=this.callbacksCount;if(this.callbacks=[],this.callbacksCount=0,this.startId=this.nextId,n>0)for(let n=0;n=this.callbacks.length||(this.callbacks[t]=null,this.callbacksCount-=1)}};class s{static create(){return new s}static request(e){return o.request(e)}static cancel(e){return o.cancel(e)}currentId=null;request(e){this.cancel(),this.currentId=o.request(()=>{this.currentId=null,e()})}cancel=()=>{null!==this.currentId&&(o.cancel(this.currentId),this.currentId=null)};disposeEffect=()=>this.cancel}e.s(["$",0,s,"z",0,function(){let e=(0,t.useRefWithInit)(s.create).current;return i(e.disposeEffect),e}],708445)},446265,e=>{"use strict";var t=e.i(146376),n=e.i(388940);function r(e){let t={current:e,next:e,effect:()=>{t.current=t.next}};return t}e.s(["f",0,function(e){let i=(0,n.useRefWithInit)(r,e).current;return i.next=e,(0,t.f)(i.effect),i}])},755838,(e,t,n)=>{"use strict";var r=e.r(271645),i="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},o=r.useState,s=r.useEffect,l=r.useLayoutEffect,u=r.useDebugValue;function a(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!i(e,n)}catch(e){return!0}}var c="u"{"use strict";var r=e.r(271645),i=e.r(802239),o="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},s=i.useSyncExternalStore,l=r.useRef,u=r.useEffect,a=r.useMemo,c=r.useDebugValue;n.useSyncExternalStoreWithSelector=function(e,t,n,r,i){var f=l(null);if(null===f.current){var d={hasValue:!1,value:null};f.current=d}else d=f.current;var g=s(e,(f=a(function(){function e(e){if(!u){if(u=!0,s=e,e=r(e),void 0!==i&&d.hasValue){var t=d.value;if(i(t,e))return l=t}return l=e}if(t=l,o(s,e))return t;var n=r(e);return void 0!==i&&i(t,n)?(s=e,t):(s=e,l=n)}var s,l,u=!1,a=void 0===n?null:n;return[function(){return e(t())},null===a?void 0:function(){return e(a())}]},[t,n,r,i]))[0],f[1]);return u(function(){d.hasValue=!0,d.value=g},[g]),c(g),g}},802239,(e,t,n)=>{"use strict";e.i(247167),t.exports=e.r(755838)},430224,(e,t,n)=>{"use strict";e.i(247167),t.exports=e.r(752822)}]);