1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="eb284ad2-7d7a-4c89-914e-5e19757d8b68",e._sentryDebugIdIdentifier="sentry-dbid-eb284ad2-7d7a-4c89-914e-5e19757d8b68")}catch(e){}}();"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3012],{3012:(e,t,n)=>{n.d(t,{bm:()=>en,UC:()=>Q,VY:()=>et,hJ:()=>J,ZL:()=>G,bL:()=>$,hE:()=>ee});var r=n(7620),o=n(47231),a=n(61715),i=n(54568),u=n(1679),c=n(54111),l=n(84281),s=n(7886),d=n(79761),f=n(48787);n(97509);var p=n(46118),v=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,t)=>{let n=(0,p.TL)("Primitive.".concat(t)),o=r.forwardRef((e,r)=>{let{asChild:o,...a}=e;return"undefined"!=typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,i.jsx)(o?n:t,{...a,ref:r})});return o.displayName="Primitive.".concat(t),{...e,[t]:o}},{}),m=n(26419),h=n(72413),g=n(9702),y="Dialog",[b,w]=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=[],o=()=>{let t=n.map(e=>r.createContext(e));return function(n){let o=(null==n?void 0:n[e])||t;return r.useMemo(()=>({["__scope".concat(e)]:{...n,[e]:o}}),[n,o])}};return o.scopeName=e,[function(t,o){let a=r.createContext(o),u=n.length;n=[...n,o];let c=t=>{var n;let{scope:o,children:c,...l}=t,s=(null==o||null==(n=o[e])?void 0:n[u])||a,d=r.useMemo(()=>l,Object.values(l));return(0,i.jsx)(s.Provider,{value:d,children:c})};return c.displayName=t+"Provider",[c,function(n,i){var c;let l=(null==i||null==(c=i[e])?void 0:c[u])||a,s=r.useContext(l);if(s)return s;if(void 0!==o)return o;throw Error("`".concat(n,"` must be used within `").concat(t,"`"))}]},function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];let o=t[0];if(1===t.length)return o;let a=()=>{let e=t.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(t){let n=e.reduce((e,n)=>{let{useScope:r,scopeName:o}=n,a=r(t)["__scope".concat(o)];return{...e,...a}},{});return r.useMemo(()=>({["__scope".concat(o.scopeName)]:n}),[n])}};return a.scopeName=o.scopeName,a}(o,...t)]}(y),[E,C]=b(y),x=e=>{let{__scopeDialog:t,children:n,open:o,defaultOpen:a,onOpenChange:l,modal:s=!0}=e,d=r.useRef(null),f=r.useRef(null),[p,v]=(0,c.i)({prop:o,defaultProp:null!=a&&a,onChange:l,caller:y});return(0,i.jsx)(E,{scope:t,triggerRef:d,contentRef:f,contentId:(0,u.B)(),titleId:(0,u.B)(),descriptionId:(0,u.B)(),open:p,onOpenChange:v,onOpenToggle:r.useCallback(()=>v(e=>!e),[v]),modal:s,children:n})};x.displayName=y;var N="DialogTrigger";r.forwardRef((e,t)=>{let{__scopeDialog:n,...r}=e,u=C(N,n),c=(0,a.s)(t,u.triggerRef);return(0,i.jsx)(v.button,{type:"button","aria-haspopup":"dialog","aria-expanded":u.open,"aria-controls":u.contentId,"data-state":X(u.open),...r,ref:c,onClick:(0,o.mK)(e.onClick,u.onOpenToggle)})}).displayName=N;var R="DialogPortal",[_,S]=b(R,{forceMount:void 0}),D=e=>{let{__scopeDialog:t,forceMount:n,children:o,container:a}=e,u=C(R,t);return(0,i.jsx)(_,{scope:t,forceMount:n,children:r.Children.map(o,e=>(0,i.jsx)(f.C,{present:n||u.open,children:(0,i.jsx)(d.Z,{asChild:!0,container:a,children:e})}))})};D.displayName=R;var A="DialogOverlay",M=r.forwardRef((e,t)=>{let n=S(A,e.__scopeDialog),{forceMount:r=n.forceMount,...o}=e,a=C(A,e.__scopeDialog);return a.modal?(0,i.jsx)(f.C,{present:r||a.open,children:(0,i.jsx)(T,{...o,ref:t})}):null});M.displayName=A;var k=(0,p.TL)("DialogOverlay.RemoveScroll"),T=r.forwardRef((e,t)=>{let{__scopeDialog:n,...r}=e,o=C(A,n);return(0,i.jsx)(h.A,{as:k,allowPinchZoom:!0,shards:[o.contentRef],children:(0,i.jsx)(v.div,{"data-state":X(o.open),...r,ref:t,style:{pointerEvents:"auto",...r.style}})})}),I="DialogContent",L=r.forwardRef((e,t)=>{let n=S(I,e.__scopeDialog),{forceMount:r=n.forceMount,...o}=e,a=C(I,e.__scopeDialog);return(0,i.jsx)(f.C,{present:r||a.open,children:a.modal?(0,i.jsx)(j,{...o,ref:t}):(0,i.jsx)(P,{...o,ref:t})})});L.displayName=I;var j=r.forwardRef((e,t)=>{let n=C(I,e.__scopeDialog),u=r.useRef(null),c=(0,a.s)(t,n.contentRef,u);return r.useEffect(()=>{let e=u.current;if(e)return(0,g.Eq)(e)},[]),(0,i.jsx)(F,{...e,ref:c,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:(0,o.mK)(e.onCloseAutoFocus,e=>{var t;
1e.preventDefault(),null==(t=n.triggerRef.current)||t.focus()}),onPointerDownOutside:(0,o.mK)(e.onPointerDownOutside,e=>{let t=e.detail.originalEvent,n=0===t.button&&!0===t.ctrlKey;(2===t.button||n)&&e.preventDefault()}),onFocusOutside:(0,o.mK)(e.onFocusOutside,e=>e.preventDefault())})}),P=r.forwardRef((e,t)=>{let n=C(I,e.__scopeDialog),o=r.useRef(!1),a=r.useRef(!1);return(0,i.jsx)(F,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:t=>{var r,i;null==(r=e.onCloseAutoFocus)||r.call(e,t),t.defaultPrevented||(o.current||null==(i=n.triggerRef.current)||i.focus(),t.preventDefault()),o.current=!1,a.current=!1},onInteractOutside:t=>{var r,i;null==(r=e.onInteractOutside)||r.call(e,t),t.defaultPrevented||(o.current=!0,"pointerdown"===t.detail.originalEvent.type&&(a.current=!0));let u=t.target;(null==(i=n.triggerRef.current)?void 0:i.contains(u))&&t.preventDefault(),"focusin"===t.detail.originalEvent.type&&a.current&&t.preventDefault()}})}),F=r.forwardRef((e,t)=>{let{__scopeDialog:n,trapFocus:o,onOpenAutoFocus:u,onCloseAutoFocus:c,...d}=e,f=C(I,n),p=r.useRef(null),v=(0,a.s)(t,p);return(0,m.Oh)(),(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(s.n,{asChild:!0,loop:!0,trapped:o,onMountAutoFocus:u,onUnmountAutoFocus:c,children:(0,i.jsx)(l.qW,{role:"dialog",id:f.contentId,"aria-describedby":f.descriptionId,"aria-labelledby":f.titleId,"data-state":X(f.open),...d,ref:v,onDismiss:()=>f.onOpenChange(!1)})}),(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(z,{titleId:f.titleId}),(0,i.jsx)(V,{contentRef:p,descriptionId:f.descriptionId})]})]})}),O="DialogTitle",W=r.forwardRef((e,t)=>{let{__scopeDialog:n,...r}=e,o=C(O,n);return(0,i.jsx)(v.h2,{id:o.titleId,...r,ref:t})});W.displayName=O;var K="DialogDescription",B=r.forwardRef((e,t)=>{let{__scopeDialog:n,...r}=e,o=C(K,n);return(0,i.jsx)(v.p,{id:o.descriptionId,...r,ref:t})});B.displayName=K;var Y="DialogClose",q=r.forwardRef((e,t)=>{let{__scopeDialog:n,...r}=e,a=C(Y,n);return(0,i.jsx)(v.button,{type:"button",...r,ref:t,onClick:(0,o.mK)(e.onClick,()=>a.onOpenChange(!1))})});function X(e){return e?"open":"closed"}q.displayName=Y;var Z="DialogTitleWarning",[U,H]=function(e,t){let n=r.createContext(t),o=e=>{let{children:t,...o}=e,a=r.useMemo(()=>o,Object.values(o));return(0,i.jsx)(n.Provider,{value:a,children:t})};return o.displayName=e+"Provider",[o,function(o){let a=r.useContext(n);if(a)return a;if(void 0!==t)return t;throw Error("`".concat(o,"` must be used within `").concat(e,"`"))}]}(Z,{contentName:I,titleName:O,docsSlug:"dialog"}),z=e=>{let{titleId:t}=e,n=H(Z),o="`".concat(n.contentName,"` requires a `").concat(n.titleName,"` for the component to be accessible for screen reader users.\n\nIf you want to hide the `").concat(n.titleName,"`, you can wrap it with our VisuallyHidden component.\n\nFor more information, see https://radix-ui.com/primitives/docs/components/").concat(n.docsSlug);return r.useEffect(()=>{t&&(document.getElementById(t)||console.error(o))},[o,t]),null},V=e=>{let{contentRef:t,descriptionId:n}=e,o=H("DialogDescriptionWarning"),a="Warning: Missing `Description` or `aria-describedby={undefined}` for {".concat(o.contentName,"}.");return r.useEffect(()=>{var e;let r=null==(e=t.current)?void 0:e.getAttribute("aria-describedby");n&&r&&(document.getElementById(n)||console.warn(a))},[a,t,n]),null},$=x,G=D,J=M,Q=L,ee=W,et=B,en=q},7886:(e,t,n)=>{n.d(t,{n:()=>f});var r=n(7620),o=n(61715);n(97509);var a=n(46118),i=n(54568),u=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,t)=>{let n=(0,a.TL)(`Primitive.${t}`),o=r.forwardRef((e,r)=>{let{asChild:o,...a}=e;return"undefined"!=typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,i.jsx)(o?n:t,{...a,ref:r})});return o.displayName=`Primitive.${t}`,{...e,[t]:o}},{}),c=n(9111),l="focusScope.autoFocusOnMount",s="focusScope.autoFocusOnUnmount",d={bubbles:!1,cancelable:!0},f=r.forwardRef((e,t)=>{let{loop:n=!1,trapped:a=!1,onMountAutoFocus:f,onUnmountAutoFocus:g,...y}=e,[b,w]=r.useState(null),E=(0,c.c)(f),C=(0,c.c)(g),x=r.useRef(null),N=(0,o.s)(t,e=>w(e)),R=r.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;r.useEffect(()=>{if(a){let e=function(e){if(R.paused||!b)return;let t=e.target;b.contains(t)?x.current=t:m(x.current,{select:!0})},t=function(e){if(R.paused||!b)return;let t=e.relatedTarget;null!==t&&(b.contains(t)||m(x.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(b)});return b&&n.observe(b,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",e),document.removeEventListener("focusout",t),n.disconnect()}}},[a,b,R.paused]),r.useEffect(()=>{if(b){h.add(R);let e=document.activeElement;if(!b.contains(e)){let t=new CustomEvent(l,d);b.addEventListener(l,E),b.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}(p(b).filter(e=>"A"!==e.tagName),{select:!0}),document.activeElement===e&&m(b))}return()=>{b.removeEventListener(l,E),setTimeout(()=>{let t=new CustomEvent(s,d);b.addEventListener(s,C),b.dispatchEvent(t),t.defaultPrevented||m(null!=e?e:document.body,{select:!0}),b.removeEventListener(s,C),h.remove(R)},0)}}},[b,E,C,R]);let _=r.useCallback(e=>{if(!n&&!a||R.paused)return;let t="Tab"===e.key&&!e.altKey&&!e.ctrlKey&&!e.metaKey,r=document.activeElement;if(t&&r){let t=e.currentTarget,[o,a]=function(e){let t=p(e);return[v(t,e),v(t.reverse(),e)]}(t);o&&a?e.shiftKey||r!==a?e.shiftKey&&r===o&&(e.preventDefault(),n&&m(a,{select:!0})):(e.preventDefault(),n&&m(o,{select:!0})):r===t&&e.preventDefault()}},[n,a,R.paused]);return(0,i.jsx)(u.div,{tabIndex:-1,...y,ref:N,onKeyDown:_})});function p(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()}}f.displayName="FocusScope";var h=function(){let e=[];return{add(t){let n=e[0];t!==n&&(null==n||n.pause()),(e=g(e,t)).unshift(t)},remove(t){var n;null==(n=(e=g(e,t))[0])||n.resume()}}}();function g(e,t){let n=[...e],r=n.indexOf(t);return -1!==r&&n.splice(r,1),n}}
1,9702:(e,t,n)=>{n.d(t,{Eq:()=>l});var r=new WeakMap,o=new WeakMap,a={},i=0,u=function(e){return e&&(e.host||u(e.parentNode))},c=function(e,t,n,c){var l=(Array.isArray(e)?e:[e]).map(function(e){if(t.contains(e))return e;var n=u(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,p=new Set(l),v=function(e){!e||f.has(e)||(f.add(e),v(e.parentNode))};l.forEach(v);var m=function(e){!e||p.has(e)||Array.prototype.forEach.call(e.children,function(e){if(f.has(e))m(e);else try{var t=e.getAttribute(c),a=null!==t&&"false"!==t,i=(r.get(e)||0)+1,u=(s.get(e)||0)+1;r.set(e,i),s.set(e,u),d.push(e),1===i&&a&&o.set(e,!0),1===u&&e.setAttribute(n,"true"),a||e.setAttribute(c,"true")}catch(t){console.error("aria-hidden: cannot operate on ",e,t)}})};return m(t),f.clear(),i++,function(){d.forEach(function(e){var t=r.get(e)-1,a=s.get(e)-1;r.set(e,t),s.set(e,a),t||(o.has(e)||e.removeAttribute(c),o.delete(e)),a||e.removeAttribute(n)}),--i||(r=new WeakMap,r=new WeakMap,o=new WeakMap,a={})}},l=function(e,t,n){void 0===n&&(n="data-aria-hidden");var r=Array.from(Array.isArray(e)?e:[e]),o=t||("undefined"==typeof document?null:(Array.isArray(e)?e[0]:e).ownerDocument.body);return o?(r.push.apply(r,Array.from(o.querySelectorAll("[aria-live], script"))),c(r,o,n,"aria-hidden")):function(){return null}}},26419:(e,t,n)=>{n.d(t,{Oh:()=>a});var r=n(7620),o=0;function a(){r.useEffect(()=>{var e,t;let n=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",null!=(e=n[0])?e:i()),document.body.insertAdjacentElement("beforeend",null!=(t=n[1])?t:i()),o++,()=>{1===o&&document.querySelectorAll("[data-radix-focus-guard]").forEach(e=>e.remove()),o--}},[])}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}},72413:(e,t,n)=>{n.d(t,{A:()=>Z});var r,o,a=n(17867),i=n(7620),u="right-scroll-bar-position",c="width-before-scroll-bar";function l(e,t){return"function"==typeof e?e(t):e&&(e.current=t),e}var s="undefined"!=typeof window?i.useLayoutEffect:i.useEffect,d=new WeakMap;function f(e){return e}var p=function(e){void 0===e&&(e={});var t,n,r,o=(void 0===t&&(t=f),n=[],r=!1,{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]:null},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 a=function(){var n=t;t=[],n.forEach(e)},i=function(){return Promise.resolve().then(a)};i(),n={push:function(e){t.push(e),i()},filter:function(e){return t=t.filter(e),n}}}});return o.options=(0,a.__assign)({async:!0,ssr:!1},e),o}(),v=function(){},m=i.forwardRef(function(e,t){var n,r,o,u,c=i.useRef(null),f=i.useState({onScrollCapture:v,onWheelCapture:v,onTouchMoveCapture:v}),m=f[0],h=f[1],g=e.forwardProps,y=e.children,b=e.className,w=e.removeScrollBar,E=e.enabled,C=e.shards,x=e.sideCar,N=e.noRelative,R=e.noIsolation,_=e.inert,S=e.allowPinchZoom,D=e.as,A=e.gapMode,M=(0,a.__rest)(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),k=(n=[c,t],r=function(e){return n.forEach(function(t){return l(t,e)})},(o=(0,i.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,u=o.facade,s(function(){var e=d.get(u);if(e){var t=new Set(e),r=new Set(n),o=u.current;t.forEach(function(e){r.has(e)||l(e,null)}),r.forEach(function(e){t.has(e)||l(e,o)})}d.set(u,n)},[n]),u),T=(0,a.__assign)((0,a.__assign)({},M),m);return i.createElement(i.Fragment,null,E&&i.createElement(x,{sideCar:p,removeScrollBar:w,shards:C,noRelative:N,noIsolation:R,inert:_,setCallbacks:h,allowPinchZoom:!!S,lockRef:c,gapMode:A}),g?i.cloneElement(i.Children.only(y),(0,a.__assign)((0,a.__assign)({},T),{ref:k})):i.createElement(void 0===D?"div":D,(0,a.__assign)({},T,{className:b,ref:k}),y))});m.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},m.classNames={fullWidth:c,zeroRight:u};var h=function(e){var t=e.sideCar,n=(0,a.__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 i.createElement(r,(0,a.__assign)({},n))};
1h.isSideCarExport=!0;var g=function(){var e=0,t=null;return{add:function(r){if(0==e&&(t=function(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=o||n.nc;return t&&e.setAttribute("nonce",t),e}())){var a,i;(a=t).styleSheet?a.styleSheet.cssText=r:a.appendChild(document.createTextNode(r)),i=t,(document.head||document.getElementsByTagName("head")[0]).appendChild(i)}e++},remove:function(){--e||!t||(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},y=function(){var e=g();return function(t,n){i.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])}},b=function(){var e=y();return function(t){return e(t.styles,t.dynamic),null}},w={left:0,top:0,right:0,gap:0},E=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[E(n),E(r),E(o)]},x=function(e){if(void 0===e&&(e="margin"),"undefined"==typeof window)return w;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])}},N=b(),R="data-scroll-locked",_=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(R,"] {\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(c," {\n margin-right: ").concat(l,"px ").concat(r,";\n }\n \n .").concat(u," .").concat(u," {\n right: 0 ").concat(r,";\n }\n \n .").concat(c," .").concat(c," {\n margin-right: 0 ").concat(r,";\n }\n \n body[").concat(R,"] {\n ").concat("--removed-body-scroll-bar-size",": ").concat(l,"px;\n }\n")},S=function(){var e=parseInt(document.body.getAttribute(R)||"0",10);return isFinite(e)?e:0},D=function(){i.useEffect(function(){return document.body.setAttribute(R,(S()+1).toString()),function(){var e=S()-1;e<=0?document.body.removeAttribute(R):document.body.setAttribute(R,e.toString())}},[])},A=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,o=void 0===r?"margin":r;D();var a=i.useMemo(function(){return x(o)},[o]);return i.createElement(N,{styles:_(a,!t,o,n?"":"!important")})},M=!1;if("undefined"!=typeof window)try{var k=Object.defineProperty({},"passive",{get:function(){return M=!0,!0}});window.addEventListener("test",k,k),window.removeEventListener("test",k,k)}catch(e){M=!1}var T=!!M&&{passive:!1},I=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])},L=function(e,t){var n=t.ownerDocument,r=t;do{if("undefined"!=typeof ShadowRoot&&r instanceof ShadowRoot&&(r=r.host),j(e,r)){var o=P(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?I(t,"overflowY"):I(t,"overflowX")},P=function(e,t){return"v"===e?[t.scrollTop,t.scrollHeight,t.clientHeight]:[t.scrollLeft,t.scrollWidth,t.clientWidth]},F=function(e,t,n,r,o){var a,i=(a=window.getComputedStyle(t).direction,"h"===e&&"rtl"===a?-1:1),u=i*r,c=n.target,l=t.contains(c),s=!1,d=u>0,f=0,p=0;do{if(!c)break;var v=P(e,c),m=v[0],h=v[1]-v[2]-i*m;(m||h)&&j(e,c)&&(f+=h,p+=m);var g=c.parentNode;c=g&&g.nodeType===Node.DOCUMENT_FRAGMENT_NODE?g.host:g}while(!l&&c!==document.body||l&&(t.contains(c)||t===c));return d&&(o&&1>Math.abs(f)||!o&&u>f)?s=!0:!d&&(o&&1>Math.abs(p)||!o&&-u>p)&&(s=!0),s},O=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},W=function(e){return[e.deltaX,e.deltaY]},K=function(e){return e&&"current"in e?e.current:e},B=0,Y=[];let q=(r=function(e){var t=i.useRef([]),n=i.useRef([0,0]),r=i.useRef(),o=i.useState(B++)[0],u=i.useState(b)[0],c=i.useRef(e);i.useEffect(function(){c.current=e},[e]),i.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(o));var t=(0,a.__spreadArray)([e.lockRef.current],(e.shards||[]).map(K),!0).filter(
1Boolean);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=i.useCallback(function(e,t){if("touches"in e&&2===e.touches.length||"wheel"===e.type&&e.ctrlKey)return!c.current.allowPinchZoom;var o,a=O(e),i=n.current,u="deltaX"in e?e.deltaX:i[0]-a[0],l="deltaY"in e?e.deltaY:i[1]-a[1],s=e.target,d=Math.abs(u)>Math.abs(l)?"h":"v";if("touches"in e&&"h"===d&&"range"===s.type)return!1;var f=window.getSelection(),p=f&&f.anchorNode;if(p&&(p===s||p.contains(s)))return!1;var v=L(d,s);if(!v)return!0;if(v?o=d:(o="v"===d?"h":"v",v=L(d,s)),!v)return!1;if(!r.current&&"changedTouches"in e&&(u||l)&&(r.current=o),!o)return!0;var m=r.current||o;return F(m,t,e,"h"===m?u:l,!0)},[]),s=i.useCallback(function(e){if(Y.length&&Y[Y.length-1]===u){var n="deltaY"in e?W(e):O(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(K).filter(Boolean).filter(function(t){return t.contains(e.target)});(o.length>0?l(e,o[0]):!c.current.noIsolation)&&e.cancelable&&e.preventDefault()}}},[]),d=i.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=i.useCallback(function(e){n.current=O(e),r.current=void 0},[]),p=i.useCallback(function(t){d(t.type,W(t),t.target,l(t,e.lockRef.current))},[]),v=i.useCallback(function(t){d(t.type,O(t),t.target,l(t,e.lockRef.current))},[]);i.useEffect(function(){return Y.push(u),e.setCallbacks({onScrollCapture:p,onWheelCapture:p,onTouchMoveCapture:v}),document.addEventListener("wheel",s,T),document.addEventListener("touchmove",s,T),document.addEventListener("touchstart",f,T),function(){Y=Y.filter(function(e){return e!==u}),document.removeEventListener("wheel",s,T),document.removeEventListener("touchmove",s,T),document.removeEventListener("touchstart",f,T)}},[]);var m=e.removeScrollBar,h=e.inert;return i.createElement(i.Fragment,null,h?i.createElement(u,{styles:"\n .block-interactivity-".concat(o," {pointer-events: none;}\n .allow-interactivity-").concat(o," {pointer-events: all;}\n")}):null,m?i.createElement(A,{noRelative:e.noRelative,gapMode:e.gapMode}):null)},p.useMedium(r),h);var X=i.forwardRef(function(e,t){return i.createElement(m,(0,a.__assign)({},e,{ref:t,sideCar:q}))});X.classNames=m.classNames;let Z=X}}]);
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.