1import{r as e,t}from"./jsx-runtime-BkSabwWG.js";import{z as n}from"./logo_VMV_blanc-B1BDEb6E.js";import{rt as r}from"./index-Dmfk4MRE.js";import{a as i,r as a}from"./dist-C4oOiS7_.js";import{r as o}from"./dist-C6X-jUr2.js";import{n as s,t as c}from"./dist-C7hBr6lF.js";var l=e(n(),1),u=Object.defineProperty,d=(e,t)=>u(e,`name`,{value:t,configurable:!0}),f=l.useId||(()=>void 0),p=0;function m(e){let[t,n]=l.useState(f());return a(()=>{e||n(e=>e??String(p++))},[e]),e||(t?`radix-${t}`:``)}d(m,`useId`);var h=Object.defineProperty,g=(e,t)=>h(e,`name`,{value:t,configurable:!0});function _(e){let t=l.useRef(e);return l.useEffect(()=>{t.current=e}),l.useMemo(()=>((...e)=>t.current?.(...e)),[])}g(_,`useCallbackRef`);var v=t(),y=Object.defineProperty,b=(e,t)=>y(e,`name`,{value:t,configurable:!0}),x=`dismissableLayer.update`,S=`dismissableLayer.pointerDownOutside`,C=`dismissableLayer.focusOutside`,w,ee=l.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set,dismissableSurfaces:new Set}),T=l.forwardRef(b(function(e,t){let{disableOutsidePointerEvents:n=!1,deferPointerDownOutside:r=!1,onEscapeKeyDown:a,onPointerDownOutside:s,onFocusOutside:u,onInteractOutside:d,onDismiss:f,...p}=e,m=l.useContext(ee),[h,g]=l.useState(null),y=h?.ownerDocument??globalThis?.document,[,S]=l.useState({}),C=o(t,g),T=Array.from(m.layers),[E]=[...m.layersWithOutsidePointerEventsDisabled].slice(-1),te=E?T.indexOf(E):-1,D=h?T.indexOf(h):-1,ae=m.layersWithOutsidePointerEventsDisabled.size>0,O=D>=te,k=l.useRef(!1),A=ne(e=>{s?.(e),d?.(e),e.defaultPrevented||f?.()},{ownerDocument:y,deferPointerDownOutside:r,isDeferredPointerDownOutsideRef:k,dismissableSurfaces:m.dismissableSurfaces,shouldHandlePointerDownOutside:l.useCallback(e=>{if(!(e instanceof Node))return!1;let t=[...m.branches].some(t=>t.contains(e));return O&&!t},[m.branches,O])}),j=re(e=>{if(r&&k.current)return;let t=e.target;[...m.branches].some(e=>e.contains(t))||(u?.(e),d?.(e),e.defaultPrevented||f?.())},y),M=h?D===T.length-1:!1,N=_(e=>{e.key===`Escape`&&(a?.(e),!e.defaultPrevented&&f&&(e.preventDefault(),f()))});return l.useEffect(()=>{if(M)return y.addEventListener(`keydown`,N,{capture:!0}),()=>y.removeEventListener(`keydown`,N,{capture:!0})},[y,M,N]),l.useEffect(()=>{if(h)return n&&(m.layersWithOutsidePointerEventsDisabled.size===0&&(w=y.body.style.pointerEvents,y.body.style.pointerEvents=`none`),m.layersWithOutsidePointerEventsDisabled.add(h)),m.layers.add(h),ie(),()=>{n&&(m.layersWithOutsidePointerEventsDisabled.delete(h),m.layersWithOutsidePointerEventsDisabled.size===0&&(y.body.style.pointerEvents=w))}},[h,y,n,m]),l.useEffect(()=>()=>{h&&(m.layers.delete(h),m.layersWithOutsidePointerEventsDisabled.delete(h),ie())},[h,m]),l.useEffect(()=>{let e=b(()=>S({}),`handleUpdate`);return document.addEventListener(x,e),()=>document.removeEventListener(x,e)},[]),(0,v.jsx)(c.div,{...p,ref:C,style:{pointerEvents:ae?O?`auto`:`none`:void 0,...e.style},onFocusCapture:i(e.onFocusCapture,j.onFocusCapture),onBlurCapture:i(e.onBlurCapture,j.onBlurCapture),onPointerDownCapture:i(e.onPointerDownCapture,A.onPointerDownCapture)})},`DismissableLayer`));function E(){let e=l.useContext(ee),[t,n]=l.useState(null);return l.useEffect(()=>{if(t)return e.dismissableSurfaces.add(t),()=>{e.dismissableSurfaces.delete(t)}},[t,e.dismissableSurfaces]),n}b(E,`useDismissableLayerSurface`);var te=b(()=>!0,`IS_TRUE`);function ne(e,t){let{ownerDocument:n=globalThis?.document,deferPointerDownOutside:r=!1,isDeferredPointerDownOutsideRef:i,dismissableSurfaces:a,shouldHandlePointerDownOutside:o=te}=t,s=_(e),c=l.useRef(!1),u=l.useRef(!1),d=l.useRef(new Map),f=l.useRef(()=>{});return l.useEffect(()=>{function e(){u.current=!1,i.current=!1,d.current.clear()}b(e,`resetOutsideInteraction`);function t(){return Array.from(d.current.values()).some(Boolean)}b(t,`isOutsideInteractionIntercepted`);function l(e){if(!u.current)return;let t=e.target;t instanceof Node&&[...a].some(e=>e.contains(t))||d.current.set(e.type,!0),e.type===`click`&&window.setTimeout(()=>{u.current&&f.current()},0)}b(l,`handleInteractionCapture`);function p(e){u.current&&d.current.set(e.type,!1)}b(p,`handleInteractionBubble`);let m=b(a=>{if(a.target&&!c.current){let l=function(){n.removeEventListener(`click`,f.current);let r=t();e(),r||D(S,s,p,{discrete:!0})};if(b(l,`handleAndDispatchPointerDownOutsideEvent`),!o(a.target)){n.removeEventListener(`click`,f.current),e(
1),c.current=!1;return}let p={originalEvent:a};u.current=!0,i.current=r&&a.button===0,d.current.clear(),!r||a.button!==0?l():(n.removeEventListener(`click`,f.current),f.current=l,n.addEventListener(`click`,f.current,{once:!0}))}else n.removeEventListener(`click`,f.current),e();c.current=!1},`handlePointerDown`),h=[`pointerup`,`mousedown`,`mouseup`,`touchstart`,`touchend`,`click`];for(let e of h)n.addEventListener(e,l,!0),n.addEventListener(e,p);let g=window.setTimeout(()=>{n.addEventListener(`pointerdown`,m)},0);return()=>{window.clearTimeout(g),n.removeEventListener(`pointerdown`,m),n.removeEventListener(`click`,f.current);for(let e of h)n.removeEventListener(e,l,!0),n.removeEventListener(e,p)}},[n,s,r,i,a,o]),{onPointerDownCapture:b(()=>c.current=!0,`onPointerDownCapture`)}}b(ne,`usePointerDownOutside`);function re(e,t=globalThis?.document){let n=_(e),r=l.useRef(!1);return l.useEffect(()=>{let e=b(e=>{e.target&&!r.current&&D(C,n,{originalEvent:e},{discrete:!1})},`handleFocus`);return t.addEventListener(`focusin`,e),()=>t.removeEventListener(`focusin`,e)},[t,n]),{onFocusCapture:b(()=>r.current=!0,`onFocusCapture`),onBlurCapture:b(()=>r.current=!1,`onBlurCapture`)}}b(re,`useFocusOutside`);function ie(){let e=new CustomEvent(x);document.dispatchEvent(e)}b(ie,`dispatchUpdate`);function D(e,t,n,{discrete:r}){let i=n.originalEvent.target,a=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&i.addEventListener(e,t,{once:!0}),r?s(i,a):i.dispatchEvent(a)}b(D,`handleAndDispatchCustomEvent`);var ae=Object.defineProperty,O=(e,t)=>ae(e,`name`,{value:t,configurable:!0}),k=`focusScope.autoFocusOnMount`,A=`focusScope.autoFocusOnUnmount`,j={bubbles:!1,cancelable:!0},M=l.forwardRef(O(function(e,t){let{loop:n=!1,trapped:r=!1,onMountAutoFocus:i,onUnmountAutoFocus:a,...s}=e,[u,d]=l.useState(null),f=_(i),p=_(a),m=l.useRef(null),h=o(t,d),g=l.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;l.useEffect(()=>{if(r){let e=function(e){if(g.paused||!u)return;let t=e.target;u.contains(t)?m.current=t:P(m.current,{select:!0})},t=function(e){if(g.paused||!u)return;let t=e.relatedTarget;t!==null&&(u.contains(t)||P(m.current,{select:!0}))},n=function(e){if(document.activeElement===document.body)for(let t of e)t.removedNodes.length>0&&P(u)};O(e,`handleFocusIn`),O(t,`handleFocusOut`),O(n,`handleMutations`),document.addEventListener(`focusin`,e),document.addEventListener(`focusout`,t);let r=new MutationObserver(n);return u&&r.observe(u,{childList:!0,subtree:!0}),()=>{document.removeEventListener(`focusin`,e),document.removeEventListener(`focusout`,t),r.disconnect()}}},[r,u,g.paused]),l.useEffect(()=>{if(u){de.add(g);let e=document.activeElement;if(!u.contains(e)){let t=new CustomEvent(k,j);u.addEventListener(k,f),u.dispatchEvent(t),t.defaultPrevented||(N(me(se(u)),{select:!0}),document.activeElement===e&&P(u))}return()=>{u.removeEventListener(k,f),setTimeout(()=>{let t=new CustomEvent(A,j);u.addEventListener(A,p),u.dispatchEvent(t),t.defaultPrevented||P(e??document.body,{select:!0}),u.removeEventListener(A,p),de.remove(g)},0)}}},[u,f,p,g]);let y=l.useCallback(e=>{if(!n&&!r||g.paused)return;let t=e.key===`Tab`&&!e.altKey&&!e.ctrlKey&&!e.metaKey,i=document.activeElement;if(t&&i){let t=e.currentTarget,[r,a]=oe(t);r&&a?!e.shiftKey&&i===a?(e.preventDefault(),n&&P(r,{select:!0})):e.shiftKey&&i===r&&(e.preventDefault(),n&&P(a,{select:!0})):i===t&&e.preventDefault()}},[n,r,g.paused]);return(0,v.jsx)(c.div,{tabIndex:-1,...s,ref:h,onKeyDown:y})},`FocusScope`));function N(e,{select:t=!1}={}){let n=document.activeElement;for(let r of e)if(P(r,{select:t}),document.activeElement!==n)return}O(N,`focusFirst`);function oe(e){let t=se(e);return[ce(t,e),ce(t.reverse(),e)]}O(oe,`getTabbableEdges`);function se(e){let t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:O(e=>{let t=e.tagName===`INPUT`&&e.type===`hidden`;return e.disabled||e.hidden||t?NodeFilter.FILTER_SKIP:e.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP},`acceptNode`)});for(;n.nextNode();)t.push(n.currentNode);return t}O(se,`getTabbableCandidates`);function ce(e,t){let n=typeof t.checkVisibility==`function`&&t.checkVisibility({checkVisibilityCSS:!0});for(let r of e)if(!(n?!r.checkVisibility({checkVisibilityCSS:!0}):le(r,{upTo:t})))return r}O(ce,`findVisible`);function le(e,{upTo:t}){if(getComputedStyle(e).visibility===`hidden`)return!0;for(;e;){if(t!==void 0&&e===t)return!1;if(getComputedStyle(e).display===`none`)return!0;e=e.parentElement}return!1}O(le,`isHidden`);function ue(e){return e instanceof HTMLInputElement&&`select`in e}O(ue,`isSelectableInput`);function P(e,{select:t=!1}={}){if(e&&e.focus){let n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&ue(e)&&t&&e.select()}}O(P,`focus`);var de=fe();function fe(){let e=[];return{add(t){let n=e[0];t!==n&&n?.pause(),e=pe(e,t),e.unshift(t)},remove(t){e=pe(e,t),e[0]?.resume()}}}O(fe,`createFocusScopesStack`);function pe(e,t){let n=[...e],r=n.indexOf(t);return r!==-1&&n.splice(r,1),n}O(pe,`arrayRemove`);function me(e){return e.filter(e=>e.tagName!==`A`)}O(me,`removeLinks`);var he=e(r(),1),ge=Object.defineProperty,_e=l.forwardRef(((e,t)=>ge(e,`name`,{value:t,configurable:!0}
1))(function(e,t){let{container:n,...r}=e,[i,o]=l.useState(!1);a(()=>o(!0),[]);let s=n||i&&globalThis?.document?.body;return s?he.createPortal((0,v.jsx)(c.div,{...r,ref:t}),s):null},`Portal`)),ve=Object.defineProperty,F=(e,t)=>ve(e,`name`,{value:t,configurable:!0}),I=0,L=null;function ye(e){return R(),e.children}F(ye,`FocusGuards`);function R(){l.useEffect(()=>{L||={start:z(),end:z()};let{start:e,end:t}=L;return document.body.firstElementChild!==e&&document.body.insertAdjacentElement(`afterbegin`,e),document.body.lastElementChild!==t&&document.body.insertAdjacentElement(`beforeend`,t),I++,()=>{I===1&&(L?.start.remove(),L?.end.remove(),L=null),I=Math.max(0,I-1)}},[])}F(R,`useFocusGuards`);function z(){let e=document.createElement(`span`);return e.setAttribute(`data-radix-focus-guard`,``),e.tabIndex=0,e.style.outline=`none`,e.style.opacity=`0`,e.style.position=`fixed`,e.style.pointerEvents=`none`,e}F(z,`createFocusGuard`);var B=function(){return B=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n],t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},B.apply(this,arguments)};function be(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols==`function`)for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n}function xe(e,t,n){if(n||arguments.length===2)for(var r=0,i=t.length,a;r<i;r++)(a||!(r in t))&&(a||=Array.prototype.slice.call(t,0,r),a[r]=t[r]);return e.concat(a||Array.prototype.slice.call(t))}var V=`right-scroll-bar-position`,H=`width-before-scroll-bar`,Se=`with-scroll-bars-hidden`,Ce=`--removed-body-scroll-bar-size`;function we(e,t){return typeof e==`function`?e(t):e&&(e.current=t),e}function Te(e,t){var n=(0,l.useState)(function(){return{value:e,callback:t,facade:{get current(){return n.value},set current(e){var t=n.value;t!==e&&(n.value=e,n.callback(e,t))}}}})[0];return n.callback=t,n.facade}var Ee=typeof window<`u`?l.useLayoutEffect:l.useEffect,De=new WeakMap;function Oe(e,t){var n=Te(t||null,function(t){return e.forEach(function(e){return we(e,t)})});return Ee(function(){var t=De.get(n);if(t){var r=new Set(t),i=new Set(e),a=n.current;r.forEach(function(e){i.has(e)||we(e,null)}),i.forEach(function(e){r.has(e)||we(e,a)})}De.set(n,e)},[e]),n}function ke(e){return e}function Ae(e,t){t===void 0&&(t=ke);var n=[],r=!1;return{read:function(){if(r)throw Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return n.length?n[n.length-1]:e},useMedium:function(e){var i=t(e,r);return n.push(i),function(){n=n.filter(function(e){return e!==i})}},assignSyncMedium:function(e){for(r=!0;n.length;){var t=n;n=[],t.forEach(e)}n={push:function(t){return e(t)},filter:function(){return n}}},assignMedium:function(e){r=!0;var t=[];if(n.length){var i=n;n=[],i.forEach(e),t=n}var a=function(){var n=t;t=[],n.forEach(e)},o=function(){return Promise.resolve().then(a)};o(),n={push:function(e){t.push(e),o()},filter:function(e){return t=t.filter(e),n}}}}}function je(e){e===void 0&&(e={});var t=Ae(null);return t.options=B({async:!0,ssr:!1},e),t}var Me=function(e){var t=e.sideCar,n=be(e,[`sideCar`]);if(!t)throw Error("Sidecar: please provide `sideCar` property to import the right car");var r=t.read();if(!r)throw Error(`Sidecar medium not found`);return l.createElement(r,B({},n))};Me.isSideCarExport=!0;function Ne(e,t){return e.useMedium(t),Me}var Pe=je(),Fe=function(){},U=l.forwardRef(function(e,t){var n=l.useRef(null),r=l.useState({onScrollCapture:Fe,onWheelCapture:Fe,onTouchMoveCapture:Fe}),i=r[0],a=r[1],o=e.forwardProps,s=e.children,c=e.className,u=e.removeScrollBar,d=e.enabled,f=e.shards,p=e.sideCar,m=e.noRelative,h=e.noIsolation,g=e.inert,_=e.allowPinchZoom,v=e.as,y=v===void 0?`div`:v,b=e.gapMode,x=be(e,[`forwardProps`,`children`,`className`,`removeScrollBar`,`enabled`,`shards`,`sideCar`,`noRelative`,`noIsolation`,`inert`,`allowPinchZoom`,`as`,`gapMode`]),S=p,C=Oe([n,t]),w=B(B({},x),i);return l.createElement(l.Fragment,null,d&&l.createElement(S,{sideCar:Pe,removeScrollBar:u,shards:f,noRelative:m,n
vendor: 2,123 bytes, lines 1-16
1oIsolation:h,inert:g,setCallbacks:a,allowPinchZoom:!!_,lockRef:n,gapMode:b}),o?l.cloneElement(l.Children.only(s),B(B({},w),{ref:C})):l.createElement(y,B({},w,{className:c,ref:C}),s))});U.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},U.classNames={fullWidth:H,zeroRight:V};var Ie,Le=function(){if(Ie)return Ie;if(typeof __webpack_nonce__<`u`)return __webpack_nonce__};function Re(){if(!document)return null;var e=document.createElement(`style`);e.type=`text/css`;var t=Le();return t&&e.setAttribute(`nonce`,t),e}function ze(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}function Be(e){(document.head||document.getElementsByTagName(`head`)[0]).appendChild(e)}var Ve=function(){var e=0,t=null;return{add:function(n){e==0&&(t=Re())&&(ze(t,n),Be(t)),e++},remove:function(){e--,!e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},He=function(){var e=Ve();return function(t,n){l.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])}},Ue=function(){var e=He();return function(t){var n=t.styles,r=t.dynamic;return e(n,r),null}},We={left:0,top:0,right:0,gap:0},Ge=function(e){return parseInt(e||``,10)||0},Ke=function(e){var t=window.getComputedStyle(document.body),n=t[e===`padding`?`paddingLeft`:`marginLeft`],r=t[e===`padding`?`paddingTop`:`marginTop`],i=t[e===`padding`?`paddingRight`:`marginRight`];return[Ge(n),Ge(r),Ge(i)]},qe=function(e){if(e===void 0&&(e=`margin`),typeof window>`u`)return We;var t=Ke(e),n=document.documentElement.clientWidth,r=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,r-n+t[2]-t[0])}},Je=Ue(),W=`data-scroll-locked`,Ye=function(e,t,n,r){var i=e.left,a=e.top,o=e.right,s=e.gap;return n===void 0&&(n=`margin`),` 2 .${Se} { 3 overflow: hidden ${r}; 4 padding-right: ${s}px ${r}; 5 } 6 body[${W}] { 7 overflow: hidden ${r}; 8 overscroll-behavior: contain; 9 ${[t&&`position: relative ${r};`,n===`margin`&&` 10 padding-left: ${i}px; 11 padding-top: ${a}px; 12 padding-right: ${o}px; 13 margin-left:0; 14 margin-top:0; 15 margin-right: ${s}px ${r}; 16 `,n===`padding`&&`padding-right: ${s}px ${r};
vendor: 4,061 bytes, lines 16-41
16`].filter(Boolean).join(``)} 17 } 18 19 .${V} { 20 right: ${s}px ${r}; 21 } 22 23 .${H} { 24 margin-right: ${s}px ${r}; 25 } 26 27 .${V} .${V} { 28 right: 0 ${r}; 29 } 30 31 .${H} .${H} { 32 margin-right: 0 ${r}; 33 } 34 35 body[${W}] { 36 ${Ce}: ${s}px; 37 } 38`},Xe=function(){var e=parseInt(document.body.getAttribute(`data-scroll-locked`)||`0`,10);return isFinite(e)?e:0},Ze=function(){l.useEffect(function(){return document.body.setAttribute(W,(Xe()+1).toString()),function(){var e=Xe()-1;e<=0?document.body.removeAttribute(W):document.body.setAttribute(W,e.toString())}},[])},Qe=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,i=r===void 0?`margin`:r;Ze();var a=l.useMemo(function(){return qe(i)},[i]);return l.createElement(Je,{styles:Ye(a,!t,i,n?``:`!important`)})},$e=!1;if(typeof window<`u`)try{var G=Object.defineProperty({},"passive",{get:function(){return $e=!0,!0}});window.addEventListener(`test`,G,G),window.removeEventListener(`test`,G,G)}catch{$e=!1}var K=$e?{passive:!1}:!1,et=function(e){return e.tagName===`TEXTAREA`},tt=function(e,t){if(!(e instanceof Element))return!1;var n=window.getComputedStyle(e);return n[t]!==`hidden`&&!(n.overflowY===n.overflowX&&!et(e)&&n[t]===`visible`)},nt=function(e){return tt(e,`overflowY`)},rt=function(e){return tt(e,`overflowX`)},it=function(e,t){var n=t.ownerDocument,r=t;do{if(typeof ShadowRoot<`u`&&r instanceof ShadowRoot&&(r=r.host),st(e,r)){var i=ct(e,r);if(i[1]>i[2])return!0}r=r.parentNode}while(r&&r!==n.body);return!1},at=function(e){return[e.scrollTop,e.scrollHeight,e.clientHeight]},ot=function(e){return[e.scrollLeft,e.scrollWidth,e.clientWidth]},st=function(e,t){return e===`v`?nt(t):rt(t)},ct=function(e,t){return e===`v`?at(t):ot(t)},lt=function(e,t){return e===`h`&&t===`rtl`?-1:1},ut=function(e,t,n,r,i){var a=lt(e,window.getComputedStyle(t).direction),o=a*r,s=n.target,c=t.contains(s),l=!1,u=o>0,d=0,f=0;do{if(!s)break;var p=ct(e,s),m=p[0],h=p[1]-p[2]-a*m;(m||h)&&st(e,s)&&(d+=h,f+=m);var g=s.parentNode;s=g&&g.nodeType===Node.DOCUMENT_FRAGMENT_NODE?g.host:g}while(!c&&s!==document.body||c&&(t.contains(s)||t===s));return(u&&(i&&Math.abs(d)<1||!i&&o>d)||!u&&(i&&Math.abs(f)<1||!i&&-o>f))&&(l=!0),l},q=function(e){return`changedTouches`in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},dt=function(e){return[e.deltaX,e.deltaY]},ft=function(e){return e&&`current`in e?e.current:e},pt=function(e,t){return e[0]===t[0]&&e[1]===t[1]},mt=function(e){return` 39 .block-interactivity-${e} {pointer-events: none;} 40 .allow-interactivity-${e} {pointer-events: all;} 41`},ht=0,J=[];function gt(e){var t=l.useRef([]),n=l.useRef([0,0]),r=l.useRef(),i=l.useState(ht++)[0],a=l.useState(Ue)[0],o=l.useRef(e);l.useEffect(function(){o.current=e},[e]),l.useEffect(function(){if(e.inert){document.body.classList.add(`block-interactivity-${i}`);var t=xe([e.lockRef.current],(e.shards||[]).map(ft),!0).filter(Boolean);return t.forEach(function(e){return e.classList.add(`allow-interactivity-${i}`)}),function(){document.body.classList.remove(`block-interactivity-${i}`),t.forEach(function(e){return e.classList.remove(`allow-interactivity-${i}`)})}}},[e.inert,e.lockRef.current,e.shards]);var s=l.useCallback(function(e,t){if(`touches`in e&&e.touches.length===2||e.type===`wheel`&&e.ctrlKey)return!o.current.allowPinchZoom;var i=q(e),a=n.current,s=`deltaX`in e?e.deltaX:a[0]-i[0],c=`deltaY`in e?e.deltaY:a[1]-i[1],l,u=e.target,d=Math.abs(s)>Math.abs(c)?`h`:`v`;if(`touches`in e&&d===`h`&&u.type===`range`)return!1;var f=window.getSelection(),p=f&&f.anchorNode;if(p&&(p===u||p.contains(u)))return!1;var m=it(d,u);if(!m)return!0;if(m?l=d:(l=d===`v`?`h`:`v`,m=it(d,u)),!m)return!1;if(!r.current&&`changedTouches`in e&&(s||c)&&(r.current=l),!l)return!0;var h=r.current||l;return ut(h,t,e,h===`h`?s:c,!0)},[]),c=l.useCallback(function(e){var n=e;if(!(!J.length||J[J.length-1]!==a)){var r=`deltaY`in n?dt(n):q(n),i=t.current.filter(function(e){return e.name===n.type&&(e.target===n.target||n.target===e.shadowParent)&&pt(e.delta,r)})[0];if(i&&i.should){n.cancelable&&n.preventDefault();return}
41if(!i){var c=(o.current.shards||[]).map(ft).filter(Boolean).filter(function(e){return e.contains(n.target)});(c.length>0?s(n,c[0]):!o.current.noIsolation)&&n.cancelable&&n.preventDefault()}}},[]),u=l.useCallback(function(e,n,r,i){var a={name:e,delta:n,target:r,should:i,shadowParent:_t(r)};t.current.push(a),setTimeout(function(){t.current=t.current.filter(function(e){return e!==a})},1)},[]),d=l.useCallback(function(e){n.current=q(e),r.current=void 0},[]),f=l.useCallback(function(t){u(t.type,dt(t),t.target,s(t,e.lockRef.current))},[]),p=l.useCallback(function(t){u(t.type,q(t),t.target,s(t,e.lockRef.current))},[]);l.useEffect(function(){return J.push(a),e.setCallbacks({onScrollCapture:f,onWheelCapture:f,onTouchMoveCapture:p}),document.addEventListener(`wheel`,c,K),document.addEventListener(`touchmove`,c,K),document.addEventListener(`touchstart`,d,K),function(){J=J.filter(function(e){return e!==a}),document.removeEventListener(`wheel`,c,K),document.removeEventListener(`touchmove`,c,K),document.removeEventListener(`touchstart`,d,K)}},[]);var m=e.removeScrollBar,h=e.inert;return l.createElement(l.Fragment,null,h?l.createElement(a,{styles:mt(i)}):null,m?l.createElement(Qe,{noRelative:e.noRelative,gapMode:e.gapMode}):null)}function _t(e){for(var t=null;e!==null;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}var vt=Ne(Pe,gt),yt=l.forwardRef(function(e,t){return l.createElement(U,B({},e,{ref:t,sideCar:vt}))});yt.classNames=U.classNames;var bt=function(e){return typeof document>`u`?null:(Array.isArray(e)?e[0]:e).ownerDocument.body},Y=new WeakMap,X=new WeakMap,Z={},Q=0,xt=function(e){return e&&(e.host||xt(e.parentNode))},St=function(e,t){return t.map(function(t){if(e.contains(t))return t;var n=xt(t);return n&&e.contains(n)?n:(console.error(`aria-hidden`,t,`in not contained inside`,e,`. Doing nothing`),null)}).filter(function(e){return!!e})},Ct=function(e,t,n,r){var i=St(t,Array.isArray(e)?e:[e]);Z[n]||(Z[n]=new WeakMap);var a=Z[n],o=[],s=new Set,c=new Set(i),l=function(e){!e||s.has(e)||(s.add(e),l(e.parentNode))};i.forEach(l);var u=function(e){!e||c.has(e)||Array.prototype.forEach.call(e.children,function(e){if(s.has(e))u(e);else try{var t=e.getAttribute(r),i=t!==null&&t!==`false`,c=(Y.get(e)||0)+1,l=(a.get(e)||0)+1;Y.set(e,c),a.set(e,l),o.push(e),c===1&&i&&X.set(e,!0),l===1&&e.setAttribute(n,`true`),i||e.setAttribute(r,`true`)}catch(t){console.error(`aria-hidden: cannot operate on `,e,t)}})};return u(t),s.clear(),Q++,function(){o.forEach(function(e){var t=Y.get(e)-1,i=a.get(e)-1;Y.set(e,t),a.set(e,i),t||(X.has(e)||e.removeAttribute(r),X.delete(e)),i||e.removeAttribute(n)}),Q--,Q||(Y=new WeakMap,Y=new WeakMap,X=new WeakMap,Z={})}},wt=function(e,t,n){n===void 0&&(n=`data-aria-hidden`);var r=Array.from(Array.isArray(e)?e:[e]),i=t||bt(e);return i?(r.push.apply(r,Array.from(i.querySelectorAll(`[aria-live], script`))),Ct(r,i,n,`aria-hidden`)):function(){return null}},$=new Set;function Tt({src:e,alt:t,className:n=``,priority:r=!1,sizes:i=`(min-width: 1024px) 33vw, (min-width: 640px) 50vw, 100vw`,preload:a=[]}){let[o,s]=(0,l.useState)(()=>$.has(e)),c=(0,l.useRef)(null);return(0,l.useEffect)(()=>{s($.has(e)),c.current?.complete&&($.add(e),s(!0))},[e]),(0,l.useEffect)(()=>{if(!o||!a.length)return;let e=window.setTimeout(()=>{for(let e of a){if(!e||$.has(e))continue;let t=new Image;t.decoding=`async`,t.src=e}},300);return()=>window.clearTimeout(e)},[o,a.join(`|`)]),(0,v.jsxs)(v.Fragment,{children:[o?null:(0,v.jsx)(`div`,{className:`bg-neutral-100 absolute inset-0 animate-pulse`,"aria-hidden":`true`}),(0,v.jsx)(`img`,{ref:c,src:e,alt:t,sizes:i,decoding:`async`,loading:r?`eager`:`lazy`,fetchPriority:r?`high`:`low`,onLoad:()=>{$.add(e),s(!0)},className:`${n} transition-opacity duration-300 ${o?`opacity-100`:`opacity-0`}`})]})}export{_e as a,E as c,R as i,_ as l,wt as n,M as o,yt as r,T as s,Tt as t,m as u};
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.