1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9304],{1994:(e,t,n)=>{n.d(t,{m:()=>a});var r=n(79364),o=n(99139),u=function(e){var t=e.sideCar,n=(0,r.Tt)(e,["sideCar"]);if(!t)throw Error("Sidecar: please provide `sideCar` property to import the right car");var u=t.read();if(!u)throw Error("Sidecar medium not found");return o.createElement(u,(0,r.Cl)({},n))};function a(e,t){return e.useMedium(t),u}u.isSideCarExport=!0},7136:(e,t,n)=>{n.d(t,{m:()=>r});function r(e,t,{checkForDefaultPrevented:n=!0}={}){return function(r){if(e?.(r),!1===n||!r.defaultPrevented)return t?.(r)}}},11844:(e,t,n)=>{n.d(t,{C:()=>a,f:()=>i});var r=n(79364);function o(e){return e}function u(e,t){void 0===t&&(t=o);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 o=t(e,r);return n.push(o),function(){n=n.filter(function(e){return e!==o})}},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 o=n;n=[],o.forEach(e),t=n}var u=function(){var n=t;t=[],n.forEach(e)},a=function(){return Promise.resolve().then(u)};a(),n={push:function(e){t.push(e),a()},filter:function(e){return t=t.filter(e),n}}}}}function a(e,t){return void 0===t&&(t=o),u(e,t)}function i(e){void 0===e&&(e={});var t=u(null);return t.options=(0,r.Cl)({async:!0,ssr:!1},e),t}},20071:(e,t,n)=>{n.d(t,{T0:()=>i});var r,o=n(99139),u=function(){var e=0,t=null;return{add:function(o){if(0==e&&(t=function(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=r||n.nc;return t&&e.setAttribute("nonce",t),e}())){var u,a;(u=t).styleSheet?u.styleSheet.cssText=o:u.appendChild(document.createTextNode(o)),a=t,(document.head||document.getElementsByTagName("head")[0]).appendChild(a)}e++},remove:function(){--e||!t||(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},a=function(){var e=u();return function(t,n){o.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])}},i=function(){var e=a();return function(t){return e(t.styles,t.dynamic),null}}},20427:(e,t,n)=>{n.d(t,{B:()=>c});var r,o=n(99139),u=n(52065),a=(r||(r=n.t(o,2)))[" useId ".trim().toString()]||(()=>void 0),i=0;function c(e){let[t,n]=o.useState(a());return(0,u.N)(()=>{e||n(e=>e??String(i++))},[e]),e||(t?`radix-${t}`:"")}},29199:(e,t,n)=>{n.d(t,{C:()=>a});var r=n(99139),o=n(25626),u=n(52065),a=e=>{let{present:t,children:n}=e,a=function(e){var t,n;let[o,a]=r.useState(),c=r.useRef(null),l=r.useRef(e),s=r.useRef("none"),[d,f]=(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=i(c.current);s.current="mounted"===d?e:"none"},[d]),(0,u.N)(()=>{let t=c.current,n=l.current;if(n!==e){let r=s.current,o=i(t);e?f("MOUNT"):"none"===o||(null==t?void 0:t.display)==="none"?f("UNMOUNT"):n&&r!==o?f("ANIMATION_OUT"):f("UNMOUNT"),l.current=e}},[e,f]),(0,u.N)(()=>{if(o){var e;let t,n=null!=(e=o.ownerDocument.defaultView)?e:window,r=e=>{let r=i(c.current).includes(e.animationName);if(e.target===o&&r&&(f("ANIMATION_END"),!l.current)){let e=o.style.animationFillMode;o.style.animationFillMode="forwards",t=n.setTimeout(()=>{"forwards"===o.style.animationFillMode&&(o.style.animationFillMode=e)})}},u=e=>{e.target===o&&(s.current=i(c.current))};return o.addEventListener("animationstart",u),o.addEventListener("animationcancel",r),o.addEventListener("animationend",r),()=>{n.clearTimeout(t),o.removeEventListener("animationstart",u),o.removeEventListener("animationcancel",r),o.removeEventListener("animationend",r)}}f("ANIMATION_END")},[o,f]),{isPresent:["mounted","unmountSuspended"].includes(d),ref:r.useCallback(e=>{c.current=e?getComputedStyle(e):null,a(e)},[])}}(t),c="function"==typeof n?n({present:a.isPresent}):r.Children.only(n),l=(0,o.s)(a.ref,function(e){var t,n;let r=null==(t=Object.getOwnPropertyDescriptor(e.props,"ref"))?void 0:t.get,o=r&&"isReactWarning"in r&&r.isReactWarning;return o?e.ref:(o=(r=null==(n=Object.getOwnPropertyDescriptor(e,"ref"))?void 0:n.get)&&"isReactWarning"in r&&r.isReactWarning)?e.props.ref:e.props.ref||e.ref}(c));return"function"==typeof n||a.isPresent?r.cloneElement(c,{ref:l}):null};function i(e){return(null==e?void 0:e.animationName)||"none"}a.displayName="Presence"},36807:(e,t,n)=>{n.d(t,{Z:()=>c});var r=n(99139),o=n(46980),u=n(55177),a=n(52065),i=n(4035),c=r.forwardRef((e,t)=>
1{var n,c;let{container:l,...s}=e,[d,f]=r.useState(!1);(0,a.N)(()=>f(!0),[]);let v=l||d&&(null==(c=globalThis)||null==(n=c.document)?void 0:n.body);return v?o.createPortal((0,i.jsx)(u.sG.div,{...s,ref:t}),v):null});c.displayName="Portal"},41558:(e,t,n)=>{n.d(t,{n:()=>d});var r=n(99139),o=n(25626),u=n(55177),a=n(68243),i=n(4035),c="focusScope.autoFocusOnMount",l="focusScope.autoFocusOnUnmount",s={bubbles:!1,cancelable:!0},d=r.forwardRef((e,t)=>{let{loop:n=!1,trapped:d=!1,onMountAutoFocus:h,onUnmountAutoFocus:E,...g}=e,[y,b]=r.useState(null),w=(0,a.c)(h),N=(0,a.c)(E),C=r.useRef(null),S=(0,o.s)(t,e=>b(e)),T=r.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;r.useEffect(()=>{if(d){let e=function(e){if(T.paused||!y)return;let t=e.target;y.contains(t)?C.current=t:m(C.current,{select:!0})},t=function(e){if(T.paused||!y)return;let t=e.relatedTarget;null!==t&&(y.contains(t)||m(C.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&&m(y)});return y&&n.observe(y,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",e),document.removeEventListener("focusout",t),n.disconnect()}}},[d,y,T.paused]),r.useEffect(()=>{if(y){p.add(T);let e=document.activeElement;if(!y.contains(e)){let t=new CustomEvent(c,s);y.addEventListener(c,w),y.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(m(r,{select:t}),document.activeElement!==n)return}(f(y).filter(e=>"A"!==e.tagName),{select:!0}),document.activeElement===e&&m(y))}return()=>{y.removeEventListener(c,w),setTimeout(()=>{let t=new CustomEvent(l,s);y.addEventListener(l,N),y.dispatchEvent(t),t.defaultPrevented||m(null!=e?e:document.body,{select:!0}),y.removeEventListener(l,N),p.remove(T)},0)}}},[y,w,N,T]);let M=r.useCallback(e=>{if(!n&&!d||T.paused)return;let t="Tab"===e.key&&!e.altKey&&!e.ctrlKey&&!e.metaKey,r=document.activeElement;if(t&&r){let t=e.currentTarget,[o,u]=function(e){let t=f(e);return[v(t,e),v(t.reverse(),e)]}(t);o&&u?e.shiftKey||r!==u?e.shiftKey&&r===o&&(e.preventDefault(),n&&m(u,{select:!0})):(e.preventDefault(),n&&m(o,{select:!0})):r===t&&e.preventDefault()}},[n,d,T.paused]);return(0,i.jsx)(u.sG.div,{tabIndex:-1,...g,ref:S,onKeyDown:M})});function f(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 v(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 m(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()}}d.displayName="FocusScope";var p=function(){let e=[];return{add(t){let n=e[0];t!==n&&(null==n||n.pause()),(e=h(e,t)).unshift(t)},remove(t){var n;null==(n=(e=h(e,t))[0])||n.resume()}}}();function h(e,t){let n=[...e],r=n.indexOf(t);return -1!==r&&n.splice(r,1),n}},52065:(e,t,n)=>{n.d(t,{N:()=>o});var r=n(99139),o=globalThis?.document?r.useLayoutEffect:()=>{}},55177:(e,t,n)=>{n.d(t,{hO:()=>c,sG:()=>i});var r=n(99139),o=n(46980),u=n(69016),a=n(4035),i=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,t)=>{let n=(0,u.TL)(`Primitive.${t}`),o=r.forwardRef((e,r)=>{let{asChild:o,...u}=e;return"undefined"!=typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,a.jsx)(o?n:t,{...u,ref:r})});return o.displayName=`Primitive.${t}`,{...e,[t]:o}},{});function c(e,t){e&&o.flushSync(()=>e.dispatchEvent(t))}}
1,68243:(e,t,n)=>{n.d(t,{c:()=>o});var r=n(99139);function o(e){let t=r.useRef(e);return r.useEffect(()=>{t.current=e}),r.useMemo(()=>(...e)=>t.current?.(...e),[])}},70097:(e,t,n)=>{n.d(t,{Eq:()=>s});var r=function(e){return"undefined"==typeof document?null:(Array.isArray(e)?e[0]:e).ownerDocument.body},o=new WeakMap,u=new WeakMap,a={},i=0,c=function(e){return e&&(e.host||c(e.parentNode))},l=function(e,t,n,r){var l=(Array.isArray(e)?e:[e]).map(function(e){if(t.contains(e))return e;var n=c(e);return n&&t.contains(n)?n:(console.error("aria-hidden",e,"in not contained inside",t,". Doing nothing"),null)}).filter(function(e){return!!e});a[n]||(a[n]=new WeakMap);var s=a[n],d=[],f=new Set,v=new Set(l),m=function(e){!e||f.has(e)||(f.add(e),m(e.parentNode))};l.forEach(m);var p=function(e){!e||v.has(e)||Array.prototype.forEach.call(e.children,function(e){if(f.has(e))p(e);else try{var t=e.getAttribute(r),a=null!==t&&"false"!==t,i=(o.get(e)||0)+1,c=(s.get(e)||0)+1;o.set(e,i),s.set(e,c),d.push(e),1===i&&a&&u.set(e,!0),1===c&&e.setAttribute(n,"true"),a||e.setAttribute(r,"true")}catch(t){console.error("aria-hidden: cannot operate on ",e,t)}})};return p(t),f.clear(),i++,function(){d.forEach(function(e){var t=o.get(e)-1,a=s.get(e)-1;o.set(e,t),s.set(e,a),t||(u.has(e)||e.removeAttribute(r),u.delete(e)),a||e.removeAttribute(n)}),--i||(o=new WeakMap,o=new WeakMap,u=new WeakMap,a={})}},s=function(e,t,n){void 0===n&&(n="data-aria-hidden");var o=Array.from(Array.isArray(e)?e:[e]),u=t||r(e);return u?(o.push.apply(o,Array.from(u.querySelectorAll("[aria-live], script"))),l(o,u,n,"aria-hidden")):function(){return null}}},71880:(e,t,n)=>{n.d(t,{A:()=>a,q:()=>u});var r=n(99139),o=n(4035);function u(e,t){let n=r.createContext(t),u=e=>{let{children:t,...u}=e,a=r.useMemo(()=>u,Object.values(u));return(0,o.jsx)(n.Provider,{value:a,children:t})};return u.displayName=e+"Provider",[u,function(o){let u=r.useContext(n);if(u)return u;if(void 0!==t)return t;throw Error(`\`${o}\` must be used within \`${e}\``)}]}function a(e,t=[]){let n=[],u=()=>{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 u.scopeName=e,[function(t,u){let a=r.createContext(u),i=n.length;n=[...n,u];let c=t=>{let{scope:n,children:u,...c}=t,l=n?.[e]?.[i]||a,s=r.useMemo(()=>c,Object.values(c));return(0,o.jsx)(l.Provider,{value:s,children:u})};return c.displayName=t+"Provider",[c,function(n,o){let c=o?.[e]?.[i]||a,l=r.useContext(c);if(l)return l;if(void 0!==u)return u;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}(u,...t)]}},74573:(e,t,n)=>{n.d(t,{jp:()=>p});var r=n(99139),o=n(20071),u=n(76988),a={left:0,top:0,right:0,gap:0},i=function(e){return parseInt(e||"",10)||0},c=function(e){var t=window.getComputedStyle(document.body),n=t["padding"===e?"paddingLeft":"marginLeft"],r=t["padding"===e?"paddingTop":"marginTop"],o=t["padding"===e?"paddingRight":"marginRight"];return[i(n),i(r),i(o)]},l=function(e){if(void 0===e&&(e="margin"),"undefined"==typeof window)return a;var t=c(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])}},s=(0,o.T0)(),d="data-scroll-locked",f=function(e,t,n,r){var o=e.left,a=e.top,i=e.right,c=e.gap;return void 0===n&&(n="margin"),"\n .".concat(u.E9," {\n overflow: hidden ").concat(r,";\n padding-right: ").concat(c,"px ").concat(r,";\n }\n body[").concat(d,"] {\n overflow: hidden ").concat(r,";\n overscroll-behavior: contain;\n ").concat([t&&"position: relative ".concat(r,";"),"margin"===n&&"\n padding-left: ".concat(o,"px;\n padding-top: ").concat(a,"px;\n padding-right: ").concat(i,"px;\n margin-left:0;\n margin-top:0;\n margin-right: ").concat(c,"px ").concat(r,";\n "),"padding"===n&&"padding-right: ".concat(c,"px ").concat(r,";
1")].filter(Boolean).join(""),"\n }\n \n .").concat(u.Mi," {\n right: ").concat(c,"px ").concat(r,";\n }\n \n .").concat(u.pN," {\n margin-right: ").concat(c,"px ").concat(r,";\n }\n \n .").concat(u.Mi," .").concat(u.Mi," {\n right: 0 ").concat(r,";\n }\n \n .").concat(u.pN," .").concat(u.pN," {\n margin-right: 0 ").concat(r,";\n }\n \n body[").concat(d,"] {\n ").concat(u.xi,": ").concat(c,"px;\n }\n")},v=function(){var e=parseInt(document.body.getAttribute(d)||"0",10);return isFinite(e)?e:0},m=function(){r.useEffect(function(){return document.body.setAttribute(d,(v()+1).toString()),function(){var e=v()-1;e<=0?document.body.removeAttribute(d):document.body.setAttribute(d,e.toString())}},[])},p=function(e){var t=e.noRelative,n=e.noImportant,o=e.gapMode,u=void 0===o?"margin":o;m();var a=r.useMemo(function(){return l(u)},[u]);return r.createElement(s,{styles:f(a,!t,u,n?"":"!important")})}},75782:(e,t,n)=>{var r=n(26714);n.o(r,"useParams")&&n.d(t,{useParams:function(){return r.useParams}}),n.o(r,"usePathname")&&n.d(t,{usePathname:function(){return r.usePathname}}),n.o(r,"useRouter")&&n.d(t,{useRouter:function(){return r.useRouter}}),n.o(r,"useSearchParams")&&n.d(t,{useSearchParams:function(){return r.useSearchParams}}),n.o(r,"useServerInsertedHTML")&&n.d(t,{useServerInsertedHTML:function(){return r.useServerInsertedHTML}})},76026:(e,t,n)=>{n.d(t,{S:()=>i});var r=n(99139);function o(e,t){return"function"==typeof e?e(t):e&&(e.current=t),e}var u="undefined"!=typeof window?r.useLayoutEffect:r.useEffect,a=new WeakMap;function i(e,t){var n,i,c,l=(n=t||null,i=function(t){return e.forEach(function(e){return o(e,t)})},(c=(0,r.useState)(function(){return{value:n,callback:i,facade:{get current(){return c.value},set current(value){var e=c.value;e!==value&&(c.value=value,c.callback(value,e))}}}})[0]).callback=i,c.facade);return u(function(){var t=a.get(l);if(t){var n=new Set(t),r=new Set(e),u=l.current;n.forEach(function(e){r.has(e)||o(e,null)}),r.forEach(function(e){n.has(e)||o(e,u)})}a.set(l,e)},[e]),l}},76988:(e,t,n)=>{n.d(t,{E9:()=>u,Mi:()=>r,pN:()=>o,xi:()=>a});var r="right-scroll-bar-position",o="width-before-scroll-bar",u="with-scroll-bars-hidden",a="--removed-body-scroll-bar-size"},79359:(e,t,n)=>{n.d(t,{i:()=>i});var r,o=n(99139),u=n(52065),a=(r||(r=n.t(o,2)))[" useInsertionEffect ".trim().toString()]||u.N;function i({prop:e,defaultProp:t,onChange:n=()=>{},caller:r}){let[u,i,c]=function({defaultProp:e,onChange:t}){let[n,r]=o.useState(e),u=o.useRef(n),i=o.useRef(t);return a(()=>{i.current=t},[t]),o.useEffect(()=>{u.current!==n&&(i.current?.(n),u.current=n)},[n,u]),[n,r,i]}({defaultProp:t,onChange:n}),l=void 0!==e,s=l?e:u;{let t=o.useRef(void 0!==e);o.useEffect(()=>{let e=t.current;if(e!==l){let t=l?"controlled":"uncontrolled";console.warn(`${r} is changing from ${e?"controlled":"uncontrolled"} to ${t}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`)}t.current=l},[l,r])}return[s,o.useCallback(t=>{if(l){let n="function"==typeof t?t(e):t;n!==e&&c.current?.(n)}else i(t)},[l,e,i,c])]}Symbol("RADIX:SYNC_STATE")},84629:(e,t,n)=>{n.d(t,{A:()=>R});var r=n(79364),o=n(99139),u=n(76988),a=n(76026),i=(0,n(11844).f)(),c=function(){},l=o.forwardRef(function(e,t){var n=o.useRef(null),u=o.useState({onScrollCapture:c,onWheelCapture:c,onTouchMoveCapture:c}),l=u[0],s=u[1],d=e.forwardProps,f=e.children,v=e.className,m=e.removeScrollBar,p=e.enabled,h=e.shards,E=e.sideCar,g=e.noRelative,y=e.noIsolation,b=e.inert,w=e.allowPinchZoom,N=e.as,C=e.gapMode,S=(0,r.Tt)(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),T=(0,a.S)([n,t]),M=(0,r.Cl)((0,r.Cl)({},S),l);return o.createElement(o.Fragment,null,p&&o.createElement(E,{sideCar:i,removeScrollBar:m,shards:h,noRelative:g,noIsolation:y,inert:b,setCallbacks:s,allowPinchZoom:!!w,lockRef:n,gapMode:C}),d?o.cloneElement(o.Children.only(f),(0,r.Cl)((0,r.Cl)({},M),{ref:T})):o.createElement(void 0===N?"div":N,(0,r.Cl)({},M,{className:v,ref:T}),f))});l.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},l.classNames={fullWidth:u.pN,zeroRight:u.Mi};var s=n(1994),d=n(74573),f=n(20071),v=!1;if("undefined"!=typeof window)try{var m=Object.defineProperty({},"passive",{get:function(){return v=!0,!0}});window.addEventListener("test",m,m),window.removeEventListener("test",m,m)}catch(e){v=!1}var p=!!v&&{passive:!1},h=function(e,t){if(!(e instanceof Element))return!1;var n=window.getComputedStyle(e);return"hidden"!==n[t]&&(n.overflowY!==n.overflowX||"TEXTAREA"===e.tagName||"visible"!==n[t])},E=function(e,t){var n=t.ownerDocument,r=t;do{if("undefined"!=typeof ShadowRoot&&r instanceof ShadowRoot&&(r=r.host),g(e,r)){var o=y(e,r);if(o[1]>o[2])return!0}r=r.parentNode}while(r&&r!==n.body);return!1},g=function(e,t){return"v"===e?h(t,"overflowY"):h(t,"overflowX")},y=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 u,a=(u=window.getComputedStyle(t).direction,"h"===e&&"rtl"===u?-1:1),i=a*r,c=n.target,l=t.contains(c),s=!1,d=i>0,f=0,v=0;do{if(!c)break;var m=y(e,c),p=m[0],h=m[1]-m[2]-a*p;(p||h)&&g(e,c)&&(f+=h,v+=p);var E=c.parentNode;c=E&&E.nodeType===Node.DOCUMENT_FRAGMENT_NODE?E.host:E}while(!l&&c!==document.body||l&&(t.contains(c)||t===c));return d&&(o&&1>Math.abs(f)||!o&&i>f)?s=!0:!d&&(o&&1>Math.abs(v)||!o&&-i>v)&&(s=!0),s},w=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},N=function(e){return[e.deltaX,e.deltaY]},C=function(e){return e&&"current"in e?e.current:e},S=0,T=[];let M=(0,s.m)(i,function(e){var t=o.useRef([]),n=o.useRef([0,0]),u=o.useRef(),a=o.useState(S++)[0],i=o.useState(f.T0)[0],c=o.useRef(e);o.useEffect(function(){c.current=e},[e]),o.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(a));var t=(0,r.fX)([e.lockRef.current],(e.shards||[]).map(C),!0).filter(
1Boolean);return t.forEach(function(e){return e.classList.add("allow-interactivity-".concat(a))}),function(){document.body.classList.remove("block-interactivity-".concat(a)),t.forEach(function(e){return e.classList.remove("allow-interactivity-".concat(a))})}}},[e.inert,e.lockRef.current,e.shards]);var l=o.useCallback(function(e,t){if("touches"in e&&2===e.touches.length||"wheel"===e.type&&e.ctrlKey)return!c.current.allowPinchZoom;var r,o=w(e),a=n.current,i="deltaX"in e?e.deltaX:a[0]-o[0],l="deltaY"in e?e.deltaY:a[1]-o[1],s=e.target,d=Math.abs(i)>Math.abs(l)?"h":"v";if("touches"in e&&"h"===d&&"range"===s.type)return!1;var f=E(d,s);if(!f)return!0;if(f?r=d:(r="v"===d?"h":"v",f=E(d,s)),!f)return!1;if(!u.current&&"changedTouches"in e&&(i||l)&&(u.current=r),!r)return!0;var v=u.current||r;return b(v,t,e,"h"===v?i:l,!0)},[]),s=o.useCallback(function(e){if(T.length&&T[T.length-1]===i){var n="deltaY"in e?N(e):w(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,r[0]===n[0]&&r[1]===n[1])})[0];if(r&&r.should){e.cancelable&&e.preventDefault();return}if(!r){var o=(c.current.shards||[]).map(C).filter(Boolean).filter(function(t){return t.contains(e.target)});(o.length>0?l(e,o[0]):!c.current.noIsolation)&&e.cancelable&&e.preventDefault()}}},[]),v=o.useCallback(function(e,n,r,o){var u={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(u),setTimeout(function(){t.current=t.current.filter(function(e){return e!==u})},1)},[]),m=o.useCallback(function(e){n.current=w(e),u.current=void 0},[]),h=o.useCallback(function(t){v(t.type,N(t),t.target,l(t,e.lockRef.current))},[]),g=o.useCallback(function(t){v(t.type,w(t),t.target,l(t,e.lockRef.current))},[]);o.useEffect(function(){return T.push(i),e.setCallbacks({onScrollCapture:h,onWheelCapture:h,onTouchMoveCapture:g}),document.addEventListener("wheel",s,p),document.addEventListener("touchmove",s,p),document.addEventListener("touchstart",m,p),function(){T=T.filter(function(e){return e!==i}),document.removeEventListener("wheel",s,p),document.removeEventListener("touchmove",s,p),document.removeEventListener("touchstart",m,p)}},[]);var y=e.removeScrollBar,M=e.inert;return o.createElement(o.Fragment,null,M?o.createElement(i,{styles:"\n .block-interactivity-".concat(a," {pointer-events: none;}\n .allow-interactivity-").concat(a," {pointer-events: all;}\n")}):null,y?o.createElement(d.jp,{noRelative:e.noRelative,gapMode:e.gapMode}):null)});var L=o.forwardRef(function(e,t){return o.createElement(l,(0,r.Cl)({},e,{ref:t,sideCar:M}))});L.classNames=l.classNames;let R=L},87762:(e,t,n)=>{n.d(t,{Oh:()=>u});var r=n(99139),o=0;function u(){r.useEffect(()=>{var e,t;let n=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",null!=(e=n[0])?e:a()),document.body.insertAdjacentElement("beforeend",null!=(t=n[1])?t:a()),o++,()=>{1===o&&document.querySelectorAll("[data-radix-focus-guard]").forEach(e=>e.remove()),o--}},[])}function a(){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}},99776:(e,t,n)=>{n.d(t,{qW:()=>f});var r,o=n(99139),u=n(7136),a=n(55177),i=n(25626),c=n(68243),l=n(4035),s="dismissableLayer.update",d=o.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),f=o.forwardRef((e,t)=>{var n,f;let{disableOutsidePointerEvents:p=!1,onEscapeKeyDown:h,onPointerDownOutside:E,onFocusOutside:g,onInteractOutside:y,onDismiss:b,...w}=e,N=o.useContext(d),[C,S]=o.useState(null),T=null!=(f=null==C?void 0:C.ownerDocument)?f:null==(n=globalThis)?void 0:n.document,[,M]=o.useState({}),L=(0,i.s)(t,e=>S(e)),R=Array.from(N.layers),[P]=[...N.layersWithOutsidePointerEventsDisabled].slice(-1),A=R.indexOf(P),k=C?R.indexOf(C):-1,x=N.layersWithOutsidePointerEventsDisabled.size>0,O=k>=A,D=function(e){var t;let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null==(t=globalThis)?void 0:t.document,r=(0,c.c)(e),u=o.useRef(!1),a=o.useRef(()=>{});return o.useEffect(()=>{let e=e=>{if(e.target&&!u.current){let t=function(){m("dismissableLayer.pointerDownOutside",r,o,{discrete:!0})},o={originalEvent:e};"touch"===e.pointerType?(n.removeEventListener("click",a.current),a.current=t,n.addEventListener("click",a.current,{once:!0})):t()}else n.removeEventListener("click",a.current);u.current=!1},t=window.setTimeout(()=>{n.addEventListener("pointerdown",e)},0);return()=>{window.clearTimeout(t),n.removeEventListener("pointerdown",e),n.removeEventListener("click",a.current)}},[n,r]),{onPointerDownCapture:()=>u.current=!0}}(e=>{let t=e.target,n=[...N.branches].some(e=>e.contains(t));O&&!n&&(null==E||E(e),null==y||y(e),e.defaultPrevented||null==b||b())},T),I=function(e){var t;let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null==(t=globalThis)?void 0:t.document,r=(0,c.c)(e),u=o.useRef(!1);return o.useEffect(()=>{let e=e=>{e.target&&!u.current&&m("dismissableLayer.focusOutside",r,{originalEvent:e},{discrete:!1})};return n.addEventListener("focusin",e),()=>n.removeEventListener("focusin",e)},[n,r]),{onFocusCapture:()=>u.current=!0,onBlurCapture:()=>u.current=!1}}(e=>{let t=e.target;![...N.branches].some(e=>e.contains(t))&&(null==g||g(e),null==y||y(e),e.defaultPrevented||null==b||b())},T);return!function(e,t=globalThis?.document){let n=(0,c.c)(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=>{k===N.layers.size-1&&(null==h||h(e),!e.defaultPrevented&&b&&(e.preventDefault(),b()))},T),o.useEffect(()=>{if(C)return p&&(0===N.layersWithOutsidePointerEventsDisabled.size&&(r=T.body.style.pointerEvents,T.body.style.pointerEvents="none"),N.layersWithOutsidePointerEventsDisabled.add(C)),N.layers.add(C),v(),()=>{p&&1===N.layersWithOutsidePointerEventsDisabled.size&&(T.body.style.pointerEvents=r)}},[C,T,p,N]),o.useEffect(()=>()=>{C&&(N.layers.delete(C),N.layersWithOutsidePointerEventsDisabled.delete(C),v())},[C,N]),o.useEffect(()=>{let e=()=>M({});return document.addEventListener(s,e),()=>document.removeEventListener(s,e)},[]),(0,l.jsx)(a.sG.div,{...w,ref:L,style:{pointerEvents:x?O?"auto":"none":void 0,...e.style},onFocusCapture:(0,u.m)(e.onFocusCapture,I.onFocusCapture),onBlurCapture:(0,u.m)(e.onBlurCapture,I.onBlurCapture),onPointerDownCapture:(0,u.m)(e.onPointerDownCapture,D.onPointerDownCapture)})});function v(){let e=new CustomEvent(s);document.dispatchEvent(e)}function m(e,t,n,r){let{discrete:o}=r,u=n.originalEvent.target,i=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&u.addEventListener(e,t,{once:!0}),o?(0,a.hO)(u,i):u.dispatchEvent(i)}f.displayName="DismissableLayer",o.forwardRef((e,t)=>
1{let n=o.useContext(d),r=o.useRef(null),u=(0,i.s)(t,r);return o.useEffect(()=>{let e=r.current;if(e)return n.branches.add(e),()=>{n.branches.delete(e)}},[n.branches]),(0,l.jsx)(a.sG.div,{...e,ref:u})}).displayName="DismissableLayerBranch"}}]);
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.