PageSourceSearch

https://botecogois.com.br/_next/static/chunks/2535-f6a76c2dbac1fc4b.js

js botecogois.com.br collected 2026-10-06 19:05:27 UTC 54,630 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2535],{30401:function(e,t,n){n.d(t,{Z:function(){return r}});let r=(0,n(39763).Z)("Check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]])},40875:function(e,t,n){n.d(t,{Z:function(){return r}});let r=(0,n(39763).Z)("ChevronDown",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]])},92451:function(e,t,n){n.d(t,{Z:function(){return r}});let r=(0,n(39763).Z)("ChevronLeft",[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]])},10407:function(e,t,n){n.d(t,{Z:function(){return r}});let r=(0,n(39763).Z)("ChevronRight",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]])},42449:function(e,t,n){n.d(t,{Z:function(){return r}});let r=(0,n(39763).Z)("ShoppingBag",[["path",{d:"M6 2 3 6v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V6l-3-4Z",key:"hou9p0"}],["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M16 10a4 4 0 0 1-8 0",key:"1ltviw"}]])},64413:function(e,t,n){n.d(t,{Z:function(){return r}});let r=(0,n(39763).Z)("Store",[["path",{d:"m2 7 4.41-4.41A2 2 0 0 1 7.83 2h8.34a2 2 0 0 1 1.42.59L22 7",key:"ztvudi"}],["path",{d:"M4 12v8a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-8",key:"1b2hhj"}],["path",{d:"M15 22v-4a2 2 0 0 0-2-2h-2a2 2 0 0 0-2 2v4",key:"2ebpfo"}],["path",{d:"M2 7h20",key:"1fcdvo"}],["path",{d:"M22 7v3a2 2 0 0 1-2 2v0a2.7 2.7 0 0 1-1.59-.63.7.7 0 0 0-.82 0A2.7 2.7 0 0 1 16 12a2.7 2.7 0 0 1-1.59-.63.7.7 0 0 0-.82 0A2.7 2.7 0 0 1 12 12a2.7 2.7 0 0 1-1.59-.63.7.7 0 0 0-.82 0A2.7 2.7 0 0 1 8 12a2.7 2.7 0 0 1-1.59-.63.7.7 0 0 0-.82 0A2.7 2.7 0 0 1 4 12v0a2 2 0 0 1-2-2V7",key:"jon5kx"}]])},33145:function(e,t,n){n.d(t,{default:function(){return o.a}});var r=n(48461),o=n.n(r)},48461:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{default:function(){return u},getImageProps:function(){return a}});let r=n(47043),o=n(55346),i=n(65878),l=r._(n(5084));function a(e){let{props:t}=(0,o.getImgProps)(e,{defaultLoader:l.default,imgConf:{deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!1}});for(let[e,n]of Object.entries(t))void 0===n&&delete t[e];return{props:t}}let u=i.Image},60703:function(e,t,n){n.d(t,{Z:function(){return L}});var r=n(5853),o=n(2265),i=n(85770),l=n(17325),a=(0,n(31412)._)(),u=function(){},c=o.forwardRef(function(e,t){var n=o.useRef(null),i=o.useState({onScrollCapture:u,onWheelCapture:u,onTouchMoveCapture:u}),c=i[0],s=i[1],f=e.forwardProps,d=e.children,p=e.className,m=e.removeScrollBar,h=e.enabled,v=e.shards,g=e.sideCar,y=e.noIsolation,w=e.inert,b=e.allowPinchZoom,x=e.as,E=e.gapMode,R=(0,r._T)(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as","gapMode"]),C=(0,l.q)([n,t]),S=(0,r.pi)((0,r.pi)({},R),c);return o.createElement(o.Fragment,null,h&&o.createElement(g,{sideCar:a,removeScrollBar:m,shards:v,noIsolation:y,inert:w,setCallbacks:s,allowPinchZoom:!!b,lockRef:n,gapMode:E}),f?o.cloneElement(o.Children.only(d),(0,r.pi)((0,r.pi)({},S),{ref:C})):o.createElement(void 0===x?"div":x,(0,r.pi)({},S,{className:p,ref:C}),d))});c.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},c.classNames={fullWidth:i.zi,zeroRight:i.pF};var s=n(49085),f=n(5517),d=n(18704),p=!1;if("undefined"!=typeof window)try{var m=Object.defineProperty({},"passive",{get:function(){return p=!0,!0}});window.addEventListener("test",m,m),window.removeEventListener("test",m,m)}catch(e){p=!1}var h=!!p&&{passive:!1},v=function(e,t){var n=window.getComputedStyle(e);return"hidden"!==n[t]&&!(n.overflowY===n.overflowX&&"TEXTAREA"!==e.tagName&&"visible"===n[t])},g=function(e,t){var n=t.ownerDocument,r=t;do{if("undefined"!=typeof ShadowRoot&&r instanceof ShadowRoot&&(r=r.host),y(e,r)){var o=w(e,r);if(o[1]>o[2])return!0}r=r.parentNode}while(r&&r!==n.body);return!1},y=function(e,t){return"v"===e?v(t,"overflowY"):v(t,"overflowX")},w=function(e,t){return"v"===e?[t.scrollTop,t.scrollHeight,t.clientHeight]:[t.scrollLeft,t.scrollWidth,t.clientWidth]},b=function(e,t,n,r,o){var i,l=(i=window.getComputedStyle(t).direction,"h"===e&&"rtl"===i?-1:1),a=l*r,u=n.target,c=t.contains(u),s=!1,f=
1a>0,d=0,p=0;do{var m=w(e,u),h=m[0],v=m[1]-m[2]-l*h;(h||v)&&y(e,u)&&(d+=v,p+=h),u instanceof ShadowRoot?u=u.host:u=u.parentNode}while(!c&&u!==document.body||c&&(t.contains(u)||t===u));return f&&(o&&1>Math.abs(d)||!o&&a>d)?s=!0:!f&&(o&&1>Math.abs(p)||!o&&-a>p)&&(s=!0),s},x=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},E=function(e){return[e.deltaX,e.deltaY]},R=function(e){return e&&"current"in e?e.current:e},C=0,S=[],P=(0,s.L)(a,function(e){var t=o.useRef([]),n=o.useRef([0,0]),i=o.useRef(),l=o.useState(C++)[0],a=o.useState(d.Ws)[0],u=o.useRef(e);o.useEffect(function(){u.current=e},[e]),o.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(l));var t=(0,r.ev)([e.lockRef.current],(e.shards||[]).map(R),!0).filter(Boolean);return t.forEach(function(e){return e.classList.add("allow-interactivity-".concat(l))}),function(){document.body.classList.remove("block-interactivity-".concat(l)),t.forEach(function(e){return e.classList.remove("allow-interactivity-".concat(l))})}}},[e.inert,e.lockRef.current,e.shards]);var c=o.useCallback(function(e,t){if("touches"in e&&2===e.touches.length)return!u.current.allowPinchZoom;var r,o=x(e),l=n.current,a="deltaX"in e?e.deltaX:l[0]-o[0],c="deltaY"in e?e.deltaY:l[1]-o[1],s=e.target,f=Math.abs(a)>Math.abs(c)?"h":"v";if("touches"in e&&"h"===f&&"range"===s.type)return!1;var d=g(f,s);if(!d)return!0;if(d?r=f:(r="v"===f?"h":"v",d=g(f,s)),!d)return!1;if(!i.current&&"changedTouches"in e&&(a||c)&&(i.current=r),!r)return!0;var p=i.current||r;return b(p,t,e,"h"===p?a:c,!0)},[]),s=o.useCallback(function(e){if(S.length&&S[S.length-1]===a){var n="deltaY"in e?E(e):x(e),r=t.current.filter(function(t){var r;return t.name===e.type&&(t.target===e.target||e.target===t.shadowParent)&&(r=t.delta)[0]===n[0]&&r[1]===n[1]})[0];if(r&&r.should){e.cancelable&&e.preventDefault();return}if(!r){var o=(u.current.shards||[]).map(R).filter(Boolean).filter(function(t){return t.contains(e.target)});(o.length>0?c(e,o[0]):!u.current.noIsolation)&&e.cancelable&&e.preventDefault()}}},[]),p=o.useCallback(function(e,n,r,o){var i={name:e,delta:n,target:r,should:o,shadowParent:function(e){for(var t=null;null!==e;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}(r)};t.current.push(i),setTimeout(function(){t.current=t.current.filter(function(e){return e!==i})},1)},[]),m=o.useCallback(function(e){n.current=x(e),i.current=void 0},[]),v=o.useCallback(function(t){p(t.type,E(t),t.target,c(t,e.lockRef.current))},[]),y=o.useCallback(function(t){p(t.type,x(t),t.target,c(t,e.lockRef.current))},[]);o.useEffect(function(){return S.push(a),e.setCallbacks({onScrollCapture:v,onWheelCapture:v,onTouchMoveCapture:y}),document.addEventListener("wheel",s,h),document.addEventListener("touchmove",s,h),document.addEventListener("touchstart",m,h),function(){S=S.filter(function(e){return e!==a}),document.removeEventListener("wheel",s,h),document.removeEventListener("touchmove",s,h),document.removeEventListener("touchstart",m,h)}},[]);var w=e.removeScrollBar,P=e.inert;return o.createElement(o.Fragment,null,P?o.createElement(a,{styles:"\n  .block-interactivity-".concat(l," {pointer-events: none;}\n  .allow-interactivity-").concat(l," {pointer-events: all;}\n")}):null,w?o.createElement(f.jp,{gapMode:e.gapMode}):null)}),A=o.forwardRef(function(e,t){return o.createElement(c,(0,r.pi)({},e,{ref:t,sideCar:P}))});A.classNames=c.classNames;var L=A},6741: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)}}},94721:function(e,t,n){n.d(t,{B:function(){return d}});var r=n(2265),o=n(73966);function i(...e){return t=>e.forEach(e=>{"function"==typeof e?e(t):null!=e&&(e.current=t)})}function l(...e){return r.useCallback(i(...e),e)}var a=n(57437),u=r.forwardRef((e,t)=>{let{children:n,...o}=e,i=r.Children.toArray(n),l=i.find(f);if(l){let e=l.props.children,n=i.map(t=>t!==l?t:r.Children.count(e)>1?r.Children.only(null):r.isValidElement(e)?e.props.children:null);return(0,a.jsx)(c,{...o,ref:t,children:r.isValidElement(e)?r.cloneElement(e,void 0,n):null})}return(0,a.jsx)(c,{...o,ref:t,children:n})});u.displayName="Slot";var c=r.forwardRef((e,t)=>
1{let{children:n,...o}=e;if(r.isValidElement(n)){let e,l;let a=(e=Object.getOwnPropertyDescriptor(n.props,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning?n.ref:(e=Object.getOwnPropertyDescriptor(n,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning?n.props.ref:n.props.ref||n.ref;return r.cloneElement(n,{...function(e,t){let n={...t};for(let r in t){let o=e[r],i=t[r];/^on[A-Z]/.test(r)?o&&i?n[r]=(...e)=>{i(...e),o(...e)}:o&&(n[r]=o):"style"===r?n[r]={...o,...i}:"className"===r&&(n[r]=[o,i].filter(Boolean).join(" "))}return{...e,...n}}(o,n.props),ref:t?i(t,a):a})}return r.Children.count(n)>1?r.Children.only(null):null});c.displayName="SlotClone";var s=({children:e})=>(0,a.jsx)(a.Fragment,{children:e});function f(e){return r.isValidElement(e)&&e.type===s}function d(e){let t=e+"CollectionProvider",[n,i]=(0,o.b)(t),[c,s]=n(t,{collectionRef:{current:null},itemMap:new Map}),f=e=>{let{scope:t,children:n}=e,o=r.useRef(null),i=r.useRef(new Map).current;return(0,a.jsx)(c,{scope:t,itemMap:i,collectionRef:o,children:n})};f.displayName=t;let d=e+"CollectionSlot",p=r.forwardRef((e,t)=>{let{scope:n,children:r}=e,o=l(t,s(d,n).collectionRef);return(0,a.jsx)(u,{ref:o,children:r})});p.displayName=d;let m=e+"CollectionItemSlot",h="data-radix-collection-item",v=r.forwardRef((e,t)=>{let{scope:n,children:o,...i}=e,c=r.useRef(null),f=l(t,c),d=s(m,n);return r.useEffect(()=>(d.itemMap.set(c,{ref:c,...i}),()=>void d.itemMap.delete(c))),(0,a.jsx)(u,{[h]:"",ref:f,children:o})});return v.displayName=m,[{Provider:f,Slot:p,ItemSlot:v},function(t){let n=s(e+"CollectionConsumer",t);return r.useCallback(()=>{let e=n.collectionRef.current;if(!e)return[];let t=Array.from(e.querySelectorAll("[".concat(h,"]")));return Array.from(n.itemMap.values()).sort((e,n)=>t.indexOf(e.ref.current)-t.indexOf(n.ref.current))},[n.collectionRef,n.itemMap])},i]}},73966:function(e,t,n){n.d(t,{b:function(){return i}});var r=n(2265),o=n(57437);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,c=n?.[e][a]||l,s=r.useMemo(()=>u,Object.values(u));return(0,o.jsx)(c.Provider,{value:s,children:i})}return n=[...n,i],u.displayName=t+"Provider",[u,function(n,o){let u=o?.[e][a]||l,c=r.useContext(u);if(c)return c;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)]}},29114:function(e,t,n){n.d(t,{gm:function(){return i}});var r=n(2265);n(57437);var o=r.createContext(void 0);function i(e){let t=r.useContext(o);return e||t||"ltr"}},83726:function(e,t,n){n.d(t,{XB:function(){return y}});var r,o=n(2265),i=n(6741),l=n(54887);function a(...e){return t=>e.forEach(e=>{"function"==typeof e?e(t):null!=e&&(e.current=t)})}function u(...e){return o.useCallback(a(...e),e)}var c=n(57437),s=o.forwardRef((e,t)=>{let{children:n,...r}=e,i=o.Children.toArray(n),l=i.find(p);if(l){let e=l.props.children,n=i.map(t=>t!==l?t:o.Children.count(e)>1?o.Children.only(null):o.isValidElement(e)?e.props.children:null);return(0,c.jsx)(f,{...r,ref:t,children:o.isValidElement(e)?o.cloneElement(e,void 0,n):null})}return(0,c.jsx)(f,{...r,ref:t,children:n})});s.displayName="Slot";var f=o.forwardRef((e,t)=>{let{children:n,...r}=e;if(o.isValidElement(n)){let e,i;let l=(e=Object.getOwnPropertyDescriptor(n.props,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning?n.ref:(e=Object.getOwnPropertyDescriptor(n,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning?n.props.ref:n.props.ref||n.ref;return o.cloneElement(n,{...function(e,t){let n={...t};for(let r in t){let o=e[r],i=t[r];/^on[A-Z]/.test(r)?o&&i?n[r]=(...e)=>{i(...e),o(...e)}:o&&(n[r]=o):"style"===r?n[r]={...o,...i}
1:"className"===r&&(n[r]=[o,i].filter(Boolean).join(" "))}return{...e,...n}}(r,n.props),ref:t?a(t,l):l})}return o.Children.count(n)>1?o.Children.only(null):null});f.displayName="SlotClone";var d=({children:e})=>(0,c.jsx)(c.Fragment,{children:e});function p(e){return o.isValidElement(e)&&e.type===d}var m=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"].reduce((e,t)=>{let n=o.forwardRef((e,n)=>{let{asChild:r,...o}=e,i=r?s:t;return"undefined"!=typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,c.jsx)(i,{...o,ref:n})});return n.displayName=`Primitive.${t}`,{...e,[t]:n}},{}),h=n(26606),v="dismissableLayer.update",g=o.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),y=o.forwardRef((e,t)=>{var n,l;let{disableOutsidePointerEvents:a=!1,onEscapeKeyDown:s,onPointerDownOutside:f,onFocusOutside:d,onInteractOutside:p,onDismiss:y,...x}=e,E=o.useContext(g),[R,C]=o.useState(null),S=null!==(l=null==R?void 0:R.ownerDocument)&&void 0!==l?l:null===(n=globalThis)||void 0===n?void 0:n.document,[,P]=o.useState({}),A=u(t,e=>C(e)),L=Array.from(E.layers),[O]=[...E.layersWithOutsidePointerEventsDisabled].slice(-1),j=L.indexOf(O),N=R?L.indexOf(R):-1,k=E.layersWithOutsidePointerEventsDisabled.size>0,T=N>=j,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,h.W)(e),i=o.useRef(!1),l=o.useRef(()=>{});return o.useEffect(()=>{let e=e=>{if(e.target&&!i.current){let t=function(){b("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));!T||n||(null==f||f(e),null==p||p(e),e.defaultPrevented||null==y||y())},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,h.W)(e),i=o.useRef(!1);return o.useEffect(()=>{let e=e=>{e.target&&!i.current&&b("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==d||d(e),null==p||p(e),e.defaultPrevented||null==y||y())},S);return!function(e,t=globalThis?.document){let n=(0,h.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==s||s(e),!e.defaultPrevented&&y&&(e.preventDefault(),y()))},S),o.useEffect(()=>{if(R)return a&&(0===E.layersWithOutsidePointerEventsDisabled.size&&(r=S.body.style.pointerEvents,S.body.style.pointerEvents="none"),E.layersWithOutsidePointerEventsDisabled.add(R)),E.layers.add(R),w(),()=>{a&&1===E.layersWithOutsidePointerEventsDisabled.size&&(S.body.style.pointerEvents=r)}},[R,S,a,E]),o.useEffect(()=>()=>{R&&(E.layers.delete(R),E.layersWithOutsidePointerEventsDisabled.delete(R),w())},[R,E]),o.useEffect(()=>{let e=()=>P({});return document.addEventListener(v,e),()=>document.removeEventListener(v,e)},[]),(0,c.jsx)(m.div,{...x,ref:A,style:{pointerEvents:k?T?"auto":"none":void 0,...e.style},onFocusCapture:(0,i.M)(e.onFocusCapture,M.onFocusCapture),onBlurCapture:(0,i.M)(e.onBlurCapture,M.onBlurCapture),onPointerDownCapture:(0,i.M)(e.onPointerDownCapture,W.onPointerDownCapture)})});function w(){let e=new CustomEvent(v);document.dispatchEvent(e)}function b(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)?i&&l.flushSync(()=>i.dispatchEvent(a)):i.dispatchEvent(a)}y.displayName="DismissableLayer",o.forwardRef((e,t)=>
1{let n=o.useContext(g),r=o.useRef(null),i=u(t,r);return o.useEffect(()=>{let e=r.current;if(e)return n.branches.add(e),()=>{n.branches.delete(e)}},[n.branches]),(0,c.jsx)(m.div,{...e,ref:i})}).displayName="DismissableLayerBranch"},86097:function(e,t,n){n.d(t,{EW:function(){return i}});var r=n(2265),o=0;function i(){r.useEffect(()=>{var e,t;let n=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",null!==(e=n[0])&&void 0!==e?e:l()),document.body.insertAdjacentElement("beforeend",null!==(t=n[1])&&void 0!==t?t:l()),o++,()=>{1===o&&document.querySelectorAll("[data-radix-focus-guard]").forEach(e=>e.remove()),o--}},[])}function l(){let e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.cssText="outline: none; opacity: 0; position: fixed; pointer-events: none",e}},99113:function(e,t,n){let r;n.d(t,{M:function(){return v}});var o=n(2265);function i(...e){return t=>e.forEach(e=>{"function"==typeof e?e(t):null!=e&&(e.current=t)})}n(54887);var l=n(57437),a=o.forwardRef((e,t)=>{let{children:n,...r}=e,i=o.Children.toArray(n),a=i.find(s);if(a){let e=a.props.children,n=i.map(t=>t!==a?t:o.Children.count(e)>1?o.Children.only(null):o.isValidElement(e)?e.props.children:null);return(0,l.jsx)(u,{...r,ref:t,children:o.isValidElement(e)?o.cloneElement(e,void 0,n):null})}return(0,l.jsx)(u,{...r,ref:t,children:n})});a.displayName="Slot";var u=o.forwardRef((e,t)=>{let{children:n,...r}=e;if(o.isValidElement(n)){let e,l;let a=(e=Object.getOwnPropertyDescriptor(n.props,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning?n.ref:(e=Object.getOwnPropertyDescriptor(n,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning?n.props.ref:n.props.ref||n.ref;return o.cloneElement(n,{...function(e,t){let n={...t};for(let r in t){let o=e[r],i=t[r];/^on[A-Z]/.test(r)?o&&i?n[r]=(...e)=>{i(...e),o(...e)}:o&&(n[r]=o):"style"===r?n[r]={...o,...i}:"className"===r&&(n[r]=[o,i].filter(Boolean).join(" "))}return{...e,...n}}(r,n.props),ref:t?i(t,a):a})}return o.Children.count(n)>1?o.Children.only(null):null});u.displayName="SlotClone";var c=({children:e})=>(0,l.jsx)(l.Fragment,{children:e});function s(e){return o.isValidElement(e)&&e.type===c}var f=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"].reduce((e,t)=>{let n=o.forwardRef((e,n)=>{let{asChild:r,...o}=e,i=r?a:t;return"undefined"!=typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,l.jsx)(i,{...o,ref:n})});return n.displayName=`Primitive.${t}`,{...e,[t]:n}},{}),d=n(26606),p="focusScope.autoFocusOnMount",m="focusScope.autoFocusOnUnmount",h={bubbles:!1,cancelable:!0},v=o.forwardRef((e,t)=>{let{loop:n=!1,trapped:r=!1,onMountAutoFocus:a,onUnmountAutoFocus:u,...c}=e,[s,v]=o.useState(null),x=(0,d.W)(a),E=(0,d.W)(u),R=o.useRef(null),C=function(...e){return o.useCallback(i(...e),e)}(t,e=>v(e)),S=o.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;o.useEffect(()=>{if(r){let e=function(e){if(S.paused||!s)return;let t=e.target;s.contains(t)?R.current=t:w(R.current,{select:!0})},t=function(e){if(S.paused||!s)return;let t=e.relatedTarget;null===t||s.contains(t)||w(R.current,{select:!0})};document.addEventListener("focusin",e),document.addEventListener("focusout",t);let n=new MutationObserver(function(e){if(document.activeElement===document.body)for(let t of e)t.removedNodes.length>0&&w(s)});return s&&n.observe(s,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",e),document.removeEventListener("focusout",t),n.disconnect()}}},[r,s,S.paused]),o.useEffect(()=>{if(s){b.add(S);let e=document.activeElement;if(!s.contains(e)){let t=new CustomEvent(p,h);s.addEventListener(p,x),s.dispatchEvent(t),t.defaultPrevented||(function(e){let{select:t=!1}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=document.activeElement;for(let r of e)if(w(r,{select:t}),document.activeElement!==n)return}(g(s).filter(e=>"A"!==e.tagName),{select:!0}),document.activeElement===e&&w(s))}return()=>{s.removeEventListener(p,x),setTimeout(()=>{let t=new CustomEvent(m,h);
1s.addEventListener(m,E),s.dispatchEvent(t),t.defaultPrevented||w(null!=e?e:document.body,{select:!0}),s.removeEventListener(m,E),b.remove(S)},0)}}},[s,x,E,S]);let P=o.useCallback(e=>{if(!n&&!r||S.paused)return;let t="Tab"===e.key&&!e.altKey&&!e.ctrlKey&&!e.metaKey,o=document.activeElement;if(t&&o){let t=e.currentTarget,[r,i]=function(e){let t=g(e);return[y(t,e),y(t.reverse(),e)]}(t);r&&i?e.shiftKey||o!==i?e.shiftKey&&o===r&&(e.preventDefault(),n&&w(i,{select:!0})):(e.preventDefault(),n&&w(r,{select:!0})):o===t&&e.preventDefault()}},[n,r,S.paused]);return(0,l.jsx)(f.div,{tabIndex:-1,...c,ref:C,onKeyDown:P})});function g(e){let t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:e=>{let t="INPUT"===e.tagName&&"hidden"===e.type;return e.disabled||e.hidden||t?NodeFilter.FILTER_SKIP:e.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function y(e,t){for(let n of e)if(!function(e,t){let{upTo:n}=t;if("hidden"===getComputedStyle(e).visibility)return!0;for(;e&&(void 0===n||e!==n);){if("none"===getComputedStyle(e).display)return!0;e=e.parentElement}return!1}(n,{upTo:t}))return n}function w(e){let{select:t=!1}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(e&&e.focus){var n;let r=document.activeElement;e.focus({preventScroll:!0}),e!==r&&(n=e)instanceof HTMLInputElement&&"select"in n&&t&&e.select()}}v.displayName="FocusScope";var b=(r=[],{add(e){let t=r[0];e!==t&&(null==t||t.pause()),(r=x(r,e)).unshift(e)},remove(e){var t;null===(t=(r=x(r,e))[0])||void 0===t||t.resume()}});function x(e,t){let n=[...e],r=n.indexOf(t);return -1!==r&&n.splice(r,1),n}},99255:function(e,t,n){n.d(t,{M:function(){return u}});var r,o=n(2265),i=n(61188),l=(r||(r=n.t(o,2)))["useId".toString()]||(()=>void 0),a=0;function u(e){let[t,n]=o.useState(l());return(0,i.b)(()=>{e||n(e=>e??String(a++))},[e]),e||(t?`radix-${t}`:"")}},48871:function(e,t,n){n.d(t,{ee:function(){return e1},Eh:function(){return e6},VY:function(){return e2},fC:function(){return e0},D7:function(){return eV}});var r=n(2265);let o=["top","right","bottom","left"],i=Math.min,l=Math.max,a=Math.round,u=Math.floor,c=e=>({x:e,y:e}),s={left:"right",right:"left",bottom:"top",top:"bottom"},f={start:"end",end:"start"};function d(e,t){return"function"==typeof e?e(t):e}function p(e){return e.split("-")[0]}function m(e){return e.split("-")[1]}function h(e){return"x"===e?"y":"x"}function v(e){return"y"===e?"height":"width"}function g(e){return["top","bottom"].includes(p(e))?"y":"x"}function y(e){return e.replace(/start|end/g,e=>f[e])}function w(e){return e.replace(/left|right|bottom|top/g,e=>s[e])}function b(e){return"number"!=typeof e?{top:0,right:0,bottom:0,left:0,...e}:{top:e,right:e,bottom:e,left:e}}function x(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 E(e,t,n){let r,{reference:o,floating:i}=e,l=g(t),a=h(g(t)),u=v(a),c=p(t),s="y"===l,f=o.x+o.width/2-i.width/2,d=o.y+o.height/2-i.height/2,y=o[u]/2-i[u]/2;switch(c){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(m(t)){case"start":r[a]-=y*(n&&s?-1:1);break;case"end":r[a]+=y*(n&&s?-1:1)}return r}let R=async(e,t,n)=>{let{placement:r="bottom",strategy:o="absolute",middleware:i=[],platform:l}=n,a=i.filter(Boolean),u=await (null==l.isRTL?void 0:l.isRTL(t)),c=await l.getElementRects({reference:e,floating:t,strategy:o}),{x:s,y:f}=E(c,r,u),d=r,p={},m=0;for(let n=0;n<a.length;n++){let{name:i,fn:h}=a[n],{x:v,y:g,data:y,reset:w}=await h({x:s,y:f,initialPlacement:r,placement:d,strategy:o,middlewareData:p,rects:c,platform:l,elements:{reference:e,floating:t}});s=null!=v?v:s,f=null!=g?g:f,p={...p,[i]:{...p[i],...y}},w&&m<=50&&(m++,"object"==typeof w&&(w.placement&&(d=w.placement),w.rects&&(c=!0===w.rects?await l.getElementRects({reference:e,floating:t,strategy:o}):w.rects),{x:s,y:f}=E(c,d,u)),n=-1)}return{x:s,y:f,placement:d,strategy:o,middlewareData:p}};async function C(e,t){var n;void 0===t&&(t={});let{x:r,y:o,platform:i,rects:l,elements:a,strategy:u}=e,{boundary:c="clippingAncestors",rootBoundary:s="viewport",elementContext:f="floating",altBoundary:p=!1,padding:m=0}=d(t,e),h=b(m),v=a[p?"floating"===f?"reference":"floating":f],g=x(await i.getClippingRect
1({element:null==(n=await (null==i.isElement?void 0:i.isElement(v)))||n?v:v.contextElement||await (null==i.getDocumentElement?void 0:i.getDocumentElement(a.floating)),boundary:c,rootBoundary:s,strategy:u})),y="floating"===f?{x:r,y:o,width:l.floating.width,height:l.floating.height}:l.reference,w=await (null==i.getOffsetParent?void 0:i.getOffsetParent(a.floating)),E=await (null==i.isElement?void 0:i.isElement(w))&&await (null==i.getScale?void 0:i.getScale(w))||{x:1,y:1},R=x(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:a,rect:y,offsetParent:w,strategy:u}):y);return{top:(g.top-R.top+h.top)/E.y,bottom:(R.bottom-g.bottom+h.bottom)/E.y,left:(g.left-R.left+h.left)/E.x,right:(R.right-g.right+h.right)/E.x}}function S(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function P(e){return o.some(t=>e[t]>=0)}async function A(e,t){let{placement:n,platform:r,elements:o}=e,i=await (null==r.isRTL?void 0:r.isRTL(o.floating)),l=p(n),a=m(n),u="y"===g(n),c=["left","top"].includes(l)?-1:1,s=i&&u?-1:1,f=d(t,e),{mainAxis:h,crossAxis:v,alignmentAxis:y}="number"==typeof f?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...f};return a&&"number"==typeof y&&(v="end"===a?-1*y:y),u?{x:v*s,y:h*c}:{x:h*c,y:v*s}}function L(e){return N(e)?(e.nodeName||"").toLowerCase():"#document"}function O(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function j(e){var t;return null==(t=(N(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function N(e){return e instanceof Node||e instanceof O(e).Node}function k(e){return e instanceof Element||e instanceof O(e).Element}function T(e){return e instanceof HTMLElement||e instanceof O(e).HTMLElement}function W(e){return"undefined"!=typeof ShadowRoot&&(e instanceof ShadowRoot||e instanceof O(e).ShadowRoot)}function M(e){let{overflow:t,overflowX:n,overflowY:r,display:o}=H(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!["inline","contents"].includes(o)}function D(e){return[":popover-open",":modal"].some(t=>{try{return e.matches(t)}catch(e){return!1}})}function F(e){let t=V(),n=H(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 V(){return"undefined"!=typeof CSS&&!!CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")}function B(e){return["html","body","#document"].includes(L(e))}function H(e){return O(e).getComputedStyle(e)}function I(e){return k(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function Z(e){if("html"===L(e))return e;let t=e.assignedSlot||e.parentNode||W(e)&&e.host||j(e);return W(t)?t.host:t}function z(e,t,n){var r;void 0===t&&(t=[]),void 0===n&&(n=!0);let o=function e(t){let n=Z(t);return B(n)?t.ownerDocument?t.ownerDocument.body:t.body:T(n)&&M(n)?n:e(n)}(e),i=o===(null==(r=e.ownerDocument)?void 0:r.body),l=O(o);return i?t.concat(l,l.visualViewport||[],M(o)?o:[],l.frameElement&&n?z(l.frameElement):[]):t.concat(o,z(o,[],n))}function _(e){let t=H(e),n=parseFloat(t.width)||0,r=parseFloat(t.height)||0,o=T(e),i=o?e.offsetWidth:n,l=o?e.offsetHeight:r,u=a(n)!==i||a(r)!==l;return u&&(n=i,r=l),{width:n,height:r,$:u}}function $(e){return k(e)?e:e.contextElement}function Y(e){let t=$(e);if(!T(t))return c(1);let n=t.getBoundingClientRect(),{width:r,height:o,$:i}=_(t),l=(i?a(n.width):n.width)/r,u=(i?a(n.height):n.height)/o;return l&&Number.isFinite(l)||(l=1),u&&Number.isFinite(u)||(u=1),{x:l,y:u}}let X=c(0);function q(e){let t=O(e);return V()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:X}function K(e,t,n,r){var o;void 0===t&&(t=!1),void 0===n&&(n=!1);let i=e.getBoundingClientRect(),l=$(e),a=c(1);t&&(r?k(r)&&(a=Y(r)):a=Y(e));let u=(void 0===(o=n)&&(o=!1),r&&(!o||r===O(l))&&o)?q(l):c(0),s=(i.left+u.x)/a.x,f=(i.top+u.y)/a.y,d=i.width/a.x,p=i.height/a.y;if(l){let e=O(l),t=r&&k(r)?O(r):r,n=e,o=n.frameElement;for(;o&&r&&t!==n;){let e=Y(o),t=o.getBoundingClientRect(),r=H(o),i=t.left+(o.clientLeft+parseFloat(r.paddingLeft))*e.x,l=t.top+(o.clientTop+parseFloat(r.paddingTop))*e.y;s*=e.x,f*=e.y,d*=e.x,p*=e.y,s+=i,f+=l,o=(n=O(o)).frameElement}}return x({width:d,height:p,x:s,y:f})}function U(e){return K(j(e)).left+I(e).scrollLeft}function G(e,t,n){let r;if("viewport"===t)r=function(e,t){let n=O(e),r=j(e),o=n.visualVie
1wport,i=r.clientWidth,l=r.clientHeight,a=0,u=0;if(o){i=o.width,l=o.height;let e=V();(!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=j(e),n=I(e),r=e.ownerDocument.body,o=l(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),i=l(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight),a=-n.scrollLeft+U(e),u=-n.scrollTop;return"rtl"===H(r).direction&&(a+=l(t.clientWidth,r.clientWidth)-o),{width:o,height:i,x:a,y:u}}(j(e));else if(k(t))r=function(e,t){let n=K(e,!0,"fixed"===t),r=n.top+e.clientTop,o=n.left+e.clientLeft,i=T(e)?Y(e):c(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=q(e);r={...t,x:t.x-n.x,y:t.y-n.y}}return x(r)}function J(e){return"static"===H(e).position}function Q(e,t){return T(e)&&"fixed"!==H(e).position?t?t(e):e.offsetParent:null}function ee(e,t){let n=O(e);if(D(e))return n;if(!T(e)){let t=Z(e);for(;t&&!B(t);){if(k(t)&&!J(t))return t;t=Z(t)}return n}let r=Q(e,t);for(;r&&["table","td","th"].includes(L(r))&&J(r);)r=Q(r,t);return r&&B(r)&&J(r)&&!F(r)?n:r||function(e){let t=Z(e);for(;T(t)&&!B(t)&&!D(t);){if(F(t))return t;t=Z(t)}return null}(e)||n}let et=async function(e){let t=this.getOffsetParent||ee,n=this.getDimensions,r=await n(e.floating);return{reference:function(e,t,n){let r=T(t),o=j(t),i="fixed"===n,l=K(e,!0,i,t),a={scrollLeft:0,scrollTop:0},u=c(0);if(r||!r&&!i){if(("body"!==L(t)||M(o))&&(a=I(t)),r){let e=K(t,!0,i,t);u.x=e.x+t.clientLeft,u.y=e.y+t.clientTop}else o&&(u.x=U(o))}return{x:l.left+a.scrollLeft-u.x,y:l.top+a.scrollTop-u.y,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}}},en={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:n,offsetParent:r,strategy:o}=e,i="fixed"===o,l=j(r),a=!!t&&D(t.floating);if(r===l||a&&i)return n;let u={scrollLeft:0,scrollTop:0},s=c(1),f=c(0),d=T(r);if((d||!d&&!i)&&(("body"!==L(r)||M(l))&&(u=I(r)),T(r))){let e=K(r);s=Y(r),f.x=e.x+r.clientLeft,f.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+f.x,y:n.y*s.y-u.scrollTop*s.y+f.y}},getDocumentElement:j,getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:r,strategy:o}=e,a=[..."clippingAncestors"===n?D(t)?[]:function(e,t){let n=t.get(e);if(n)return n;let r=z(e,[],!1).filter(e=>k(e)&&"body"!==L(e)),o=null,i="fixed"===H(e).position,l=i?Z(e):e;for(;k(l)&&!B(l);){let t=H(l),n=F(l);n||"fixed"!==t.position||(o=null),(i?!n&&!o:!n&&"static"===t.position&&!!o&&["absolute","fixed"].includes(o.position)||M(l)&&!n&&function e(t,n){let r=Z(t);return!(r===n||!k(r)||B(r))&&("fixed"===H(r).position||e(r,n))}(e,l))?r=r.filter(e=>e!==l):o=t,l=Z(l)}return t.set(e,r),r}(t,this._c):[].concat(n),r],u=a[0],c=a.reduce((e,n)=>{let r=G(t,n,o);return e.top=l(r.top,e.top),e.right=i(r.right,e.right),e.bottom=i(r.bottom,e.bottom),e.left=l(r.left,e.left),e},G(t,u,o));return{width:c.right-c.left,height:c.bottom-c.top,x:c.left,y:c.top}},getOffsetParent:ee,getElementRects:et,getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){let{width:t,height:n}=_(e);return{width:t,height:n}},getScale:Y,isElement:k,isRTL:function(e){return"rtl"===H(e).direction}},er=e=>({name:"arrow",options:e,async fn(t){let{x:n,y:r,placement:o,rects:a,platform:u,elements:c,middlewareData:s}=t,{element:f,padding:p=0}=d(e,t)||{};if(null==f)return{};let y=b(p),w={x:n,y:r},x=h(g(o)),E=v(x),R=await u.getDimensions(f),C="y"===x,S=C?"clientHeight":"clientWidth",P=a.reference[E]+a.reference[x]-w[x]-a.floating[E],A=w[x]-a.reference[x],L=await (null==u.getOffsetParent?void 0:u.getOffsetParent(f)),O=L?L[S]:0;O&&await (null==u.isElement?void 0:u.isElement(L))||(O=c.floating[S]||a.floating[E]);let j=O/2-R[E]/2-1,N=i(y[C?"top":"left"],j),k=i(y[C?"bottom":"right"],j),T=O-R[E]-k,W=O/2-R[E]/2+(P/2-A/2),M=l(N,i(W,T)),D=!s.arrow&&null!=m(o)&&W!==M&&a.reference[E]/2-(W<N?N:k)-R[E]/2<0,F=D?W<N?W-N:W-T:0;return{[x]:w[x]+F,data:{[x]:M,centerOffset:W-M-F,...D&&{alignmentOffset:F}},reset:D}}}),eo=(e,t,n)=>{let r=new Map,o={platform:en,...n},i={...o.platform,_c:r};return R(e,t,{...o,platform:i})};var ei=n(54887),el="undefined"!=typeof document?r.useLayoutEffect:r.useEffect;function ea(e,t){let n,r,o;
1if(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(!ea(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)&&!ea(e[n],t[n]))return!1}return!0}return e!=e&&t!=t}function eu(e){return"undefined"==typeof window?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function ec(e,t){let n=eu(e);return Math.round(t*n)/n}function es(e){let t=r.useRef(e);return el(()=>{t.current=e}),t}let ef=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?er({element:n.current,padding:r}).fn(t):{}:n?er({element:n,padding:r}).fn(t):{}}}),ed=(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 A(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]}},ep=(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:a=!0,crossAxis:u=!1,limiter:c={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...s}=d(n,e),f={x:t,y:r},m=await C(e,s),v=g(p(o)),y=h(v),w=f[y],b=f[v];if(a){let e="y"===y?"top":"left",t="y"===y?"bottom":"right",n=w+m[e],r=w-m[t];w=l(n,i(w,r))}if(u){let e="y"===v?"top":"left",t="y"===v?"bottom":"right",n=b+m[e],r=b-m[t];b=l(n,i(b,r))}let x=c.fn({...e,[y]:w,[v]:b});return{...x,data:{x:x.x-t,y:x.y-r}}}}),options:[e,t]}},em=(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:c=!0}=d(n,e),s={x:t,y:r},f=g(o),m=h(f),v=s[m],y=s[f],w=d(a,e),b="number"==typeof w?{mainAxis:w,crossAxis:0}:{mainAxis:0,crossAxis:0,...w};if(u){let e="y"===m?"height":"width",t=i.reference[m]-i.floating[e]+b.mainAxis,n=i.reference[m]+i.reference[e]-b.mainAxis;v<t?v=t:v>n&&(v=n)}if(c){var x,E;let e="y"===m?"width":"height",t=["top","left"].includes(p(o)),n=i.reference[f]-i.floating[e]+(t&&(null==(x=l.offset)?void 0:x[f])||0)+(t?0:b.crossAxis),r=i.reference[f]+i.reference[e]+(t?0:(null==(E=l.offset)?void 0:E[f])||0)-(t?b.crossAxis:0);y<n?y=n:y>r&&(y=r)}return{[m]:v,[f]:y}}}),options:[e,t]}},eh=(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:c,initialPlacement:s,platform:f,elements:b}=e,{mainAxis:x=!0,crossAxis:E=!0,fallbackPlacements:R,fallbackStrategy:S="bestFit",fallbackAxisSideDirection:P="none",flipAlignment:A=!0,...L}=d(n,e);if(null!=(t=u.arrow)&&t.alignmentOffset)return{};let O=p(a),j=g(s),N=p(s)===s,k=await (null==f.isRTL?void 0:f.isRTL(b.floating)),T=R||(N||!A?[w(s)]:function(e){let t=w(e);return[y(e),t,y(t)]}(s)),W="none"!==P;!R&&W&&T.push(...function(e,t,n,r){let o=m(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[]}}(p(e),"start"===n,r);return o&&(i=i.map(e=>e+"-"+o),t&&(i=i.concat(i.map(y)))),i}(s,A,P,k));let M=[s,...T],D=await C(e,L),F=[],V=(null==(r=u.flip)?void 0:r.overflows)||[];if(x&&F.push(D[O]),E){let e=function(e,t,n){void 0===n&&(n=!1);let r=m(e),o=h(g(e)),i=v(o),l="x"===o?r===(n?"end":"start")?"right":"left":"start"===r?"bottom":"top";return t.reference[i]>t.floating[i]&&(l=w(l)),[l,w(l)]}(a,c,k);F.push(D[e[0]],D[e[1]])}if(V=[...V,{placement:a,overflows:F}],!F.every(e=>e<=0)){let e=((null==(o=u.flip)?void 0:o.index)||0)+1,t=M[e];if(t)return{data:{index:e,overflows:V},reset:{placement:t}};let n=null==(i=V.filter(e=>e.overflows[0]<=0).sort((e,t)=>e.overflows[1]-t.overflows[1])[0])?void 0:i.placement;if(!n)switch(S){case"bestFit":{let e=null==(l=V.filter(e=>{if(W){let t=g(e.placement);return t===j||"y"===t}return!0}).map(e=>[e.placement,e.overflows.filter(e=>e>0).reduce((e,t)=>
1e+t,0)]).sort((e,t)=>e[1]-t[1])[0])?void 0:l[0];e&&(n=e);break}case"initialPlacement":n=s}if(a!==n)return{reset:{placement:n}}}return{}}}),options:[e,t]}},ev=(e,t)=>{var n;return{...(void 0===(n=e)&&(n={}),{name:"size",options:n,async fn(e){let t,r;let{placement:o,rects:a,platform:u,elements:c}=e,{apply:s=()=>{},...f}=d(n,e),h=await C(e,f),v=p(o),y=m(o),w="y"===g(o),{width:b,height:x}=a.floating;"top"===v||"bottom"===v?(t=v,r=y===(await (null==u.isRTL?void 0:u.isRTL(c.floating))?"start":"end")?"left":"right"):(r=v,t="end"===y?"top":"bottom");let E=x-h.top-h.bottom,R=b-h.left-h.right,S=i(x-h[t],E),P=i(b-h[r],R),A=!e.middlewareData.shift,L=S,O=P;if(w?O=y||A?i(P,R):R:L=y||A?i(S,E):E,A&&!y){let e=l(h.left,0),t=l(h.right,0),n=l(h.top,0),r=l(h.bottom,0);w?O=b-2*(0!==e||0!==t?e+t:l(h.left,h.right)):L=x-2*(0!==n||0!==r?n+r:l(h.top,h.bottom))}await s({...e,availableWidth:O,availableHeight:L});let j=await u.getDimensions(c.floating);return b!==j.width||x!==j.height?{reset:{rects:!0}}:{}}}),options:[e,t]}},eg=(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}=d(n,e);switch(r){case"referenceHidden":{let n=S(await C(e,{...o,elementContext:"reference"}),t.reference);return{data:{referenceHiddenOffsets:n,referenceHidden:P(n)}}}case"escaped":{let n=S(await C(e,{...o,altBoundary:!0}),t.floating);return{data:{escapedOffsets:n,escaped:P(n)}}}default:return{}}}}),options:[e,t]}},ey=(e,t)=>({...ef(e),options:[e,t]});var ew=n(57437),eb=r.forwardRef((e,t)=>{let{children:n,...o}=e,i=r.Children.toArray(n),l=i.find(eR);if(l){let e=l.props.children,n=i.map(t=>t!==l?t:r.Children.count(e)>1?r.Children.only(null):r.isValidElement(e)?e.props.children:null);return(0,ew.jsx)(ex,{...o,ref:t,children:r.isValidElement(e)?r.cloneElement(e,void 0,n):null})}return(0,ew.jsx)(ex,{...o,ref:t,children:n})});eb.displayName="Slot";var ex=r.forwardRef((e,t)=>{let{children:n,...o}=e;if(r.isValidElement(n)){let e,i;let l=(e=Object.getOwnPropertyDescriptor(n.props,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning?n.ref:(e=Object.getOwnPropertyDescriptor(n,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning?n.props.ref:n.props.ref||n.ref;return r.cloneElement(n,{...function(e,t){let n={...t};for(let r in t){let o=e[r],i=t[r];/^on[A-Z]/.test(r)?o&&i?n[r]=(...e)=>{i(...e),o(...e)}:o&&(n[r]=o):"style"===r?n[r]={...o,...i}:"className"===r&&(n[r]=[o,i].filter(Boolean).join(" "))}return{...e,...n}}(o,n.props),ref:t?function(...e){return t=>e.forEach(e=>{"function"==typeof e?e(t):null!=e&&(e.current=t)})}(t,l):l})}return r.Children.count(n)>1?r.Children.only(null):null});ex.displayName="SlotClone";var eE=({children:e})=>(0,ew.jsx)(ew.Fragment,{children:e});function eR(e){return r.isValidElement(e)&&e.type===eE}var eC=["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,i=r?eb:t;return"undefined"!=typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,ew.jsx)(i,{...o,ref:n})});return n.displayName=`Primitive.${t}`,{...e,[t]:n}},{}),eS=r.forwardRef((e,t)=>{let{children:n,width:r=10,height:o=5,...i}=e;return(0,ew.jsx)(eC.svg,{...i,ref:t,width:r,height:o,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?n:(0,ew.jsx)("polygon",{points:"0,0 30,0 15,10"})})});function eP(...e){return t=>e.forEach(e=>{"function"==typeof e?e(t):null!=e&&(e.current=t)})}function eA(...e){return r.useCallback(eP(...e),e)}eS.displayName="Arrow";var eL=n(73966),eO=r.forwardRef((e,t)=>{let{children:n,...o}=e,i=r.Children.toArray(n),l=i.find(ek);if(l){let e=l.props.children,n=i.map(t=>t!==l?t:r.Children.count(e)>1?r.Children.only(null):r.isValidElement(e)?e.props.children:null);return(0,ew.jsx)(ej,{...o,ref:t,children:r.isValidElement(e)?r.cloneElement(e,void 0,n):null})}return(0,ew.jsx)(ej,{...o,ref:t,children:n})});eO.displayName="Slot";var ej=r.forwardRef((e,t)=>{let{children:n,...o}=e;if(r.isValidElement(n)){let e,i;let l=(e=Object.getOwnPropertyDescriptor(n.props,"ref")?.get)&&"isReactWarning"in e&&e.
1isReactWarning?n.ref:(e=Object.getOwnPropertyDescriptor(n,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning?n.props.ref:n.props.ref||n.ref;return r.cloneElement(n,{...function(e,t){let n={...t};for(let r in t){let o=e[r],i=t[r];/^on[A-Z]/.test(r)?o&&i?n[r]=(...e)=>{i(...e),o(...e)}:o&&(n[r]=o):"style"===r?n[r]={...o,...i}:"className"===r&&(n[r]=[o,i].filter(Boolean).join(" "))}return{...e,...n}}(o,n.props),ref:t?eP(t,l):l})}return r.Children.count(n)>1?r.Children.only(null):null});ej.displayName="SlotClone";var eN=({children:e})=>(0,ew.jsx)(ew.Fragment,{children:e});function ek(e){return r.isValidElement(e)&&e.type===eN}var eT=["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,i=r?eO:t;return"undefined"!=typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,ew.jsx)(i,{...o,ref:n})});return n.displayName=`Primitive.${t}`,{...e,[t]:n}},{}),eW=n(26606),eM=n(61188),eD="Popper",[eF,eV]=(0,eL.b)(eD),[eB,eH]=eF(eD),eI=e=>{let{__scopePopper:t,children:n}=e,[o,i]=r.useState(null);return(0,ew.jsx)(eB,{scope:t,anchor:o,onAnchorChange:i,children:n})};eI.displayName=eD;var eZ="PopperAnchor",ez=r.forwardRef((e,t)=>{let{__scopePopper:n,virtualRef:o,...i}=e,l=eH(eZ,n),a=r.useRef(null),u=eA(t,a);return r.useEffect(()=>{l.onAnchorChange((null==o?void 0:o.current)||a.current)}),o?null:(0,ew.jsx)(eT.div,{...i,ref:u})});ez.displayName=eZ;var e_="PopperContent",[e$,eY]=eF(e_),eX=r.forwardRef((e,t)=>{var n,o,a,c,s,f,d,p;let{__scopePopper:m,side:h="bottom",sideOffset:v=0,align:g="center",alignOffset:y=0,arrowPadding:w=0,avoidCollisions:b=!0,collisionBoundary:x=[],collisionPadding:E=0,sticky:R="partial",hideWhenDetached:C=!1,updatePositionStrategy:S="optimized",onPlaced:P,...A}=e,L=eH(e_,m),[O,N]=r.useState(null),k=eA(t,e=>N(e)),[T,W]=r.useState(null),M=function(e){let[t,n]=r.useState(void 0);return(0,eM.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}(T),D=null!==(d=null==M?void 0:M.width)&&void 0!==d?d:0,F=null!==(p=null==M?void 0:M.height)&&void 0!==p?p:0,V="number"==typeof E?E:{top:0,right:0,bottom:0,left:0,...E},B=Array.isArray(x)?x:[x],H=B.length>0,I={padding:V,boundary:B.filter(eG),altBoundary:H},{refs:Z,floatingStyles:_,placement:Y,isPositioned:X,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:c,open:s}=e,[f,d]=r.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[p,m]=r.useState(o);ea(p,o)||m(o);let[h,v]=r.useState(null),[g,y]=r.useState(null),w=r.useCallback(e=>{e!==R.current&&(R.current=e,v(e))},[]),b=r.useCallback(e=>{e!==C.current&&(C.current=e,y(e))},[]),x=l||h,E=a||g,R=r.useRef(null),C=r.useRef(null),S=r.useRef(f),P=null!=c,A=es(c),L=es(i),O=r.useCallback(()=>{if(!R.current||!C.current)return;let e={placement:t,strategy:n,middleware:p};L.current&&(e.platform=L.current),eo(R.current,C.current,e).then(e=>{let t={...e,isPositioned:!0};j.current&&!ea(S.current,t)&&(S.current=t,ei.flushSync(()=>{d(t)}))})},[p,t,n,L]);el(()=>{!1===s&&S.current.isPositioned&&(S.current.isPositioned=!1,d(e=>({...e,isPositioned:!1})))},[s]);let j=r.useRef(!1);el(()=>(j.current=!0,()=>{j.current=!1}),[]),el(()=>{if(x&&(R.current=x),E&&(C.current=E),x&&E){if(A.current)return A.current(x,E,O);O()}},[x,E,O,A,P]);let N=r.useMemo(()=>({reference:R,floating:C,setReference:w,setFloating:b}),[w,b]),k=r.useMemo(()=>({reference:x,floating:E}),[x,E]),T=r.useMemo(()=>{let e={position:n,left:0,top:0};if(!k.floating)return e;let t=ec(k.floating,f.x),r=ec(k.floating,f.y);return u?{...e,transform:"translate("+t+"px, "+r+"px)",...eu(k.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:t,top:r}},[n,u,k.floating,f.x,f.y]);return r.useMemo(()=>({...f,update:O,refs:N,elements:k,floatingStyles:T}),[f,O,N,k,T])}({strategy:"fixed",placement:h+("center"!==g?"-"+g:""),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:a=!0,ancestorResize:c=!0,elementResize:s="function"==typeof ResizeObserver,layoutShift:f="function"==typeof IntersectionObserver,animationFrame:d=!1}=r,p=$(e),m=a||c?[...p?z(p):[],...z(t)]:[];
1m.forEach(e=>{a&&e.addEventListener("scroll",n,{passive:!0}),c&&e.addEventListener("resize",n)});let h=p&&f?function(e,t){let n,r=null,o=j(e);function a(){var e;clearTimeout(n),null==(e=r)||e.disconnect(),r=null}return!function c(s,f){void 0===s&&(s=!1),void 0===f&&(f=1),a();let{left:d,top:p,width:m,height:h}=e.getBoundingClientRect();if(s||t(),!m||!h)return;let v=u(p),g=u(o.clientWidth-(d+m)),y={rootMargin:-v+"px "+-g+"px "+-u(o.clientHeight-(p+h))+"px "+-u(d)+"px",threshold:l(0,i(1,f))||1},w=!0;function b(e){let t=e[0].intersectionRatio;if(t!==f){if(!w)return c();t?c(!1,t):n=setTimeout(()=>{c(!1,1e-7)},1e3)}w=!1}try{r=new IntersectionObserver(b,{...y,root:o.ownerDocument})}catch(e){r=new IntersectionObserver(b,y)}r.observe(e)}(!0),a}(p,n):null,v=-1,g=null;s&&(g=new ResizeObserver(e=>{let[r]=e;r&&r.target===p&&g&&(g.unobserve(t),cancelAnimationFrame(v),v=requestAnimationFrame(()=>{var e;null==(e=g)||e.observe(t)})),n()}),p&&!d&&g.observe(p),g.observe(t));let y=d?K(e):null;return d&&function t(){let r=K(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;m.forEach(e=>{a&&e.removeEventListener("scroll",n),c&&e.removeEventListener("resize",n)}),null==h||h(),null==(e=g)||e.disconnect(),g=null,d&&cancelAnimationFrame(o)}}(...t,{animationFrame:"always"===S})},elements:{reference:L.anchor},middleware:[ed({mainAxis:v+F,alignmentAxis:y}),b&&ep({mainAxis:!0,crossAxis:!1,limiter:"partial"===R?em():void 0,...I}),b&&eh({...I}),ev({...I,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"))}}),T&&ey({element:T,padding:w}),eJ({arrowWidth:D,arrowHeight:F}),C&&eg({strategy:"referenceHidden",...I})]}),[U,G]=eQ(Y),J=(0,eW.W)(P);(0,eM.b)(()=>{X&&(null==J||J())},[X,J]);let Q=null===(n=q.arrow)||void 0===n?void 0:n.x,ee=null===(o=q.arrow)||void 0===o?void 0:o.y,et=(null===(a=q.arrow)||void 0===a?void 0:a.centerOffset)!==0,[en,er]=r.useState();return(0,eM.b)(()=>{O&&er(window.getComputedStyle(O).zIndex)},[O]),(0,ew.jsx)("div",{ref:Z.setFloating,"data-radix-popper-content-wrapper":"",style:{..._,transform:X?_.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:en,"--radix-popper-transform-origin":[null===(c=q.transformOrigin)||void 0===c?void 0:c.x,null===(s=q.transformOrigin)||void 0===s?void 0:s.y].join(" "),...(null===(f=q.hide)||void 0===f?void 0:f.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:(0,ew.jsx)(e$,{scope:m,placedSide:U,onArrowChange:W,arrowX:Q,arrowY:ee,shouldHideArrow:et,children:(0,ew.jsx)(eT.div,{"data-side":U,"data-align":G,...A,ref:k,style:{...A.style,animation:X?void 0:"none"}})})})});eX.displayName=e_;var eq="PopperArrow",eK={top:"bottom",right:"left",bottom:"top",left:"right"},eU=r.forwardRef(function(e,t){let{__scopePopper:n,...r}=e,o=eY(eq,n),i=eK[o.placedSide];return(0,ew.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,ew.jsx)(eS,{...r,ref:t,style:{...r.style,display:"block"}})})});function eG(e){return null!==e}eU.displayName=eq;var eJ=e=>({name:"transformOrigin",options:e,fn(t){var n,r,o,i,l;let{placement:a,rects:u,middlewareData:c}=t,s=(null===(n=c.arrow)||void 0===n?void 0:n.centerOffset)!==0,f=s?0:e.arrowWidth,d=s?0:e.arrowHeight,[p,m]=eQ(a),h={start:"0%",center:"50%",end:"100%"}[m],v=(null!==(i=null===(r=c.arrow)||void 0===r?void 0:r.x)&&void 0!==i?i:0)+f/2,g=(null!==(l=null===(o=c.arrow)||void 0===o?void 0:o.y)&&void 0!==l?l:0)+d/2,y="",w="";return"bottom"===p?(y=s?h:"".concat(v,"px"),w="".concat(-d,"px")):"top"===p?(y=s?h:"".concat(v,"px"),w="".concat(u.floating.height+d,"px")):"right"===p?(y="".concat(-d,"px"),w=s?h:"".concat(g,"px")):"left"===p&&(y="".concat(u.floating.width+d,"px"),w=s?h:"".concat(g,"px")),{data:{x:y,y:w}}}});function eQ(e){let[t,n="center"]=e.split("-");return[t,n]}var e0=eI,e1=ez,e2=eX,e6=eU},15687:function(e,t,n){n.d(t,{h:function(){return d}});var r=n(2265),o=n(54887),i=n(57437),l=r.forwardRef((e,t)=>
1{let{children:n,...o}=e,l=r.Children.toArray(n),u=l.find(c);if(u){let e=u.props.children,n=l.map(t=>t!==u?t:r.Children.count(e)>1?r.Children.only(null):r.isValidElement(e)?e.props.children:null);return(0,i.jsx)(a,{...o,ref:t,children:r.isValidElement(e)?r.cloneElement(e,void 0,n):null})}return(0,i.jsx)(a,{...o,ref:t,children:n})});l.displayName="Slot";var a=r.forwardRef((e,t)=>{let{children:n,...o}=e;if(r.isValidElement(n)){let e,i;let l=(e=Object.getOwnPropertyDescriptor(n.props,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning?n.ref:(e=Object.getOwnPropertyDescriptor(n,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning?n.props.ref:n.props.ref||n.ref;return r.cloneElement(n,{...function(e,t){let n={...t};for(let r in t){let o=e[r],i=t[r];/^on[A-Z]/.test(r)?o&&i?n[r]=(...e)=>{i(...e),o(...e)}:o&&(n[r]=o):"style"===r?n[r]={...o,...i}:"className"===r&&(n[r]=[o,i].filter(Boolean).join(" "))}return{...e,...n}}(o,n.props),ref:t?function(...e){return t=>e.forEach(e=>{"function"==typeof e?e(t):null!=e&&(e.current=t)})}(t,l):l})}return r.Children.count(n)>1?r.Children.only(null):null});a.displayName="SlotClone";var u=({children:e})=>(0,i.jsx)(i.Fragment,{children:e});function c(e){return r.isValidElement(e)&&e.type===u}var s=["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?l:t;return"undefined"!=typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,i.jsx)(a,{...o,ref:n})});return n.displayName=`Primitive.${t}`,{...e,[t]:n}},{}),f=n(61188),d=r.forwardRef((e,t)=>{var n,l;let{container:a,...u}=e,[c,d]=r.useState(!1);(0,f.b)(()=>d(!0),[]);let p=a||c&&(null===(l=globalThis)||void 0===l?void 0:null===(n=l.document)||void 0===n?void 0:n.body);return p?o.createPortal((0,i.jsx)(s.div,{...u,ref:t}),p):null});d.displayName="Portal"},26606:function(e,t,n){n.d(t,{W:function(){return o}});var r=n(2265);function o(e){let t=r.useRef(e);return r.useEffect(()=>{t.current=e}),r.useMemo(()=>(...e)=>t.current?.(...e),[])}},80886:function(e,t,n){n.d(t,{T:function(){return i}});var r=n(2265),o=n(26606);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,c=(0,o.W)(n);return[u,r.useCallback(t=>{if(a){let n="function"==typeof t?t(e):t;n!==e&&c(n)}else l(t)},[a,e,l,c])]}},61188:function(e,t,n){n.d(t,{b:function(){return o}});var r=n(2265),o=globalThis?.document?r.useLayoutEffect:()=>{}}}]);

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.