1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[24],{39456:(e,t,n)=>{n.d(t,{bm:()=>eF,UC:()=>ej,VY:()=>eA,hJ:()=>eI,ZL:()=>eM,bL:()=>ex,hE:()=>eS,l9:()=>ek});var r,o=n(60583),a=n(94019),l=n(52419),i=n(2482),s=n(67635),u=n(40087),c=n(66070),d=n(9367),f=n(61163),v=n(66831),p="dismissableLayer.update",m=o.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),h=o.forwardRef((e,t)=>{var n,i;let{disableOutsidePointerEvents:s=!1,onEscapeKeyDown:u,onPointerDownOutside:h,onFocusOutside:b,onInteractOutside:w,onDismiss:E,...C}=e,N=o.useContext(m),[R,D]=o.useState(null),O=null!=(i=null==R?void 0:R.ownerDocument)?i:null==(n=globalThis)?void 0:n.document,[,P]=o.useState({}),T=(0,l.s)(t,e=>D(e)),L=Array.from(N.layers),[x]=[...N.layersWithOutsidePointerEventsDisabled].slice(-1),k=L.indexOf(x),M=R?L.indexOf(R):-1,I=N.layersWithOutsidePointerEventsDisabled.size>0,j=M>=k,S=function(e){var t;let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null==(t=globalThis)?void 0:t.document,r=(0,d.c)(e),a=o.useRef(!1),l=o.useRef(()=>{});return o.useEffect(()=>{let e=e=>{if(e.target&&!a.current){let t=function(){y("dismissableLayer.pointerDownOutside",r,o,{discrete:!0})},o={originalEvent:e};"touch"===e.pointerType?(n.removeEventListener("click",l.current),l.current=t,n.addEventListener("click",l.current,{once:!0})):t()}else n.removeEventListener("click",l.current);a.current=!1},t=window.setTimeout(()=>{n.addEventListener("pointerdown",e)},0);return()=>{window.clearTimeout(t),n.removeEventListener("pointerdown",e),n.removeEventListener("click",l.current)}},[n,r]),{onPointerDownCapture:()=>a.current=!0}}(e=>{let t=e.target,n=[...N.branches].some(e=>e.contains(t));j&&!n&&(null==h||h(e),null==w||w(e),e.defaultPrevented||null==E||E())},O),A=function(e){var t;let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null==(t=globalThis)?void 0:t.document,r=(0,d.c)(e),a=o.useRef(!1);return o.useEffect(()=>{let e=e=>{e.target&&!a.current&&y("dismissableLayer.focusOutside",r,{originalEvent:e},{discrete:!1})};return n.addEventListener("focusin",e),()=>n.removeEventListener("focusin",e)},[n,r]),{onFocusCapture:()=>a.current=!0,onBlurCapture:()=>a.current=!1}}(e=>{let t=e.target;![...N.branches].some(e=>e.contains(t))&&(null==b||b(e),null==w||w(e),e.defaultPrevented||null==E||E())},O);return(0,f.U)(e=>{M===N.layers.size-1&&(null==u||u(e),!e.defaultPrevented&&E&&(e.preventDefault(),E()))},O),o.useEffect(()=>{if(R)return s&&(0===N.layersWithOutsidePointerEventsDisabled.size&&(r=O.body.style.pointerEvents,O.body.style.pointerEvents="none"),N.layersWithOutsidePointerEventsDisabled.add(R)),N.layers.add(R),g(),()=>{s&&1===N.layersWithOutsidePointerEventsDisabled.size&&(O.body.style.pointerEvents=r)}},[R,O,s,N]),o.useEffect(()=>()=>{R&&(N.layers.delete(R),N.layersWithOutsidePointerEventsDisabled.delete(R),g())},[R,N]),o.useEffect(()=>{let e=()=>P({});return document.addEventListener(p,e),()=>document.removeEventListener(p,e)},[]),(0,v.jsx)(c.sG.div,{...C,ref:T,style:{pointerEvents:I?j?"auto":"none":void 0,...e.style},onFocusCapture:(0,a.m)(e.onFocusCapture,A.onFocusCapture),onBlurCapture:(0,a.m)(e.onBlurCapture,A.onBlurCapture),onPointerDownCapture:(0,a.m)(e.onPointerDownCapture,S.onPointerDownCapture)})});function g(){let e=new CustomEvent(p);document.dispatchEvent(e)}function y(e,t,n,r){let{discrete:o}=r,a=n.originalEvent.target,l=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&a.addEventListener(e,t,{once:!0}),o?(0,c.hO)(a,l):a.dispatchEvent(l)}h.displayName="DismissableLayer",o.forwardRef((e,t)=>{let n=o.useContext(m),r=o.useRef(null),a=(0,l.s)(t,r);return o.useEffect(()=>{let e=r.current;if(e)return n.branches.add(e),()=>{n.branches.delete(e)}},[n.branches]),(0,v.jsx)(c.sG.div,{...e,ref:a})}).displayName="DismissableLayerBranch";var b=n(1401),w=n(18534),E=n(59269),C=o.forwardRef((e,t)=>{var n,r;let{container:a,...l}=e,[i,s]=o.useState(!1);(0,E.N)(()=>s(!0),[]);let u=a||i&&(null==(r=globalThis)||null==(n=r.document)?void 0:n.body);return u?w.createPortal((0,v.jsx)(c.sG.div,{...l,ref:t}),u):null});C.displayName="Portal";var N=e=>{let{present:t,children:n}=e,r=function(e){var t,n;
1let[r,a]=o.useState(),l=o.useRef({}),i=o.useRef(e),s=o.useRef("none"),[u,c]=(t=e?"mounted":"unmounted",n={mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}},o.useReducer((e,t)=>{let r=n[e][t];return null!=r?r:e},t));return o.useEffect(()=>{let e=R(l.current);s.current="mounted"===u?e:"none"},[u]),(0,E.N)(()=>{let t=l.current,n=i.current;if(n!==e){let r=s.current,o=R(t);e?c("MOUNT"):"none"===o||(null==t?void 0:t.display)==="none"?c("UNMOUNT"):n&&r!==o?c("ANIMATION_OUT"):c("UNMOUNT"),i.current=e}},[e,c]),(0,E.N)(()=>{if(r){var e;let t,n=null!=(e=r.ownerDocument.defaultView)?e:window,o=e=>{let o=R(l.current).includes(e.animationName);if(e.target===r&&o&&(c("ANIMATION_END"),!i.current)){let e=r.style.animationFillMode;r.style.animationFillMode="forwards",t=n.setTimeout(()=>{"forwards"===r.style.animationFillMode&&(r.style.animationFillMode=e)})}},a=e=>{e.target===r&&(s.current=R(l.current))};return r.addEventListener("animationstart",a),r.addEventListener("animationcancel",o),r.addEventListener("animationend",o),()=>{n.clearTimeout(t),r.removeEventListener("animationstart",a),r.removeEventListener("animationcancel",o),r.removeEventListener("animationend",o)}}c("ANIMATION_END")},[r,c]),{isPresent:["mounted","unmountSuspended"].includes(u),ref:o.useCallback(e=>{e&&(l.current=getComputedStyle(e)),a(e)},[])}}(t),a="function"==typeof n?n({present:r.isPresent}):o.Children.only(n),i=(0,l.s)(r.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}(a));return"function"==typeof n||r.isPresent?o.cloneElement(a,{ref:i}):null};function R(e){return(null==e?void 0:e.animationName)||"none"}N.displayName="Presence";var D=n(4154),O=n(2007),P=n(11677),T=n(16320),L=(0,n(44650).f)(),x=function(){},k=o.forwardRef(function(e,t){var n=o.useRef(null),r=o.useState({onScrollCapture:x,onWheelCapture:x,onTouchMoveCapture:x}),a=r[0],l=r[1],i=e.forwardProps,s=e.children,u=e.className,c=e.removeScrollBar,d=e.enabled,f=e.shards,v=e.sideCar,p=e.noIsolation,m=e.inert,h=e.allowPinchZoom,g=e.as,y=e.gapMode,b=(0,O.Tt)(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as","gapMode"]),w=(0,T.S)([n,t]),E=(0,O.Cl)((0,O.Cl)({},b),a);return o.createElement(o.Fragment,null,d&&o.createElement(v,{sideCar:L,removeScrollBar:c,shards:f,noIsolation:p,inert:m,setCallbacks:l,allowPinchZoom:!!h,lockRef:n,gapMode:y}),i?o.cloneElement(o.Children.only(s),(0,O.Cl)((0,O.Cl)({},E),{ref:w})):o.createElement(void 0===g?"div":g,(0,O.Cl)({},E,{className:u,ref:w}),s))});k.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},k.classNames={fullWidth:P.pN,zeroRight:P.Mi};var M=n(80608),I=n(79292),j=n(39864),S=!1;if("undefined"!=typeof window)try{var A=Object.defineProperty({},"passive",{get:function(){return S=!0,!0}});window.addEventListener("test",A,A),window.removeEventListener("test",A,A)}catch(e){S=!1}var F=!!S&&{passive:!1},_=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("undefined"!=typeof ShadowRoot&&r instanceof ShadowRoot&&(r=r.host),B(e,r)){var o=U(e,r);if(o[1]>o[2])return!0}r=r.parentNode}while(r&&r!==n.body);return!1},B=function(e,t){return"v"===e?_(t,"overflowY"):_(t,"overflowX")},U=function(e,t){return"v"===e?[t.scrollTop,t.scrollHeight,t.clientHeight]:[t.scrollLeft,t.scrollWidth,t.clientWidth]},X=function(e,t,n,r,o){var a,l=(a=window.getComputedStyle(t).direction,"h"===e&&"rtl"===a?-1:1),i=l*r,s=n.target,u=t.contains(s),c=!1,d=i>0,f=0,v=0;do{var p=U(e,s),m=p[0],h=p[1]-p[2]-l*m;(m||h)&&B(e,s)&&(f+=h,v+=m),s=s instanceof ShadowRoot?s.host:s.parentNode}while(!u&&s!==document.body||u&&(t.contains(s)||t===s));return d&&(o&&1>Math.abs(f)||!o&&i>f)?c=!0:!d&&(o&&1>Math.abs(v)||!o&&-i>v)&&(c=!0),c},G=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},Y=function(e){return[e.deltaX,e.deltaY]},Z=function(e){return e&&"current"in e?e.current:e},z=0,q=[];let H=(0,M.m)(L,function(e){var t=o.useRef([]),n=o.useRef([0,0]),r=o.useRef(),a=o.useState(z++)[0],l=o.useState(j.T0)[0],i=o.useRef(e);o.useEffect(function(){i.current=e},[e]),o.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(a));var t=(0,O.fX)([e.lockRef.current],(e.shards||[]).map(Z),!0).filter(
1Boolean);return t.forEach(function(e){return e.classList.add("allow-interactivity-".concat(a))}),function(){document.body.classList.remove("block-interactivity-".concat(a)),t.forEach(function(e){return e.classList.remove("allow-interactivity-".concat(a))})}}},[e.inert,e.lockRef.current,e.shards]);var s=o.useCallback(function(e,t){if("touches"in e&&2===e.touches.length||"wheel"===e.type&&e.ctrlKey)return!i.current.allowPinchZoom;var o,a=G(e),l=n.current,s="deltaX"in e?e.deltaX:l[0]-a[0],u="deltaY"in e?e.deltaY:l[1]-a[1],c=e.target,d=Math.abs(s)>Math.abs(u)?"h":"v";if("touches"in e&&"h"===d&&"range"===c.type)return!1;var f=W(d,c);if(!f)return!0;if(f?o=d:(o="v"===d?"h":"v",f=W(d,c)),!f)return!1;if(!r.current&&"changedTouches"in e&&(s||u)&&(r.current=o),!o)return!0;var v=r.current||o;return X(v,t,e,"h"===v?s:u,!0)},[]),u=o.useCallback(function(e){if(q.length&&q[q.length-1]===l){var n="deltaY"in e?Y(e):G(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(Z).filter(Boolean).filter(function(t){return t.contains(e.target)});(o.length>0?s(e,o[0]):!i.current.noIsolation)&&e.cancelable&&e.preventDefault()}}},[]),c=o.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=o.useCallback(function(e){n.current=G(e),r.current=void 0},[]),f=o.useCallback(function(t){c(t.type,Y(t),t.target,s(t,e.lockRef.current))},[]),v=o.useCallback(function(t){c(t.type,G(t),t.target,s(t,e.lockRef.current))},[]);o.useEffect(function(){return q.push(l),e.setCallbacks({onScrollCapture:f,onWheelCapture:f,onTouchMoveCapture:v}),document.addEventListener("wheel",u,F),document.addEventListener("touchmove",u,F),document.addEventListener("touchstart",d,F),function(){q=q.filter(function(e){return e!==l}),document.removeEventListener("wheel",u,F),document.removeEventListener("touchmove",u,F),document.removeEventListener("touchstart",d,F)}},[]);var p=e.removeScrollBar,m=e.inert;return o.createElement(o.Fragment,null,m?o.createElement(l,{styles:"\n .block-interactivity-".concat(a," {pointer-events: none;}\n .allow-interactivity-").concat(a," {pointer-events: all;}\n")}):null,p?o.createElement(I.jp,{gapMode:e.gapMode}):null)});var V=o.forwardRef(function(e,t){return o.createElement(k,(0,O.Cl)({},e,{ref:t,sideCar:H}))});V.classNames=k.classNames;var K=n(61566),J=n(39237),Q="Dialog",[$,ee]=(0,i.A)(Q),[et,en]=$(Q),er=e=>{let{__scopeDialog:t,children:n,open:r,defaultOpen:a,onOpenChange:l,modal:i=!0}=e,c=o.useRef(null),d=o.useRef(null),[f=!1,p]=(0,u.i)({prop:r,defaultProp:a,onChange:l});return(0,v.jsx)(et,{scope:t,triggerRef:c,contentRef:d,contentId:(0,s.B)(),titleId:(0,s.B)(),descriptionId:(0,s.B)(),open:f,onOpenChange:p,onOpenToggle:o.useCallback(()=>p(e=>!e),[p]),modal:i,children:n})};er.displayName=Q;var eo="DialogTrigger",ea=o.forwardRef((e,t)=>{let{__scopeDialog:n,...r}=e,o=en(eo,n),i=(0,l.s)(t,o.triggerRef);return(0,v.jsx)(c.sG.button,{type:"button","aria-haspopup":"dialog","aria-expanded":o.open,"aria-controls":o.contentId,"data-state":eR(o.open),...r,ref:i,onClick:(0,a.m)(e.onClick,o.onOpenToggle)})});ea.displayName=eo;var el="DialogPortal",[ei,es]=$(el,{forceMount:void 0}),eu=e=>{let{__scopeDialog:t,forceMount:n,children:r,container:a}=e,l=en(el,t);return(0,v.jsx)(ei,{scope:t,forceMount:n,children:o.Children.map(r,e=>(0,v.jsx)(N,{present:n||l.open,children:(0,v.jsx)(C,{asChild:!0,container:a,children:e})}))})};eu.displayName=el;var ec="DialogOverlay",ed=o.forwardRef((e,t)=>{let n=es(ec,e.__scopeDialog),{forceMount:r=n.forceMount,...o}=e,a=en(ec,e.__scopeDialog);return a.modal?(0,v.jsx)(N,{present:r||a.open,children:(0,v.jsx)(ef,{...o,ref:t})}):null});ed.displayName=ec;var ef=o.forwardRef((e,t)=>{let{__scopeDialog:n,...r}
1=e,o=en(ec,n);return(0,v.jsx)(V,{as:J.DX,allowPinchZoom:!0,shards:[o.contentRef],children:(0,v.jsx)(c.sG.div,{"data-state":eR(o.open),...r,ref:t,style:{pointerEvents:"auto",...r.style}})})}),ev="DialogContent",ep=o.forwardRef((e,t)=>{let n=es(ev,e.__scopeDialog),{forceMount:r=n.forceMount,...o}=e,a=en(ev,e.__scopeDialog);return(0,v.jsx)(N,{present:r||a.open,children:a.modal?(0,v.jsx)(em,{...o,ref:t}):(0,v.jsx)(eh,{...o,ref:t})})});ep.displayName=ev;var em=o.forwardRef((e,t)=>{let n=en(ev,e.__scopeDialog),r=o.useRef(null),i=(0,l.s)(t,n.contentRef,r);return o.useEffect(()=>{let e=r.current;if(e)return(0,K.Eq)(e)},[]),(0,v.jsx)(eg,{...e,ref:i,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:(0,a.m)(e.onCloseAutoFocus,e=>{var t;e.preventDefault(),null==(t=n.triggerRef.current)||t.focus()}),onPointerDownOutside:(0,a.m)(e.onPointerDownOutside,e=>{let t=e.detail.originalEvent,n=0===t.button&&!0===t.ctrlKey;(2===t.button||n)&&e.preventDefault()}),onFocusOutside:(0,a.m)(e.onFocusOutside,e=>e.preventDefault())})}),eh=o.forwardRef((e,t)=>{let n=en(ev,e.__scopeDialog),r=o.useRef(!1),a=o.useRef(!1);return(0,v.jsx)(eg,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:t=>{var o,l;null==(o=e.onCloseAutoFocus)||o.call(e,t),t.defaultPrevented||(r.current||null==(l=n.triggerRef.current)||l.focus(),t.preventDefault()),r.current=!1,a.current=!1},onInteractOutside:t=>{var o,l;null==(o=e.onInteractOutside)||o.call(e,t),t.defaultPrevented||(r.current=!0,"pointerdown"===t.detail.originalEvent.type&&(a.current=!0));let i=t.target;(null==(l=n.triggerRef.current)?void 0:l.contains(i))&&t.preventDefault(),"focusin"===t.detail.originalEvent.type&&a.current&&t.preventDefault()}})}),eg=o.forwardRef((e,t)=>{let{__scopeDialog:n,trapFocus:r,onOpenAutoFocus:a,onCloseAutoFocus:i,...s}=e,u=en(ev,n),c=o.useRef(null),d=(0,l.s)(t,c);return(0,D.Oh)(),(0,v.jsxs)(v.Fragment,{children:[(0,v.jsx)(b.n,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:a,onUnmountAutoFocus:i,children:(0,v.jsx)(h,{role:"dialog",id:u.contentId,"aria-describedby":u.descriptionId,"aria-labelledby":u.titleId,"data-state":eR(u.open),...s,ref:d,onDismiss:()=>u.onOpenChange(!1)})}),(0,v.jsxs)(v.Fragment,{children:[(0,v.jsx)(eT,{titleId:u.titleId}),(0,v.jsx)(eL,{contentRef:c,descriptionId:u.descriptionId})]})]})}),ey="DialogTitle",eb=o.forwardRef((e,t)=>{let{__scopeDialog:n,...r}=e,o=en(ey,n);return(0,v.jsx)(c.sG.h2,{id:o.titleId,...r,ref:t})});eb.displayName=ey;var ew="DialogDescription",eE=o.forwardRef((e,t)=>{let{__scopeDialog:n,...r}=e,o=en(ew,n);return(0,v.jsx)(c.sG.p,{id:o.descriptionId,...r,ref:t})});eE.displayName=ew;var eC="DialogClose",eN=o.forwardRef((e,t)=>{let{__scopeDialog:n,...r}=e,o=en(eC,n);return(0,v.jsx)(c.sG.button,{type:"button",...r,ref:t,onClick:(0,a.m)(e.onClick,()=>o.onOpenChange(!1))})});function eR(e){return e?"open":"closed"}eN.displayName=eC;var eD="DialogTitleWarning",[eO,eP]=(0,i.q)(eD,{contentName:ev,titleName:ey,docsSlug:"dialog"}),eT=e=>{let{titleId:t}=e,n=eP(eD),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 o.useEffect(()=>{t&&(document.getElementById(t)||console.error(r))},[r,t]),null},eL=e=>{let{contentRef:t,descriptionId:n}=e,r=eP("DialogDescriptionWarning"),a="Warning: Missing `Description` or `aria-describedby={undefined}` for {".concat(r.contentName,"}.");return o.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},ex=er,ek=ea,eM=eu,eI=ed,ej=ep,eS=eb,eA=eE,eF=eN},54361:(e,t,n)=>{n.d(t,{A:()=>r});let r=(0,n(39974).A)("x",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]])}}]);
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.