1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,71446,97886,e=>{"use strict";e.s([],66432),e.i(66432);var t=e.i(71645),n=e.i(46376),r=e.i(67865),i=e.i(69690),l=e.i(75812),o=e.i(87068),u=e.i(84708),a=e.i(88940),s=e.i(88015),c=e.i(47778),f=e.i(43476);let d=function(e){let n=(0,s.useBaseUiId)(),i=void 0===e.controlId?n:e.controlId,[l,o]=t.useState(i),[u,d]=t.useState(e.labelId),[g,m]=t.useState([]),p=(0,a.useRefWithInit)(()=>new Map),{messageIds:h}=(0,c.useLabelableContext)(),v=(0,r.useStableCallback)((e,t)=>{let n=p.current;void 0===t?n.delete(e):(n.set(e,t),o(e=>{let t;if(0!==n.size){for(let r of n.values()){if(void 0!==e&&r===e)return e;void 0===t&&(t=r)}return t}}))}),y=t.useCallback(e=>{let t=e["aria-describedby"]?e["aria-describedby"].split(" "):[];return t.push(...h,...g),{...e,"aria-describedby":Array.from(new Set(t)).join(" ")||void 0}},[h,g]),b=t.useMemo(()=>({controlId:l,registerControlId:v,labelId:u,setLabelId:d,messageIds:g,setMessageIds:m,getDescriptionProps:y}),[l,v,u,d,g,m,y]);return(0,f.jsx)(c.LabelableContext.Provider,{value:b,children:e.children})};var g=e.i(52245),m=e.i(55627),p=e.i(68815);let h=t.forwardRef(function(e,a){let{errors:s,validationMode:c,submitAttemptedRef:d}=(0,u.useFormContext)(),{render:h,className:v,validate:y,validationDebounceTime:b=0,validationMode:x=c,name:w,disabled:R=!1,invalid:E,dirty:C,touched:A,actionsRef:S,style:L,...T}=e,M=(0,o.useFieldsetRootContext)(!0)?.disabled,I=(0,r.useStableCallback)(y||(()=>null)),O=M||R,[k,F]=t.useState(!1),[D,P]=t.useState(!1),[V,W]=t.useState(!1),[N,j]=t.useState(!1),B=C??D,H=A??k,_=t.useRef(B),$=t.useRef(void 0),[z,U]=t.useState(),Y=w??z;(0,n.useIsoLayoutEffect)(()=>{void 0!==C&&(_.current=C)},[C]);let q=(0,r.useStableCallback)(e=>{void 0===C&&(e&&(_.current=!0),P(e))}),K=(0,r.useStableCallback)(e=>{void 0===A&&F(e)}),G=(0,r.useStableCallback)(()=>"onChange"===x||"onSubmit"===x&&d.current),J=Y&&Object.hasOwn(s,Y)?s[Y]:null,X=!!(Array.isArray(J)?J.length:J),Z=!0===E||X,[Q,ee]=t.useState({state:l.DEFAULT_VALIDITY_STATE,error:"",errors:[],value:null,initialValue:null}),et=!Z&&(O?null:Q.state.valid),en=t.useMemo(()=>({disabled:O,touched:H,dirty:B,valid:et,filled:V,focused:N}),[O,H,B,et,V,N]),er=(0,m.useFieldValidation)({setValidityData:ee,validate:I,validityData:Q,validationDebounceTime:b,invalid:Z,markedDirtyRef:_,state:en,shouldValidateOnChange:G,registeredFieldIdRef:$}),[ei,el]=function(e){let{commit:i,invalid:l,markedDirtyRef:o,name:a,setRegisteredFieldName:s,registeredFieldIdRef:c,setValidityData:f,validityData:d}=e,{formRef:g}=(0,u.useFormContext)(),m=t.useRef(null),h=t.useRef(null),v=t.useRef(!1),y=(0,r.useStableCallback)(()=>{let e=h.current;if(e)return e.getValue?e.getValue():e.value});function b(e){return void 0===e.value?y():e.value}let x=(0,r.useStableCallback)(()=>{let e=h.current;(o.current=!0,e)?i(b(e)):i(d.value)});function w(e=h.current?.id){e&&g.current.fields.delete(e)}(0,n.useIsoLayoutEffect)(()=>{let e=h.current;e&&e.id&&(s(a?void 0:e.name),g.current.fields.set(e.id,{getValue:y,name:a??e.name,controlRef:e.controlRef,validityData:(0,p.getCombinedFieldValidityData)(d,l),validate:x}))},[g,y,l,a,s,x,d]),(0,n.useIsoLayoutEffect)(()=>{let e=g.current.fields;return()=>{let t=h.current?.id;t&&e.delete(t)}},[g]);let R=(0,r.useStableCallback)((e,t)=>{let n;if(!t){m.current===e&&(m.current=null,w(),h.current=null,s(void 0),c.current=void 0);return}let r=h.current?.id;m.current=e,h.current=t,a||s(t.name),c.current=t.id,r&&r!==t.id&&w(r),function(e){if(v.current)return;v.current=!0;let t=b(e);f(e=>e.initialValue===t?e:{...e,initialValue:t})}(t),(n=h.current)&&n.id&&g.current.fields.set(n.id,{getValue:y,name:a??n.name,controlRef:n.controlRef,validityData:(0,p.getCombinedFieldValidityData)(d,l),validate:x})});return[x,R]}({commit:er.commit,invalid:Z,markedDirtyRef:_,name:w,setRegisteredFieldName:U,registeredFieldIdRef:$,setValidityData:ee,validityData:Q});t.useImperativeHandle(S,()=>({validate:ei}),[ei]);let eo=t.useMemo(()=>({invalid:Z,name:Y,validityData:Q,setValidityData:ee,disabled:O,setTouched:K,setDirty:q,setFilled:W,setFocused:j,validationMode:x,shouldValidateOnChange:G,state:en,registerFieldControl:el,validation:er}),[Z,Y,Q,O,K,q,W,j,x,G,en,el,er]),eu=(0,g.useRenderElement)("div",e,{ref:a,state:en,props:T,stateAttributesMapping:l.fieldValidityMapping});return(0,f.jsx)(i.FieldRootContext.Provider,{value:eo,children:eu})}),v=t.forwardRef(function(e,t){return(0,f.jsx)(d,{children:(0,f.jsx)(h,{...e,ref:t})})});var y=e.i(29315),b=e.i(8868),x=e.i(47554);function w(e={}
1){let t,{id:i,fallbackControlId:l,native:o=!1,setLabelId:u,focusControl:a}=e,{controlId:f,setLabelId:d}=(0,c.useLabelableContext)(),g=(0,r.useStableCallback)(e=>{d(e),u?.(e)}),m=(t=(0,s.useBaseUiId)(i),(0,n.useIsoLayoutEffect)(()=>(g(t),()=>{g(e=>e===t?void 0:e)}),[t,g]),t),p=f??l;function h(e){let t=(0,x.getTarget)(e.nativeEvent);t?.closest("button,input,select,textarea")||(!e.defaultPrevented&&e.detail>1&&e.preventDefault(),o||function(e){if(a)return a(e,p);if(!p)return;let t=(0,b.ownerDocument)(e.currentTarget).getElementById(p);(0,y.isHTMLElement)(t)&&R(t)}(e))}return o?{id:m,htmlFor:p??void 0,onMouseDown:h}:{id:m,onClick:h,onPointerDown(e){e.preventDefault()}}}function R(e){e.focus({focusVisible:!0})}e.s(["focusElementWithVisible",0,R,"useLabel",0,w],97886);var E=e.i(57153);let C=t.forwardRef(function(e,n){let{render:r,className:o,style:u,id:a,nativeLabel:s=!0,...f}=e,d=(0,i.useFieldRootContext)(!1),m=(0,E.useFieldItemContext)(),{labelId:p}=(0,c.useLabelableContext)(),h={...d.state,disabled:d.disabled||m.disabled},v=t.useRef(null),y=w({id:p??a,native:s});return(0,g.useRenderElement)("label",e,{ref:[n,v],state:h,props:[y,f],stateAttributesMapping:l.fieldValidityMapping})});var A=e.i(37584),S=e.i(9407),L=e.i(23910);let T={...l.fieldValidityMapping,...S.transitionStatusMapping},M=t.forwardRef(function(e,r){let{render:l,id:o,className:a,match:d,style:m,...p}=e,h=(0,s.useBaseUiId)(o),{validityData:v,state:y,name:b}=(0,i.useFieldRootContext)(!1),{setMessageIds:x}=(0,c.useLabelableContext)(),{errors:w}=(0,u.useFormContext)(),R=b&&Object.hasOwn(w,b)?w[b]:null,E=!!(Array.isArray(R)?R.length:R),C="string"==typeof d,S=!1;S=!0===d||!y.disabled&&(C?!!v.state[d]:E||!1===v.state.valid);let{mounted:M,transitionStatus:I,setMounted:O}=(0,L.useTransitionStatus)(S);(0,n.useIsoLayoutEffect)(()=>{if(S&&h)return x(e=>e.concat(h)),()=>{x(e=>e.filter(e=>e!==h))}},[S,h,x]);let k=t.useRef(null),[F,D]=t.useState(null),[P,V]=t.useState(null),W=v.error;!C&&E?W=R:v.errors.length>1&&(W=v.errors);let N=W;Array.isArray(W)&&(N=W.length>1?(0,f.jsx)("ul",{children:W.map(e=>(0,f.jsx)("li",{children:e},e))}):W[0]);let j=Array.isArray(W)?JSON.stringify(W):W;S&&j!==P&&(V(j),D(N)),(0,A.useOpenChangeComplete)({open:S,ref:k,onComplete(){S||O(!1)}});let B={...y,transitionStatus:I},H=(0,g.useRenderElement)("div",e,{ref:[r,k],state:B,props:[{id:h,children:S?N:F},p],stateAttributesMapping:T,enabled:M});return M?H:null}),I=t.forwardRef(function(e,t){let{render:r,id:o,className:u,style:a,...f}=e,d=(0,s.useBaseUiId)(o),m=(0,i.useFieldRootContext)(!1),p=(0,E.useFieldItemContext)(),{setMessageIds:h}=(0,c.useLabelableContext)(),v={...m.state,disabled:m.disabled||p.disabled};return(0,n.useIsoLayoutEffect)(()=>{if(d)return h(e=>e.concat(d)),()=>{h(e=>e.filter(e=>e!==d))}},[d,h]),(0,g.useRenderElement)("p",e,{ref:t,state:v,props:[{id:d},f],stateAttributesMapping:l.fieldValidityMapping})});var O=e.i(51437),k=e.i(81104),F=e.i(38489),D=e.i(75606),P=e.i(56434);let V=t.forwardRef(function(e,o){let{render:a,className:s,id:f,name:d,value:m,disabled:p=!1,onValueChange:h,defaultValue:v,autoFocus:y=!1,style:w,...R}=e,{state:E,name:C,disabled:A,setTouched:S,setDirty:L,validityData:T,setFocused:M,setFilled:I,validationMode:V,validation:W}=(0,i.useFieldRootContext)(),{clearErrors:N}=(0,u.useFormContext)(),j=A||p,B=C??d,H={...E,disabled:j},{labelId:_}=(0,c.useLabelableContext)(),$=(0,F.useLabelableId)({id:f});(0,n.useIsoLayoutEffect)(()=>{let e=null!=m;W.inputRef.current?.value||e&&""!==m?I(!0):e&&""===m&&I(!1)},[W.inputRef,I,m]);let z=t.useRef(null);(0,n.useIsoLayoutEffect)(()=>{y&&z.current===(0,x.activeElement)((0,b.ownerDocument)(z.current))&&M(!0)},[y,M]);let[U]=(0,O.useControlled)({controlled:m,default:v,name:"FieldControl",state:"value"}),Y=void 0!==m,q=Y?U:void 0,K=(0,r.useStableCallback)(()=>W.inputRef.current?.value);return(0,k.useRegisterFieldControl)(W.inputRef,$,q,K,!j,d),(0,g.useRenderElement)("input",e,{ref:[o,z],state:H,props:[{id:$,disabled:j,name:B,ref:W.inputRef,"aria-labelledby":_,autoFocus:y,...Y?{value:q}:{defaultValue:v},onChange(e){let t=e.currentTarget.value;h?.(t,(0,D.createChangeEventDetails)(P.REASONS.none,e.nativeEvent)),L(t!==(T.initialValue??"")),I(""!==t),e.nativeEvent.defaultPrevented||(N(B),W.change(t))},onFocus(){M(!0)},onBlur(e){S(!0),M(!1),"onBlur"===V&&W.commit(e.currentTarget.value)},onKeyDown(e){"INPUT"===e.currentTarget.tagName&&"Enter"===e.key&&(S(!0),W.commit(e.currentTarget.value))}},R,e=>W.getValidationProps(j,e)],stateAttributesMapping:l.fieldValidityMapping})}),W=t.forwardRef(function(e,n){let{render:r,className:o,style:u,disabled:a=!1,...s}=e,{state:c,disabled:m}=(0,i.useFieldRootContext)(!1),p=m||a,h={...c,disabled:p},v=t.useMemo(()=>({disabled:p}),[p]),y=(0,g.useRenderElement)("div",e,{ref:n,state:h,props:s,stateAttributesMapping:l.fieldValidityMapping});return(0,f.jsx)(d,{children:(0,f.jsx)(E.FieldItemContext.Provider,{value:v,children:y})})});e.s(["Control",0,V,"Description",0,I,"Error",0,M,"Item",0,W,"Label",0,C,"Root",0,v,"Validity",0,function(e){let{children:n}
1=e,{validityData:r,invalid:l}=(0,i.useFieldRootContext)(!1),o=t.useMemo(()=>(0,p.getCombinedFieldValidityData)(r,l),[r,l]),u=!1===o.state.valid,{transitionStatus:a}=(0,L.useTransitionStatus)(u),s=t.useMemo(()=>({...o,validity:o.state,transitionStatus:a}),[o,a]);return(0,f.jsx)(t.Fragment,{children:n(s)})}],5359);var N=e.i(5359);e.s(["Field",0,N],71446)},87068,68815,55627,57153,86698,72855,e=>{"use strict";var t=e.i(33332),n=e.i(71645);let r=n.createContext(void 0);e.s(["useFieldsetRootContext",0,function(e=!1){let i=n.useContext(r);if(!i&&!e)throw Error((0,t.default)(86));return i}],87068);var i=e.i(56789),l=e.i(39957),o=e.i(67865),u=e.i(88940),a=e.i(47778),s=e.i(76782),c=e.i(75812),f=e.i(84708);function d(e,t){return{...e,state:{...e.state,valid:!t&&e.state.valid}}}e.s(["getCombinedFieldValidityData",0,d],68815);let g=Object.keys(c.DEFAULT_VALIDITY_STATE);function m(e,t){return!e.matches(":disabled")&&(!t||e.form===t||null===e.form&&!e.hasAttribute("form"))}function p(e,t){let n=null;for(let r of e.keys())if(m(r,t)){if(!r.validity.valid)return r;n??=r}return n}function h(e,t){for(let e of t.keys())e.setCustomValidity("");e?.setCustomValidity("")}e.s(["isEligibleInput",0,m,"useFieldValidation",0,function(e){let{elementRef:t,formRef:r}=(0,f.useFormContext)(),{setValidityData:m,validate:v,validityData:y,validationDebounceTime:b,invalid:x,markedDirtyRef:w,state:R,shouldValidateOnChange:E,registeredFieldIdRef:C}=e,{controlId:A,getDescriptionProps:S}=(0,a.useLabelableContext)(),L=(0,l.useTimeout)(),T=n.useRef(null),M=(0,u.useRefWithInit)(()=>new Map).current,I=n.useRef(0),O=n.useCallback((e,t)=>(M.set(e,t),()=>{M.delete(e)}),[M]),k=(0,o.useStableCallback)(()=>{let e=p(M,t.current);return e&&M.get(e)?.controlRef.current||null}),F=(0,o.useStableCallback)(async(e,n=!1)=>{let i;I.current+=1;let l=I.current;function o(e,t=x){let n=C.current??A;if(null==n)return;let i=r.current.fields.get(n);if(!i)return;let l=d(e,t);r.current.fields.set(n,{...i,validityData:l})}let u=M.size>0?p(M,t.current):T.current;if(n){if(!1!==R.valid||!u)return;let t=u.validity;if(!t.valueMissing){let t;return void(t={value:e,state:{...c.DEFAULT_VALIDITY_STATE,valid:!0},error:"",errors:[],initialValue:y.initialValue},h(u,M),o(t,!1),m(t))}for(let e of g)if("valid"!==e&&"valueMissing"!==e&&"customError"!==e&&t[e])return}L.clear();let a=null,s=[],f=u?function(e){let t=g.reduce((t,n)=>(t[n]=e.validity[n],t),{}),n=!1;for(let e of g)if("valid"!==e){if("valueMissing"===e&&t[e])n=!0;else if(t[e])return t}return n&&!w.current&&(t.valid=!0,t.valueMissing=!1),t}(u):{...c.DEFAULT_VALIDITY_STATE,valid:!0},b=E();if(u&&u.validationMessage&&!b)i=u.validationMessage,s=[u.validationMessage];else{let t=v(e,Array.from(r.current.fields.values()).reduce((e,t)=>(t.name&&(e[t.name]=t.getValue()),e),{}));if("object"==typeof t&&null!==t&&"then"in t){if(a=await t,l!==I.current)return}else a=t;null!==a?(f.valid=!1,f.customError=!0,Array.isArray(a)?(s=a,u?.setCustomValidity(a.join("\n"))):a&&(s=[a],u?.setCustomValidity(a))):b&&(h(u,M),f.customError=!1,u&&u.validationMessage?(i=u.validationMessage,s=[u.validationMessage]):u&&!u.validity.valid||f.valid||(f.valid=!0))}let S={value:e,state:f,error:i??(Array.isArray(a)?a[0]:a??""),errors:s,initialValue:y.initialValue};o(S),m(S)}),D=(0,o.useStableCallback)(e=>{L.clear();let t=E();t&&""!==e&&b?(I.current+=1,L.start(b,()=>{F(e)})):F(e,!t)}),P=n.useCallback((e,t={})=>(0,s.mergeProps)(S(t),!1!==R.valid||R.disabled||e?i.EMPTY_OBJECT:{"aria-invalid":!0}),[S,R.disabled,R.valid]);return n.useMemo(()=>({getValidationProps:P,inputRef:T,registeredInputs:M,registerInput:O,getInputControl:k,commit:F,change:D}),[P,M,O,k,F,D])}],55627);let v=n.createContext({disabled:!1});e.s(["FieldItemContext",0,v,"useFieldItemContext",0,function(){return n.useContext(v)}],57153),e.s(["serializeValue",0,function(e){if(null==e)return"";if("string"==typeof e)return e;try{return JSON.stringify(e)}catch{return String(e)}}],86698);let y=n.createContext(void 0);e.s(["useDirection",0,function(){let e=n.useContext(y);return e?.direction??"ltr"}],72855)},5049,e=>{"use strict";var t=e.i(71645),n=e.i(46376),r=e.i(67865),i=e.i(39957),l=e.i(56789),o=e.i(21082),u=e.i(47554),a=e.i(57940);e.s(["useTypeahead",0,function(e,s){let{listRef:c,elementsRef:f,activeIndex:d,onMatch:g,disabledIndices:m,onTyping:p,enabled:h=!0,resetMs:v=750,selectedIndex:y=null}=s,b="rootStore"in e?e.rootStore:e,x=b.useState("open"),w=(0,i.useTimeout)(),R=t.useRef(""),E=t.useRef(y??d??-1),C=t.useRef(null),A=(0,r.useStableCallback)(e=>{function t(e){let t=f?.current[e];return!(t&&!(0,o.isElementVisible)(t)||t?.matches(":disabled"))&&(null==m||!(0,o.isListIndexDisabled)(l.EMPTY_ARRAY,e,m))}function n(e,r,i=0){if(0===e.length)return -1;let l=(i%e.length+e.length)%e.length,o=r.toLowerCase();for(let n=0;n<e.length;n+=1){let r=(l+n)%e.length,i=e[r];if(i?.toLowerCase().startsWith(o)&&t(r))return r}return -1}let r=c.current;if(R.current.length>0&&" "===e.key&&((0,a.stopEvent)(e),p?.(!0)),R.current.length>0&&" "!==R.current[0]&&-1===n(r,R.current)&&" "!==e.key&&p?.(!1),null==r||1!==e.ke
1y.length||e.ctrlKey||e.metaKey||e.altKey)return;x&&" "!==e.key&&((0,a.stopEvent)(e),p?.(!0));let i=""===R.current;i&&(E.current=y??d??-1),r.every((e,n)=>!(e&&t(n))||e[0]?.toLowerCase()!==e[1]?.toLowerCase())&&R.current===e.key&&(R.current="",E.current=C.current),R.current+=e.key,w.start(v,()=>{R.current="",E.current=C.current,p?.(!1)});let u=i?y??d??-1:E.current,s=n(r,R.current,(u??0)+1);-1!==s?(g?.(s),C.current=s):" "!==e.key&&(R.current="",p?.(!1))}),S=(0,r.useStableCallback)(e=>{let t=e.relatedTarget,n=b.select("domReferenceElement"),r=b.select("floatingElement");(0,u.contains)(n,t)||(0,u.contains)(r,t)||(w.clear(),R.current="",E.current=C.current,p?.(!1))});(0,n.useIsoLayoutEffect)(()=>{(x||null===y)&&(w.clear(),C.current=null,""!==R.current&&(R.current=""))},[x,y,w]);let L=t.useMemo(()=>({onKeyDown:A,onBlur:S}),[A,S]);return t.useMemo(()=>h?{reference:L,floating:L}:{},[h,L])}])},53687,73553,16327,e=>{"use strict";var t=e.i(71645),n=e.i(88940),r=e.i(67865),i=e.i(46376);let l=t.createContext({register:()=>{},unregister:()=>{},subscribeMapChange:()=>()=>{},nextIndexRef:{current:0}});var o=e.i(43476);function u(){return new Map}function a(){return new Set}function s(e,t){return e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_FOLLOWING?-1:1}e.s(["CompositeList",0,function(e){let{children:c,elementsRef:f,labelsRef:d,onMapChange:g}=e,m=(0,r.useStableCallback)(g),[,p]=t.useState(!1),h=(0,n.useRefWithInit)(a).current,v=(0,n.useRefWithInit)(u).current,y=t.useRef(0),b=t.useRef(!0),x=t.useRef([]),w=t.useRef(null),R=(0,r.useStableCallback)(()=>{b.current||(b.current=!0,p(e=>!e))}),E=(0,r.useStableCallback)((e,t)=>{v.set(e,t),R()}),C=(0,r.useStableCallback)(e=>{v.delete(e),R()}),A=(0,r.useStableCallback)(e=>{let t=new Map;return f.current.length=0,d&&(d.current.length=0),e.forEach(e=>{t.set(e.element,{...e.registration.metadata??{},index:e.index}),f.current[e.index]=e.element,d&&(d.current[e.index]=void 0!==e.registration.label?e.registration.label:e.registration.textRef?.current?.textContent??e.element.textContent)}),y.current=f.current.length,t}),S=(0,r.useStableCallback)(()=>{var e;let t,n,r,i,[l,o]=(e=v,t=new Set,n=[],r=[],e.forEach((e,i)=>{if(!i.isConnected)return;let l=e.index,o={index:l??-1,element:i,registration:e};null===l?r.push(o):l>=0&&(t.add(l),n.push(o))}),i=0,r.sort((e,t)=>s(e.element,t.element)),r.forEach(e=>{for(;t.has(i);)i+=1;e.index=i,n.push(e),i+=1}),t.size>0&&n.sort((e,t)=>e.index-t.index),[n,r.map(e=>e.element)]),u=A(l);!function(e){if(w.current?.disconnect(),w.current=null,"function"!=typeof MutationObserver||e.length<2)return;let t=new MutationObserver(n=>{if(!function(e){for(let t of e)for(let e=0;e<t.removedNodes.length;e+=1)if(t.removedNodes[e].isConnected)return!0;return!1}(n))return;let r=null;for(let n of e)if(n.isConnected){if(r&&s(r,n)>0){t.disconnect(),R();return}r=n}});w.current=t;let n=new Set;for(let t=1;t<e.length;t+=1){let r=function(e,t){let n=e.parentElement;for(;n&&!n.contains(t);)n=n.parentElement;return n}(e[t-1],e[t]);r&&n.add(r)}n.forEach(e=>t.observe(e,{childList:!0}))}(o),x.current=l,b.current=!1,h.forEach(e=>e(u)),m(u)});(0,i.useIsoLayoutEffect)(()=>(b.current||A(x.current),()=>{f.current=[],d&&(d.current=[])}),[f,d,A]),(0,i.useIsoLayoutEffect)(()=>{b.current&&S()}),(0,i.useIsoLayoutEffect)(()=>()=>{w.current?.disconnect(),b.current=!0},[]);let L=(0,r.useStableCallback)(e=>(h.add(e),()=>{h.delete(e)})),T=t.useMemo(()=>({register:E,unregister:C,subscribeMapChange:L,nextIndexRef:y}),[E,C,L,y]);return(0,o.jsx)(l.Provider,{value:T,children:c})}],53687),e.s(["useCompositeListItem",0,function(e={}){let{guess:n,label:r,metadata:o,textRef:u,index:a}=e,{register:s,unregister:c,subscribeMapChange:f,nextIndexRef:d}=t.useContext(l),g=t.useRef(-1),[m,p]=t.useState(null==a&&n?()=>{if(-1===g.current){let e=d.current;d.current+=1,g.current=e}return g.current}:-1),h=a??m,v=t.useRef(null),y=t.useCallback(e=>{let t=v.current;t&&c(t),v.current=e,e&&s(e,{metadata:o??null,index:a??null,label:r,textRef:u})},[a,s,c,o,r,u]);return(0,i.useIsoLayoutEffect)(()=>{if(null==a)return f(e=>{let t=v.current?e.get(v.current)?.index:null;null!=t&&p(t)})},[a,f]),{ref:y,index:h}}],73553);let c=(0,e.i(56420).default)("chevron-down",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]);e.s(["ChevronDown",0,c],16327)},72410,e=>{"use strict";e.i(47167);var t=e.i(71645);let n=t.createContext(void 0),r={disableStyleElements:!1};e.s(["useCSPContext",0,function(){return t.useContext(n)??r}])},84325,42191,43024,50001,64042,e=>{"use strict";function t(e,t,n){return null==e||null==t?Object.is(e,t):n(e,t)}function n(e,n,r){return e&&0!==e.length?e.findIndex(e=>void 0!==e&&t(e,n,r)):-1}e.s(["compareItemEquality",0,t,"defaultItemEquality",0,(e,t)=>Object.is(e,t),"findItemIndex",0,n,"findSelectionIndex",0,function(e,t,r,i){let l=n(e,i&&Array.isArray(t)?t[t.length-1]:t,r);return -1===l?null:l},"removeItem",0,function(e,n,r){return e.filter(e=>!t(n,e,r))},"selectedValueIncludes",0,function(e,n,r){return!!e&&0!==e.length&&e.some(e=>void 0!==e&&t(n,e,r))}],84325);var r=e.i(71645),i=e.i(86698),l=e.i(43476);function o(e){return null!=e&&e.length>0&&"object"==typeof e[0]&&null!=e[0]&&"items"in e[0]}function u(e,t){if(t&&null!=e)return t(e)??"";if(e&&"object"==typeof e){if("label"in e&&null!=e.label)return String(e.label);if("value"in e)return String(e.value)}return(0,i.serializeValue)(e)}function a(e,t,n){if(n&&null!=e)return n(e);if(e&&"object"==typeof e&&"label"in e&&null!=e.label)return e.label;if(t&&!Array.isArray(t))return t[e]??u(e,n);if(Array.isArray(t)){let r=o(t)?t.flatMap(e=>e.items):t;if(null==e||"object"!=typeof e){let t=r.find(t=>t.value===e);return t&&null!=t.label?t.label:u(e,n)}if("value"in e){let t=r.find(t=>t&&t.value===e.value);if(t&&null!=t.label)return t.label}}return u(e,n)}e.s(["hasNullItemLabel",0,function(e){if(!Array.isArray(e))return null!=e&&"null"in e;if(o(e)){for(let t of e)for(let e of t.items)if(e&&null==e.value&&null!=e.label)return!0;return!1}for(let t of e)if(t&&null==t.value&&null!=t.label)return!0;return!1},"isGroupedItems",0,o,"resolveMultipleLabels",0,function(e,t,n){return e.reduce((e,i,o)=>(o>0&&e.push(", "),e.push((0,l.jsx)(r.Fragment,{children:a(i,t,n)},o)),e),[])},"resolveSelectedLabel",0,a,"stringifyAsLabel",0,u,"stringifyAsValue",0,function(e,t){return t&&null!=e?t(e)??"":e&&"object"==typeof e&&"value"in e&&"label"in e?(0,i.serializeValue)(e.value):(0,i.serializeValue)(e)}],42191),e.s(["areArraysEqual",0,function(e,t,n=(e,t)=>e===t){return e.length===t.length&&e.every((e,r)=>n(e,t[r]))}],43024),e.s(["getDefaultLabelId",0,function(e){return null==e?void 0:`${e}-label`},"resolveAriaLabelledBy",0,function(e,t){return e??t}],50001);var s=e.i(33848),c=e.i(28744);e.s(["isMouseWithinBounds",0,function(e,t){let n=function(e){let t=e.getBoundingClientRect(),n=(0,s.ownerWindow)(e);if(c.platform.env.jsdom)return t;let r=n.getComputedStyle(e,"::before"),i=n.getComputedStyle(e,"::after");if("none"===r.content&&"none"===i.content)return t;let l=parseFloat(r.width)||0,o=parseFloat(r.height)||0,u=parseFloat(i.width)||0,a=parseFloat(i.height)||0,f=Math.max(t.width,l,u),d=Math.max(t.height,o,a),g=f-t.width,m=d-t.height;return{left:t.left-g/2,right:t.right+g/2,top:t.top-m/2,bottom:t.bottom+m/2}}(t);return e.clientX>=n.left-5&&e.clientX<=n.right+5&&e.clientY>
1=n.top-5&&e.clientY<=n.bottom+5}],64042)},23706,53760,53984,89579,33383,e=>{"use strict";var t=e.i(71645),n=e.i(43084),r=e.i(8868),i=e.i(33848),l=e.i(46376),o=e.i(46265),u=e.i(67865);function a(e,t,r){let i,{reference:l,floating:o}=e,u=(0,n.getSideAxis)(t),a=(0,n.getAlignmentAxis)(t),s=(0,n.getAxisLength)(a),c=(0,n.getSide)(t),f=l.x+l.width/2-o.width/2,d=l.y+l.height/2-o.height/2,g=l[s]/2-o[s]/2;switch(c){case"top":i={x:f,y:l.y-o.height};break;case"bottom":i={x:f,y:l.y+l.height};break;case"right":i={x:l.x+l.width,y:d};break;case"left":i={x:l.x-o.width,y:d};break;default:i={x:l.x,y:l.y}}let m=(0,n.getAlignment)(t);return m&&(i[a]+=g*("end"===m?1:-1)*(r&&"y"===u?-1:1)),i}async function s(e,t){var r;void 0===t&&(t={});let{x:i,y:l,platform:o,rects:u,elements:a,strategy:s}=e,{boundary:c="clippingAncestors",rootBoundary:f="viewport",elementContext:d="floating",altBoundary:g=!1,padding:m=0}=(0,n.evaluate)(t,e),p=(0,n.getPaddingObject)(m),h=a[g?"floating"===d?"reference":"floating":d],v=(0,n.rectToClientRect)(await o.getClippingRect({element:null==(r=await (null==o.isElement?void 0:o.isElement(h)))||r?h:h.contextElement||await (null==o.getDocumentElement?void 0:o.getDocumentElement(a.floating)),boundary:c,rootBoundary:f,strategy:s})),y="floating"===d?{x:i,y:l,width:u.floating.width,height:u.floating.height}:u.reference,b=await (null==o.getOffsetParent?void 0:o.getOffsetParent(a.floating)),x=await (null==o.isElement?void 0:o.isElement(b))&&await (null==o.getScale?void 0:o.getScale(b))||{x:1,y:1},w=(0,n.rectToClientRect)(o.convertOffsetParentRelativeRectToViewportRelativeRect?await o.convertOffsetParentRelativeRectToViewportRelativeRect({elements:a,rect:y,offsetParent:b,strategy:s}):y);return{top:(v.top-w.top+p.top)/x.y,bottom:(w.bottom-v.bottom+p.bottom)/x.y,left:(v.left-w.left+p.left)/x.x,right:(w.right-v.right+p.right)/x.x}}let c=async(e,t,n)=>{let{placement:r="bottom",strategy:i="absolute",middleware:l=[],platform:o}=n,u=o.detectOverflow?o:{...o,detectOverflow:s},c=await (null==o.isRTL?void 0:o.isRTL(t)),f=await o.getElementRects({reference:e,floating:t,strategy:i}),{x:d,y:g}=a(f,r,c),m=r,p=0,h={};for(let n=0;n<l.length;n++){let s=l[n];if(!s)continue;let{name:v,fn:y}=s,{x:b,y:x,data:w,reset:R}=await y({x:d,y:g,initialPlacement:r,placement:m,strategy:i,middlewareData:h,rects:f,platform:u,elements:{reference:e,floating:t}});d=null!=b?b:d,g=null!=x?x:g,h[v]={...h[v],...w},R&&p<50&&(p++,"object"==typeof R&&(R.placement&&(m=R.placement),R.rects&&(f=!0===R.rects?await o.getElementRects({reference:e,floating:t,strategy:i}):R.rects),{x:d,y:g}=a(f,m,c)),n=-1)}return{x:d,y:g,placement:m,strategy:i,middlewareData:h}};function f(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function d(e){return n.sides.some(t=>e[t]>=0)}function g(e){let t=(0,n.min)(...e.map(e=>e.left)),r=(0,n.min)(...e.map(e=>e.top));return{x:t,y:r,width:(0,n.max)(...e.map(e=>e.right))-t,height:(0,n.max)(...e.map(e=>e.bottom))-r}}let m=new Set(["left","top"]);async function p(e,t){let{placement:r,platform:i,elements:l}=e,o=await (null==i.isRTL?void 0:i.isRTL(l.floating)),u=(0,n.getSide)(r),a=(0,n.getAlignment)(r),s="y"===(0,n.getSideAxis)(r),c=m.has(u)?-1:1,f=o&&s?-1:1,d=(0,n.evaluate)(t,e),{mainAxis:g,crossAxis:p,alignmentAxis:h}="number"==typeof d?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:d.mainAxis||0,crossAxis:d.crossAxis||0,alignmentAxis:d.alignmentAxis};return a&&"number"==typeof h&&(p="end"===a?-1*h:h),s?{x:p*f,y:g*c}:{x:g*c,y:p*f}}var h=e.i(29315);function v(e){let t=(0,h.getComputedStyle)(e),r=parseFloat(t.width)||0,i=parseFloat(t.height)||0,l=(0,h.isHTMLElement)(e),o=l?e.offsetWidth:r,u=l?e.offsetHeight:i,a=(0,n.round)(r)!==o||(0,n.round)(i)!==u;return a&&(r=o,i=u),{width:r,height:i,$:a}}function y(e){return(0,h.isElement)(e)?e:e.contextElement}function b(e){let t=y(e);if(!(0,h.isHTMLElement)(t))return(0,n.createCoords)(1);let r=t.getBoundingClientRect(),{width:i,height:l,$:o}=v(t),u=(o?(0,n.round)(r.width):r.width)/i,a=(o?(0,n.round)(r.height):r.height)/l;return u&&Number.isFinite(u)||(u=1),a&&Number.isFinite(a)||(a=1),{x:u,y:a}}let x=(0,n.createCoords)(0);function w(e){let t=(0,h.getWindow)(e);
vendor: 9,620 bytes, line 1
1return(0,h.isWebKit)()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:x}function R(e,t,r,i){var l;void 0===t&&(t=!1),void 0===r&&(r=!1);let o=e.getBoundingClientRect(),u=y(e),a=(0,n.createCoords)(1);t&&(i?(0,h.isElement)(i)&&(a=b(i)):a=b(e));let s=(void 0===(l=r)&&(l=!1),i&&l&&i===(0,h.getWindow)(u))?w(u):(0,n.createCoords)(0),c=(o.left+s.x)/a.x,f=(o.top+s.y)/a.y,d=o.width/a.x,g=o.height/a.y;if(u&&i){let e=(0,h.getWindow)(u),t=(0,h.isElement)(i)?(0,h.getWindow)(i):i,n=e,r=(0,h.getFrameElement)(n);for(;r&&t!==n;){let e=b(r),t=r.getBoundingClientRect(),i=(0,h.getComputedStyle)(r),l=t.left+(r.clientLeft+parseFloat(i.paddingLeft))*e.x,o=t.top+(r.clientTop+parseFloat(i.paddingTop))*e.y;c*=e.x,f*=e.y,d*=e.x,g*=e.y,c+=l,f+=o,n=(0,h.getWindow)(r),r=(0,h.getFrameElement)(n)}}return(0,n.rectToClientRect)({width:d,height:g,x:c,y:f})}function E(e,t){let n=(0,h.getNodeScroll)(e).scrollLeft;return t?t.left+n:R((0,h.getDocumentElement)(e)).left+n}function C(e,t){let n=e.getBoundingClientRect();return{x:n.left+t.scrollLeft-E(e,n),y:n.top+t.scrollTop}}function A(e,t,r){var i;let l;if("viewport"===t||"layoutViewport"===t)l=function(e,t,n){void 0===n&&(n="viewport");let r="layoutViewport"===n,i=(0,h.getWindow)(e),l=(0,h.getDocumentElement)(e),o=i.visualViewport,u=l.clientWidth,a=l.clientHeight,s=0,c=0;if(o){let e=!(0,h.isWebKit)()||"fixed"===t;r?e||(s=-o.offsetLeft,c=-o.offsetTop):(u=o.width,a=o.height,e&&(s=o.offsetLeft,c=o.offsetTop))}if(0>=E(l)){let e=l.ownerDocument,t=e.body,n=getComputedStyle(t),r="CSS1Compat"===e.compatMode&&parseFloat(n.marginLeft)+parseFloat(n.marginRight)||0,i=Math.abs(l.clientWidth-t.clientWidth-r),o="stable both-edges"===getComputedStyle(l).scrollbarGutter?i/2:i;o<=25&&(u-=o)}return{width:u,height:a,x:s,y:c}}(e,r,t);else if("document"===t){let t,r,o,u,a,s;i=(0,h.getDocumentElement)(e),t=(0,h.getNodeScroll)(i),r=i.ownerDocument.body,o=(0,n.max)(i.scrollWidth,i.clientWidth,r.scrollWidth,r.clientWidth),u=(0,n.max)(i.scrollHeight,i.clientHeight,r.scrollHeight,r.clientHeight),a=-t.scrollLeft+E(i),s=-t.scrollTop,"rtl"===(0,h.getComputedStyle)(r).direction&&(a+=(0,n.max)(i.clientWidth,r.clientWidth)-o),l={width:o,height:u,x:a,y:s}}else if((0,h.isElement)(t)){let e,n,i,o,u,a;n=(e=R(t,!0,"fixed"===r)).top+t.clientTop,i=e.left+t.clientLeft,o=b(t),u=t.clientWidth*o.x,a=t.clientHeight*o.y,l={width:u,height:a,x:i*o.x,y:n*o.y}}else{let n=w(e);l={x:t.x-n.x,y:t.y-n.y,width:t.width,height:t.height}}return(0,n.rectToClientRect)(l)}function S(e){return"static"===(0,h.getComputedStyle)(e).position}function L(e,t){if(!(0,h.isHTMLElement)(e)||"fixed"===(0,h.getComputedStyle)(e).position)return null;if(t)return t(e);let n=e.offsetParent;return(0,h.getDocumentElement)(e)===n&&(n=n.ownerDocument.body),n}function T(e,t){let n=(0,h.getWindow)(e);if((0,h.isTopLayer)(e))return n;if(!(0,h.isHTMLElement)(e)){let t=(0,h.getParentNode)(e);for(;t&&!(0,h.isLastTraversableNode)(t);){if((0,h.isElement)(t)&&!S(t))return t;t=(0,h.getParentNode)(t)}return n}let r=L(e,t);for(;r&&(0,h.isTableElement)(r)&&S(r);)r=L(r,t);return r&&(0,h.isLastTraversableNode)(r)&&S(r)&&!(0,h.isContainingBlock)(r)?n:r||(0,h.getContainingBlock)(e)||n}let M=async function(e){let t=this.getOffsetParent||T,r=this.getDimensions,i=await r(e.floating);return{reference:function(e,t,r){let i=(0,h.isHTMLElement)(t),l=(0,h.getDocumentElement)(t),o="fixed"===r,u=R(e,!0,o,t),a={scrollLeft:0,scrollTop:0},s=(0,n.createCoords)(0);if((i||!o)&&(("body"!==(0,h.getNodeName)(t)||(0,h.isOverflowElement)(l))&&(a=(0,h.getNodeScroll)(t)),i)){let e=R(t,!0,o,t);s.x=e.x+t.clientLeft,s.y=e.y+t.clientTop}!i&&l&&(s.x=E(l));let c=!l||i||o?(0,n.createCoords)(0):C(l,a);return{x:u.left+a.scrollLeft-s.x-c.x,y:u.top+a.scrollTop-s.y-c.y,width:u.width,height:u.height}}(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:i.width,height:i.height}}},I={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:r,offsetParent:i,strategy:l}=e,o="fixed"===l,u=(0,h.getDocumentElement)(i),a=!!t&&(0,h.isTopLayer)(t.floating);if(i===u||a&&o)return r;let s={scrollLeft:0,scrollTop:0},c=(0,n.createCoords)(1),f=(0,n.createCoords)(0),d=(0,h.isHTMLElement)(i);if((d||!o)&&(("body"!==(0,h.getNodeName)(i)||(0,h.isOverflowElement)(u))&&(s=(0,h.getNodeScroll)(i)),d)){let e=R(i);c=b(i),f.x=e.x+i.clientLeft,f.y=e.y+i.clientTop}let g=!u||d||o?(0,n.createCoords)(0):C(u,s);return{width:r.width*c.x,height:r.height*c.y,x:r.x*c.x-s.scrollLeft*c.x+f.x+g.x,y:r.y*c.y-s.scrollTop*c.y+f.y+g.y}},getDocumentElement:h.getDocumentElement,getClippingRect:function(e){let{element:t,boundary:r,rootBoundary:i,strategy:l}=e,o=[..."clippingAncestors"===r?(0,h.isTopLayer)(t)?[]:function(e,t){let n=t.get(e);if(n)return n;let r=(0,h.getOverflowAncestors)(e,[],!1).filter(e=>(0,h.isElement)(e)&&"body"!==(0,h.getNodeName)(e)),i=null,l="fixed"===(0,h.getComputedStyle)(e).position,o=l?(0,h.getParentNode)(e):e;for(;(0,h.isElement)(o)&&!(0,h.isLastTraversableNode)(o);){let e=(0,h.getComputedStyle)(o),t=(0,h.isContainingBlock)(o),n=i?i.position:l?"fixed":"";t||"fixed"!==n&&("absolute"!==n||"static"!==e.position)?i=e:r=r.filter(e=>e!==o),o=(0,h.getParentNode)(o)}return t.set(e,r),r}(t,this._c):[].concat(r),i],u=A(t,o[0],l),a=u.top,s=u.right,c=u.bottom,f=u.left;for(let e=1;e<o.length;e++){let r=A(t,o[e],l);a=(0,n.max)(r.top,a),s=(0,n.min)(r.right,s),c=(0,n.min)(r.bottom,c),f=(0,n.max)(r.left,f)}return{width:s-f,height:c-a,x:f,y:a}},getOffsetParent:T,getElementRects:M,getClientRects:function(e){return e.getClientRects?Array.from(e.getClientRects()):[]},getDimensions:function(e){let{width:t,height:n}=v(e);return{width:t,height:n}},getScale:b,isElement:h.isElement,isRTL:function(e){return"rtl"===(0,h.getComputedStyle)(e).direction}};function O(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function k(e,t,r,i){let l;void 0===i&&(i={});let{ancestorScroll:o=!0,ancestorResize:u=!0,elementResize:a="function"==typeof ResizeObserver,layoutShift:s="function"==typeof IntersectionObserver,animationFrame:c=!1}=i,f=y(e),d=o||u?[...f?(0,h.getOverflowAncestors)(f):[],...t?(0,h.getOverflowAncestors)(t):[]]:[];d.forEach(e=>{o&&e.addEventListener("scroll",r),u&&e.addEventListener("resize",r)});let g=f&&s?function(e,t,r){let i,l=null,o=(0,h.getDocumentElement)(e);function u(){var e;clearTimeout(i),null==(e=l)||e.disconnect(),l=null}function a(r,s){void 0===r&&(r=!1),void 0===s&&(s=1),u();let c=e.getBoundingClientRect(),{left:f,top:d,width:g,height:m}=c;if(r||t(),!g||!m)return;let p={rootMargin:-(0,n.floor)(d)+"px "+-(0,n.floor)(o.clientWidth-(f+g))+"px "+-(0,n.floor)(o.clientHeight-(d+m))+"px "+-(0,n.floor)(f)+"px",threshold:(0,n.max)(0,(0,n.min)(1,s))||1},h=!0;function v(t){let n=t[0].intersectionRatio;if(!O(c,e.getBoundingClientRect()))return a();if(n!==s){if(!h)return a();n?a(!1,n):i=setTimeout(()=>{a(!1,1e-7)},1e3)}h=!1}try{l=new IntersectionObserver(v,{...p,root:o.ownerDocument})}catch(e){l=new IntersectionObserver(v,p)}l.observe(e)}let s=(0,h.getWindow)(e),c=()=>a(r);return s.addEventListener("resize",c),a(!0),()=>{s.removeEventListener("resize",c),u()}}(f,r,u):null,m=-1,p=null;a&&(p=new ResizeObserver(e=>{let[n]=e;n&&n.target===f&&p&&t&&(p.unobserve(t),cancelAnimationFrame(m),m=requestAnimationFrame(()=>{var e;null==(e=p)||e.observe(t)})),r()}),f&&!c&&p.observe(f),t&&p.observe(t));let v=c?R(e):null;return c&&function t(){let n=R(e);v&&!O(v,n)&&r(),v=n,l=requestAnimationFrame(t)}(),r(),()=>{var e;d.forEach(e=>{o&&e.removeEventListener("scroll",r),u&&e.removeEventListener("resize",r)}),null==g||g(),null==(e=p)||e.disconnect(),p=null,c&&cancelAnimationFrame(l)}}let F=function(e){return void 0===e&&(e=0),{name:"offset",options:e,async fn(t){var n,r;let{x:i,y:l,placement:o,middlewareData:u}=t,a=await p(t,e);return o===(null==(n=u.offset)?void 0:n.placement)&&null!=(r=u.arrow)&&r.alignmentOffset?{}:{x:i+a.x,y:l+a.y,data:{...a,placement:o}}}}},D=function(e){return void 0===e&&(e={}),{name:"shift",options:e,async fn(t){let{x:r,y:i,placement:l,platform:o}=t,{mainAxis:u=!0,crossAxis:a=!1,limiter:s={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...c}=(0,n.evaluate)(e,t),f={x:r,y:i},d=await o.detectOverflow(t,c),g=(0,n.getSideAxis)(l),m=(0,n.getOppositeAxis)(g),p=f[m],h=f[g],v=(e,t)=>(0,n.clamp)(t+d["y"===e?"top":"left"],t,t-d["y"===e?"bottom":"right"]);u&&(p=v(m,p)),a&&(h=v(g,h));let y=s.fn({...t,[m]:p,[g]:h});return{...y,data:{x:y.x-r,y:y.y-i,enabled:{[m]:u,[g]:a}}}}}},P=function(e){return void 0===e&&(e={}),{name:"flip",options:e,async fn(t){var r,i,l,o,u;let{placement:a,middlewareData:s,rects:c,initialPlacement:f,platform:d,elements:g}=t,{mainAxis:m=!0,crossAxis:p=!0,fallbackPlacements:h,fallbackStrategy:v="bestFit",fallbackAxisSideDirection:y="none",flipAlignment:b=!0,...x}=(0,n.evaluate)(e,t);if(null!=(r=s.arrow)&&r.alignmentOffset)return{};let w=(0,n.getSide)(a),R=(0,n.getSideAxis)(f),E=(0,n.getSide)(f)===f,C=await (null==d.isRTL?void 0:d.isRTL(g.floating)),A=h||(E||!b?[(0,n.getOppositePlacement)(f)]:(0,n.getExpandedPlacements)(f)),S="none"!==y;!h&&S&&A.push(...(0,n.getOppositeAxisPlacements)(f,b,y,C));let L=[f,...A],T=await d.detectOverflow(t,x),M=[],I=(null==(i=s.flip)?void 0:i.overflows)||[];if(m&&M.push(T[w]),p){let e=(0,n.getAlignmentSides)(a,c,C);M.push(T[e[0]],T[e[1]])}if(I=[...I,{placement:a,overflows:M}],!M.every(e=>e<=0)){let e=((null==(l=s.flip)?void 0:l.index)||0)+1,t=L[e];if(t&&("alignment"!==p||R===(0,n.getSideAxis)(t)||I.every(e=>(0,n.getSideAxis)(e.placement)!==R||e.overflows[0]>0)))return{data:{index:e,overflows:I},reset:{placement:t}};let r=null==(o=I.filter(e=>e.overflows[0]<=0).sort((e,t)=>
1e.overflows[1]-t.overflows[1])[0])?void 0:o.placement;if(!r)switch(v){case"bestFit":{let e=null==(u=I.filter(e=>{if(S){let t=(0,n.getSideAxis)(e.placement);return t===R||"y"===t}return!0}).map(e=>[e.placement,e.overflows.filter(e=>e>0).reduce((e,t)=>e+t,0)]).sort((e,t)=>e[1]-t[1])[0])?void 0:u[0];e&&(r=e);break}case"initialPlacement":r=f}if(a!==r)return{reset:{placement:r}}}return{}}}},V=function(e){return void 0===e&&(e={}),{name:"size",options:e,async fn(t){let r,i,{placement:l,rects:o,platform:u,elements:a}=t,{apply:s=()=>{},...c}=(0,n.evaluate)(e,t),f=await u.detectOverflow(t,c),d=(0,n.getSide)(l),g=(0,n.getAlignment)(l),m="y"===(0,n.getSideAxis)(l),{width:p,height:h}=o.floating;"top"===d||"bottom"===d?(r=d,i=g===(await (null==u.isRTL?void 0:u.isRTL(a.floating))?"start":"end")?"left":"right"):(i=d,r="end"===g?"top":"bottom");let v=h-f.top-f.bottom,y=p-f.left-f.right,b=(0,n.min)(h-f[r],v),x=(0,n.min)(p-f[i],y),w=t.middlewareData.shift,R=!w,E=b,C=x;null!=w&&w.enabled.x&&(C=y),null!=w&&w.enabled.y&&(E=v),R&&!g&&(m?C=p-2*(0,n.max)(f.left,f.right):E=h-2*(0,n.max)(f.top,f.bottom)),await s({...t,availableWidth:C,availableHeight:E});let A=await u.getDimensions(a.floating);return p!==A.width||h!==A.height?{reset:{rects:!0}}:{}}}},W=function(e){return void 0===e&&(e={}),{options:e,fn(t){var r,i,l,o;let{x:u,y:a,placement:s,rects:c,middlewareData:f}=t,{offset:d=0,mainAxis:g=!0,crossAxis:p=!0}=(0,n.evaluate)(e,t),h={x:u,y:a},v=(0,n.getSideAxis)(s),y=(0,n.getOppositeAxis)(v),b=h[y],x=h[v],w=(0,n.evaluate)(d,t),R="number"==typeof w?{mainAxis:w,crossAxis:0}:{mainAxis:null!=(r=w.mainAxis)?r:0,crossAxis:null!=(i=w.crossAxis)?i:0};if(g){let e="y"===y?"height":"width",t=c.reference[y]-c.floating[e]+R.mainAxis,n=c.reference[y]+c.reference[e]-R.mainAxis;b<t?b=t:b>n&&(b=n)}if(p){let e="y"===y?"width":"height",t=m.has((0,n.getSide)(s)),r=c.reference[v]-c.floating[e]+(t&&(null==(l=f.offset)?void 0:l[v])||0)+(t?0:R.crossAxis),i=c.reference[v]+c.reference[e]+(t?0:(null==(o=f.offset)?void 0:o[v])||0)-(t?R.crossAxis:0);x<r?x=r:x>i&&(x=i)}return{[y]:b,[v]:x}}}},N=(e,t,n)=>{let r=new Map,i=null!=n?n:{},l={...I,...i.platform,_c:r};return c(e,t,{...i,platform:l})};e.s(["arrow",0,e=>({name:"arrow",options:e,async fn(t){let{x:r,y:i,placement:l,rects:o,platform:u,elements:a,middlewareData:s}=t,{element:c,padding:f=0}=(0,n.evaluate)(e,t)||{};if(null==c)return{};let d=(0,n.getPaddingObject)(f),g={x:r,y:i},m=(0,n.getAlignmentAxis)(l),p=(0,n.getAxisLength)(m),h=await u.getDimensions(c),v="y"===m,y=v?"clientHeight":"clientWidth",b=o.reference[p]+o.reference[m]-g[m]-o.floating[p],x=g[m]-o.reference[m],w=await (null==u.getOffsetParent?void 0:u.getOffsetParent(c)),R=w?w[y]:0;R&&await (null==u.isElement?void 0:u.isElement(w))||(R=a.floating[y]||o.floating[p]);let E=R/2-h[p]/2-1,C=(0,n.min)(d[v?"top":"left"],E),A=(0,n.min)(d[v?"bottom":"right"],E),S=R-h[p]-A,L=R/2-h[p]/2+(b/2-x/2),T=(0,n.clamp)(C,L,S),M=!s.arrow&&null!=(0,n.getAlignment)(l)&&L!==T&&o.reference[p]/2-(L<C?C:A)-h[p]/2<0,I=M?L<C?L-C:L-S:0;return{[m]:g[m]+I,data:{[m]:T,centerOffset:L-T-I,...M&&{alignmentOffset:I}},reset:M}}}),"autoPlacement",0,function(e){return void 0===e&&(e={}),{name:"autoPlacement",options:e,async fn(t){var r,i,l,o;let{rects:u,middlewareData:a,placement:s,platform:c,elements:f}=t,{crossAxis:d=!1,alignment:g,allowedPlacements:m=n.placements,autoAlignment:p=!0,...h}=(0,n.evaluate)(e,t),v=void 0!==g||m===n.placements?((o=g||null)?[...m.filter(e=>(0,n.getAlignment)(e)===o),...m.filter(e=>(0,n.getAlignment)(e)!==o)]:m.filter(e=>(0,n.getSide)(e)===e)).filter(e=>!o||(0,n.getAlignment)(e)===o||!!p&&(0,n.getOppositeAlignmentPlacement)(e)!==e):m,y=(null==(r=a.autoPlacement)?void 0:r.index)||0,b=v[y];if(null==b)return{};if(s!==b)return{reset:{placement:v[0]}};let x=await c.detectOverflow(t,h),w=(0,n.getAlignmentSides)(b,u,await (null==c.isRTL?void 0:c.isRTL(f.floating))),R=[x[(0,n.getSide)(b)],x[w[0]],x[w[1]]],E=[...(null==(i=a.autoPlacement)?void 0:i.overflows)||[],{placement:b,overflows:R}],C=v[y+1];if(C)return{data:{index:y+1,overflows:E},reset:{placement:C}};let A=E.map(e=>{let t=(0,n.getAlignment)(e.placement);return[e.placement,t&&d?e.overflows.slice(0,2).reduce((e,t)=>
1e+t,0):e.overflows[0],e.overflows]}).sort((e,t)=>e[1]-t[1]),S=(null==(l=A.filter(e=>e[2].slice(0,(0,n.getAlignment)(e[0])?2:3).every(e=>e<=0))[0])?void 0:l[0])||A[0][0];return S!==s?{data:{index:y+1,overflows:E},reset:{placement:S}}:{}}}},"autoUpdate",0,k,"computePosition",0,N,"flip",0,P,"hide",0,function(e){return void 0===e&&(e={}),{name:"hide",options:e,async fn(t){let{rects:r,platform:i}=t,{strategy:l="referenceHidden",...o}=(0,n.evaluate)(e,t);switch(l){case"referenceHidden":{let e=f(await i.detectOverflow(t,{...o,elementContext:"reference"}),r.reference);return{data:{referenceHiddenOffsets:e,referenceHidden:d(e)}}}case"escaped":{let e=f(await i.detectOverflow(t,{...o,altBoundary:!0}),r.floating);return{data:{escapedOffsets:e,escaped:d(e)}}}default:return{}}}}},"inline",0,function(e){return void 0===e&&(e={}),{name:"inline",options:e,async fn(t){let{placement:r,elements:i,rects:l,platform:o,strategy:u}=t,{padding:a=2,x:s,y:c}=(0,n.evaluate)(e,t),f=Array.from(await (null==o.getClientRects?void 0:o.getClientRects(i.reference))||[]);if(!f.length)return{};let d=function(e){let t=e.slice().sort((e,t)=>e.y-t.y),r=[],i=null;for(let e=0;e<t.length;e++){let n=t[e];!i||n.y-i.y>i.height/2?r.push([n]):r[r.length-1].push(n),i=n}return r.map(e=>(0,n.rectToClientRect)(g(e)))}(f),m=(0,n.rectToClientRect)(g(f)),p=(0,n.getPaddingObject)(a),h=await o.getElementRects({reference:{getBoundingClientRect:function(){if(2===d.length&&(d[0].left>d[1].right||d[1].left>d[0].right)&&null!=s&&null!=c)return d.find(e=>s>e.left-p.left&&s<e.right+p.right&&c>e.top-p.top&&c<e.bottom+p.bottom)||m;if(d.length>=2){if("y"===(0,n.getSideAxis)(r)){let e=d[0],t=d[d.length-1],i="top"===(0,n.getSide)(r),l=e.top,o=t.bottom,u=i?e.left:t.left,a=i?e.right:t.right;return(0,n.rectToClientRect)({x:u,y:l,width:a-u,height:o-l})}let e="left"===(0,n.getSide)(r),t=(0,n.max)(...d.map(e=>e.right)),i=(0,n.min)(...d.map(e=>e.left)),l=d.filter(n=>e?n.left===i:n.right===t),o=l[0].top,u=l[l.length-1].bottom;return(0,n.rectToClientRect)({x:i,y:o,width:t-i,height:u-o})}return m}},floating:i.floating,strategy:u});return l.reference.x!==h.reference.x||l.reference.y!==h.reference.y||l.reference.width!==h.reference.width||l.reference.height!==h.reference.height?{reset:{rects:h}}:{}}}},"limitShift",0,W,"offset",0,F,"platform",0,I,"shift",0,D,"size",0,V],53760);var j=e.i(74080),B="u">typeof document?t.useLayoutEffect:function(){};function H(e,t){let n,r,i;if(e===t)return!0;if(typeof e!=typeof t)return!1;if("function"==typeof e&&e.toString()===t.toString())return!0;if(e&&t&&"object"==typeof e){if(Array.isArray(e)){if((n=e.length)!==t.length)return!1;for(r=n;0!=r--;)if(!H(e[r],t[r]))return!1;return!0}if((n=(i=Object.keys(e)).length)!==Object.keys(t).length)return!1;for(r=n;0!=r--;)if(!({}).hasOwnProperty.call(t,i[r]))return!1;for(r=n;0!=r--;){let n=i[r];if(("_owner"!==n||!e.$$typeof)&&!H(e[n],t[n]))return!1}return!0}return e!=e&&t!=t}function _(e){return"u"<typeof window?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function $(e,t){let n=_(e);return Math.round(t*n)/n}function z(e){let n=t.useRef(e);return B(()=>{n.current=e}),n}var U=e.i(46420);function Y(e){return function(e,n){let{nodeId:r,externalTree:i}=e,o=n.useState("referenceElement"),u=n.useState("floatingElement"),a=n.useState("domReferenceElement"),s=n.useState("open"),c=n.useState("floatingId"),[f,d]=t.useState(null),[g,m]=t.useState(void 0),[p,v]=t.useState(void 0),y=t.useRef(null),b=(0,U.useFloatingTree)(i),x=t.useMemo(()=>({reference:o,floating:u,domReference:a}),[o,u,a]),w=function(e){void 0===e&&(e={});let{placement:n="bottom",strategy:r="absolute",middleware:i=[],platform:l,elements:{reference:o,floating:u}={},transform:a=!0,whileElementsMounted:s,open:c}=e,[f,d]=t.useState({x:0,y:0,strategy:r,placement:n,middlewareData:{},isPositioned:!1}),[g,m]=t.useState(i);H(g,i)||m(i);let[p,h]=t.useState(null),[v,y]=t.useState(null),b=t.useCallback(e=>{e!==E.current&&(E.current=e,h(e))},[]),x=t.useCallback(e=>{e!==C.current&&(C.current=e,y(e))},[]),w=o||p,R=u||v,E=t.useRef(null),C=t.useRef(null),A=t.useRef(f),S=null!=s,L=z(s),T=z(l),M=z(c),I=t.useCallback(()=>
1{if(!E.current||!C.current)return;let e={placement:n,strategy:r,middleware:g};T.current&&(e.platform=T.current),N(E.current,C.current,e).then(e=>{let t={...e,isPositioned:!1!==M.current};O.current&&!H(A.current,t)&&(A.current=t,j.flushSync(()=>{d(t)}))})},[g,n,r,T,M]);B(()=>{!1===c&&A.current.isPositioned&&(A.current.isPositioned=!1,d(e=>({...e,isPositioned:!1})))},[c]);let O=t.useRef(!1);B(()=>(O.current=!0,()=>{O.current=!1}),[]),B(()=>{if(w&&(E.current=w),R&&(C.current=R),w&&R){if(L.current)return L.current(w,R,I);I()}},[w,R,I,L,S]);let k=t.useMemo(()=>({reference:E,floating:C,setReference:b,setFloating:x}),[b,x]),F=t.useMemo(()=>({reference:w,floating:R}),[w,R]),D=t.useMemo(()=>{let e={position:r,left:0,top:0};if(!F.floating)return e;let t=$(F.floating,f.x),n=$(F.floating,f.y);return a?{...e,transform:"translate("+t+"px, "+n+"px)",..._(F.floating)>=1.5&&{willChange:"transform"}}:{position:r,left:t,top:n}},[r,a,F.floating,f.x,f.y]);return t.useMemo(()=>({...f,update:I,refs:k,elements:F,floatingStyles:D}),[f,I,k,F,D])}({...e,elements:{...x,...f&&{reference:f}}}),R=(0,h.isElement)(g)?g:null,E=void 0===p?n.state.floatingElement:p;n.useSyncedValue("referenceElement",g??null),n.useSyncedValue("domReferenceElement",void 0===g?a:R),n.useSyncedValue("floatingElement",E);let C=t.useCallback(e=>{let t=(0,h.isElement)(e)?{getBoundingClientRect:()=>e.getBoundingClientRect(),getClientRects:()=>e.getClientRects(),contextElement:e}:e;d(t),w.refs.setReference(t)},[w.refs]),A=t.useCallback(e=>{((0,h.isElement)(e)||null===e)&&(y.current=e,m(e)),((0,h.isElement)(w.refs.reference.current)||null===w.refs.reference.current||null!==e&&!(0,h.isElement)(e))&&w.refs.setReference(e)},[w.refs,m]),S=t.useCallback(e=>{v(e),w.refs.setFloating(e)},[w.refs]),L=t.useMemo(()=>({...w.refs,setReference:A,setFloating:S,setPositionReference:C,domReference:y}),[w.refs,A,S,C]),T=t.useMemo(()=>({...w.elements,domReference:a}),[w.elements,a]),M=t.useMemo(()=>({...w,dataRef:n.context.dataRef,open:s,onOpenChange:n.setOpen,events:n.context.events,floatingId:c,refs:L,elements:T,nodeId:r,rootStore:n}),[w,L,T,r,n,s,c]);return(0,l.useIsoLayoutEffect)(()=>{a&&(y.current=a)},[a]),(0,l.useIsoLayoutEffect)(()=>{n.context.dataRef.current.floatingContext=M;let e=b?.nodesRef.current.find(e=>e.id===r);e&&(e.context=M)}),t.useMemo(()=>({...w,context:M,refs:L,elements:T,rootStore:n}),[w,L,T,M,n])}(e,e.rootContext)}var q=e.i(72855);let K={name:"hide",async fn(e){let{width:t,height:n,x:r,y:i}=e.rects.reference,l=await e.platform.detectOverflow(e,{elementContext:"reference"});return{data:{referenceHidden:l.top-n>=0||l.right-t>=0||l.bottom-n>=0||l.left-t>=0||0===t&&0===n&&0===r&&0===i}}}},G={sideX:"left",sideY:"top"},J="--available-width",X="--available-height";function Z(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 Q(e,t,r){let{rects:i,placement:l}=e;return{side:Z(t,(0,n.getSide)(l),r),align:(0,n.getAlignment)(l)||"center",anchor:{width:i.reference.width,height:i.reference.height},positioner:{width:i.floating.width,height:i.floating.height}}}function ee(e){return null!=e&&"current"in e}e.s(["useAnchorPositioning",0,function(e){return function(e,a){var s,c,f,d,g,m,p,h,v;let y,b,x,w,{anchor:R,positionMethod:E="absolute",side:C="bottom",sideOffset:A=0,align:S="center",alignOffset:L=0,collisionBoundary:T,collisionPadding:M=5,sticky:I=!1,arrowPadding:O=5,disableAnchorTracking:N=!1,inline:j,keepMounted:B=!1,floatingRootContext:H,mounted:_,collisionAvoidance:$,shift:z,nodeId:U,adaptiveOrigin:Y,lazyFlip:et=!1,externalTree:en}=e,[er,ei]=t.useState(null);_||null===er||ei(null);let el=$.side||"flip",eo=$.align||"flip",eu=$.fallbackAxisSide||"end",ea=z?.crossAxis??!1,es=z?.rootBoundary,ec="function"==typeof R?R:void 0,ef=(0,u.useStableCallback)(ec),ed=ec?ef:R,eg=(0,o.useValueAsRef)(R),em=(0,o.useValueAsRef)(_),ep="rtl"===(0,q.useDirection)(),eh=er||({top:"top",right:"right",bottom:"bottom",left:"left","inline-end":ep?"left":"right","inline-start":ep?"right":"left"})[C],ev="center"===S?eh:`${eh}-${S}`,ey=M;
1"number"==typeof ey?ey={top:ey,right:ey,bottom:ey,left:ey}:ey&&(ey={top:ey.top||0,right:ey.right||0,bottom:ey.bottom||0,left:ey.left||0});let eb=+("bottom"===C),ex=+("top"===C),ew=+("right"===C),eR=+("left"===C),eE={boundary:"clipping-ancestors"===T?"clippingAncestors":T,padding:ey},eC=t.useRef(null),eA=(0,o.useValueAsRef)(A),eS=(0,o.useValueAsRef)(L),eL=[];j&&eL.push(j),eL.push((s=e=>{let t=Q(e,C,ep),n="function"==typeof eA.current?eA.current(t):eA.current,r="function"==typeof eS.current?eS.current(t):eS.current;return{mainAxis:n,crossAxis:r,alignmentAxis:r}},c=["function"!=typeof A?A:0,"function"!=typeof L?L:0,ep,C],{name:(y=F(s)).name,fn:y.fn,options:[s,c]}));let eT="none"===eo&&"shift"!==el,eM=!eT&&(I||ea||"shift"===el),eI="none"===el?null:{name:(b=P(f={...eE,padding:{top:ey.top+1+eb,right:ey.right+1+eR,bottom:ey.bottom+1+ex,left:ey.left+1+ew},mainAxis:!ea&&"flip"===el,crossAxis:"flip"===eo&&"alignment",fallbackAxisSideDirection:eu})).name,fn:b.fn,options:[f,void 0]},eO=eT?null:(g={...eE,rootBoundary:es,mainAxis:"none"!==eo,crossAxis:eM,limiter:I||ea?void 0:{fn:W(d=e=>{if(!eC.current)return{};let{width:t,height:r}=eC.current.getBoundingClientRect(),i=(0,n.getSideAxis)((0,n.getSide)(e.placement)),l="y"===i?ey.left+ey.right:ey.top+ey.bottom;return{offset:("y"===i?t:r)/2+l/2}}).fn,options:[d,void 0]}},m=[eE,I,ea,es,ey,eo],{name:(x=D(g)).name,fn:x.fn,options:[g,m]});"shift"===el||"shift"===eo||"center"===S?eL.push(eO,eI):eL.push(eI,eO),eL.push({name:(w=V(p={...eE,apply({elements:{floating:e},availableWidth:t,availableHeight:n,rects:r}){if(!em.current)return;let l=e.style;l.setProperty(J,`${t}px`),l.setProperty(X,`${n}px`);let o=(0,i.ownerWindow)(e).devicePixelRatio||1,{x:u,y:a,width:s,height:c}=r.reference,f=(Math.round((u+s)*o)-Math.round(u*o))/o,d=(Math.round((a+c)*o)-Math.round(a*o))/o;l.setProperty("--anchor-width",`${f}px`),l.setProperty("--anchor-height",`${d}px`)}})).name,fn:w.fn,options:[p,void 0]},(h=e=>({element:eC.current||(0,r.ownerDocument)(e.elements.floating).createElement("div"),padding:O,offsetParent:"floating"}),v=[O],{...{name:"arrow",options:h,async fn(e){let{x:t,y:r,placement:i,rects:l,platform:o,elements:u,middlewareData:a}=e,{element:s,padding:c=0,offsetParent:f="real"}=(0,n.evaluate)(h,e)||{};if(null==s)return{};let d=(0,n.getPaddingObject)(c),g={x:t,y:r},m=(0,n.getAlignmentAxis)(i),p=(0,n.getAxisLength)(m),v=await o.getDimensions(s),y="y"===m,b=y?"clientHeight":"clientWidth",x=l.reference[p]+l.reference[m]-g[m]-l.floating[p],w=g[m]-l.reference[m],R="real"===f?await o.getOffsetParent?.(s):u.floating,E=u.floating[b]||l.floating[p];E&&await o.isElement?.(R)||(E=u.floating[b]||l.floating[p]);let C=E/2-v[p]/2-1,A=Math.min(d[y?"top":"left"],C),S=Math.min(d[y?"bottom":"right"],C),L=E-v[p]-S,T=E/2-v[p]/2+(x/2-w/2),M=(0,n.clamp)(A,T,L),I=!a.arrow&&null!=(0,n.getAlignment)(i)&&T!==M&&l.reference[p]/2-(T<A?A:S)-v[p]/2<0,O=I?T<A?T-A:T-L:0;return{[m]:g[m]+O,data:{[m]:M,centerOffset:T-M-O,...I&&{alignmentOffset:O}},reset:I}}},options:[h,v]}),{name:"transformOrigin",fn(e){let{elements:t,middlewareData:r,placement:i,rects:l,y:o}=e,u=(0,n.getSide)(i),a=(0,n.getSideAxis)(u),s=eC.current,c=r.arrow?.x||0,f=r.arrow?.y||0,d=s?.clientWidth||0,g=s?.clientHeight||0,m=c+d/2,p=f+g/2,h=Math.abs(r.shift?.y||0),v=l.reference.height/2,y="function"==typeof A?A(Q(e,C,ep)):A,b=h>y,x={top:`${m}px calc(100% + ${y}px)`,bottom:`${m}px ${-y}px`,left:`calc(100% + ${y}px) ${p}px`,right:`${-y}px ${p}px`}[u],w=`${m}px ${l.reference.y+v-o}px`;return t.floating.style.setProperty("--transform-origin",eM&&"y"===a&&b?w:x),{}}},K,Y),(0,l.useIsoLayoutEffect)(()=>{!_&&H&&H.update({referenceElement:null,floatingElement:null,domReferenceElement:null,positionReference:null})},[_,H]);let ek=t.useMemo(()=>({elementResize:!N&&"u">typeof ResizeObserver,layoutShift:!N&&"u">typeof IntersectionObserver}),[N]),{refs:eF,elements:eD,x:eP,y:eV,middlewareData:eW,update:eN,placement:ej,context:eB,isPositioned:eH,floatingStyles:e_}=a({rootContext:H,open:B?_:void 0,placement:ev,middleware:eL,strategy:E,whileElementsMounted:B?void 0:(...e)=>k(...e,ek),nodeId:U,externalTree:en}),{sideX:e$,sideY:ez}=eW.adaptiveOrigin||G,eU=eH?E:"fixed",eY=t.useMemo(()=>{let e;return(e=eH?Y?{position:eU,[e$]:eP,[ez]:eV}:{...e_,position:eU}:{position:eU,top:0,left:0})[J]="100vw",e[X]="100vh",eH||(e.opacity=0),e},[Y,eU,e$,eP,ez,eV,e_,eH]),eq=t.useRef(null);(0,l.useIsoLayoutEffect)(()=>
1{if(!_)return;let e=eg.current,t="function"==typeof e?e():e,n=(ee(t)?t.current:t)||null;n!==eq.current&&(eF.setPositionReference(n),eq.current=n)},[_,eF,ed,eg]),t.useEffect(()=>{if(!_)return;let e=eg.current;"function"!=typeof e&&ee(e)&&e.current!==eq.current&&(eF.setPositionReference(e.current),eq.current=e.current)},[_,eF,ed,eg]),t.useEffect(()=>{if(B&&_&&eD.reference&&eD.floating)return k(eD.reference,eD.floating,eN,ek)},[B,_,eD,eN,ek]);let eK=(0,n.getSide)(ej),eG=Z(C,eK,ep),eJ=(0,n.getAlignment)(ej)||"center",eX=!!eW.hide?.referenceHidden;(0,l.useIsoLayoutEffect)(()=>{et&&_&&eH&&eK!==eh&&ei(eK)},[et,_,eH,eK,eh]);let eZ=t.useMemo(()=>({position:"absolute",top:eW.arrow?.y,left:eW.arrow?.x}),[eW.arrow]),eQ=eW.arrow?.centerOffset!==0;return t.useMemo(()=>({positionerStyles:eY,arrowStyles:eZ,arrowRef:eC,arrowUncentered:eQ,side:eG,align:eJ,physicalSide:eK,anchorHidden:eX,refs:eF,context:eB,isPositioned:eH,update:eN}),[eY,eZ,eC,eQ,eG,eJ,eK,eX,eF,eB,eH,eN])}(e,Y)}],23706);var et=e.i(5005),en=e.i(52245),er=e.i(56789),ei=e.i(38396);function el(e){return"starting"===e?ei.DISABLED_TRANSITIONS_STYLE:er.EMPTY_OBJECT}e.s(["getDisabledMountTransitionStyles",0,el],53984),e.s(["usePositioner",0,function(e,t,{styles:n,transitionStatus:r,props:i,refs:l,hidden:o,inert:u=!1}){let a={...n};return u&&(a.pointerEvents="none"),(0,en.useRenderElement)("div",e,{state:t,ref:l,props:[{role:"presentation",hidden:o,style:a},el(r),i],stateAttributesMapping:et.popupStateMapping})}],89579);var eo=e.i(45484);e.s(["useAnchoredPopupScrollLock",0,function(e,n,i,o){let[u,a]=t.useState(!1);(0,l.useIsoLayoutEffect)(()=>{if(!e||!n||null==i)return void a(!1);let t=(0,r.ownerDocument)(i).documentElement.clientWidth,l=i.offsetWidth;a(t>0&&l>0&&l>=t-20)},[e,n,i]),(0,eo.useScrollLock)(e&&(!n||u),o)}],33383)},18438,e=>{"use strict";e.i(47167);var t=e.i(71645),n=e.i(52245);let r=t.forwardRef(function(e,t){let{className:r,render:i,orientation:l="horizontal",style:o,...u}=e;return(0,n.useRenderElement)("div",e,{state:{orientation:l},ref:t,props:[{role:"presentation"},u]})});e.s(["ListboxSeparator",0,r])},56420,e=>{"use strict";var t=e.i(71645);let n=(...e)=>e.filter((e,t,n)=>!!e&&""!==e.trim()&&n.indexOf(e)===t).join(" ").trim(),r=e=>{let t=e.replace(/^([A-Z])|[\s-_]+(\w)/g,(e,t,n)=>n?n.toUpperCase():t.toLowerCase());return t.charAt(0).toUpperCase()+t.slice(1)};var i={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};let l=(0,t.createContext)({}),o=(0,t.forwardRef)(({color:e,size:r,strokeWidth:o,absoluteStrokeWidth:u,className:a="",children:s,iconNode:c,...f},d)=>{let{size:g=24,strokeWidth:m=2,absoluteStrokeWidth:p=!1,color:h="currentColor",className:v=""}=(0,t.useContext)(l)??{},y=u??p?24*Number(o??m)/Number(r??g):o??m;return(0,t.createElement)("svg",{ref:d,...i,width:r??g??i.width,height:r??g??i.height,stroke:e??h,strokeWidth:y,className:n("lucide",v,a),...!s&&!(e=>{for(let t in e)if(t.startsWith("aria-")||"role"===t||"title"===t)return!0;return!1})(f)&&{"aria-hidden":"true"},...f},[...c.map(([e,n])=>(0,t.createElement)(e,n)),...Array.isArray(s)?s:[s]])});e.s(["default",0,(e,i)=>{let l=(0,t.forwardRef)(({className:l,...u},a)=>(0,t.createElement)(o,{ref:a,iconNode:i,className:n(`lucide-${r(e).replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()}`,`lucide-${e}`,l),...u}));return l.displayName=r(e),l}],56420)},11241,68877,90803,e=>{"use strict";var t=e.i(56420);let n=(0,t.default)("arrow-left",[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]]);e.s(["ArrowLeft",0,n],11241);let r=(0,t.default)("arrow-right",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]]);e.s(["ArrowRight",0,r],68877),e.s(["isElementDisabled",0,function(e){return null==e||e.hasAttribute("disabled")||"true"===e.getAttribute("aria-disabled")}],90803)},37930,13203,65858,60891,e=>{"use strict";var t=e.i(43476),n=e.i(71446),r=e.i(61310),i=e.i(2582);e.s(["FieldWrapper",0,({label:e,labelClassName:l,description:o,error:u,className:a,size:s="default",children:c})=>(0,t.jsxs)(n.Field.Root,{invalid:!!u,className:(0,i.cn)("flex flex-col gap-2 items-start w-full",a),children:[e&&(0,t.jsx)(n.Field.Label,{render:(0,t.jsx)(r.Label,{label:e,className:(0,i.cn)("small"===s&&"text-sm leading-none",l)})}),c,o&&(0,t.jsx)(n.Field.Description,{className:"text-xs leading-[150%] text-gray-500",children:o}),u&&(0,t.jsx)(n.Field.Error,{match:!0,className:"text-xs leading-[150%] text-rose-800",children:u})]})],37930);var l=e.i(71645);e.s(["useOnFirstRender",0,function(e){let t=l.useRef(!0);t.current&&(t.current=!1,e())}],13203);var o=e.i(29315),u=e.i(83977),a=e.i(46376),s=e.i(88940),c=e.i(90627),f=e.i(46420),d=e.i(56341);e.s(["useFloatingRootContext",0,function(e){let{open:t=!1,onOpenChange:n,elements:r={}}=e,i=(0,u.useId)(),l=null!=(0,f.useFloatingParentNodeId)(),g=(0,s.useRefWithInit)(()=>new d.FloatingRootStore({open:t,transitionStatus:void 0,onOpenChange:n,referenceElement:r.reference??null,floatingElement:r.floating??null,triggerElements:new c.PopupTriggerMap,floatingId:i,syncOnly:!1,nested:l})).current;return(0,a.useIsoLayoutEffect)(()=>{let e={open:t,floatingId:i};void 0!==r.reference&&(e.referenceElement=r.reference,e.domReferenceElement=(0,o.isElement)(r.reference)?r.reference:null),void 0!==r.floating&&(e.floatingElement=r.floating),g.update(e)},[t,i,r.reference,r.floating,g]),g.context.onOpenChange=n,g.context.nested=l,g}],65858);var g=e.i(8445),m=e.i(8868),p=e.i(67865),h=e.i(46265),v=e.i(28744),y=e.i(75606),b=e.i(56434),x=e.i(21082),w=e.i(49055),R=e.i(47554),E=e.i(96296),
1C=e.i(3596),A=e.i(57940);function S(e){return v.platform.engine.webkit&&0===e.movementX&&0===e.movementY}function L(e,t,n){switch(e){case"vertical":return t;case"horizontal":return n;default:return t||n}}function T(e,t){return L(t,e===w.ARROW_UP||e===w.ARROW_DOWN,e===w.ARROW_LEFT||e===w.ARROW_RIGHT)}function M(e,t,n){return L(t,e===w.ARROW_DOWN,n?e===w.ARROW_LEFT:e===w.ARROW_RIGHT)||"Enter"===e||" "===e||""===e}e.s(["useListNavigation",0,function(e,t){let{listRef:n,activeIndex:r,onNavigate:i=()=>{},enabled:u=!0,selectedIndex:s=null,allowEscape:c=!1,loopFocus:d=!1,nested:v=!1,rtl:I=!1,virtual:O=!1,focusItemOnOpen:k="auto",focusItemOnHover:F=!0,openOnArrowKeyDown:D=!0,disabledIndices:P,orientation:V="vertical",parentOrientation:W,id:N,resetOnPointerLeave:j=!0,externalTree:B,grid:H}=t,_=null!=H,$="rootStore"in e?e.rootStore:e,z=$.useState("open"),U=$.useState("floatingElement"),Y=$.useState("domReferenceElement"),q=$.context.dataRef,K=(0,E.getFloatingFocusElement)(U),G=(0,E.isTypeableCombobox)(Y),J=(0,h.useValueAsRef)(K),X=(0,f.useFloatingParentNodeId)(),Z=(0,f.useFloatingTree)(B),Q=l.useRef(k),ee=l.useRef(s??-1),et=l.useRef(null),en=l.useRef(!0),er=(0,p.useStableCallback)(e=>{i(-1===ee.current?null:ee.current,e)}),ei=l.useRef(!!U),el=l.useRef(z),eo=l.useRef(!1),eu=l.useRef(!1),ea=l.useRef(null),es=(0,h.useValueAsRef)(P),ec=(0,h.useValueAsRef)(z),ef=(0,h.useValueAsRef)(s),ed=(0,h.useValueAsRef)(j),eg=(0,g.useAnimationFrame)(),em=(0,g.useAnimationFrame)(),ep=(0,p.useStableCallback)(()=>{function e(e){O?Z?.events.emit("virtualfocus",e):ea.current=(0,C.enqueueFocus)(e,{sync:eo.current,preventScroll:!0})}let t=n.current[ee.current],r=eu.current;t&&e(t),(eo.current?e=>e():e=>eg.request(e))(()=>{let i=n.current[ee.current]||t;!i||(t||e(i),ew&&(r||!en.current)&&i.scrollIntoView?.({block:"nearest",inline:"nearest"}))})});(0,a.useIsoLayoutEffect)(()=>{q.current.orientation=V},[q,V]),(0,a.useIsoLayoutEffect)(()=>{u&&(z&&U?(ee.current=s??-1,Q.current&&null!=s&&(eu.current=!0,er())):ei.current&&(ee.current=-1,er()))},[u,z,U,s,er]),(0,a.useIsoLayoutEffect)(()=>{if(u){if(!z){eo.current=!1;return}if(U)if(null==r){if(eo.current=!1,null!=ef.current)return;if(ei.current&&(ee.current=-1,ep()),(!el.current||!ei.current)&&Q.current&&(null!=et.current||!0===Q.current&&null==et.current)){let e=0,t=()=>{null==n.current[0]?(e<2&&(e?e=>em.request(e):queueMicrotask)(t),e+=1):(ee.current=null==et.current||M(et.current,V,I)||v?(0,x.getMinListIndex)(n):(0,x.getMaxListIndex)(n),et.current=null,er())};t()}}else(0,x.isIndexOutOfListBounds)(n.current,r)||(ee.current=r,ep(),eu.current=!1)}},[u,z,U,r,ef,v,n,V,I,er,ep,em]),(0,a.useIsoLayoutEffect)(()=>{if(!u||U||!Z||O||!ei.current)return;let e=Z.nodesRef.current,t=e.find(e=>e.id===X)?.context?.elements.floating,n=(0,R.activeElement)((0,m.ownerDocument)(Y??t??null)),r=e.some(e=>e.context&&(0,R.contains)(e.context.elements.floating,n));t&&!r&&en.current&&t.focus({preventScroll:!0})},[u,U,Y,Z,X,O]),(0,a.useIsoLayoutEffect)(()=>{el.current=z,ei.current=!!U}),(0,a.useIsoLayoutEffect)(()=>{z||(et.current=null,Q.current=k)},[z,k]);let eh=null!=r,ev=(0,p.useStableCallback)(e=>{if(!ec.current)return;let t=n.current.indexOf(e.currentTarget);-1!==t&&(ee.current!==t||r!==t)&&(ee.current=t,er(e))}),ey=(0,p.useStableCallback)(()=>W??Z?.nodesRef.current.find(e=>e.id===X)?.context?.dataRef?.current.orientation),eb=(0,p.useStableCallback)(()=>(0,x.getMinListIndex)(n,es.current)),ex=(0,p.useStableCallback)(e=>{var t;let r,i;if(en.current=!1,eo.current=!0,229===e.which||!ec.current&&e.currentTarget===J.current)return;if(v&&(t=e.key,r=I?t===w.ARROW_RIGHT:t===w.ARROW_LEFT,i=t===w.ARROW_UP,"both"===V||"horizontal"===V&&_?"Escape"===t:L(V,r,i))){T(e.key,ey())||(0,A.stopEvent)(e),$.setOpen(!1,(0,y.createChangeEventDetails)(b.REASONS.listNavigation,e.nativeEvent)),(0,o.isHTMLElement)(Y)&&(O?Z?.events.emit("virtualfocus",Y):Y.focus());return}let l=ee.current,u=(0,x.getMinListIndex)(n,P),a=(0,x.getMaxListIndex)(n,P);if(G||("Home"===e.key&&((0,A.stopEvent)(e),ee.current=u,er(e)),"End"===e.key&&((0,A.stopEvent)(e),ee.current=a,er(e))),null!=H){let t=H(e,ee.current,n,V,d,I,P,u,a);if(null!=t&&(ee.current=t,er(e)),"both"===V)return}if(T(e.key,V)){if((0,A.stopEvent)(e),z&&!O&&(0,R.activeElement)(e.currentTarget.ownerDocument)===e.currentTarget){ee.current=M(e.ke
1y,V,I)?u:a,er(e);return}M(e.key,V,I)?d?l>=a?c&&l!==n.current.length?ee.current=-1:(eo.current=!1,ee.current=u):ee.current=(0,x.findNonDisabledListIndex)(n.current,{startingIndex:l,disabledIndices:P}):ee.current=Math.min(a,(0,x.findNonDisabledListIndex)(n.current,{startingIndex:l,disabledIndices:P})):d?l<=u?c&&-1!==l?ee.current=n.current.length:(eo.current=!1,ee.current=a):ee.current=(0,x.findNonDisabledListIndex)(n.current,{startingIndex:l,decrement:!0,disabledIndices:P}):ee.current=Math.max(u,(0,x.findNonDisabledListIndex)(n.current,{startingIndex:l,decrement:!0,disabledIndices:P})),(0,x.isIndexOutOfListBounds)(n.current,ee.current)&&(ee.current=-1),er(e)}}),ew=l.useMemo(()=>({onFocus(e){eo.current=!0,ev(e)},onClick:({currentTarget:e})=>e.focus({preventScroll:!0}),onMouseMove(e){!S(e)&&(eo.current=!0,eu.current=!1,F&&ev(e))},onPointerLeave(e){if(!ec.current||!en.current||"touch"===e.pointerType)return;eo.current=!0;let t=e.relatedTarget;if(!(!F||n.current.includes(t))&&ed.current&&(ea.current?.(),ea.current=null,ee.current=-1,er(e),!O)){let e=J.current,t=(0,R.activeElement)((0,m.ownerDocument)(e));e&&(0,R.contains)(e,t)&&e.focus({preventScroll:!0})}}}),[ev,ec,J,F,n,er,ed,O]),eR=l.useMemo(()=>O&&z&&eh&&{"aria-activedescendant":`${N}-${r}`},[O,z,eh,N,r]),eE=l.useMemo(()=>({"aria-orientation":"both"===V?void 0:V,...!G?eR:{},onKeyDown(e){if("Tab"===e.key&&e.shiftKey&&z&&!O){let t=(0,R.getTarget)(e.nativeEvent);if(t&&!(0,R.contains)(J.current,t))return;(0,A.stopEvent)(e),$.setOpen(!1,(0,y.createChangeEventDetails)(b.REASONS.focusOut,e.nativeEvent)),(0,o.isHTMLElement)(Y)&&Y.focus();return}ex(e)},onPointerMove(e){S(e)||(en.current=!0)}}),[eR,ex,J,V,G,$,z,O,Y]),eC=l.useMemo(()=>{function e(e){$.setOpen(!0,(0,y.createChangeEventDetails)(b.REASONS.listNavigation,e.nativeEvent,e.currentTarget))}function t(e){"auto"===k&&(0,A.isVirtualClick)(e.nativeEvent)&&(Q.current=!O)}function n(e){Q.current=k,"auto"===k&&(0,A.isVirtualPointerEvent)(e.nativeEvent)&&(Q.current=!0)}return{onKeyDown(t){var n,r;let i=$.select("open");en.current=!1;let l=t.key.startsWith("Arrow"),o=(n=t.key,r=ey(),L(r,I?n===w.ARROW_LEFT:n===w.ARROW_RIGHT,n===w.ARROW_DOWN)),u=T(t.key,V),a=(v?o:u)||"Enter"===t.key||""===t.key.trim();if(O&&i)return ex(t);if(i||D||!l){if(a){let e=T(t.key,ey());et.current=v&&e?null:t.key}if(v){o&&((0,A.stopEvent)(t),i?(ee.current=eb(),er(t)):e(t));return}u&&(null!=ef.current&&(ee.current=ef.current),(0,A.stopEvent)(t),!i&&D?e(t):ex(t),i&&er(t))}},onFocus(e){$.select("open")&&!O&&(ee.current=-1,er(e))},onPointerDown:n,onPointerEnter:n,onMouseDown:t,onClick:t}},[ex,k,eb,v,er,$,D,V,ey,I,ef,O]),eA=l.useMemo(()=>({...eR,...eC}),[eR,eC]);return l.useMemo(()=>u?{reference:eA,floating:eE,item:ew,trigger:eC}:{},[u,eA,eE,eC,ew])}],60891)},61310,e=>{"use strict";var t=e.i(43476),n=e.i(2582);e.s(["Label",0,({label:e,className:r,...i})=>(0,t.jsx)("label",{className:(0,n.cn)("font-heading text-sm font-medium leading-[150%] tracking-normal text-gray-600",r),...i,children:e})])}]);
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.