1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[92821],{7944:(t,e,n)=>{n.d(e,{U:()=>i,a:()=>l});var r=n(685089);function l(t,e,n,l){var i,s,a,o,f;let d=(0,r.useRefWithInit)(u).current;return i=d,s=t,a=e,o=n,f=l,(i.refs[0]!==s||i.refs[1]!==a||i.refs[2]!==o||i.refs[3]!==f)&&c(d,[t,e,n,l]),d.callback}function i(t){var e,n;let l=(0,r.useRefWithInit)(u).current;return e=l,n=t,(e.refs.length!==n.length||e.refs.some((t,e)=>t!==n[e]))&&c(l,t),l.callback}function u(){return{callback:null,cleanup:null,refs:[]}}function c(t,e){if(t.refs=e,e.every(t=>null==t)){t.callback=null;return}t.callback=n=>{if(t.cleanup&&(t.cleanup(),t.cleanup=null),null!=n){let r=Array(e.length).fill(null);for(let t=0;t<e.length;t+=1){let l=e[t];if(null!=l)switch(typeof l){case"function":{let e=l(n);"function"==typeof e&&(r[t]=e);break}case"object":l.current=n}}t.cleanup=()=>{for(let t=0;t<e.length;t+=1){let n=e[t];if(null!=n)switch(typeof n){case"function":{let e=r[t];"function"==typeof e?e():n(null);break}case"object":n.current=null}}}}}}},79213:(t,e,n)=>{n.d(e,{PT:()=>o,VN:()=>f,lZ:()=>u,v6:()=>i});var r=n(378407);let l={};function i(t,e,n,r,i){let u={...a(t,l)};return e&&(u=c(u,e)),n&&(u=c(u,n)),r&&(u=c(u,r)),i&&(u=c(u,i)),u}function u(t){if(0===t.length)return l;if(1===t.length)return a(t[0],l);let e={...a(t[0],l)};for(let n=1;n<t.length;n+=1)e=c(e,t[n]);return e}function c(t,e){return s(e)?e(t):function(t,e){if(!e)return t;for(let n in e){let l=e[n];switch(n){case"style":t[n]=(0,r.r)(t.style,l);break;case"className":t[n]=f(t.className,l);break;default:!function(t,e){let n=t.charCodeAt(0),r=t.charCodeAt(1),l=t.charCodeAt(2);return 111===n&&110===r&&l>=65&&l<=90&&("function"==typeof e||void 0===e)}(n,l)?t[n]=l:t[n]=function(t,e){return e?t?n=>{var r;if(null!=(r=n)&&"object"==typeof r&&"nativeEvent"in r){o(n);let r=e(n);return n.baseUIHandlerPrevented||t?.(n),r}let l=e(n);return t?.(n),l}:e:t}(t[n],l)}}return t}(t,e)}function s(t){return"function"==typeof t}function a(t,e){return s(t)?t(e):t??l}function o(t){return t.preventBaseUIHandler=()=>{t.baseUIHandlerPrevented=!0},t}function f(t,e){return e?t?e+" "+t:e:t}},216103:(t,e,n)=>{n.d(e,{G:()=>u,T:()=>r});let r=function(t){return t.startingStyle="data-starting-style",t.endingStyle="data-ending-style",t}({}),l={[r.startingStyle]:""},i={[r.endingStyle]:""},u={transitionStatus:t=>"starting"===t?l:"ending"===t?i:null}},280147:(t,e,n)=>{n.d(e,{o:()=>f});var r=n(341081),l=n(873634),i=n(7944),u=n(325454);function c(t){if(!l.isValidElement(t))return null;let e=t.props;return((0,u._)(19)?e?.ref:t.ref)??null}var s=n(378407),a=n(79213),o=n(988072);function f(t,e,n={}){let u=e.render,h=function(t,e={}){let{className:n,style:r,render:l}=t,{state:u=o.t0,ref:f,props:d,stateAttributesMapping:h,enabled:b=!0}=e,y=b?"function"==typeof n?n(u):n:void 0,g=b?"function"==typeof r?r(u):r:void 0,p=b?function(t,e){let n={};for(let r in t){let l=t[r];if(e?.hasOwnProperty(r)){let t=e[r](l);null!=t&&Object.assign(n,t);continue}!0===l?n[`data-${r.toLowerCase()}`]="":l&&(n[`data-${r.toLowerCase()}`]=l.toString())}return n}(u,h):o.t0,v=b?(0,s.r)(p,Array.isArray(d)?(0,a.lZ)(d):d)??o.t0:o.t0;return("undefined"!=typeof document&&(b?Array.isArray(f)?v.ref=(0,i.U)([v.ref,c(l),...f]):v.ref=(0,i.a)(v.ref,c(l),f):(0,i.a)(null,null)),b)?(void 0!==y&&(v.className=(0,a.VN)(v.className,y)),void 0!==g&&(v.style=(0,s.r)(v.style,g)),v):o.t0}(e,n);return!1===n.enabled?null:function(t,e,n,i){if(e){if("function"==typeof e)return e(n,i);let t=(0,a.v6)(n,e.props);t.ref=n.ref;let r=e;return r?.$$typeof===d&&(r=l.Children.toArray(e)[0]),l.cloneElement(r,t)}if(t&&"string"==typeof t){var u,c;return u=t,c=n,"button"===u?(0,l.createElement)("button",{type:"button",...c,key:c.key}):"img"===u?(0,l.createElement)("img",{alt:"",...c,key:c.key}):l.createElement(u,c)}throw Error((0,r.A)(8))}(t,u,h,n.state??o.t0)}let d=Symbol.for("react.lazy")},325454:(t,e,n)=>{n.d(e,{_:()=>l});let r=parseInt(n(873634).version,10);function l(t){return r>=t}},341081:(t,e,n)=>{n.d(e,{A:()=>r});function r(t,...e){let n=new URL("https://base-ui.com/production-error");
1return n.searchParams.set("code",t.toString()),e.forEach(t=>n.searchParams.append("args[]",t)),`Base UI error #${t}; visit ${n} for the full message.`}},378407:(t,e,n)=>{n.d(e,{r:()=>r});function r(t,e){return t&&!e?t:!t&&e?e:t||e?{...t,...e}:void 0}},398549:(t,e,n)=>{n.d(e,{V:()=>s});var r=n(164159),l=n(667993),i=n(917414),u=n(462684),c=n(216103);function s(t,e=!1,n=!0){let a=(0,l.N)();return(0,i.K)((l,i=null)=>{function s(){r.flushSync(l)}a.cancel();let o=(0,u.q)(t);if(null!=o)if("function"!=typeof o.getAnimations||globalThis.BASE_UI_ANIMATIONS_DISABLED)l();else{function f(){Promise.all(o.getAnimations().map(t=>t.finished)).then(()=>{i?.aborted||s()}).catch(()=>{let t=o.getAnimations();if(n){if(i?.aborted)return;s()}else t.length>0&&t.some(t=>t.pending||"finished"!==t.playState)&&f()})}if(e)return void function(){let t=c.T.startingStyle;if(!o.hasAttribute(t))return a.request(f);let e=new MutationObserver(()=>{o.hasAttribute(t)||(e.disconnect(),f())});e.observe(o,{attributes:!0,attributeFilter:[t]}),i?.addEventListener("abort",()=>e.disconnect(),{once:!0})}();a.request(f)}})}},462684:(t,e,n)=>{n.d(e,{q:()=>r});function r(t){return null==t?t:"current"in t?t.current:t}},667993:(t,e,n)=>{n.d(e,{K:()=>c,N:()=>s});var r=n(685089),l=n(906916);globalThis.requestAnimationFrame;class i{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<e.length;n+=1)e[n]?.(t)}}}let u=new i;class c{static create(){return new c}static request(t){return u.request(t)}static cancel(t){return u.cancel(t)}request(t){this.cancel(),this.currentId=u.request(()=>{this.currentId=null,t()})}constructor(){this.currentId=null,this.cancel=()=>{null!==this.currentId&&(u.cancel(this.currentId),this.currentId=null)},this.disposeEffect=()=>this.cancel}}function s(){let t=(0,r.useRefWithInit)(c.create).current;return(0,l.y)(t.disposeEffect),t}},685089:(t,e,n)=>{n.r(e),n.d(e,{useRefWithInit:()=>i});var r=n(873634);let l={};function i(t,e){let n=r.useRef(l);return n.current===l&&(n.current=t(e)),n}},686896:(t,e,n)=>{n.d(e,{g:()=>l});var r=n(873634);let l="undefined"!=typeof document?r.useLayoutEffect:()=>{}},844089:(t,e,n)=>{n.d(e,{$:()=>u});var r=n(873634),l=n(686896),i=n(667993);function u(t,e=!1,n=!1){let[c,s]=r.useState(t&&e?"idle":void 0),[a,o]=r.useState(t);return t&&!a&&(o(!0),s("starting")),t||!a||"ending"===c||n||s("ending"),t||a||"ending"!==c||s(void 0),(0,l.g)(()=>{if(!t&&a&&"ending"!==c&&n){let t=i.K.request(()=>{s("ending")});return()=>{i.K.cancel(t)}}},[t,a,c,n]),(0,l.g)(()=>{if(!t||e)return;let n=i.K.request(()=>{s(void 0)});return()=>{i.K.cancel(n)}},[e,t]),(0,l.g)(()=>{if(!t||!e)return;t&&a&&"idle"!==c&&s("starting");let n=i.K.request(()=>{s("idle")});return()=>{i.K.cancel(n)}},[e,t,a,s,c]),r.useMemo(()=>({mounted:a,setMounted:o,transitionStatus:c}),[a,c])}},863031:(t,e,n)=>{n.d(e,{v:()=>u});var r=n(873634),l=n(917414),i=n(398549);function u(t){let{enabled:e=!0,open:n,ref:u,onComplete:c}=t,s=(0,l.K)(c),a=(0,i.V)(u,n,!1);r.useEffect(()=>{if(!e)return;let t=new AbortController;return a(s,t.signal),()=>{t.abort()}},[e,n,s,a])}},906916:(t,e,n)=>{n.d(e,{y:()=>i});var r=n(873634);let l=[];function i(t){r.useEffect(t,l)}},917414:(t,e,n)=>{n.d(e,{K:()=>s});var r,l=n(873634),i=n(685089);let u=(r||(r=n.t(l,2)))[`useInsertionEffect${Math.random().toFixed(1)}`.slice(0,-3)],c=u&&u!==l.useLayoutEffect?u:t=>t();function s(t){let e=(0,i.useRefWithInit)(a).current;return e.next=t,c(e.effect),e.trampoline}function a(){let t={next:void 0,callback:o,trampoline:(...e)=>t.callback?.(...e),effect:()=>{t.callback=t.next}};return t}function o(){}},954141:(t,e,n)=>{n.d(e,{E:()=>i,Z:()=>u});var r=n(685089),l=n(906916);
1class i{static create(){return new i}start(t,e){this.clear(),this.currentId=setTimeout(()=>{this.currentId=0,e()},t)}isStarted(){return 0!==this.currentId}constructor(){this.currentId=0,this.clear=()=>{0!==this.currentId&&(clearTimeout(this.currentId),this.currentId=0)},this.disposeEffect=()=>this.clear}}function u(){let t=(0,r.useRefWithInit)(i.create).current;return(0,l.y)(t.disposeEffect),t}},988072:(t,e,n)=>{function r(){}n.d(e,{Ml:()=>l,t0:()=>i,tE:()=>r});let l=Object.freeze([]),i=Object.freeze({})}}]);
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.