1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4481],{26646:(e,t,n)=>{n.d(t,{C:()=>a});var r=n(64665),o=n(80607),a=e=>{let{present:t,children:n}=e,a=function(e){var t,n;let[a,i]=r.useState(),l=r.useRef(null),c=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=u(l.current);s.current="mounted"===d?e:"none"},[d]),(0,o.N)(()=>{let t=l.current,n=c.current;if(n!==e){let r=s.current,o=u(t);e?f("MOUNT"):"none"===o||(null==t?void 0:t.display)==="none"?f("UNMOUNT"):n&&r!==o?f("ANIMATION_OUT"):f("UNMOUNT"),c.current=e}},[e,f]),(0,o.N)(()=>{if(a){var e;let t,n=null!=(e=a.ownerDocument.defaultView)?e:window,r=e=>{let r=u(l.current).includes(CSS.escape(e.animationName));if(e.target===a&&r&&(f("ANIMATION_END"),!c.current)){let e=a.style.animationFillMode;a.style.animationFillMode="forwards",t=n.setTimeout(()=>{"forwards"===a.style.animationFillMode&&(a.style.animationFillMode=e)})}},o=e=>{e.target===a&&(s.current=u(l.current))};return a.addEventListener("animationstart",o),a.addEventListener("animationcancel",r),a.addEventListener("animationend",r),()=>{n.clearTimeout(t),a.removeEventListener("animationstart",o),a.removeEventListener("animationcancel",r),a.removeEventListener("animationend",r)}}f("ANIMATION_END")},[a,f]),{isPresent:["mounted","unmountSuspended"].includes(d),ref:r.useCallback(e=>{l.current=e?getComputedStyle(e):null,i(e)},[])}}(t),l="function"==typeof n?n({present:a.isPresent}):r.Children.only(n),c=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];let o=r.useRef(t);return o.current=t,r.useCallback(e=>{let t=o.current,n=!1,r=t.map(t=>{let r=i(t,e);return n||"function"!=typeof r||(n=!0),r});if(n)return()=>{for(let e=0;e<r.length;e++){let n=r[e];"function"==typeof n?n():i(t[e],null)}}},[])}(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}(l));return"function"==typeof n||a.isPresent?r.cloneElement(l,{ref:c}):null};function i(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}function u(e){return(null==e?void 0:e.animationName)||"none"}a.displayName="Presence"},40960:(e,t,n)=>{n.d(t,{mK:()=>o});var r=!!("undefined"!=typeof window&&window.document&&window.document.createElement);function o(e,t,{checkForDefaultPrevented:n=!0}={}){return function(r){if(e?.(r),!1===n||!r.defaultPrevented)return t?.(r)}}},42665:(e,t,n)=>{n.d(t,{c:()=>o});var r=n(64665);function o(e){let t=r.useRef(e);return r.useEffect(()=>{t.current=e}),r.useMemo(()=>(...e)=>t.current?.(...e),[])}},43591:(e,t,n)=>{n.d(t,{A:()=>i,q:()=>a});var r=n(64665),o=n(6733);function a(e,t){let n=r.createContext(t);n.displayName=e+"Context";let a=e=>{let{children:t,...a}=e,i=r.useMemo(()=>a,Object.values(a));return(0,o.jsx)(n.Provider,{value:i,children:t})};return a.displayName=e+"Provider",[a,function(o){let a=r.useContext(n);if(a)return a;if(void 0!==t)return t;throw Error(`\`${o}\` must be used within \`${e}\``)}]}function i(e,t=[]){let n=[],a=()=>{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 a.scopeName=e,[function(t,a){let i=r.createContext(a);i.displayName=t+"Context";let u=n.length;n=[...n,a];let l=t=>{let{scope:n,children:a,...l}=t,c=n?.[e]?.[u]||i,s=r.useMemo(()=>l,Object.values(l));return(0,o.jsx)(c.Provider,{value:s,children:a})};return l.displayName=t+"Provider",[l,function(n,o){let l=o?.[e]?.[u]||i,c=r.useContext(l);if(c)return c;if(void 0!==a)return a;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}(a,...t)]}},67276:(e,t,n)=>{n.d(t,{hO:()=>l,sG:()=>u});var r=n(64665),o=n(75052),a=n(73885),i=n(6733),u=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,t)=>
1{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}},{});function l(e,t){e&&o.flushSync(()=>e.dispatchEvent(t))}},74153:(e,t,n)=>{n.d(t,{B:()=>l});var r,o=n(64665),a=n(80607),i=(r||(r=n.t(o,2)))[" useId ".trim().toString()]||(()=>void 0),u=0;function l(e){let[t,n]=o.useState(i());return(0,a.N)(()=>{e||n(e=>e??String(u++))},[e]),e||(t?`radix-${t}`:"")}},80607:(e,t,n)=>{n.d(t,{N:()=>o});var r=n(64665),o=globalThis?.document?r.useLayoutEffect:()=>{}},87967:(e,t,n)=>{n.d(t,{i:()=>u});var r,o=n(64665),a=n(80607),i=(r||(r=n.t(o,2)))[" useInsertionEffect ".trim().toString()]||a.N;function u({prop:e,defaultProp:t,onChange:n=()=>{},caller:r}){let[a,u,l]=function({defaultProp:e,onChange:t}){let[n,r]=o.useState(e),a=o.useRef(n),u=o.useRef(t);return i(()=>{u.current=t},[t]),o.useEffect(()=>{a.current!==n&&(u.current?.(n),a.current=n)},[n,a]),[n,r,u]}({defaultProp:t,onChange:n}),c=void 0!==e,s=c?e:a;{let t=o.useRef(void 0!==e);o.useEffect(()=>{let e=t.current;if(e!==c){let t=c?"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=c},[c,r])}return[s,o.useCallback(t=>{if(c){let n="function"==typeof t?t(e):t;n!==e&&l.current?.(n)}else u(t)},[c,e,u,l])]}Symbol("RADIX:SYNC_STATE")},94481:(e,t,n)=>{n.d(t,{bm:()=>tu,UC:()=>to,VY:()=>ti,hJ:()=>tr,ZL:()=>tn,bL:()=>te,hE:()=>ta,l9:()=>tt});var r,o,a,i=n(64665),u=n(40960),l=n(38838),c=n(43591),s=n(74153),d=n(87967),f=n(67276),p=n(42665),v=n(6733),m="dismissableLayer.update",h=i.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),g=i.forwardRef((e,t)=>{var n,r;let{disableOutsidePointerEvents:a=!1,onEscapeKeyDown:c,onPointerDownOutside:s,onFocusOutside:d,onInteractOutside:g,onDismiss:b,...w}=e,C=i.useContext(h),[N,R]=i.useState(null),S=null!=(r=null==N?void 0:N.ownerDocument)?r:null==(n=globalThis)?void 0:n.document,[,x]=i.useState({}),O=(0,l.s)(t,e=>R(e)),D=Array.from(C.layers),[T]=[...C.layersWithOutsidePointerEventsDisabled].slice(-1),P=D.indexOf(T),L=N?D.indexOf(N):-1,M=C.layersWithOutsidePointerEventsDisabled.size>0,A=L>=P,k=function(e){var t;let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null==(t=globalThis)?void 0:t.document,r=(0,p.c)(e),o=i.useRef(!1),a=i.useRef(()=>{});return i.useEffect(()=>{let e=e=>{if(e.target&&!o.current){let t=function(){E("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);o.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:()=>o.current=!0}}(e=>{let t=e.target,n=[...C.branches].some(e=>e.contains(t));A&&!n&&(null==s||s(e),null==g||g(e),e.defaultPrevented||null==b||b())},S),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,p.c)(e),o=i.useRef(!1);return i.useEffect(()=>{let e=e=>{e.target&&!o.current&&E("dismissableLayer.focusOutside",r,{originalEvent:e},{discrete:!1})};return n.addEventListener("focusin",e),()=>n.removeEventListener("focusin",e)},[n,r]),{onFocusCapture:()=>o.current=!0,onBlurCapture:()=>o.current=!1}}(e=>{let t=e.target;![...C.branches].some(e=>e.contains(t))&&(null==d||d(e),null==g||g(e),e.defaultPrevented||null==b||b())},S);return!function(e,t=globalThis?.document){let n=(0,p.c)(e);i.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=>{L===C.layers.size-1&&(null==c||c(e),!e.defaultPrevented&&b&&(e.preventDefault(),b()))},S),i.useEffect(()=>{if(N)return a&&(0===C.layersWithOutsidePointerEventsDisabled.size&&(o=S.body.style.pointerEvents,S.body.style.pointerEvents="none"),C.layersWithOutsidePointerEventsDisabled.add(N)),C.layers.add(N),y(),()=>{a&&(C.layersWithOutsidePointerEventsDisabled.delete(N),0===C.layersWithOutsidePointerEventsDisabled.size&&(S.body.style.pointerEvents=o))}},[N,S,a,C]),i.useEffect(()=>()=>{N&&(C.layers.delete(N),C.layersWithOutsidePointerEventsDisabled.delete(N),y())},[N,C]),i.useEffect(()=>{let e=()=>x({});return document.addEventListener(m,e),()=>document.removeEventListener(m,e)},[]),(0,v.jsx)(f.sG.div,{...w,ref:O,style:{pointerEvents:M?A?"auto":"none":void 0,...e.style},onFocusCapture:(0,u.mK)(e.onFocusCapture,I.onFocusCapture),onBlurCapture:(0,u.mK)(e.onBlurCapture,I.onBlurCapture),onPointerDownCapture:(0,u.mK)(e.onPointerDownCapture,k.onPointerDownCapture)})});function y(){let e=new CustomEvent(m);document.dispatchEvent(e)}function E(e,t,n,r){let{discrete:o}=r,a=n.originalEvent.target,i=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&a.addEventListener(e,t,{once:!0}),o?(0,f.hO)(a,i):a.dispatchEvent(i)}g.displayName="DismissableLayer",i.forwardRef((e,t)=>
1{let n=i.useContext(h),r=i.useRef(null),o=(0,l.s)(t,r);return i.useEffect(()=>{let e=r.current;if(e)return n.branches.add(e),()=>{n.branches.delete(e)}},[n.branches]),(0,v.jsx)(f.sG.div,{...e,ref:o})}).displayName="DismissableLayerBranch";var b="focusScope.autoFocusOnMount",w="focusScope.autoFocusOnUnmount",C={bubbles:!1,cancelable:!0},N=i.forwardRef((e,t)=>{let{loop:n=!1,trapped:r=!1,onMountAutoFocus:o,onUnmountAutoFocus:a,...u}=e,[c,s]=i.useState(null),d=(0,p.c)(o),m=(0,p.c)(a),h=i.useRef(null),g=(0,l.s)(t,e=>s(e)),y=i.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;i.useEffect(()=>{if(r){let e=function(e){if(y.paused||!c)return;let t=e.target;c.contains(t)?h.current=t:x(h.current,{select:!0})},t=function(e){if(y.paused||!c)return;let t=e.relatedTarget;null!==t&&(c.contains(t)||x(h.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&&x(c)});return c&&n.observe(c,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",e),document.removeEventListener("focusout",t),n.disconnect()}}},[r,c,y.paused]),i.useEffect(()=>{if(c){O.add(y);let e=document.activeElement;if(!c.contains(e)){let t=new CustomEvent(b,C);c.addEventListener(b,d),c.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(x(r,{select:t}),document.activeElement!==n)return}(R(c).filter(e=>"A"!==e.tagName),{select:!0}),document.activeElement===e&&x(c))}return()=>{c.removeEventListener(b,d),setTimeout(()=>{let t=new CustomEvent(w,C);c.addEventListener(w,m),c.dispatchEvent(t),t.defaultPrevented||x(null!=e?e:document.body,{select:!0}),c.removeEventListener(w,m),O.remove(y)},0)}}},[c,d,m,y]);let E=i.useCallback(e=>{if(!n&&!r||y.paused)return;let t="Tab"===e.key&&!e.altKey&&!e.ctrlKey&&!e.metaKey,o=document.activeElement;if(t&&o){let t=e.currentTarget,[r,a]=function(e){let t=R(e);return[S(t,e),S(t.reverse(),e)]}(t);r&&a?e.shiftKey||o!==a?e.shiftKey&&o===r&&(e.preventDefault(),n&&x(a,{select:!0})):(e.preventDefault(),n&&x(r,{select:!0})):o===t&&e.preventDefault()}},[n,r,y.paused]);return(0,v.jsx)(f.sG.div,{tabIndex:-1,...u,ref:g,onKeyDown:E})});function R(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 S(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 x(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()}}N.displayName="FocusScope";var O=function(){let e=[];return{add(t){let n=e[0];t!==n&&(null==n||n.pause()),(e=D(e,t)).unshift(t)},remove(t){var n;null==(n=(e=D(e,t))[0])||n.resume()}}}();function D(e,t){let n=[...e],r=n.indexOf(t);return -1!==r&&n.splice(r,1),n}var T=n(75052),P=n(80607),L=i.forwardRef((e,t)=>{var n,r;let{container:o,...a}=e,[u,l]=i.useState(!1);(0,P.N)(()=>l(!0),[]);let c=o||u&&(null==(r=globalThis)||null==(n=r.document)?void 0:n.body);return c?T.createPortal((0,v.jsx)(f.sG.div,{...a,ref:t}),c):null});L.displayName="Portal";var M=n(26646),A=0,k=null;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}var j=function(){return(j=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};function F(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)0>t.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n}Object.create;Object.create;var _=("function"==typeof SuppressedError&&SuppressedError,"right-scroll-bar-position"),W="width-before-scroll-bar";function B(e,t){return"function"==typeof e?e(t):e&&(e.current=t),e}var K="undefined"!=typeof window?i.useLayoutEffect:i.useEffect,U=new WeakMap;function $(e){return e}var G=function(e){void 0===e&&(e={});var t,n,r,o,a=(t=null,void 0===n&&(n=$),r=[],o=!1,{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;
1r=[],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}}}});return a.options=j({async:!0,ssr:!1},e),a}(),Y=function(){},X=i.forwardRef(function(e,t){var n,r,o,a,u=i.useRef(null),l=i.useState({onScrollCapture:Y,onWheelCapture:Y,onTouchMoveCapture:Y}),c=l[0],s=l[1],d=e.forwardProps,f=e.children,p=e.className,v=e.removeScrollBar,m=e.enabled,h=e.shards,g=e.sideCar,y=e.noRelative,E=e.noIsolation,b=e.inert,w=e.allowPinchZoom,C=e.as,N=e.gapMode,R=F(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),S=(n=[u,t],r=function(e){return n.forEach(function(t){return B(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,a=o.facade,K(function(){var e=U.get(a);if(e){var t=new Set(e),r=new Set(n),o=a.current;t.forEach(function(e){r.has(e)||B(e,null)}),r.forEach(function(e){t.has(e)||B(e,o)})}U.set(a,n)},[n]),a),x=j(j({},R),c);return i.createElement(i.Fragment,null,m&&i.createElement(g,{sideCar:G,removeScrollBar:v,shards:h,noRelative:y,noIsolation:E,inert:b,setCallbacks:s,allowPinchZoom:!!w,lockRef:u,gapMode:N}),d?i.cloneElement(i.Children.only(f),j(j({},x),{ref:S})):i.createElement(void 0===C?"div":C,j({},x,{className:p,ref:S}),f))});X.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},X.classNames={fullWidth:W,zeroRight:_};var z=function(e){var t=e.sideCar,n=F(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,j({},n))};z.isSideCarExport=!0;var Z=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=a||n.nc;return t&&e.setAttribute("nonce",t),e}())){var o,i;(o=t).styleSheet?o.styleSheet.cssText=r:o.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)}}},H=function(){var e=Z();return function(t,n){i.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])}},q=function(){var e=H();return function(t){return e(t.styles,t.dynamic),null}},V={left:0,top:0,right:0,gap:0},J=function(e){return parseInt(e||"",10)||0},Q=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[J(n),J(r),J(o)]},ee=function(e){if(void 0===e&&(e="margin"),"undefined"==typeof window)return V;var t=Q(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])}},et=q(),en="data-scroll-locked",er=function(e,t,n,r){var o=e.left,a=e.top,i=e.right,u=e.gap;return void 0===n&&(n="margin"),"\n .".concat("with-scroll-bars-hidden"," {\n overflow: hidden ").concat(r,";\n padding-right: ").concat(u,"px ").concat(r,";\n }\n body[").concat(en,"] {\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(u,"px ").concat(r,";\n "),"padding"===n&&"padding-right: ".concat(u,"px ").concat(r,";")].filter(Boolean).join(""),"\n }\n \n .").concat(_," {\n right: ").concat(u,"px ").concat(r,";\n }\n \n .").concat(W," {\n margin-right: ").concat(u,"px ").concat(r,";\n }\n \n .").concat(_," .").concat(_," {\n right: 0 ").concat(r,";\n }\n \n .").concat(W," .").concat(W," {\n margin-right: 0 ").concat(r,";\n }\n \n body[").concat(en,"] {\n ").concat("--removed-body-scroll-bar-size",": ").concat(u,"px;\n }\n")},eo=function(){var e=parseInt(document.body.getAttribute(en)||"0",10);return isFinite(e)?e:0},ea=function(){i.useEffect(function(){return document.body.setAttribute(en,(eo()+1).toString()),function(){var e=eo()-1;e<=0?document.body.removeAttribute(en):document.body.setAttribute(en,e.toString())}},[])},ei=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,o=void 0===r?"margin":r;ea();var a=i.useMemo(function(){return ee(o)}
1,[o]);return i.createElement(et,{styles:er(a,!t,o,n?"":"!important")})},eu=!1;if("undefined"!=typeof window)try{var el=Object.defineProperty({},"passive",{get:function(){return eu=!0,!0}});window.addEventListener("test",el,el),window.removeEventListener("test",el,el)}catch(e){eu=!1}var ec=!!eu&&{passive:!1},es=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])},ed=function(e,t){var n=t.ownerDocument,r=t;do{if("undefined"!=typeof ShadowRoot&&r instanceof ShadowRoot&&(r=r.host),ef(e,r)){var o=ep(e,r);if(o[1]>o[2])return!0}r=r.parentNode}while(r&&r!==n.body);return!1},ef=function(e,t){return"v"===e?es(t,"overflowY"):es(t,"overflowX")},ep=function(e,t){return"v"===e?[t.scrollTop,t.scrollHeight,t.clientHeight]:[t.scrollLeft,t.scrollWidth,t.clientWidth]},ev=function(e,t,n,r,o){var a,i=(a=window.getComputedStyle(t).direction,"h"===e&&"rtl"===a?-1:1),u=i*r,l=n.target,c=t.contains(l),s=!1,d=u>0,f=0,p=0;do{if(!l)break;var v=ep(e,l),m=v[0],h=v[1]-v[2]-i*m;(m||h)&&ef(e,l)&&(f+=h,p+=m);var g=l.parentNode;l=g&&g.nodeType===Node.DOCUMENT_FRAGMENT_NODE?g.host:g}while(!c&&l!==document.body||c&&(t.contains(l)||t===l));return d&&(o&&1>Math.abs(f)||!o&&u>f)?s=!0:!d&&(o&&1>Math.abs(p)||!o&&-u>p)&&(s=!0),s},em=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},eh=function(e){return[e.deltaX,e.deltaY]},eg=function(e){return e&&"current"in e?e.current:e},ey=0,eE=[];let eb=(r=function(e){var t=i.useRef([]),n=i.useRef([0,0]),r=i.useRef(),o=i.useState(ey++)[0],a=i.useState(q)[0],u=i.useRef(e);i.useEffect(function(){u.current=e},[e]),i.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(o));var t=(function(e,t,n){if(n||2==arguments.length)for(var r,o=0,a=t.length;o<a;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))})([e.lockRef.current],(e.shards||[]).map(eg),!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=i.useCallback(function(e,t){if("touches"in e&&2===e.touches.length||"wheel"===e.type&&e.ctrlKey)return!u.current.allowPinchZoom;var o,a=em(e),i=n.current,l="deltaX"in e?e.deltaX:i[0]-a[0],c="deltaY"in e?e.deltaY:i[1]-a[1],s=e.target,d=Math.abs(l)>Math.abs(c)?"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=ed(d,s);if(!v)return!0;if(v?o=d:(o="v"===d?"h":"v",v=ed(d,s)),!v)return!1;if(!r.current&&"changedTouches"in e&&(l||c)&&(r.current=o),!o)return!0;var m=r.current||o;return ev(m,t,e,"h"===m?l:c,!0)},[]),c=i.useCallback(function(e){if(eE.length&&eE[eE.length-1]===a){var n="deltaY"in e?eh(e):em(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=(u.current.shards||[]).map(eg).filter(Boolean).filter(function(t){return t.contains(e.target)});(o.length>0?l(e,o[0]):!u.current.noIsolation)&&e.cancelable&&e.preventDefault()}}},[]),s=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)},[]),d=i.useCallback(function(e){n.current=em(e),r.current=void 0},[]),f=i.useCallback(function(t){s(t.type,eh(t),t.target,l(t,e.lockRef.current))},[]),p=i.useCallback(function(t){s(t.type,em(t),t.target,l(t,e.lockRef.current))},[]);i.useEffect(function(){return eE.push(a),e.setCallbacks({onScrollCapture:f,onWheelCapture:f,onTouchMoveCapture:p}),document.addEventListener("wheel",c,ec),document.addEventListener("touchmove",c,ec),document.addEventListener("touchstart",d,ec),function(){eE=eE.filter(function(e){return e!==a}),document.removeEventListener("wheel",c,ec),document.removeEventListener("touchmove",c,ec),document.removeEventListener("touchstart",d,ec)}},[]);var v=e.removeScrollBar,m=e.inert;return i.createElement(i.Fragment,null,m?i.createElement(a,{styles:"\n .block-interactivity-".concat(o," {pointer-events: none;}\n .allow-interactivity-").concat(o," {pointer-events: all;}\n")}):null,v?i.createElement(ei,{noRelative:e.noRelative,gapMode:e.gapMode}):null)},G.useMedium(r),z);var ew=i.forwardRef(function(e,t){return i.createElement(X,j({},e,{ref:t,sideCar:eb}))});ew.classNames=X.classNames;var eC=function(e){return"undefined"==typeof document?null:(Array.isArray(e)?e[0]:e).ownerDocument.body},eN=new WeakMap,eR=new WeakMap,eS={},ex=0,eO=function(e){return e&&(e.host||eO(e.parentNode))},eD=function(e,t,n,r){var o=(Array.isArray(e)?e:[e]).map(function(e){if(t.contains(e))return e;var n=eO(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});eS[n]||(eS[n]=new WeakMap);var a=eS[n],i=[],u=new Set,l=new Set(o),c=function(e){!e||u.has(e)||(u.add(e),c(e.parentNode))};o.forEach(c);var s=function(e){!e||l.has(e)||Array.prototype.forEach.call(e.children,function(e){if(u.has(e))s(e);else try{var t=e.getAttribute(r),o=null!==t&&"false"!==t,l=(eN.get(e)||0)+1,c=(a.get(e)||0)+1;eN.set(e,l),a.set(e,c),i.push(e),1===l&&o&&eR.set(e,!0),1===c&&e.setAttribute(n,"true"),o||e.setAttribute(r,"true")}catch(t){console.error("aria-hidden: cannot operate on ",e,t)}})};
1return s(t),u.clear(),ex++,function(){i.forEach(function(e){var t=eN.get(e)-1,o=a.get(e)-1;eN.set(e,t),a.set(e,o),t||(eR.has(e)||e.removeAttribute(r),eR.delete(e)),o||e.removeAttribute(n)}),--ex||(eN=new WeakMap,eN=new WeakMap,eR=new WeakMap,eS={})}},eT=function(e,t,n){void 0===n&&(n="data-aria-hidden");var r=Array.from(Array.isArray(e)?e:[e]),o=t||eC(e);return o?(r.push.apply(r,Array.from(o.querySelectorAll("[aria-live], script"))),eD(r,o,n,"aria-hidden")):function(){return null}},eP=n(73885),eL="Dialog",[eM,eA]=(0,c.A)(eL),[ek,eI]=eM(eL),ej=e=>{let{__scopeDialog:t,children:n,open:r,defaultOpen:o,onOpenChange:a,modal:u=!0}=e,l=i.useRef(null),c=i.useRef(null),[f,p]=(0,d.i)({prop:r,defaultProp:null!=o&&o,onChange:a,caller:eL});return(0,v.jsx)(ek,{scope:t,triggerRef:l,contentRef:c,contentId:(0,s.B)(),titleId:(0,s.B)(),descriptionId:(0,s.B)(),open:f,onOpenChange:p,onOpenToggle:i.useCallback(()=>p(e=>!e),[p]),modal:u,children:n})};ej.displayName=eL;var eF="DialogTrigger",e_=i.forwardRef((e,t)=>{let{__scopeDialog:n,...r}=e,o=eI(eF,n),a=(0,l.s)(t,o.triggerRef);return(0,v.jsx)(f.sG.button,{type:"button","aria-haspopup":"dialog","aria-expanded":o.open,"aria-controls":o.open?o.contentId:void 0,"data-state":e7(o.open),...r,ref:a,onClick:(0,u.mK)(e.onClick,o.onOpenToggle)})});e_.displayName=eF;var eW="DialogPortal",[eB,eK]=eM(eW,{forceMount:void 0}),eU=e=>{let{__scopeDialog:t,forceMount:n,children:r,container:o}=e,a=eI(eW,t);return(0,v.jsx)(eB,{scope:t,forceMount:n,children:i.Children.map(r,e=>(0,v.jsx)(M.C,{present:n||a.open,children:(0,v.jsx)(L,{asChild:!0,container:o,children:e})}))})};eU.displayName=eW;var e$="DialogOverlay",eG=i.forwardRef((e,t)=>{let n=eK(e$,e.__scopeDialog),{forceMount:r=n.forceMount,...o}=e,a=eI(e$,e.__scopeDialog);return a.modal?(0,v.jsx)(M.C,{present:r||a.open,children:(0,v.jsx)(eX,{...o,ref:t})}):null});eG.displayName=e$;var eY=(0,eP.TL)("DialogOverlay.RemoveScroll"),eX=i.forwardRef((e,t)=>{let{__scopeDialog:n,...r}=e,o=eI(e$,n);return(0,v.jsx)(ew,{as:eY,allowPinchZoom:!0,shards:[o.contentRef],children:(0,v.jsx)(f.sG.div,{"data-state":e7(o.open),...r,ref:t,style:{pointerEvents:"auto",...r.style}})})}),ez="DialogContent",eZ=i.forwardRef((e,t)=>{let n=eK(ez,e.__scopeDialog),{forceMount:r=n.forceMount,...o}=e,a=eI(ez,e.__scopeDialog);return(0,v.jsx)(M.C,{present:r||a.open,children:a.modal?(0,v.jsx)(eH,{...o,ref:t}):(0,v.jsx)(eq,{...o,ref:t})})});eZ.displayName=ez;var eH=i.forwardRef((e,t)=>{let n=eI(ez,e.__scopeDialog),r=i.useRef(null),o=(0,l.s)(t,n.contentRef,r);return i.useEffect(()=>{let e=r.current;if(e)return eT(e)},[]),(0,v.jsx)(eV,{...e,ref:o,trapFocus:n.open,disableOutsidePointerEvents:n.open,onCloseAutoFocus:(0,u.mK)(e.onCloseAutoFocus,e=>{var t;e.preventDefault(),null==(t=n.triggerRef.current)||t.focus()}),onPointerDownOutside:(0,u.mK)(e.onPointerDownOutside,e=>{let t=e.detail.originalEvent,n=0===t.button&&!0===t.ctrlKey;(2===t.button||n)&&e.preventDefault()}),onFocusOutside:(0,u.mK)(e.onFocusOutside,e=>e.preventDefault())})}),eq=i.forwardRef((e,t)=>{let n=eI(ez,e.__scopeDialog),r=i.useRef(!1),o=i.useRef(!1);return(0,v.jsx)(eV,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:t=>{var a,i;null==(a=e.onCloseAutoFocus)||a.call(e,t),t.defaultPrevented||(r.current||null==(i=n.triggerRef.current)||i.focus(),t.preventDefault()),r.current=!1,o.current=!1},onInteractOutside:t=>{var a,i;null==(a=e.onInteractOutside)||a.call(e,t),t.defaultPrevented||(r.current=!0,"pointerdown"===t.detail.originalEvent.type&&(o.current=!0));let u=t.target;(null==(i=n.triggerRef.current)?void 0:i.contains(u))&&t.preventDefault(),"focusin"===t.detail.originalEvent.type&&o.current&&t.preventDefault()}})}),eV=i.forwardRef((e,t)=>{let{__scopeDialog:n,trapFocus:r,onOpenAutoFocus:o,onCloseAutoFocus:a,...u}=e,c=eI(ez,n),s=i.useRef(null),d=(0,l.s)(t,s);return i.useEffect(()=>{k||(k={start:I(),end:I()});let{start:e,end:t}=k;return document.body.firstElementChild!==e&&document.body.insertAdjacentElement("afterbegin",e),document.body.lastElementChild!==t&&document.body.insertAdjacentElement("beforeend",t),A++,()=>{1===A&&(null==k||k.start.remove(),null==k||k.end.remove(),k=null),A=Math.max(0,A-1)}},[]),(0,v.jsxs)(v.Fragment,{children:[(0,v.jsx)(N,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:o,onUnmountAutoFocus:a,children:(0,v.jsx)(g,{role:"dialog",id:c.contentId,"aria-describedby":c.descriptionId,"aria-labelledby":c.titleId,"data-state":e7(c.open),...u,ref:d,onDismiss:()=>c.onOpenChange(!1)})}),(0,v.jsxs)(v.Fragment,{children:[(0,v.jsx)(e3,{titleId:c.titleId}),(0,v.jsx)(e9,{contentRef:s,descriptionId:c.descriptionId})]})]})}),eJ="DialogTitle",eQ=i.forwardRef((e,t)=>
1{let{__scopeDialog:n,...r}=e,o=eI(eJ,n);return(0,v.jsx)(f.sG.h2,{id:o.titleId,...r,ref:t})});eQ.displayName=eJ;var e0="DialogDescription",e1=i.forwardRef((e,t)=>{let{__scopeDialog:n,...r}=e,o=eI(e0,n);return(0,v.jsx)(f.sG.p,{id:o.descriptionId,...r,ref:t})});e1.displayName=e0;var e6="DialogClose",e4=i.forwardRef((e,t)=>{let{__scopeDialog:n,...r}=e,o=eI(e6,n);return(0,v.jsx)(f.sG.button,{type:"button",...r,ref:t,onClick:(0,u.mK)(e.onClick,()=>o.onOpenChange(!1))})});function e7(e){return e?"open":"closed"}e4.displayName=e6;var e5="DialogTitleWarning",[e2,e8]=(0,c.q)(e5,{contentName:ez,titleName:eJ,docsSlug:"dialog"}),e3=e=>{let{titleId:t}=e,n=e8(e5),r="`".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 i.useEffect(()=>{t&&(document.getElementById(t)||console.error(r))},[r,t]),null},e9=e=>{let{contentRef:t,descriptionId:n}=e,r=e8("DialogDescriptionWarning"),o="Warning: Missing `Description` or `aria-describedby={undefined}` for {".concat(r.contentName,"}.");return i.useEffect(()=>{var e;let r=null==(e=t.current)?void 0:e.getAttribute("aria-describedby");n&&r&&(document.getElementById(n)||console.warn(o))},[o,t,n]),null},te=ej,tt=e_,tn=eU,tr=eG,to=eZ,ta=eQ,ti=e1,tu=e4}}]);
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.