PageSourceSearch

https://fajjo.com.br/_next/static/chunks/dfc774a9ed7286f0.js

js fajjo.com.br collected 2026-09-25 12:40:02 UTC 50,536 bytes, 1 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,51483,e=>{"use strict";var t=e.i(30921);e.s(["CheckIcon",()=>t.default])},6279,e=>{"use strict";var t=e.i(75201);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])}e.s(["usePrevious",()=>r])},65048,e=>{"use strict";var t=e.i(75201),r=e.i(88577);function n(e){let[n,o]=t.useState(void 0);return(0,r.useLayoutEffect)(()=>{if(e){o({width:e.offsetWidth,height:e.offsetHeight});let t=new ResizeObserver(t=>{let r,n;if(!Array.isArray(t)||!t.length)return;let i=t[0];if("borderBoxSize"in i){let e=i.borderBoxSize,t=Array.isArray(e)?e[0]:e;r=t.inlineSize,n=t.blockSize}else r=e.offsetWidth,n=e.offsetHeight;o({width:r,height:n})});return t.observe(e,{box:"border-box"}),()=>t.unobserve(e)}o(void 0)},[e]),n}e.s(["useSize",()=>n])},67489,2018,e=>{"use strict";var t=e.i(98134),r=e.i(51483),n=e.i(70472);let o=(0,e.i(3790).default)("chevron-up",[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]]);var i=e.i(75201),l=e.i(29080);function a(e,[t,r]){return Math.min(r,Math.max(t,e))}e.s(["clamp",()=>a],2018);var s=e.i(91967),c=e.i(26492),u=e.i(50888),d=e.i(38082),f=e.i(12138),p=e.i(72416),h=e.i(91148),m=e.i(47284),g=e.i(54041);let v=["top","right","bottom","left"],w=Math.min,x=Math.max,y=Math.round,b=Math.floor,S=e=>({x:e,y:e}),C={left:"right",right:"left",bottom:"top",top:"bottom"},R={start:"end",end:"start"};function E(e,t){return"function"==typeof e?e(t):e}function P(e){return e.split("-")[0]}function j(e){return e.split("-")[1]}function T(e){return"x"===e?"y":"x"}function A(e){return"y"===e?"height":"width"}let L=new Set(["top","bottom"]);function k(e){return L.has(P(e))?"y":"x"}function I(e){return e.replace(/start|end/g,e=>R[e])}let H=["left","right"],D=["right","left"],N=["top","bottom"],O=["bottom","top"];function M(e){return e.replace(/left|right|bottom|top/g,e=>C[e])}function z(e){return"number"!=typeof e?{top:0,right:0,bottom:0,left:0,...e}:{top:e,right:e,bottom:e,left:e}}function B(e){let{x:t,y:r,width:n,height:o}=e;return{width:n,height:o,top:r,left:t,right:t+n,bottom:r+o,x:t,y:r}}function V(e,t,r){let n,{reference:o,floating:i}=e,l=k(t),a=T(k(t)),s=A(a),c=P(t),u="y"===l,d=o.x+o.width/2-i.width/2,f=o.y+o.height/2-i.height/2,p=o[s]/2-i[s]/2;switch(c){case"top":n={x:d,y:o.y-i.height};break;case"bottom":n={x:d,y:o.y+o.height};break;case"right":n={x:o.x+o.width,y:f};break;case"left":n={x:o.x-i.width,y:f};break;default:n={x:o.x,y:o.y}}switch(j(t)){case"start":n[a]-=p*(r&&u?-1:1);break;case"end":n[a]+=p*(r&&u?-1:1)}return n}async function F(e,t){var r;void 0===t&&(t={});let{x:n,y:o,platform:i,rects:l,elements:a,strategy:s}=e,{boundary:c="clippingAncestors",rootBoundary:u="viewport",elementContext:d="floating",altBoundary:f=!1,padding:p=0}=E(t,e),h=z(p),m=a[f?"floating"===d?"reference":"floating":d],g=B(await i.getClippingRect({element:null==(r=await (null==i.isElement?void 0:i.isElement(m)))||r?m:m.contextElement||await (null==i.getDocumentElement?void 0:i.getDocumentElement(a.floating)),boundary:c,rootBoundary:u,strategy:s})),v="floating"===d?{x:n,y:o,width:l.floating.width,height:l.floating.height}:l.reference,w=await (null==i.getOffsetParent?void 0:i.getOffsetParent(a.floating)),x=await (null==i.isElement?void 0:i.isElement(w))&&await (null==i.getScale?void 0:i.getScale(w))||{x:1,y:1},y=B(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:a,rect:v,offsetParent:w,strategy:s}):v);return{top:(g.top-y.top+h.top)/x.y,bottom:(y.bottom-g.bottom+h.bottom)/x.y,left:(g.left-y.left+h.left)/x.x,right:(y.right-g.right+h.right)/x.x}}let _=async(e,t,r)=>{let{placement:n="bottom",strategy:o="absolute",middleware:i=[],platform:l}=r,a=i.filter(Boolean),s=await (null==l.isRTL?void 0:l.isRTL(t)),c=await l.getElementRects({reference:e,floating:t,strategy:o}),{x:u,y:d}=V(c,n,s),f=n,p={},h=0;for(let r=0;r<a.length;r++){var m;let{name:i,fn:g}=a[r],{x:v,y:w,data:x,reset:y}=await g({x:u,y:d,initialPlacement:n,placement:f,strategy:o,middlewareData:p,rects:c,platform:{...l,detectOverflow:null!=(m=l.detectOverflow)?m:F},elements:{reference:e,floating:t}});u=null!=v?v:u,d=null!=w?w:d,p={...p,[i]:{...p[i],...x}},y&&h<=50&&(h++,"object"==typeof y&&(y.placement&&(f=y.placement),y.rects&&(c=!0===y.rects?await l.getElementRects({reference:e,floating:t,strategy:o}):y.rects),{x:u,y:d}=V(c,f,s)),r=-1)}return{x:u,y:d,placement:f,strategy:o,middlewareData:p}};function W(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function K(e){return v.some(t=>e[t]>=0)}let $=new Set(["left","top"]);async function U(e,t){let{placement:r,platform:n,elements:o}=e,i=await (null==n.isRTL?void 0:n.isRTL(o.floating)),l=P(r),a=j(r),s="y"===k(r),c=$.has(l)?-1:1,u=i&&s?-1:1,d=E(t,e),{mainAxis:f,crossAxis:p,alignmentAxis:h}="number"==typeof d?{mainAxis:d,crossAxis:0,alignmentAxis:null}
1:{mainAxis:d.mainAxis||0,crossAxis:d.crossAxis||0,alignmentAxis:d.alignmentAxis};return a&&"number"==typeof h&&(p="end"===a?-1*h:h),s?{x:p*u,y:f*c}:{x:f*c,y:p*u}}function Y(){return"u">typeof window}function X(e){return Z(e)?(e.nodeName||"").toLowerCase():"#document"}function q(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function G(e){var t;return null==(t=(Z(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function Z(e){return!!Y()&&(e instanceof Node||e instanceof q(e).Node)}function J(e){return!!Y()&&(e instanceof Element||e instanceof q(e).Element)}function Q(e){return!!Y()&&(e instanceof HTMLElement||e instanceof q(e).HTMLElement)}function ee(e){return!(!Y()||"u"<typeof ShadowRoot)&&(e instanceof ShadowRoot||e instanceof q(e).ShadowRoot)}let et=new Set(["inline","contents"]);function er(e){let{overflow:t,overflowX:r,overflowY:n,display:o}=ep(e);return/auto|scroll|overlay|hidden|clip/.test(t+n+r)&&!et.has(o)}let en=new Set(["table","td","th"]),eo=[":popover-open",":modal"];function ei(e){return eo.some(t=>{try{return e.matches(t)}catch(e){return!1}})}let el=["transform","translate","scale","rotate","perspective"],ea=["transform","translate","scale","rotate","perspective","filter"],es=["paint","layout","strict","content"];function ec(e){let t=eu(),r=J(e)?ep(e):e;return el.some(e=>!!r[e]&&"none"!==r[e])||!!r.containerType&&"normal"!==r.containerType||!t&&!!r.backdropFilter&&"none"!==r.backdropFilter||!t&&!!r.filter&&"none"!==r.filter||ea.some(e=>(r.willChange||"").includes(e))||es.some(e=>(r.contain||"").includes(e))}function eu(){return!("u"<typeof CSS)&&!!CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")}let ed=new Set(["html","body","#document"]);function ef(e){return ed.has(X(e))}function ep(e){return q(e).getComputedStyle(e)}function eh(e){return J(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function em(e){if("html"===X(e))return e;let t=e.assignedSlot||e.parentNode||ee(e)&&e.host||G(e);return ee(t)?t.host:t}function eg(e,t,r){var n;void 0===t&&(t=[]),void 0===r&&(r=!0);let o=function e(t){let r=em(t);return ef(r)?t.ownerDocument?t.ownerDocument.body:t.body:Q(r)&&er(r)?r:e(r)}(e),i=o===(null==(n=e.ownerDocument)?void 0:n.body),l=q(o);if(i){let e=ev(l);return t.concat(l,l.visualViewport||[],er(o)?o:[],e&&r?eg(e):[])}return t.concat(o,eg(o,[],r))}function ev(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function ew(e){let t=ep(e),r=parseFloat(t.width)||0,n=parseFloat(t.height)||0,o=Q(e),i=o?e.offsetWidth:r,l=o?e.offsetHeight:n,a=y(r)!==i||y(n)!==l;return a&&(r=i,n=l),{width:r,height:n,$:a}}function ex(e){return J(e)?e:e.contextElement}function ey(e){let t=ex(e);if(!Q(t))return S(1);let r=t.getBoundingClientRect(),{width:n,height:o,$:i}=ew(t),l=(i?y(r.width):r.width)/n,a=(i?y(r.height):r.height)/o;return l&&Number.isFinite(l)||(l=1),a&&Number.isFinite(a)||(a=1),{x:l,y:a}}let eb=S(0);function eS(e){let t=q(e);return eu()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:eb}function eC(e,t,r,n){var o;void 0===t&&(t=!1),void 0===r&&(r=!1);let i=e.getBoundingClientRect(),l=ex(e),a=S(1);t&&(n?J(n)&&(a=ey(n)):a=ey(e));let s=(void 0===(o=r)&&(o=!1),n&&(!o||n===q(l))&&o)?eS(l):S(0),c=(i.left+s.x)/a.x,u=(i.top+s.y)/a.y,d=i.width/a.x,f=i.height/a.y;if(l){let e=q(l),t=n&&J(n)?q(n):n,r=e,o=ev(r);for(;o&&n&&t!==r;){let e=ey(o),t=o.getBoundingClientRect(),n=ep(o),i=t.left+(o.clientLeft+parseFloat(n.paddingLeft))*e.x,l=t.top+(o.clientTop+parseFloat(n.paddingTop))*e.y;c*=e.x,u*=e.y,d*=e.x,f*=e.y,c+=i,u+=l,o=ev(r=q(o))}}return B({width:d,height:f,x:c,y:u})}function eR(e,t){let r=eh(e).scrollLeft;return t?t.left+r:eC(G(e)).left+r}function eE(e,t){let r=e.getBoundingClientRect();return{x:r.left+t.scrollLeft-eR(e,r),y:r.top+t.scrollTop}}let eP=new Set(["absolute","fixed"]);function ej(e,t,r){var n;let o;if("viewport"===t)o=function(e,t){let r=q(e),n=G(e),o=r.visualViewport,i=n.clientWidth,l=n.clientHeight,a=0,s=0;if(o){i=o.width,l=o.height;let e=eu();(!e||e&&"fixed"===t)&&(a=o.offsetLeft,s=o.offsetTop)}let c=eR(n);if(c<=0){let e=n.ownerDocument,t=e.body,r=getComputedStyle(t),o="CSS1Compat"===e.compatMode&&parseFloat(r.marginLeft)+parseFloat(r.marginRight)||0,l=Math.abs(n.clientWidth-t.clientWidth-o);l<=25&&(i-=l)}else c<=25&&(i+=c);return{width:i,height:l,x:a,y:s}}(e,r);else if("document"===t){let t,r,i,l,a,s,c;n=G(e),t=G(n),r=eh(n),i=n.ownerDocument.body,l=x(t.scrollWidth,t.clientWidth,i.scrollWidth,i.clientWidth),a=x(t.scrollHeight,t.clientHeight,i.scrollHeight,i.clientHeight),s=-r.scrollLeft+eR(n),c=-r.
1scrollTop,"rtl"===ep(i).direction&&(s+=x(t.clientWidth,i.clientWidth)-l),o={width:l,height:a,x:s,y:c}}else if(J(t)){let e,n,i,l,a,s;n=(e=eC(t,!0,"fixed"===r)).top+t.clientTop,i=e.left+t.clientLeft,l=Q(t)?ey(t):S(1),a=t.clientWidth*l.x,s=t.clientHeight*l.y,o={width:a,height:s,x:i*l.x,y:n*l.y}}else{let r=eS(e);o={x:t.x-r.x,y:t.y-r.y,width:t.width,height:t.height}}return B(o)}function eT(e){return"static"===ep(e).position}function eA(e,t){if(!Q(e)||"fixed"===ep(e).position)return null;if(t)return t(e);let r=e.offsetParent;return G(e)===r&&(r=r.ownerDocument.body),r}function eL(e,t){var r;let n=q(e);if(ei(e))return n;if(!Q(e)){let t=em(e);for(;t&&!ef(t);){if(J(t)&&!eT(t))return t;t=em(t)}return n}let o=eA(e,t);for(;o&&(r=o,en.has(X(r)))&&eT(o);)o=eA(o,t);return o&&ef(o)&&eT(o)&&!ec(o)?n:o||function(e){let t=em(e);for(;Q(t)&&!ef(t);){if(ec(t))return t;if(ei(t))break;t=em(t)}return null}(e)||n}let ek=async function(e){let t=this.getOffsetParent||eL,r=this.getDimensions,n=await r(e.floating);return{reference:function(e,t,r){let n=Q(t),o=G(t),i="fixed"===r,l=eC(e,!0,i,t),a={scrollLeft:0,scrollTop:0},s=S(0);
1if(n||!n&&!i)if(("body"!==X(t)||er(o))&&(a=eh(t)),n){let e=eC(t,!0,i,t);s.x=e.x+t.clientLeft,s.y=e.y+t.clientTop}else o&&(s.x=eR(o));i&&!n&&o&&(s.x=eR(o));let c=!o||n||i?S(0):eE(o,a);return{x:l.left+a.scrollLeft-s.x-c.x,y:l.top+a.scrollTop-s.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}}},eI={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:r,offsetParent:n,strategy:o}=e,i="fixed"===o,l=G(n),a=!!t&&ei(t.floating);if(n===l||a&&i)return r;let s={scrollLeft:0,scrollTop:0},c=S(1),u=S(0),d=Q(n);if((d||!d&&!i)&&(("body"!==X(n)||er(l))&&(s=eh(n)),Q(n))){let e=eC(n);c=ey(n),u.x=e.x+n.clientLeft,u.y=e.y+n.clientTop}let f=!l||d||i?S(0):eE(l,s);return{width:r.width*c.x,height:r.height*c.y,x:r.x*c.x-s.scrollLeft*c.x+u.x+f.x,y:r.y*c.y-s.scrollTop*c.y+u.y+f.y}},getDocumentElement:G,getClippingRect:function(e){let{element:t,boundary:r,rootBoundary:n,strategy:o}=e,i=[..."clippingAncestors"===r?ei(t)?[]:function(e,t){let r=t.get(e);if(r)return r;let n=eg(e,[],!1).filter(e=>J(e)&&"body"!==X(e)),o=null,i="fixed"===ep(e).position,l=i?em(e):e;for(;J(l)&&!ef(l);){let t=ep(l),r=ec(l);r||"fixed"!==t.position||(o=null),(i?!r&&!o:!r&&"static"===t.position&&!!o&&eP.has(o.position)||er(l)&&!r&&function e(t,r){let n=em(t);return!(n===r||!J(n)||ef(n))&&("fixed"===ep(n).position||e(n,r))}(e,l))?n=n.filter(e=>e!==l):o=t,l=em(l)}return t.set(e,n),n}(t,this._c):[].concat(r),n],l=i[0],a=i.reduce((e,r)=>{let n=ej(t,r,o);return e.top=x(n.top,e.top),e.right=w(n.right,e.right),e.bottom=w(n.bottom,e.bottom),e.left=x(n.left,e.left),e},ej(t,l,o));return{width:a.right-a.left,height:a.bottom-a.top,x:a.left,y:a.top}},getOffsetParent:eL,getElementRects:ek,getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){let{width:t,height:r}=ew(e);return{width:t,height:r}},getScale:ey,isElement:J,isRTL:function(e){return"rtl"===ep(e).direction}};function eH(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:o,rects:i,platform:l,elements:a,middlewareData:s}=t,{element:c,padding:u=0}=E(e,t)||{};if(null==c)return{};let d=z(u),f={x:r,y:n},p=T(k(o)),h=A(p),m=await l.getDimensions(c),g="y"===p,v=g?"clientHeight":"clientWidth",y=i.reference[h]+i.reference[p]-f[p]-i.floating[h],b=f[p]-i.reference[p],S=await (null==l.getOffsetParent?void 0:l.getOffsetParent(c)),C=S?S[v]:0;C&&await (null==l.isElement?void 0:l.isElement(S))||(C=a.floating[v]||i.floating[h]);let R=C/2-m[h]/2-1,P=w(d[g?"top":"left"],R),L=w(d[g?"bottom":"right"],R),I=C-m[h]-L,H=C/2-m[h]/2+(y/2-b/2),D=x(P,w(H,I)),N=!s.arrow&&null!=j(o)&&H!==D&&i.reference[h]/2-(H<P?P:L)-m[h]/2<0,O=N?H<P?H-P:H-I:0;return{[p]:f[p]+O,data:{[p]:D,centerOffset:H-D-O,...N&&{alignmentOffset:O}},reset:N}}});var eN="u">typeof document?i.useLayoutEffect:function(){};function eO(e,t){let r,n,o;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(!eO(e[n],t[n]))return!1;return!0}if((r=(o=Object.keys(e)).length)!==Object.keys(t).length)return!1;for(n=r;0!=n--;)if(!({}).hasOwnProperty.call(t,o[n]))return!1;for(n=r;0!=n--;){let r=o[n];if(("_owner"!==r||!e.$$typeof)&&!eO(e[r],t[r]))return!1}return!0}return e!=e&&t!=t}function eM(e){return"u"<typeof window?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function ez(e,t){let r=eM(e);return Math.round(t*r)/r}function eB(e){let t=i.useRef(e);return eN(()=>{t.current=e}),t}var eV=e.i(85381),eF=i.forwardRef((e,r)=>{let{children:n,width:o=10,height:i=5,...l}=e;return(0,t.jsx)(eV.Primitive.svg,{...l,ref:r,width:o,height:i,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?n:(0,t.jsx)("polygon",{points:"0,0 30,0 15,10"})})});eF.displayName="Arrow";var e_=e.i(84080),eW=e.i(88577),eK=e.i(65048),e$="Popper",[eU,eY]=(0,d.createContextScope)(e$),[eX,eq]=eU(e$),eG=e=>{let{__scopePopper:r,children:n}=e,[o,l]=i.useState(null);return(0,t.jsx)(eX,{scope:r,anchor:o,onAnchorChange:l,children:n})};eG.displayName=e$;var eZ="PopperAnchor",eJ=i.forwardRef((e,r)=>{let{__scopePopper:n,virtualRef:o,...l}=e,a=eq(eZ,n),s=i.useRef(null),c=(0,u.useComposedRefs)(r,s),d=i.useRef(null);return i.useEffect(()=>{let e=d.current;d.current=o?.current||s.current,e!==d.current&&a.onAnchorChange(d.current)}),o?null:(0,t.jsx)(eV.Primitive.div,{...l,ref:c})});eJ.displayName=eZ;var eQ="PopperContent",[e0,e1]=eU(eQ),e2=i.forwardRef((e,r)=>{var n,o,a,s,c,d,f,p,h,m,g,v,y;let{__scopePopper:S,side:C="bottom",sideOffset:R=0,align:L="center",alignOffset:z=0,arrowPadding:B=0,avoidCollisions:V=!0,collisionBoundary:F=[],collisionPadding:Y=0,sticky:X="partial",hideWhenDetached:q=!1,updatePositionStrategy:Z="optimized",onPlaced:J,...Q}=e,ee=eq(eQ,S),[et,er]=i.useState(null),en=(0,u.useComposedRefs)(r,e=>er(e)),[eo,ei]=i.useState(null),el=(0,eK.useSize)(eo),ea=el?.width??0,es=el?.height??0,ec="number"==typeof Y?Y:{top:0,right:0,bottom:0,left:0,...Y},eu=Array.isArray(F)?F:[F],ed=eu.length>0,ef={padding:ec,boundary:eu.filter(e7),altBoundary:ed},{refs:ep,floatingStyles:eh,placement:em,isPositioned:ev,middlewareData:ew}=function(e){void 0===e&&(e={});let{placement:t="bottom",strategy:r="absolute",middleware:n=[],platform:o,elements:{reference:a,floating:s}={},transform:c=!0,whileElementsMounted:u,open:d}=e,[f,p]=i.useState({x:0,y:0,strategy:r,placement:t,middlewareData:{},isPositioned:!1}),[h,m]=i.useState(n);eO(h,n)||m(n);let[g,v]=i.useState(null),[w,x]=i.useState(null),y=i.useCallback(e=>
1{e!==R.current&&(R.current=e,v(e))},[]),b=i.useCallback(e=>{e!==E.current&&(E.current=e,x(e))},[]),S=a||g,C=s||w,R=i.useRef(null),E=i.useRef(null),P=i.useRef(f),j=null!=u,T=eB(u),A=eB(o),L=eB(d),k=i.useCallback(()=>{var e,n;let o,i,a;if(!R.current||!E.current)return;let s={placement:t,strategy:r,middleware:h};A.current&&(s.platform=A.current),(e=R.current,n=E.current,o=new Map,a={...(i={platform:eI,...s}).platform,_c:o},_(e,n,{...i,platform:a})).then(e=>{let t={...e,isPositioned:!1!==L.current};I.current&&!eO(P.current,t)&&(P.current=t,l.flushSync(()=>{p(t)}))})},[h,t,r,A,L]);eN(()=>{!1===d&&P.current.isPositioned&&(P.current.isPositioned=!1,p(e=>({...e,isPositioned:!1})))},[d]);let I=i.useRef(!1);eN(()=>(I.current=!0,()=>{I.current=!1}),[]),eN(()=>{if(S&&(R.current=S),C&&(E.current=C),S&&C){if(T.current)return T.current(S,C,k);k()}},[S,C,k,T,j]);let H=i.useMemo(()=>({reference:R,floating:E,setReference:y,setFloating:b}),[y,b]),D=i.useMemo(()=>({reference:S,floating:C}),[S,C]),N=i.useMemo(()=>{let e={position:r,left:0,top:0};if(!D.floating)return e;let t=ez(D.floating,f.x),n=ez(D.floating,f.y);return c?{...e,transform:"translate("+t+"px, "+n+"px)",...eM(D.floating)>=1.5&&{willChange:"transform"}}:{position:r,left:t,top:n}},[r,c,D.floating,f.x,f.y]);return i.useMemo(()=>({...f,update:k,refs:H,elements:D,floatingStyles:N}),[f,k,H,D,N])}({strategy:"fixed",placement:C+("center"!==L?"-"+L:""),whileElementsMounted:(...e)=>(function(e,t,r,n){let o;void 0===n&&(n={});let{ancestorScroll:i=!0,ancestorResize:l=!0,elementResize:a="function"==typeof ResizeObserver,layoutShift:s="function"==typeof IntersectionObserver,animationFrame:c=!1}=n,u=ex(e),d=i||l?[...u?eg(u):[],...eg(t)]:[];d.forEach(e=>{i&&e.addEventListener("scroll",r,{passive:!0}),l&&e.addEventListener("resize",r)});let f=u&&s?function(e,t){let r,n=null,o=G(e);function i(){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),i();let c=e.getBoundingClientRect(),{left:u,top:d,width:f,height:p}=c;if(a||t(),!f||!p)return;let h={rootMargin:-b(d)+"px "+-b(o.clientWidth-(u+f))+"px "+-b(o.clientHeight-(d+p))+"px "+-b(u)+"px",threshold:x(0,w(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||eH(c,e.getBoundingClientRect())||l(),m=!1}try{n=new IntersectionObserver(g,{...h,root:o.ownerDocument})}catch(e){n=new IntersectionObserver(g,h)}n.observe(e)}(!0),i}(u,r):null,p=-1,h=null;a&&(h=new ResizeObserver(e=>{let[n]=e;n&&n.target===u&&h&&(h.unobserve(t),cancelAnimationFrame(p),p=requestAnimationFrame(()=>{var e;null==(e=h)||e.observe(t)})),r()}),u&&!c&&h.observe(u),h.observe(t));let m=c?eC(e):null;return c&&function t(){let n=eC(e);m&&!eH(m,n)&&r(),m=n,o=requestAnimationFrame(t)}(),r(),()=>{var e;d.forEach(e=>{i&&e.removeEventListener("scroll",r),l&&e.removeEventListener("resize",r)}),null==f||f(),null==(e=h)||e.disconnect(),h=null,c&&cancelAnimationFrame(o)}})(...e,{animationFrame:"always"===Z}),elements:{reference:ee.anchor},middleware:[{...{name:"offset",options:o=n={mainAxis:R+es,alignmentAxis:z},async fn(e){var t,r;let{x:n,y:i,placement:l,middlewareData:a}=e,s=await U(e,o);return l===(null==(t=a.offset)?void 0:t.placement)&&null!=(r=a.arrow)&&r.alignmentOffset?{}:{x:n+s.x,y:i+s.y,data:{...s,placement:l}}}},options:[n,void 0]},V&&{...{name:"shift",options:c=s={mainAxis:!0,crossAxis:!1,limiter:"partial"===X?{...(a=void 0,{options:a={},fn(e){let{x:t,y:r,placement:n,rects:o,middlewareData:i}=e,{offset:l=0,mainAxis:s=!0,crossAxis:c=!0}=E(a,e),u={x:t,y:r},d=k(n),f=T(d),p=u[f],h=u[d],m=E(l,e),g="number"==typeof m?{mainAxis:m,crossAxis:0}:{mainAxis:0,crossAxis:0,...m};if(s){let e="y"===f?"height":"width",t=o.reference[f]-o.floating[e]+g.mainAxis,r=o.reference[f]+o.reference[e]-g.mainAxis;p<t?p=t:p>r&&(p=r)}if(c){var v,w;let e="y"===f?"width":"height",t=$.has(P(n)),r=o.reference[d]-o.floating[e]+(t&&(null==(v=i.offset)?void 0:v[d])||0)+(t?0:g.crossAxis),l=o.reference[d]+o.reference[e]+(t?0:(null==(w=i.offset)?void 0:w[d])||0)-(t?g.crossAxis:0);h<r?h=r:h>l&&(h=l)}return{[f]:p,[d]:h}}}),options:[void 0,void 0]}:void 0,...ef},async fn(e){let{x:t,y:r,placement:n,platform:o}=e,{mainAxis:i=!0,crossAxis:l=!1,limiter:a={fn:e=>{let{x:t,y:r}=e;return{x:t,y:r}}},...s}=E(c,e),u={x:t,y:r},d=await o.detectOverflow(e,s),f=k(P(n)),p=T(f),h=u[p],m=u[f];
1if(i){let e="y"===p?"top":"left",t="y"===p?"bottom":"right",r=h+d[e],n=h-d[t];h=x(r,w(h,n))}if(l){let e="y"===f?"top":"left",t="y"===f?"bottom":"right",r=m+d[e],n=m-d[t];m=x(r,w(m,n))}let g=a.fn({...e,[p]:h,[f]:m});return{...g,data:{x:g.x-t,y:g.y-r,enabled:{[p]:i,[f]:l}}}}},options:[s,void 0]},V&&{...{name:"flip",options:f=d={...ef},async fn(e){var t,r,n,o,i,l,a,s;let c,u,d,{placement:p,middlewareData:h,rects:m,initialPlacement:g,platform:v,elements:w}=e,{mainAxis:x=!0,crossAxis:y=!0,fallbackPlacements:b,fallbackStrategy:S="bestFit",fallbackAxisSideDirection:C="none",flipAlignment:R=!0,...L}=E(f,e);if(null!=(t=h.arrow)&&t.alignmentOffset)return{};let z=P(p),B=k(g),V=P(g)===g,F=await (null==v.isRTL?void 0:v.isRTL(w.floating)),_=b||(V||!R?[M(g)]:(c=M(g),[I(g),c,I(c)])),W="none"!==C;!b&&W&&_.push(...(u=j(g),d=function(e,t,r){switch(e){case"top":case"bottom":if(r)return t?D:H;return t?H:D;case"left":case"right":return t?N:O;default:return[]}}(P(g),"start"===C,F),u&&(d=d.map(e=>e+"-"+u),R&&(d=d.concat(d.map(I)))),d));let K=[g,..._],$=await v.detectOverflow(e,L),U=[],Y=(null==(r=h.flip)?void 0:r.overflows)||[];if(x&&U.push($[z]),y){let e,t,r,n,o=(l=p,a=m,void 0===(s=F)&&(s=!1),e=j(l),r=A(t=T(k(l))),n="x"===t?e===(s?"end":"start")?"right":"left":"start"===e?"bottom":"top",a.reference[r]>a.floating[r]&&(n=M(n)),[n,M(n)]);U.push($[o[0]],$[o[1]])}if(Y=[...Y,{placement:p,overflows:U}],!U.every(e=>e<=0)){let e=((null==(n=h.flip)?void 0:n.index)||0)+1,t=K[e];if(t&&("alignment"!==y||B===k(t)||Y.every(e=>k(e.placement)!==B||e.overflows[0]>0)))return{data:{index:e,overflows:Y},reset:{placement:t}};let r=null==(o=Y.filter(e=>e.overflows[0]<=0).sort((e,t)=>e.overflows[1]-t.overflows[1])[0])?void 0:o.placement;if(!r)switch(S){case"bestFit":{let e=null==(i=Y.filter(e=>{if(W){let t=k(e.placement);return t===B||"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:i[0];e&&(r=e);break}case"initialPlacement":r=g}if(p!==r)return{reset:{placement:r}}}return{}}},options:[d,void 0]},{...{name:"size",options:h=p={...ef,apply:({elements:e,rects:t,availableWidth:r,availableHeight:n})=>{let{width:o,height:i}=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",`${o}px`),l.setProperty("--radix-popper-anchor-height",`${i}px`)}},async fn(e){var t,r;let n,o,{placement:i,rects:l,platform:a,elements:s}=e,{apply:c=()=>{},...u}=E(h,e),d=await a.detectOverflow(e,u),f=P(i),p=j(i),m="y"===k(i),{width:g,height:v}=l.floating;"top"===f||"bottom"===f?(n=f,o=p===(await (null==a.isRTL?void 0:a.isRTL(s.floating))?"start":"end")?"left":"right"):(o=f,n="end"===p?"top":"bottom");let y=v-d.top-d.bottom,b=g-d.left-d.right,S=w(v-d[n],y),C=w(g-d[o],b),R=!e.middlewareData.shift,T=S,A=C;if(null!=(t=e.middlewareData.shift)&&t.enabled.x&&(A=b),null!=(r=e.middlewareData.shift)&&r.enabled.y&&(T=y),R&&!p){let e=x(d.left,0),t=x(d.right,0),r=x(d.top,0),n=x(d.bottom,0);m?A=g-2*(0!==e||0!==t?e+t:x(d.left,d.right)):T=v-2*(0!==r||0!==n?r+n:x(d.top,d.bottom))}await c({...e,availableWidth:A,availableHeight:T});let L=await a.getDimensions(s.floating);return g!==L.width||v!==L.height?{reset:{rects:!0}}:{}}},options:[p,void 0]},eo&&{...{name:"arrow",options:g=m={element:eo,padding:B},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):{}}},options:[m,void 0]},e3({arrowWidth:ea,arrowHeight:es}),q&&{...{name:"hide",options:y=v={strategy:"referenceHidden",...ef},async fn(e){let{rects:t,platform:r}=e,{strategy:n="referenceHidden",...o}=E(y,e);switch(n){case"referenceHidden":{let n=W(await r.detectOverflow(e,{...o,elementContext:"reference"}),t.reference);return{data:{referenceHiddenOffsets:n,referenceHidden:K(n)}}}case"escaped":{let n=W(await r.detectOverflow(e,{...o,altBoundary:!0}),t.floating);return{data:{escapedOffsets:n,escaped:K(n)}}}default:return{}}}},options:[v,void 0]}]}),[ey,eb]=e9(em),eS=(0,e_.useCallbackRef)(J);(0,eW.useLayoutEffect)(()=>{ev&&eS?.()},[ev,eS]);let eR=ew.arrow?.x,eE=ew.arrow?.y,eP=ew.arrow?.centerOffset!==0,[ej,eT]=i.useState();return(0,eW.useLayoutEffect)(()=>{et&&eT(window.getComputedStyle(et).zIndex)},[et]),(0,t.jsx)("div",{ref:ep.setFloating,"data-radix-popper-content-wrapper":"",style:{...eh,transform:ev?eh.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:ej,"--radix-popper-transform-origin":[ew.transformOrigin?.x,ew.transformOrigin?.y].join(" "),...ew.hide?.referenceHidden&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:(0,t.jsx)(e0,{scope:S,placedSide:ey,onArrowChange:ei,arrowX:eR,arrowY:eE,shouldHideArrow:eP,children:(0,t.jsx)(eV.Primitive.div,{"data-side":ey,"data-align":eb,...Q,ref:en,style:{...Q.style,animation:ev?void 0:"none"}})})})});e2.displayName=eQ;var e5="PopperArrow",e8={top:"bottom",right:"left",bottom:"top",left:"r
1ight"},e4=i.forwardRef(function(e,r){let{__scopePopper:n,...o}=e,i=e1(e5,n),l=e8[i.placedSide];return(0,t.jsx)("span",{ref:i.onArrowChange,style:{position:"absolute",left:i.arrowX,top:i.arrowY,[l]: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,t.jsx)(eF,{...o,ref:r,style:{...o.style,display:"block"}})})});function e7(e){return null!==e}e4.displayName=e5;var e3=e=>({name:"transformOrigin",options:e,fn(t){let{placement:r,rects:n,middlewareData:o}=t,i=o.arrow?.centerOffset!==0,l=i?0:e.arrowWidth,a=i?0:e.arrowHeight,[s,c]=e9(r),u={start:"0%",center:"50%",end:"100%"}[c],d=(o.arrow?.x??0)+l/2,f=(o.arrow?.y??0)+a/2,p="",h="";return"bottom"===s?(p=i?u:`${d}px`,h=`${-a}px`):"top"===s?(p=i?u:`${d}px`,h=`${n.floating.height+a}px`):"right"===s?(p=`${-a}px`,h=i?u:`${f}px`):"left"===s&&(p=`${n.floating.width+a}px`,h=i?u:`${f}px`),{data:{x:p,y:h}}}});function e9(e){let[t,r="center"]=e.split("-");return[t,r]}var e6=e.i(1404),te=e.i(97245),tt=e.i(38185),tr=e.i(6279),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"});i.forwardRef((e,r)=>(0,t.jsx)(eV.Primitive.span,{...e,ref:r,style:{...tn,...e.style}})).displayName="VisuallyHidden";var to=e.i(73772),ti=e.i(12180),tl=[" ","Enter","ArrowUp","ArrowDown"],ta=[" ","Enter"],ts="Select",[tc,tu,td]=(0,c.createCollection)(ts),[tf,tp]=(0,d.createContextScope)(ts,[td,eY]),th=eY(),[tm,tg]=tf(ts),[tv,tw]=tf(ts),tx=e=>{let{__scopeSelect:r,children:n,open:o,defaultOpen:l,onOpenChange:a,value:s,defaultValue:c,onValueChange:u,dir:d,name:p,autoComplete:h,disabled:m,required:v,form:w}=e,x=th(r),[y,b]=i.useState(null),[S,C]=i.useState(null),[R,E]=i.useState(!1),P=(0,f.useDirection)(d),[j,T]=(0,tt.useControllableState)({prop:o,defaultProp:l??!1,onChange:a,caller:ts}),[A,L]=(0,tt.useControllableState)({prop:s,defaultProp:c,onChange:u,caller:ts}),k=i.useRef(null),I=!y||w||!!y.closest("form"),[H,D]=i.useState(new Set),N=Array.from(H).map(e=>e.props.value).join(";");return(0,t.jsx)(eG,{...x,children:(0,t.jsxs)(tm,{required:v,scope:r,trigger:y,onTriggerChange:b,valueNode:S,onValueNodeChange:C,valueNodeHasChildren:R,onValueNodeHasChildrenChange:E,contentId:(0,g.useId)(),value:A,onValueChange:L,open:j,onOpenChange:T,dir:P,triggerPointerDownPosRef:k,disabled:m,children:[(0,t.jsx)(tc.Provider,{scope:r,children:(0,t.jsx)(tv,{scope:e.__scopeSelect,onNativeOptionAdd:i.useCallback(e=>{D(t=>new Set(t).add(e))},[]),onNativeOptionRemove:i.useCallback(e=>{D(t=>{let r=new Set(t);return r.delete(e),r})},[]),children:n})}),I?(0,t.jsxs)(t7,{"aria-hidden":!0,required:v,tabIndex:-1,name:p,autoComplete:h,value:A,onChange:e=>L(e.target.value),disabled:m,form:w,children:[void 0===A?(0,t.jsx)("option",{value:""}):null,Array.from(H)]},N):null]})})};tx.displayName=ts;var ty="SelectTrigger",tb=i.forwardRef((e,r)=>{let{__scopeSelect:n,disabled:o=!1,...l}=e,a=th(n),c=tg(ty,n),d=c.disabled||o,f=(0,u.useComposedRefs)(r,c.onTriggerChange),p=tu(n),h=i.useRef("touch"),[m,g,v]=t9(e=>{let t=p().filter(e=>!e.disabled),r=t.find(e=>e.value===c.value),n=t6(t,e,r);void 0!==n&&c.onValueChange(n.value)}),w=e=>{d||(c.onOpenChange(!0),v()),e&&(c.triggerPointerDownPosRef.current={x:Math.round(e.pageX),y:Math.round(e.pageY)})};return(0,t.jsx)(eJ,{asChild:!0,...a,children:(0,t.jsx)(eV.Primitive.button,{type:"button",role:"combobox","aria-controls":c.contentId,"aria-expanded":c.open,"aria-required":c.required,"aria-autocomplete":"none",dir:c.dir,"data-state":c.open?"open":"closed",disabled:d,"data-disabled":d?"":void 0,"data-placeholder":t3(c.value)?"":void 0,...l,ref:f,onClick:(0,s.composeEventHandlers)(l.onClick,e=>{e.currentTarget.focus(),"mouse"!==h.current&&w(e)}),onPointerDown:(0,s.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&&(w(e),e.preventDefault())}),onKeyDown:(0,s.composeEventHandlers)(l.onKeyDown,e=>{let t=""!==m.current;
1e.ctrlKey||e.altKey||e.metaKey||1!==e.key.length||g(e.key),(!t||" "!==e.key)&&tl.includes(e.key)&&(w(),e.preventDefault())})})})});tb.displayName=ty;var tS="SelectValue",tC=i.forwardRef((e,r)=>{let{__scopeSelect:n,className:o,style:i,children:l,placeholder:a="",...s}=e,c=tg(tS,n),{onValueNodeHasChildrenChange:d}=c,f=void 0!==l,p=(0,u.useComposedRefs)(r,c.onValueNodeChange);return(0,eW.useLayoutEffect)(()=>{d(f)},[d,f]),(0,t.jsx)(eV.Primitive.span,{...s,ref:p,style:{pointerEvents:"none"},children:t3(c.value)?(0,t.jsx)(t.Fragment,{children:a}):l})});tC.displayName=tS;var tR=i.forwardRef((e,r)=>{let{__scopeSelect:n,children:o,...i}=e;return(0,t.jsx)(eV.Primitive.span,{"aria-hidden":!0,...i,ref:r,children:o||"▼"})});tR.displayName="SelectIcon";var tE=e=>(0,t.jsx)(e6.Portal,{asChild:!0,...e});tE.displayName="SelectPortal";var tP="SelectContent",tj=i.forwardRef((e,r)=>{let n=tg(tP,e.__scopeSelect),[o,a]=i.useState();return((0,eW.useLayoutEffect)(()=>{a(new DocumentFragment)},[]),n.open)?(0,t.jsx)(tk,{...e,ref:r}):o?l.createPortal((0,t.jsx)(tT,{scope:e.__scopeSelect,children:(0,t.jsx)(tc.Slot,{scope:e.__scopeSelect,children:(0,t.jsx)("div",{children:e.children})})}),o):null});tj.displayName=tP;var[tT,tA]=tf(tP),tL=(0,te.createSlot)("SelectContent.RemoveScroll"),tk=i.forwardRef((e,r)=>{let{__scopeSelect:n,position:o="item-aligned",onCloseAutoFocus:l,onEscapeKeyDown:a,onPointerDownOutside:c,side:d,sideOffset:f,align:g,alignOffset:v,arrowPadding:w,collisionBoundary:x,collisionPadding:y,sticky:b,hideWhenDetached:S,avoidCollisions:C,...R}=e,E=tg(tP,n),[P,j]=i.useState(null),[T,A]=i.useState(null),L=(0,u.useComposedRefs)(r,e=>j(e)),[k,I]=i.useState(null),[H,D]=i.useState(null),N=tu(n),[O,M]=i.useState(!1),z=i.useRef(!1);i.useEffect(()=>{if(P)return(0,to.hideOthers)(P)},[P]),(0,h.useFocusGuards)();let B=i.useCallback(e=>{let[t,...r]=N().map(e=>e.ref.current),[n]=r.slice(-1),o=document.activeElement;for(let r of e)if(r===o||(r?.scrollIntoView({block:"nearest"}),r===t&&T&&(T.scrollTop=0),r===n&&T&&(T.scrollTop=T.scrollHeight),r?.focus(),document.activeElement!==o))return},[N,T]),V=i.useCallback(()=>B([k,P]),[B,k,P]);i.useEffect(()=>{O&&V()},[O,V]);let{onOpenChange:F,triggerPointerDownPosRef:_}=E;i.useEffect(()=>{if(P){let e={x:0,y:0},t=t=>{e={x:Math.abs(Math.round(t.pageX)-(_.current?.x??0)),y:Math.abs(Math.round(t.pageY)-(_.current?.y??0))}},r=r=>{e.x<=10&&e.y<=10?r.preventDefault():P.contains(r.target)||F(!1),document.removeEventListener("pointermove",t),_.current=null};return null!==_.current&&(document.addEventListener("pointermove",t),document.addEventListener("pointerup",r,{capture:!0,once:!0})),()=>{document.removeEventListener("pointermove",t),document.removeEventListener("pointerup",r,{capture:!0})}}},[P,F,_]),i.useEffect(()=>{let e=()=>F(!1);return window.addEventListener("blur",e),window.addEventListener("resize",e),()=>{window.removeEventListener("blur",e),window.removeEventListener("resize",e)}},[F]);let[W,K]=t9(e=>{let t=N().filter(e=>!e.disabled),r=t.find(e=>e.ref.current===document.activeElement),n=t6(t,e,r);n&&setTimeout(()=>n.ref.current.focus())}),$=i.useCallback((e,t,r)=>{let n=!z.current&&!r;(void 0!==E.value&&E.value===t||n)&&(I(e),n&&(z.current=!0))},[E.value]),U=i.useCallback(()=>P?.focus(),[P]),Y=i.useCallback((e,t,r)=>{let n=!z.current&&!r;(void 0!==E.value&&E.value===t||n)&&D(e)},[E.value]),X="popper"===o?tH:tI,q=X===tH?{side:d,sideOffset:f,align:g,alignOffset:v,arrowPadding:w,collisionBoundary:x,collisionPadding:y,sticky:b,hideWhenDetached:S,avoidCollisions:C}:{};return(0,t.jsx)(tT,{scope:n,content:P,viewport:T,onViewportChange:A,itemRefCallback:$,selectedItem:k,onItemLeave:U,itemTextRefCallback:Y,focusSelectedItem:V,selectedItemText:H,position:o,isPositioned:O,searchRef:W,children:(0,t.jsx)(ti.RemoveScroll,{as:tL,allowPinchZoom:!0,children:(0,t.jsx)(m.FocusScope,{asChild:!0,trapped:E.open,onMountAutoFocus:e=>{e.preventDefault()},onUnmountAutoFocus:(0,s.composeEventHandlers)(l,e=>{E.trigger?.focus({preventScroll:!0}),e.preventDefault()}),children:(0,t.jsx)(p.DismissableLayer,{asChild:!0,disableOutsidePointerEvents:!0,onEscapeKeyDown:a,onPointerDownOutside:c,onFocusOutside:e=>e.preventDefault(),onDismiss:()=>E.onOpenChange(!1),children:(0,t.jsx)(X,{role:"listbox",id:E.contentId,"data-state":E.open?"open":"closed",dir:E.dir,onContextMenu:e=>e.preventDefault(),...R,...q,onPlaced:()=>M(!0),ref:L,style:{display:"flex",flexDirection:"column",outline:"none",...R.style},onKeyDown:(0,s.composeEventHandlers)(R.onKeyDown,e=>{let t=e.ctrlKey||e.altKey||e.metaKey;
1if("Tab"===e.key&&e.preventDefault(),t||1!==e.key.length||K(e.key),["ArrowUp","ArrowDown","Home","End"].includes(e.key)){let t=N().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()}})})})})})})});tk.displayName="SelectContentImpl";var tI=i.forwardRef((e,r)=>{let{__scopeSelect:n,onPlaced:o,...l}=e,s=tg(tP,n),c=tA(tP,n),[d,f]=i.useState(null),[p,h]=i.useState(null),m=(0,u.useComposedRefs)(r,e=>h(e)),g=tu(n),v=i.useRef(!1),w=i.useRef(!0),{viewport:x,selectedItem:y,selectedItemText:b,focusSelectedItem:S}=c,C=i.useCallback(()=>{if(s.trigger&&s.valueNode&&d&&p&&x&&y&&b){let e=s.trigger.getBoundingClientRect(),t=p.getBoundingClientRect(),r=s.valueNode.getBoundingClientRect(),n=b.getBoundingClientRect();if("rtl"!==s.dir){let o=n.left-t.left,i=r.left-o,l=e.left-i,s=e.width+l,c=Math.max(s,t.width),u=a(i,[10,Math.max(10,window.innerWidth-10-c)]);d.style.minWidth=s+"px",d.style.left=u+"px"}else{let o=t.right-n.right,i=window.innerWidth-r.right-o,l=window.innerWidth-e.right-i,s=e.width+l,c=Math.max(s,t.width),u=a(i,[10,Math.max(10,window.innerWidth-10-c)]);d.style.minWidth=s+"px",d.style.right=u+"px"}let i=g(),l=window.innerHeight-20,c=x.scrollHeight,u=window.getComputedStyle(p),f=parseInt(u.borderTopWidth,10),h=parseInt(u.paddingTop,10),m=parseInt(u.borderBottomWidth,10),w=f+h+c+parseInt(u.paddingBottom,10)+m,S=Math.min(5*y.offsetHeight,w),C=window.getComputedStyle(x),R=parseInt(C.paddingTop,10),E=parseInt(C.paddingBottom,10),P=e.top+e.height/2-10,j=y.offsetHeight/2,T=f+h+(y.offsetTop+j);if(T<=P){let e=i.length>0&&y===i[i.length-1].ref.current;d.style.bottom="0px";let t=Math.max(l-P,j+(e?E:0)+(p.clientHeight-x.offsetTop-x.offsetHeight)+m);d.style.height=T+t+"px"}else{let e=i.length>0&&y===i[0].ref.current;d.style.top="0px";let t=Math.max(P,f+x.offsetTop+(e?R:0)+j);d.style.height=t+(w-T)+"px",x.scrollTop=T-P+x.offsetTop}d.style.margin="10px 0",d.style.minHeight=S+"px",d.style.maxHeight=l+"px",o?.(),requestAnimationFrame(()=>v.current=!0)}},[g,s.trigger,s.valueNode,d,p,x,y,b,s.dir,o]);(0,eW.useLayoutEffect)(()=>C(),[C]);let[R,E]=i.useState();(0,eW.useLayoutEffect)(()=>{p&&E(window.getComputedStyle(p).zIndex)},[p]);let P=i.useCallback(e=>{e&&!0===w.current&&(C(),S?.(),w.current=!1)},[C,S]);return(0,t.jsx)(tD,{scope:n,contentWrapper:d,shouldExpandOnScrollRef:v,onScrollButtonChange:P,children:(0,t.jsx)("div",{ref:f,style:{display:"flex",flexDirection:"column",position:"fixed",zIndex:R},children:(0,t.jsx)(eV.Primitive.div,{...l,ref:m,style:{boxSizing:"border-box",maxHeight:"100%",...l.style}})})})});tI.displayName="SelectItemAlignedPosition";var tH=i.forwardRef((e,r)=>{let{__scopeSelect:n,align:o="start",collisionPadding:i=10,...l}=e,a=th(n);return(0,t.jsx)(e2,{...a,...l,ref:r,align:o,collisionPadding:i,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)"}})});tH.displayName="SelectPopperPosition";var[tD,tN]=tf(tP,{}),tO="SelectViewport",tM=i.forwardRef((e,r)=>{let{__scopeSelect:n,nonce:o,...l}=e,a=tA(tO,n),c=tN(tO,n),d=(0,u.useComposedRefs)(r,a.onViewportChange),f=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)(tc.Slot,{scope:n,children:(0,t.jsx)(eV.Primitive.div,{"data-radix-select-viewport":"",role:"presentation",...l,ref:d,style:{position:"relative",flex:1,overflow:"hidden auto",...l.style},onScroll:(0,s.composeEventHandlers)(l.onScroll,e=>{let t=e.currentTarget,{contentWrapper:r,shouldExpandOnScrollRef:n}=c;if(n?.current&&r){let e=Math.abs(f.current-t.scrollTop);if(e>0){let n=window.innerHeight-20,o=Math.max(parseFloat(r.style.minHeight),parseFloat(r.style.height));if(o<n){let i=o+e,l=Math.min(n,i),a=i-l;r.style.height=l+"px","0px"===r.style.bottom&&(t.scrollTop=a>0?a:0,r.style.justifyContent="flex-end")}}}f.current=t.scrollTop})})})]})});tM.displayName=tO;var tz="SelectGroup",[tB,tV]=tf(tz),tF=i.forwardRef((e,r)=>{let{__scopeSelect:n,...o}=e,i=(0,g.useId)();return(0,t.jsx)(tB,{scope:n,id:i,children:(0,t.jsx)(eV.Primitive.div,{role:"group","aria-labelledby":i,...o,ref:r})})});tF.displayName=tz;var t_="SelectLabel",tW=i.forwardRef((e,r)=>{let{__scopeSelect:n,...o}=e,i=tV(t_,n);return(0,t.jsx)(eV.Primitive.div,{id:i.id,...o,ref:r})});tW.displayName=t_;var tK="SelectItem",[t$,tU]=tf(tK),tY=i.forwardRef((e,r)=>{let{__scopeSelect:n,value:o,disabled:l=!1,textValue:a,...c}=e,d=tg(tK,n),f=tA(tK,n),p=d.value===o,[h,m]=i.useState(a??""),[v,w]=i.useState(!1),x=(0,u.useComposedRefs)(r,e=>f.itemRefCallback?.(e,o,l)),y=(0,g.useId)(),b=i.useRef("touch"),S=()=>{l||(d.onValueChange(o),d.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)(t$,{scope:n,value:o,disabled:l,textId:y,isSelected:p,onItemTextChange:i.useCallback(e=>{m(t=>t||(e?.textContent??"").trim())},[]),children:(0,t.jsx)(tc.ItemSlot,{scope:n,value:o,disabled:l,textValue:h,children:(0,t.jsx)(eV.Primitive.div,{role:"option","aria-labelledby":y,"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,...c,ref:x,onFocus:(0,s.composeEventHandlers)(c.onFocus,()=>w(!0)),onBlur:(0,s.composeEventHandlers)(c.onBlur,()=>w(!1)),onClick:(0,s.composeEventHandlers)(c.onClick,()=>{"mouse"!==b.current&&S()}),onPointerUp:(0,s.composeEventHandlers)(c.onPointerUp,()=>{"mouse"===b.current&&S()}),onPointerDown:(0,s.composeEventHandlers)(c.onPointerDown,e=>{b.current=e.pointerType}
1),onPointerMove:(0,s.composeEventHandlers)(c.onPointerMove,e=>{b.current=e.pointerType,l?f.onItemLeave?.():"mouse"===b.current&&e.currentTarget.focus({preventScroll:!0})}),onPointerLeave:(0,s.composeEventHandlers)(c.onPointerLeave,e=>{e.currentTarget===document.activeElement&&f.onItemLeave?.()}),onKeyDown:(0,s.composeEventHandlers)(c.onKeyDown,e=>{(f.searchRef?.current===""||" "!==e.key)&&(ta.includes(e.key)&&S()," "===e.key&&e.preventDefault())})})})})});tY.displayName=tK;var tX="SelectItemText",tq=i.forwardRef((e,r)=>{let{__scopeSelect:n,className:o,style:a,...s}=e,c=tg(tX,n),d=tA(tX,n),f=tU(tX,n),p=tw(tX,n),[h,m]=i.useState(null),g=(0,u.useComposedRefs)(r,e=>m(e),f.onItemTextChange,e=>d.itemTextRefCallback?.(e,f.value,f.disabled)),v=h?.textContent,w=i.useMemo(()=>(0,t.jsx)("option",{value:f.value,disabled:f.disabled,children:v},f.value),[f.disabled,f.value,v]),{onNativeOptionAdd:x,onNativeOptionRemove:y}=p;return(0,eW.useLayoutEffect)(()=>(x(w),()=>y(w)),[x,y,w]),(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(eV.Primitive.span,{id:f.textId,...s,ref:g}),f.isSelected&&c.valueNode&&!c.valueNodeHasChildren?l.createPortal(s.children,c.valueNode):null]})});tq.displayName=tX;var tG="SelectItemIndicator",tZ=i.forwardRef((e,r)=>{let{__scopeSelect:n,...o}=e;return tU(tG,n).isSelected?(0,t.jsx)(eV.Primitive.span,{"aria-hidden":!0,...o,ref:r}):null});tZ.displayName=tG;var tJ="SelectScrollUpButton",tQ=i.forwardRef((e,r)=>{let n=tA(tJ,e.__scopeSelect),o=tN(tJ,e.__scopeSelect),[l,a]=i.useState(!1),s=(0,u.useComposedRefs)(r,o.onScrollButtonChange);return(0,eW.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)(t2,{...e,ref:s,onAutoScroll:()=>{let{viewport:e,selectedItem:t}=n;e&&t&&(e.scrollTop=e.scrollTop-t.offsetHeight)}}):null});tQ.displayName=tJ;var t0="SelectScrollDownButton",t1=i.forwardRef((e,r)=>{let n=tA(t0,e.__scopeSelect),o=tN(t0,e.__scopeSelect),[l,a]=i.useState(!1),s=(0,u.useComposedRefs)(r,o.onScrollButtonChange);return(0,eW.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)(t2,{...e,ref:s,onAutoScroll:()=>{let{viewport:e,selectedItem:t}=n;e&&t&&(e.scrollTop=e.scrollTop+t.offsetHeight)}}):null});t1.displayName=t0;var t2=i.forwardRef((e,r)=>{let{__scopeSelect:n,onAutoScroll:o,...l}=e,a=tA("SelectScrollButton",n),c=i.useRef(null),u=tu(n),d=i.useCallback(()=>{null!==c.current&&(window.clearInterval(c.current),c.current=null)},[]);return i.useEffect(()=>()=>d(),[d]),(0,eW.useLayoutEffect)(()=>{let e=u().find(e=>e.ref.current===document.activeElement);e?.ref.current?.scrollIntoView({block:"nearest"})},[u]),(0,t.jsx)(eV.Primitive.div,{"aria-hidden":!0,...l,ref:r,style:{flexShrink:0,...l.style},onPointerDown:(0,s.composeEventHandlers)(l.onPointerDown,()=>{null===c.current&&(c.current=window.setInterval(o,50))}
1),onPointerMove:(0,s.composeEventHandlers)(l.onPointerMove,()=>{a.onItemLeave?.(),null===c.current&&(c.current=window.setInterval(o,50))}),onPointerLeave:(0,s.composeEventHandlers)(l.onPointerLeave,()=>{d()})})}),t5=i.forwardRef((e,r)=>{let{__scopeSelect:n,...o}=e;return(0,t.jsx)(eV.Primitive.div,{"aria-hidden":!0,...o,ref:r})});t5.displayName="SelectSeparator";var t8="SelectArrow",t4=i.forwardRef((e,r)=>{let{__scopeSelect:n,...o}=e,i=th(n),l=tg(t8,n),a=tA(t8,n);return l.open&&"popper"===a.position?(0,t.jsx)(e4,{...i,...o,ref:r}):null});t4.displayName=t8;var t7=i.forwardRef(({__scopeSelect:e,value:r,...n},o)=>{let l=i.useRef(null),a=(0,u.useComposedRefs)(o,l),s=(0,tr.usePrevious)(r);return i.useEffect(()=>{let e=l.current;if(!e)return;let t=Object.getOwnPropertyDescriptor(window.HTMLSelectElement.prototype,"value").set;if(s!==r&&t){let n=new Event("change",{bubbles:!0});t.call(e,r),e.dispatchEvent(n)}},[s,r]),(0,t.jsx)(eV.Primitive.select,{...n,style:{...tn,...n.style},ref:a,defaultValue:r})});function t3(e){return""===e||void 0===e}function t9(e){let t=(0,e_.useCallbackRef)(e),r=i.useRef(""),n=i.useRef(0),o=i.useCallback(e=>{let o=r.current+e;t(o),function e(t){r.current=t,window.clearTimeout(n.current),""!==t&&(n.current=window.setTimeout(()=>e(""),1e3))}(o)},[t]),l=i.useCallback(()=>{r.current="",window.clearTimeout(n.current)},[]);return i.useEffect(()=>()=>window.clearTimeout(n.current),[]),[r,o,l]}function t6(e,t,r){var n,o;let i=t.length>1&&Array.from(t).every(e=>e===t[0])?t[0]:t,l=r?e.indexOf(r):-1,a=(n=e,o=Math.max(l,0),n.map((e,t)=>n[(o+t)%n.length]));1===i.length&&(a=a.filter(e=>e!==r));let s=a.find(e=>e.textValue.toLowerCase().startsWith(i.toLowerCase()));return s!==r?s:void 0}t7.displayName="SelectBubbleInput",e.s(["Arrow",()=>t4,"Content",()=>tj,"Group",()=>tF,"Icon",()=>tR,"Item",()=>tY,"ItemIndicator",()=>tZ,"ItemText",()=>tq,"Label",()=>tW,"Portal",()=>tE,"Root",()=>tx,"ScrollDownButton",()=>t1,"ScrollUpButton",()=>tQ,"Select",()=>tx,"SelectArrow",()=>t4,"SelectContent",()=>tj,"SelectGroup",()=>tF,"SelectIcon",()=>tR,"SelectItem",()=>tY,"SelectItemIndicator",()=>tZ,"SelectItemText",()=>tq,"SelectLabel",()=>tW,"SelectPortal",()=>tE,"SelectScrollDownButton",()=>t1,"SelectScrollUpButton",()=>tQ,"SelectSeparator",()=>t5,"SelectTrigger",()=>tb,"SelectValue",()=>tC,"SelectViewport",()=>tM,"Separator",()=>t5,"Trigger",()=>tb,"Value",()=>tC,"Viewport",()=>tM,"createSelectScope",()=>tp],65347);var re=e.i(65347),re=re,rt=e.i(75157);function rr({...e}){return(0,t.jsx)(re.Root,{"data-slot":"select",...e})}function rn({...e}){return(0,t.jsx)(re.Value,{"data-slot":"select-value",...e})}function ro({className:e,size:r="default",children:o,...i}){return(0,t.jsxs)(re.Trigger,{"data-slot":"select-trigger","data-size":r,className:(0,rt.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),...i,children:[o,(0,t.jsx)(re.Icon,{asChild:!0,children:(0,t.jsx)(n.ChevronDownIcon,{className:"size-4 opacity-50"})})]})}function ri({className:e,children:r,position:n="item-aligned",align:o="center",...i}){return(0,t.jsx)(re.Portal,{children:(0,t.jsxs)(re.Content,{"data-slot":"select-content",className:(0,rt.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"===n&&"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:n,align:o,...i,children:[(0,t.jsx)(ra,{}),(0,t.jsx)(re.Viewport,{className:(0,rt.cn)("p-1","popper"===n&&"h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)] scroll-my-1"),children:r}),(0,t.jsx)(rs,{})]})})}function rl({className:e,children:n,...o}){return(0,t.jsxs)(re.Item,{"data-slot":"select-item",className:(0,rt.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",{"data-slot":"select-item-indicator",className:"absolute right-2 flex size-3.5 items-center justify-center",children:(0,t.jsx)(re.ItemIndicator,{children:(0,t.jsx)(r.CheckIcon,{className:"size-4"})})}),(0,t.jsx)(re.ItemText,{children:n})]})}function ra({className:e,...r}){return(0,t.jsx)(re.ScrollUpButton,{"data-slot":"select-scroll-up-button",className:(0,rt.cn)("flex cursor-default items-center justify-center py-1",e),...r,children:(0,t.jsx)(o,{className:"size-4"})})}function rs({className:e,...r}){return(0,t.jsx)(re.ScrollDownButton,{"data-slot":"select-scroll-down-button",className:(0,rt.cn)("flex cursor-default items-center justify-center py-1",e),...r,children:(0,t.jsx)(n.ChevronDownIcon,{className:"size-4"})})}e.s(["Select",()=>rr,"SelectContent",()=>ri,"SelectItem",()=>rl,"SelectTrigger",()=>ro,"SelectValue",()=>rn],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.