1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,70152,e=>{"use strict";function t(e,t){let[r,n]=t;return Math.min(n,Math.max(r,e))}e.s(["clamp",()=>t])},75830,e=>{"use strict";e.s(["createCollection",()=>f],75830);var t,r=e.i(39946),n=e.i(70292),i=e.i(62351),o=e.i(71645),l=e.i(30030),a=e.i(20783),s=e.i(43476);function u(e){let t=function(e){let t=o.forwardRef((e,t)=>{let{children:r,...n}=e;if(o.isValidElement(r)){var i,l,s;let e,u,c=(u=(e=null==(l=Object.getOwnPropertyDescriptor((i=r).props,"ref"))?void 0:l.get)&&"isReactWarning"in e&&e.isReactWarning)?i.ref:(u=(e=null==(s=Object.getOwnPropertyDescriptor(i,"ref"))?void 0:s.get)&&"isReactWarning"in e&&e.isReactWarning)?i.props.ref:i.props.ref||i.ref,d=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]=function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];let n=o(...t);return i(...t),n}: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&&(d.ref=t?(0,a.composeRefs)(t,c):c),o.cloneElement(r,d)}return o.Children.count(r)>1?o.Children.only(null):null});return t.displayName="".concat(e,".SlotClone"),t}(e),r=o.forwardRef((e,r)=>{let{children:n,...i}=e,l=o.Children.toArray(n),a=l.find(d);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,s.jsx)(t,{...i,ref:r,children:o.isValidElement(e)?o.cloneElement(e,void 0,n):null})}return(0,s.jsx)(t,{...i,ref:r,children:n})});return r.displayName="".concat(e,".Slot"),r}var c=Symbol("radix.slottable");function d(e){return o.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===c}function f(e){let t=e+"CollectionProvider",[r,n]=(0,l.createContextScope)(t),[i,c]=r(t,{collectionRef:{current:null},itemMap:new Map}),d=e=>{let{scope:t,children:r}=e,n=o.default.useRef(null),l=o.default.useRef(new Map).current;return(0,s.jsx)(i,{scope:t,itemMap:l,collectionRef:n,children:r})};d.displayName=t;let f=e+"CollectionSlot",p=u(f),h=o.default.forwardRef((e,t)=>{let{scope:r,children:n}=e,i=c(f,r),o=(0,a.useComposedRefs)(t,i.collectionRef);return(0,s.jsx)(p,{ref:o,children:n})});h.displayName=f;let m=e+"CollectionItemSlot",v="data-radix-collection-item",g=u(m),y=o.default.forwardRef((e,t)=>{let{scope:r,children:n,...i}=e,l=o.default.useRef(null),u=(0,a.useComposedRefs)(t,l),d=c(m,r);return o.default.useEffect(()=>(d.itemMap.set(l,{ref:l,...i}),()=>void d.itemMap.delete(l))),(0,s.jsx)(g,{...{[v]:""},ref:u,children:n})});return y.displayName=m,[{Provider:d,Slot:h,ItemSlot:y},function(t){let r=c(e+"CollectionConsumer",t);return o.default.useCallback(()=>{let e=r.collectionRef.current;if(!e)return[];let t=Array.from(e.querySelectorAll("[".concat(v,"]")));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 p=new WeakMap;function h(e,t){if("at"in Array.prototype)return Array.prototype.at.call(e,t);let r=function(e,t){let r=e.length,n=m(t),i=n>=0?n:r+n;return i<0||i>=r?-1:i}(e,t);return -1===r?void 0:e[r]}function m(e){return e!=e||0===e?0:Math.trunc(e)}t=new WeakMap,class e extends Map{set(e,n){return p.get(this)&&(this.has(e)?(0,r._)(this,t)[(0,r._)(this,t).indexOf(e)]=e:(0,r._)(this,t).push(e)),super.set(e,n),this}insert(e,n,i){let o,l=this.has(n),a=(0,r._)(this,t).length,s=m(e),u=s>=0?s:a+s,c=u<0||u>=a?-1:u;if(c===this.size||l&&c===this.size-1||-1===c)return this.set(n,i),this;let d=this.size+ +!l;s<0&&u++;let f=[...(0,r._)(this,t)],p=!1;for(let e=u;e<d;e++)if(u===e){let t=f[e];f[e]===n&&(t=f[e+1]),l&&this.delete(n),o=this.get(t),this.set(n,i)}else{p||f[e-1]!==n||(p=!0);let t=f[p?e:e-1],r=o;o=this.get(t),this.delete(t),this.set(t,r)}return this}with(t,r,n){let i=new e(this);return i.insert(t,r,n),i}before(e){let n=(0,r._)(this,t).indexOf(e)-1;if(!(n<0))return this.entryAt(n)}setBefore(e,n,i){let o=(0,r._)(this,t).indexOf(e);return -1===o?this:this.insert(o,n,i)}after(e){let n=(0,r._)(this,t).indexOf(e);if(-1!==(n=-1===n||n===this.size-1?-1:n+1))return this.entryAt(n)}setAfter(e,n,i){let o=(0,r._)(this,t).indexOf(e);return -1===o?this:this.insert(o+1,n,i)}first(){return this.entryAt(0)}last(){return this.entryAt(-1)}clear(){return(0,i._)(this,t,[]),super.clear()}delete(e){let n=super.delete(e);return n&&(0,r._)(this,t).splice((0,r._)(this,t).indexOf(e),1),n}deleteAt(e){let t=this.keyAt(e);return void 0!==t&&this.delete(t)}at(e){let n=h((0,r._)(this,t),e);if(void 0!==n)return this.get(n)}entryAt(e){let n=h((0,r._)(this,t),e);if(void 0!==n)return[n,this.get(n)]}indexOf(e){return(0,r._)(this,t).indexOf(e)}keyAt(e){return h((0,r._)(this,t),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(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];let[n,i]=t,o=0,l=null!=i?i:this.at(0);for(let e of this)l=0===o&&1===t.length?e:Reflect.apply(n,this,[l,e,o,this]),o++;return l}reduceRight(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];let[n,i]=t,o=null!=i?i:this.at(-1);for(let e=this.size-1;e>=0;e--){let r=this.at(e);o=e===this.size-1&&1===t.length?r:Reflect.apply(n,this,[o,r,e,this])}return o}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(){for(var t=arguments.length,r=Array(t),n=0;n<t;n++)r[n]=arguments[n];let i=[...this.entries()];return i.splice(...r),new e(i)}
1slice(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}constructor(e){super(e),(0,n._)(this,t,{writable:!0,value:void 0}),(0,i._)(this,t,[...super.keys()]),p.set(this,!0)}}},86318,e=>{"use strict";e.s(["useDirection",()=>n]);var t=e.i(71645);e.i(43476);var r=t.createContext(void 0);function n(e){let n=t.useContext(r);return e||n||"ltr"}},99682,e=>{"use strict";e.s(["usePrevious",()=>r]);var t=e.i(71645);function r(e){let r=t.useRef({value:e,previous:e});return t.useMemo(()=>(r.current.value!==e&&(r.current.previous=r.current.value,r.current.value=e),r.current.previous),[e])}},53660,35804,59411,e=>{"use strict";let t;e.s(["Anchor",()=>eq,"Arrow",()=>e$,"Content",()=>eX,"Root",()=>eY,"createPopperScope",()=>eL],53660);var r=e.i(71645);let n=["top","right","bottom","left"],i=Math.min,o=Math.max,l=Math.round,a=Math.floor,s=e=>({x:e,y:e}),u={left:"right",right:"left",bottom:"top",top:"bottom"};function c(e,t){return"function"==typeof e?e(t):e}function d(e){return e.split("-")[0]}function f(e){return e.split("-")[1]}function p(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 v(e){return e.includes("start")?e.replace("start","end"):e.replace("end","start")}let g=["left","right"],y=["right","left"],x=["top","bottom"],w=["bottom","top"];function b(e){let t=d(e);return u[t]+e.slice(t.length)}function R(e){return"number"!=typeof e?{top:0,right:0,bottom:0,left:0,...e}:{top:e,right:e,bottom:e,left:e}}function C(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 S(e,t,r){let n,{reference:i,floating:o}=e,l=m(t),a=p(m(t)),s=h(a),u=d(t),c="y"===l,v=i.x+i.width/2-o.width/2,g=i.y+i.height/2-o.height/2,y=i[s]/2-o[s]/2;switch(u){case"top":n={x:v,y:i.y-o.height};break;case"bottom":n={x:v,y:i.y+i.height};break;case"right":n={x:i.x+i.width,y:g};break;case"left":n={x:i.x-o.width,y:g};break;default:n={x:i.x,y:i.y}}switch(f(t)){case"start":n[a]-=y*(r&&c?-1:1);break;case"end":n[a]+=y*(r&&c?-1:1)}return n}async function E(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:d="viewport",elementContext:f="floating",altBoundary:p=!1,padding:h=0}=c(t,e),m=R(h),v=a[p?"floating"===f?"reference":"floating":f],g=C(await o.getClippingRect({element:null==(r=await (null==o.isElement?void 0:o.isElement(v)))||r?v:v.contextElement||await (null==o.getDocumentElement?void 0:o.getDocumentElement(a.floating)),boundary:u,rootBoundary:d,strategy:s})),y="floating"===f?{x:n,y:i,width:l.floating.width,height:l.floating.height}:l.reference,x=await (null==o.getOffsetParent?void 0:o.getOffsetParent(a.floating)),w=await (null==o.isElement?void 0:o.isElement(x))&&await (null==o.getScale?void 0:o.getScale(x))||{x:1,y:1},b=C(o.convertOffsetParentRelativeRectToViewportRelativeRect?await o.convertOffsetParentRelativeRectToViewportRelativeRect({elements:a,rect:y,offsetParent:x,strategy:s}):y);return{top:(g.top-b.top+m.top)/w.y,bottom:(b.bottom-g.bottom+m.bottom)/w.y,left:(g.left-b.left+m.left)/w.x,right:(b.right-g.right+m.right)/w.x}}let A=async(e,t,r)=>{let{placement:n="bottom",strategy:i="absolute",middleware:o=[],platform:l}=r,a=l.detectOverflow?l:{...l,detectOverflow:E},s=await (null==l.isRTL?void 0:l.isRTL(t)),u=await l.getElementRects({reference:e,floating:t,strategy:i}),{x:c,y:d}=S(u,n,s),f=n,p=0,h={};for(let r=0;r<o.length;r++){let m=o[r];if(!m)continue;let{name:v,fn:g}=m,{x:y,y:x,data:w,reset:b}=await g({x:c,y:d,initialPlacement:n,placement:f,strategy:i,middlewareData:h,rects:u,platform:a,elements:{reference:e,floating:t}});c=null!=y?y:c,d=null!=x?x:d,h[v]={...h[v],...w},b&&p<50&&(p++,"object"==typeof b&&(b.placement&&(f=b.placement),b.rects&&(u=!0===b.rects?await l.getElementRects({reference:e,floating:t,strategy:i}
1):b.rects),{x:c,y:d}=S(u,f,s)),r=-1)}return{x:c,y:d,placement:f,strategy:i,middlewareData:h}};function j(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function P(e){return n.some(t=>e[t]>=0)}let k=new Set(["left","top"]);async function L(e,t){let{placement:r,platform:n,elements:i}=e,o=await (null==n.isRTL?void 0:n.isRTL(i.floating)),l=d(r),a=f(r),s="y"===m(r),u=k.has(l)?-1:1,p=o&&s?-1:1,h=c(t,e),{mainAxis:v,crossAxis:g,alignmentAxis:y}="number"==typeof h?{mainAxis:h,crossAxis:0,alignmentAxis:null}:{mainAxis:h.mainAxis||0,crossAxis:h.crossAxis||0,alignmentAxis:h.alignmentAxis};return a&&"number"==typeof y&&(g="end"===a?-1*y:y),s?{x:g*p,y:v*u}:{x:v*u,y:g*p}}function T(){return"undefined"!=typeof window}function O(e){return _(e)?(e.nodeName||"").toLowerCase():"#document"}function N(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function D(e){var t;return null==(t=(_(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function _(e){return!!T()&&(e instanceof Node||e instanceof N(e).Node)}function H(e){return!!T()&&(e instanceof Element||e instanceof N(e).Element)}function I(e){return!!T()&&(e instanceof HTMLElement||e instanceof N(e).HTMLElement)}function M(e){return!!T()&&"undefined"!=typeof ShadowRoot&&(e instanceof ShadowRoot||e instanceof N(e).ShadowRoot)}function z(e){let{overflow:t,overflowX:r,overflowY:n,display:i}=q(e);return/auto|scroll|overlay|hidden|clip/.test(t+n+r)&&"inline"!==i&&"contents"!==i}function F(e){try{if(e.matches(":popover-open"))return!0}catch(e){}try{return e.matches(":modal")}catch(e){return!1}}let W=/transform|translate|scale|rotate|perspective|filter/,V=/paint|layout|strict|content/,B=e=>!!e&&"none"!==e;function K(e){let t=H(e)?q(e):e;return B(t.transform)||B(t.translate)||B(t.scale)||B(t.rotate)||B(t.perspective)||!U()&&(B(t.backdropFilter)||B(t.filter))||W.test(t.willChange||"")||V.test(t.contain||"")}function U(){return null==t&&(t="undefined"!=typeof CSS&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),t}function Y(e){return/^(html|body|#document)$/.test(O(e))}function q(e){return N(e).getComputedStyle(e)}function X(e){return H(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function $(e){if("html"===O(e))return e;let t=e.assignedSlot||e.parentNode||M(e)&&e.host||D(e);return M(t)?t.host:t}function Z(e,t,r){var n;void 0===t&&(t=[]),void 0===r&&(r=!0);let i=function e(t){let r=$(t);return Y(r)?t.ownerDocument?t.ownerDocument.body:t.body:I(r)&&z(r)?r:e(r)}(e),o=i===(null==(n=e.ownerDocument)?void 0:n.body),l=N(i);if(!o)return t.concat(i,Z(i,[],r));{let e=G(l);return t.concat(l,l.visualViewport||[],z(i)?i:[],e&&r?Z(e):[])}}function G(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function J(e){let t=q(e),r=parseFloat(t.width)||0,n=parseFloat(t.height)||0,i=I(e),o=i?e.offsetWidth:r,a=i?e.offsetHeight:n,s=l(r)!==o||l(n)!==a;return s&&(r=o,n=a),{width:r,height:n,$:s}}function Q(e){return H(e)?e:e.contextElement}function ee(e){let t=Q(e);if(!I(t))return s(1);let r=t.getBoundingClientRect(),{width:n,height:i,$:o}=J(t),a=(o?l(r.width):r.width)/n,u=(o?l(r.height):r.height)/i;return a&&Number.isFinite(a)||(a=1),u&&Number.isFinite(u)||(u=1),{x:a,y:u}}let et=s(0);function er(e){let t=N(e);return U()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:et}function en(e,t,r,n){var i;void 0===t&&(t=!1),void 0===r&&(r=!1);let o=e.getBoundingClientRect(),l=Q(e),a=s(1);t&&(n?H(n)&&(a=ee(n)):a=ee(e));let u=(void 0===(i=r)&&(i=!1),n&&(!i||n===N(l))&&i)?er(l):s(0),c=(o.left+u.x)/a.x,d=(o.top+u.y)/a.y,f=o.width/a.x,p=o.height/a.y;if(l){let e=N(l),t=n&&H(n)?N(n):n,r=e,i=G(r);for(;i&&n&&t!==r;){let e=ee(i),t=i.getBoundingClientRect(),n=q(i),o=t.left+(i.clientLeft+parseFloat(n.paddingLeft))*e.x,l=t.top+(i.clientTop+parseFloat(n.paddingTop))*e.y;c*=e.x,d*=e.y,f*=e.x,p*=e.y,c+=o,d+=l,i=G(r=N(i))}}return C({width:f,height:p,x:c,y:d})}function ei(e,t){let r=X(e).scrollLeft;return t?t.left+r:en(D(e)).left+r}function eo(e,t){let r=e.getBoundingClientRect();return{x:r.left+t.scrollLeft-ei(e,r),y:r.top+t.scrollTop}}function el(e,t,r){let n;if("viewport"===t)n=function(e,t){let r=N(e),n=D(e),i=r.visualVie
1wport,o=n.clientWidth,l=n.clientHeight,a=0,s=0;if(i){o=i.width,l=i.height;let e=U();(!e||e&&"fixed"===t)&&(a=i.offsetLeft,s=i.offsetTop)}let u=ei(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)n=function(e){let t=D(e),r=X(e),n=e.ownerDocument.body,i=o(t.scrollWidth,t.clientWidth,n.scrollWidth,n.clientWidth),l=o(t.scrollHeight,t.clientHeight,n.scrollHeight,n.clientHeight),a=-r.scrollLeft+ei(e),s=-r.scrollTop;return"rtl"===q(n).direction&&(a+=o(t.clientWidth,n.clientWidth)-i),{width:i,height:l,x:a,y:s}}(D(e));else if(H(t))n=function(e,t){let r=en(e,!0,"fixed"===t),n=r.top+e.clientTop,i=r.left+e.clientLeft,o=I(e)?ee(e):s(1),l=e.clientWidth*o.x,a=e.clientHeight*o.y;return{width:l,height:a,x:i*o.x,y:n*o.y}}(t,r);else{let r=er(e);n={x:t.x-r.x,y:t.y-r.y,width:t.width,height:t.height}}return C(n)}function ea(e){return"static"===q(e).position}function es(e,t){if(!I(e)||"fixed"===q(e).position)return null;if(t)return t(e);let r=e.offsetParent;return D(e)===r&&(r=r.ownerDocument.body),r}function eu(e,t){var r;let n=N(e);if(F(e))return n;if(!I(e)){let t=$(e);for(;t&&!Y(t);){if(H(t)&&!ea(t))return t;t=$(t)}return n}let i=es(e,t);for(;i&&(r=i,/^(table|td|th)$/.test(O(r)))&&ea(i);)i=es(i,t);return i&&Y(i)&&ea(i)&&!K(i)?n:i||function(e){let t=$(e);for(;I(t)&&!Y(t);){if(K(t))return t;if(F(t))break;t=$(t)}return null}(e)||n}let ec=async function(e){let t=this.getOffsetParent||eu,r=this.getDimensions,n=await r(e.floating);return{reference:function(e,t,r){let n=I(t),i=D(t),o="fixed"===r,l=en(e,!0,o,t),a={scrollLeft:0,scrollTop:0},u=s(0);if(n||!n&&!o)if(("body"!==O(t)||z(i))&&(a=X(t)),n){let e=en(t,!0,o,t);u.x=e.x+t.clientLeft,u.y=e.y+t.clientTop}else i&&(u.x=ei(i));o&&!n&&i&&(u.x=ei(i));let c=!i||n||o?s(0):eo(i,a);return{x:l.left+a.scrollLeft-u.x-c.x,y:l.top+a.scrollTop-u.y-c.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}}},ed={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:r,offsetParent:n,strategy:i}=e,o="fixed"===i,l=D(n),a=!!t&&F(t.floating);if(n===l||a&&o)return r;let u={scrollLeft:0,scrollTop:0},c=s(1),d=s(0),f=I(n);if((f||!f&&!o)&&(("body"!==O(n)||z(l))&&(u=X(n)),f)){let e=en(n);c=ee(n),d.x=e.x+n.clientLeft,d.y=e.y+n.clientTop}let p=!l||f||o?s(0):eo(l,u);return{width:r.width*c.x,height:r.height*c.y,x:r.x*c.x-u.scrollLeft*c.x+d.x+p.x,y:r.y*c.y-u.scrollTop*c.y+d.y+p.y}},getDocumentElement:D,getClippingRect:function(e){let{element:t,boundary:r,rootBoundary:n,strategy:l}=e,a=[..."clippingAncestors"===r?F(t)?[]:function(e,t){let r=t.get(e);if(r)return r;let n=Z(e,[],!1).filter(e=>H(e)&&"body"!==O(e)),i=null,o="fixed"===q(e).position,l=o?$(e):e;for(;H(l)&&!Y(l);){let t=q(l),r=K(l);r||"fixed"!==t.position||(i=null),(o?r||i:!(!r&&"static"===t.position&&i&&("absolute"===i.position||"fixed"===i.position)||z(l)&&!r&&function e(t,r){let n=$(t);return!(n===r||!H(n)||Y(n))&&("fixed"===q(n).position||e(n,r))}(e,l)))?i=t:n=n.filter(e=>e!==l),l=$(l)}return t.set(e,n),n}(t,this._c):[].concat(r),n],s=el(t,a[0],l),u=s.top,c=s.right,d=s.bottom,f=s.left;for(let e=1;e<a.length;e++){let r=el(t,a[e],l);u=o(r.top,u),c=i(r.right,c),d=i(r.bottom,d),f=o(r.left,f)}return{width:c-f,height:d-u,x:f,y:u}},getOffsetParent:eu,getElementRects:ec,getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){let{width:t,height:r}=J(e);return{width:t,height:r}},getScale:ee,isElement:H,isRTL:function(e){return"rtl"===q(e).direction}};function ef(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}let ep=e=>({name:"arrow",options:e,async fn(t){let{x:r,y:n,placement:l,rects:a,platform:s,elements:u,middlewareData:d}=t,{element:v,padding:g=0}=c(e,t)||{};if(null==v)return{};let y=R(g),x={x:r,y:n},w=p(m(l)),b=h(w),C=await s.getDimensions(v),S="y"===w,E=S?"clientHeight":"clientWidth",A=a.reference[b]+a.reference[w]-x[w]-a.floating[b],j=x[w]-a.reference[w],P=await (null==s.getOffsetParent?void 0:s.getOffsetParent(v)),k=P?P[E]:0;k&&await (null==s.isElement?void 0:s.isElement(P))||(k=u.floating[E]||a.floating[b]);let L=k/2-C[b]/2-1,T=i(y[S?"top":"left"],L),O=i(y[S?"bottom":"right"],L),N=k-C[b]-O,D=k/2-C[b]/2+(A/2-j/2),_=o(T,i(D,N)),H=!d.arrow&&null!=f(l)&&D!==_&&a.reference[b]/2-(D<T?T:O)-C[b]/2<0,I=H?D<T?D-T:D-N:0;return{[w]:x[w]+I,data:{[w]:_,centerOffset:D-_-I,...H&&{alignmentOffset:I}},reset:H}}});var eh=e.i(74080),em="undefined"!=typeof document?r.useLayoutEffect:function(){};function ev(e,t){let r,n,i;if(e===t)return!0;
1if(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(!ev(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)&&!ev(e[r],t[r]))return!1}return!0}return e!=e&&t!=t}function eg(e){return"undefined"==typeof window?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function ey(e,t){let r=eg(e);return Math.round(t*r)/r}function ex(e){let t=r.useRef(e);return em(()=>{t.current=e}),t}var ew=e.i(48425),eb=e.i(43476),eR=r.forwardRef((e,t)=>{let{children:r,width:n=10,height:i=5,...o}=e;return(0,eb.jsx)(ew.Primitive.svg,{...o,ref:t,width:n,height:i,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?r:(0,eb.jsx)("polygon",{points:"0,0 30,0 15,10"})})});eR.displayName="Arrow";var eC=e.i(20783),eS=e.i(30030),eE=e.i(30207),eA=e.i(34620);function ej(e){let[t,n]=r.useState(void 0);return(0,eA.useLayoutEffect)(()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});let t=new ResizeObserver(t=>{let r,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;r=t.inlineSize,i=t.blockSize}else r=e.offsetWidth,i=e.offsetHeight;n({width:r,height:i})});return t.observe(e,{box:"border-box"}),()=>t.unobserve(e)}n(void 0)},[e]),t}e.s(["useSize",()=>ej],35804);var eP="Popper",[ek,eL]=(0,eS.createContextScope)(eP),[eT,eO]=ek(eP),eN=e=>{let{__scopePopper:t,children:n}=e,[i,o]=r.useState(null);return(0,eb.jsx)(eT,{scope:t,anchor:i,onAnchorChange:o,children:n})};eN.displayName=eP;var eD="PopperAnchor",e_=r.forwardRef((e,t)=>{let{__scopePopper:n,virtualRef:i,...o}=e,l=eO(eD,n),a=r.useRef(null),s=(0,eC.useComposedRefs)(t,a),u=r.useRef(null);return r.useEffect(()=>{let e=u.current;u.current=(null==i?void 0:i.current)||a.current,e!==u.current&&l.onAnchorChange(u.current)}),i?null:(0,eb.jsx)(ew.Primitive.div,{...o,ref:s})});e_.displayName=eD;var eH="PopperContent",[eI,eM]=ek(eH),ez=r.forwardRef((e,t)=>{var n,l,s,u,R,C,S,E;let{__scopePopper:T,side:O="bottom",sideOffset:N=0,align:_="center",alignOffset:H=0,arrowPadding:I=0,avoidCollisions:M=!0,collisionBoundary:z=[],collisionPadding:F=0,sticky:W="partial",hideWhenDetached:V=!1,updatePositionStrategy:B="optimized",onPlaced:K,...U}=e,Y=eO(eH,T),[q,X]=r.useState(null),$=(0,eC.useComposedRefs)(t,e=>X(e)),[G,J]=r.useState(null),ee=ej(G),et=null!=(S=null==ee?void 0:ee.width)?S:0,er=null!=(E=null==ee?void 0:ee.height)?E:0,ei="number"==typeof F?F:{top:0,right:0,bottom:0,left:0,...F},eo=Array.isArray(z)?z:[z],el=eo.length>0,ea={padding:ei,boundary:eo.filter(eB),altBoundary:el},{refs:es,floatingStyles:eu,placement:ec,isPositioned:eR,middlewareData:eS}=function(e){void 0===e&&(e={});let{placement:t="bottom",strategy:n="absolute",middleware:i=[],platform:o,elements:{reference:l,floating:a}={},transform:s=!0,whileElementsMounted:u,open:c}=e,[d,f]=r.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[p,h]=r.useState(i);ev(p,i)||h(i);let[m,v]=r.useState(null),[g,y]=r.useState(null),x=r.useCallback(e=>{e!==C.current&&(C.current=e,v(e))},[]),w=r.useCallback(e=>{e!==S.current&&(S.current=e,y(e))},[]),b=l||m,R=a||g,C=r.useRef(null),S=r.useRef(null),E=r.useRef(d),j=null!=u,P=ex(u),k=ex(o),L=ex(c),T=r.useCallback(()=>{if(!C.current||!S.current)return;let e={placement:t,strategy:n,middleware:p};k.current&&(e.platform=k.current),((e,t,r)=>{let n=new Map,i={platform:ed,...r},o={...i.platform,_c:n};return A(e,t,{...i,platform:o})})(C.current,S.current,e).then(e=>{let t={...e,isPositioned:!1!==L.current};O.current&&!ev(E.current,t)&&(E.current=t,eh.flushSync(()=>{f(t)}))})},[p,t,n,k,L]);em(()=>{!1===c&&E.current.isPositioned&&(E.current.isPositioned=!1,f(e=>({...e,isPositioned:!1})))},[c]);let O=r.useRef(!1);em(()=>(O.current=!0,()=>{O.current=!1}),[]),em(()=>{if(b&&(C.current=b),R&&(S.current=R),b&&R){if(P.current)return P.current(b,R,T);T()}},[b,R,T,P,j]);let N=r.useMemo(()=>({reference:C,floating:S,setReference:x,setFloating:w}),[x,w]),D=r.useMemo(()=>({reference:b,floating:R}),[b,R]),_=r.useMemo(()=>{let e={position:n,left:0,top:0};if(!D.floating)return e;let t=ey(D.floating,d.x),r=ey(D.floating,d.y);return s?{...e,transform:"translate("+t+"px, "+r+"px)",...eg(D.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:t,top:r}},[n,s,D.floating,d.x,d.y]);return r.useMemo(()=>({...d,update:T,refs:N,elements:D,floatingStyles:_}),[d,T,N,D,_])}({strategy:"fixed",placement:O+("center"!==_?"-"+_:""),whileElementsMounted:function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return function(e,t,r,n){let l;void 0===n&&(n={});let{ancestorScroll:s=!0,ancestorResize:u=!0,elementResize:c="function"==typeof ResizeObserver,layoutShift:d="function"==typeof IntersectionObserver,animationFrame:f=!1}=n,p=Q(e),h=s||u?[...p?Z(p):[],...t?Z(t):[]]:[];
1h.forEach(e=>{s&&e.addEventListener("scroll",r,{passive:!0}),u&&e.addEventListener("resize",r)});let m=p&&d?function(e,t){let r,n=null,l=D(e);function s(){var e;clearTimeout(r),null==(e=n)||e.disconnect(),n=null}return!function u(c,d){void 0===c&&(c=!1),void 0===d&&(d=1),s();let f=e.getBoundingClientRect(),{left:p,top:h,width:m,height:v}=f;if(c||t(),!m||!v)return;let g=a(h),y=a(l.clientWidth-(p+m)),x={rootMargin:-g+"px "+-y+"px "+-a(l.clientHeight-(h+v))+"px "+-a(p)+"px",threshold:o(0,i(1,d))||1},w=!0;function b(t){let n=t[0].intersectionRatio;if(n!==d){if(!w)return u();n?u(!1,n):r=setTimeout(()=>{u(!1,1e-7)},1e3)}1!==n||ef(f,e.getBoundingClientRect())||u(),w=!1}try{n=new IntersectionObserver(b,{...x,root:l.ownerDocument})}catch(e){n=new IntersectionObserver(b,x)}n.observe(e)}(!0),s}(p,r):null,v=-1,g=null;c&&(g=new ResizeObserver(e=>{let[n]=e;n&&n.target===p&&g&&t&&(g.unobserve(t),cancelAnimationFrame(v),v=requestAnimationFrame(()=>{var e;null==(e=g)||e.observe(t)})),r()}),p&&!f&&g.observe(p),t&&g.observe(t));let y=f?en(e):null;return f&&function t(){let n=en(e);y&&!ef(y,n)&&r(),y=n,l=requestAnimationFrame(t)}(),r(),()=>{var e;h.forEach(e=>{s&&e.removeEventListener("scroll",r),u&&e.removeEventListener("resize",r)}),null==m||m(),null==(e=g)||e.disconnect(),g=null,f&&cancelAnimationFrame(l)}}(...t,{animationFrame:"always"===B})},elements:{reference:Y.anchor},middleware:[((e,t)=>({...function(e){return void 0===e&&(e=0),{name:"offset",options:e,async fn(t){var r,n;let{x:i,y:o,placement:l,middlewareData:a}=t,s=await L(t,e);return l===(null==(r=a.offset)?void 0:r.placement)&&null!=(n=a.arrow)&&n.alignmentOffset?{}:{x:i+s.x,y:o+s.y,data:{...s,placement:l}}}}}(e),options:[e,t]}))({mainAxis:N+er,alignmentAxis:H}),M&&((e,t)=>({...function(e){return void 0===e&&(e={}),{name:"shift",options:e,async fn(t){let{x:r,y:n,placement:l,platform:a}=t,{mainAxis:s=!0,crossAxis:u=!1,limiter:f={fn:e=>{let{x:t,y:r}=e;return{x:t,y:r}}},...h}=c(e,t),v={x:r,y:n},g=await a.detectOverflow(t,h),y=m(d(l)),x=p(y),w=v[x],b=v[y];if(s){let e="y"===x?"top":"left",t="y"===x?"bottom":"right",r=w+g[e],n=w-g[t];w=o(r,i(w,n))}if(u){let e="y"===y?"top":"left",t="y"===y?"bottom":"right",r=b+g[e],n=b-g[t];b=o(r,i(b,n))}let R=f.fn({...t,[x]:w,[y]:b});return{...R,data:{x:R.x-r,y:R.y-n,enabled:{[x]:s,[y]:u}}}}}}(e),options:[e,t]}))({mainAxis:!0,crossAxis:!1,limiter:"partial"===W?((e,t)=>({...function(e){return void 0===e&&(e={}),{options:e,fn(t){let{x:r,y:n,placement:i,rects:o,middlewareData:l}=t,{offset:a=0,mainAxis:s=!0,crossAxis:u=!0}=c(e,t),f={x:r,y:n},h=m(i),v=p(h),g=f[v],y=f[h],x=c(a,t),w="number"==typeof x?{mainAxis:x,crossAxis:0}:{mainAxis:0,crossAxis:0,...x};if(s){let e="y"===v?"height":"width",t=o.reference[v]-o.floating[e]+w.mainAxis,r=o.reference[v]+o.reference[e]-w.mainAxis;g<t?g=t:g>r&&(g=r)}if(u){var b,R;let e="y"===v?"width":"height",t=k.has(d(i)),r=o.reference[h]-o.floating[e]+(t&&(null==(b=l.offset)?void 0:b[h])||0)+(t?0:w.crossAxis),n=o.reference[h]+o.reference[e]+(t?0:(null==(R=l.offset)?void 0:R[h])||0)-(t?w.crossAxis:0);y<r?y=r:y>n&&(y=n)}return{[v]:g,[h]:y}}}}(e),options:[e,t]}))():void 0,...ea}),M&&((e,t)=>({...function(e){return void 0===e&&(e={}),{name:"flip",options:e,async fn(t){var r,n,i,o,l;let{placement:a,middlewareData:s,rects:u,initialPlacement:R,platform:C,elements:S}=t,{mainAxis:E=!0,crossAxis:A=!0,fallbackPlacements:j,fallbackStrategy:P="bestFit",fallbackAxisSideDirection:k="none",flipAlignment:L=!0,...T}=c(e,t);if(null!=(r=s.arrow)&&r.alignmentOffset)return{};let O=d(a),N=m(R),D=d(R)===R,_=await (null==C.isRTL?void 0:C.isRTL(S.floating)),H=j||(D||!L?[b(R)]:function(e){let t=b(e);return[v(e),t,v(t)]}(R)),I="none"!==k;!j&&I&&H.push(...function(e,t,r,n){let i=f(e),o=function(e,t,r){switch(e){case"top":case"bottom":if(r)return t?y:g;return t?g:y;case"left":case"right":return t?x:w;default:return[]}}(d(e),"start"===r,n);return i&&(o=o.map(e=>e+"-"+i),t&&(o=o.concat(o.map(v)))),o}(R,L,k,_));let M=[R,...H],z=await C.detectOverflow(t,T),F=[],W=(null==(n=s.flip)?void 0:n.overflows)||[];if(E&&F.push(z[O]),A){let e=function(e,t,r){void 0===r&&(r=!1);let n=f(e),i=p(m(e)),o=h(i),l="x"===i?n===(r?"end":"start")?"right":"left":"start"===n?"bottom":"top";return t.reference[o]>t.floating[o]&&(l=b(l)),[l,b(l)]}(a,u,_);F.push(z[e[0]],z[e[1]])}if(W=[...W,{placement:a,overflows:F}],!F.every(e=>e<=0)){let e=((null==(i=s.flip)?void 0:i.index)||0)+1,t=M[e];if(t&&("alignment"!==A||N===m(t)||W.every(e=>m(e.placement)!==N||e.overflows[0]>0)))return{data:{index:e,overflows:W},reset:{placement:t}};let r=null==(o=W.filter(e=>e.overflows[0]<=0).sort((e,t)=>
1e.overflows[1]-t.overflows[1])[0])?void 0:o.placement;if(!r)switch(P){case"bestFit":{let e=null==(l=W.filter(e=>{if(I){let t=m(e.placement);return t===N||"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:l[0];e&&(r=e);break}case"initialPlacement":r=R}if(a!==r)return{reset:{placement:r}}}return{}}}}(e),options:[e,t]}))({...ea}),((e,t)=>({...function(e){return void 0===e&&(e={}),{name:"size",options:e,async fn(t){var r,n;let l,a,{placement:s,rects:u,platform:p,elements:h}=t,{apply:v=()=>{},...g}=c(e,t),y=await p.detectOverflow(t,g),x=d(s),w=f(s),b="y"===m(s),{width:R,height:C}=u.floating;"top"===x||"bottom"===x?(l=x,a=w===(await (null==p.isRTL?void 0:p.isRTL(h.floating))?"start":"end")?"left":"right"):(a=x,l="end"===w?"top":"bottom");let S=C-y.top-y.bottom,E=R-y.left-y.right,A=i(C-y[l],S),j=i(R-y[a],E),P=!t.middlewareData.shift,k=A,L=j;if(null!=(r=t.middlewareData.shift)&&r.enabled.x&&(L=E),null!=(n=t.middlewareData.shift)&&n.enabled.y&&(k=S),P&&!w){let e=o(y.left,0),t=o(y.right,0),r=o(y.top,0),n=o(y.bottom,0);b?L=R-2*(0!==e||0!==t?e+t:o(y.left,y.right)):k=C-2*(0!==r||0!==n?r+n:o(y.top,y.bottom))}await v({...t,availableWidth:L,availableHeight:k});let T=await p.getDimensions(h.floating);return R!==T.width||C!==T.height?{reset:{rects:!0}}:{}}}}(e),options:[e,t]}))({...ea,apply:e=>{let{elements:t,rects:r,availableWidth:n,availableHeight:i}=e,{width:o,height:l}=r.reference,a=t.floating.style;a.setProperty("--radix-popper-available-width","".concat(n,"px")),a.setProperty("--radix-popper-available-height","".concat(i,"px")),a.setProperty("--radix-popper-anchor-width","".concat(o,"px")),a.setProperty("--radix-popper-anchor-height","".concat(l,"px"))}}),G&&((e,t)=>({...(e=>({name:"arrow",options:e,fn(t){let{element:r,padding:n}="function"==typeof e?e(t):e;return r&&({}).hasOwnProperty.call(r,"current")?null!=r.current?ep({element:r.current,padding:n}).fn(t):{}:r?ep({element:r,padding:n}).fn(t):{}}}))(e),options:[e,t]}))({element:G,padding:I}),eK({arrowWidth:et,arrowHeight:er}),V&&((e,t)=>({...function(e){return void 0===e&&(e={}),{name:"hide",options:e,async fn(t){let{rects:r,platform:n}=t,{strategy:i="referenceHidden",...o}=c(e,t);switch(i){case"referenceHidden":{let e=j(await n.detectOverflow(t,{...o,elementContext:"reference"}),r.reference);return{data:{referenceHiddenOffsets:e,referenceHidden:P(e)}}}case"escaped":{let e=j(await n.detectOverflow(t,{...o,altBoundary:!0}),r.floating);return{data:{escapedOffsets:e,escaped:P(e)}}}default:return{}}}}}(e),options:[e,t]}))({strategy:"referenceHidden",...ea})]}),[eP,ek]=eU(ec),eL=(0,eE.useCallbackRef)(K);(0,eA.useLayoutEffect)(()=>{eR&&(null==eL||eL())},[eR,eL]);let eT=null==(n=eS.arrow)?void 0:n.x,eN=null==(l=eS.arrow)?void 0:l.y,eD=(null==(s=eS.arrow)?void 0:s.centerOffset)!==0,[e_,eM]=r.useState();return(0,eA.useLayoutEffect)(()=>{q&&eM(window.getComputedStyle(q).zIndex)},[q]),(0,eb.jsx)("div",{ref:es.setFloating,"data-radix-popper-content-wrapper":"",style:{...eu,transform:eR?eu.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:e_,"--radix-popper-transform-origin":[null==(u=eS.transformOrigin)?void 0:u.x,null==(R=eS.transformOrigin)?void 0:R.y].join(" "),...(null==(C=eS.hide)?void 0:C.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:(0,eb.jsx)(eI,{scope:T,placedSide:eP,onArrowChange:J,arrowX:eT,arrowY:eN,shouldHideArrow:eD,children:(0,eb.jsx)(ew.Primitive.div,{"data-side":eP,"data-align":ek,...U,ref:$,style:{...U.style,animation:eR?void 0:"none"}})})})});ez.displayName=eH;var eF="PopperArrow",eW={top:"bottom",right:"left",bottom:"top",left:"right"},eV=r.forwardRef(function(e,t){let{__scopePopper:r,...n}=e,i=eM(eF,r),o=eW[i.placedSide];return(0,eb.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,eb.jsx)(eR,{...n,ref:t,style:{...n.style,display:"block"}})})});function eB(e){return null!==e}eV.displayName=eF;var eK=e=>({name:"transformOrigin",options:e,fn(t){var r,n,i,o,l;let{placement:a,rects:s,middlewareData:u}=t,c=(null==(r=u.arrow)?void 0:r.centerOffset)!==0,d=c?0:e.arrowWidth,f=c?0:e.arrowHeight,[p,h]=eU(a),m={start:"0%",center:"50%",end:"100%"}[h],v=(null!=(o=null==(n=u.arrow)?void 0:n.x)?o:0)+d/2,g=(null!=(l=null==(i=u.arrow)?void 0:i.y)?l:0)+f/2,y="",x="";return"bottom"===p?(y=c?m:"".concat(v,"px"),x="".concat(-f,"px")):"top"===p?(y=c?m:"".concat(v,"px"),x="".concat(s.floating.height+f,"px")):"right"===p?(y="".concat(-f,"px"),x=c?m:"".concat(g,"px")):"left"===p&&(y="".concat(s.floating.width+f,"px"),x=c?m:"".concat(g,"px")),{data:{x:y,y:x}}}});function eU(e){let[t,r="center"]=e.split("-");return[t,r]}var eY=eN,eq=e_,eX=ez,e$=eV;e.s(["Root",()=>eJ,"VISUALLY_HIDDEN_STYLES",()=>eZ],59411);var eZ=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"}),eG=r.forwardRef((e,t)=>
1(0,eb.jsx)(ew.Primitive.span,{...e,ref:t,style:{...eZ,...e.style}}));eG.displayName="VisuallyHidden";var eJ=eG},43957,e=>{"use strict";e.s(["default",()=>t]);let t=(0,e.i(56420).default)("check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]])},93698,e=>{"use strict";e.s(["CheckIcon",()=>t.default]);var t=e.i(43957)},26495,e=>{"use strict";e.s(["default",()=>t]);let t=(0,e.i(56420).default)("chevron-down",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]])},3636,e=>{"use strict";e.s(["ChevronDownIcon",()=>t.default]);var t=e.i(26495)},47032,e=>{"use strict";e.s(["LocaleSwitcher",()=>eW],47032);var t=e.i(43476),r=e.i(61745),n=e.i(94245),i=e.i(71645),o=e.i(56420);let l=(0,o.default)("globe",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20",key:"13o1zl"}],["path",{d:"M2 12h20",key:"9i4pu4"}]]);var a=e.i(20133),s=e.i(74080),u=e.i(70152),c=e.i(81140),d=e.i(75830),f=e.i(20783),p=e.i(30030),h=e.i(86318),m=e.i(26330),v=e.i(3536),g=e.i(65491),y=e.i(10772),x=e.i(53660),w=e.i(74606),b=e.i(48425),R=Symbol("radix.slottable");function C(e){return i.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===R}var S=e.i(30207),E=e.i(69340),A=e.i(34620),j=e.i(99682),P=e.i(59411),k=e.i(86312),L=e.i(85369),T=[" ","Enter","ArrowUp","ArrowDown"],O=[" ","Enter"],N="Select",[D,_,H]=(0,d.createCollection)(N),[I,M]=(0,p.createContextScope)(N,[H,x.createPopperScope]),z=(0,x.createPopperScope)(),[F,W]=I(N),[V,B]=I(N),K=e=>{let{__scopeSelect:r,children:n,open:o,defaultOpen:l,onOpenChange:a,value:s,defaultValue:u,onValueChange:c,dir:d,name:f,autoComplete:p,disabled:m,required:v,form:g}=e,w=z(r),[b,R]=i.useState(null),[C,S]=i.useState(null),[A,j]=i.useState(!1),P=(0,h.useDirection)(d),[k,L]=(0,E.useControllableState)({prop:o,defaultProp:null!=l&&l,onChange:a,caller:N}),[T,O]=(0,E.useControllableState)({prop:s,defaultProp:u,onChange:c,caller:N}),_=i.useRef(null),H=!b||g||!!b.closest("form"),[I,M]=i.useState(new Set),W=Array.from(I).map(e=>e.props.value).join(";");return(0,t.jsx)(x.Root,{...w,children:(0,t.jsxs)(F,{required:v,scope:r,trigger:b,onTriggerChange:R,valueNode:C,onValueNodeChange:S,valueNodeHasChildren:A,onValueNodeHasChildrenChange:j,contentId:(0,y.useId)(),value:T,onValueChange:O,open:k,onOpenChange:L,dir:P,triggerPointerDownPosRef:_,disabled:m,children:[(0,t.jsx)(D.Provider,{scope:r,children:(0,t.jsx)(V,{scope:e.__scopeSelect,onNativeOptionAdd:i.useCallback(e=>{M(t=>new Set(t).add(e))},[]),onNativeOptionRemove:i.useCallback(e=>{M(t=>{let r=new Set(t);return r.delete(e),r})},[]),children:n})}),H?(0,t.jsxs)(eA,{"aria-hidden":!0,required:v,tabIndex:-1,name:f,autoComplete:p,value:T,onChange:e=>O(e.target.value),disabled:m,form:g,children:[void 0===T?(0,t.jsx)("option",{value:""}):null,Array.from(I)]},W):null]})})};K.displayName=N;var U="SelectTrigger",Y=i.forwardRef((e,r)=>{let{__scopeSelect:n,disabled:o=!1,...l}=e,a=z(n),s=W(U,n),u=s.disabled||o,d=(0,f.useComposedRefs)(r,s.onTriggerChange),p=_(n),h=i.useRef("touch"),[m,v,g]=eP(e=>{let t=p().filter(e=>!e.disabled),r=t.find(e=>e.value===s.value),n=ek(t,e,r);void 0!==n&&s.onValueChange(n.value)}),y=e=>{u||(s.onOpenChange(!0),g()),e&&(s.triggerPointerDownPosRef.current={x:Math.round(e.pageX),y:Math.round(e.pageY)})};return(0,t.jsx)(x.Anchor,{asChild:!0,...a,children:(0,t.jsx)(b.Primitive.button,{type:"button",role:"combobox","aria-controls":s.contentId,"aria-expanded":s.open,"aria-required":s.required,"aria-autocomplete":"none",dir:s.dir,"data-state":s.open?"open":"closed",disabled:u,"data-disabled":u?"":void 0,"data-placeholder":ej(s.value)?"":void 0,...l,ref:d,onClick:(0,c.composeEventHandlers)(l.onClick,e=>{e.currentTarget.focus(),"mouse"!==h.current&&y(e)}),onPointerDown:(0,c.composeEventHandlers)(l.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,c.composeEventHandlers)(l.onKeyDown,e=>{let t=""!==m.current;
1e.ctrlKey||e.altKey||e.metaKey||1!==e.key.length||v(e.key),(!t||" "!==e.key)&&T.includes(e.key)&&(y(),e.preventDefault())})})})});Y.displayName=U;var q="SelectValue";i.forwardRef((e,r)=>{let{__scopeSelect:n,className:i,style:o,children:l,placeholder:a="",...s}=e,u=W(q,n),{onValueNodeHasChildrenChange:c}=u,d=void 0!==l,p=(0,f.useComposedRefs)(r,u.onValueNodeChange);return(0,A.useLayoutEffect)(()=>{c(d)},[c,d]),(0,t.jsx)(b.Primitive.span,{...s,ref:p,style:{pointerEvents:"none"},children:ej(u.value)?(0,t.jsx)(t.Fragment,{children:a}):l})}).displayName=q;var X=i.forwardRef((e,r)=>{let{__scopeSelect:n,children:i,...o}=e;return(0,t.jsx)(b.Primitive.span,{"aria-hidden":!0,...o,ref:r,children:i||"â¼"})});X.displayName="SelectIcon";var $=e=>(0,t.jsx)(w.Portal,{asChild:!0,...e});$.displayName="SelectPortal";var Z="SelectContent",G=i.forwardRef((e,r)=>{let n=W(Z,e.__scopeSelect),[o,l]=i.useState();return((0,A.useLayoutEffect)(()=>{l(new DocumentFragment)},[]),n.open)?(0,t.jsx)(et,{...e,ref:r}):o?s.createPortal((0,t.jsx)(J,{scope:e.__scopeSelect,children:(0,t.jsx)(D.Slot,{scope:e.__scopeSelect,children:(0,t.jsx)("div",{children:e.children})})}),o):null});G.displayName=Z;var[J,Q]=I(Z),ee=function(e){let r=function(e){let t=i.forwardRef((e,t)=>{let{children:r,...n}=e;if(i.isValidElement(r)){var o,l,a;let e,s,u=(s=(e=null==(l=Object.getOwnPropertyDescriptor((o=r).props,"ref"))?void 0:l.get)&&"isReactWarning"in e&&e.isReactWarning)?o.ref:(s=(e=null==(a=Object.getOwnPropertyDescriptor(o,"ref"))?void 0:a.get)&&"isReactWarning"in e&&e.isReactWarning)?o.props.ref:o.props.ref||o.ref,c=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]=function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];let n=o(...t);return i(...t),n}: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!==i.Fragment&&(c.ref=t?(0,f.composeRefs)(t,u):u),i.cloneElement(r,c)}return i.Children.count(r)>1?i.Children.only(null):null});return t.displayName="".concat(e,".SlotClone"),t}(e),n=i.forwardRef((e,n)=>{let{children:o,...l}=e,a=i.Children.toArray(o),s=a.find(C);if(s){let e=s.props.children,o=a.map(t=>t!==s?t:i.Children.count(e)>1?i.Children.only(null):i.isValidElement(e)?e.props.children:null);return(0,t.jsx)(r,{...l,ref:n,children:i.isValidElement(e)?i.cloneElement(e,void 0,o):null})}return(0,t.jsx)(r,{...l,ref:n,children:o})});return n.displayName="".concat(e,".Slot"),n}("SelectContent.RemoveScroll"),et=i.forwardRef((e,r)=>{let{__scopeSelect:n,position:o="item-aligned",onCloseAutoFocus:l,onEscapeKeyDown:a,onPointerDownOutside:s,side:u,sideOffset:d,align:p,alignOffset:h,arrowPadding:y,collisionBoundary:x,collisionPadding:w,sticky:b,hideWhenDetached:R,avoidCollisions:C,...S}=e,E=W(Z,n),[A,j]=i.useState(null),[P,T]=i.useState(null),O=(0,f.useComposedRefs)(r,e=>j(e)),[N,D]=i.useState(null),[H,I]=i.useState(null),M=_(n),[z,F]=i.useState(!1),V=i.useRef(!1);i.useEffect(()=>{if(A)return(0,k.hideOthers)(A)},[A]),(0,v.useFocusGuards)();let B=i.useCallback(e=>{let[t,...r]=M().map(e=>e.ref.current),[n]=r.slice(-1),i=document.activeElement;for(let r of e)if(r===i||(null==r||r.scrollIntoView({block:"nearest"}),r===t&&P&&(P.scrollTop=0),r===n&&P&&(P.scrollTop=P.scrollHeight),null==r||r.focus(),document.activeElement!==i))return},[M,P]),K=i.useCallback(()=>B([N,A]),[B,N,A]);i.useEffect(()=>{z&&K()},[z,K]);let{onOpenChange:U,triggerPointerDownPosRef:Y}=E;i.useEffect(()=>{if(A){let e={x:0,y:0},t=t=>{var r,n,i,o;e={x:Math.abs(Math.round(t.pageX)-(null!=(i=null==(r=Y.current)?void 0:r.x)?i:0)),y:Math.abs(Math.round(t.pageY)-(null!=(o=null==(n=Y.current)?void 0:n.y)?o:0))}},r=r=>{e.x<=10&&e.y<=10?r.preventDefault():A.contains(r.target)||U(!1),document.removeEventListener("pointermove",t),Y.current=null};return null!==Y.current&&(document.addEventListener("pointermove",t),document.addEventListener("pointerup",r,{capture:!0,once:!0})),()=>{document.removeEventListener("pointermove",t),document.removeEventListener("pointerup",r,{capture:!0})}}},[A,U,Y]),i.useEffect(()=>{let e=()=>U(!1);return window.addEventListener("blur",e),window.addEventListener("resize",e),()=>{window.removeEventListener("blur",e),window.removeEventListener("resize",e)}},[U]);let[q,X]=eP(e=>{let t=M().filter(e=>!e.disabled),r=t.find(e=>e.ref.current===document.activeElement),n=ek(t,e,r);n&&setTimeout(()=>n.ref.current.focus())}),$=i.useCallback((e,t,r)=>{let n=!V.current&&!r;(void 0!==E.value&&E.value===t||n)&&(D(e),n&&(V.current=!0))},[E.value]),G=i.useCallback(()=>null==A?void 0:A.focus(),[A]),Q=i.useCallback((e,t,r)=>{let n=!V.current&&!r;(void 0!==E.value&&E.value===t||n)&&I(e)},[E.value]),et="popper"===o?en:er,ei=et===en?{side:u,sideOffset:d,align:p,alignOffset:h,arrowPadding:y,collisionBoundary:x,collisionPadding:w,sticky:b,hideWhenDetached:R,avoidCollisions:C}:{};return(0,t.jsx)(J,{scope:n,content:A,viewport:P,onViewportChange:T,itemRefCallback:$,selectedItem:N,onItemLeave:G,itemTextRefCallback:Q,focusSelectedItem:K,selectedItemText:H,position:o,isPositioned:z,searchRef:q,children:(0,t.jsx)(L.RemoveScroll,{as:ee,allowPinchZoom:!0,children:(0,t.jsx)(g.FocusScope,{asChild:!0,trapped:E.open,onMountAutoFocus:e=>{e.preventDefault()},onUnmountAutoFocus:(0,c.composeEventHandlers)(l,e=>{var t;
1null==(t=E.trigger)||t.focus({preventScroll:!0}),e.preventDefault()}),children:(0,t.jsx)(m.DismissableLayer,{asChild:!0,disableOutsidePointerEvents:!0,onEscapeKeyDown:a,onPointerDownOutside:s,onFocusOutside:e=>e.preventDefault(),onDismiss:()=>E.onOpenChange(!1),children:(0,t.jsx)(et,{role:"listbox",id:E.contentId,"data-state":E.open?"open":"closed",dir:E.dir,onContextMenu:e=>e.preventDefault(),...S,...ei,onPlaced:()=>F(!0),ref:O,style:{display:"flex",flexDirection:"column",outline:"none",...S.style},onKeyDown:(0,c.composeEventHandlers)(S.onKeyDown,e=>{let t=e.ctrlKey||e.altKey||e.metaKey;if("Tab"===e.key&&e.preventDefault(),t||1!==e.key.length||X(e.key),["ArrowUp","ArrowDown","Home","End"].includes(e.key)){let t=M().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(()=>B(t)),e.preventDefault()}})})})})})})});et.displayName="SelectContentImpl";var er=i.forwardRef((e,r)=>{let{__scopeSelect:n,onPlaced:o,...l}=e,a=W(Z,n),s=Q(Z,n),[c,d]=i.useState(null),[p,h]=i.useState(null),m=(0,f.useComposedRefs)(r,e=>h(e)),v=_(n),g=i.useRef(!1),y=i.useRef(!0),{viewport:x,selectedItem:w,selectedItemText:R,focusSelectedItem:C}=s,S=i.useCallback(()=>{if(a.trigger&&a.valueNode&&c&&p&&x&&w&&R){let e=a.trigger.getBoundingClientRect(),t=p.getBoundingClientRect(),r=a.valueNode.getBoundingClientRect(),n=R.getBoundingClientRect();if("rtl"!==a.dir){let i=n.left-t.left,o=r.left-i,l=e.left-o,a=e.width+l,s=Math.max(a,t.width),d=window.innerWidth-10,f=(0,u.clamp)(o,[10,Math.max(10,d-s)]);c.style.minWidth=a+"px",c.style.left=f+"px"}else{let i=t.right-n.right,o=window.innerWidth-r.right-i,l=window.innerWidth-e.right-o,a=e.width+l,s=Math.max(a,t.width),d=window.innerWidth-10,f=(0,u.clamp)(o,[10,Math.max(10,d-s)]);c.style.minWidth=a+"px",c.style.right=f+"px"}let i=v(),l=window.innerHeight-20,s=x.scrollHeight,d=window.getComputedStyle(p),f=parseInt(d.borderTopWidth,10),h=parseInt(d.paddingTop,10),m=parseInt(d.borderBottomWidth,10),y=f+h+s+parseInt(d.paddingBottom,10)+m,b=Math.min(5*w.offsetHeight,y),C=window.getComputedStyle(x),S=parseInt(C.paddingTop,10),E=parseInt(C.paddingBottom,10),A=e.top+e.height/2-10,j=w.offsetHeight/2,P=f+h+(w.offsetTop+j);if(P<=A){let e=i.length>0&&w===i[i.length-1].ref.current;c.style.bottom="0px";let t=Math.max(l-A,j+(e?E:0)+(p.clientHeight-x.offsetTop-x.offsetHeight)+m);c.style.height=P+t+"px"}else{let e=i.length>0&&w===i[0].ref.current;c.style.top="0px";let t=Math.max(A,f+x.offsetTop+(e?S:0)+j);c.style.height=t+(y-P)+"px",x.scrollTop=P-A+x.offsetTop}c.style.margin="".concat(10,"px 0"),c.style.minHeight=b+"px",c.style.maxHeight=l+"px",null==o||o(),requestAnimationFrame(()=>g.current=!0)}},[v,a.trigger,a.valueNode,c,p,x,w,R,a.dir,o]);(0,A.useLayoutEffect)(()=>S(),[S]);let[E,j]=i.useState();(0,A.useLayoutEffect)(()=>{p&&j(window.getComputedStyle(p).zIndex)},[p]);let P=i.useCallback(e=>{e&&!0===y.current&&(S(),null==C||C(),y.current=!1)},[S,C]);return(0,t.jsx)(ei,{scope:n,contentWrapper:c,shouldExpandOnScrollRef:g,onScrollButtonChange:P,children:(0,t.jsx)("div",{ref:d,style:{display:"flex",flexDirection:"column",position:"fixed",zIndex:E},children:(0,t.jsx)(b.Primitive.div,{...l,ref:m,style:{boxSizing:"border-box",maxHeight:"100%",...l.style}})})})});er.displayName="SelectItemAlignedPosition";var en=i.forwardRef((e,r)=>{let{__scopeSelect:n,align:i="start",collisionPadding:o=10,...l}=e,a=z(n);return(0,t.jsx)(x.Content,{...a,...l,ref:r,align:i,collisionPadding:o,style:{boxSizing:"border-box",...l.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)"}})});en.displayName="SelectPopperPosition";var[ei,eo]=I(Z,{}),el="SelectViewport",ea=i.forwardRef((e,r)=>{let{__scopeSelect:n,nonce:o,...l}=e,a=Q(el,n),s=eo(el,n),u=(0,f.useComposedRefs)(r,a.onViewportChange),d=i.useRef(0);return(0,t.jsxs)(t.Fragment,{children:[(0,t.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:o}),(0,t.jsx)(D.Slot,{scope:n,children:(0,t.jsx)(b.Primitive.div,{"data-radix-select-viewport":"",role:"presentation",...l,ref:u,style:{position:"relative",flex:1,overflow:"hidden auto",...l.style},onScroll:(0,c.composeEventHandlers)(l.onScroll,e=>{let t=e.currentTarget,{contentWrapper:r,shouldExpandOnScrollRef:n}=s;if((null==n?void 0: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})})})]})});ea.displayName=el;var es="SelectGroup",[eu,ec]=I(es);i.forwardRef((e,r)=>{let{__scopeSelect:n,...i}=e,o=(0,y.useId)();return(0,t.jsx)(eu,{scope:n,id:o,children:(0,t.jsx)(b.Primitive.div,{role:"group","aria-labelledby":o,...i,ref:r})})}).displayName=es;var ed="SelectLabel";i.forwardRef((e,r)=>{let{__scopeSelect:n,...i}=e,o=ec(ed,n);return(0,t.jsx)(b.Primitive.div,{id:o.id,...i,ref:r})}).displayName=ed;var ef="SelectItem",[ep,eh]=I(ef),em=i.forwardRef((e,r)=>{let{__scopeSelect:n,value:o,disabled:l=!1,textValue:a,...s}=e,u=W(ef,n),d=Q(ef,n),p=u.value===o,[h,m]=i.useState(null!=a?a:""),[v,g]=i.useState(!1),x=(0,f.useComposedRefs)(r,e=>{var t;return null==(t=d.itemRefCallback)?void 0:t.call(d,e,o,l)}),w=(0,y.useId)(),R=i.useRef("touch"),C=()=>{l||(u.onValueChange(o),u.onOpenChange(!1))};if(""===o)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,t.jsx)(ep,{scope:n,value:o,disabled:l,textId:w,isSelected:p,onItemTextChange:i.useCallback(e=>{m(t=>{var r;return t||(null!=(r=null==e?void 0:e.textContent)?r:"").trim()})},[]),children:(0,t.jsx)(D.ItemSlot,{scope:n,value:o,disabled:l,textValue:h,children:(0,t.jsx)(b.Primitive.div,{role:"option","aria-labelledby":w,"data-highlighted":v?"":void 0,"aria-selected":p&&v,"data-state":p?"checked":"unchecked","aria-disabled":l||void 0,"data-disabled":l?"":void 0,tabIndex:l?void 0:-1,...s,ref:x,onFocus:(0,c.composeEventHandlers)(s.onFocus,()=>g(!0)),onBlur:(0,c.composeEventHandlers)(s.onBlur,()=>g(!1)),onClick:(0,c.composeEventHandlers)(s.onClick,()=>{"mouse"!==R.current&&C()}),onPointerUp:(0,c.composeEventHandlers)(s.onPointerUp,()=>{"mouse"===R.current&&C()}),onPointerDown:(0,c.composeEventHandlers)(s.onPointerDown,e=>{R.current=e.pointerType}),onPointerMove:(0,c.composeEventHandlers)(s.onPointerMove,e=>{if(R.current=e.pointerType,l){var t;null==(t=d.onItemLeave)||t.call(d)}
1else"mouse"===R.current&&e.currentTarget.focus({preventScroll:!0})}),onPointerLeave:(0,c.composeEventHandlers)(s.onPointerLeave,e=>{if(e.currentTarget===document.activeElement){var t;null==(t=d.onItemLeave)||t.call(d)}}),onKeyDown:(0,c.composeEventHandlers)(s.onKeyDown,e=>{var t;((null==(t=d.searchRef)?void 0:t.current)===""||" "!==e.key)&&(O.includes(e.key)&&C()," "===e.key&&e.preventDefault())})})})})});em.displayName=ef;var ev="SelectItemText",eg=i.forwardRef((e,r)=>{let{__scopeSelect:n,className:o,style:l,...a}=e,u=W(ev,n),c=Q(ev,n),d=eh(ev,n),p=B(ev,n),[h,m]=i.useState(null),v=(0,f.useComposedRefs)(r,e=>m(e),d.onItemTextChange,e=>{var t;return null==(t=c.itemTextRefCallback)?void 0:t.call(c,e,d.value,d.disabled)}),g=null==h?void 0:h.textContent,y=i.useMemo(()=>(0,t.jsx)("option",{value:d.value,disabled:d.disabled,children:g},d.value),[d.disabled,d.value,g]),{onNativeOptionAdd:x,onNativeOptionRemove:w}=p;return(0,A.useLayoutEffect)(()=>(x(y),()=>w(y)),[x,w,y]),(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(b.Primitive.span,{id:d.textId,...a,ref:v}),d.isSelected&&u.valueNode&&!u.valueNodeHasChildren?s.createPortal(a.children,u.valueNode):null]})});eg.displayName=ev;var ey="SelectItemIndicator",ex=i.forwardRef((e,r)=>{let{__scopeSelect:n,...i}=e;return eh(ey,n).isSelected?(0,t.jsx)(b.Primitive.span,{"aria-hidden":!0,...i,ref:r}):null});ex.displayName=ey;var ew="SelectScrollUpButton",eb=i.forwardRef((e,r)=>{let n=Q(ew,e.__scopeSelect),o=eo(ew,e.__scopeSelect),[l,a]=i.useState(!1),s=(0,f.useComposedRefs)(r,o.onScrollButtonChange);return(0,A.useLayoutEffect)(()=>{if(n.viewport&&n.isPositioned){let e=function(){a(t.scrollTop>0)},t=n.viewport;return e(),t.addEventListener("scroll",e),()=>t.removeEventListener("scroll",e)}},[n.viewport,n.isPositioned]),l?(0,t.jsx)(eS,{...e,ref:s,onAutoScroll:()=>{let{viewport:e,selectedItem:t}=n;e&&t&&(e.scrollTop=e.scrollTop-t.offsetHeight)}}):null});eb.displayName=ew;var eR="SelectScrollDownButton",eC=i.forwardRef((e,r)=>{let n=Q(eR,e.__scopeSelect),o=eo(eR,e.__scopeSelect),[l,a]=i.useState(!1),s=(0,f.useComposedRefs)(r,o.onScrollButtonChange);return(0,A.useLayoutEffect)(()=>{if(n.viewport&&n.isPositioned){let e=function(){let e=t.scrollHeight-t.clientHeight;a(Math.ceil(t.scrollTop)<e)},t=n.viewport;return e(),t.addEventListener("scroll",e),()=>t.removeEventListener("scroll",e)}},[n.viewport,n.isPositioned]),l?(0,t.jsx)(eS,{...e,ref:s,onAutoScroll:()=>{let{viewport:e,selectedItem:t}=n;e&&t&&(e.scrollTop=e.scrollTop+t.offsetHeight)}}):null});eC.displayName=eR;var eS=i.forwardRef((e,r)=>{let{__scopeSelect:n,onAutoScroll:o,...l}=e,a=Q("SelectScrollButton",n),s=i.useRef(null),u=_(n),d=i.useCallback(()=>{null!==s.current&&(window.clearInterval(s.current),s.current=null)},[]);return i.useEffect(()=>()=>d(),[d]),(0,A.useLayoutEffect)(()=>{var e;let t=u().find(e=>e.ref.current===document.activeElement);null==t||null==(e=t.ref.current)||e.scrollIntoView({block:"nearest"})},[u]),(0,t.jsx)(b.Primitive.div,{"aria-hidden":!0,...l,ref:r,style:{flexShrink:0,...l.style},onPointerDown:(0,c.composeEventHandlers)(l.onPointerDown,()=>{null===s.current&&(s.current=window.setInterval(o,50))}),onPointerMove:(0,c.composeEventHandlers)(l.onPointerMove,()=>{var e;null==(e=a.onItemLeave)||e.call(a),null===s.current&&(s.current=window.setInterval(o,50))}),onPointerLeave:(0,c.composeEventHandlers)(l.onPointerLeave,()=>{d()})})});i.forwardRef((e,r)=>{let{__scopeSelect:n,...i}=e;return(0,t.jsx)(b.Primitive.div,{"aria-hidden":!0,...i,ref:r})}).displayName="SelectSeparator";var eE="SelectArrow";i.forwardRef((e,r)=>{let{__scopeSelect:n,...i}=e,o=z(n),l=W(eE,n),a=Q(eE,n);return l.open&&"popper"===a.position?(0,t.jsx)(x.Arrow,{...o,...i,ref:r}):null}).displayName=eE;var eA=i.forwardRef((e,r)=>{let{__scopeSelect:n,value:o,...l}=e,a=i.useRef(null),s=(0,f.useComposedRefs)(r,a),u=(0,j.usePrevious)(o);return i.useEffect(()=>{let e=a.current;if(!e)return;let t=Object.getOwnPropertyDescriptor(window.HTMLSelectElement.prototype,"value").set;if(u!==o&&t){let r=new Event("change",{bubbles:!0});t.call(e,o),e.dispatchEvent(r)}},[u,o]),(0,t.jsx)(b.Primitive.select,{...l,style:{...P.VISUALLY_HIDDEN_STYLES,...l.style},ref:s,defaultValue:o})});function ej(e){return""===e||void 0===e}function eP(e){let t=(0,S.useCallbackRef)(e),r=i.useRef(""),n=i.useRef(0),o=i.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=i.useCallback(()=>{r.current="",window.clearTimeout(n.current)},[]);return i.useEffect(()=>()=>window.clearTimeout(n.current),[]),[r,o,l]}function ek(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}eA.displayName="SelectBubbleInput";var eL=e.i(93698),eT=e.i(3636);let eO=(0,o.default)("chevron-up",[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]]);var eN=e.i(75157);function eD(e){let{...r}=e;return(0,t.jsx)(K,{"data-slot":"select",...r})}function e_(e){let{className:r,children:n,...i}=e;return(0,t.jsxs)(Y,{"data-slot":"select-trigger",className:(0,eN.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 h-9 *: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",r),...i,children:[n,(0,t.jsx)(X,{asChild:!0,children:(0,t.jsx)(eT.ChevronDownIcon,{className:"size-4 opacity-50"})})]})}function eH(e){let{className:r,children:n,position:i="popper",...o}=e;return(0,t.jsx)($,{children:(0,t.jsxs)(G,{"data-slot":"select-content",className:(0,eN.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",r),position:i,...o,children:[(0,t.jsx)(eM,{}),(0,t.jsx)(ea,{className:(0,eN.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)(ez,{})]})})}function eI(e){let{className:r,children:n,...i}=e;return(0,t.jsxs)(em,{"data-slot":"select-item",className:(0,eN.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",r),...i,children:[(0,t.jsx)("span",{className:"absolute right-2 flex size-3.5 items-center justify-center",children:(0,t.jsx)(ex,{children:(0,t.jsx)(eL.CheckIcon,{className:"size-4"})})}),(0,t.jsx)(eg,{children:n})]})}function eM(e){let{className:r,...n}=e;return(0,t.jsx)(eb,{"data-slot":"select-scroll-up-button",className:(0,eN.cn)("flex cursor-default items-center justify-center py-1",r),...n,children:(0,t.jsx)(eO,{className:"size-4"})})}function ez(e){let{className:r,...n}=e;return(0,t.jsx)(eC,{"data-slot":"select-scroll-down-button",className:(0,eN.cn)("flex cursor-default items-center justify-center py-1",r),...n,children:(0,t.jsx)(eT.ChevronDownIcon,{className:"size-4"})})}var eF=e.i(44705);let eW=e=>{let{className:o}=e,s=(0,n.useTranslations)("LocaleSwitcher"),u=(0,a.useRouter)(),c=(0,a.usePathname)(),d=(0,r.useLocale)(),[f,p]=(0,i.useTransition)();return(0,t.jsxs)(eD,{value:d,onValueChange:e=>{e!==d&&p(()=>{u.replace({pathname:c},{locale:e})})},disabled:f,children:[(0,t.jsxs)(e_,{"aria-label":s("label"),className:(0,eN.cn)("h-9 w-auto gap-2 rounded-[10px] border-0 bg-transparent px-2.5 text-[14px] font-light text-[#1E2235] shadow-none transition-colors outline-none hover:bg-[#F8F9FF] focus:shadow-none data-[state=open]:bg-[#F8F9FF] [&>svg:last-child]:opacity-100 [&>svg:last-child]:stroke-[1.25] [&>svg:last-child]:transition-transform [&>svg:last-child]:duration-200 data-[state=open]:[&>svg:last-child]:rotate-180",o),children:[(0,t.jsx)(l,{className:"size-4 shrink-0 text-[#1E2235]",strokeWidth:1.25}),d.toUpperCase()]}),(0,t.jsx)(eH,{align:"end",sideOffset:8,className:"min-w-[180px] rounded-[14px] border-0 bg-white p-1.5 text-[#1E2235] shadow-[0px_12px_32px_rgba(30,34,53,0.16)]",children:eF.APP_LOCALES.map(e=>(0,t.jsx)(eI,{value:e,className:"cursor-pointer rounded-[10px] py-2.5 pr-9 pl-3 text-[15px] focus:bg-[#F8F9FF] data-[state=checked]:text-[#8594F8] [&_svg]:text-[#8594F8]",children:s("locale",{locale:e})},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.