PageSourceSearch

https://whiteshoe.ai/_next/static/chunks/7308-e6ff195f01d21739.js

js whiteshoe.ai collected 2026-10-05 13:20:05 UTC 53,558 bytes, 1 lines download raw bytes

1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="edd83baa-4abe-4ad7-8859-b15605cbcbe6",e._sentryDebugIdIdentifier="sentry-dbid-edd83baa-4abe-4ad7-8859-b15605cbcbe6")}catch(e){}}();"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7308],{1933:(e,t,n)=>{n.d(t,{jH:()=>o});var r=n(12115);n(95155);var l=r.createContext(void 0);function o(e){let t=r.useContext(l);return e||t||"ltr"}},9921:(e,t,n)=>{n.d(t,{A:()=>r});let r=(0,n(78340).A)("ChevronUp",[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]])},14931:(e,t,n)=>{n.d(t,{UC:()=>t1,YJ:()=>t2,In:()=>tQ,q7:()=>t7,VF:()=>t6,p4:()=>t3,JU:()=>t9,ZL:()=>t0,bL:()=>tY,wn:()=>t8,PP:()=>t4,wv:()=>ne,l9:()=>tZ,WT:()=>tJ,LM:()=>t5});var r=n(12115),l=n(47650);function o(e,[t,n]){return Math.min(n,Math.max(t,e))}var i=n(70379),a=n(64831),s=n(47527),u=n(68599),c=n(1933),f=n(98454),d=n(32007),p=n(69885),h=n(89971);let m=["top","right","bottom","left"],v=Math.min,g=Math.max,y=Math.round,w=Math.floor,x=e=>({x:e,y:e}
1),b={left:"right",right:"left",bottom:"top",top:"bottom"},S={start:"end",end:"start"};function C(e,t){return"function"==typeof e?e(t):e}function R(e){return e.split("-")[0]}function A(e){return e.split("-")[1]}function j(e){return"x"===e?"y":"x"}function E(e){return"y"===e?"height":"width"}function T(e){return["top","bottom"].includes(R(e))?"y":"x"}function P(e){return e.replace(/start|end/g,e=>S[e])}function N(e){return e.replace(/left|right|bottom|top/g,e=>b[e])}function k(e){return"number"!=typeof e?{top:0,right:0,bottom:0,left:0,...e}:{top:e,right:e,bottom:e,left:e}}function D(e){let{x:t,y:n,width:r,height:l}=e;return{width:r,height:l,top:n,left:t,right:t+r,bottom:n+l,x:t,y:n}}function L(e,t,n){let r,{reference:l,floating:o}=e,i=T(t),a=j(T(t)),s=E(a),u=R(t),c="y"===i,f=l.x+l.width/2-o.width/2,d=l.y+l.height/2-o.height/2,p=l[s]/2-o[s]/2;switch(u){case"top":r={x:f,y:l.y-o.height};break;case"bottom":r={x:f,y:l.y+l.height};break;case"right":r={x:l.x+l.width,y:d};break;case"left":r={x:l.x-o.width,y:d};break;default:r={x:l.x,y:l.y}}switch(A(t)){case"start":r[a]-=p*(n&&c?-1:1);break;case"end":r[a]+=p*(n&&c?-1:1)}return r}let O=async(e,t,n)=>{let{placement:r="bottom",strategy:l="absolute",middleware:o=[],platform:i}=n,a=o.filter(Boolean),s=await (null==i.isRTL?void 0:i.isRTL(t)),u=await i.getElementRects({reference:e,floating:t,strategy:l}),{x:c,y:f}=L(u,r,s),d=r,p={},h=0;for(let n=0;n<a.length;n++){let{name:o,fn:m}=a[n],{x:v,y:g,data:y,reset:w}=await m({x:c,y:f,initialPlacement:r,placement:d,strategy:l,middlewareData:p,rects:u,platform:i,elements:{reference:e,floating:t}});c=null!=v?v:c,f=null!=g?g:f,p={...p,[o]:{...p[o],...y}},w&&h<=50&&(h++,"object"==typeof w&&(w.placement&&(d=w.placement),w.rects&&(u=!0===w.rects?await i.getElementRects({reference:e,floating:t,strategy:l}):w.rects),{x:c,y:f}=L(u,d,s)),n=-1)}return{x:c,y:f,placement:d,strategy:l,middlewareData:p}};async function M(e,t){var n;void 0===t&&(t={});let{x:r,y:l,platform:o,rects:i,elements:a,strategy:s}=e,{boundary:u="clippingAncestors",rootBoundary:c="viewport",elementContext:f="floating",altBoundary:d=!1,padding:p=0}=C(t,e),h=k(p),m=a[d?"floating"===f?"reference":"floating":f],v=D(await o.getClippingRect({element:null==(n=await (null==o.isElement?void 0:o.isElement(m)))||n?m:m.contextElement||await (null==o.getDocumentElement?void 0:o.getDocumentElement(a.floating)),boundary:u,rootBoundary:c,strategy:s})),g="floating"===f?{x:r,y:l,width:i.floating.width,height:i.floating.height}:i.reference,y=await (null==o.getOffsetParent?void 0:o.getOffsetParent(a.floating)),w=await (null==o.isElement?void 0:o.isElement(y))&&await (null==o.getScale?void 0:o.getScale(y))||{x:1,y:1},x=D(o.convertOffsetParentRelativeRectToViewportRelativeRect?await o.convertOffsetParentRelativeRectToViewportRelativeRect({elements:a,rect:g,offsetParent:y,strategy:s}):g);return{top:(v.top-x.top+h.top)/w.y,bottom:(x.bottom-v.bottom+h.bottom)/w.y,left:(v.left-x.left+h.left)/w.x,right:(x.right-v.right+h.right)/w.x}}function I(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function H(e){return m.some(t=>e[t]>=0)}async function V(e,t){let{placement:n,platform:r,elements:l}=e,o=await (null==r.isRTL?void 0:r.isRTL(l.floating)),i=R(n),a=A(n),s="y"===T(n),u=["left","top"].includes(i)?-1:1,c=o&&s?-1:1,f=C(t,e),{mainAxis:d,crossAxis:p,alignmentAxis:h}="number"==typeof f?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:f.mainAxis||0,crossAxis:f.crossAxis||0,alignmentAxis:f.alignmentAxis};return a&&"number"==typeof h&&(p="end"===a?-1*h:h),s?{x:p*c,y:d*u}:{x:d*u,y:p*c}}function W(){return"undefined"!=typeof window}function _(e){return z(e)?(e.nodeName||"").toLowerCase():"#document"}function F(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function B(e){var t;return null==(t=(z(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function z(e){return!!W()&&(e instanceof Node||e instanceof F(e).Node)}function G(e){return!!W()&&(e instanceof Element||e instanceof F(e).Element)}function K(e){return!!W()&&(e instanceof HTMLElement||e instanceof F(e).HTMLElement)}function $(e){return!!W()&&"undefined"!=typeof ShadowRoot&&(e instanceof ShadowRoot||e instanceof F(e).ShadowRoot)}function U(e){let{overflow:t,overflowX:n,overflowY:r,display:l}=J(e);
1return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!["inline","contents"].includes(l)}function q(e){return[":popover-open",":modal"].some(t=>{try{return e.matches(t)}catch(e){return!1}})}function X(e){let t=Y(),n=G(e)?J(e):e;return["transform","translate","scale","rotate","perspective"].some(e=>!!n[e]&&"none"!==n[e])||!!n.containerType&&"normal"!==n.containerType||!t&&!!n.backdropFilter&&"none"!==n.backdropFilter||!t&&!!n.filter&&"none"!==n.filter||["transform","translate","scale","rotate","perspective","filter"].some(e=>(n.willChange||"").includes(e))||["paint","layout","strict","content"].some(e=>(n.contain||"").includes(e))}function Y(){return"undefined"!=typeof CSS&&!!CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")}function Z(e){return["html","body","#document"].includes(_(e))}function J(e){return F(e).getComputedStyle(e)}function Q(e){return G(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function ee(e){if("html"===_(e))return e;let t=e.assignedSlot||e.parentNode||$(e)&&e.host||B(e);return $(t)?t.host:t}function et(e,t,n){var r;void 0===t&&(t=[]),void 0===n&&(n=!0);let l=function e(t){let n=ee(t);return Z(n)?t.ownerDocument?t.ownerDocument.body:t.body:K(n)&&U(n)?n:e(n)}(e),o=l===(null==(r=e.ownerDocument)?void 0:r.body),i=F(l);if(o){let e=en(i);return t.concat(i,i.visualViewport||[],U(l)?l:[],e&&n?et(e):[])}return t.concat(l,et(l,[],n))}function en(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function er(e){let t=J(e),n=parseFloat(t.width)||0,r=parseFloat(t.height)||0,l=K(e),o=l?e.offsetWidth:n,i=l?e.offsetHeight:r,a=y(n)!==o||y(r)!==i;return a&&(n=o,r=i),{width:n,height:r,$:a}}function el(e){return G(e)?e:e.contextElement}function eo(e){let t=el(e);if(!K(t))return x(1);let n=t.getBoundingClientRect(),{width:r,height:l,$:o}=er(t),i=(o?y(n.width):n.width)/r,a=(o?y(n.height):n.height)/l;return i&&Number.isFinite(i)||(i=1),a&&Number.isFinite(a)||(a=1),{x:i,y:a}}let ei=x(0);function ea(e){let t=F(e);return Y()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:ei}function es(e,t,n,r){var l;void 0===t&&(t=!1),void 0===n&&(n=!1);let o=e.getBoundingClientRect(),i=el(e),a=x(1);t&&(r?G(r)&&(a=eo(r)):a=eo(e));let s=(void 0===(l=n)&&(l=!1),r&&(!l||r===F(i))&&l)?ea(i):x(0),u=(o.left+s.x)/a.x,c=(o.top+s.y)/a.y,f=o.width/a.x,d=o.height/a.y;if(i){let e=F(i),t=r&&G(r)?F(r):r,n=e,l=en(n);for(;l&&r&&t!==n;){let e=eo(l),t=l.getBoundingClientRect(),r=J(l),o=t.left+(l.clientLeft+parseFloat(r.paddingLeft))*e.x,i=t.top+(l.clientTop+parseFloat(r.paddingTop))*e.y;u*=e.x,c*=e.y,f*=e.x,d*=e.y,u+=o,c+=i,l=en(n=F(l))}}return D({width:f,height:d,x:u,y:c})}function eu(e,t){let n=Q(e).scrollLeft;return t?t.left+n:es(B(e)).left+n}function ec(e,t,n){void 0===n&&(n=!1);let r=e.getBoundingClientRect();return{x:r.left+t.scrollLeft-(n?0:eu(e,r)),y:r.top+t.scrollTop}}function ef(e,t,n){let r;if("viewport"===t)r=function(e,t){let n=F(e),r=B(e),l=n.visualViewport,o=r.clientWidth,i=r.clientHeight,a=0,s=0;if(l){o=l.width,i=l.height;let e=Y();(!e||e&&"fixed"===t)&&(a=l.offsetLeft,s=l.offsetTop)}return{width:o,height:i,x:a,y:s}}(e,n);else if("document"===t)r=function(e){let t=B(e),n=Q(e),r=e.ownerDocument.body,l=g(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),o=g(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight),i=-n.scrollLeft+eu(e),a=-n.scrollTop;return"rtl"===J(r).direction&&(i+=g(t.clientWidth,r.clientWidth)-l),{width:l,height:o,x:i,y:a}}(B(e));else if(G(t))r=function(e,t){let n=es(e,!0,"fixed"===t),r=n.top+e.clientTop,l=n.left+e.clientLeft,o=K(e)?eo(e):x(1),i=e.clientWidth*o.x,a=e.clientHeight*o.y;return{width:i,height:a,x:l*o.x,y:r*o.y}}(t,n);else{let n=ea(e);r={x:t.x-n.x,y:t.y-n.y,width:t.width,height:t.height}}return D(r)}function ed(e){return"static"===J(e).position}function ep(e,t){if(!K(e)||"fixed"===J(e).position)return null;if(t)return t(e);let n=e.offsetParent;return B(e)===n&&(n=n.ownerDocument.body),n}function eh(e,t){let n=F(e);if(q(e))return n;if(!K(e)){let t=ee(e);for(;t&&!Z(t);){if(G(t)&&!ed(t))return t;t=ee(t)}return n}let r=ep(e,t);for(;r&&["table","td","th"].includes(_(r))&&ed(r);)r=ep(r,t);return r&&Z(r)&&ed(r)&&!X(r)?n:r||function(e){let t=ee(e);for(;K(t)&&!Z(t);){if(X(t))return t;if(q(t))break;t=ee(t)}return null}(e)||n}let em=async function(e){let t=this.getOffsetParent||eh,n=this.getDimensions,r=await n(e.floating);
1return{reference:function(e,t,n){let r=K(t),l=B(t),o="fixed"===n,i=es(e,!0,o,t),a={scrollLeft:0,scrollTop:0},s=x(0);if(r||!r&&!o)if(("body"!==_(t)||U(l))&&(a=Q(t)),r){let e=es(t,!0,o,t);s.x=e.x+t.clientLeft,s.y=e.y+t.clientTop}else l&&(s.x=eu(l));let u=!l||r||o?x(0):ec(l,a);return{x:i.left+a.scrollLeft-s.x-u.x,y:i.top+a.scrollTop-s.y-u.y,width:i.width,height:i.height}}(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}},ev={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:n,offsetParent:r,strategy:l}=e,o="fixed"===l,i=B(r),a=!!t&&q(t.floating);if(r===i||a&&o)return n;let s={scrollLeft:0,scrollTop:0},u=x(1),c=x(0),f=K(r);if((f||!f&&!o)&&(("body"!==_(r)||U(i))&&(s=Q(r)),K(r))){let e=es(r);u=eo(r),c.x=e.x+r.clientLeft,c.y=e.y+r.clientTop}let d=!i||f||o?x(0):ec(i,s,!0);return{width:n.width*u.x,height:n.height*u.y,x:n.x*u.x-s.scrollLeft*u.x+c.x+d.x,y:n.y*u.y-s.scrollTop*u.y+c.y+d.y}},getDocumentElement:B,getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:r,strategy:l}=e,o=[..."clippingAncestors"===n?q(t)?[]:function(e,t){let n=t.get(e);if(n)return n;let r=et(e,[],!1).filter(e=>G(e)&&"body"!==_(e)),l=null,o="fixed"===J(e).position,i=o?ee(e):e;for(;G(i)&&!Z(i);){let t=J(i),n=X(i);n||"fixed"!==t.position||(l=null),(o?!n&&!l:!n&&"static"===t.position&&!!l&&["absolute","fixed"].includes(l.position)||U(i)&&!n&&function e(t,n){let r=ee(t);return!(r===n||!G(r)||Z(r))&&("fixed"===J(r).position||e(r,n))}(e,i))?r=r.filter(e=>e!==i):l=t,i=ee(i)}return t.set(e,r),r}(t,this._c):[].concat(n),r],i=o[0],a=o.reduce((e,n)=>{let r=ef(t,n,l);return e.top=g(r.top,e.top),e.right=v(r.right,e.right),e.bottom=v(r.bottom,e.bottom),e.left=g(r.left,e.left),e},ef(t,i,l));return{width:a.right-a.left,height:a.bottom-a.top,x:a.left,y:a.top}},getOffsetParent:eh,getElementRects:em,getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){let{width:t,height:n}=er(e);return{width:t,height:n}},getScale:eo,isElement:G,isRTL:function(e){return"rtl"===J(e).direction}};function eg(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}let ey=e=>({name:"arrow",options:e,async fn(t){let{x:n,y:r,placement:l,rects:o,platform:i,elements:a,middlewareData:s}=t,{element:u,padding:c=0}=C(e,t)||{};if(null==u)return{};let f=k(c),d={x:n,y:r},p=j(T(l)),h=E(p),m=await i.getDimensions(u),y="y"===p,w=y?"clientHeight":"clientWidth",x=o.reference[h]+o.reference[p]-d[p]-o.floating[h],b=d[p]-o.reference[p],S=await (null==i.getOffsetParent?void 0:i.getOffsetParent(u)),R=S?S[w]:0;R&&await (null==i.isElement?void 0:i.isElement(S))||(R=a.floating[w]||o.floating[h]);let P=R/2-m[h]/2-1,N=v(f[y?"top":"left"],P),D=v(f[y?"bottom":"right"],P),L=R-m[h]-D,O=R/2-m[h]/2+(x/2-b/2),M=g(N,v(O,L)),I=!s.arrow&&null!=A(l)&&O!==M&&o.reference[h]/2-(O<N?N:D)-m[h]/2<0,H=I?O<N?O-N:O-L:0;return{[p]:d[p]+H,data:{[p]:M,centerOffset:O-M-H,...I&&{alignmentOffset:H}},reset:I}}});var ew="undefined"!=typeof document?r.useLayoutEffect:r.useEffect;function ex(e,t){let n,r,l;if(e===t)return!0;if(typeof e!=typeof t)return!1;if("function"==typeof e&&e.toString()===t.toString())return!0;if(e&&t&&"object"==typeof e){if(Array.isArray(e)){if((n=e.length)!==t.length)return!1;for(r=n;0!=r--;)if(!ex(e[r],t[r]))return!1;return!0}if((n=(l=Object.keys(e)).length)!==Object.keys(t).length)return!1;for(r=n;0!=r--;)if(!({}).hasOwnProperty.call(t,l[r]))return!1;for(r=n;0!=r--;){let n=l[r];if(("_owner"!==n||!e.$$typeof)&&!ex(e[n],t[n]))return!1}return!0}return e!=e&&t!=t}function eb(e){return"undefined"==typeof window?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function eS(e,t){let n=eb(e);return Math.round(t*n)/n}function eC(e){let t=r.useRef(e);return ew(()=>{t.current=e}),t}var eR=n(99354),eA=n(95155),ej=r.forwardRef((e,t)=>{let{children:n,width:r=10,height:l=5,...o}=e;return(0,eA.jsx)(eR.sG.svg,{...o,ref:t,width:r,height:l,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?n:(0,eA.jsx)("polygon",{points:"0,0 30,0 15,10"})})});ej.displayName="Arrow";var eE=n(17347),eT=n(66294),eP=n(63509),eN="Popper",[ek,eD]=(0,u.A)(eN),[eL,eO]=ek(eN),eM=e=>{let{__scopePopper:t,children:n}=e,[l,o]=r.useState(null);return(0,eA.jsx)(eL,{scope:t,anchor:l,onAnchorChange:o,children:n})};eM.displayName=eN;var eI="PopperAnchor",eH=r.forwardRef((e,t)=>
1{let{__scopePopper:n,virtualRef:l,...o}=e,i=eO(eI,n),a=r.useRef(null),u=(0,s.s)(t,a);return r.useEffect(()=>{i.onAnchorChange((null==l?void 0:l.current)||a.current)}),l?null:(0,eA.jsx)(eR.sG.div,{...o,ref:u})});eH.displayName=eI;var eV="PopperContent",[eW,e_]=ek(eV),eF=r.forwardRef((e,t)=>{var n,o,i,a,u,c,f,d;let{__scopePopper:p,side:h="bottom",sideOffset:m=0,align:y="center",alignOffset:x=0,arrowPadding:b=0,avoidCollisions:S=!0,collisionBoundary:k=[],collisionPadding:D=0,sticky:L="partial",hideWhenDetached:W=!1,updatePositionStrategy:_="optimized",onPlaced:F,...z}=e,G=eO(eV,p),[K,$]=r.useState(null),U=(0,s.s)(t,e=>$(e)),[q,X]=r.useState(null),Y=(0,eP.X)(q),Z=null!=(f=null==Y?void 0:Y.width)?f:0,J=null!=(d=null==Y?void 0:Y.height)?d:0,Q="number"==typeof D?D:{top:0,right:0,bottom:0,left:0,...D},ee=Array.isArray(k)?k:[k],en=ee.length>0,er={padding:Q,boundary:ee.filter(eK),altBoundary:en},{refs:eo,floatingStyles:ei,placement:ea,isPositioned:eu,middlewareData:ec}=function(e){void 0===e&&(e={});let{placement:t="bottom",strategy:n="absolute",middleware:o=[],platform:i,elements:{reference:a,floating:s}={},transform:u=!0,whileElementsMounted:c,open:f}=e,[d,p]=r.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[h,m]=r.useState(o);ex(h,o)||m(o);let[v,g]=r.useState(null),[y,w]=r.useState(null),x=r.useCallback(e=>{e!==R.current&&(R.current=e,g(e))},[]),b=r.useCallback(e=>{e!==A.current&&(A.current=e,w(e))},[]),S=a||v,C=s||y,R=r.useRef(null),A=r.useRef(null),j=r.useRef(d),E=null!=c,T=eC(c),P=eC(i),N=eC(f),k=r.useCallback(()=>{if(!R.current||!A.current)return;let e={placement:t,strategy:n,middleware:h};P.current&&(e.platform=P.current),((e,t,n)=>{let r=new Map,l={platform:ev,...n},o={...l.platform,_c:r};return O(e,t,{...l,platform:o})})(R.current,A.current,e).then(e=>{let t={...e,isPositioned:!1!==N.current};D.current&&!ex(j.current,t)&&(j.current=t,l.flushSync(()=>{p(t)}))})},[h,t,n,P,N]);ew(()=>{!1===f&&j.current.isPositioned&&(j.current.isPositioned=!1,p(e=>({...e,isPositioned:!1})))},[f]);let D=r.useRef(!1);ew(()=>(D.current=!0,()=>{D.current=!1}),[]),ew(()=>{if(S&&(R.current=S),C&&(A.current=C),S&&C){if(T.current)return T.current(S,C,k);k()}},[S,C,k,T,E]);let L=r.useMemo(()=>({reference:R,floating:A,setReference:x,setFloating:b}),[x,b]),M=r.useMemo(()=>({reference:S,floating:C}),[S,C]),I=r.useMemo(()=>{let e={position:n,left:0,top:0};if(!M.floating)return e;let t=eS(M.floating,d.x),r=eS(M.floating,d.y);return u?{...e,transform:"translate("+t+"px, "+r+"px)",...eb(M.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:t,top:r}},[n,u,M.floating,d.x,d.y]);return r.useMemo(()=>({...d,update:k,refs:L,elements:M,floatingStyles:I}),[d,k,L,M,I])}({strategy:"fixed",placement:h+("center"!==y?"-"+y:""),whileElementsMounted:function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e,t,n,r){let l;void 0===r&&(r={});let{ancestorScroll:o=!0,ancestorResize:i=!0,elementResize:a="function"==typeof ResizeObserver,layoutShift:s="function"==typeof IntersectionObserver,animationFrame:u=!1}=r,c=el(e),f=o||i?[...c?et(c):[],...et(t)]:[];f.forEach(e=>{o&&e.addEventListener("scroll",n,{passive:!0}),i&&e.addEventListener("resize",n)});let d=c&&s?function(e,t){let n,r=null,l=B(e);function o(){var e;clearTimeout(n),null==(e=r)||e.disconnect(),r=null}return!function i(a,s){void 0===a&&(a=!1),void 0===s&&(s=1),o();let u=e.getBoundingClientRect(),{left:c,top:f,width:d,height:p}=u;if(a||t(),!d||!p)return;let h=w(f),m=w(l.clientWidth-(c+d)),y={rootMargin:-h+"px "+-m+"px "+-w(l.clientHeight-(f+p))+"px "+-w(c)+"px",threshold:g(0,v(1,s))||1},x=!0;function b(t){let r=t[0].intersectionRatio;if(r!==s){if(!x)return i();r?i(!1,r):n=setTimeout(()=>{i(!1,1e-7)},1e3)}1!==r||eg(u,e.getBoundingClientRect())||i(),x=!1}try{r=new IntersectionObserver(b,{...y,root:l.ownerDocument})}catch(e){r=new IntersectionObserver(b,y)}r.observe(e)}(!0),o}(c,n):null,p=-1,h=null;a&&(h=new ResizeObserver(e=>{let[r]=e;r&&r.target===c&&h&&(h.unobserve(t),cancelAnimationFrame(p),p=requestAnimationFrame(()=>{var e;null==(e=h)||e.observe(t)})),n()}),c&&!u&&h.observe(c),h.observe(t));let m=u?es(e):null;return u&&function t(){let r=es(e);m&&!eg(m,r)&&n(),m=r,l=requestAnimationFrame(t)}(),n(),()=>{var e;
1f.forEach(e=>{o&&e.removeEventListener("scroll",n),i&&e.removeEventListener("resize",n)}),null==d||d(),null==(e=h)||e.disconnect(),h=null,u&&cancelAnimationFrame(l)}}(...t,{animationFrame:"always"===_})},elements:{reference:G.anchor},middleware:[((e,t)=>({...function(e){return void 0===e&&(e=0),{name:"offset",options:e,async fn(t){var n,r;let{x:l,y:o,placement:i,middlewareData:a}=t,s=await V(t,e);return i===(null==(n=a.offset)?void 0:n.placement)&&null!=(r=a.arrow)&&r.alignmentOffset?{}:{x:l+s.x,y:o+s.y,data:{...s,placement:i}}}}}(e),options:[e,t]}))({mainAxis:m+J,alignmentAxis:x}),S&&((e,t)=>({...function(e){return void 0===e&&(e={}),{name:"shift",options:e,async fn(t){let{x:n,y:r,placement:l}=t,{mainAxis:o=!0,crossAxis:i=!1,limiter:a={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...s}=C(e,t),u={x:n,y:r},c=await M(t,s),f=T(R(l)),d=j(f),p=u[d],h=u[f];if(o){let e="y"===d?"top":"left",t="y"===d?"bottom":"right",n=p+c[e],r=p-c[t];p=g(n,v(p,r))}if(i){let e="y"===f?"top":"left",t="y"===f?"bottom":"right",n=h+c[e],r=h-c[t];h=g(n,v(h,r))}let m=a.fn({...t,[d]:p,[f]:h});return{...m,data:{x:m.x-n,y:m.y-r,enabled:{[d]:o,[f]:i}}}}}}(e),options:[e,t]}))({mainAxis:!0,crossAxis:!1,limiter:"partial"===L?((e,t)=>({...function(e){return void 0===e&&(e={}),{options:e,fn(t){let{x:n,y:r,placement:l,rects:o,middlewareData:i}=t,{offset:a=0,mainAxis:s=!0,crossAxis:u=!0}=C(e,t),c={x:n,y:r},f=T(l),d=j(f),p=c[d],h=c[f],m=C(a,t),v="number"==typeof m?{mainAxis:m,crossAxis:0}:{mainAxis:0,crossAxis:0,...m};if(s){let e="y"===d?"height":"width",t=o.reference[d]-o.floating[e]+v.mainAxis,n=o.reference[d]+o.reference[e]-v.mainAxis;p<t?p=t:p>n&&(p=n)}if(u){var g,y;let e="y"===d?"width":"height",t=["top","left"].includes(R(l)),n=o.reference[f]-o.floating[e]+(t&&(null==(g=i.offset)?void 0:g[f])||0)+(t?0:v.crossAxis),r=o.reference[f]+o.reference[e]+(t?0:(null==(y=i.offset)?void 0:y[f])||0)-(t?v.crossAxis:0);h<n?h=n:h>r&&(h=r)}return{[d]:p,[f]:h}}}}(e),options:[e,t]}))():void 0,...er}),S&&((e,t)=>({...function(e){return void 0===e&&(e={}),{name:"flip",options:e,async fn(t){var n,r,l,o,i;let{placement:a,middlewareData:s,rects:u,initialPlacement:c,platform:f,elements:d}=t,{mainAxis:p=!0,crossAxis:h=!0,fallbackPlacements:m,fallbackStrategy:v="bestFit",fallbackAxisSideDirection:g="none",flipAlignment:y=!0,...w}=C(e,t);if(null!=(n=s.arrow)&&n.alignmentOffset)return{};let x=R(a),b=T(c),S=R(c)===c,k=await (null==f.isRTL?void 0:f.isRTL(d.floating)),D=m||(S||!y?[N(c)]:function(e){let t=N(e);return[P(e),t,P(t)]}(c)),L="none"!==g;!m&&L&&D.push(...function(e,t,n,r){let l=A(e),o=function(e,t,n){let r=["left","right"],l=["right","left"];switch(e){case"top":case"bottom":if(n)return t?l:r;return t?r:l;case"left":case"right":return t?["top","bottom"]:["bottom","top"];default:return[]}}(R(e),"start"===n,r);return l&&(o=o.map(e=>e+"-"+l),t&&(o=o.concat(o.map(P)))),o}(c,y,g,k));let O=[c,...D],I=await M(t,w),H=[],V=(null==(r=s.flip)?void 0:r.overflows)||[];if(p&&H.push(I[x]),h){let e=function(e,t,n){void 0===n&&(n=!1);let r=A(e),l=j(T(e)),o=E(l),i="x"===l?r===(n?"end":"start")?"right":"left":"start"===r?"bottom":"top";return t.reference[o]>t.floating[o]&&(i=N(i)),[i,N(i)]}(a,u,k);H.push(I[e[0]],I[e[1]])}if(V=[...V,{placement:a,overflows:H}],!H.every(e=>e<=0)){let e=((null==(l=s.flip)?void 0:l.index)||0)+1,t=O[e];if(t)return{data:{index:e,overflows:V},reset:{placement:t}};let n=null==(o=V.filter(e=>e.overflows[0]<=0).sort((e,t)=>e.overflows[1]-t.overflows[1])[0])?void 0:o.placement;if(!n)switch(v){case"bestFit":{let e=null==(i=V.filter(e=>{if(L){let t=T(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&&(n=e);break}case"initialPlacement":n=c}if(a!==n)return{reset:{placement:n}}}return{}}}}(e),options:[e,t]}))({...er}),((e,t)=>({...function(e){return void 0===e&&(e={}),{name:"size",options:e,async fn(t){var n,r;let l,o,{placement:i,rects:a,platform:s,elements:u}=t,{apply:c=()=>{},...f}=C(e,t),d=await M(t,f),p=R(i),h=A(i),m="y"===T(i),{width:y,height:w}=a.floating;"top"===p||"bottom"===p?(l=p,o=h===(await (null==s.isRTL?void 0:s.isRTL(u.floating))?"start":"end")?"left":"right"):(o=p,l="end"===h?"to
1p":"bottom");let x=w-d.top-d.bottom,b=y-d.left-d.right,S=v(w-d[l],x),j=v(y-d[o],b),E=!t.middlewareData.shift,P=S,N=j;if(null!=(n=t.middlewareData.shift)&&n.enabled.x&&(N=b),null!=(r=t.middlewareData.shift)&&r.enabled.y&&(P=x),E&&!h){let e=g(d.left,0),t=g(d.right,0),n=g(d.top,0),r=g(d.bottom,0);m?N=y-2*(0!==e||0!==t?e+t:g(d.left,d.right)):P=w-2*(0!==n||0!==r?n+r:g(d.top,d.bottom))}await c({...t,availableWidth:N,availableHeight:P});let k=await s.getDimensions(u.floating);return y!==k.width||w!==k.height?{reset:{rects:!0}}:{}}}}(e),options:[e,t]}))({...er,apply:e=>{let{elements:t,rects:n,availableWidth:r,availableHeight:l}=e,{width:o,height:i}=n.reference,a=t.floating.style;a.setProperty("--radix-popper-available-width","".concat(r,"px")),a.setProperty("--radix-popper-available-height","".concat(l,"px")),a.setProperty("--radix-popper-anchor-width","".concat(o,"px")),a.setProperty("--radix-popper-anchor-height","".concat(i,"px"))}}),q&&((e,t)=>({...(e=>({name:"arrow",options:e,fn(t){let{element:n,padding:r}="function"==typeof e?e(t):e;return n&&({}).hasOwnProperty.call(n,"current")?null!=n.current?ey({element:n.current,padding:r}).fn(t):{}:n?ey({element:n,padding:r}).fn(t):{}}}))(e),options:[e,t]}))({element:q,padding:b}),e$({arrowWidth:Z,arrowHeight:J}),W&&((e,t)=>({...function(e){return void 0===e&&(e={}),{name:"hide",options:e,async fn(t){let{rects:n}=t,{strategy:r="referenceHidden",...l}=C(e,t);switch(r){case"referenceHidden":{let e=I(await M(t,{...l,elementContext:"reference"}),n.reference);return{data:{referenceHiddenOffsets:e,referenceHidden:H(e)}}}case"escaped":{let e=I(await M(t,{...l,altBoundary:!0}),n.floating);return{data:{escapedOffsets:e,escaped:H(e)}}}default:return{}}}}}(e),options:[e,t]}))({strategy:"referenceHidden",...er})]}),[ef,ed]=eU(ea),ep=(0,eE.c)(F);(0,eT.N)(()=>{eu&&(null==ep||ep())},[eu,ep]);let eh=null==(n=ec.arrow)?void 0:n.x,em=null==(o=ec.arrow)?void 0:o.y,ej=(null==(i=ec.arrow)?void 0:i.centerOffset)!==0,[eN,ek]=r.useState();return(0,eT.N)(()=>{K&&ek(window.getComputedStyle(K).zIndex)},[K]),(0,eA.jsx)("div",{ref:eo.setFloating,"data-radix-popper-content-wrapper":"",style:{...ei,transform:eu?ei.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:eN,"--radix-popper-transform-origin":[null==(a=ec.transformOrigin)?void 0:a.x,null==(u=ec.transformOrigin)?void 0:u.y].join(" "),...(null==(c=ec.hide)?void 0:c.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:(0,eA.jsx)(eW,{scope:p,placedSide:ef,onArrowChange:X,arrowX:eh,arrowY:em,shouldHideArrow:ej,children:(0,eA.jsx)(eR.sG.div,{"data-side":ef,"data-align":ed,...z,ref:U,style:{...z.style,animation:eu?void 0:"none"}})})})});eF.displayName=eV;var eB="PopperArrow",ez={top:"bottom",right:"left",bottom:"top",left:"right"},eG=r.forwardRef(function(e,t){let{__scopePopper:n,...r}=e,l=e_(eB,n),o=ez[l.placedSide];return(0,eA.jsx)("span",{ref:l.onArrowChange,style:{position:"absolute",left:l.arrowX,top:l.arrowY,[o]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[l.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[l.placedSide],visibility:l.shouldHideArrow?"hidden":void 0},children:(0,eA.jsx)(ej,{...r,ref:t,style:{...r.style,display:"block"}})})});function eK(e){return null!==e}eG.displayName=eB;var e$=e=>({name:"transformOrigin",options:e,fn(t){var n,r,l,o,i;let{placement:a,rects:s,middlewareData:u}=t,c=(null==(n=u.arrow)?void 0:n.centerOffset)!==0,f=c?0:e.arrowWidth,d=c?0:e.arrowHeight,[p,h]=eU(a),m={start:"0%",center:"50%",end:"100%"}[h],v=(null!=(o=null==(r=u.arrow)?void 0:r.x)?o:0)+f/2,g=(null!=(i=null==(l=u.arrow)?void 0:l.y)?i:0)+d/2,y="",w="";return"bottom"===p?(y=c?m:"".concat(v,"px"),w="".concat(-d,"px")):"top"===p?(y=c?m:"".concat(v,"px"),w="".concat(s.floating.height+d,"px")):"right"===p?(y="".concat(-d,"px"),w=c?m:"".concat(g,"px")):"left"===p&&(y="".concat(s.floating.width+d,"px"),w=c?m:"".concat(g,"px")),{data:{x:y,y:w}}}});function eU(e){let[t,n="center"]=e.split("-");return[t,n]}var eq=n(19040),eX=r.forwardRef((e,t)=>
1{let{children:n,...l}=e,o=r.Children.toArray(n),i=o.find(eJ);if(i){let e=i.props.children,n=o.map(t=>t!==i?t:r.Children.count(e)>1?r.Children.only(null):r.isValidElement(e)?e.props.children:null);return(0,eA.jsx)(eY,{...l,ref:t,children:r.isValidElement(e)?r.cloneElement(e,void 0,n):null})}return(0,eA.jsx)(eY,{...l,ref:t,children:n})});eX.displayName="Slot";var eY=r.forwardRef((e,t)=>{let{children:n,...l}=e;if(r.isValidElement(n)){let e=function(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(n=(t=Object.getOwnPropertyDescriptor(e,"ref")?.get)&&"isReactWarning"in t&&t.isReactWarning)?e.props.ref:e.props.ref||e.ref}(n),o=function(e,t){let n={...t};for(let r in t){let l=e[r],o=t[r];/^on[A-Z]/.test(r)?l&&o?n[r]=(...e)=>{o(...e),l(...e)}:l&&(n[r]=l):"style"===r?n[r]={...l,...o}:"className"===r&&(n[r]=[l,o].filter(Boolean).join(" "))}return{...e,...n}}(l,n.props);return n.type!==r.Fragment&&(o.ref=t?(0,s.t)(t,e):e),r.cloneElement(n,o)}return r.Children.count(n)>1?r.Children.only(null):null});eY.displayName="SlotClone";var eZ=({children:e})=>(0,eA.jsx)(eA.Fragment,{children:e});function eJ(e){return r.isValidElement(e)&&e.type===eZ}var eQ=n(98979),e0=n(83417),e1=r.forwardRef((e,t)=>(0,eA.jsx)(eR.sG.span,{...e,ref:t,style:{position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal",...e.style}}));e1.displayName="VisuallyHidden";var e5=n(22954),e2=n(5174),e9=[" ","Enter","ArrowUp","ArrowDown"],e7=[" ","Enter"],e3="Select",[e6,e4,e8]=(0,a.N)(e3),[te,tt]=(0,u.A)(e3,[e8,eD]),tn=eD(),[tr,tl]=te(e3),[to,ti]=te(e3),ta=e=>{let{__scopeSelect:t,children:n,open:l,defaultOpen:o,onOpenChange:i,value:a,defaultValue:s,onValueChange:u,dir:f,name:d,autoComplete:p,disabled:m,required:v,form:g}=e,y=tn(t),[w,x]=r.useState(null),[b,S]=r.useState(null),[C,R]=r.useState(!1),A=(0,c.jH)(f),[j=!1,E]=(0,eQ.i)({prop:l,defaultProp:o,onChange:i}),[T,P]=(0,eQ.i)({prop:a,defaultProp:s,onChange:u}),N=r.useRef(null),k=!w||g||!!w.closest("form"),[D,L]=r.useState(new Set),O=Array.from(D).map(e=>e.props.value).join(";");return(0,eA.jsx)(eM,{...y,children:(0,eA.jsxs)(tr,{required:v,scope:t,trigger:w,onTriggerChange:x,valueNode:b,onValueNodeChange:S,valueNodeHasChildren:C,onValueNodeHasChildrenChange:R,contentId:(0,h.B)(),value:T,onValueChange:P,open:j,onOpenChange:E,dir:A,triggerPointerDownPosRef:N,disabled:m,children:[(0,eA.jsx)(e6.Provider,{scope:t,children:(0,eA.jsx)(to,{scope:e.__scopeSelect,onNativeOptionAdd:r.useCallback(e=>{L(t=>new Set(t).add(e))},[]),onNativeOptionRemove:r.useCallback(e=>{L(t=>{let n=new Set(t);return n.delete(e),n})},[]),children:n})}),k?(0,eA.jsxs)(tU,{"aria-hidden":!0,required:v,tabIndex:-1,name:d,autoComplete:p,value:T,onChange:e=>P(e.target.value),disabled:m,form:g,children:[void 0===T?(0,eA.jsx)("option",{value:""}):null,Array.from(D)]},O):null]})})};ta.displayName=e3;var ts="SelectTrigger",tu=r.forwardRef((e,t)=>{let{__scopeSelect:n,disabled:l=!1,...o}=e,a=tn(n),u=tl(ts,n),c=u.disabled||l,f=(0,s.s)(t,u.onTriggerChange),d=e4(n),p=r.useRef("touch"),[h,m,v]=tq(e=>{let t=d().filter(e=>!e.disabled),n=t.find(e=>e.value===u.value),r=tX(t,e,n);void 0!==r&&u.onValueChange(r.value)}),g=e=>{c||(u.onOpenChange(!0),v()),e&&(u.triggerPointerDownPosRef.current={x:Math.round(e.pageX),y:Math.round(e.pageY)})};return(0,eA.jsx)(eH,{asChild:!0,...a,children:(0,eA.jsx)(eR.sG.button,{type:"button",role:"combobox","aria-controls":u.contentId,"aria-expanded":u.open,"aria-required":u.required,"aria-autocomplete":"none",dir:u.dir,"data-state":u.open?"open":"closed",disabled:c,"data-disabled":c?"":void 0,"data-placeholder":t$(u.value)?"":void 0,...o,ref:f,onClick:(0,i.m)(o.onClick,e=>{e.currentTarget.focus(),"mouse"!==p.current&&g(e)}),onPointerDown:(0,i.m)(o.onPointerDown,e=>{p.current=e.pointerType;let t=e.target;t.hasPointerCapture(e.pointerId)&&t.releasePointerCapture(e.pointerId),0===e.button&&!1===e.ctrlKey&&"mouse"===e.pointerType&&(g(e),e.preventDefault())}),onKeyDown:(0,i.m)(o.onKeyDown,e=>{let t=""!==h.current;
1e.ctrlKey||e.altKey||e.metaKey||1!==e.key.length||m(e.key),(!t||" "!==e.key)&&e9.includes(e.key)&&(g(),e.preventDefault())})})})});tu.displayName=ts;var tc="SelectValue",tf=r.forwardRef((e,t)=>{let{__scopeSelect:n,className:r,style:l,children:o,placeholder:i="",...a}=e,u=tl(tc,n),{onValueNodeHasChildrenChange:c}=u,f=void 0!==o,d=(0,s.s)(t,u.onValueNodeChange);return(0,eT.N)(()=>{c(f)},[c,f]),(0,eA.jsx)(eR.sG.span,{...a,ref:d,style:{pointerEvents:"none"},children:t$(u.value)?(0,eA.jsx)(eA.Fragment,{children:i}):o})});tf.displayName=tc;var td=r.forwardRef((e,t)=>{let{__scopeSelect:n,children:r,...l}=e;return(0,eA.jsx)(eR.sG.span,{"aria-hidden":!0,...l,ref:t,children:r||"▼"})});td.displayName="SelectIcon";var tp=e=>(0,eA.jsx)(eq.Z,{asChild:!0,...e});tp.displayName="SelectPortal";var th="SelectContent",tm=r.forwardRef((e,t)=>{let n=tl(th,e.__scopeSelect),[o,i]=r.useState();return((0,eT.N)(()=>{i(new DocumentFragment)},[]),n.open)?(0,eA.jsx)(ty,{...e,ref:t}):o?l.createPortal((0,eA.jsx)(tv,{scope:e.__scopeSelect,children:(0,eA.jsx)(e6.Slot,{scope:e.__scopeSelect,children:(0,eA.jsx)("div",{children:e.children})})}),o):null});tm.displayName=th;var[tv,tg]=te(th),ty=r.forwardRef((e,t)=>{let{__scopeSelect:n,position:l="item-aligned",onCloseAutoFocus:o,onEscapeKeyDown:a,onPointerDownOutside:u,side:c,sideOffset:h,align:m,alignOffset:v,arrowPadding:g,collisionBoundary:y,collisionPadding:w,sticky:x,hideWhenDetached:b,avoidCollisions:S,...C}=e,R=tl(th,n),[A,j]=r.useState(null),[E,T]=r.useState(null),P=(0,s.s)(t,e=>j(e)),[N,k]=r.useState(null),[D,L]=r.useState(null),O=e4(n),[M,I]=r.useState(!1),H=r.useRef(!1);r.useEffect(()=>{if(A)return(0,e5.Eq)(A)},[A]),(0,d.Oh)();let V=r.useCallback(e=>{let[t,...n]=O().map(e=>e.ref.current),[r]=n.slice(-1),l=document.activeElement;for(let n of e)if(n===l||(null==n||n.scrollIntoView({block:"nearest"}),n===t&&E&&(E.scrollTop=0),n===r&&E&&(E.scrollTop=E.scrollHeight),null==n||n.focus(),document.activeElement!==l))return},[O,E]),W=r.useCallback(()=>V([N,A]),[V,N,A]);r.useEffect(()=>{M&&W()},[M,W]);let{onOpenChange:_,triggerPointerDownPosRef:F}=R;r.useEffect(()=>{if(A){let e={x:0,y:0},t=t=>{var n,r,l,o;e={x:Math.abs(Math.round(t.pageX)-(null!=(l=null==(n=F.current)?void 0:n.x)?l:0)),y:Math.abs(Math.round(t.pageY)-(null!=(o=null==(r=F.current)?void 0:r.y)?o:0))}},n=n=>{e.x<=10&&e.y<=10?n.preventDefault():A.contains(n.target)||_(!1),document.removeEventListener("pointermove",t),F.current=null};return null!==F.current&&(document.addEventListener("pointermove",t),document.addEventListener("pointerup",n,{capture:!0,once:!0})),()=>{document.removeEventListener("pointermove",t),document.removeEventListener("pointerup",n,{capture:!0})}}},[A,_,F]),r.useEffect(()=>{let e=()=>_(!1);return window.addEventListener("blur",e),window.addEventListener("resize",e),()=>{window.removeEventListener("blur",e),window.removeEventListener("resize",e)}},[_]);let[B,z]=tq(e=>{let t=O().filter(e=>!e.disabled),n=t.find(e=>e.ref.current===document.activeElement),r=tX(t,e,n);r&&setTimeout(()=>r.ref.current.focus())}),G=r.useCallback((e,t,n)=>{let r=!H.current&&!n;(void 0!==R.value&&R.value===t||r)&&(k(e),r&&(H.current=!0))},[R.value]),K=r.useCallback(()=>null==A?void 0:A.focus(),[A]),$=r.useCallback((e,t,n)=>{let r=!H.current&&!n;(void 0!==R.value&&R.value===t||r)&&L(e)},[R.value]),U="popper"===l?tx:tw,q=U===tx?{side:c,sideOffset:h,align:m,alignOffset:v,arrowPadding:g,collisionBoundary:y,collisionPadding:w,sticky:x,hideWhenDetached:b,avoidCollisions:S}:{};return(0,eA.jsx)(tv,{scope:n,content:A,viewport:E,onViewportChange:T,itemRefCallback:G,selectedItem:N,onItemLeave:K,itemTextRefCallback:$,focusSelectedItem:W,selectedItemText:D,position:l,isPositioned:M,searchRef:B,children:(0,eA.jsx)(e2.A,{as:eX,allowPinchZoom:!0,children:(0,eA.jsx)(p.n,{asChild:!0,trapped:R.open,onMountAutoFocus:e=>{e.preventDefault()},onUnmountAutoFocus:(0,i.m)(o,e=>{var t;null==(t=R.trigger)||t.focus({preventScroll:!0}),e.preventDefault()}),children:(0,eA.jsx)(f.qW,{asChild:!0,disableOutsidePointerEvents:!0,onEscapeKeyDown:a,onPointerDownOutside:u,onFocusOutside:e=>e.preventDefault(),onDismiss:()=>R.onOpenChange(!1),children:(0,eA.jsx)(U,{role:"listbox",id:R.contentId,"data-state":R.open?"open":"closed",dir:R.dir,onContextMenu:e=>e.preventDefault(),...C,...q,onPlaced:()=>I(!0),ref:P,style:{display:"flex",flexDirection:"column",outline:"none",...C.style},onKeyDown:(0,i.m)(C.onKeyDown,e=>{let t=e.ctrlKey||e.altKey||e.metaKey;
1if("Tab"===e.key&&e.preventDefault(),t||1!==e.key.length||z(e.key),["ArrowUp","ArrowDown","Home","End"].includes(e.key)){let t=O().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 n=e.target,r=t.indexOf(n);t=t.slice(r+1)}setTimeout(()=>V(t)),e.preventDefault()}})})})})})})});ty.displayName="SelectContentImpl";var tw=r.forwardRef((e,t)=>{let{__scopeSelect:n,onPlaced:l,...i}=e,a=tl(th,n),u=tg(th,n),[c,f]=r.useState(null),[d,p]=r.useState(null),h=(0,s.s)(t,e=>p(e)),m=e4(n),v=r.useRef(!1),g=r.useRef(!0),{viewport:y,selectedItem:w,selectedItemText:x,focusSelectedItem:b}=u,S=r.useCallback(()=>{if(a.trigger&&a.valueNode&&c&&d&&y&&w&&x){let e=a.trigger.getBoundingClientRect(),t=d.getBoundingClientRect(),n=a.valueNode.getBoundingClientRect(),r=x.getBoundingClientRect();if("rtl"!==a.dir){let l=r.left-t.left,i=n.left-l,a=e.left-i,s=e.width+a,u=Math.max(s,t.width),f=o(i,[10,Math.max(10,window.innerWidth-10-u)]);c.style.minWidth=s+"px",c.style.left=f+"px"}else{let l=t.right-r.right,i=window.innerWidth-n.right-l,a=window.innerWidth-e.right-i,s=e.width+a,u=Math.max(s,t.width),f=o(i,[10,Math.max(10,window.innerWidth-10-u)]);c.style.minWidth=s+"px",c.style.right=f+"px"}let i=m(),s=window.innerHeight-20,u=y.scrollHeight,f=window.getComputedStyle(d),p=parseInt(f.borderTopWidth,10),h=parseInt(f.paddingTop,10),g=parseInt(f.borderBottomWidth,10),b=p+h+u+parseInt(f.paddingBottom,10)+g,S=Math.min(5*w.offsetHeight,b),C=window.getComputedStyle(y),R=parseInt(C.paddingTop,10),A=parseInt(C.paddingBottom,10),j=e.top+e.height/2-10,E=w.offsetHeight/2,T=p+h+(w.offsetTop+E);if(T<=j){let e=i.length>0&&w===i[i.length-1].ref.current;c.style.bottom="0px";let t=Math.max(s-j,E+(e?A:0)+(d.clientHeight-y.offsetTop-y.offsetHeight)+g);c.style.height=T+t+"px"}else{let e=i.length>0&&w===i[0].ref.current;c.style.top="0px";let t=Math.max(j,p+y.offsetTop+(e?R:0)+E);c.style.height=t+(b-T)+"px",y.scrollTop=T-j+y.offsetTop}c.style.margin="".concat(10,"px 0"),c.style.minHeight=S+"px",c.style.maxHeight=s+"px",null==l||l(),requestAnimationFrame(()=>v.current=!0)}},[m,a.trigger,a.valueNode,c,d,y,w,x,a.dir,l]);(0,eT.N)(()=>S(),[S]);let[C,R]=r.useState();(0,eT.N)(()=>{d&&R(window.getComputedStyle(d).zIndex)},[d]);let A=r.useCallback(e=>{e&&!0===g.current&&(S(),null==b||b(),g.current=!1)},[S,b]);return(0,eA.jsx)(tb,{scope:n,contentWrapper:c,shouldExpandOnScrollRef:v,onScrollButtonChange:A,children:(0,eA.jsx)("div",{ref:f,style:{display:"flex",flexDirection:"column",position:"fixed",zIndex:C},children:(0,eA.jsx)(eR.sG.div,{...i,ref:h,style:{boxSizing:"border-box",maxHeight:"100%",...i.style}})})})});tw.displayName="SelectItemAlignedPosition";var tx=r.forwardRef((e,t)=>{let{__scopeSelect:n,align:r="start",collisionPadding:l=10,...o}=e,i=tn(n);return(0,eA.jsx)(eF,{...i,...o,ref:t,align:r,collisionPadding:l,style:{boxSizing:"border-box",...o.style,"--radix-select-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-select-content-available-width":"var(--radix-popper-available-width)","--radix-select-content-available-height":"var(--radix-popper-available-height)","--radix-select-trigger-width":"var(--radix-popper-anchor-width)","--radix-select-trigger-height":"var(--radix-popper-anchor-height)"}})});tx.displayName="SelectPopperPosition";var[tb,tS]=te(th,{}),tC="SelectViewport",tR=r.forwardRef((e,t)=>{let{__scopeSelect:n,nonce:l,...o}=e,a=tg(tC,n),u=tS(tC,n),c=(0,s.s)(t,a.onViewportChange),f=r.useRef(0);return(0,eA.jsxs)(eA.Fragment,{children:[(0,eA.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:l}),(0,eA.jsx)(e6.Slot,{scope:n,children:(0,eA.jsx)(eR.sG.div,{"data-radix-select-viewport":"",role:"presentation",...o,ref:c,style:{position:"relative",flex:1,overflow:"hidden auto",...o.style},onScroll:(0,i.m)(o.onScroll,e=>{let t=e.currentTarget,{contentWrapper:n,shouldExpandOnScrollRef:r}=u;if((null==r?void 0:r.current)&&n){let e=Math.abs(f.current-t.scrollTop);if(e>0){let r=window.innerHeight-20,l=Math.max(parseFloat(n.style.minHeight),parseFloat(n.style.height));if(l<r){let o=l+e,i=Math.min(r,o),a=o-i;n.style.height=i+"px","0px"===n.style.bottom&&(t.scrollTop=a>0?a:0,n.style.justifyContent="flex-end")}}}f.current=t.scrollTop})})})]})});tR.displayName=tC;var tA="SelectGroup",[tj,tE]=te(tA),tT=r.forwardRef((e,t)=>
1{let{__scopeSelect:n,...r}=e,l=(0,h.B)();return(0,eA.jsx)(tj,{scope:n,id:l,children:(0,eA.jsx)(eR.sG.div,{role:"group","aria-labelledby":l,...r,ref:t})})});tT.displayName=tA;var tP="SelectLabel",tN=r.forwardRef((e,t)=>{let{__scopeSelect:n,...r}=e,l=tE(tP,n);return(0,eA.jsx)(eR.sG.div,{id:l.id,...r,ref:t})});tN.displayName=tP;var tk="SelectItem",[tD,tL]=te(tk),tO=r.forwardRef((e,t)=>{let{__scopeSelect:n,value:l,disabled:o=!1,textValue:a,...u}=e,c=tl(tk,n),f=tg(tk,n),d=c.value===l,[p,m]=r.useState(null!=a?a:""),[v,g]=r.useState(!1),y=(0,s.s)(t,e=>{var t;return null==(t=f.itemRefCallback)?void 0:t.call(f,e,l,o)}),w=(0,h.B)(),x=r.useRef("touch"),b=()=>{o||(c.onValueChange(l),c.onOpenChange(!1))};if(""===l)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,eA.jsx)(tD,{scope:n,value:l,disabled:o,textId:w,isSelected:d,onItemTextChange:r.useCallback(e=>{m(t=>{var n;return t||(null!=(n=null==e?void 0:e.textContent)?n:"").trim()})},[]),children:(0,eA.jsx)(e6.ItemSlot,{scope:n,value:l,disabled:o,textValue:p,children:(0,eA.jsx)(eR.sG.div,{role:"option","aria-labelledby":w,"data-highlighted":v?"":void 0,"aria-selected":d&&v,"data-state":d?"checked":"unchecked","aria-disabled":o||void 0,"data-disabled":o?"":void 0,tabIndex:o?void 0:-1,...u,ref:y,onFocus:(0,i.m)(u.onFocus,()=>g(!0)),onBlur:(0,i.m)(u.onBlur,()=>g(!1)),onClick:(0,i.m)(u.onClick,()=>{"mouse"!==x.current&&b()}),onPointerUp:(0,i.m)(u.onPointerUp,()=>{"mouse"===x.current&&b()}),onPointerDown:(0,i.m)(u.onPointerDown,e=>{x.current=e.pointerType}),onPointerMove:(0,i.m)(u.onPointerMove,e=>{if(x.current=e.pointerType,o){var t;null==(t=f.onItemLeave)||t.call(f)}else"mouse"===x.current&&e.currentTarget.focus({preventScroll:!0})}),onPointerLeave:(0,i.m)(u.onPointerLeave,e=>{if(e.currentTarget===document.activeElement){var t;null==(t=f.onItemLeave)||t.call(f)}}),onKeyDown:(0,i.m)(u.onKeyDown,e=>{var t;((null==(t=f.searchRef)?void 0:t.current)===""||" "!==e.key)&&(e7.includes(e.key)&&b()," "===e.key&&e.preventDefault())})})})})});tO.displayName=tk;var tM="SelectItemText",tI=r.forwardRef((e,t)=>{let{__scopeSelect:n,className:o,style:i,...a}=e,u=tl(tM,n),c=tg(tM,n),f=tL(tM,n),d=ti(tM,n),[p,h]=r.useState(null),m=(0,s.s)(t,e=>h(e),f.onItemTextChange,e=>{var t;return null==(t=c.itemTextRefCallback)?void 0:t.call(c,e,f.value,f.disabled)}),v=null==p?void 0:p.textContent,g=r.useMemo(()=>(0,eA.jsx)("option",{value:f.value,disabled:f.disabled,children:v},f.value),[f.disabled,f.value,v]),{onNativeOptionAdd:y,onNativeOptionRemove:w}=d;return(0,eT.N)(()=>(y(g),()=>w(g)),[y,w,g]),(0,eA.jsxs)(eA.Fragment,{children:[(0,eA.jsx)(eR.sG.span,{id:f.textId,...a,ref:m}),f.isSelected&&u.valueNode&&!u.valueNodeHasChildren?l.createPortal(a.children,u.valueNode):null]})});tI.displayName=tM;var tH="SelectItemIndicator",tV=r.forwardRef((e,t)=>{let{__scopeSelect:n,...r}=e;return tL(tH,n).isSelected?(0,eA.jsx)(eR.sG.span,{"aria-hidden":!0,...r,ref:t}):null});tV.displayName=tH;var tW="SelectScrollUpButton",t_=r.forwardRef((e,t)=>{let n=tg(tW,e.__scopeSelect),l=tS(tW,e.__scopeSelect),[o,i]=r.useState(!1),a=(0,s.s)(t,l.onScrollButtonChange);return(0,eT.N)(()=>{if(n.viewport&&n.isPositioned){let e=function(){i(t.scrollTop>0)},t=n.viewport;return e(),t.addEventListener("scroll",e),()=>t.removeEventListener("scroll",e)}},[n.viewport,n.isPositioned]),o?(0,eA.jsx)(tz,{...e,ref:a,onAutoScroll:()=>{let{viewport:e,selectedItem:t}=n;e&&t&&(e.scrollTop=e.scrollTop-t.offsetHeight)}}):null});t_.displayName=tW;var tF="SelectScrollDownButton",tB=r.forwardRef((e,t)=>{let n=tg(tF,e.__scopeSelect),l=tS(tF,e.__scopeSelect),[o,i]=r.useState(!1),a=(0,s.s)(t,l.onScrollButtonChange);return(0,eT.N)(()=>{if(n.viewport&&n.isPositioned){let e=function(){let e=t.scrollHeight-t.clientHeight;i(Math.ceil(t.scrollTop)<e)},t=n.viewport;return e(),t.addEventListener("scroll",e),()=>t.removeEventListener("scroll",e)}},[n.viewport,n.isPositioned]),o?(0,eA.jsx)(tz,{...e,ref:a,onAutoScroll:()=>{let{viewport:e,selectedItem:t}=n;e&&t&&(e.scrollTop=e.scrollTop+t.offsetHeight)}}):null});tB.displayName=tF;var tz=r.forwardRef((e,t)=>
1{let{__scopeSelect:n,onAutoScroll:l,...o}=e,a=tg("SelectScrollButton",n),s=r.useRef(null),u=e4(n),c=r.useCallback(()=>{null!==s.current&&(window.clearInterval(s.current),s.current=null)},[]);return r.useEffect(()=>()=>c(),[c]),(0,eT.N)(()=>{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,eA.jsx)(eR.sG.div,{"aria-hidden":!0,...o,ref:t,style:{flexShrink:0,...o.style},onPointerDown:(0,i.m)(o.onPointerDown,()=>{null===s.current&&(s.current=window.setInterval(l,50))}),onPointerMove:(0,i.m)(o.onPointerMove,()=>{var e;null==(e=a.onItemLeave)||e.call(a),null===s.current&&(s.current=window.setInterval(l,50))}),onPointerLeave:(0,i.m)(o.onPointerLeave,()=>{c()})})}),tG=r.forwardRef((e,t)=>{let{__scopeSelect:n,...r}=e;return(0,eA.jsx)(eR.sG.div,{"aria-hidden":!0,...r,ref:t})});tG.displayName="SelectSeparator";var tK="SelectArrow";function t$(e){return""===e||void 0===e}r.forwardRef((e,t)=>{let{__scopeSelect:n,...r}=e,l=tn(n),o=tl(tK,n),i=tg(tK,n);return o.open&&"popper"===i.position?(0,eA.jsx)(eG,{...l,...r,ref:t}):null}).displayName=tK;var tU=r.forwardRef((e,t)=>{let{value:n,...l}=e,o=r.useRef(null),i=(0,s.s)(t,o),a=(0,e0.Z)(n);return r.useEffect(()=>{let e=o.current,t=Object.getOwnPropertyDescriptor(window.HTMLSelectElement.prototype,"value").set;if(a!==n&&t){let r=new Event("change",{bubbles:!0});t.call(e,n),e.dispatchEvent(r)}},[a,n]),(0,eA.jsx)(e1,{asChild:!0,children:(0,eA.jsx)("select",{...l,ref:i,defaultValue:n})})});function tq(e){let t=(0,eE.c)(e),n=r.useRef(""),l=r.useRef(0),o=r.useCallback(e=>{let r=n.current+e;t(r),function e(t){n.current=t,window.clearTimeout(l.current),""!==t&&(l.current=window.setTimeout(()=>e(""),1e3))}(r)},[t]),i=r.useCallback(()=>{n.current="",window.clearTimeout(l.current)},[]);return r.useEffect(()=>()=>window.clearTimeout(l.current),[]),[n,o,i]}function tX(e,t,n){var r,l;let o=t.length>1&&Array.from(t).every(e=>e===t[0])?t[0]:t,i=n?e.indexOf(n):-1,a=(r=e,l=Math.max(i,0),r.map((e,t)=>r[(l+t)%r.length]));1===o.length&&(a=a.filter(e=>e!==n));let s=a.find(e=>e.textValue.toLowerCase().startsWith(o.toLowerCase()));return s!==n?s:void 0}tU.displayName="BubbleSelect";var tY=ta,tZ=tu,tJ=tf,tQ=td,t0=tp,t1=tm,t5=tR,t2=tT,t9=tN,t7=tO,t3=tI,t6=tV,t4=t_,t8=tB,ne=tG},18460:(e,t,n)=>{n.d(t,{F:()=>i});var r=n(29722);let l=e=>"boolean"==typeof e?`${e}`:0===e?"0":e,o=r.$,i=(e,t)=>n=>{var r;if((null==t?void 0:t.variants)==null)return o(e,null==n?void 0:n.class,null==n?void 0:n.className);let{variants:i,defaultVariants:a}=t,s=Object.keys(i).map(e=>{let t=null==n?void 0:n[e],r=null==a?void 0:a[e];if(null===t)return null;let o=l(t)||l(r);return i[e][o]}),u=n&&Object.entries(n).reduce((e,t)=>{let[n,r]=t;return void 0===r||(e[n]=r),e},{});return o(e,s,null==t||null==(r=t.compoundVariants)?void 0:r.reduce((e,t)=>{let{class:n,className:r,...l}=t;return Object.entries(l).every(e=>{let[t,n]=e;return Array.isArray(n)?n.includes({...a,...u}[t]):({...a,...u})[t]===n})?[...e,n,r]:e},[]),null==n?void 0:n.class,null==n?void 0:n.className)}},35273:(e,t,n)=>{n.d(t,{DX:()=>f,TL:()=>c});var r=n(12115),l=n.t(r,2);function o(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}var i=n(95155),a=Symbol.for("react.lazy"),s=l[" use ".trim().toString()];function u(e){var t;return null!=e&&"object"==typeof e&&"$$typeof"in e&&e.$$typeof===a&&"_payload"in e&&"object"==typeof(t=e._payload)&&null!==t&&"then"in t}function c(e){let t=function(e){let t=r.forwardRef((e,t)=>{let{children:n,...l}=e;if(u(n)&&"function"==typeof s&&(n=s(n._payload)),r.isValidElement(n)){var i;let e,a,s=(i=n,(a=(e=Object.getOwnPropertyDescriptor(i.props,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?i.ref:(a=(e=Object.getOwnPropertyDescriptor(i,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?i.props.ref:i.props.ref||i.ref),u=function(e,t){let n={...t};for(let r in t){let l=e[r],o=t[r];/^on[A-Z]/.test(r)?l&&o?n[r]=(...e)=>{let t=o(...e);return l(...e),t}:l&&(n[r]=l):"style"===r?n[r]={...l,...o}:"className"===r&&(n[r]=[l,o].filter(Boolean).join(" "))}return{...e,...n}}(l,n.props);return n.type!==r.Fragment&&(u.ref=t?function(...e){return t=>{let n=!1,r=e.map(e=>{let r=o(e,t);return n||"function"!=typeof r||(n=!0),r});if(n)return()=>{for(let t=0;t<r.length;t++){let n=r[t];"function"==typeof n?n():o(e[t],null)}}}}(t,s):s),r.cloneElement(n,u)}return r.Children.count(n)>1?r.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}
1(e),n=r.forwardRef((e,n)=>{let{children:l,...o}=e;u(l)&&"function"==typeof s&&(l=s(l._payload));let a=r.Children.toArray(l),c=a.find(p);if(c){let e=c.props.children,l=a.map(t=>t!==c?t:r.Children.count(e)>1?r.Children.only(null):r.isValidElement(e)?e.props.children:null);return(0,i.jsx)(t,{...o,ref:n,children:r.isValidElement(e)?r.cloneElement(e,void 0,l):null})}return(0,i.jsx)(t,{...o,ref:n,children:l})});return n.displayName=`${e}.Slot`,n}var f=c("Slot"),d=Symbol("radix.slottable");function p(e){return r.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===d}},42268:(e,t,n)=>{n.d(t,{A:()=>r});let r=(0,n(78340).A)("ArrowUpRight",[["path",{d:"M7 7h10v10",key:"1tivn9"}],["path",{d:"M7 17 17 7",key:"1vkiza"}]])},63509:(e,t,n)=>{n.d(t,{X:()=>o});var r=n(12115),l=n(66294);function o(e){let[t,n]=r.useState(void 0);return(0,l.N)(()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});let t=new ResizeObserver(t=>{let r,l;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,l=t.blockSize}else r=e.offsetWidth,l=e.offsetHeight;n({width:r,height:l})});return t.observe(e,{box:"border-box"}),()=>t.unobserve(e)}n(void 0)},[e]),t}},64831:(e,t,n)=>{n.d(t,{N:()=>f});var r=n(12115),l=n(68599),o=n(47527),i=n(95155),a=r.forwardRef((e,t)=>{let{children:n,...l}=e,o=r.Children.toArray(n),a=o.find(c);if(a){let e=a.props.children,n=o.map(t=>t!==a?t:r.Children.count(e)>1?r.Children.only(null):r.isValidElement(e)?e.props.children:null);return(0,i.jsx)(s,{...l,ref:t,children:r.isValidElement(e)?r.cloneElement(e,void 0,n):null})}return(0,i.jsx)(s,{...l,ref:t,children:n})});a.displayName="Slot";var s=r.forwardRef((e,t)=>{let{children:n,...l}=e;if(r.isValidElement(n)){let e=function(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(n=(t=Object.getOwnPropertyDescriptor(e,"ref")?.get)&&"isReactWarning"in t&&t.isReactWarning)?e.props.ref:e.props.ref||e.ref}(n),i=function(e,t){let n={...t};for(let r in t){let l=e[r],o=t[r];/^on[A-Z]/.test(r)?l&&o?n[r]=(...e)=>{o(...e),l(...e)}:l&&(n[r]=l):"style"===r?n[r]={...l,...o}:"className"===r&&(n[r]=[l,o].filter(Boolean).join(" "))}return{...e,...n}}(l,n.props);return n.type!==r.Fragment&&(i.ref=t?(0,o.t)(t,e):e),r.cloneElement(n,i)}return r.Children.count(n)>1?r.Children.only(null):null});s.displayName="SlotClone";var u=({children:e})=>(0,i.jsx)(i.Fragment,{children:e});function c(e){return r.isValidElement(e)&&e.type===u}function f(e){let t=e+"CollectionProvider",[n,s]=(0,l.A)(t),[u,c]=n(t,{collectionRef:{current:null},itemMap:new Map}),f=e=>{let{scope:t,children:n}=e,l=r.useRef(null),o=r.useRef(new Map).current;return(0,i.jsx)(u,{scope:t,itemMap:o,collectionRef:l,children:n})};f.displayName=t;let d=e+"CollectionSlot",p=r.forwardRef((e,t)=>{let{scope:n,children:r}=e,l=c(d,n),s=(0,o.s)(t,l.collectionRef);return(0,i.jsx)(a,{ref:s,children:r})});p.displayName=d;let h=e+"CollectionItemSlot",m="data-radix-collection-item",v=r.forwardRef((e,t)=>{let{scope:n,children:l,...s}=e,u=r.useRef(null),f=(0,o.s)(t,u),d=c(h,n);return r.useEffect(()=>(d.itemMap.set(u,{ref:u,...s}),()=>void d.itemMap.delete(u))),(0,i.jsx)(a,{...{[m]:""},ref:f,children:l})});return v.displayName=h,[{Provider:f,Slot:p,ItemSlot:v},function(t){let n=c(e+"CollectionConsumer",t);return r.useCallback(()=>{let e=n.collectionRef.current;if(!e)return[];let t=Array.from(e.querySelectorAll("[".concat(m,"]")));return Array.from(n.itemMap.values()).sort((e,n)=>t.indexOf(e.ref.current)-t.indexOf(n.ref.current))},[n.collectionRef,n.itemMap])},s]}},66088:(e,t,n)=>{n.d(t,{A:()=>r});let r=(0,n(78340).A)("ChevronDown",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]])},83417:(e,t,n)=>{n.d(t,{Z:()=>l});var r=n(12115);function l(e){let t=r.useRef({value:e,previous:e});return r.useMemo(()=>(t.current.value!==e&&(t.current.previous=t.current.value,t.current.value=e),t.current.previous),[e])}},91760:(e,t,n)=>{n.d(t,{b:()=>s});var r=n(12115);n(47650);var l=n(35273),o=n(95155),i=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,t)=>
1{let n=(0,l.TL)(`Primitive.${t}`),i=r.forwardRef((e,r)=>{let{asChild:l,...i}=e;return"undefined"!=typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,o.jsx)(l?n:t,{...i,ref:r})});return i.displayName=`Primitive.${t}`,{...e,[t]:i}},{}),a=r.forwardRef((e,t)=>(0,o.jsx)(i.label,{...e,ref:t,onMouseDown:t=>{var n;t.target.closest("button, input, select, textarea")||(null==(n=e.onMouseDown)||n.call(e,t),!t.defaultPrevented&&t.detail>1&&t.preventDefault())}}));a.displayName="Label";var s=a},94514:(e,t,n)=>{n.d(t,{A:()=>r});let r=(0,n(78340).A)("Check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]])}}]);

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.