1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,326999,e=>{"use strict";var t=e.i(271645),n=e.i(981140),r=e.i(820783),o=e.i(30030),a=e.i(610772),i=e.i(369340),l=e.i(726330),c=e.i(765491),s=e.i(774606),u=e.i(296626),d=e.i(248425),f=e.i(303536),p=e.i(985369),m=e.i(186312),v=e.i(991918),g=e.i(843476),h="Dialog",[y,E]=(0,o.createContextScope)(h),[b,w]=y(h),C=e=>{let{__scopeDialog:n,children:r,open:o,defaultOpen:l,onOpenChange:c,modal:s=!0}=e,u=t.useRef(null),d=t.useRef(null),[f,p]=(0,i.useControllableState)({prop:o,defaultProp:l??!1,onChange:c,caller:h});return(0,g.jsx)(b,{scope:n,triggerRef:u,contentRef:d,contentId:(0,a.useId)(),titleId:(0,a.useId)(),descriptionId:(0,a.useId)(),open:f,onOpenChange:p,onOpenToggle:t.useCallback(()=>p(e=>!e),[p]),modal:s,children:r})};C.displayName=h;var D="DialogTrigger",R=t.forwardRef((e,t)=>{let{__scopeDialog:o,...a}=e,i=w(D,o),l=(0,r.useComposedRefs)(t,i.triggerRef);return(0,g.jsx)(d.Primitive.button,{type:"button","aria-haspopup":"dialog","aria-expanded":i.open,"aria-controls":i.contentId,"data-state":U(i.open),...a,ref:l,onClick:(0,n.composeEventHandlers)(e.onClick,i.onOpenToggle)})});R.displayName=D;var N="DialogPortal",[S,x]=y(N,{forceMount:void 0}),P=e=>{let{__scopeDialog:n,forceMount:r,children:o,container:a}=e,i=w(N,n);return(0,g.jsx)(S,{scope:n,forceMount:r,children:t.Children.map(o,e=>(0,g.jsx)(u.Presence,{present:r||i.open,children:(0,g.jsx)(s.Portal,{asChild:!0,container:a,children:e})}))})};P.displayName=N;var T="DialogOverlay",_=t.forwardRef((e,t)=>{let n=x(T,e.__scopeDialog),{forceMount:r=n.forceMount,...o}=e,a=w(T,e.__scopeDialog);return a.modal?(0,g.jsx)(u.Presence,{present:r||a.open,children:(0,g.jsx)(k,{...o,ref:t})}):null});_.displayName=T;var A=(0,v.createSlot)("DialogOverlay.RemoveScroll"),k=t.forwardRef((e,t)=>{let{__scopeDialog:n,...r}=e,o=w(T,n);return(0,g.jsx)(p.RemoveScroll,{as:A,allowPinchZoom:!0,shards:[o.contentRef],children:(0,g.jsx)(d.Primitive.div,{"data-state":U(o.open),...r,ref:t,style:{pointerEvents:"auto",...r.style}})})}),M="DialogContent",I=t.forwardRef((e,t)=>{let n=x(M,e.__scopeDialog),{forceMount:r=n.forceMount,...o}=e,a=w(M,e.__scopeDialog);return(0,g.jsx)(u.Presence,{present:r||a.open,children:a.modal?(0,g.jsx)(F,{...o,ref:t}):(0,g.jsx)(O,{...o,ref:t})})});I.displayName=M;var F=t.forwardRef((e,o)=>{let a=w(M,e.__scopeDialog),i=t.useRef(null),l=(0,r.useComposedRefs)(o,a.contentRef,i);return t.useEffect(()=>{let e=i.current;if(e)return(0,m.hideOthers)(e)},[]),(0,g.jsx)(j,{...e,ref:l,trapFocus:a.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:(0,n.composeEventHandlers)(e.onCloseAutoFocus,e=>{e.preventDefault(),a.triggerRef.current?.focus()}),onPointerDownOutside:(0,n.composeEventHandlers)(e.onPointerDownOutside,e=>{let t=e.detail.originalEvent,n=0===t.button&&!0===t.ctrlKey;(2===t.button||n)&&e.preventDefault()}),onFocusOutside:(0,n.composeEventHandlers)(e.onFocusOutside,e=>e.preventDefault())})}),O=t.forwardRef((e,n)=>{let r=w(M,e.__scopeDialog),o=t.useRef(!1),a=t.useRef(!1);return(0,g.jsx)(j,{...e,ref:n,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:t=>{e.onCloseAutoFocus?.(t),t.defaultPrevented||(o.current||r.triggerRef.current?.focus(),t.preventDefault()),o.current=!1,a.current=!1},onInteractOutside:t=>{e.onInteractOutside?.(t),t.defaultPrevented||(o.current=!0,"pointerdown"===t.detail.originalEvent.type&&(a.current=!0));let n=t.target;r.triggerRef.current?.contains(n)&&t.preventDefault(),"focusin"===t.detail.originalEvent.type&&a.current&&t.preventDefault()}})}),j=t.forwardRef((e,n)=>{let{__scopeDialog:o,trapFocus:a,onOpenAutoFocus:i,onCloseAutoFocus:s,...u}=e,d=w(M,o),p=t.useRef(null),m=(0,r.useComposedRefs)(n,p);return(0,f.useFocusGuards)(),(0,g.jsxs)(g.Fragment,{children:[(0,g.jsx)(c.FocusScope,{asChild:!0,loop:!0,trapped:a,onMountAutoFocus:i,onUnmountAutoFocus:s,children:(0,g.jsx)(l.DismissableLayer,{role:"dialog",id:d.contentId,"aria-describedby":d.descriptionId,"aria-labelledby":d.titleId,"data-state":U(d.open),...u,ref:m,onDismiss:()=>d.onOpenChange(!1)})}),(0,g.jsxs)(g.Fragment,{children:[(0,g.jsx)(z,{titleId:d.titleId}),(0,g.jsx)(Z,{contentRef:p,descriptionId:d.descriptionId})]})]})}),L="DialogTitle",W=t.forwardRef((e,t)=>
1{let{__scopeDialog:n,...r}=e,o=w(L,n);return(0,g.jsx)(d.Primitive.h2,{id:o.titleId,...r,ref:t})});W.displayName=L;var B="DialogDescription",K=t.forwardRef((e,t)=>{let{__scopeDialog:n,...r}=e,o=w(B,n);return(0,g.jsx)(d.Primitive.p,{id:o.descriptionId,...r,ref:t})});K.displayName=B;var H="DialogClose",q=t.forwardRef((e,t)=>{let{__scopeDialog:r,...o}=e,a=w(H,r);return(0,g.jsx)(d.Primitive.button,{type:"button",...o,ref:t,onClick:(0,n.composeEventHandlers)(e.onClick,()=>a.onOpenChange(!1))})});function U(e){return e?"open":"closed"}q.displayName=H;var X="DialogTitleWarning",[Y,$]=(0,o.createContext)(X,{contentName:M,titleName:L,docsSlug:"dialog"}),z=({titleId:e})=>{let n=$(X),r=`\`${n.contentName}\` requires a \`${n.titleName}\` for the component to be accessible for screen reader users. 2 3If you want to hide the \`${n.titleName}\`, you can wrap it with our VisuallyHidden component. 4 5For more information, see https://radix-ui.com/primitives/docs/components/${n.docsSlug}`;return t.useEffect(()=>{e&&(document.getElementById(e)||console.error(r))},[r,e]),null},Z=({contentRef:e,descriptionId:n})=>{let r=$("DialogDescriptionWarning"),o=`Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${r.contentName}}.`;return t.useEffect(()=>{let t=e.current?.getAttribute("aria-describedby");n&&t&&(document.getElementById(n)||console.warn(o))},[o,e,n]),null};e.s(["Close",0,q,"Content",0,I,"Description",0,K,"Dialog",0,C,"DialogClose",0,q,"DialogContent",0,I,"DialogDescription",0,K,"DialogOverlay",0,_,"DialogPortal",0,P,"DialogTitle",0,W,"DialogTrigger",0,R,"Overlay",0,_,"Portal",0,P,"Root",0,C,"Title",0,W,"Trigger",0,R,"WarningProvider",0,Y,"createDialogScope",0,E])},964053,e=>{"use strict";var t=e.i(326999);e.s(["Dialog",0,t])},303536,e=>{"use strict";var t=e.i(271645),n=0;function r(){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",0,function(){t.useEffect(()=>{let e=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",e[0]??r()),document.body.insertAdjacentElement("beforeend",e[1]??r()),n++,()=>{1===n&&document.querySelectorAll("[data-radix-focus-guard]").forEach(e=>e.remove()),n--}},[])}])},765491,e=>{"use strict";let t;var n=e.i(271645),r=e.i(820783),o=e.i(248425),a=e.i(30207),i=e.i(843476),l="focusScope.autoFocusOnMount",c="focusScope.autoFocusOnUnmount",s={bubbles:!1,cancelable:!0},u=n.forwardRef((e,t)=>{let{loop:u=!1,trapped:v=!1,onMountAutoFocus:g,onUnmountAutoFocus:h,...y}=e,[E,b]=n.useState(null),w=(0,a.useCallbackRef)(g),C=(0,a.useCallbackRef)(h),D=n.useRef(null),R=(0,r.useComposedRefs)(t,e=>b(e)),N=n.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;n.useEffect(()=>{if(v){let e=function(e){if(N.paused||!E)return;let t=e.target;E.contains(t)?D.current=t:p(D.current,{select:!0})},t=function(e){if(N.paused||!E)return;let t=e.relatedTarget;null!==t&&(E.contains(t)||p(D.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&&p(E)});return E&&n.observe(E,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",e),document.removeEventListener("focusout",t),n.disconnect()}}},[v,E,N.paused]),n.useEffect(()=>{if(E){m.add(N);let e=document.activeElement;if(!E.contains(e)){let t=new CustomEvent(l,s);E.addEventListener(l,w),E.dispatchEvent(t),t.defaultPrevented||(function(e,{select:t=!1}={}){let n=document.activeElement;for(let r of e)if(p(r,{select:t}),document.activeElement!==n)return}(d(E).filter(e=>"A"!==e.tagName),{select:!0}),document.activeElement===e&&p(E))}return()=>{E.removeEventListener(l,w),setTimeout(()=>{let t=new CustomEvent(c,s);E.addEventListener(c,C),E.dispatchEvent(t),t.defaultPrevented||p(e??document.body,{select:!0}),E.removeEventListener(c,C),m.remove(N)},0)}}},[E,w,C,N]);let S=n.useCallback(e=>{if(!u&&!v||N.paused)return;let t="Tab"===e.key&&!e.altKey&&!e.ctrlKey&&!e.metaKey,n=document.activeElement;if(t&&n){var r;let t,o=e.currentTarget,[a,i]=[f(t=d(r=o),r),f(t.reverse(),r)];a&&i?e.shiftKey||n!==i?e.shiftKey&&n===a&&(e.preventDefault(),u&&p(i,{select:!0})):(e.preventDefault(),u&&p(a,{select:!0})):n===o&&e.preventDefault()}},[u,v,N.paused]);return(0,i.jsx)(o.Primitive.div,{tabIndex:-1,...y,ref:R,onKeyDown:S})});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 p(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()}}
5u.displayName="FocusScope";var m=(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",0,u])},205951,e=>{"use strict";var t=e.i(271645),n=e.i(343794),r=e.i(964053),o=e.i(291825),a=e.i(723451),i=e.i(383024),l=e.i(174547),c=e.i(513216),s=e.i(813932);let u=e=>t.createElement(r.Dialog.Root,{...e,modal:!0});u.displayName="Dialog.Root";let d=t.forwardRef(({children:e,...n},o)=>t.createElement(r.Dialog.Trigger,{...n,ref:o,asChild:!0},(0,s.requireReactElement)(e)));d.displayName="Dialog.Trigger";let f=t.forwardRef(({align:e,...a},i)=>{let{align:s,...u}=o.dialogContentPropDefs,{className:d}=(0,c.extractProps)({align:e},{align:s}),{className:f,forceMount:p,container:m,...v}=(0,c.extractProps)(a,u);return t.createElement(r.Dialog.Portal,{container:m,forceMount:p},t.createElement(l.Theme,{asChild:!0},t.createElement(r.Dialog.Overlay,{className:"rt-BaseDialogOverlay rt-DialogOverlay"},t.createElement("div",{className:"rt-BaseDialogScroll rt-DialogScroll"},t.createElement("div",{className:`rt-BaseDialogScrollPadding rt-DialogScrollPadding ${d}`},t.createElement(r.Dialog.Content,{...v,ref:i,className:(0,n.default)("rt-BaseDialogContent","rt-DialogContent",f)}))))))});f.displayName="Dialog.Content";let p=t.forwardRef((e,n)=>t.createElement(r.Dialog.Title,{asChild:!0},t.createElement(a.Heading,{size:"5",mb:"3",trim:"start",...e,asChild:!1,ref:n})));p.displayName="Dialog.Title";let m=t.forwardRef((e,n)=>t.createElement(r.Dialog.Description,{asChild:!0},t.createElement(i.Text,{as:"p",size:"3",...e,asChild:!1,ref:n})));m.displayName="Dialog.Description";let v=t.forwardRef(({children:e,...n},o)=>t.createElement(r.Dialog.Close,{...n,ref:o,asChild:!0},(0,s.requireReactElement)(e)));v.displayName="Dialog.Close",e.s(["Close",0,v,"Content",0,f,"Description",0,m,"Root",0,u,"Title",0,p,"Trigger",0,d],774202);var g=e.i(774202);e.s(["Dialog",0,g],205951)},291825,e=>{"use strict";var t=e.i(214554),n=e.i(846160),r=e.i(848965);let o={...t.asChildPropDef,align:{type:"enum",className:"rt-r-align",values:["start","center"],default:"center"},size:{type:"enum",className:"rt-r-size",values:["1","2","3","4"],default:"3",responsive:!0},width:n.widthPropDefs.width,minWidth:n.widthPropDefs.minWidth,maxWidth:{...n.widthPropDefs.maxWidth,default:"600px"},...r.heightPropDefs};e.s(["dialogContentPropDefs",0,o])},813932,e=>{"use strict";var t=e.i(271645);e.s(["requireReactElement",0,e=>{if(!t.isValidElement(e))throw Error(`Expected a single React Element child, but got: ${t.Children.toArray(e).map(e=>"object"==typeof e&&"type"in e&&"string"==typeof e.type?e.type:typeof e).join(", ")}`);return e}])},186312,e=>{"use strict";var t=new WeakMap,n=new WeakMap,r={},o=0,a=function(e){return e&&(e.host||a(e.parentNode))},i=function(e,i,l,c){var s=(Array.isArray(e)?e:[e]).map(function(e){if(i.contains(e))return e;var t=a(e);return t&&i.contains(t)?t:(console.error("aria-hidden",e,"in not contained inside",i,". Doing nothing"),null)}).filter(function(e){return!!e});r[l]||(r[l]=new WeakMap);var u=r[l],d=[],f=new Set,p=new Set(s),m=function(e){!e||f.has(e)||(f.add(e),m(e.parentNode))};s.forEach(m);var v=function(e){!e||p.has(e)||Array.prototype.forEach.call(e.children,function(e){if(f.has(e))v(e);else try{var r=e.getAttribute(c),o=null!==r&&"false"!==r,a=(t.get(e)||0)+1,i=(u.get(e)||0)+1;t.set(e,a),u.set(e,i),d.push(e),1===a&&o&&n.set(e,!0),1===i&&e.setAttribute(l,"true"),o||e.setAttribute(c,"true")}catch(t){console.error("aria-hidden: cannot operate on ",e,t)}})};return v(i),f.clear(),o++,function(){d.forEach(function(e){var r=t.get(e)-1,o=u.get(e)-1;t.set(e,r),u.set(e,o),r||(n.has(e)||e.removeAttribute(c),n.delete(e)),o||e.removeAttribute(l)}),--o||(t=new WeakMap,t=new WeakMap,n=new WeakMap,r={})}};e.s(["hideOthers",0,function(e,t,n){void 0===n&&(n="data-aria-hidden");var r=Array.from(Array.isArray(e)?e:[e]),o=t||("u"<typeof document?null:(Array.isArray(e)?e[0]:e).ownerDocument.body);return o?(r.push.apply(r,Array.from(o.querySelectorAll("[aria-live]"))),i(r,o,n,"aria-hidden")):function(){return null}}])},985369,e=>{"use strict";var t,n,r,o,a,i,l,c=e.i(290571),s=e.i(271645),u="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 p="u">typeof window?s.useLayoutEffect:s.useEffect,m=new WeakMap,v=(void 0===t&&(t={}),(void 0===n&&(n=function(e){return e}),r=[],o=!1,a={read:function(){if(o)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,o);return r.push(t),function(){r=r.filter(function(e){return e!==t})}},assignSyncMedium:function(e){for(o=!0;r.length;){var t=r;r=[],t.forEach(e)}r={push:function(t){return e(t)},filter:function(){return r}}},assignMedium:function(e){o=!0;var t=[];if(r.length){var n=r;
5r=[],n.forEach(e),t=r}var a=function(){var n=t;t=[],n.forEach(e)},i=function(){return Promise.resolve().then(a)};i(),r={push:function(e){t.push(e),i()},filter:function(e){return t=t.filter(e),r}}}}).options=(0,c.__assign)({async:!0,ssr:!1},t),a),g=function(){},h=s.forwardRef(function(e,t){var n,r,o,a,i=s.useRef(null),l=s.useState({onScrollCapture:g,onWheelCapture:g,onTouchMoveCapture:g}),u=l[0],d=l[1],h=e.forwardProps,y=e.children,E=e.className,b=e.removeScrollBar,w=e.enabled,C=e.shards,D=e.sideCar,R=e.noRelative,N=e.noIsolation,S=e.inert,x=e.allowPinchZoom,P=e.as,T=e.gapMode,_=(0,c.__rest)(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),A=(n=[i,t],r=function(e){return n.forEach(function(t){return f(t,e)})},(o=(0,s.useState)(function(){return{value:null,callback:r,facade:{get current(){return o.value},set current(value){var e=o.value;e!==value&&(o.value=value,o.callback(value,e))}}}})[0]).callback=r,a=o.facade,p(function(){var e=m.get(a);if(e){var t=new Set(e),r=new Set(n),o=a.current;t.forEach(function(e){r.has(e)||f(e,null)}),r.forEach(function(e){t.has(e)||f(e,o)})}m.set(a,n)},[n]),a),k=(0,c.__assign)((0,c.__assign)({},_),u);return s.createElement(s.Fragment,null,w&&s.createElement(D,{sideCar:v,removeScrollBar:b,shards:C,noRelative:R,noIsolation:N,inert:S,setCallbacks:d,allowPinchZoom:!!x,lockRef:i,gapMode:T}),h?s.cloneElement(s.Children.only(y),(0,c.__assign)((0,c.__assign)({},k),{ref:A})):s.createElement(void 0===P?"div":P,(0,c.__assign)({},k,{className:E,ref:A}),y))});h.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},h.classNames={fullWidth:d,zeroRight:u};var y=function(e){var t=e.sideCar,n=(0,c.__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 s.createElement(r,(0,c.__assign)({},n))};y.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=l||("u">typeof __webpack_nonce__?__webpack_nonce__:void 0);return t&&e.setAttribute("nonce",t),e}())){var r,o;(r=t).styleSheet?r.styleSheet.cssText=n:r.appendChild(document.createTextNode(n)),o=t,(document.head||document.getElementsByTagName("head")[0]).appendChild(o)}e++},remove:function(){--e||!t||(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},b=function(){var e=E();return function(t,n){s.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},D=function(e){return parseInt(e||"",10)||0},R=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[D(n),D(r),D(o)]},N=function(e){if(void 0===e&&(e="margin"),"u"<typeof window)return C;var t=R(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=w(),x="data-scroll-locked",P=function(e,t,n,r){var o=e.left,a=e.top,i=e.right,l=e.gap;return void 0===n&&(n="margin"),"\n .".concat("with-scroll-bars-hidden"," {\n overflow: hidden ").concat(r,";\n padding-right: ").concat(l,"px ").concat(r,";\n }\n body[").concat(x,"] {\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(l,"px ").concat(r,";\n "),"padding"===n&&"padding-right: ".concat(l,"px ").concat(r,";")].filter(Boolean).join(""),"\n }\n \n .").concat(u," {\n right: ").concat(l,"px ").concat(r,";\n }\n \n .").concat(d," {\n margin-right: ").concat(l,"px ").concat(r,";\n }\n \n .").concat(u," .").concat(u," {\n right: 0 ").concat(r,";\n }\n \n .").concat(d," .").concat(d," {\n margin-right: 0 ").concat(r,";\n }\n \n body[").concat(x,"] {\n ").concat("--removed-body-scroll-bar-size",": ").concat(l,"px;\n }\n")},T=function(){var e=parseInt(document.body.getAttribute(x)||"0",10);return isFinite(e)?e:0},_=function(){s.useEffect(function(){return document.body.setAttribute(x,(T()+1).toString()),function(){var e=T()-1;e<=0?document.body.removeAttribute(x):document.body.setAttribute(x,e.toString())}},[])},A=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,o=void 0===r?"margin":r;_();var a=s.useMemo(function(){return N(o)},[o]);return s.createElement(S,{styles:P(a,!t,o,n?"":"!important")})},k=!1;if("u">typeof window)try{var M=Object.defineProperty({},"passive",{get:function(){return k=!0,!0}});window.addEventListener("test",M,M),window.removeEventListener("test",M,M)}catch(e){k=!1}var I=!!k&&{passive:!1},F=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])},O=function(e,t){var n=t.ownerDocument,r=t;do{if("u">typeof ShadowRoot&&r instanceof ShadowRoot&&(r=r.host),j(e,r)){var o=L(e,r);if(o[1]>o[2])return!0}r=r.parentNode}while(r&&r!==n.body)return!1},j=function(e,t){return"v"===e?F(t,"overflowY"):F(t,"overflowX")},L=function(e,t){return"v"===e?[t.scrollTop,t.scrollHeight,t.clientHeight]:[t.scrollLeft,t.scrollWidth,t.clientWidth]},W=function(e,t,n,r,o){var a,i=(a=window.getComputedStyle(t).direction,"h"===e&&"rtl"===a?-1:1),l=i*r,c=n.target,s=t.contains(c),u=!1,d=l>0,f=0,p=0;
5do{if(!c)break;var m=L(e,c),v=m[0],g=m[1]-m[2]-i*v;(v||g)&&j(e,c)&&(f+=g,p+=v);var h=c.parentNode;c=h&&h.nodeType===Node.DOCUMENT_FRAGMENT_NODE?h.host:h}while(!s&&c!==document.body||s&&(t.contains(c)||t===c))return d&&(o&&1>Math.abs(f)||!o&&l>f)?u=!0:!d&&(o&&1>Math.abs(p)||!o&&-l>p)&&(u=!0),u},B=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},K=function(e){return[e.deltaX,e.deltaY]},H=function(e){return e&&"current"in e?e.current:e},q=0,U=[];let X=(i=function(e){var t=s.useRef([]),n=s.useRef([0,0]),r=s.useRef(),o=s.useState(q++)[0],a=s.useState(w)[0],i=s.useRef(e);s.useEffect(function(){i.current=e},[e]),s.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(o));var t=(0,c.__spreadArray)([e.lockRef.current],(e.shards||[]).map(H),!0).filter(Boolean);return t.forEach(function(e){return e.classList.add("allow-interactivity-".concat(o))}),function(){document.body.classList.remove("block-interactivity-".concat(o)),t.forEach(function(e){return e.classList.remove("allow-interactivity-".concat(o))})}}},[e.inert,e.lockRef.current,e.shards]);var l=s.useCallback(function(e,t){if("touches"in e&&2===e.touches.length||"wheel"===e.type&&e.ctrlKey)return!i.current.allowPinchZoom;var o,a=B(e),l=n.current,c="deltaX"in e?e.deltaX:l[0]-a[0],s="deltaY"in e?e.deltaY:l[1]-a[1],u=e.target,d=Math.abs(c)>Math.abs(s)?"h":"v";if("touches"in e&&"h"===d&&"range"===u.type)return!1;var f=O(d,u);if(!f)return!0;if(f?o=d:(o="v"===d?"h":"v",f=O(d,u)),!f)return!1;if(!r.current&&"changedTouches"in e&&(c||s)&&(r.current=o),!o)return!0;var p=r.current||o;return W(p,t,e,"h"===p?c:s,!0)},[]),u=s.useCallback(function(e){if(U.length&&U[U.length-1]===a){var n="deltaY"in e?K(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 o=(i.current.shards||[]).map(H).filter(Boolean).filter(function(t){return t.contains(e.target)});(o.length>0?l(e,o[0]):!i.current.noIsolation)&&e.cancelable&&e.preventDefault()}}},[]),d=s.useCallback(function(e,n,r,o){var a={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(a),setTimeout(function(){t.current=t.current.filter(function(e){return e!==a})},1)},[]),f=s.useCallback(function(e){n.current=B(e),r.current=void 0},[]),p=s.useCallback(function(t){d(t.type,K(t),t.target,l(t,e.lockRef.current))},[]),m=s.useCallback(function(t){d(t.type,B(t),t.target,l(t,e.lockRef.current))},[]);s.useEffect(function(){return U.push(a),e.setCallbacks({onScrollCapture:p,onWheelCapture:p,onTouchMoveCapture:m}),document.addEventListener("wheel",u,I),document.addEventListener("touchmove",u,I),document.addEventListener("touchstart",f,I),function(){U=U.filter(function(e){return e!==a}),document.removeEventListener("wheel",u,I),document.removeEventListener("touchmove",u,I),document.removeEventListener("touchstart",f,I)}},[]);var v=e.removeScrollBar,g=e.inert;return s.createElement(s.Fragment,null,g?s.createElement(a,{styles:"\n .block-interactivity-".concat(o," {pointer-events: none;}\n .allow-interactivity-").concat(o," {pointer-events: all;}\n")}):null,v?s.createElement(A,{noRelative:e.noRelative,gapMode:e.gapMode}):null)},v.useMedium(i),y);var Y=s.forwardRef(function(e,t){return s.createElement(h,(0,c.__assign)({},e,{ref:t,sideCar:X}))});Y.classNames=h.classNames,e.s(["RemoveScroll",0,Y],985369)}]);
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.