1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,75830,e=>{"use strict";var t=e.i(71645),n=e.i(30030),r=e.i(20783),i=e.i(43476);function o(e){var n;let o,a=(n=e,(o=t.forwardRef((e,n)=>{let{children:i,...o}=e;if(t.isValidElement(i)){var a;let e,s,u=(a=i,(s=(e=Object.getOwnPropertyDescriptor(a.props,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?a.ref:(s=(e=Object.getOwnPropertyDescriptor(a,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?a.props.ref:a.props.ref||a.ref),l=function(e,t){let n={...t};for(let r in t){let i=e[r],o=t[r];/^on[A-Z]/.test(r)?i&&o?n[r]=(...e)=>{let t=o(...e);return i(...e),t}:i&&(n[r]=i):"style"===r?n[r]={...i,...o}:"className"===r&&(n[r]=[i,o].filter(Boolean).join(" "))}return{...e,...n}}(o,i.props);return i.type!==t.Fragment&&(l.ref=n?(0,r.composeRefs)(n,u):u),t.cloneElement(i,l)}return t.Children.count(i)>1?t.Children.only(null):null})).displayName=`${n}.SlotClone`,o),u=t.forwardRef((e,n)=>{let{children:r,...o}=e,u=t.Children.toArray(r),l=u.find(s);if(l){let e=l.props.children,r=u.map(n=>n!==l?n:t.Children.count(e)>1?t.Children.only(null):t.isValidElement(e)?e.props.children:null);return(0,i.jsx)(a,{...o,ref:n,children:t.isValidElement(e)?t.cloneElement(e,void 0,r):null})}return(0,i.jsx)(a,{...o,ref:n,children:r})});return u.displayName=`${e}.Slot`,u}var a=Symbol("radix.slottable");function s(e){return t.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===a}function u(e){let a=e+"CollectionProvider",[s,u]=(0,n.createContextScope)(a),[l,c]=s(a,{collectionRef:{current:null},itemMap:new Map}),d=e=>{let{scope:n,children:r}=e,o=t.default.useRef(null),a=t.default.useRef(new Map).current;return(0,i.jsx)(l,{scope:n,itemMap:a,collectionRef:o,children:r})};d.displayName=a;let f=e+"CollectionSlot",h=o(f),p=t.default.forwardRef((e,t)=>{let{scope:n,children:o}=e,a=c(f,n),s=(0,r.useComposedRefs)(t,a.collectionRef);return(0,i.jsx)(h,{ref:s,children:o})});p.displayName=f;let v=e+"CollectionItemSlot",m="data-radix-collection-item",y=o(v),g=t.default.forwardRef((e,n)=>{let{scope:o,children:a,...s}=e,u=t.default.useRef(null),l=(0,r.useComposedRefs)(n,u),d=c(v,o);return t.default.useEffect(()=>(d.itemMap.set(u,{ref:u,...s}),()=>void d.itemMap.delete(u))),(0,i.jsx)(y,{...{[m]:""},ref:l,children:a})});return g.displayName=v,[{Provider:d,Slot:p,ItemSlot:g},function(n){let r=c(e+"CollectionConsumer",n);return t.default.useCallback(()=>{let e=r.collectionRef.current;if(!e)return[];let t=Array.from(e.querySelectorAll(`[${m}]`));return Array.from(r.itemMap.values()).sort((e,n)=>t.indexOf(e.ref.current)-t.indexOf(n.ref.current))},[r.collectionRef,r.itemMap])},u]}var l=new WeakMap;function c(e,t){var n,r;let i,o,a;if("at"in Array.prototype)return Array.prototype.at.call(e,t);let s=(n=e,r=t,i=n.length,(a=(o=d(r))>=0?o:i+o)<0||a>=i?-1:a);return -1===s?void 0:e[s]}function d(e){return e!=e||0===e?0:Math.trunc(e)}(class e extends Map{#e;constructor(e){super(e),this.#e=[...super.keys()],l.set(this,!0)}set(e,t){return l.get(this)&&(this.has(e)?this.#e[this.#e.indexOf(e)]=e:this.#e.push(e)),super.set(e,t),this}insert(e,t,n){let r,i=this.has(t),o=this.#e.length,a=d(e),s=a>=0?a:o+a,u=s<0||s>=o?-1:s;if(u===this.size||i&&u===this.size-1||-1===u)return this.set(t,n),this;let l=this.size+ +!i;a<0&&s++;let c=[...this.#e],f=!1;for(let e=s;e<l;e++)if(s===e){let o=c[e];c[e]===t&&(o=c[e+1]),i&&this.delete(t),r=this.get(o),this.set(t,n)}else{f||c[e-1]!==t||(f=!0);let n=c[f?e:e-1],i=r;r=this.get(n),this.delete(n),this.set(n,i)}return this}with(t,n,r){let i=new e(this);return i.insert(t,n,r),i}before(e){let t=this.#e.indexOf(e)-1;if(!(t<0))return this.entryAt(t)}setBefore(e,t,n){let r=this.#e.indexOf(e);return -1===r?this:this.insert(r,t,n)}after(e){let t=this.#e.indexOf(e);if(-1!==(t=-1===t||t===this.size-1?-1:t+1))return this.entryAt(t)}setAfter(e,t,n){let r=this.#e.indexOf(e);return -1===r?this:this.insert(r+1,t,n)}first(){return this.entryAt(0)}last(){return this.entryAt(-1)}clear(){return this.#e=[],super.clear()}delete(e){let t=super.delete(e);return t&&this.#e.splice(this.#e.indexOf(e),1),t}deleteAt(e){let t=this.keyAt(e);return void 0!==t&&this.delete(t)}at(e){let t=c(this.#e,e);if(void 0!==t)return this.get(t)}entryAt(e){let t=c(this.#e,e);if(void 0!==t)return[t,this.get(t)]}indexOf(e){return this.#e.indexOf(e)}keyAt(e){return c(this.#e,e)}from(e,t){let n=this.indexOf(e);if(-1===n)return;let r=n+t;return r<0&&(r=0),r>=this.size&&(r=this.size-1),this.at(r)}keyFrom(e,t){let n=this.indexOf(e);if(-1===n)return;let r=n+t;return r<0&&(r=0),r>=this.size&&(r=this.size-1),this.keyAt(r)}find(e,t){let n=0;for(let r of this){if(Reflect.apply(e,t,[r,n,this]))return r;n++}
1}findIndex(e,t){let n=0;for(let r of this){if(Reflect.apply(e,t,[r,n,this]))return n;n++}return -1}filter(t,n){let r=[],i=0;for(let e of this)Reflect.apply(t,n,[e,i,this])&&r.push(e),i++;return new e(r)}map(t,n){let r=[],i=0;for(let e of this)r.push([e[0],Reflect.apply(t,n,[e,i,this])]),i++;return new e(r)}reduce(...e){let[t,n]=e,r=0,i=n??this.at(0);for(let n of this)i=0===r&&1===e.length?n:Reflect.apply(t,this,[i,n,r,this]),r++;return i}reduceRight(...e){let[t,n]=e,r=n??this.at(-1);for(let n=this.size-1;n>=0;n--){let i=this.at(n);r=n===this.size-1&&1===e.length?i:Reflect.apply(t,this,[r,i,n,this])}return r}toSorted(t){return new e([...this.entries()].sort(t))}toReversed(){let t=new e;for(let e=this.size-1;e>=0;e--){let n=this.keyAt(e),r=this.get(n);t.set(n,r)}return t}toSpliced(...t){let n=[...this.entries()];return n.splice(...t),new e(n)}slice(t,n){let r=new e,i=this.size-1;if(void 0===t)return r;t<0&&(t+=this.size),void 0!==n&&n>0&&(i=n-1);for(let e=t;e<=i;e++){let t=this.keyAt(e),n=this.get(t);r.set(t,n)}return r}every(e,t){let n=0;for(let r of this){if(!Reflect.apply(e,t,[r,n,this]))return!1;n++}return!0}some(e,t){let n=0;for(let r of this){if(Reflect.apply(e,t,[r,n,this]))return!0;n++}return!1}}),e.s(["createCollection",()=>u],75830)},86318,e=>{"use strict";var t=e.i(71645);e.i(43476);var n=t.createContext(void 0);function r(e){let r=t.useContext(n);return e||r||"ltr"}e.s(["useDirection",()=>r])},30207,e=>{"use strict";var t=e.i(71645);function n(e){let n=t.useRef(e);return t.useEffect(()=>{n.current=e}),t.useMemo(()=>(...e)=>n.current?.(...e),[])}e.s(["useCallbackRef",()=>n])},26330,e=>{"use strict";var t,n=e.i(71645),r=e.i(81140),i=e.i(48425),o=e.i(20783),a=e.i(30207),s=e.i(43476),u="dismissableLayer.update",l=n.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),c=n.forwardRef((e,c)=>{let{disableOutsidePointerEvents:h=!1,onEscapeKeyDown:p,onPointerDownOutside:v,onFocusOutside:m,onInteractOutside:y,onDismiss:g,...E}=e,b=n.useContext(l),[w,C]=n.useState(null),R=w?.ownerDocument??globalThis?.document,[,k]=n.useState({}),S=(0,o.useComposedRefs)(c,e=>C(e)),x=Array.from(b.layers),[A]=[...b.layersWithOutsidePointerEventsDisabled].slice(-1),L=x.indexOf(A),M=w?x.indexOf(w):-1,P=b.layersWithOutsidePointerEventsDisabled.size>0,T=M>=L,N=function(e,t=globalThis?.document){let r=(0,a.useCallbackRef)(e),i=n.useRef(!1),o=n.useRef(()=>{});return n.useEffect(()=>{let e=e=>{if(e.target&&!i.current){let n=function(){f("dismissableLayer.pointerDownOutside",r,i,{discrete:!0})},i={originalEvent:e};"touch"===e.pointerType?(t.removeEventListener("click",o.current),o.current=n,t.addEventListener("click",o.current,{once:!0})):n()}else t.removeEventListener("click",o.current);i.current=!1},n=window.setTimeout(()=>{t.addEventListener("pointerdown",e)},0);return()=>{window.clearTimeout(n),t.removeEventListener("pointerdown",e),t.removeEventListener("click",o.current)}},[t,r]),{onPointerDownCapture:()=>i.current=!0}}(e=>{let t=e.target,n=[...b.branches].some(e=>e.contains(t));T&&!n&&(v?.(e),y?.(e),e.defaultPrevented||g?.())},R),_=function(e,t=globalThis?.document){let r=(0,a.useCallbackRef)(e),i=n.useRef(!1);return n.useEffect(()=>{let e=e=>{e.target&&!i.current&&f("dismissableLayer.focusOutside",r,{originalEvent:e},{discrete:!1})};return t.addEventListener("focusin",e),()=>t.removeEventListener("focusin",e)},[t,r]),{onFocusCapture:()=>i.current=!0,onBlurCapture:()=>i.current=!1}}(e=>{let t=e.target;![...b.branches].some(e=>e.contains(t))&&(m?.(e),y?.(e),e.defaultPrevented||g?.())},R);return!function(e,t=globalThis?.document){let r=(0,a.useCallbackRef)(e);n.useEffect(()=>{let e=e=>{"Escape"===e.key&&r(e)};return t.addEventListener("keydown",e,{capture:!0}),()=>t.removeEventListener("keydown",e,{capture:!0})},[r,t])}(e=>{M===b.layers.size-1&&(p?.(e),!e.defaultPrevented&&g&&(e.preventDefault(),g()))},R),n.useEffect(()=>{if(w)return h&&(0===b.layersWithOutsidePointerEventsDisabled.size&&(t=R.body.style.pointerEvents,R.body.style.pointerEvents="none"),b.layersWithOutsidePointerEventsDisabled.add(w)),b.layers.add(w),d(),()=>{h&&1===b.layersWithOutsidePointerEventsDisabled.size&&(R.body.style.pointerEvents=t)}},[w,R,h,b]),n.useEffect(()=>()=>{w&&(b.layers.delete(w),b.layersWithOutsidePointerEventsDisabled.delete(w),d())},[w,b]),n.useEffect(()=>{let e=()=>k({});return document.addEventListener(u,e),()=>document.removeEventListener(u,e)}
1,[]),(0,s.jsx)(i.Primitive.div,{...E,ref:S,style:{pointerEvents:P?T?"auto":"none":void 0,...e.style},onFocusCapture:(0,r.composeEventHandlers)(e.onFocusCapture,_.onFocusCapture),onBlurCapture:(0,r.composeEventHandlers)(e.onBlurCapture,_.onBlurCapture),onPointerDownCapture:(0,r.composeEventHandlers)(e.onPointerDownCapture,N.onPointerDownCapture)})});function d(){let e=new CustomEvent(u);document.dispatchEvent(e)}function f(e,t,n,{discrete:r}){let o=n.originalEvent.target,a=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&o.addEventListener(e,t,{once:!0}),r?(0,i.dispatchDiscreteCustomEvent)(o,a):o.dispatchEvent(a)}c.displayName="DismissableLayer",n.forwardRef((e,t)=>{let r=n.useContext(l),a=n.useRef(null),u=(0,o.useComposedRefs)(t,a);return n.useEffect(()=>{let e=a.current;if(e)return r.branches.add(e),()=>{r.branches.delete(e)}},[r.branches]),(0,s.jsx)(i.Primitive.div,{...e,ref:u})}).displayName="DismissableLayerBranch",e.s(["DismissableLayer",()=>c],26330)},3536,e=>{"use strict";var t=e.i(71645),n=0;function r(){t.useEffect(()=>{let e=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",e[0]??i()),document.body.insertAdjacentElement("beforeend",e[1]??i()),n++,()=>{1===n&&document.querySelectorAll("[data-radix-focus-guard]").forEach(e=>e.remove()),n--}},[])}function i(){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}e.s(["useFocusGuards",()=>r])},65491,e=>{"use strict";let t;var n=e.i(71645),r=e.i(20783),i=e.i(48425),o=e.i(30207),a=e.i(43476),s="focusScope.autoFocusOnMount",u="focusScope.autoFocusOnUnmount",l={bubbles:!1,cancelable:!0},c=n.forwardRef((e,t)=>{let{loop:c=!1,trapped:v=!1,onMountAutoFocus:m,onUnmountAutoFocus:y,...g}=e,[E,b]=n.useState(null),w=(0,o.useCallbackRef)(m),C=(0,o.useCallbackRef)(y),R=n.useRef(null),k=(0,r.useComposedRefs)(t,e=>b(e)),S=n.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;n.useEffect(()=>{if(v){let e=function(e){if(S.paused||!E)return;let t=e.target;E.contains(t)?R.current=t:h(R.current,{select:!0})},t=function(e){if(S.paused||!E)return;let t=e.relatedTarget;null!==t&&(E.contains(t)||h(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&&h(E)});return E&&n.observe(E,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",e),document.removeEventListener("focusout",t),n.disconnect()}}},[v,E,S.paused]),n.useEffect(()=>{if(E){p.add(S);let e=document.activeElement;if(!E.contains(e)){let t=new CustomEvent(s,l);E.addEventListener(s,w),E.dispatchEvent(t),t.defaultPrevented||(function(e,{select:t=!1}={}){let n=document.activeElement;for(let r of e)if(h(r,{select:t}),document.activeElement!==n)return}(d(E).filter(e=>"A"!==e.tagName),{select:!0}),document.activeElement===e&&h(E))}return()=>{E.removeEventListener(s,w),setTimeout(()=>{let t=new CustomEvent(u,l);E.addEventListener(u,C),E.dispatchEvent(t),t.defaultPrevented||h(e??document.body,{select:!0}),E.removeEventListener(u,C),p.remove(S)},0)}}},[E,w,C,S]);let x=n.useCallback(e=>{if(!c&&!v||S.paused)return;let t="Tab"===e.key&&!e.altKey&&!e.ctrlKey&&!e.metaKey,n=document.activeElement;if(t&&n){var r;let t,i=e.currentTarget,[o,a]=[f(t=d(r=i),r),f(t.reverse(),r)];o&&a?e.shiftKey||n!==a?e.shiftKey&&n===o&&(e.preventDefault(),c&&h(a,{select:!0})):(e.preventDefault(),c&&h(o,{select:!0})):n===i&&e.preventDefault()}},[c,v,S.paused]);return(0,a.jsx)(i.Primitive.div,{tabIndex:-1,...g,ref:k,onKeyDown:x})});function d(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 f(e,t){for(let n of e)if(!function(e,{upTo:t}){if("hidden"===getComputedStyle(e).visibility)return!0;for(;e&&(void 0===t||e!==t);){if("none"===getComputedStyle(e).display)return!0;e=e.parentElement}return!1}(n,{upTo:t}))return n}function h(e,{select:t=!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()}}c.displayName="FocusScope";var p=(t=[],{add(e){let n=t[0];e!==n&&n?.pause(),(t=v(t,e)).unshift(e)},remove(e){t=v(t,e),t[0]?.resume()}});function v(e,t){let n=[...e],r=n.indexOf(t);return -1!==r&&n.splice(r,1),n}e.s(["FocusScope",()=>c])},10772,e=>{"use strict";var t=e.i(71645),n=e.i(34620),r=t[" useId ".trim().toString()]||(()=>void 0),i=0;function o(e){let[o,a]=t.useState(r());return(0,n.useLayoutEffect)(()=>{e||a(e=>e??String(i++))},[e]),e||(o?`radix-${o}`:"")}e.s(["useId",()=>o])},74606,e=>{"use strict";var t=e.i(71645),n=e.i(74080),r=e.i(48425),i=e.i(34620),o=e.i(43476),a=t.forwardRef((e,a)=>{let{container:s,...u}=e,[l,c]=t.useState(!1);(0,i.useLayoutEffect)(()=>c(!0),[]);let d=s||l&&globalThis?.document?.body;return d?n.default.createPortal((0,o.jsx)(r.Primitive.div,{...u,ref:a}),d):null});a.displayName="Portal",e.s(["Portal",()=>a])},86312,e=>{"use strict";var t=new WeakMap,n=new WeakMap,r={},i=0,o=function(e){return e&&(e.host||o(e.parentNode))},a=function(e,a,s,u){var l=(Array.isArray(e)?e:[e]).map(function(e){if(a.contains(e))return e;var t=o(e);return t&&a.contains(t)?t:(console.error("aria-hidden",e,"in not contained inside",a,". Doing nothing"),null)}).filter(function(e){return!!e});r[s]||(r[s]=new WeakMap);var c=r[s],d=[],f=new Set,h=new Set(l),p=function(e){!e||f.has(e)||(f.add(e),p(e.parentNode))};l.forEach(p);var v=function(e){!e||h.has(e)||Array.prototype.forEach.call(e.children,function(e){if(f.has(e))v(e);else try{var r=e.getAttribute(u),i=null!==r&&"false"!==r,o=(t.get(e)||0)+1,a=(c.get(e)||0)+1;t.set(e,o),c.set(e,a),d.push(e),1===o&&i&&n.set(e,!0),1===a&&e.setAttribute(s,"true"),i||e.setAttribute(u,"true")}catch(t){console.error("aria-hidden: cannot operate on ",e,t)}})};return v(a),f.clear(),i++,function(){d.forEach(function(e){var r=t.get(e)-1,i=c.get(e)-1;t.set(e,r),c.set(e,i),r||(n.has(e)||e.removeAttribute(u),n.delete(e)),i||e.removeAttribute(s)}),--i||(t=new WeakMap,t=new WeakMap,n=new WeakMap,r={})}},s=function(e,t,n){void 0===n&&(n="data-aria-hidden");var r=Array.from(Array.isArray(e)?e:[e]),i=t||("u"<typeof document?null:(Array.isArray(e)?e[0]:e).ownerDocument.body);return i?(r.push.apply(r,Array.from(i.querySelectorAll("[aria-live], script"))),a(r,i,n,"aria-hidden")):function(){return null}};e.s(["hideOthers",()=>s])},85369,e=>{"use strict";var t,n,r,i,o,a,s,u=e.i(90571),l=e.i(71645),c="right-scroll-bar-position",d="width-before-scroll-bar";function f(e,t){return"function"==typeof e?e(t):e&&(e.current=t),e}var h="u">typeof window?l.useLayoutEffect:l.useEffect,p=new WeakMap,v=(void 0===t&&(t={}),(void 0===n&&(n=function(e){return e}),r=[],i=!1,o={read:function(){if(i)throw Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return r.length?r[r.length-1]:null},useMedium:function(e){var t=n(e,i);return r.push(t),function(){r=r.filter(function(e){return e!==t})}},assignSyncMedium:function(e){for(i=!0;r.length;){var t=r;r=[],t.forEach(e)}r={push:function(t){return e(t)},filter:function(){return r}}},assignMedium:function(e){i=!0;var t=[];if(r.length){var n=r;
1r=[],n.forEach(e),t=r}var o=function(){var n=t;t=[],n.forEach(e)},a=function(){return Promise.resolve().then(o)};a(),r={push:function(e){t.push(e),a()},filter:function(e){return t=t.filter(e),r}}}}).options=(0,u.__assign)({async:!0,ssr:!1},t),o),m=function(){},y=l.forwardRef(function(e,t){var n,r,i,o,a=l.useRef(null),s=l.useState({onScrollCapture:m,onWheelCapture:m,onTouchMoveCapture:m}),c=s[0],d=s[1],y=e.forwardProps,g=e.children,E=e.className,b=e.removeScrollBar,w=e.enabled,C=e.shards,R=e.sideCar,k=e.noRelative,S=e.noIsolation,x=e.inert,A=e.allowPinchZoom,L=e.as,M=e.gapMode,P=(0,u.__rest)(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),T=(n=[a,t],r=function(e){return n.forEach(function(t){return f(t,e)})},(i=(0,l.useState)(function(){return{value:null,callback:r,facade:{get current(){return i.value},set current(value){var e=i.value;e!==value&&(i.value=value,i.callback(value,e))}}}})[0]).callback=r,o=i.facade,h(function(){var e=p.get(o);if(e){var t=new Set(e),r=new Set(n),i=o.current;t.forEach(function(e){r.has(e)||f(e,null)}),r.forEach(function(e){t.has(e)||f(e,i)})}p.set(o,n)},[n]),o),N=(0,u.__assign)((0,u.__assign)({},P),c);return l.createElement(l.Fragment,null,w&&l.createElement(R,{sideCar:v,removeScrollBar:b,shards:C,noRelative:k,noIsolation:S,inert:x,setCallbacks:d,allowPinchZoom:!!A,lockRef:a,gapMode:M}),y?l.cloneElement(l.Children.only(g),(0,u.__assign)((0,u.__assign)({},N),{ref:T})):l.createElement(void 0===L?"div":L,(0,u.__assign)({},N,{className:E,ref:T}),g))});y.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},y.classNames={fullWidth:d,zeroRight:c};var g=function(e){var t=e.sideCar,n=(0,u.__rest)(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,(0,u.__assign)({},n))};g.isSideCarExport=!0;var E=function(){var e=0,t=null;return{add:function(n){if(0==e&&(t=function(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=s||("u">typeof __webpack_nonce__?__webpack_nonce__:void 0);return t&&e.setAttribute("nonce",t),e}())){var r,i;(r=t).styleSheet?r.styleSheet.cssText=n:r.appendChild(document.createTextNode(n)),i=t,(document.head||document.getElementsByTagName("head")[0]).appendChild(i)}e++},remove:function(){--e||!t||(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},b=function(){var e=E();return function(t,n){l.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])}},w=function(){var e=b();return function(t){return e(t.styles,t.dynamic),null}},C={left:0,top:0,right:0,gap:0},R=function(e){return parseInt(e||"",10)||0},k=function(e){var t=window.getComputedStyle(document.body),n=t["padding"===e?"paddingLeft":"marginLeft"],r=t["padding"===e?"paddingTop":"marginTop"],i=t["padding"===e?"paddingRight":"marginRight"];return[R(n),R(r),R(i)]},S=function(e){if(void 0===e&&(e="margin"),"u"<typeof window)return C;var t=k(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])}},x=w(),A="data-scroll-locked",L=function(e,t,n,r){var i=e.left,o=e.top,a=e.right,s=e.gap;return void 0===n&&(n="margin"),"\n .".concat("with-scroll-bars-hidden"," {\n overflow: hidden ").concat(r,";\n padding-right: ").concat(s,"px ").concat(r,";\n }\n body[").concat(A,"] {\n overflow: hidden ").concat(r,";\n overscroll-behavior: contain;\n ").concat([t&&"position: relative ".concat(r,";"),"margin"===n&&"\n padding-left: ".concat(i,"px;\n padding-top: ").concat(o,"px;\n padding-right: ").concat(a,"px;\n margin-left:0;\n margin-top:0;\n margin-right: ").concat(s,"px ").concat(r,";\n "),"padding"===n&&"padding-right: ".concat(s,"px ").concat(r,";")].filter(Boolean).join(""),"\n }\n \n .").concat(c," {\n right: ").concat(s,"px ").concat(r,";\n }\n \n .").concat(d," {\n margin-right: ").concat(s,"px ").concat(r,";\n }\n \n .").concat(c," .").concat(c," {\n right: 0 ").concat(r,";\n }\n \n .").concat(d," .").concat(d," {\n margin-right: 0 ").concat(r,";\n }\n \n body[").concat(A,"] {\n ").concat("--removed-body-scroll-bar-size",": ").concat(s,"px;\n }\n")},M=function(){var e=parseInt(document.body.getAttribute(A)||"0",10);return isFinite(e)?e:0},P=function(){l.useEffect(function(){return document.body.setAttribute(A,(M()+1).toString()),function(){var e=M()-1;e<=0?document.body.removeAttribute(A):document.body.setAttribute(A,e.toString())}},[])},T=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,i=void 0===r?"margin":r;P();var o=l.useMemo(function(){return S(i)},[i]);return l.createElement(x,{styles:L(o,!t,i,n?"":"!important")})},N=!1;if("u">typeof window)try{var _=Object.defineProperty({},"passive",{get:function(){return N=!0,!0}});window.addEventListener("test",_,_),window.removeEventListener("test",_,_)}catch(e){N=!1}var O=!!N&&{passive:!1},D=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])},W=function(e,t){var n=t.ownerDocument,r=t;do{if("u">typeof ShadowRoot&&r instanceof ShadowRoot&&(r=r.host),F(e,r)){var i=I(e,r);if(i[1]>i[2])return!0}r=r.parentNode}while(r&&r!==n.body)return!1},F=function(e,t){return"v"===e?D(t,"overflowY"):D(t,"overflowX")},I=function(e,t){return"v"===e?[t.scrollTop,t.scrollHeight,t.clientHeight]:[t.scrollLeft,t.scrollWidth,t.clientWidth]},z=function(e,t,n,r,i){var o,a=(o=window.getComputedStyle(t).direction,"h"===e&&"rtl"===o?-1:1),s=a*r,u=n.target,l=t.contains(u),c=!1,d=s>0,f=0,h=0;
1do{if(!u)break;var p=I(e,u),v=p[0],m=p[1]-p[2]-a*v;(v||m)&&F(e,u)&&(f+=m,h+=v);var y=u.parentNode;u=y&&y.nodeType===Node.DOCUMENT_FRAGMENT_NODE?y.host:y}while(!l&&u!==document.body||l&&(t.contains(u)||t===u))return d&&(i&&1>Math.abs(f)||!i&&s>f)?c=!0:!d&&(i&&1>Math.abs(h)||!i&&-s>h)&&(c=!0),c},B=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},j=function(e){return[e.deltaX,e.deltaY]},K=function(e){return e&&"current"in e?e.current:e},H=0,X=[];let Y=(a=function(e){var t=l.useRef([]),n=l.useRef([0,0]),r=l.useRef(),i=l.useState(H++)[0],o=l.useState(w)[0],a=l.useRef(e);l.useEffect(function(){a.current=e},[e]),l.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(i));var t=(0,u.__spreadArray)([e.lockRef.current],(e.shards||[]).map(K),!0).filter(Boolean);return t.forEach(function(e){return e.classList.add("allow-interactivity-".concat(i))}),function(){document.body.classList.remove("block-interactivity-".concat(i)),t.forEach(function(e){return e.classList.remove("allow-interactivity-".concat(i))})}}},[e.inert,e.lockRef.current,e.shards]);var s=l.useCallback(function(e,t){if("touches"in e&&2===e.touches.length||"wheel"===e.type&&e.ctrlKey)return!a.current.allowPinchZoom;var i,o=B(e),s=n.current,u="deltaX"in e?e.deltaX:s[0]-o[0],l="deltaY"in e?e.deltaY:s[1]-o[1],c=e.target,d=Math.abs(u)>Math.abs(l)?"h":"v";if("touches"in e&&"h"===d&&"range"===c.type)return!1;var f=W(d,c);if(!f)return!0;if(f?i=d:(i="v"===d?"h":"v",f=W(d,c)),!f)return!1;if(!r.current&&"changedTouches"in e&&(u||l)&&(r.current=i),!i)return!0;var h=r.current||i;return z(h,t,e,"h"===h?u:l,!0)},[]),c=l.useCallback(function(e){if(X.length&&X[X.length-1]===o){var n="deltaY"in e?j(e):B(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 i=(a.current.shards||[]).map(K).filter(Boolean).filter(function(t){return t.contains(e.target)});(i.length>0?s(e,i[0]):!a.current.noIsolation)&&e.cancelable&&e.preventDefault()}}},[]),d=l.useCallback(function(e,n,r,i){var o={name:e,delta:n,target:r,should:i,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(o),setTimeout(function(){t.current=t.current.filter(function(e){return e!==o})},1)},[]),f=l.useCallback(function(e){n.current=B(e),r.current=void 0},[]),h=l.useCallback(function(t){d(t.type,j(t),t.target,s(t,e.lockRef.current))},[]),p=l.useCallback(function(t){d(t.type,B(t),t.target,s(t,e.lockRef.current))},[]);l.useEffect(function(){return X.push(o),e.setCallbacks({onScrollCapture:h,onWheelCapture:h,onTouchMoveCapture:p}),document.addEventListener("wheel",c,O),document.addEventListener("touchmove",c,O),document.addEventListener("touchstart",f,O),function(){X=X.filter(function(e){return e!==o}),document.removeEventListener("wheel",c,O),document.removeEventListener("touchmove",c,O),document.removeEventListener("touchstart",f,O)}},[]);var v=e.removeScrollBar,m=e.inert;return l.createElement(l.Fragment,null,m?l.createElement(o,{styles:"\n .block-interactivity-".concat(i," {pointer-events: none;}\n .allow-interactivity-").concat(i," {pointer-events: all;}\n")}):null,v?l.createElement(T,{noRelative:e.noRelative,gapMode:e.gapMode}):null)},v.useMedium(a),g);var U=l.forwardRef(function(e,t){return l.createElement(y,(0,u.__assign)({},e,{ref:t,sideCar:Y}))});U.classNames=y.classNames,e.s(["RemoveScroll",0,U],85369)}]);
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.