PageSourceSearch

https://concepting.ai/_next/static/chunks/229-0acea4444870a9e6.js

js concepting.ai collected 2026-10-05 15:30:31 UTC 42,845 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[229],{8238:function(e,t,n){n.d(t,{M:function(){return r}});function r(e,t,{checkForDefaultPrevented:n=!0}={}){return function(r){if(e?.(r),!1===n||!r.defaultPrevented)return t?.(r)}}},4333:function(e,t,n){n.d(t,{b:function(){return i}});var r=n(7490),o=n(3011);function i(e,t=[]){let n=[],i=()=>{let t=n.map(e=>r.createContext(e));return function(n){let o=n?.[e]||t;return r.useMemo(()=>({[`__scope${e}`]:{...n,[e]:o}}),[n,o])}};return i.scopeName=e,[function(t,i){let l=r.createContext(i),a=n.length;function u(t){let{scope:n,children:i,...u}=t,s=n?.[e][a]||l,c=r.useMemo(()=>u,Object.values(u));return(0,o.jsx)(s.Provider,{value:c,children:i})}return n=[...n,i],u.displayName=t+"Provider",[u,function(n,o){let u=o?.[e][a]||l,s=r.useContext(u);if(s)return s;if(void 0!==i)return i;throw Error(`\`${n}\` must be used within \`${t}\``)}]},function(...e){let t=e[0];if(1===e.length)return t;let n=()=>{let n=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(e){let o=n.reduce((t,{useScope:n,scopeName:r})=>{let o=n(e)[`__scope${r}`];return{...t,...o}},{});return r.useMemo(()=>({[`__scope${t.scopeName}`]:o}),[o])}};return n.scopeName=t.scopeName,n}(i,...t)]}},1600:function(e,t,n){n.d(t,{I0:function(){return g},XB:function(){return d},fC:function(){return v}});var r,o=n(7490),i=n(8238),l=n(7130),a=n(1199),u=n(8871),s=n(3011),c="dismissableLayer.update",f=o.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),d=o.forwardRef((e,t)=>{var n,d;let{disableOutsidePointerEvents:p=!1,onEscapeKeyDown:v,onPointerDownOutside:g,onFocusOutside:y,onInteractOutside:w,onDismiss:x,...b}=e,E=o.useContext(f),[T,C]=o.useState(null),R=null!==(d=null==T?void 0:T.ownerDocument)&&void 0!==d?d:null===(n=globalThis)||void 0===n?void 0:n.document,[,L]=o.useState({}),P=(0,a.e)(t,e=>C(e)),A=Array.from(E.layers),[O]=[...E.layersWithOutsidePointerEventsDisabled].slice(-1),S=A.indexOf(O),N=T?A.indexOf(T):-1,k=E.layersWithOutsidePointerEventsDisabled.size>0,D=N>=S,M=function(e){var t;let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null===(t=globalThis)||void 0===t?void 0:t.document,r=(0,u.W)(e),i=o.useRef(!1),l=o.useRef(()=>{});return o.useEffect(()=>{let e=e=>{if(e.target&&!i.current){let t=function(){m("dismissableLayer.pointerDownOutside",r,o,{discrete:!0})},o={originalEvent:e};"touch"===e.pointerType?(n.removeEventListener("click",l.current),l.current=t,n.addEventListener("click",l.current,{once:!0})):t()}else n.removeEventListener("click",l.current);i.current=!1},t=window.setTimeout(()=>{n.addEventListener("pointerdown",e)},0);return()=>{window.clearTimeout(t),n.removeEventListener("pointerdown",e),n.removeEventListener("click",l.current)}},[n,r]),{onPointerDownCapture:()=>i.current=!0}}(e=>{let t=e.target,n=[...E.branches].some(e=>e.contains(t));!D||n||(null==g||g(e),null==w||w(e),e.defaultPrevented||null==x||x())},R),W=function(e){var t;let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null===(t=globalThis)||void 0===t?void 0:t.document,r=(0,u.W)(e),i=o.useRef(!1);return o.useEffect(()=>{let e=e=>{e.target&&!i.current&&m("dismissableLayer.focusOutside",r,{originalEvent:e},{discrete:!1})};return n.addEventListener("focusin",e),()=>n.removeEventListener("focusin",e)},[n,r]),{onFocusCapture:()=>i.current=!0,onBlurCapture:()=>i.current=!1}}(e=>{let t=e.target;[...E.branches].some(e=>e.contains(t))||(null==y||y(e),null==w||w(e),e.defaultPrevented||null==x||x())},R);return!function(e,t=globalThis?.document){let n=(0,u.W)(e);o.useEffect(()=>{let e=e=>{"Escape"===e.key&&n(e)};return t.addEventListener("keydown",e,{capture:!0}),()=>t.removeEventListener("keydown",e,{capture:!0})},[n,t])}(e=>{N!==E.layers.size-1||(null==v||v(e),!e.defaultPrevented&&x&&(e.preventDefault(),x()))},R),o.useEffect(()=>{if(T)return p&&(0===E.layersWithOutsidePointerEventsDisabled.size&&(r=R.body.style.pointerEvents,R.body.style.pointerEvents="none"),E.layersWithOutsidePointerEventsDisabled.add(T)),E.layers.add(T),h(),()=>{p&&1===E.layersWithOutsidePointerEventsDisabled.size&&(R.body.style.pointerEvents=r)}},[T,R,p,E]),o.useEffect(()=>()=>{T&&(E.layers.delete(T),E.layersWithOutsidePointerEventsDisabled.delete(T),h())},[T,E]),o.useEffect(()=>{let e=()=>L({});return document.addEventListener(c,e),()=>document.removeEventListener(c,e)},[]),(0,s.jsx)(l.WV.div,{...b,ref:P,style:{pointerEvents:k?D?"auto":"none":void 0,...e.style},onFocusCapture:(0,i.M)(e.onFocusCapture,W.onFocusCapture),onBlurCapture:(0,i.M)(e.onBlurCapture,W.onBlurCapture),onPointerDownCapture:(0,i.M)(e.onPointerDownCapture,M.onPointerDownCapture)})});d.displayName="DismissableLayer";var p=o.forwardRef((e,t)=>
1{let n=o.useContext(f),r=o.useRef(null),i=(0,a.e)(t,r);return o.useEffect(()=>{let e=r.current;if(e)return n.branches.add(e),()=>{n.branches.delete(e)}},[n.branches]),(0,s.jsx)(l.WV.div,{...e,ref:i})});function h(){let e=new CustomEvent(c);document.dispatchEvent(e)}function m(e,t,n,r){let{discrete:o}=r,i=n.originalEvent.target,a=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&i.addEventListener(e,t,{once:!0}),o?(0,l.jH)(i,a):i.dispatchEvent(a)}p.displayName="DismissableLayerBranch";var v=d,g=p},7777:function(e,t,n){n.d(t,{h:function(){return u}});var r=n(7490),o=n(7996),i=n(7130),l=n(4136),a=n(3011),u=r.forwardRef((e,t)=>{var n,u;let{container:s,...c}=e,[f,d]=r.useState(!1);(0,l.b)(()=>d(!0),[]);let p=s||f&&(null===(u=globalThis)||void 0===u?void 0:null===(n=u.document)||void 0===n?void 0:n.body);return p?o.createPortal((0,a.jsx)(i.WV.div,{...c,ref:t}),p):null});u.displayName="Portal"},1508:function(e,t,n){n.d(t,{z:function(){return a}});var r=n(7490),o=n(7996),i=n(1199),l=n(4136),a=e=>{var t,n;let a,s;let{present:c,children:f}=e,d=function(e){var t,n;let[i,a]=r.useState(),s=r.useRef({}),c=r.useRef(e),f=r.useRef("none"),[d,p]=(t=e?"mounted":"unmounted",n={mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}},r.useReducer((e,t)=>{let r=n[e][t];return null!=r?r:e},t));return r.useEffect(()=>{let e=u(s.current);f.current="mounted"===d?e:"none"},[d]),(0,l.b)(()=>{let t=s.current,n=c.current;if(n!==e){let r=f.current,o=u(t);e?p("MOUNT"):"none"===o||(null==t?void 0:t.display)==="none"?p("UNMOUNT"):n&&r!==o?p("ANIMATION_OUT"):p("UNMOUNT"),c.current=e}},[e,p]),(0,l.b)(()=>{if(i){let e=e=>{let t=u(s.current).includes(e.animationName);e.target===i&&t&&o.flushSync(()=>p("ANIMATION_END"))},t=e=>{e.target===i&&(f.current=u(s.current))};return i.addEventListener("animationstart",t),i.addEventListener("animationcancel",e),i.addEventListener("animationend",e),()=>{i.removeEventListener("animationstart",t),i.removeEventListener("animationcancel",e),i.removeEventListener("animationend",e)}}p("ANIMATION_END")},[i,p]),{isPresent:["mounted","unmountSuspended"].includes(d),ref:r.useCallback(e=>{e&&(s.current=getComputedStyle(e)),a(e)},[])}}(c),p="function"==typeof f?f({present:d.isPresent}):r.Children.only(f),h=(0,i.e)(d.ref,(a=null===(t=Object.getOwnPropertyDescriptor(p.props,"ref"))||void 0===t?void 0:t.get)&&"isReactWarning"in a&&a.isReactWarning?p.ref:(a=null===(n=Object.getOwnPropertyDescriptor(p,"ref"))||void 0===n?void 0:n.get)&&"isReactWarning"in a&&a.isReactWarning?p.props.ref:p.props.ref||p.ref);return"function"==typeof f||d.isPresent?r.cloneElement(p,{ref:h}):null};function u(e){return(null==e?void 0:e.animationName)||"none"}a.displayName="Presence"},7130:function(e,t,n){n.d(t,{WV:function(){return a},jH:function(){return u}});var r=n(7490),o=n(7996),i=n(4421),l=n(3011),a=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"].reduce((e,t)=>{let n=r.forwardRef((e,n)=>{let{asChild:r,...o}=e,a=r?i.g7:t;return"undefined"!=typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,l.jsx)(a,{...o,ref:n})});return n.displayName=`Primitive.${t}`,{...e,[t]:n}},{});function u(e,t){e&&o.flushSync(()=>e.dispatchEvent(t))}},6229:function(e,t,n){n.d(t,{VY:function(){return tg},zt:function(){return th},fC:function(){return tm},TooltipProvider:function(){return e5},xz:function(){return tv}});var r=n(7490),o=n.t(r,2),i=n(8238),l=n(1199),a=n(4333),u=n(1600),s=n(4136),c=o["useId".toString()]||(()=>void 0),f=0;let d=["top","right","bottom","left"],p=Math.min,h=Math.max,m=Math.round,v=Math.floor,g=e=>({x:e,y:e}),y={left:"right",right:"left",bottom:"top",top:"bottom"},w={start:"end",end:"start"};function x(e,t){return"function"==typeof e?e(t):e}function b(e){return e.split("-")[0]}function E(e){return e.split("-")[1]}function T(e){return"x"===e?"y":"x"}function C(e){return"y"===e?"height":"width"}function R(e){return["top","bottom"].includes(b(e))?"y":"x"}function L(e){return e.replace(/start|end/g,e=>w[e])}function P(e){return e.replace(/left|right|bottom|top/g,e=>y[e])}function A(e){return"number"!=typeof e?{top:0,right:0,bottom:0,left:0,...e}:{top:e,right:e,bottom:e,left:e}}function O(e){let{x:t,y:n,width:r,height:o}=e;return{width:r,height:o,top:n,left:t,right:t+r,bottom:n+o,x:t,y:n}}function S(e,t,n){let r,{reference:o,floating:i}=e,l=R(t),a=T(R(t)),u=C(a),s=b(t),c="y"===l,f=o.x+o.width/2-i.width/2,d=o.y+o.height/2-i.height/2,p=o[u]/2-i[u]/2;switch(s){case"top":r={x:f,y:o.y-i.height};break;case"bottom":r={x:f,y:o.y+o.height};break;case"right":r={x:o.x+o.width,y:d};break;case"left":r={x:o.x-i.width,y:d};break;default:r={x:o.x,y:o.y}}switch(E(t)){case"start":r[a]-=p*(n&&c?-1:1);break;case"end":r[a]+=p*(n&&c?-1:1)}return r}let N=async(e,t,n)=>{let{placement:r="bottom",strategy:o="absolute",middleware:i=[],platform:l}
1=n,a=i.filter(Boolean),u=await (null==l.isRTL?void 0:l.isRTL(t)),s=await l.getElementRects({reference:e,floating:t,strategy:o}),{x:c,y:f}=S(s,r,u),d=r,p={},h=0;for(let n=0;n<a.length;n++){let{name:i,fn:m}=a[n],{x:v,y:g,data:y,reset:w}=await m({x:c,y:f,initialPlacement:r,placement:d,strategy:o,middlewareData:p,rects:s,platform:l,elements:{reference:e,floating:t}});c=null!=v?v:c,f=null!=g?g:f,p={...p,[i]:{...p[i],...y}},w&&h<=50&&(h++,"object"==typeof w&&(w.placement&&(d=w.placement),w.rects&&(s=!0===w.rects?await l.getElementRects({reference:e,floating:t,strategy:o}):w.rects),{x:c,y:f}=S(s,d,u)),n=-1)}return{x:c,y:f,placement:d,strategy:o,middlewareData:p}};async function k(e,t){var n;void 0===t&&(t={});let{x:r,y:o,platform:i,rects:l,elements:a,strategy:u}=e,{boundary:s="clippingAncestors",rootBoundary:c="viewport",elementContext:f="floating",altBoundary:d=!1,padding:p=0}=x(t,e),h=A(p),m=a[d?"floating"===f?"reference":"floating":f],v=O(await i.getClippingRect({element:null==(n=await (null==i.isElement?void 0:i.isElement(m)))||n?m:m.contextElement||await (null==i.getDocumentElement?void 0:i.getDocumentElement(a.floating)),boundary:s,rootBoundary:c,strategy:u})),g="floating"===f?{x:r,y:o,width:l.floating.width,height:l.floating.height}:l.reference,y=await (null==i.getOffsetParent?void 0:i.getOffsetParent(a.floating)),w=await (null==i.isElement?void 0:i.isElement(y))&&await (null==i.getScale?void 0:i.getScale(y))||{x:1,y:1},b=O(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:a,rect:g,offsetParent:y,strategy:u}):g);return{top:(v.top-b.top+h.top)/w.y,bottom:(b.bottom-v.bottom+h.bottom)/w.y,left:(v.left-b.left+h.left)/w.x,right:(b.right-v.right+h.right)/w.x}}function D(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function M(e){return d.some(t=>e[t]>=0)}async function W(e,t){let{placement:n,platform:r,elements:o}=e,i=await (null==r.isRTL?void 0:r.isRTL(o.floating)),l=b(n),a=E(n),u="y"===R(n),s=["left","top"].includes(l)?-1:1,c=i&&u?-1:1,f=x(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),u?{x:p*c,y:d*s}:{x:d*s,y:p*c}}function j(){return"undefined"!=typeof window}function H(e){return F(e)?(e.nodeName||"").toLowerCase():"#document"}function _(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function I(e){var t;return null==(t=(F(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function F(e){return!!j()&&(e instanceof Node||e instanceof _(e).Node)}function B(e){return!!j()&&(e instanceof Element||e instanceof _(e).Element)}function z(e){return!!j()&&(e instanceof HTMLElement||e instanceof _(e).HTMLElement)}function V(e){return!!j()&&"undefined"!=typeof ShadowRoot&&(e instanceof ShadowRoot||e instanceof _(e).ShadowRoot)}function U(e){let{overflow:t,overflowX:n,overflowY:r,display:o}=G(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!["inline","contents"].includes(o)}function $(e){return[":popover-open",":modal"].some(t=>{try{return e.matches(t)}catch(e){return!1}})}function X(e){let t=Y(),n=B(e)?G(e):e;return"none"!==n.transform||"none"!==n.perspective||!!n.containerType&&"normal"!==n.containerType||!t&&!!n.backdropFilter&&"none"!==n.backdropFilter||!t&&!!n.filter&&"none"!==n.filter||["transform","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 q(e){return["html","body","#document"].includes(H(e))}function G(e){return _(e).getComputedStyle(e)}function J(e){return B(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function K(e){if("html"===H(e))return e;let t=e.assignedSlot||e.parentNode||V(e)&&e.host||I(e);return V(t)?t.host:t}function Q(e,t,n){var r;void 0===t&&(t=[]),void 0===n&&(n=!0);let o=function e(t){let n=K(t);return q(n)?t.ownerDocument?t.ownerDocument.body:t.body:z(n)&&U(n)?n:e(n)}(e),i=o===(null==(r=e.ownerDocument)?void 0:r.body),l=_(o);if(i){let e=Z(l);
1return t.concat(l,l.visualViewport||[],U(o)?o:[],e&&n?Q(e):[])}return t.concat(o,Q(o,[],n))}function Z(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function ee(e){let t=G(e),n=parseFloat(t.width)||0,r=parseFloat(t.height)||0,o=z(e),i=o?e.offsetWidth:n,l=o?e.offsetHeight:r,a=m(n)!==i||m(r)!==l;return a&&(n=i,r=l),{width:n,height:r,$:a}}function et(e){return B(e)?e:e.contextElement}function en(e){let t=et(e);if(!z(t))return g(1);let n=t.getBoundingClientRect(),{width:r,height:o,$:i}=ee(t),l=(i?m(n.width):n.width)/r,a=(i?m(n.height):n.height)/o;return l&&Number.isFinite(l)||(l=1),a&&Number.isFinite(a)||(a=1),{x:l,y:a}}let er=g(0);function eo(e){let t=_(e);return Y()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:er}function ei(e,t,n,r){var o;void 0===t&&(t=!1),void 0===n&&(n=!1);let i=e.getBoundingClientRect(),l=et(e),a=g(1);t&&(r?B(r)&&(a=en(r)):a=en(e));let u=(void 0===(o=n)&&(o=!1),r&&(!o||r===_(l))&&o)?eo(l):g(0),s=(i.left+u.x)/a.x,c=(i.top+u.y)/a.y,f=i.width/a.x,d=i.height/a.y;if(l){let e=_(l),t=r&&B(r)?_(r):r,n=e,o=Z(n);for(;o&&r&&t!==n;){let e=en(o),t=o.getBoundingClientRect(),r=G(o),i=t.left+(o.clientLeft+parseFloat(r.paddingLeft))*e.x,l=t.top+(o.clientTop+parseFloat(r.paddingTop))*e.y;s*=e.x,c*=e.y,f*=e.x,d*=e.y,s+=i,c+=l,o=Z(n=_(o))}}return O({width:f,height:d,x:s,y:c})}function el(e,t){let n=J(e).scrollLeft;return t?t.left+n:ei(I(e)).left+n}function ea(e,t,n){let r;if("viewport"===t)r=function(e,t){let n=_(e),r=I(e),o=n.visualViewport,i=r.clientWidth,l=r.clientHeight,a=0,u=0;if(o){i=o.width,l=o.height;let e=Y();(!e||e&&"fixed"===t)&&(a=o.offsetLeft,u=o.offsetTop)}return{width:i,height:l,x:a,y:u}}(e,n);else if("document"===t)r=function(e){let t=I(e),n=J(e),r=e.ownerDocument.body,o=h(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),i=h(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight),l=-n.scrollLeft+el(e),a=-n.scrollTop;return"rtl"===G(r).direction&&(l+=h(t.clientWidth,r.clientWidth)-o),{width:o,height:i,x:l,y:a}}(I(e));else if(B(t))r=function(e,t){let n=ei(e,!0,"fixed"===t),r=n.top+e.clientTop,o=n.left+e.clientLeft,i=z(e)?en(e):g(1),l=e.clientWidth*i.x;return{width:l,height:e.clientHeight*i.y,x:o*i.x,y:r*i.y}}(t,n);else{let n=eo(e);r={...t,x:t.x-n.x,y:t.y-n.y}}return O(r)}function eu(e){return"static"===G(e).position}function es(e,t){if(!z(e)||"fixed"===G(e).position)return null;if(t)return t(e);let n=e.offsetParent;return I(e)===n&&(n=n.ownerDocument.body),n}function ec(e,t){let n=_(e);if($(e))return n;if(!z(e)){let t=K(e);for(;t&&!q(t);){if(B(t)&&!eu(t))return t;t=K(t)}return n}let r=es(e,t);for(;r&&["table","td","th"].includes(H(r))&&eu(r);)r=es(r,t);return r&&q(r)&&eu(r)&&!X(r)?n:r||function(e){let t=K(e);for(;z(t)&&!q(t);){if(X(t))return t;if($(t))break;t=K(t)}return null}(e)||n}let ef=async function(e){let t=this.getOffsetParent||ec,n=this.getDimensions,r=await n(e.floating);return{reference:function(e,t,n){let r=z(t),o=I(t),i="fixed"===n,l=ei(e,!0,i,t),a={scrollLeft:0,scrollTop:0},u=g(0);if(r||!r&&!i){if(("body"!==H(t)||U(o))&&(a=J(t)),r){let e=ei(t,!0,i,t);u.x=e.x+t.clientLeft,u.y=e.y+t.clientTop}else o&&(u.x=el(o))}let s=0,c=0;if(o&&!r&&!i){let e=o.getBoundingClientRect();c=e.top+a.scrollTop,s=e.left+a.scrollLeft-el(o,e)}return{x:l.left+a.scrollLeft-u.x-s,y:l.top+a.scrollTop-u.y-c,width:l.width,height:l.height}}(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}},ed={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:n,offsetParent:r,strategy:o}=e,i="fixed"===o,l=I(r),a=!!t&&$(t.floating);if(r===l||a&&i)return n;let u={scrollLeft:0,scrollTop:0},s=g(1),c=g(0),f=z(r);if((f||!f&&!i)&&(("body"!==H(r)||U(l))&&(u=J(r)),z(r))){let e=ei(r);s=en(r),c.x=e.x+r.clientLeft,c.y=e.y+r.clientTop}return{width:n.width*s.x,height:n.height*s.y,x:n.x*s.x-u.scrollLeft*s.x+c.x,y:n.y*s.y-u.scrollTop*s.y+c.y}},getDocumentElement:I,getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:r,strategy:o}=e,i=[..."clippingAncestors"===n?$(t)?[]:function(e,t){let n=t.get(e);if(n)return n;let r=Q(e,[],!1).filter(e=>B(e)&&"body"!==H(e)),o=null,i="fixed"===G(e).position,l=i?K(e):e;for(;B(l)&&!q(l);){let t=G(l),n=X(l);n||"fixed"!==t.position||(o=null),(i?!n&&!o:!n&&"static"===t.position&&!!o&&["absolute","fixed"].includes(o.position)||U(l)&&!n&&function e(t,n){let r=K(t);return!(r===n||!B(r)||q(r))&&("fixed"===G(r).position||e(r,n))}(e,l))?r=r.filter(e=>e!==l):o=t,l=K(l)}return t.set(e,r),r}(t,this._c):[].concat(n),r],l=i[0],a=i.reduce((e,n)=>{let r=ea(t,n,o);return e.top=h(r.top,e.top),e.right=p(r.right,e.right),e.bottom=p(r.bottom,e.bottom),e.left=h(r.left,e.left),e},ea(t,l,o));return{width:a.right-a.left,height:a.bottom-a.top,x:a.left,y:a.top}},getOffsetParent:ec,getElementRects:ef,getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){let{width:t,height:n}=ee(e);return{width:t,height:n}},getScale:en,isElement:B,isRTL:function(e){return"rtl"===G(e).direction}}
1,ep=e=>({name:"arrow",options:e,async fn(t){let{x:n,y:r,placement:o,rects:i,platform:l,elements:a,middlewareData:u}=t,{element:s,padding:c=0}=x(e,t)||{};if(null==s)return{};let f=A(c),d={x:n,y:r},m=T(R(o)),v=C(m),g=await l.getDimensions(s),y="y"===m,w=y?"clientHeight":"clientWidth",b=i.reference[v]+i.reference[m]-d[m]-i.floating[v],L=d[m]-i.reference[m],P=await (null==l.getOffsetParent?void 0:l.getOffsetParent(s)),O=P?P[w]:0;O&&await (null==l.isElement?void 0:l.isElement(P))||(O=a.floating[w]||i.floating[v]);let S=O/2-g[v]/2-1,N=p(f[y?"top":"left"],S),k=p(f[y?"bottom":"right"],S),D=O-g[v]-k,M=O/2-g[v]/2+(b/2-L/2),W=h(N,p(M,D)),j=!u.arrow&&null!=E(o)&&M!==W&&i.reference[v]/2-(M<N?N:k)-g[v]/2<0,H=j?M<N?M-N:M-D:0;return{[m]:d[m]+H,data:{[m]:W,centerOffset:M-W-H,...j&&{alignmentOffset:H}},reset:j}}}),eh=(e,t,n)=>{let r=new Map,o={platform:ed,...n},i={...o.platform,_c:r};return N(e,t,{...o,platform:i})};var em=n(7996),ev="undefined"!=typeof document?r.useLayoutEffect:r.useEffect;function eg(e,t){let n,r,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((n=e.length)!==t.length)return!1;for(r=n;0!=r--;)if(!eg(e[r],t[r]))return!1;return!0}if((n=(o=Object.keys(e)).length)!==Object.keys(t).length)return!1;for(r=n;0!=r--;)if(!({}).hasOwnProperty.call(t,o[r]))return!1;for(r=n;0!=r--;){let n=o[r];if(("_owner"!==n||!e.$$typeof)&&!eg(e[n],t[n]))return!1}return!0}return e!=e&&t!=t}function ey(e){return"undefined"==typeof window?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function ew(e,t){let n=ey(e);return Math.round(t*n)/n}function ex(e){let t=r.useRef(e);return ev(()=>{t.current=e}),t}let eb=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?ep({element:n.current,padding:r}).fn(t):{}:n?ep({element:n,padding:r}).fn(t):{}}}),eE=(e,t)=>{var n;return{...(void 0===(n=e)&&(n=0),{name:"offset",options:n,async fn(e){var t,r;let{x:o,y:i,placement:l,middlewareData:a}=e,u=await W(e,n);return l===(null==(t=a.offset)?void 0:t.placement)&&null!=(r=a.arrow)&&r.alignmentOffset?{}:{x:o+u.x,y:i+u.y,data:{...u,placement:l}}}}),options:[e,t]}},eT=(e,t)=>{var n;return{...(void 0===(n=e)&&(n={}),{name:"shift",options:n,async fn(e){let{x:t,y:r,placement:o}=e,{mainAxis:i=!0,crossAxis:l=!1,limiter:a={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...u}=x(n,e),s={x:t,y:r},c=await k(e,u),f=R(b(o)),d=T(f),m=s[d],v=s[f];if(i){let e="y"===d?"top":"left",t="y"===d?"bottom":"right",n=m+c[e],r=m-c[t];m=h(n,p(m,r))}if(l){let e="y"===f?"top":"left",t="y"===f?"bottom":"right",n=v+c[e],r=v-c[t];v=h(n,p(v,r))}let g=a.fn({...e,[d]:m,[f]:v});return{...g,data:{x:g.x-t,y:g.y-r,enabled:{[d]:i,[f]:l}}}}}),options:[e,t]}},eC=(e,t)=>{var n;return{...(void 0===(n=e)&&(n={}),{options:n,fn(e){let{x:t,y:r,placement:o,rects:i,middlewareData:l}=e,{offset:a=0,mainAxis:u=!0,crossAxis:s=!0}=x(n,e),c={x:t,y:r},f=R(o),d=T(f),p=c[d],h=c[f],m=x(a,e),v="number"==typeof m?{mainAxis:m,crossAxis:0}:{mainAxis:0,crossAxis:0,...m};if(u){let e="y"===d?"height":"width",t=i.reference[d]-i.floating[e]+v.mainAxis,n=i.reference[d]+i.reference[e]-v.mainAxis;p<t?p=t:p>n&&(p=n)}if(s){var g,y;let e="y"===d?"width":"height",t=["top","left"].includes(b(o)),n=i.reference[f]-i.floating[e]+(t&&(null==(g=l.offset)?void 0:g[f])||0)+(t?0:v.crossAxis),r=i.reference[f]+i.reference[e]+(t?0:(null==(y=l.offset)?void 0:y[f])||0)-(t?v.crossAxis:0);h<n?h=n:h>r&&(h=r)}return{[d]:p,[f]:h}}}),options:[e,t]}},eR=(e,t)=>{var n;return{...(void 0===(n=e)&&(n={}),{name:"flip",options:n,async fn(e){var t,r,o,i,l;let{placement:a,middlewareData:u,rects:s,initialPlacement:c,platform:f,elements:d}=e,{mainAxis:p=!0,crossAxis:h=!0,fallbackPlacements:m,fallbackStrategy:v="bestFit",fallbackAxisSideDirection:g="none",flipAlignment:y=!0,...w}=x(n,e);if(null!=(t=u.arrow)&&t.alignmentOffset)return{};let A=b(a),O=R(c),S=b(c)===c,N=await (null==f.isRTL?void 0:f.isRTL(d.floating)),D=m||(S||!y?[P(c)]:function(e){let t=P(e);return[L(e),t,L(t)]}(c)),M="none"!==g;!m&&M&&D.push(...function(e,t,n,r){let o=E(e),i=function(e,t,n){let r=["left","right"],o=["right","left"];switch(e){case"top":case"bottom":if(n)return t?o:r;return t?r:o;case"left":case"right":return t?["top","bottom"]:["bottom","top"];default:return[]}}(b(e),"start"===n,r);return o&&(i=i.map(e=>e+"-"+o),t&&(i=i.concat(i.map(L)))),i}(c,y,g,N));let W=[c,...D],j=await k(e,w),H=[],_=(null==(r=u.flip)?void 0:r.overflows)||[];if(p&&H.push(j[A]),h){let e=function(e,t,n){void 0===n&&(n=!1);let r=E(e),o=T(R(e)),i=C(o),l="x"===o?r===(n?"end":"start")?"right":"left":"start"===r?"bottom":"top";return t.reference[i]>t.floating[i]&&(l=P(l)),[l,P(l)]}(a,s,N);H.push(j[e[0]],j[e[1]])}if(_=[..._,{placement:a,overflows:H}],!H.every(e=>e<=0)){let e=((null==(o=u.flip)?void 0:o.index)||0)+1,t=W[e];if(t)return{data:{index:e,overflows:_},reset:{placement:t}};let n=null==(i=_.filter(e=>e.overflows[0]<=0).sort((e,t)=>
1e.overflows[1]-t.overflows[1])[0])?void 0:i.placement;if(!n)switch(v){case"bestFit":{let e=null==(l=_.filter(e=>{if(M){let t=R(e.placement);return t===O||"y"===t}return!0}).map(e=>[e.placement,e.overflows.filter(e=>e>0).reduce((e,t)=>e+t,0)]).sort((e,t)=>e[1]-t[1])[0])?void 0:l[0];e&&(n=e);break}case"initialPlacement":n=c}if(a!==n)return{reset:{placement:n}}}return{}}}),options:[e,t]}},eL=(e,t)=>{var n;return{...(void 0===(n=e)&&(n={}),{name:"size",options:n,async fn(e){var t,r;let o,i;let{placement:l,rects:a,platform:u,elements:s}=e,{apply:c=()=>{},...f}=x(n,e),d=await k(e,f),m=b(l),v=E(l),g="y"===R(l),{width:y,height:w}=a.floating;"top"===m||"bottom"===m?(o=m,i=v===(await (null==u.isRTL?void 0:u.isRTL(s.floating))?"start":"end")?"left":"right"):(i=m,o="end"===v?"top":"bottom");let T=w-d.top-d.bottom,C=y-d.left-d.right,L=p(w-d[o],T),P=p(y-d[i],C),A=!e.middlewareData.shift,O=L,S=P;if(null!=(t=e.middlewareData.shift)&&t.enabled.x&&(S=C),null!=(r=e.middlewareData.shift)&&r.enabled.y&&(O=T),A&&!v){let e=h(d.left,0),t=h(d.right,0),n=h(d.top,0),r=h(d.bottom,0);g?S=y-2*(0!==e||0!==t?e+t:h(d.left,d.right)):O=w-2*(0!==n||0!==r?n+r:h(d.top,d.bottom))}await c({...e,availableWidth:S,availableHeight:O});let N=await u.getDimensions(s.floating);return y!==N.width||w!==N.height?{reset:{rects:!0}}:{}}}),options:[e,t]}},eP=(e,t)=>{var n;return{...(void 0===(n=e)&&(n={}),{name:"hide",options:n,async fn(e){let{rects:t}=e,{strategy:r="referenceHidden",...o}=x(n,e);switch(r){case"referenceHidden":{let n=D(await k(e,{...o,elementContext:"reference"}),t.reference);return{data:{referenceHiddenOffsets:n,referenceHidden:M(n)}}}case"escaped":{let n=D(await k(e,{...o,altBoundary:!0}),t.floating);return{data:{escapedOffsets:n,escaped:M(n)}}}default:return{}}}}),options:[e,t]}},eA=(e,t)=>({...eb(e),options:[e,t]});var eO=n(7130),eS=n(3011),eN=r.forwardRef((e,t)=>{let{children:n,width:r=10,height:o=5,...i}=e;return(0,eS.jsx)(eO.WV.svg,{...i,ref:t,width:r,height:o,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?n:(0,eS.jsx)("polygon",{points:"0,0 30,0 15,10"})})});eN.displayName="Arrow";var ek=n(8871),eD="Popper",[eM,eW]=(0,a.b)(eD),[ej,eH]=eM(eD),e_=e=>{let{__scopePopper:t,children:n}=e,[o,i]=r.useState(null);return(0,eS.jsx)(ej,{scope:t,anchor:o,onAnchorChange:i,children:n})};e_.displayName=eD;var eI="PopperAnchor",eF=r.forwardRef((e,t)=>{let{__scopePopper:n,virtualRef:o,...i}=e,a=eH(eI,n),u=r.useRef(null),s=(0,l.e)(t,u);return r.useEffect(()=>{a.onAnchorChange((null==o?void 0:o.current)||u.current)}),o?null:(0,eS.jsx)(eO.WV.div,{...i,ref:s})});eF.displayName=eI;var eB="PopperContent",[ez,eV]=eM(eB),eU=r.forwardRef((e,t)=>{var n,o,i,a,u,c,f,d;let{__scopePopper:m,side:g="bottom",sideOffset:y=0,align:w="center",alignOffset:x=0,arrowPadding:b=0,avoidCollisions:E=!0,collisionBoundary:T=[],collisionPadding:C=0,sticky:R="partial",hideWhenDetached:L=!1,updatePositionStrategy:P="optimized",onPlaced:A,...O}=e,S=eH(eB,m),[N,k]=r.useState(null),D=(0,l.e)(t,e=>k(e)),[M,W]=r.useState(null),j=function(e){let[t,n]=r.useState(void 0);return(0,s.b)(()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});let t=new ResizeObserver(t=>{let r,o;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,o=t.blockSize}else r=e.offsetWidth,o=e.offsetHeight;n({width:r,height:o})});return t.observe(e,{box:"border-box"}),()=>t.unobserve(e)}n(void 0)},[e]),t}(M),H=null!==(f=null==j?void 0:j.width)&&void 0!==f?f:0,_=null!==(d=null==j?void 0:j.height)&&void 0!==d?d:0,F="number"==typeof C?C:{top:0,right:0,bottom:0,left:0,...C},B=Array.isArray(T)?T:[T],z=B.length>0,V={padding:F,boundary:B.filter(eq),altBoundary:z},{refs:U,floatingStyles:$,placement:X,isPositioned:Y,middlewareData:q}=function(e){void 0===e&&(e={});let{placement:t="bottom",strategy:n="absolute",middleware:o=[],platform:i,elements:{reference:l,floating:a}={},transform:u=!0,whileElementsMounted:s,open:c}=e,[f,d]=r.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[p,h]=r.useState(o);eg(p,o)||h(o);let[m,v]=r.useState(null),[g,y]=r.useState(null),w=r.useCallback(e=>
1{e!==T.current&&(T.current=e,v(e))},[]),x=r.useCallback(e=>{e!==C.current&&(C.current=e,y(e))},[]),b=l||m,E=a||g,T=r.useRef(null),C=r.useRef(null),R=r.useRef(f),L=null!=s,P=ex(s),A=ex(i),O=ex(c),S=r.useCallback(()=>{if(!T.current||!C.current)return;let e={placement:t,strategy:n,middleware:p};A.current&&(e.platform=A.current),eh(T.current,C.current,e).then(e=>{let t={...e,isPositioned:!1!==O.current};N.current&&!eg(R.current,t)&&(R.current=t,em.flushSync(()=>{d(t)}))})},[p,t,n,A,O]);ev(()=>{!1===c&&R.current.isPositioned&&(R.current.isPositioned=!1,d(e=>({...e,isPositioned:!1})))},[c]);let N=r.useRef(!1);ev(()=>(N.current=!0,()=>{N.current=!1}),[]),ev(()=>{if(b&&(T.current=b),E&&(C.current=E),b&&E){if(P.current)return P.current(b,E,S);S()}},[b,E,S,P,L]);let k=r.useMemo(()=>({reference:T,floating:C,setReference:w,setFloating:x}),[w,x]),D=r.useMemo(()=>({reference:b,floating:E}),[b,E]),M=r.useMemo(()=>{let e={position:n,left:0,top:0};if(!D.floating)return e;let t=ew(D.floating,f.x),r=ew(D.floating,f.y);return u?{...e,transform:"translate("+t+"px, "+r+"px)",...ey(D.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:t,top:r}},[n,u,D.floating,f.x,f.y]);return r.useMemo(()=>({...f,update:S,refs:k,elements:D,floatingStyles:M}),[f,S,k,D,M])}({strategy:"fixed",placement:g+("center"!==w?"-"+w:""),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 o;void 0===r&&(r={});let{ancestorScroll:i=!0,ancestorResize:l=!0,elementResize:a="function"==typeof ResizeObserver,layoutShift:u="function"==typeof IntersectionObserver,animationFrame:s=!1}=r,c=et(e),f=i||l?[...c?Q(c):[],...Q(t)]:[];f.forEach(e=>{i&&e.addEventListener("scroll",n,{passive:!0}),l&&e.addEventListener("resize",n)});let d=c&&u?function(e,t){let n,r=null,o=I(e);function i(){var e;clearTimeout(n),null==(e=r)||e.disconnect(),r=null}return!function l(a,u){void 0===a&&(a=!1),void 0===u&&(u=1),i();let{left:s,top:c,width:f,height:d}=e.getBoundingClientRect();if(a||t(),!f||!d)return;let m=v(c),g=v(o.clientWidth-(s+f)),y={rootMargin:-m+"px "+-g+"px "+-v(o.clientHeight-(c+d))+"px "+-v(s)+"px",threshold:h(0,p(1,u))||1},w=!0;function x(e){let t=e[0].intersectionRatio;if(t!==u){if(!w)return l();t?l(!1,t):n=setTimeout(()=>{l(!1,1e-7)},1e3)}w=!1}try{r=new IntersectionObserver(x,{...y,root:o.ownerDocument})}catch(e){r=new IntersectionObserver(x,y)}r.observe(e)}(!0),i}(c,n):null,m=-1,g=null;a&&(g=new ResizeObserver(e=>{let[r]=e;r&&r.target===c&&g&&(g.unobserve(t),cancelAnimationFrame(m),m=requestAnimationFrame(()=>{var e;null==(e=g)||e.observe(t)})),n()}),c&&!s&&g.observe(c),g.observe(t));let y=s?ei(e):null;return s&&function t(){let r=ei(e);y&&(r.x!==y.x||r.y!==y.y||r.width!==y.width||r.height!==y.height)&&n(),y=r,o=requestAnimationFrame(t)}(),n(),()=>{var e;f.forEach(e=>{i&&e.removeEventListener("scroll",n),l&&e.removeEventListener("resize",n)}),null==d||d(),null==(e=g)||e.disconnect(),g=null,s&&cancelAnimationFrame(o)}}(...t,{animationFrame:"always"===P})},elements:{reference:S.anchor},middleware:[eE({mainAxis:y+_,alignmentAxis:x}),E&&eT({mainAxis:!0,crossAxis:!1,limiter:"partial"===R?eC():void 0,...V}),E&&eR({...V}),eL({...V,apply:e=>{let{elements:t,rects:n,availableWidth:r,availableHeight:o}=e,{width:i,height:l}=n.reference,a=t.floating.style;a.setProperty("--radix-popper-available-width","".concat(r,"px")),a.setProperty("--radix-popper-available-height","".concat(o,"px")),a.setProperty("--radix-popper-anchor-width","".concat(i,"px")),a.setProperty("--radix-popper-anchor-height","".concat(l,"px"))}}),M&&eA({element:M,padding:b}),eG({arrowWidth:H,arrowHeight:_}),L&&eP({strategy:"referenceHidden",...V})]}),[G,J]=eJ(X),K=(0,ek.W)(A);(0,s.b)(()=>{Y&&(null==K||K())},[Y,K]);let Z=null===(n=q.arrow)||void 0===n?void 0:n.x,ee=null===(o=q.arrow)||void 0===o?void 0:o.y,en=(null===(i=q.arrow)||void 0===i?void 0:i.centerOffset)!==0,[er,eo]=r.useState();return(0,s.b)(()=>{N&&eo(window.getComputedStyle(N).zIndex)},[N]),(0,eS.jsx)("div",{ref:U.setFloating,"data-radix-popper-content-wrapper":"",style:{...$,transform:Y?$.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:er,"--radix-popper-transform-origin":[null===(a=q.transformOrigin)||void 0===a?void 0:a.x,null===(u=q.transformOrigin)||void 0===u?void 0:u.y].join(" "),...(null===(c=q.hide)||void 0===c?void 0:c.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:(0,eS.jsx)(ez,{scope:m,placedSide:G,onArrowChange:W,arrowX:Z,arrowY:ee,shouldHideArrow:en,children:(0,eS.jsx)(eO.WV.div,{"data-side":G,"data-align":J,...O,ref:D,style:{...O.style,animation:Y?void 0:"none"}})})})});eU.displayName=eB;var e$="PopperArrow",eX={top:"bottom",right:"left",bottom:"top",left:"r
1ight"},eY=r.forwardRef(function(e,t){let{__scopePopper:n,...r}=e,o=eV(e$,n),i=eX[o.placedSide];return(0,eS.jsx)("span",{ref:o.onArrowChange,style:{position:"absolute",left:o.arrowX,top:o.arrowY,[i]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[o.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[o.placedSide],visibility:o.shouldHideArrow?"hidden":void 0},children:(0,eS.jsx)(eN,{...r,ref:t,style:{...r.style,display:"block"}})})});function eq(e){return null!==e}eY.displayName=e$;var eG=e=>({name:"transformOrigin",options:e,fn(t){var n,r,o,i,l;let{placement:a,rects:u,middlewareData:s}=t,c=(null===(n=s.arrow)||void 0===n?void 0:n.centerOffset)!==0,f=c?0:e.arrowWidth,d=c?0:e.arrowHeight,[p,h]=eJ(a),m={start:"0%",center:"50%",end:"100%"}[h],v=(null!==(i=null===(r=s.arrow)||void 0===r?void 0:r.x)&&void 0!==i?i:0)+f/2,g=(null!==(l=null===(o=s.arrow)||void 0===o?void 0:o.y)&&void 0!==l?l: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(u.floating.height+d,"px")):"right"===p?(y="".concat(-d,"px"),w=c?m:"".concat(g,"px")):"left"===p&&(y="".concat(u.floating.width+d,"px"),w=c?m:"".concat(g,"px")),{data:{x:y,y:w}}}});function eJ(e){let[t,n="center"]=e.split("-");return[t,n]}n(7777);var eK=n(1508),eQ=n(4421),eZ=n(8353),e0=n(4679),[e1,e2]=(0,a.b)("Tooltip",[eW]),e7=eW(),e3="TooltipProvider",e9="tooltip.open",[e4,e8]=e1(e3),e5=e=>{let{__scopeTooltip:t,delayDuration:n=700,skipDelayDuration:o=300,disableHoverableContent:i=!1,children:l}=e,[a,u]=r.useState(!0),s=r.useRef(!1),c=r.useRef(0);return r.useEffect(()=>{let e=c.current;return()=>window.clearTimeout(e)},[]),(0,eS.jsx)(e4,{scope:t,isOpenDelayed:a,delayDuration:n,onOpen:r.useCallback(()=>{window.clearTimeout(c.current),u(!1)},[]),onClose:r.useCallback(()=>{window.clearTimeout(c.current),c.current=window.setTimeout(()=>u(!0),o)},[o]),isPointerInTransitRef:s,onPointerInTransitChange:r.useCallback(e=>{s.current=e},[]),disableHoverableContent:i,children:l})};e5.displayName=e3;var e6="Tooltip",[te,tt]=e1(e6),tn=e=>{let{__scopeTooltip:t,children:n,open:o,defaultOpen:i=!1,onOpenChange:l,disableHoverableContent:a,delayDuration:u}=e,d=e8(e6,e.__scopeTooltip),p=e7(t),[h,m]=r.useState(null),v=function(e){let[t,n]=r.useState(c());return(0,s.b)(()=>{n(e=>e??String(f++))},[void 0]),t?`radix-${t}`:""}(),g=r.useRef(0),y=null!=a?a:d.disableHoverableContent,w=null!=u?u:d.delayDuration,x=r.useRef(!1),[b=!1,E]=(0,eZ.T)({prop:o,defaultProp:i,onChange:e=>{e?(d.onOpen(),document.dispatchEvent(new CustomEvent(e9))):d.onClose(),null==l||l(e)}}),T=r.useMemo(()=>b?x.current?"delayed-open":"instant-open":"closed",[b]),C=r.useCallback(()=>{window.clearTimeout(g.current),x.current=!1,E(!0)},[E]),R=r.useCallback(()=>{window.clearTimeout(g.current),E(!1)},[E]),L=r.useCallback(()=>{window.clearTimeout(g.current),g.current=window.setTimeout(()=>{x.current=!0,E(!0)},w)},[w,E]);return r.useEffect(()=>()=>window.clearTimeout(g.current),[]),(0,eS.jsx)(e_,{...p,children:(0,eS.jsx)(te,{scope:t,contentId:v,open:b,stateAttribute:T,trigger:h,onTriggerChange:m,onTriggerEnter:r.useCallback(()=>{d.isOpenDelayed?L():C()},[d.isOpenDelayed,L,C]),onTriggerLeave:r.useCallback(()=>{y?R():window.clearTimeout(g.current)},[R,y]),onOpen:C,onClose:R,disableHoverableContent:y,children:n})})};tn.displayName=e6;var tr="TooltipTrigger",to=r.forwardRef((e,t)=>{let{__scopeTooltip:n,...o}=e,a=tt(tr,n),u=e8(tr,n),s=e7(n),c=r.useRef(null),f=(0,l.e)(t,c,a.onTriggerChange),d=r.useRef(!1),p=r.useRef(!1),h=r.useCallback(()=>d.current=!1,[]);return r.useEffect(()=>()=>document.removeEventListener("pointerup",h),[h]),(0,eS.jsx)(eF,{asChild:!0,...s,children:(0,eS.jsx)(eO.WV.button,{"aria-describedby":a.open?a.contentId:void 0,"data-state":a.stateAttribute,...o,ref:f,onPointerMove:(0,i.M)(e.onPointerMove,e=>{"touch"===e.pointerType||p.current||u.isPointerInTransitRef.current||(a.onTriggerEnter(),p.current=!0)}),onPointerLeave:(0,i.M)(e.onPointerLeave,()=>{a.onTriggerLeave(),p.current=!1}),onPointerDown:(0,i.M)(e.onPointerDown,()=>{d.current=!0,document.addEventListener("pointerup",h,{once:!0})}),onFocus:(0,i.M)(e.onFocus,()=>{d.current||a.onOpen()}),onBlur:(0,i.M)(e.onBlur,a.onClose),onClick:(0,i.M)(e.onClick,a.onClose)})})});to.displayName=tr;var[ti,tl]=e1("TooltipPortal",{forceMount:void 0}),ta="TooltipContent",tu=r.forwardRef((e,t)=>
1{let n=tl(ta,e.__scopeTooltip),{forceMount:r=n.forceMount,side:o="top",...i}=e,l=tt(ta,e.__scopeTooltip);return(0,eS.jsx)(eK.z,{present:r||l.open,children:l.disableHoverableContent?(0,eS.jsx)(td,{side:o,...i,ref:t}):(0,eS.jsx)(ts,{side:o,...i,ref:t})})}),ts=r.forwardRef((e,t)=>{let n=tt(ta,e.__scopeTooltip),o=e8(ta,e.__scopeTooltip),i=r.useRef(null),a=(0,l.e)(t,i),[u,s]=r.useState(null),{trigger:c,onClose:f}=n,d=i.current,{onPointerInTransitChange:p}=o,h=r.useCallback(()=>{s(null),p(!1)},[p]),m=r.useCallback((e,t)=>{let n=e.currentTarget,r={x:e.clientX,y:e.clientY},o=function(e,t){let n=Math.abs(t.top-e.y),r=Math.abs(t.bottom-e.y),o=Math.abs(t.right-e.x),i=Math.abs(t.left-e.x);switch(Math.min(n,r,o,i)){case i:return"left";case o:return"right";case n:return"top";case r:return"bottom";default:throw Error("unreachable")}}(r,n.getBoundingClientRect());s(function(e){let t=e.slice();return t.sort((e,t)=>e.x<t.x?-1:e.x>t.x?1:e.y<t.y?-1:e.y>t.y?1:0),function(e){if(e.length<=1)return e.slice();let t=[];for(let n=0;n<e.length;n++){let r=e[n];for(;t.length>=2;){let e=t[t.length-1],n=t[t.length-2];if((e.x-n.x)*(r.y-n.y)>=(e.y-n.y)*(r.x-n.x))t.pop();else break}t.push(r)}t.pop();let n=[];for(let t=e.length-1;t>=0;t--){let r=e[t];for(;n.length>=2;){let e=n[n.length-1],t=n[n.length-2];if((e.x-t.x)*(r.y-t.y)>=(e.y-t.y)*(r.x-t.x))n.pop();else break}n.push(r)}return(n.pop(),1===t.length&&1===n.length&&t[0].x===n[0].x&&t[0].y===n[0].y)?t:t.concat(n)}(t)}([...function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:5,r=[];switch(t){case"top":r.push({x:e.x-n,y:e.y+n},{x:e.x+n,y:e.y+n});break;case"bottom":r.push({x:e.x-n,y:e.y-n},{x:e.x+n,y:e.y-n});break;case"left":r.push({x:e.x+n,y:e.y-n},{x:e.x+n,y:e.y+n});break;case"right":r.push({x:e.x-n,y:e.y-n},{x:e.x-n,y:e.y+n})}return r}(r,o),...function(e){let{top:t,right:n,bottom:r,left:o}=e;return[{x:o,y:t},{x:n,y:t},{x:n,y:r},{x:o,y:r}]}(t.getBoundingClientRect())])),p(!0)},[p]);return r.useEffect(()=>()=>h(),[h]),r.useEffect(()=>{if(c&&d){let e=e=>m(e,d),t=e=>m(e,c);return c.addEventListener("pointerleave",e),d.addEventListener("pointerleave",t),()=>{c.removeEventListener("pointerleave",e),d.removeEventListener("pointerleave",t)}}},[c,d,m,h]),r.useEffect(()=>{if(u){let e=e=>{let t=e.target,n={x:e.clientX,y:e.clientY},r=(null==c?void 0:c.contains(t))||(null==d?void 0:d.contains(t)),o=!function(e,t){let{x:n,y:r}=e,o=!1;for(let e=0,i=t.length-1;e<t.length;i=e++){let l=t[e].x,a=t[e].y,u=t[i].x,s=t[i].y;a>r!=s>r&&n<(u-l)*(r-a)/(s-a)+l&&(o=!o)}return o}(n,u);r?h():o&&(h(),f())};return document.addEventListener("pointermove",e),()=>document.removeEventListener("pointermove",e)}},[c,d,u,f,h]),(0,eS.jsx)(td,{...e,ref:a})}),[tc,tf]=e1(e6,{isInside:!1}),td=r.forwardRef((e,t)=>{let{__scopeTooltip:n,children:o,"aria-label":i,onEscapeKeyDown:l,onPointerDownOutside:a,...s}=e,c=tt(ta,n),f=e7(n),{onClose:d}=c;return r.useEffect(()=>(document.addEventListener(e9,d),()=>document.removeEventListener(e9,d)),[d]),r.useEffect(()=>{if(c.trigger){let e=e=>{let t=e.target;(null==t?void 0:t.contains(c.trigger))&&d()};return window.addEventListener("scroll",e,{capture:!0}),()=>window.removeEventListener("scroll",e,{capture:!0})}},[c.trigger,d]),(0,eS.jsx)(u.XB,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:l,onPointerDownOutside:a,onFocusOutside:e=>e.preventDefault(),onDismiss:d,children:(0,eS.jsxs)(eU,{"data-state":c.stateAttribute,...f,...s,ref:t,style:{...s.style,"--radix-tooltip-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-tooltip-content-available-width":"var(--radix-popper-available-width)","--radix-tooltip-content-available-height":"var(--radix-popper-available-height)","--radix-tooltip-trigger-width":"var(--radix-popper-anchor-width)","--radix-tooltip-trigger-height":"var(--radix-popper-anchor-height)"},children:[(0,eS.jsx)(eQ.A4,{children:o}),(0,eS.jsx)(tc,{scope:n,isInside:!0,children:(0,eS.jsx)(e0.f,{id:c.contentId,role:"tooltip",children:i||o})})]})})});tu.displayName=ta;var tp="TooltipArrow";r.forwardRef((e,t)=>{let{__scopeTooltip:n,...r}=e,o=e7(n);return tf(tp,n).isInside?null:(0,eS.jsx)(eY,{...o,...r,ref:t})}).displayName=tp;var th=e5,tm=tn,tv=to,tg=tu},8871:function(e,t,n){n.d(t,{W:function(){return o}});var r=n(7490);function o(e){let t=r.useRef(e);return r.useEffect(()=>{t.current=e}),r.useMemo(()=>(...e)=>t.current?.(...e),[])}},8353:function(e,t,n){n.d(t,{T:function(){return i}});var r=n(7490),o=n(8871);function i({prop:e,defaultProp:t,onChange:n=()=>{}}){let[i,l]=function({defaultProp:e,onChange:t}){let n=r.useState(e),[i]=n,l=r.useRef(i),a=(0,o.W)(t);return r.useEffect(()=>{l.current!==i&&(a(i),l.current=i)},[i,l,a]),n}({defaultProp:t,onChange:n}),a=void 0!==e,u=a?e:i,s=(0,o.W)(n);return[u,r.useCallback(t=>{if(a){let n="function"==typeof t?t(e):t;n!==e&&s(n)}else l(t)},[a,e,l,s])]}},4136:function(e,t,n){n.d(t,{b:function(){return o}});var r=n(7490),o=globalThis?.document?r.useLayoutEffect:()=>{}},4679:function(e,t,n){n.d(t,{T:function(){return l},f:function(){return a}});var r=n(7490),o=n(7130),i=n(3011),l=r.forwardRef((e,t)=>
1(0,i.jsx)(o.WV.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}}));l.displayName="VisuallyHidden";var a=l}}]);

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.