1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1561],{79205:function(e,n,t){t.d(n,{Z:function(){return u}});var r=t(2265);let o=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),i=function(){for(var e=arguments.length,n=Array(e),t=0;t<e;t++)n[t]=arguments[t];return n.filter((e,n,t)=>!!e&&t.indexOf(e)===n).join(" ")};var l={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};let a=(0,r.forwardRef)((e,n)=>{let{color:t="currentColor",size:o=24,strokeWidth:a=2,absoluteStrokeWidth:u,className:s="",children:d,iconNode:c,...f}=e;return(0,r.createElement)("svg",{ref:n,...l,width:o,height:o,stroke:t,strokeWidth:u?24*Number(a)/Number(o):a,className:i("lucide",s),...f},[...c.map(e=>{let[n,t]=e;return(0,r.createElement)(n,t)}),...Array.isArray(d)?d:[d]])}),u=(e,n)=>{let t=(0,r.forwardRef)((t,l)=>{let{className:u,...s}=t;return(0,r.createElement)(a,{ref:l,iconNode:n,className:i("lucide-".concat(o(e)),u),...s})});return t.displayName="".concat(e),t}},32489:function(e,n,t){t.d(n,{Z:function(){return r}});let r=(0,t(79205).Z)("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]])},70001:function(e,n,t){t.d(n,{x8:function(){return el},VY:function(){return er},dk:function(){return ei},aV:function(){return et},h_:function(){return en},fC:function(){return Q},Dx:function(){return eo},xz:function(){return ee}});var r=t(2265),o=t(6741),i=t(98575),l=t(73966),a=t(99255),u=t(80886),s=t(15278),d=t(99103),c=t(83832),f=t(71599),p=t(82912),m=t(86097),g=t(87922),v=t(5478),y=t(57437),h=Symbol("radix.slottable");function N(e){return r.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===h}var w="Dialog",[R,D]=(0,l.b)(w),[j,O]=R(w),b=e=>{let{__scopeDialog:n,children:t,open:o,defaultOpen:i,onOpenChange:l,modal:s=!0}=e,d=r.useRef(null),c=r.useRef(null),[f,p]=(0,u.T)({prop:o,defaultProp:null!=i&&i,onChange:l,caller:w});return(0,y.jsx)(j,{scope:n,triggerRef:d,contentRef:c,contentId:(0,a.M)(),titleId:(0,a.M)(),descriptionId:(0,a.M)(),open:f,onOpenChange:p,onOpenToggle:r.useCallback(()=>p(e=>!e),[p]),modal:s,children:t})};b.displayName=w;var x="DialogTrigger",C=r.forwardRef((e,n)=>{let{__scopeDialog:t,...r}=e,l=O(x,t),a=(0,i.e)(n,l.triggerRef);return(0,y.jsx)(p.WV.button,{type:"button","aria-haspopup":"dialog","aria-expanded":l.open,"aria-controls":l.contentId,"data-state":q(l.open),...r,ref:a,onClick:(0,o.Mj)(e.onClick,l.onOpenToggle)})});C.displayName=x;var E="DialogPortal",[I,M]=R(E,{forceMount:void 0}),_=e=>{let{__scopeDialog:n,forceMount:t,children:o,container:i}=e,l=O(E,n);return(0,y.jsx)(I,{scope:n,forceMount:t,children:r.Children.map(o,e=>(0,y.jsx)(f.z,{present:t||l.open,children:(0,y.jsx)(c.h,{asChild:!0,container:i,children:e})}))})};_.displayName=E;var A="DialogOverlay",k=r.forwardRef((e,n)=>{let t=M(A,e.__scopeDialog),{forceMount:r=t.forceMount,...o}=e,i=O(A,e.__scopeDialog);return i.modal?(0,y.jsx)(f.z,{present:r||i.open,children:(0,y.jsx)(F,{...o,ref:n})}):null});k.displayName=A;var T=function(e){let n=function(e){let n=r.forwardRef((e,n)=>{let{children:t,...o}=e;if(r.isValidElement(t)){let e,l;let a=(e=Object.getOwnPropertyDescriptor(t.props,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning?t.ref:(e=Object.getOwnPropertyDescriptor(t,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning?t.props.ref:t.props.ref||t.ref,u=function(e,n){let t={...n};for(let r in n){let o=e[r],i=n[r];/^on[A-Z]/.test(r)?o&&i?t[r]=(...e)=>{let n=i(...e);return o(...e),n}:o&&(t[r]=o):"style"===r?t[r]={...o,...i}:"className"===r&&(t[r]=[o,i].filter(Boolean).join(" "))}return{...e,...t}}(o,t.props);return t.type!==r.Fragment&&(u.ref=n?(0,i.F)(n,a):a),r.cloneElement(t,u)}return r.Children.count(t)>1?r.Children.only(null):null});return n.displayName=`${e}.SlotClone`,n}(e),t=r.forwardRef((e,t)=>{let{children:o,...i}=e,l=r.Children.toArray(o),a=l.find(N);if(a){let e=a.props.children,o=l.map(n=>n!==a?n:r.Children.count(e)>1?r.Children.only(null):r.isValidElement(e)?e.props.children:null);return(0,y.jsx)(n,{...i,ref:t,children:r.isValidElement(e)?r.cloneElement(e,void 0,o):null})}return(0,y.jsx)(n,{...i,ref:t,children:o})});return t.displayName=`${e}.Slot`,t}
1("DialogOverlay.RemoveScroll"),F=r.forwardRef((e,n)=>{let{__scopeDialog:t,...r}=e,o=O(A,t);return(0,y.jsx)(g.Z,{as:T,allowPinchZoom:!0,shards:[o.contentRef],children:(0,y.jsx)(p.WV.div,{"data-state":q(o.open),...r,ref:n,style:{pointerEvents:"auto",...r.style}})})}),W="DialogContent",P=r.forwardRef((e,n)=>{let t=M(W,e.__scopeDialog),{forceMount:r=t.forceMount,...o}=e,i=O(W,e.__scopeDialog);return(0,y.jsx)(f.z,{present:r||i.open,children:i.modal?(0,y.jsx)(S,{...o,ref:n}):(0,y.jsx)(V,{...o,ref:n})})});P.displayName=W;var S=r.forwardRef((e,n)=>{let t=O(W,e.__scopeDialog),l=r.useRef(null),a=(0,i.e)(n,t.contentRef,l);return r.useEffect(()=>{let e=l.current;if(e)return(0,v.Ry)(e)},[]),(0,y.jsx)(U,{...e,ref:a,trapFocus:t.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:(0,o.Mj)(e.onCloseAutoFocus,e=>{var n;e.preventDefault(),null===(n=t.triggerRef.current)||void 0===n||n.focus()}),onPointerDownOutside:(0,o.Mj)(e.onPointerDownOutside,e=>{let n=e.detail.originalEvent,t=0===n.button&&!0===n.ctrlKey;(2===n.button||t)&&e.preventDefault()}),onFocusOutside:(0,o.Mj)(e.onFocusOutside,e=>e.preventDefault())})}),V=r.forwardRef((e,n)=>{let t=O(W,e.__scopeDialog),o=r.useRef(!1),i=r.useRef(!1);return(0,y.jsx)(U,{...e,ref:n,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:n=>{var r,l;null===(r=e.onCloseAutoFocus)||void 0===r||r.call(e,n),n.defaultPrevented||(o.current||null===(l=t.triggerRef.current)||void 0===l||l.focus(),n.preventDefault()),o.current=!1,i.current=!1},onInteractOutside:n=>{var r,l;null===(r=e.onInteractOutside)||void 0===r||r.call(e,n),n.defaultPrevented||(o.current=!0,"pointerdown"!==n.detail.originalEvent.type||(i.current=!0));let a=n.target;(null===(l=t.triggerRef.current)||void 0===l?void 0:l.contains(a))&&n.preventDefault(),"focusin"===n.detail.originalEvent.type&&i.current&&n.preventDefault()}})}),U=r.forwardRef((e,n)=>{let{__scopeDialog:t,trapFocus:o,onOpenAutoFocus:l,onCloseAutoFocus:a,...u}=e,c=O(W,t),f=r.useRef(null),p=(0,i.e)(n,f);return(0,m.EW)(),(0,y.jsxs)(y.Fragment,{children:[(0,y.jsx)(d.M,{asChild:!0,loop:!0,trapped:o,onMountAutoFocus:l,onUnmountAutoFocus:a,children:(0,y.jsx)(s.XB,{role:"dialog",id:c.contentId,"aria-describedby":c.descriptionId,"aria-labelledby":c.titleId,"data-state":q(c.open),...u,ref:p,onDismiss:()=>c.onOpenChange(!1)})}),(0,y.jsxs)(y.Fragment,{children:[(0,y.jsx)(G,{titleId:c.titleId}),(0,y.jsx)(J,{contentRef:f,descriptionId:c.descriptionId})]})]})}),L="DialogTitle",Z=r.forwardRef((e,n)=>{let{__scopeDialog:t,...r}=e,o=O(L,t);return(0,y.jsx)(p.WV.h2,{id:o.titleId,...r,ref:n})});Z.displayName=L;var z="DialogDescription",B=r.forwardRef((e,n)=>{let{__scopeDialog:t,...r}=e,o=O(z,t);return(0,y.jsx)(p.WV.p,{id:o.descriptionId,...r,ref:n})});B.displayName=z;var $="DialogClose",X=r.forwardRef((e,n)=>{let{__scopeDialog:t,...r}=e,i=O($,t);return(0,y.jsx)(p.WV.button,{type:"button",...r,ref:n,onClick:(0,o.Mj)(e.onClick,()=>i.onOpenChange(!1))})});function q(e){return e?"open":"closed"}X.displayName=$;var H="DialogTitleWarning",[K,Y]=(0,l.k)(H,{contentName:W,titleName:L,docsSlug:"dialog"}),G=e=>{let{titleId:n}=e,t=Y(H),o="`".concat(t.contentName,"` requires a `").concat(t.titleName,"` for the component to be accessible for screen reader users.\n\nIf you want to hide the `").concat(t.titleName,"`, you can wrap it with our VisuallyHidden component.\n\nFor more information, see https://radix-ui.com/primitives/docs/components/").concat(t.docsSlug);return r.useEffect(()=>{n&&!document.getElementById(n)&&console.error(o)},[o,n]),null},J=e=>{let{contentRef:n,descriptionId:t}=e,o=Y("DialogDescriptionWarning"),i="Warning: Missing `Description` or `aria-describedby={undefined}` for {".concat(o.contentName,"}.");return r.useEffect(()=>{var e;let r=null===(e=n.current)||void 0===e?void 0:e.getAttribute("aria-describedby");t&&r&&!document.getElementById(t)&&console.warn(i)},[i,n,t]),null},Q=b,ee=C,en=_,et=k,er=P,eo=Z,ei=B,el=X},71599:function(e,n,t){t.d(n,{z:function(){return l}});var r=t(2265),o=t(98575),i=t(61188),l=e=>{var n,t;let l,u;let{present:s,children:d}=e,c=function(e){var n,t;let[o,l]=r.useState(),u=r.useRef(null),s=r.useRef(e),d=r.useRef("none"),[c,f]=(n=e?"mounted":"unmounted",t={mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}},r.useReducer((e,n)=>{let r=t[e][n];return null!=r?r:e},n));return r.useEffect(()=>{let e=a(u.current);d.current="mounted"===c?e:"none"},[c]),(0,i.b)(()=>{let n=u.current,t=s.current;if(t!==e){let r=d.current,o=a(n);e?f("MOUNT"):"none"===o||(null==n?void 0:n.display)==="none"?f("UNMOUNT"):t&&r!==o?f("ANIMATION_OUT"):f("UNMOUNT"),s.current=e}},[e,f]),(0,i.b)(()=>
1{if(o){var e;let n;let t=null!==(e=o.ownerDocument.defaultView)&&void 0!==e?e:window,r=e=>{let r=a(u.current).includes(CSS.escape(e.animationName));if(e.target===o&&r&&(f("ANIMATION_END"),!s.current)){let e=o.style.animationFillMode;o.style.animationFillMode="forwards",n=t.setTimeout(()=>{"forwards"===o.style.animationFillMode&&(o.style.animationFillMode=e)})}},i=e=>{e.target===o&&(d.current=a(u.current))};return o.addEventListener("animationstart",i),o.addEventListener("animationcancel",r),o.addEventListener("animationend",r),()=>{t.clearTimeout(n),o.removeEventListener("animationstart",i),o.removeEventListener("animationcancel",r),o.removeEventListener("animationend",r)}}f("ANIMATION_END")},[o,f]),{isPresent:["mounted","unmountSuspended"].includes(c),ref:r.useCallback(e=>{u.current=e?getComputedStyle(e):null,l(e)},[])}}(s),f="function"==typeof d?d({present:c.isPresent}):r.Children.only(d),p=(0,o.e)(c.ref,(l=null===(n=Object.getOwnPropertyDescriptor(f.props,"ref"))||void 0===n?void 0:n.get)&&"isReactWarning"in l&&l.isReactWarning?f.ref:(l=null===(t=Object.getOwnPropertyDescriptor(f,"ref"))||void 0===t?void 0:t.get)&&"isReactWarning"in l&&l.isReactWarning?f.props.ref:f.props.ref||f.ref);return"function"==typeof d||c.isPresent?r.cloneElement(f,{ref:p}):null};function a(e){return(null==e?void 0:e.animationName)||"none"}l.displayName="Presence"}}]);
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.