PageSourceSearch

https://oid-mozambique.vercel.app/_next/static/chunks/46b5ced19ddc0115.js

js oid-mozambique.vercel.app collected 2026-10-03 07:25:51 UTC 57,118 bytes, 1 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,29402,75830,86318,53660,78784,e=>{"use strict";let t,r,n,i;var o=e.i(71645),l=e.i(74080);function a(e,[t,r]){return Math.min(r,Math.max(t,e))}var s=e.i(81140),u=e.i(30030),c=e.i(20783),f=e.i(43476);function d(e){var t;let r,n=(t=e,(r=o.forwardRef((e,t)=>{let{children:r,...n}=e;if(o.isValidElement(r)){var i;let e,l,a=(i=r,(l=(e=Object.getOwnPropertyDescriptor(i.props,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?i.ref:(l=(e=Object.getOwnPropertyDescriptor(i,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?i.props.ref:i.props.ref||i.ref),s=function(e,t){let r={...t};for(let n in t){let i=e[n],o=t[n];/^on[A-Z]/.test(n)?i&&o?r[n]=(...e)=>{let t=o(...e);return i(...e),t}:i&&(r[n]=i):"style"===n?r[n]={...i,...o}:"className"===n&&(r[n]=[i,o].filter(Boolean).join(" "))}return{...e,...r}}(n,r.props);return r.type!==o.Fragment&&(s.ref=t?(0,c.composeRefs)(t,a):a),o.cloneElement(r,s)}return o.Children.count(r)>1?o.Children.only(null):null})).displayName=`${t}.SlotClone`,r),i=o.forwardRef((e,t)=>{let{children:r,...i}=e,l=o.Children.toArray(r),a=l.find(h);if(a){let e=a.props.children,r=l.map(t=>t!==a?t:o.Children.count(e)>1?o.Children.only(null):o.isValidElement(e)?e.props.children:null);return(0,f.jsx)(n,{...i,ref:t,children:o.isValidElement(e)?o.cloneElement(e,void 0,r):null})}return(0,f.jsx)(n,{...i,ref:t,children:r})});return i.displayName=`${e}.Slot`,i}var p=Symbol("radix.slottable");function h(e){return o.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===p}function m(e){let t=e+"CollectionProvider",[r,n]=(0,u.createContextScope)(t),[i,l]=r(t,{collectionRef:{current:null},itemMap:new Map}),a=e=>{let{scope:t,children:r}=e,n=o.default.useRef(null),l=o.default.useRef(new Map).current;return(0,f.jsx)(i,{scope:t,itemMap:l,collectionRef:n,children:r})};a.displayName=t;let s=e+"CollectionSlot",p=d(s),h=o.default.forwardRef((e,t)=>{let{scope:r,children:n}=e,i=l(s,r),o=(0,c.useComposedRefs)(t,i.collectionRef);return(0,f.jsx)(p,{ref:o,children:n})});h.displayName=s;let m=e+"CollectionItemSlot",g="data-radix-collection-item",v=d(m),y=o.default.forwardRef((e,t)=>{let{scope:r,children:n,...i}=e,a=o.default.useRef(null),s=(0,c.useComposedRefs)(t,a),u=l(m,r);return o.default.useEffect(()=>(u.itemMap.set(a,{ref:a,...i}),()=>void u.itemMap.delete(a))),(0,f.jsx)(v,{...{[g]:""},ref:s,children:n})});return y.displayName=m,[{Provider:a,Slot:h,ItemSlot:y},function(t){let r=l(e+"CollectionConsumer",t);return o.default.useCallback(()=>{let e=r.collectionRef.current;if(!e)return[];let t=Array.from(e.querySelectorAll(`[${g}]`));return Array.from(r.itemMap.values()).sort((e,r)=>t.indexOf(e.ref.current)-t.indexOf(r.ref.current))},[r.collectionRef,r.itemMap])},n]}var g=new WeakMap;function v(e,t){var r,n;let i,o,l;if("at"in Array.prototype)return Array.prototype.at.call(e,t);let a=(r=e,n=t,i=r.length,(l=(o=y(n))>=0?o:i+o)<0||l>=i?-1:l);return -1===a?void 0:e[a]}function y(e){return e!=e||0===e?0:Math.trunc(e)}(class e extends Map{#e;constructor(e){super(e),this.#e=[...super.keys()],g.set(this,!0)}set(e,t){return g.get(this)&&(this.has(e)?this.#e[this.#e.indexOf(e)]=e:this.#e.push(e)),super.set(e,t),this}insert(e,t,r){let n,i=this.has(t),o=this.#e.length,l=y(e),a=l>=0?l:o+l,s=a<0||a>=o?-1:a;if(s===this.size||i&&s===this.size-1||-1===s)return this.set(t,r),this;let u=this.size+ +!i;l<0&&a++;let c=[...this.#e],f=!1;for(let e=a;e<u;e++)if(a===e){let o=c[e];c[e]===t&&(o=c[e+1]),i&&this.delete(t),n=this.get(o),this.set(t,r)}else{f||c[e-1]!==t||(f=!0);let r=c[f?e:e-1],i=n;n=this.get(r),this.delete(r),this.set(r,i)}return this}with(t,r,n){let i=new e(this);return i.insert(t,r,n),i}before(e){let t=this.#e.indexOf(e)-1;if(!(t<0))return this.entryAt(t)}setBefore(e,t,r){let n=this.#e.indexOf(e);return -1===n?this:this.insert(n,t,r)}after(e){let t=this.#e.indexOf(e);if(-1!==(t=-1===t||t===this.size-1?-1:t+1))return this.entryAt(t)}setAfter(e,t,r){let n=this.#e.indexOf(e);return -1===n?this:this.insert(n+1,t,r)}first(){return this.entryAt(0)}last(){return this.entryAt(-1)}clear(){return this.#e=[],super.clear()}delete(e){let t=super.delete(e);return t&&this.#e.splice(this.#e.indexOf(e),1),t}deleteAt(e){let t=this.keyAt(e);return void 0!==t&&this.delete(t)}at(e){let t=v(this.#e,e);if(void 0!==t)return this.get(t)}entryAt(e){let t=v(this.#e,e);if(void 0!==t)return[t,this.get(t)]}indexOf(e){return this.#e.indexOf(e)}keyAt(e){return v(this.#e,e)}from(e,t){let r=this.indexOf(e);if(-1===r)return;let n=r+t;return n<0&&(n=0),n>=this.size&&(n=this.size-1),this.at(n)}keyFrom(e,t){let r=this.indexOf(e);if(-1===r)return;let n=r+t;return n<0&&(n=0),n>=this.size&&(n=this.size-1),this.keyAt(n)}find(e,t){let r=0;for(let n of this){if(Reflect.apply(e,t,[n,r,this]))return n;r++}}findIndex(e,t){let r=0;for(let n of this){if(Reflect.apply(e,t,[n,r,this]))return r;r++}return -1}filter(t,r){let n=[],i=0;for(let e of this)Reflect.apply(t,r,[e,i,this])&&n.push(e),i++;return new e(n)}map(t,r){let n=[],i=0;for(let e of this)n.push([e[0],Reflect.apply(t,r,[e,i,this])]),i++;return new e(n)}reduce(...e){let[t,r]=e,n=0,i=r??this.at(0);for(let r of this)i=0===n&&1===e.length?r:Reflect.apply(t,this,[i,r,n,this]),n++;return i}reduceRight(...e){let[t,r]=e,n=r??this.at(-1);for(let r=this.size-1;r>=0;r--){let i=this.at(r);
1n=r===this.size-1&&1===e.length?i:Reflect.apply(t,this,[n,i,r,this])}return n}toSorted(t){return new e([...this.entries()].sort(t))}toReversed(){let t=new e;for(let e=this.size-1;e>=0;e--){let r=this.keyAt(e),n=this.get(r);t.set(r,n)}return t}toSpliced(...t){let r=[...this.entries()];return r.splice(...t),new e(r)}slice(t,r){let n=new e,i=this.size-1;if(void 0===t)return n;t<0&&(t+=this.size),void 0!==r&&r>0&&(i=r-1);for(let e=t;e<=i;e++){let t=this.keyAt(e),r=this.get(t);n.set(t,r)}return n}every(e,t){let r=0;for(let n of this){if(!Reflect.apply(e,t,[n,r,this]))return!1;r++}return!0}some(e,t){let r=0;for(let n of this){if(Reflect.apply(e,t,[n,r,this]))return!0;r++}return!1}}),e.s(["createCollection",()=>m],75830);var x=o.createContext(void 0);function w(e){let t=o.useContext(x);return e||t||"ltr"}e.s(["useDirection",()=>w],86318);var b=e.i(26330),R=e.i(3536),S=e.i(65491),C=e.i(10772);let E=["top","right","bottom","left"],j=Math.min,A=Math.max,P=Math.round,k=Math.floor,T=e=>({x:e,y:e}),L={left:"right",right:"left",bottom:"top",top:"bottom"};function O(e,t){return"function"==typeof e?e(t):e}function I(e){return e.split("-")[0]}function N(e){return e.split("-")[1]}function D(e){return"x"===e?"y":"x"}function H(e){return"y"===e?"height":"width"}function M(e){let t=e[0];return"t"===t||"b"===t?"y":"x"}function z(e){return e.includes("start")?e.replace("start","end"):e.replace("end","start")}let _=["left","right"],V=["right","left"],B=["top","bottom"],W=["bottom","top"];function F(e){let t=I(e);return L[t]+e.slice(t.length)}function $(e){return"number"!=typeof e?{top:0,right:0,bottom:0,left:0,...e}:{top:e,right:e,bottom:e,left:e}}function K(e){let{x:t,y:r,width:n,height:i}=e;return{width:n,height:i,top:r,left:t,right:t+n,bottom:r+i,x:t,y:r}}function U(e,t,r){let n,{reference:i,floating:o}=e,l=M(t),a=D(M(t)),s=H(a),u=I(t),c="y"===l,f=i.x+i.width/2-o.width/2,d=i.y+i.height/2-o.height/2,p=i[s]/2-o[s]/2;switch(u){case"top":n={x:f,y:i.y-o.height};break;case"bottom":n={x:f,y:i.y+i.height};break;case"right":n={x:i.x+i.width,y:d};break;case"left":n={x:i.x-o.width,y:d};break;default:n={x:i.x,y:i.y}}switch(N(t)){case"start":n[a]-=p*(r&&c?-1:1);break;case"end":n[a]+=p*(r&&c?-1:1)}return n}async function q(e,t){var r;void 0===t&&(t={});let{x:n,y:i,platform:o,rects:l,elements:a,strategy:s}=e,{boundary:u="clippingAncestors",rootBoundary:c="viewport",elementContext:f="floating",altBoundary:d=!1,padding:p=0}=O(t,e),h=$(p),m=a[d?"floating"===f?"reference":"floating":f],g=K(await o.getClippingRect({element:null==(r=await (null==o.isElement?void 0:o.isElement(m)))||r?m:m.contextElement||await (null==o.getDocumentElement?void 0:o.getDocumentElement(a.floating)),boundary:u,rootBoundary:c,strategy:s})),v="floating"===f?{x:n,y:i,width:l.floating.width,height:l.floating.height}:l.reference,y=await (null==o.getOffsetParent?void 0:o.getOffsetParent(a.floating)),x=await (null==o.isElement?void 0:o.isElement(y))&&await (null==o.getScale?void 0:o.getScale(y))||{x:1,y:1},w=K(o.convertOffsetParentRelativeRectToViewportRelativeRect?await o.convertOffsetParentRelativeRectToViewportRelativeRect({elements:a,rect:v,offsetParent:y,strategy:s}):v);return{top:(g.top-w.top+h.top)/x.y,bottom:(w.bottom-g.bottom+h.bottom)/x.y,left:(g.left-w.left+h.left)/x.x,right:(w.right-g.right+h.right)/x.x}}let Y=async(e,t,r)=>{let{placement:n="bottom",strategy:i="absolute",middleware:o=[],platform:l}=r,a=l.detectOverflow?l:{...l,detectOverflow:q},s=await (null==l.isRTL?void 0:l.isRTL(t)),u=await l.getElementRects({reference:e,floating:t,strategy:i}),{x:c,y:f}=U(u,n,s),d=n,p=0,h={};for(let r=0;r<o.length;r++){let m=o[r];if(!m)continue;let{name:g,fn:v}=m,{x:y,y:x,data:w,reset:b}=await v({x:c,y:f,initialPlacement:n,placement:d,strategy:i,middlewareData:h,rects:u,platform:a,elements:{reference:e,floating:t}});c=null!=y?y:c,f=null!=x?x:f,h[g]={...h[g],...w},b&&p<50&&(p++,"object"==typeof b&&(b.placement&&(d=b.placement),b.rects&&(u=!0===b.rects?await l.getElementRects({reference:e,floating:t,strategy:i}):b.rects),{x:c,y:f}=U(u,d,s)),r=-1)}return{x:c,y:f,placement:d,strategy:i,middlewareData:h}};function X(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function G(e){return E.some(t=>e[t]>=0)}let Z=new Set(["left","top"]);async function J(e,t){let{placement:r,platform:n,elements:i}=e,o=await (null==n.isRTL?void 0:n.isRTL(i.floating)),l=I(r),a=N(r),s="y"===M(r),u=Z.has(l)?-1:1,c=o&&s?-1:1,f=O(t,e),{mainAxis:d,crossAxis:p,alignmentAxis:h}="number"==typeof f?{mainAxis:f,crossAxis:0,alignmentAxis:null}
1:{mainAxis:f.mainAxis||0,crossAxis:f.crossAxis||0,alignmentAxis:f.alignmentAxis};return a&&"number"==typeof h&&(p="end"===a?-1*h:h),s?{x:p*c,y:d*u}:{x:d*u,y:p*c}}function Q(){return"u">typeof window}function ee(e){return en(e)?(e.nodeName||"").toLowerCase():"#document"}function et(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function er(e){var t;return null==(t=(en(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function en(e){return!!Q()&&(e instanceof Node||e instanceof et(e).Node)}function ei(e){return!!Q()&&(e instanceof Element||e instanceof et(e).Element)}function eo(e){return!!Q()&&(e instanceof HTMLElement||e instanceof et(e).HTMLElement)}function el(e){return!(!Q()||"u"<typeof ShadowRoot)&&(e instanceof ShadowRoot||e instanceof et(e).ShadowRoot)}function ea(e){let{overflow:t,overflowX:r,overflowY:n,display:i}=em(e);return/auto|scroll|overlay|hidden|clip/.test(t+n+r)&&"inline"!==i&&"contents"!==i}function es(e){try{if(e.matches(":popover-open"))return!0}catch(e){}try{return e.matches(":modal")}catch(e){return!1}}let eu=/transform|translate|scale|rotate|perspective|filter/,ec=/paint|layout|strict|content/,ef=e=>!!e&&"none"!==e;function ed(e){let t=ei(e)?em(e):e;return ef(t.transform)||ef(t.translate)||ef(t.scale)||ef(t.rotate)||ef(t.perspective)||!ep()&&(ef(t.backdropFilter)||ef(t.filter))||eu.test(t.willChange||"")||ec.test(t.contain||"")}function ep(){return null==t&&(t="u">typeof CSS&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),t}function eh(e){return/^(html|body|#document)$/.test(ee(e))}function em(e){return et(e).getComputedStyle(e)}function eg(e){return ei(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function ev(e){if("html"===ee(e))return e;let t=e.assignedSlot||e.parentNode||el(e)&&e.host||er(e);return el(t)?t.host:t}function ey(e,t,r){var n;void 0===t&&(t=[]),void 0===r&&(r=!0);let i=function e(t){let r=ev(t);return eh(r)?t.ownerDocument?t.ownerDocument.body:t.body:eo(r)&&ea(r)?r:e(r)}(e),o=i===(null==(n=e.ownerDocument)?void 0:n.body),l=et(i);if(!o)return t.concat(i,ey(i,[],r));{let e=ex(l);return t.concat(l,l.visualViewport||[],ea(i)?i:[],e&&r?ey(e):[])}}function ex(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function ew(e){let t=em(e),r=parseFloat(t.width)||0,n=parseFloat(t.height)||0,i=eo(e),o=i?e.offsetWidth:r,l=i?e.offsetHeight:n,a=P(r)!==o||P(n)!==l;return a&&(r=o,n=l),{width:r,height:n,$:a}}function eb(e){return ei(e)?e:e.contextElement}function eR(e){let t=eb(e);if(!eo(t))return T(1);let r=t.getBoundingClientRect(),{width:n,height:i,$:o}=ew(t),l=(o?P(r.width):r.width)/n,a=(o?P(r.height):r.height)/i;return l&&Number.isFinite(l)||(l=1),a&&Number.isFinite(a)||(a=1),{x:l,y:a}}let eS=T(0);function eC(e){let t=et(e);return ep()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:eS}function eE(e,t,r,n){var i;void 0===t&&(t=!1),void 0===r&&(r=!1);let o=e.getBoundingClientRect(),l=eb(e),a=T(1);t&&(n?ei(n)&&(a=eR(n)):a=eR(e));let s=(void 0===(i=r)&&(i=!1),n&&(!i||n===et(l))&&i)?eC(l):T(0),u=(o.left+s.x)/a.x,c=(o.top+s.y)/a.y,f=o.width/a.x,d=o.height/a.y;if(l){let e=et(l),t=n&&ei(n)?et(n):n,r=e,i=ex(r);for(;i&&n&&t!==r;){let e=eR(i),t=i.getBoundingClientRect(),n=em(i),o=t.left+(i.clientLeft+parseFloat(n.paddingLeft))*e.x,l=t.top+(i.clientTop+parseFloat(n.paddingTop))*e.y;u*=e.x,c*=e.y,f*=e.x,d*=e.y,u+=o,c+=l,i=ex(r=et(i))}}return K({width:f,height:d,x:u,y:c})}function ej(e,t){let r=eg(e).scrollLeft;return t?t.left+r:eE(er(e)).left+r}function eA(e,t){let r=e.getBoundingClientRect();return{x:r.left+t.scrollLeft-ej(e,r),y:r.top+t.scrollTop}}function eP(e,t,r){var n;let i;if("viewport"===t)i=function(e,t){let r=et(e),n=er(e),i=r.visualViewport,o=n.clientWidth,l=n.clientHeight,a=0,s=0;if(i){o=i.width,l=i.height;let e=ep();(!e||e&&"fixed"===t)&&(a=i.offsetLeft,s=i.offsetTop)}let u=ej(n);if(u<=0){let e=n.ownerDocument,t=e.body,r=getComputedStyle(t),i="CSS1Compat"===e.compatMode&&parseFloat(r.marginLeft)+parseFloat(r.marginRight)||0,l=Math.abs(n.clientWidth-t.clientWidth-i);l<=25&&(o-=l)}else u<=25&&(o+=u);return{width:o,height:l,x:a,y:s}}(e,r);else if("document"===t){let t,r,o,l,a,s,u;n=er(e),t=er(n),r=eg(n),o=n.ownerDocument.body,l=A(t.scrollWidth,t.clientWidth,o.scrollWidth,o.clientWidth),a=A(t.scrollHeight,t.clientHeight,o.scrollHeight,o.clientHeight),s=-r.scrollLeft+ej(n),u=-r.scrollTop,"rtl"===em(o).direction&&(s+=A(t.clientWidth,o.clientWidth)-l),i={width:l,height:a,x:s,y:u}}else if(ei(t)){let e,n,o,l,a,s;n=(e=eE(t,!0,"fixed"===r)).top+t.clientTop,o=e.left+t.clientLeft,l=eo(t)?eR(t):T(1),a=t.clientWidth*l.x,s=t.clientHeight*l.y,i={width:a,height:s,x:o*l.x,y:n*l.y}}else{let r=eC(e);i={x:t.x-r.x,y:t.y-r.y,width:t.width,height:t.height}}return K(i)}function ek(e){return"static"===em(e).position}function eT(e,t){if(!eo(e)||"fixed"===em(e).position)return null;if(t)return t(e);let r=e.offsetParent;return er(e)===r&&(r=r.ownerDocument.body),r}function eL(e,t){var r;let n=et(e);if(es(e))return n;if(!eo(e)){let t=ev(e);for(;t&&!eh(t);){if(ei(t)&&!ek(t))return t;t=ev(t)}return n}let i=eT(e,t);for(;i&&(r=i,/^(table|td|th)$/.test(ee(r)))&&ek(i);)i=eT(i,t);return i&&eh(i)&&ek(i)&&!ed(i)?n:i||function(e){let t=ev(e);for(;eo(t)&&!eh(t);){if(ed(t))return t;if(es(t))break;t=ev(t)}return null}(e)||n}let eO=async function(e){let t=this.getOffsetParent||eL,r=this.getDimensions,n=await r(e.floating);return{reference:function(e,t,r){let n=eo(t),i=er(t),o="fixed"===r,l=eE(e,!0,o,t),a={scrollLeft:0,scrollTop:0},s=T(0);if(n||!n&&!o)if(("body"!==ee(t)||ea(i))&&(a=eg(t)),n){let e=eE(t,!0,o,t);s.x=e.x+t.clientLeft,s.y=e.y+t.clientTop}else i&&(s.x=ej(i));o&&!n&&i&&(s.x=ej(i));let u=!i||n||o?T(0):eA(i,a);
1return{x:l.left+a.scrollLeft-s.x-u.x,y:l.top+a.scrollTop-s.y-u.y,width:l.width,height:l.height}}(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:n.width,height:n.height}}},eI={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:r,offsetParent:n,strategy:i}=e,o="fixed"===i,l=er(n),a=!!t&&es(t.floating);if(n===l||a&&o)return r;let s={scrollLeft:0,scrollTop:0},u=T(1),c=T(0),f=eo(n);if((f||!f&&!o)&&(("body"!==ee(n)||ea(l))&&(s=eg(n)),f)){let e=eE(n);u=eR(n),c.x=e.x+n.clientLeft,c.y=e.y+n.clientTop}let d=!l||f||o?T(0):eA(l,s);return{width:r.width*u.x,height:r.height*u.y,x:r.x*u.x-s.scrollLeft*u.x+c.x+d.x,y:r.y*u.y-s.scrollTop*u.y+c.y+d.y}},getDocumentElement:er,getClippingRect:function(e){let{element:t,boundary:r,rootBoundary:n,strategy:i}=e,o=[..."clippingAncestors"===r?es(t)?[]:function(e,t){let r=t.get(e);if(r)return r;let n=ey(e,[],!1).filter(e=>ei(e)&&"body"!==ee(e)),i=null,o="fixed"===em(e).position,l=o?ev(e):e;for(;ei(l)&&!eh(l);){let t=em(l),r=ed(l);r||"fixed"!==t.position||(i=null),(o?r||i:!(!r&&"static"===t.position&&i&&("absolute"===i.position||"fixed"===i.position)||ea(l)&&!r&&function e(t,r){let n=ev(t);return!(n===r||!ei(n)||eh(n))&&("fixed"===em(n).position||e(n,r))}(e,l)))?i=t:n=n.filter(e=>e!==l),l=ev(l)}return t.set(e,n),n}(t,this._c):[].concat(r),n],l=eP(t,o[0],i),a=l.top,s=l.right,u=l.bottom,c=l.left;for(let e=1;e<o.length;e++){let r=eP(t,o[e],i);a=A(r.top,a),s=j(r.right,s),u=j(r.bottom,u),c=A(r.left,c)}return{width:s-c,height:u-a,x:c,y:a}},getOffsetParent:eL,getElementRects:eO,getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){let{width:t,height:r}=ew(e);return{width:t,height:r}},getScale:eR,isElement:ei,isRTL:function(e){return"rtl"===em(e).direction}};function eN(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}let eD=e=>({name:"arrow",options:e,async fn(t){let{x:r,y:n,placement:i,rects:o,platform:l,elements:a,middlewareData:s}=t,{element:u,padding:c=0}=O(e,t)||{};if(null==u)return{};let f=$(c),d={x:r,y:n},p=D(M(i)),h=H(p),m=await l.getDimensions(u),g="y"===p,v=g?"clientHeight":"clientWidth",y=o.reference[h]+o.reference[p]-d[p]-o.floating[h],x=d[p]-o.reference[p],w=await (null==l.getOffsetParent?void 0:l.getOffsetParent(u)),b=w?w[v]:0;b&&await (null==l.isElement?void 0:l.isElement(w))||(b=a.floating[v]||o.floating[h]);let R=b/2-m[h]/2-1,S=j(f[g?"top":"left"],R),C=j(f[g?"bottom":"right"],R),E=b-m[h]-C,P=b/2-m[h]/2+(y/2-x/2),k=A(S,j(P,E)),T=!s.arrow&&null!=N(i)&&P!==k&&o.reference[h]/2-(P<S?S:C)-m[h]/2<0,L=T?P<S?P-S:P-E:0;return{[p]:d[p]+L,data:{[p]:k,centerOffset:P-k-L,...T&&{alignmentOffset:L}},reset:T}}});var eH="u">typeof document?o.useLayoutEffect:function(){};function eM(e,t){let r,n,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((r=e.length)!==t.length)return!1;for(n=r;0!=n--;)if(!eM(e[n],t[n]))return!1;return!0}if((r=(i=Object.keys(e)).length)!==Object.keys(t).length)return!1;for(n=r;0!=n--;)if(!({}).hasOwnProperty.call(t,i[n]))return!1;for(n=r;0!=n--;){let r=i[n];if(("_owner"!==r||!e.$$typeof)&&!eM(e[r],t[r]))return!1}return!0}return e!=e&&t!=t}function ez(e){return"u"<typeof window?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function e_(e,t){let r=ez(e);return Math.round(t*r)/r}function eV(e){let t=o.useRef(e);return eH(()=>{t.current=e}),t}var eB=e.i(48425),eW=o.forwardRef((e,t)=>{let{children:r,width:n=10,height:i=5,...o}=e;return(0,f.jsx)(eB.Primitive.svg,{...o,ref:t,width:n,height:i,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?r:(0,f.jsx)("polygon",{points:"0,0 30,0 15,10"})})});eW.displayName="Arrow";var eF=e.i(30207),e$=e.i(34620),eK="Popper",[eU,eq]=(0,u.createContextScope)(eK),[eY,eX]=eU(eK),eG=e=>{let{__scopePopper:t,children:r}=e,[n,i]=o.useState(null);return(0,f.jsx)(eY,{scope:t,anchor:n,onAnchorChange:i,children:r})};eG.displayName=eK;var eZ="PopperAnchor",eJ=o.forwardRef((e,t)=>{let{__scopePopper:r,virtualRef:n,...i}=e,l=eX(eZ,r),a=o.useRef(null),s=(0,c.useComposedRefs)(t,a),u=o.useRef(null);return o.useEffect(()=>{let e=u.current;u.current=n?.current||a.current,e!==u.current&&l.onAnchorChange(u.current)}),n?null:(0,f.jsx)(eB.Primitive.div,{...i,ref:s})});eJ.displayName=eZ;var eQ="PopperContent",[e0,e1]=eU(eQ),e2=o.forwardRef((e,t)=>
1{var r,n,i,a,s,u,d,p,h,m,g,v,y;let x,w,b,R,S,C,{__scopePopper:E,side:P="bottom",sideOffset:T=0,align:L="center",alignOffset:$=0,arrowPadding:K=0,avoidCollisions:U=!0,collisionBoundary:q=[],collisionPadding:Q=0,sticky:ee="partial",hideWhenDetached:et=!1,updatePositionStrategy:en="optimized",onPlaced:ei,...eo}=e,el=eX(eQ,E),[ea,es]=o.useState(null),eu=(0,c.useComposedRefs)(t,e=>es(e)),[ec,ef]=o.useState(null),ed=function(e){let[t,r]=o.useState(void 0);return(0,e$.useLayoutEffect)(()=>{if(e){r({width:e.offsetWidth,height:e.offsetHeight});let t=new ResizeObserver(t=>{let n,i;if(!Array.isArray(t)||!t.length)return;let o=t[0];if("borderBoxSize"in o){let e=o.borderBoxSize,t=Array.isArray(e)?e[0]:e;n=t.inlineSize,i=t.blockSize}else n=e.offsetWidth,i=e.offsetHeight;r({width:n,height:i})});return t.observe(e,{box:"border-box"}),()=>t.unobserve(e)}r(void 0)},[e]),t}(ec),ep=ed?.width??0,eh=ed?.height??0,em="number"==typeof Q?Q:{top:0,right:0,bottom:0,left:0,...Q},eg=Array.isArray(q)?q:[q],ev=eg.length>0,ex={padding:em,boundary:eg.filter(e6),altBoundary:ev},{refs:ew,floatingStyles:eR,placement:eS,isPositioned:eC,middlewareData:ej}=function(e){void 0===e&&(e={});let{placement:t="bottom",strategy:r="absolute",middleware:n=[],platform:i,elements:{reference:a,floating:s}={},transform:u=!0,whileElementsMounted:c,open:f}=e,[d,p]=o.useState({x:0,y:0,strategy:r,placement:t,middlewareData:{},isPositioned:!1}),[h,m]=o.useState(n);eM(h,n)||m(n);let[g,v]=o.useState(null),[y,x]=o.useState(null),w=o.useCallback(e=>{e!==C.current&&(C.current=e,v(e))},[]),b=o.useCallback(e=>{e!==E.current&&(E.current=e,x(e))},[]),R=a||g,S=s||y,C=o.useRef(null),E=o.useRef(null),j=o.useRef(d),A=null!=c,P=eV(c),k=eV(i),T=eV(f),L=o.useCallback(()=>{var e,n;let i,o,a;if(!C.current||!E.current)return;let s={placement:t,strategy:r,middleware:h};k.current&&(s.platform=k.current),(e=C.current,n=E.current,i=new Map,a={...(o={platform:eI,...s}).platform,_c:i},Y(e,n,{...o,platform:a})).then(e=>{let t={...e,isPositioned:!1!==T.current};O.current&&!eM(j.current,t)&&(j.current=t,l.flushSync(()=>{p(t)}))})},[h,t,r,k,T]);eH(()=>{!1===f&&j.current.isPositioned&&(j.current.isPositioned=!1,p(e=>({...e,isPositioned:!1})))},[f]);let O=o.useRef(!1);eH(()=>(O.current=!0,()=>{O.current=!1}),[]),eH(()=>{if(R&&(C.current=R),S&&(E.current=S),R&&S){if(P.current)return P.current(R,S,L);L()}},[R,S,L,P,A]);let I=o.useMemo(()=>({reference:C,floating:E,setReference:w,setFloating:b}),[w,b]),N=o.useMemo(()=>({reference:R,floating:S}),[R,S]),D=o.useMemo(()=>{let e={position:r,left:0,top:0};if(!N.floating)return e;let t=e_(N.floating,d.x),n=e_(N.floating,d.y);return u?{...e,transform:"translate("+t+"px, "+n+"px)",...ez(N.floating)>=1.5&&{willChange:"transform"}}:{position:r,left:t,top:n}},[r,u,N.floating,d.x,d.y]);return o.useMemo(()=>({...d,update:L,refs:I,elements:N,floatingStyles:D}),[d,L,I,N,D])}({strategy:"fixed",placement:P+("center"!==L?"-"+L:""),whileElementsMounted:(...e)=>(function(e,t,r,n){let i;void 0===n&&(n={});let{ancestorScroll:o=!0,ancestorResize:l=!0,elementResize:a="function"==typeof ResizeObserver,layoutShift:s="function"==typeof IntersectionObserver,animationFrame:u=!1}=n,c=eb(e),f=o||l?[...c?ey(c):[],...t?ey(t):[]]:[];f.forEach(e=>{o&&e.addEventListener("scroll",r,{passive:!0}),l&&e.addEventListener("resize",r)});let d=c&&s?function(e,t){let r,n=null,i=er(e);function o(){var e;clearTimeout(r),null==(e=n)||e.disconnect(),n=null}return!function l(a,s){void 0===a&&(a=!1),void 0===s&&(s=1),o();let u=e.getBoundingClientRect(),{left:c,top:f,width:d,height:p}=u;if(a||t(),!d||!p)return;let h={rootMargin:-k(f)+"px "+-k(i.clientWidth-(c+d))+"px "+-k(i.clientHeight-(f+p))+"px "+-k(c)+"px",threshold:A(0,j(1,s))||1},m=!0;function g(t){let n=t[0].intersectionRatio;if(n!==s){if(!m)return l();n?l(!1,n):r=setTimeout(()=>{l(!1,1e-7)},1e3)}1!==n||eN(u,e.getBoundingClientRect())||l(),m=!1}try{n=new IntersectionObserver(g,{...h,root:i.ownerDocument})}catch(e){n=new IntersectionObserver(g,h)}n.observe(e)}(!0),o}(c,r):null,p=-1,h=null;a&&(h=new ResizeObserver(e=>{let[n]=e;n&&n.target===c&&h&&t&&(h.unobserve(t),cancelAnimationFrame(p),p=requestAnimationFrame(()=>{var e;null==(e=h)||e.observe(t)})),r()}),c&&!u&&h.observe(c),t&&h.observe(t));let m=u?eE(e):null;return u&&function t(){let n=eE(e);m&&!eN(m,n)&&r(),m=n,i=requestAnimationFrame(t)}(),r(),()=>{var e;
1f.forEach(e=>{o&&e.removeEventListener("scroll",r),l&&e.removeEventListener("resize",r)}),null==d||d(),null==(e=h)||e.disconnect(),h=null,u&&cancelAnimationFrame(i)}})(...e,{animationFrame:"always"===en}),elements:{reference:el.anchor},middleware:[{name:(x={name:"offset",options:n=r={mainAxis:T+eh,alignmentAxis:$},async fn(e){var t,r;let{x:i,y:o,placement:l,middlewareData:a}=e,s=await J(e,n);return l===(null==(t=a.offset)?void 0:t.placement)&&null!=(r=a.arrow)&&r.alignmentOffset?{}:{x:i+s.x,y:o+s.y,data:{...s,placement:l}}}}).name,fn:x.fn,options:[r,void 0]},U&&{name:(w={name:"shift",options:s=a={mainAxis:!0,crossAxis:!1,limiter:"partial"===ee?{fn:(i=void 0,{options:i={},fn(e){let{x:t,y:r,placement:n,rects:o,middlewareData:l}=e,{offset:a=0,mainAxis:s=!0,crossAxis:u=!0}=O(i,e),c={x:t,y:r},f=M(n),d=D(f),p=c[d],h=c[f],m=O(a,e),g="number"==typeof m?{mainAxis:m,crossAxis:0}:{mainAxis:0,crossAxis:0,...m};if(s){let e="y"===d?"height":"width",t=o.reference[d]-o.floating[e]+g.mainAxis,r=o.reference[d]+o.reference[e]-g.mainAxis;p<t?p=t:p>r&&(p=r)}if(u){var v,y;let e="y"===d?"width":"height",t=Z.has(I(n)),r=o.reference[f]-o.floating[e]+(t&&(null==(v=l.offset)?void 0:v[f])||0)+(t?0:g.crossAxis),i=o.reference[f]+o.reference[e]+(t?0:(null==(y=l.offset)?void 0:y[f])||0)-(t?g.crossAxis:0);h<r?h=r:h>i&&(h=i)}return{[d]:p,[f]:h}}}).fn,options:[void 0,void 0]}:void 0,...ex},async fn(e){let{x:t,y:r,placement:n,platform:i}=e,{mainAxis:o=!0,crossAxis:l=!1,limiter:a={fn:e=>{let{x:t,y:r}=e;return{x:t,y:r}}},...u}=O(s,e),c={x:t,y:r},f=await i.detectOverflow(e,u),d=M(I(n)),p=D(d),h=c[p],m=c[d];
1if(o){let e="y"===p?"top":"left",t="y"===p?"bottom":"right",r=h+f[e],n=h-f[t];h=A(r,j(h,n))}if(l){let e="y"===d?"top":"left",t="y"===d?"bottom":"right",r=m+f[e],n=m-f[t];m=A(r,j(m,n))}let g=a.fn({...e,[p]:h,[d]:m});return{...g,data:{x:g.x-t,y:g.y-r,enabled:{[p]:o,[d]:l}}}}}).name,fn:w.fn,options:[a,void 0]},U&&{name:(b={name:"flip",options:d=u={...ex},async fn(e){var t,r,n,i,o,l,a,s;let u,c,f,{placement:p,middlewareData:h,rects:m,initialPlacement:g,platform:v,elements:y}=e,{mainAxis:x=!0,crossAxis:w=!0,fallbackPlacements:b,fallbackStrategy:R="bestFit",fallbackAxisSideDirection:S="none",flipAlignment:C=!0,...E}=O(d,e);if(null!=(t=h.arrow)&&t.alignmentOffset)return{};let j=I(p),A=M(g),P=I(g)===g,k=await (null==v.isRTL?void 0:v.isRTL(y.floating)),T=b||(P||!C?[F(g)]:(u=F(g),[z(g),u,z(u)])),L="none"!==S;!b&&L&&T.push(...(c=N(g),f=function(e,t,r){switch(e){case"top":case"bottom":if(r)return t?V:_;return t?_:V;case"left":case"right":return t?B:W;default:return[]}}(I(g),"start"===S,k),c&&(f=f.map(e=>e+"-"+c),C&&(f=f.concat(f.map(z)))),f));let $=[g,...T],K=await v.detectOverflow(e,E),U=[],q=(null==(r=h.flip)?void 0:r.overflows)||[];if(x&&U.push(K[j]),w){let e,t,r,n,i=(l=p,a=m,void 0===(s=k)&&(s=!1),e=N(l),r=H(t=D(M(l))),n="x"===t?e===(s?"end":"start")?"right":"left":"start"===e?"bottom":"top",a.reference[r]>a.floating[r]&&(n=F(n)),[n,F(n)]);U.push(K[i[0]],K[i[1]])}if(q=[...q,{placement:p,overflows:U}],!U.every(e=>e<=0)){let e=((null==(n=h.flip)?void 0:n.index)||0)+1,t=$[e];if(t&&("alignment"!==w||A===M(t)||q.every(e=>M(e.placement)!==A||e.overflows[0]>0)))return{data:{index:e,overflows:q},reset:{placement:t}};let r=null==(i=q.filter(e=>e.overflows[0]<=0).sort((e,t)=>e.overflows[1]-t.overflows[1])[0])?void 0:i.placement;if(!r)switch(R){case"bestFit":{let e=null==(o=q.filter(e=>{if(L){let t=M(e.placement);return t===A||"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:o[0];e&&(r=e);break}case"initialPlacement":r=g}if(p!==r)return{reset:{placement:r}}}return{}}}).name,fn:b.fn,options:[u,void 0]},{name:(R={name:"size",options:h=p={...ex,apply:({elements:e,rects:t,availableWidth:r,availableHeight:n})=>{let{width:i,height:o}=t.reference,l=e.floating.style;l.setProperty("--radix-popper-available-width",`${r}px`),l.setProperty("--radix-popper-available-height",`${n}px`),l.setProperty("--radix-popper-anchor-width",`${i}px`),l.setProperty("--radix-popper-anchor-height",`${o}px`)}},async fn(e){var t,r;let n,i,{placement:o,rects:l,platform:a,elements:s}=e,{apply:u=()=>{},...c}=O(h,e),f=await a.detectOverflow(e,c),d=I(o),p=N(o),m="y"===M(o),{width:g,height:v}=l.floating;"top"===d||"bottom"===d?(n=d,i=p===(await (null==a.isRTL?void 0:a.isRTL(s.floating))?"start":"end")?"left":"right"):(i=d,n="end"===p?"top":"bottom");let y=v-f.top-f.bottom,x=g-f.left-f.right,w=j(v-f[n],y),b=j(g-f[i],x),R=!e.middlewareData.shift,S=w,C=b;if(null!=(t=e.middlewareData.shift)&&t.enabled.x&&(C=x),null!=(r=e.middlewareData.shift)&&r.enabled.y&&(S=y),R&&!p){let e=A(f.left,0),t=A(f.right,0),r=A(f.top,0),n=A(f.bottom,0);m?C=g-2*(0!==e||0!==t?e+t:A(f.left,f.right)):S=v-2*(0!==r||0!==n?r+n:A(f.top,f.bottom))}await u({...e,availableWidth:C,availableHeight:S});let E=await a.getDimensions(s.floating);return g!==E.width||v!==E.height?{reset:{rects:!0}}:{}}}).name,fn:R.fn,options:[p,void 0]},ec&&{name:(S={name:"arrow",options:g=m={element:ec,padding:K},fn(e){let{element:t,padding:r}="function"==typeof g?g(e):g;return t&&({}).hasOwnProperty.call(t,"current")?null!=t.current?eD({element:t.current,padding:r}).fn(e):{}:t?eD({element:t,padding:r}).fn(e):{}}}).name,fn:S.fn,options:[m,void 0]},e7({arrowWidth:ep,arrowHeight:eh}),et&&{name:(C={name:"hide",options:y=v={strategy:"referenceHidden",...ex},async fn(e){let{rects:t,platform:r}=e,{strategy:n="referenceHidden",...i}=O(y,e);switch(n){case"referenceHidden":{let n=X(await r.detectOverflow(e,{...i,elementContext:"reference"}),t.reference);return{data:{referenceHiddenOffsets:n,referenceHidden:G(n)}}}case"escaped":{let n=X(await r.detectOverflow(e,{...i,altBoundary:!0}),t.floating);return{data:{escapedOffsets:n,escaped:G(n)}}}default:return{}}}}).name,fn:C.fn,options:[v,void 0]}]}),[eA,eP]=e8(eS),ek=(0,eF.useCallbackRef)(ei);(0,e$.useLayoutEffect)(()=>{eC&&ek?.()},[eC,ek]);let eT=ej.arrow?.x,eL=ej.arrow?.y,eO=ej.arrow?.centerOffset!==0,[eW,eK]=o.useState();return(0,e$.useLayoutEffect)(()=>{ea&&eK(window.getComputedStyle(ea).zIndex)},[ea]),(0,f.jsx)("div",{ref:ew.setFloating,"data-radix-popper-content-wrapper":"",style:{...eR,transform:eC?eR.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:eW,"--radix-popper-transform-origin":[ej.transformOrigin?.x,ej.transformOrigin?.y].join(" "),...ej.hide?.referenceHidden&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:(0,f.jsx)(e0,{scope:E,placedSide:eA,onArrowChange:ef,arrowX:eT,arrowY:eL,shouldHideArrow:eO,children:(0,f.jsx)(eB.Primitive.div,{"data-side":eA,"data-align":eP,...eo,ref:eu,style:{...eo.style,animation:eC?void 0:"none"}})})})});e2.displayName=eQ;var e5="PopperArrow",e3={top:"bottom",right:"left",bottom:"top",left:"r
1ight"},e4=o.forwardRef(function(e,t){let{__scopePopper:r,...n}=e,i=e1(e5,r),o=e3[i.placedSide];return(0,f.jsx)("span",{ref:i.onArrowChange,style:{position:"absolute",left:i.arrowX,top:i.arrowY,[o]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[i.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[i.placedSide],visibility:i.shouldHideArrow?"hidden":void 0},children:(0,f.jsx)(eW,{...n,ref:t,style:{...n.style,display:"block"}})})});function e6(e){return null!==e}e4.displayName=e5;var e7=e=>({name:"transformOrigin",options:e,fn(t){let{placement:r,rects:n,middlewareData:i}=t,o=i.arrow?.centerOffset!==0,l=o?0:e.arrowWidth,a=o?0:e.arrowHeight,[s,u]=e8(r),c={start:"0%",center:"50%",end:"100%"}[u],f=(i.arrow?.x??0)+l/2,d=(i.arrow?.y??0)+a/2,p="",h="";return"bottom"===s?(p=o?c:`${f}px`,h=`${-a}px`):"top"===s?(p=o?c:`${f}px`,h=`${n.floating.height+a}px`):"right"===s?(p=`${-a}px`,h=o?c:`${d}px`):"left"===s&&(p=`${n.floating.width+a}px`,h=o?c:`${d}px`),{data:{x:p,y:h}}}});function e8(e){let[t,r="center"]=e.split("-");return[t,r]}e.s(["Anchor",()=>eJ,"Arrow",()=>e4,"Content",()=>e2,"Root",()=>eG,"createPopperScope",()=>eq],53660);var e9=e.i(74606),te=Symbol("radix.slottable");function tt(e){return o.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===te}var tr=e.i(69340),tn=Object.freeze({position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal"});o.forwardRef((e,t)=>(0,f.jsx)(eB.Primitive.span,{...e,ref:t,style:{...tn,...e.style}})).displayName="VisuallyHidden";var ti=e.i(86312),to=e.i(85369),tl=[" ","Enter","ArrowUp","ArrowDown"],ta=[" ","Enter"],ts="Select",[tu,tc,tf]=m(ts),[td,tp]=(0,u.createContextScope)(ts,[tf,eq]),th=eq(),[tm,tg]=td(ts),[tv,ty]=td(ts),tx=e=>{let{__scopeSelect:t,children:r,open:n,defaultOpen:i,onOpenChange:l,value:a,defaultValue:s,onValueChange:u,dir:c,name:d,autoComplete:p,disabled:h,required:m,form:g}=e,v=th(t),[y,x]=o.useState(null),[b,R]=o.useState(null),[S,E]=o.useState(!1),j=w(c),[A,P]=(0,tr.useControllableState)({prop:n,defaultProp:i??!1,onChange:l,caller:ts}),[k,T]=(0,tr.useControllableState)({prop:a,defaultProp:s,onChange:u,caller:ts}),L=o.useRef(null),O=!y||g||!!y.closest("form"),[I,N]=o.useState(new Set),D=Array.from(I).map(e=>e.props.value).join(";");return(0,f.jsx)(eG,{...v,children:(0,f.jsxs)(tm,{required:m,scope:t,trigger:y,onTriggerChange:x,valueNode:b,onValueNodeChange:R,valueNodeHasChildren:S,onValueNodeHasChildrenChange:E,contentId:(0,C.useId)(),value:k,onValueChange:T,open:A,onOpenChange:P,dir:j,triggerPointerDownPosRef:L,disabled:h,children:[(0,f.jsx)(tu.Provider,{scope:t,children:(0,f.jsx)(tv,{scope:e.__scopeSelect,onNativeOptionAdd:o.useCallback(e=>{N(t=>new Set(t).add(e))},[]),onNativeOptionRemove:o.useCallback(e=>{N(t=>{let r=new Set(t);return r.delete(e),r})},[]),children:r})}),O?(0,f.jsxs)(t4,{"aria-hidden":!0,required:m,tabIndex:-1,name:d,autoComplete:p,value:k,onChange:e=>T(e.target.value),disabled:h,form:g,children:[void 0===k?(0,f.jsx)("option",{value:""}):null,Array.from(I)]},D):null]})})};tx.displayName=ts;var tw="SelectTrigger",tb=o.forwardRef((e,t)=>{let{__scopeSelect:r,disabled:n=!1,...i}=e,l=th(r),a=tg(tw,r),u=a.disabled||n,d=(0,c.useComposedRefs)(t,a.onTriggerChange),p=tc(r),h=o.useRef("touch"),[m,g,v]=t7(e=>{let t=p().filter(e=>!e.disabled),r=t.find(e=>e.value===a.value),n=t8(t,e,r);void 0!==n&&a.onValueChange(n.value)}),y=e=>{u||(a.onOpenChange(!0),v()),e&&(a.triggerPointerDownPosRef.current={x:Math.round(e.pageX),y:Math.round(e.pageY)})};return(0,f.jsx)(eJ,{asChild:!0,...l,children:(0,f.jsx)(eB.Primitive.button,{type:"button",role:"combobox","aria-controls":a.contentId,"aria-expanded":a.open,"aria-required":a.required,"aria-autocomplete":"none",dir:a.dir,"data-state":a.open?"open":"closed",disabled:u,"data-disabled":u?"":void 0,"data-placeholder":t6(a.value)?"":void 0,...i,ref:d,onClick:(0,s.composeEventHandlers)(i.onClick,e=>
1{e.currentTarget.focus(),"mouse"!==h.current&&y(e)}),onPointerDown:(0,s.composeEventHandlers)(i.onPointerDown,e=>{h.current=e.pointerType;let t=e.target;t.hasPointerCapture(e.pointerId)&&t.releasePointerCapture(e.pointerId),0===e.button&&!1===e.ctrlKey&&"mouse"===e.pointerType&&(y(e),e.preventDefault())}),onKeyDown:(0,s.composeEventHandlers)(i.onKeyDown,e=>{let t=""!==m.current;e.ctrlKey||e.altKey||e.metaKey||1!==e.key.length||g(e.key),(!t||" "!==e.key)&&tl.includes(e.key)&&(y(),e.preventDefault())})})})});tb.displayName=tw;var tR="SelectValue",tS=o.forwardRef((e,t)=>{let{__scopeSelect:r,className:n,style:i,children:o,placeholder:l="",...a}=e,s=tg(tR,r),{onValueNodeHasChildrenChange:u}=s,d=void 0!==o,p=(0,c.useComposedRefs)(t,s.onValueNodeChange);return(0,e$.useLayoutEffect)(()=>{u(d)},[u,d]),(0,f.jsx)(eB.Primitive.span,{...a,ref:p,style:{pointerEvents:"none"},children:t6(s.value)?(0,f.jsx)(f.Fragment,{children:l}):o})});tS.displayName=tR;var tC=o.forwardRef((e,t)=>{let{__scopeSelect:r,children:n,...i}=e;return(0,f.jsx)(eB.Primitive.span,{"aria-hidden":!0,...i,ref:t,children:n||"▼"})});tC.displayName="SelectIcon";var tE=e=>(0,f.jsx)(e9.Portal,{asChild:!0,...e});tE.displayName="SelectPortal";var tj="SelectContent",tA=o.forwardRef((e,t)=>{let r=tg(tj,e.__scopeSelect),[n,i]=o.useState();return((0,e$.useLayoutEffect)(()=>{i(new DocumentFragment)},[]),r.open)?(0,f.jsx)(tL,{...e,ref:t}):n?l.createPortal((0,f.jsx)(tP,{scope:e.__scopeSelect,children:(0,f.jsx)(tu.Slot,{scope:e.__scopeSelect,children:(0,f.jsx)("div",{children:e.children})})}),n):null});tA.displayName=tj;var[tP,tk]=td(tj),tT=((i=o.forwardRef((e,t)=>{let{children:r,...n}=e;if(o.isValidElement(r)){var i;let e,l,a=(i=r,(l=(e=Object.getOwnPropertyDescriptor(i.props,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?i.ref:(l=(e=Object.getOwnPropertyDescriptor(i,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?i.props.ref:i.props.ref||i.ref),s=function(e,t){let r={...t};for(let n in t){let i=e[n],o=t[n];/^on[A-Z]/.test(n)?i&&o?r[n]=(...e)=>{let t=o(...e);return i(...e),t}:i&&(r[n]=i):"style"===n?r[n]={...i,...o}:"className"===n&&(r[n]=[i,o].filter(Boolean).join(" "))}return{...e,...r}}(n,r.props);return r.type!==o.Fragment&&(s.ref=t?(0,c.composeRefs)(t,a):a),o.cloneElement(r,s)}return o.Children.count(r)>1?o.Children.only(null):null})).displayName="SelectContent.RemoveScroll.SlotClone",r=i,(n=o.forwardRef((e,t)=>{let{children:n,...i}=e,l=o.Children.toArray(n),a=l.find(tt);if(a){let e=a.props.children,n=l.map(t=>t!==a?t:o.Children.count(e)>1?o.Children.only(null):o.isValidElement(e)?e.props.children:null);return(0,f.jsx)(r,{...i,ref:t,children:o.isValidElement(e)?o.cloneElement(e,void 0,n):null})}return(0,f.jsx)(r,{...i,ref:t,children:n})})).displayName="SelectContent.RemoveScroll.Slot",n),tL=o.forwardRef((e,t)=>{let{__scopeSelect:r,position:n="item-aligned",onCloseAutoFocus:i,onEscapeKeyDown:l,onPointerDownOutside:a,side:u,sideOffset:d,align:p,alignOffset:h,arrowPadding:m,collisionBoundary:g,collisionPadding:v,sticky:y,hideWhenDetached:x,avoidCollisions:w,...C}=e,E=tg(tj,r),[j,A]=o.useState(null),[P,k]=o.useState(null),T=(0,c.useComposedRefs)(t,e=>A(e)),[L,O]=o.useState(null),[I,N]=o.useState(null),D=tc(r),[H,M]=o.useState(!1),z=o.useRef(!1);o.useEffect(()=>{if(j)return(0,ti.hideOthers)(j)},[j]),(0,R.useFocusGuards)();let _=o.useCallback(e=>{let[t,...r]=D().map(e=>e.ref.current),[n]=r.slice(-1),i=document.activeElement;for(let r of e)if(r===i||(r?.scrollIntoView({block:"nearest"}),r===t&&P&&(P.scrollTop=0),r===n&&P&&(P.scrollTop=P.scrollHeight),r?.focus(),document.activeElement!==i))return},[D,P]),V=o.useCallback(()=>_([L,j]),[_,L,j]);o.useEffect(()=>{H&&V()},[H,V]);let{onOpenChange:B,triggerPointerDownPosRef:W}=E;o.useEffect(()=>{if(j){let e={x:0,y:0},t=t=>{e={x:Math.abs(Math.round(t.pageX)-(W.current?.x??0)),y:Math.abs(Math.round(t.pageY)-(W.current?.y??0))}},r=r=>{e.x<=10&&e.y<=10?r.preventDefault():j.contains(r.target)||B(!1),document.removeEventListener("pointermove",t),W.current=null};return null!==W.current&&(document.addEventListener("pointermove",t),document.addEventListener("pointerup",r,{capture:!0,once:!0})),()=>{document.removeEventListener("pointermove",t),document.removeEventListener("pointerup",r,{capture:!0})}}},[j,B,W]),o.useEffect(()=>{let e=()=>B(!1);return window.addEventListener("blur",e),window.addEventListener("resize",e),()=>{window.removeEventListener("blur",e),window.removeEventListener("resize",e)}},[B]);let[F,$]=t7(e=>{let t=D().filter(e=>!e.disabled),r=t.find(e=>e.ref.current===document.activeElement),n=t8(t,e,r);n&&setTimeout(()=>n.ref.current.focus())}),K=o.useCallback((e,t,r)=>{let n=!z.current&&!r;(void 0!==E.value&&E.value===t||n)&&(O(e),n&&(z.current=!0))},[E.value]),U=o.useCallback(()=>j?.focus(),[j]),q=o.useCallback((e,t,r)=>{let n=!z.current&&!r;(void 0!==E.value&&E.value===t||n)&&N(e)},[E.value]),Y="popper"===n?tI:tO,X=Y===tI?{side:u,sideOffset:d,align:p,alignOffset:h,arrowPadding:m,collisionBoundary:g,collisionPadding:v,sticky:y,hideWhenDetached:x,avoidCollisions:w}:{};return(0,f.jsx)(tP,{scope:r,content:j,viewport:P,onViewportChange:k,itemRefCallback:K,selectedItem:L,onItemLeave:U,itemTextRefCallback:q,focusSelectedItem:V,selectedItemText:I,position:n,isPositioned:H,searchRef:F,children:(0,f.jsx)(to.RemoveScroll,{as:tT,allowPinchZoom:!0,children:(0,f.jsx)(S.FocusScope,{asChild:!0,trapped:E.open,onMountAutoFocus:e=>{e.preventDefault()},onUnmountAutoFocus:(0,s.composeEventHandlers)(i,e=>{E.trigger?.focus({preventScroll:!0}),e.preventDefault()}),children:(0,f.jsx)(b.DismissableLayer,{asChild:!0,disableOutsidePointerEvents:!0,onEscapeKeyDown:l,onPointerDownOutside:a,onFocusOutside:e=>e.preventDefault(),onDismiss:()=>E.onOpenChange(!1),children:(0,f.jsx)(Y,{role:"listbox",id:E.contentId,"data-state":E.open?"open":"closed",dir:E.dir,onContextMenu:e=>e.preventDefault(),...C,...X,onPlaced:()=>M(!0),ref:T,style:{display:"flex",flexDirection:"column",outline:"none",...C.style},onKeyDown:(0,s.composeEventHandlers)(C.onKeyDown,e=>{let t=e.ctrlKey||e.altKey||e.metaKey;
1if("Tab"===e.key&&e.preventDefault(),t||1!==e.key.length||$(e.key),["ArrowUp","ArrowDown","Home","End"].includes(e.key)){let t=D().filter(e=>!e.disabled).map(e=>e.ref.current);if(["ArrowUp","End"].includes(e.key)&&(t=t.slice().reverse()),["ArrowUp","ArrowDown"].includes(e.key)){let r=e.target,n=t.indexOf(r);t=t.slice(n+1)}setTimeout(()=>_(t)),e.preventDefault()}})})})})})})});tL.displayName="SelectContentImpl";var tO=o.forwardRef((e,t)=>{let{__scopeSelect:r,onPlaced:n,...i}=e,l=tg(tj,r),s=tk(tj,r),[u,d]=o.useState(null),[p,h]=o.useState(null),m=(0,c.useComposedRefs)(t,e=>h(e)),g=tc(r),v=o.useRef(!1),y=o.useRef(!0),{viewport:x,selectedItem:w,selectedItemText:b,focusSelectedItem:R}=s,S=o.useCallback(()=>{if(l.trigger&&l.valueNode&&u&&p&&x&&w&&b){let e=l.trigger.getBoundingClientRect(),t=p.getBoundingClientRect(),r=l.valueNode.getBoundingClientRect(),i=b.getBoundingClientRect();if("rtl"!==l.dir){let n=i.left-t.left,o=r.left-n,l=e.left-o,s=e.width+l,c=Math.max(s,t.width),f=a(o,[10,Math.max(10,window.innerWidth-10-c)]);u.style.minWidth=s+"px",u.style.left=f+"px"}else{let n=t.right-i.right,o=window.innerWidth-r.right-n,l=window.innerWidth-e.right-o,s=e.width+l,c=Math.max(s,t.width),f=a(o,[10,Math.max(10,window.innerWidth-10-c)]);u.style.minWidth=s+"px",u.style.right=f+"px"}let o=g(),s=window.innerHeight-20,c=x.scrollHeight,f=window.getComputedStyle(p),d=parseInt(f.borderTopWidth,10),h=parseInt(f.paddingTop,10),m=parseInt(f.borderBottomWidth,10),y=d+h+c+parseInt(f.paddingBottom,10)+m,R=Math.min(5*w.offsetHeight,y),S=window.getComputedStyle(x),C=parseInt(S.paddingTop,10),E=parseInt(S.paddingBottom,10),j=e.top+e.height/2-10,A=w.offsetHeight/2,P=d+h+(w.offsetTop+A);if(P<=j){let e=o.length>0&&w===o[o.length-1].ref.current;u.style.bottom="0px";let t=Math.max(s-j,A+(e?E:0)+(p.clientHeight-x.offsetTop-x.offsetHeight)+m);u.style.height=P+t+"px"}else{let e=o.length>0&&w===o[0].ref.current;u.style.top="0px";let t=Math.max(j,d+x.offsetTop+(e?C:0)+A);u.style.height=t+(y-P)+"px",x.scrollTop=P-j+x.offsetTop}u.style.margin="10px 0",u.style.minHeight=R+"px",u.style.maxHeight=s+"px",n?.(),requestAnimationFrame(()=>v.current=!0)}},[g,l.trigger,l.valueNode,u,p,x,w,b,l.dir,n]);(0,e$.useLayoutEffect)(()=>S(),[S]);let[C,E]=o.useState();(0,e$.useLayoutEffect)(()=>{p&&E(window.getComputedStyle(p).zIndex)},[p]);let j=o.useCallback(e=>{e&&!0===y.current&&(S(),R?.(),y.current=!1)},[S,R]);return(0,f.jsx)(tN,{scope:r,contentWrapper:u,shouldExpandOnScrollRef:v,onScrollButtonChange:j,children:(0,f.jsx)("div",{ref:d,style:{display:"flex",flexDirection:"column",position:"fixed",zIndex:C},children:(0,f.jsx)(eB.Primitive.div,{...i,ref:m,style:{boxSizing:"border-box",maxHeight:"100%",...i.style}})})})});tO.displayName="SelectItemAlignedPosition";var tI=o.forwardRef((e,t)=>{let{__scopeSelect:r,align:n="start",collisionPadding:i=10,...o}=e,l=th(r);return(0,f.jsx)(e2,{...l,...o,ref:t,align:n,collisionPadding:i,style:{boxSizing:"border-box",...o.style,"--radix-select-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-select-content-available-width":"var(--radix-popper-available-width)","--radix-select-content-available-height":"var(--radix-popper-available-height)","--radix-select-trigger-width":"var(--radix-popper-anchor-width)","--radix-select-trigger-height":"var(--radix-popper-anchor-height)"}})});tI.displayName="SelectPopperPosition";var[tN,tD]=td(tj,{}),tH="SelectViewport",tM=o.forwardRef((e,t)=>{let{__scopeSelect:r,nonce:n,...i}=e,l=tk(tH,r),a=tD(tH,r),u=(0,c.useComposedRefs)(t,l.onViewportChange),d=o.useRef(0);return(0,f.jsxs)(f.Fragment,{children:[(0,f.jsx)("style",{dangerouslySetInnerHTML:{__html:"[data-radix-select-viewport]{scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;}[data-radix-select-viewport]::-webkit-scrollbar{display:none}"},nonce:n}),(0,f.jsx)(tu.Slot,{scope:r,children:(0,f.jsx)(eB.Primitive.div,{"data-radix-select-viewport":"",role:"presentation",...i,ref:u,style:{position:"relative",flex:1,overflow:"hidden auto",...i.style},onScroll:(0,s.composeEventHandlers)(i.onScroll,e=>{let t=e.currentTarget,{contentWrapper:r,shouldExpandOnScrollRef:n}=a;if(n?.current&&r){let e=Math.abs(d.current-t.scrollTop);if(e>0){let n=window.innerHeight-20,i=Math.max(parseFloat(r.style.minHeight),parseFloat(r.style.height));if(i<n){let o=i+e,l=Math.min(n,o),a=o-l;r.style.height=l+"px","0px"===r.style.bottom&&(t.scrollTop=a>0?a:0,r.style.justifyContent="flex-end")}}}d.current=t.scrollTop})})})]})});tM.displayName=tH;var tz="SelectGroup",[t_,tV]=td(tz),tB=o.forwardRef((e,t)=>
1{let{__scopeSelect:r,...n}=e,i=(0,C.useId)();return(0,f.jsx)(t_,{scope:r,id:i,children:(0,f.jsx)(eB.Primitive.div,{role:"group","aria-labelledby":i,...n,ref:t})})});tB.displayName=tz;var tW="SelectLabel",tF=o.forwardRef((e,t)=>{let{__scopeSelect:r,...n}=e,i=tV(tW,r);return(0,f.jsx)(eB.Primitive.div,{id:i.id,...n,ref:t})});tF.displayName=tW;var t$="SelectItem",[tK,tU]=td(t$),tq=o.forwardRef((e,t)=>{let{__scopeSelect:r,value:n,disabled:i=!1,textValue:l,...a}=e,u=tg(t$,r),d=tk(t$,r),p=u.value===n,[h,m]=o.useState(l??""),[g,v]=o.useState(!1),y=(0,c.useComposedRefs)(t,e=>d.itemRefCallback?.(e,n,i)),x=(0,C.useId)(),w=o.useRef("touch"),b=()=>{i||(u.onValueChange(n),u.onOpenChange(!1))};if(""===n)throw Error("A <Select.Item /> must have a value prop that is not an empty string. This is because the Select value can be set to an empty string to clear the selection and show the placeholder.");return(0,f.jsx)(tK,{scope:r,value:n,disabled:i,textId:x,isSelected:p,onItemTextChange:o.useCallback(e=>{m(t=>t||(e?.textContent??"").trim())},[]),children:(0,f.jsx)(tu.ItemSlot,{scope:r,value:n,disabled:i,textValue:h,children:(0,f.jsx)(eB.Primitive.div,{role:"option","aria-labelledby":x,"data-highlighted":g?"":void 0,"aria-selected":p&&g,"data-state":p?"checked":"unchecked","aria-disabled":i||void 0,"data-disabled":i?"":void 0,tabIndex:i?void 0:-1,...a,ref:y,onFocus:(0,s.composeEventHandlers)(a.onFocus,()=>v(!0)),onBlur:(0,s.composeEventHandlers)(a.onBlur,()=>v(!1)),onClick:(0,s.composeEventHandlers)(a.onClick,()=>{"mouse"!==w.current&&b()}),onPointerUp:(0,s.composeEventHandlers)(a.onPointerUp,()=>{"mouse"===w.current&&b()}),onPointerDown:(0,s.composeEventHandlers)(a.onPointerDown,e=>{w.current=e.pointerType}
1),onPointerMove:(0,s.composeEventHandlers)(a.onPointerMove,e=>{w.current=e.pointerType,i?d.onItemLeave?.():"mouse"===w.current&&e.currentTarget.focus({preventScroll:!0})}),onPointerLeave:(0,s.composeEventHandlers)(a.onPointerLeave,e=>{e.currentTarget===document.activeElement&&d.onItemLeave?.()}),onKeyDown:(0,s.composeEventHandlers)(a.onKeyDown,e=>{(d.searchRef?.current===""||" "!==e.key)&&(ta.includes(e.key)&&b()," "===e.key&&e.preventDefault())})})})})});tq.displayName=t$;var tY="SelectItemText",tX=o.forwardRef((e,t)=>{let{__scopeSelect:r,className:n,style:i,...a}=e,s=tg(tY,r),u=tk(tY,r),d=tU(tY,r),p=ty(tY,r),[h,m]=o.useState(null),g=(0,c.useComposedRefs)(t,e=>m(e),d.onItemTextChange,e=>u.itemTextRefCallback?.(e,d.value,d.disabled)),v=h?.textContent,y=o.useMemo(()=>(0,f.jsx)("option",{value:d.value,disabled:d.disabled,children:v},d.value),[d.disabled,d.value,v]),{onNativeOptionAdd:x,onNativeOptionRemove:w}=p;return(0,e$.useLayoutEffect)(()=>(x(y),()=>w(y)),[x,w,y]),(0,f.jsxs)(f.Fragment,{children:[(0,f.jsx)(eB.Primitive.span,{id:d.textId,...a,ref:g}),d.isSelected&&s.valueNode&&!s.valueNodeHasChildren?l.createPortal(a.children,s.valueNode):null]})});tX.displayName=tY;var tG="SelectItemIndicator",tZ=o.forwardRef((e,t)=>{let{__scopeSelect:r,...n}=e;return tU(tG,r).isSelected?(0,f.jsx)(eB.Primitive.span,{"aria-hidden":!0,...n,ref:t}):null});tZ.displayName=tG;var tJ="SelectScrollUpButton",tQ=o.forwardRef((e,t)=>{let r=tk(tJ,e.__scopeSelect),n=tD(tJ,e.__scopeSelect),[i,l]=o.useState(!1),a=(0,c.useComposedRefs)(t,n.onScrollButtonChange);return(0,e$.useLayoutEffect)(()=>{if(r.viewport&&r.isPositioned){let e=function(){l(t.scrollTop>0)},t=r.viewport;return e(),t.addEventListener("scroll",e),()=>t.removeEventListener("scroll",e)}},[r.viewport,r.isPositioned]),i?(0,f.jsx)(t2,{...e,ref:a,onAutoScroll:()=>{let{viewport:e,selectedItem:t}=r;e&&t&&(e.scrollTop=e.scrollTop-t.offsetHeight)}}):null});tQ.displayName=tJ;var t0="SelectScrollDownButton",t1=o.forwardRef((e,t)=>{let r=tk(t0,e.__scopeSelect),n=tD(t0,e.__scopeSelect),[i,l]=o.useState(!1),a=(0,c.useComposedRefs)(t,n.onScrollButtonChange);return(0,e$.useLayoutEffect)(()=>{if(r.viewport&&r.isPositioned){let e=function(){let e=t.scrollHeight-t.clientHeight;l(Math.ceil(t.scrollTop)<e)},t=r.viewport;return e(),t.addEventListener("scroll",e),()=>t.removeEventListener("scroll",e)}},[r.viewport,r.isPositioned]),i?(0,f.jsx)(t2,{...e,ref:a,onAutoScroll:()=>{let{viewport:e,selectedItem:t}=r;e&&t&&(e.scrollTop=e.scrollTop+t.offsetHeight)}}):null});t1.displayName=t0;var t2=o.forwardRef((e,t)=>{let{__scopeSelect:r,onAutoScroll:n,...i}=e,l=tk("SelectScrollButton",r),a=o.useRef(null),u=tc(r),c=o.useCallback(()=>{null!==a.current&&(window.clearInterval(a.current),a.current=null)},[]);return o.useEffect(()=>()=>c(),[c]),(0,e$.useLayoutEffect)(()=>{let e=u().find(e=>e.ref.current===document.activeElement);e?.ref.current?.scrollIntoView({block:"nearest"})},[u]),(0,f.jsx)(eB.Primitive.div,{"aria-hidden":!0,...i,ref:t,style:{flexShrink:0,...i.style},onPointerDown:(0,s.composeEventHandlers)(i.onPointerDown,()=>{null===a.current&&(a.current=window.setInterval(n,50))}
1),onPointerMove:(0,s.composeEventHandlers)(i.onPointerMove,()=>{l.onItemLeave?.(),null===a.current&&(a.current=window.setInterval(n,50))}),onPointerLeave:(0,s.composeEventHandlers)(i.onPointerLeave,()=>{c()})})}),t5=o.forwardRef((e,t)=>{let{__scopeSelect:r,...n}=e;return(0,f.jsx)(eB.Primitive.div,{"aria-hidden":!0,...n,ref:t})});t5.displayName="SelectSeparator";var t3="SelectArrow";o.forwardRef((e,t)=>{let{__scopeSelect:r,...n}=e,i=th(r),o=tg(t3,r),l=tk(t3,r);return o.open&&"popper"===l.position?(0,f.jsx)(e4,{...i,...n,ref:t}):null}).displayName=t3;var t4=o.forwardRef(({__scopeSelect:e,value:t,...r},n)=>{let i,l=o.useRef(null),a=(0,c.useComposedRefs)(n,l),s=(i=o.useRef({value:t,previous:t}),o.useMemo(()=>(i.current.value!==t&&(i.current.previous=i.current.value,i.current.value=t),i.current.previous),[t]));return o.useEffect(()=>{let e=l.current;if(!e)return;let r=Object.getOwnPropertyDescriptor(window.HTMLSelectElement.prototype,"value").set;if(s!==t&&r){let n=new Event("change",{bubbles:!0});r.call(e,t),e.dispatchEvent(n)}},[s,t]),(0,f.jsx)(eB.Primitive.select,{...r,style:{...tn,...r.style},ref:a,defaultValue:t})});function t6(e){return""===e||void 0===e}function t7(e){let t=(0,eF.useCallbackRef)(e),r=o.useRef(""),n=o.useRef(0),i=o.useCallback(e=>{let i=r.current+e;t(i),function e(t){r.current=t,window.clearTimeout(n.current),""!==t&&(n.current=window.setTimeout(()=>e(""),1e3))}(i)},[t]),l=o.useCallback(()=>{r.current="",window.clearTimeout(n.current)},[]);return o.useEffect(()=>()=>window.clearTimeout(n.current),[]),[r,i,l]}function t8(e,t,r){var n,i;let o=t.length>1&&Array.from(t).every(e=>e===t[0])?t[0]:t,l=r?e.indexOf(r):-1,a=(n=e,i=Math.max(l,0),n.map((e,t)=>n[(i+t)%n.length]));1===o.length&&(a=a.filter(e=>e!==r));let s=a.find(e=>e.textValue.toLowerCase().startsWith(o.toLowerCase()));return s!==r?s:void 0}t4.displayName="SelectBubbleInput",e.s(["Content",()=>tA,"Group",()=>tB,"Icon",()=>tC,"Item",()=>tq,"ItemIndicator",()=>tZ,"ItemText",()=>tX,"Label",()=>tF,"Portal",()=>tE,"Root",()=>tx,"ScrollDownButton",()=>t1,"ScrollUpButton",()=>tQ,"Separator",()=>t5,"Trigger",()=>tb,"Value",()=>tS,"Viewport",()=>tM],29402);var t9=e.i(78745);e.s(["CheckIcon",()=>t9.default],78784)},31171,e=>{"use strict";let t=(0,e.i(75254).default)("chevron-down",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]);e.s(["default",()=>t])},67489,e=>{"use strict";var t=e.i(43476),r=e.i(29402),n=e.i(78784),i=e.i(31171),i=i;let o=(0,e.i(75254).default)("chevron-up",[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]]);var l=e.i(75157);function a({...e}){return(0,t.jsx)(r.Root,{"data-slot":"select",...e})}function s({...e}){return(0,t.jsx)(r.Value,{"data-slot":"select-value",...e})}function u({className:e,size:n="default",children:o,...a}){return(0,t.jsxs)(r.Trigger,{"data-slot":"select-trigger","data-size":n,className:(0,l.cn)("border-input data-[placeholder]:text-muted-foreground [&_svg:not([class*='text-'])]:text-muted-foreground focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive dark:bg-input/30 dark:hover:bg-input/50 flex w-fit items-center justify-between gap-2 rounded-md border bg-transparent px-3 py-2 text-sm whitespace-nowrap shadow-xs transition-[color,box-shadow] outline-none focus-visible:ring-[3px] disabled:cursor-not-allowed disabled:opacity-50 data-[size=default]:h-9 data-[size=sm]:h-8 *:data-[slot=select-value]:line-clamp-1 *:data-[slot=select-value]:flex *:data-[slot=select-value]:items-center *:data-[slot=select-value]:gap-2 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",e),...a,children:[o,(0,t.jsx)(r.Icon,{asChild:!0,children:(0,t.jsx)(i.default,{className:"size-4 opacity-50"})})]})}function c({className:e,children:n,position:i="popper",...o}){return(0,t.jsx)(r.Portal,{children:(0,t.jsxs)(r.Content,{"data-slot":"select-content",className:(0,l.cn)("bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:sli
1de-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 relative z-50 max-h-(--radix-select-content-available-height) min-w-[8rem] origin-(--radix-select-content-transform-origin) overflow-x-hidden overflow-y-auto rounded-md border shadow-md","popper"===i&&"data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1",e),position:i,...o,children:[(0,t.jsx)(d,{}),(0,t.jsx)(r.Viewport,{className:(0,l.cn)("p-1","popper"===i&&"h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)] scroll-my-1"),children:n}),(0,t.jsx)(p,{})]})})}function f({className:e,children:i,...o}){return(0,t.jsxs)(r.Item,{"data-slot":"select-item",className:(0,l.cn)("focus:bg-accent focus:text-accent-foreground [&_svg:not([class*='text-'])]:text-muted-foreground relative flex w-full cursor-default items-center gap-2 rounded-sm py-1.5 pr-8 pl-2 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4 *:[span]:last:flex *:[span]:last:items-center *:[span]:last:gap-2",e),...o,children:[(0,t.jsx)("span",{className:"absolute right-2 flex size-3.5 items-center justify-center",children:(0,t.jsx)(r.ItemIndicator,{children:(0,t.jsx)(n.CheckIcon,{className:"size-4"})})}),(0,t.jsx)(r.ItemText,{children:i})]})}function d({className:e,...n}){return(0,t.jsx)(r.ScrollUpButton,{"data-slot":"select-scroll-up-button",className:(0,l.cn)("flex cursor-default items-center justify-center py-1",e),...n,children:(0,t.jsx)(o,{className:"size-4"})})}function p({className:e,...n}){return(0,t.jsx)(r.ScrollDownButton,{"data-slot":"select-scroll-down-button",className:(0,l.cn)("flex cursor-default items-center justify-center py-1",e),...n,children:(0,t.jsx)(i.default,{className:"size-4"})})}e.s(["Select",()=>a,"SelectContent",()=>c,"SelectItem",()=>f,"SelectTrigger",()=>u,"SelectValue",()=>s],67489)}]);

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.