1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4371],{4371:function(e,t,n){n.d(t,{x8:function(){return eN},VY:function(){return eD},dk:function(){return ek},aV:function(){return ex},h_:function(){return eR},fC:function(){return eE},Dx:function(){return ej},xz:function(){return eC}});var r=n(13967),o=n(24757),a=n(31027),i=n(28562),l=n(84904),c=n(42920),u=n(54677),s=n(9800),d=n(81234),f=n(13285),p=n(58371),v=0;function h(){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 m=n(96084),g=n(41114),y=n(95492),w=(0,n(59735)._)(),b=function(){},E=r.forwardRef(function(e,t){var n=r.useRef(null),o=r.useState({onScrollCapture:b,onWheelCapture:b,onTouchMoveCapture:b}),a=o[0],i=o[1],l=e.forwardProps,c=e.children,u=e.className,s=e.removeScrollBar,d=e.enabled,f=e.shards,p=e.sideCar,v=e.noIsolation,h=e.inert,g=e.allowPinchZoom,E=e.as,C=e.gapMode,R=(0,m._T)(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as","gapMode"]),x=(0,y.q)([n,t]),D=(0,m.pi)((0,m.pi)({},R),a);return r.createElement(r.Fragment,null,d&&r.createElement(p,{sideCar:w,removeScrollBar:s,shards:f,noIsolation:v,inert:h,setCallbacks:i,allowPinchZoom:!!g,lockRef:n,gapMode:C}),l?r.cloneElement(r.Children.only(c),(0,m.pi)((0,m.pi)({},D),{ref:x})):r.createElement(void 0===E?"div":E,(0,m.pi)({},D,{className:u,ref:x}),c))});E.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},E.classNames={fullWidth:g.zi,zeroRight:g.pF};var C=n(95345),R=n(31524),x=n(32617),D=!1;if("undefined"!=typeof window)try{var j=Object.defineProperty({},"passive",{get:function(){return D=!0,!0}});window.addEventListener("test",j,j),window.removeEventListener("test",j,j)}catch(e){D=!1}var k=!!D&&{passive:!1},N=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])},M=function(e,t){var n=t.ownerDocument,r=t;do{if("undefined"!=typeof ShadowRoot&&r instanceof ShadowRoot&&(r=r.host),I(e,r)){var o=S(e,r);if(o[1]>o[2])return!0}r=r.parentNode}while(r&&r!==n.body);return!1},I=function(e,t){return"v"===e?N(t,"overflowY"):N(t,"overflowX")},S=function(e,t){return"v"===e?[t.scrollTop,t.scrollHeight,t.clientHeight]:[t.scrollLeft,t.scrollWidth,t.clientWidth]},P=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,u=t.contains(c),s=!1,d=l>0,f=0,p=0;do{var v=S(e,c),h=v[0],m=v[1]-v[2]-i*h;(h||m)&&I(e,c)&&(f+=m,p+=h),c instanceof ShadowRoot?c=c.host:c=c.parentNode}while(!u&&c!==document.body||u&&(t.contains(c)||t===c));return d&&(o&&1>Math.abs(f)||!o&&l>f)?s=!0:!d&&(o&&1>Math.abs(p)||!o&&-l>p)&&(s=!0),s},_=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},T=function(e){return[e.deltaX,e.deltaY]},F=function(e){return e&&"current"in e?e.current:e},O=0,A=[],L=(0,C.L)(w,function(e){var t=r.useRef([]),n=r.useRef([0,0]),o=r.useRef(),a=r.useState(O++)[0],i=r.useState(x.Ws)[0],l=r.useRef(e);r.useEffect(function(){l.current=e},[e]),r.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(a));var t=(0,m.ev)([e.lockRef.current],(e.shards||[]).map(F),!0).filter(Boolean);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 c=r.useCallback(function(e,t){if("touches"in e&&2===e.touches.length||"wheel"===e.type&&e.ctrlKey)return!l.current.allowPinchZoom;var r,a=_(e),i=n.current,c="deltaX"in e?e.deltaX:i[0]-a[0],u="deltaY"in e?e.deltaY:i[1]-a[1],s=e.target,d=Math.abs(c)>Math.abs(u)?"h":"v";if("touches"in e&&"h"===d&&"range"===s.type)return!1;var f=M(d,s);if(!f)return!0;
1if(f?r=d:(r="v"===d?"h":"v",f=M(d,s)),!f)return!1;if(!o.current&&"changedTouches"in e&&(c||u)&&(o.current=r),!r)return!0;var p=o.current||r;return P(p,t,e,"h"===p?c:u,!0)},[]),u=r.useCallback(function(e){if(A.length&&A[A.length-1]===i){var n="deltaY"in e?T(e):_(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)[0]===n[0]&&r[1]===n[1]})[0];if(r&&r.should){e.cancelable&&e.preventDefault();return}if(!r){var o=(l.current.shards||[]).map(F).filter(Boolean).filter(function(t){return t.contains(e.target)});(o.length>0?c(e,o[0]):!l.current.noIsolation)&&e.cancelable&&e.preventDefault()}}},[]),s=r.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=r.useCallback(function(e){n.current=_(e),o.current=void 0},[]),f=r.useCallback(function(t){s(t.type,T(t),t.target,c(t,e.lockRef.current))},[]),p=r.useCallback(function(t){s(t.type,_(t),t.target,c(t,e.lockRef.current))},[]);r.useEffect(function(){return A.push(i),e.setCallbacks({onScrollCapture:f,onWheelCapture:f,onTouchMoveCapture:p}),document.addEventListener("wheel",u,k),document.addEventListener("touchmove",u,k),document.addEventListener("touchstart",d,k),function(){A=A.filter(function(e){return e!==i}),document.removeEventListener("wheel",u,k),document.removeEventListener("touchmove",u,k),document.removeEventListener("touchstart",d,k)}},[]);var v=e.removeScrollBar,h=e.inert;return r.createElement(r.Fragment,null,h?r.createElement(i,{styles:"\n .block-interactivity-".concat(a," {pointer-events: none;}\n .allow-interactivity-").concat(a," {pointer-events: all;}\n")}):null,v?r.createElement(R.jp,{gapMode:e.gapMode}):null)}),W=r.forwardRef(function(e,t){return r.createElement(E,(0,m.pi)({},e,{ref:t,sideCar:L}))});W.classNames=E.classNames;var B=n(79672),V=n(12112),X=n(77107),Y="Dialog",[z,Z]=(0,i.b)(Y),[q,H]=z(Y),K=e=>{let{__scopeDialog:t,children:n,open:o,defaultOpen:a,onOpenChange:i,modal:u=!0}=e,s=r.useRef(null),d=r.useRef(null),[f=!1,p]=(0,c.T)({prop:o,defaultProp:a,onChange:i});return(0,X.jsx)(q,{scope:t,triggerRef:s,contentRef:d,contentId:(0,l.M)(),titleId:(0,l.M)(),descriptionId:(0,l.M)(),open:f,onOpenChange:p,onOpenToggle:r.useCallback(()=>p(e=>!e),[p]),modal:u,children:n})};K.displayName=Y;var U="DialogTrigger",G=r.forwardRef((e,t)=>{let{__scopeDialog:n,...r}=e,i=H(U,n),l=(0,a.e)(t,i.triggerRef);return(0,X.jsx)(p.WV.button,{type:"button","aria-haspopup":"dialog","aria-expanded":i.open,"aria-controls":i.contentId,"data-state":eh(i.open),...r,ref:l,onClick:(0,o.M)(e.onClick,i.onOpenToggle)})});G.displayName=U;var J="DialogPortal",[Q,$]=z(J,{forceMount:void 0}),ee=e=>{let{__scopeDialog:t,forceMount:n,children:o,container:a}=e,i=H(J,t);return(0,X.jsx)(Q,{scope:t,forceMount:n,children:r.Children.map(o,e=>(0,X.jsx)(f.z,{present:n||i.open,children:(0,X.jsx)(d.h,{asChild:!0,container:a,children:e})}))})};ee.displayName=J;var et="DialogOverlay",en=r.forwardRef((e,t)=>{let n=$(et,e.__scopeDialog),{forceMount:r=n.forceMount,...o}=e,a=H(et,e.__scopeDialog);return a.modal?(0,X.jsx)(f.z,{present:r||a.open,children:(0,X.jsx)(er,{...o,ref:t})}):null});en.displayName=et;var er=r.forwardRef((e,t)=>{let{__scopeDialog:n,...r}=e,o=H(et,n);return(0,X.jsx)(W,{as:V.g7,allowPinchZoom:!0,shards:[o.contentRef],children:(0,X.jsx)(p.WV.div,{"data-state":eh(o.open),...r,ref:t,style:{pointerEvents:"auto",...r.style}})})}),eo="DialogContent",ea=r.forwardRef((e,t)=>{let n=$(eo,e.__scopeDialog),{forceMount:r=n.forceMount,...o}=e,a=H(eo,e.__scopeDialog);return(0,X.jsx)(f.z,{present:r||a.open,children:a.modal?(0,X.jsx)(ei,{...o,ref:t}):(0,X.jsx)(el,{...o,ref:t})})});ea.displayName=eo;var ei=r.forwardRef((e,t)=>{let n=H(eo,e.__scopeDialog),i=r.useRef(null),l=(0,a.e)(t,n.contentRef,i);return r.useEffect(()=>{let e=i.current;if(e)return(0,B.Ry)(e)},[]),(0,X.jsx)(ec,{...e,ref:l,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:(0,o.M)(e.onCloseAutoFocus,e=>{var t;e.preventDefault(),null===(t=n.triggerRef.current)||void 0===t||t.focus()}),onPointerDownOutside:(0,o.M)(e.onPointerDownOutside,e=>{let t=e.detail.originalEvent,n=0===t.button&&!0===t.ctrlKey;(2===t.button||n)&&e.preventDefault()}),onFocusOutside:(0,o.M)(e.onFocusOutside,e=>e.preventDefault())})}),el=r.forwardRef((e,t)=>
1{let n=H(eo,e.__scopeDialog),o=r.useRef(!1),a=r.useRef(!1);return(0,X.jsx)(ec,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:t=>{var r,i;null===(r=e.onCloseAutoFocus)||void 0===r||r.call(e,t),t.defaultPrevented||(o.current||null===(i=n.triggerRef.current)||void 0===i||i.focus(),t.preventDefault()),o.current=!1,a.current=!1},onInteractOutside:t=>{var r,i;null===(r=e.onInteractOutside)||void 0===r||r.call(e,t),t.defaultPrevented||(o.current=!0,"pointerdown"!==t.detail.originalEvent.type||(a.current=!0));let l=t.target;(null===(i=n.triggerRef.current)||void 0===i?void 0:i.contains(l))&&t.preventDefault(),"focusin"===t.detail.originalEvent.type&&a.current&&t.preventDefault()}})}),ec=r.forwardRef((e,t)=>{let{__scopeDialog:n,trapFocus:o,onOpenAutoFocus:i,onCloseAutoFocus:l,...c}=e,d=H(eo,n),f=r.useRef(null),p=(0,a.e)(t,f);return r.useEffect(()=>{var e,t;let n=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",null!==(e=n[0])&&void 0!==e?e:h()),document.body.insertAdjacentElement("beforeend",null!==(t=n[1])&&void 0!==t?t:h()),v++,()=>{1===v&&document.querySelectorAll("[data-radix-focus-guard]").forEach(e=>e.remove()),v--}},[]),(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(s.M,{asChild:!0,loop:!0,trapped:o,onMountAutoFocus:i,onUnmountAutoFocus:l,children:(0,X.jsx)(u.XB,{role:"dialog",id:d.contentId,"aria-describedby":d.descriptionId,"aria-labelledby":d.titleId,"data-state":eh(d.open),...c,ref:p,onDismiss:()=>d.onOpenChange(!1)})}),(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(ew,{titleId:d.titleId}),(0,X.jsx)(eb,{contentRef:f,descriptionId:d.descriptionId})]})]})}),eu="DialogTitle",es=r.forwardRef((e,t)=>{let{__scopeDialog:n,...r}=e,o=H(eu,n);return(0,X.jsx)(p.WV.h2,{id:o.titleId,...r,ref:t})});es.displayName=eu;var ed="DialogDescription",ef=r.forwardRef((e,t)=>{let{__scopeDialog:n,...r}=e,o=H(ed,n);return(0,X.jsx)(p.WV.p,{id:o.descriptionId,...r,ref:t})});ef.displayName=ed;var ep="DialogClose",ev=r.forwardRef((e,t)=>{let{__scopeDialog:n,...r}=e,a=H(ep,n);return(0,X.jsx)(p.WV.button,{type:"button",...r,ref:t,onClick:(0,o.M)(e.onClick,()=>a.onOpenChange(!1))})});function eh(e){return e?"open":"closed"}ev.displayName=ep;var em="DialogTitleWarning",[eg,ey]=(0,i.k)(em,{contentName:eo,titleName:eu,docsSlug:"dialog"}),ew=e=>{let{titleId:t}=e,n=ey(em),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},eb=e=>{let{contentRef:t,descriptionId:n}=e,o=ey("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?void 0:e.getAttribute("aria-describedby");n&&r&&!document.getElementById(n)&&console.warn(a)},[a,t,n]),null},eE=K,eC=G,eR=ee,ex=en,eD=ea,ej=es,ek=ef,eN=ev}}]);
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.