1;!function(){try { var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof global?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&((e._debugIds|| (e._debugIds={}))[n]="629f19cc-e296-b364-84c8-fd03952a2f86")}catch(e){}}(); 2(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,64592,e=>{"use strict";var t=e.i(191788),n=e.i(776833),o=t[" useId ".trim().toString()]||(()=>void 0),r=0;e.s(["useId",0,function(e){let[a,i]=t.useState(o());return(0,n.useLayoutEffect)(()=>{e||i(e=>e??String(r++))},[e]),e||(a?`radix-${a}`:"")}])},592893,e=>{"use strict";let t;var n=e.i(191788),o=e.i(357006),r=e.i(674534),a=e.i(998657),i=e.i(391398),l="focusScope.autoFocusOnMount",s="focusScope.autoFocusOnUnmount",c={bubbles:!1,cancelable:!0},d=n.forwardRef((e,t)=>{let{loop:d=!1,trapped:v=!1,onMountAutoFocus:y,onUnmountAutoFocus:g,...h}=e,[x,b]=n.useState(null),E=(0,a.useCallbackRef)(y),w=(0,a.useCallbackRef)(g),C=n.useRef(null),N=(0,o.useComposedRefs)(t,e=>b(e)),D=n.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;n.useEffect(()=>{if(v){let e=function(e){if(D.paused||!x)return;let t=e.target;x.contains(t)?C.current=t:p(C.current,{select:!0})},t=function(e){if(D.paused||!x)return;let t=e.relatedTarget;null!==t&&(x.contains(t)||p(C.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&&p(x)});return x&&n.observe(x,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",e),document.removeEventListener("focusout",t),n.disconnect()}}},[v,x,D.paused]),n.useEffect(()=>{if(x){m.add(D);let e=document.activeElement;if(!x.contains(e)){let t=new CustomEvent(l,c);x.addEventListener(l,E),x.dispatchEvent(t),t.defaultPrevented||(function(e,{select:t=!1}={}){let n=document.activeElement;for(let o of e)if(p(o,{select:t}),document.activeElement!==n)return}(u(x).filter(e=>"A"!==e.tagName),{select:!0}),document.activeElement===e&&p(x))}return()=>{x.removeEventListener(l,E),setTimeout(()=>{let t=new CustomEvent(s,c);x.addEventListener(s,w),x.dispatchEvent(t),t.defaultPrevented||p(e??document.body,{select:!0}),x.removeEventListener(s,w),m.remove(D)},0)}}},[x,E,w,D]);let R=n.useCallback(e=>{if(!d&&!v||D.paused)return;let t="Tab"===e.key&&!e.altKey&&!e.ctrlKey&&!e.metaKey,n=document.activeElement;if(t&&n){var o;let t,r=e.currentTarget,[a,i]=[f(t=u(o=r),o),f(t.reverse(),o)];a&&i?e.shiftKey||n!==i?e.shiftKey&&n===a&&(e.preventDefault(),d&&p(i,{select:!0})):(e.preventDefault(),d&&p(a,{select:!0})):n===r&&e.preventDefault()}},[d,v,D.paused]);return(0,i.jsx)(r.Primitive.div,{tabIndex:-1,...h,ref:N,onKeyDown:R})});function u(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 f(e,t){for(let n of e)if(!function(e,{upTo:t}){if("hidden"===getComputedStyle(e).visibility)return!0;for(;e&&(void 0===t||e!==t);){if("none"===getComputedStyle(e).display)return!0;e=e.parentElement}return!1}(n,{upTo:t}))return n}function p(e,{select:t=!1}={}){if(e&&e.focus){var n;let o=document.activeElement;e.focus({preventScroll:!0}),e!==o&&(n=e)instanceof HTMLInputElement&&"select"in n&&t&&e.select()}}d.displayName="FocusScope";var m=(t=[],{add(e){let n=t[0];e!==n&&n?.pause(),(t=v(t,e)).unshift(e)},remove(e){t=v(t,e),t[0]?.resume()}});function v(e,t){let n=[...e],o=n.indexOf(t);return -1!==o&&n.splice(o,1),n}e.s(["FocusScope",0,d])},908525,e=>{"use strict";var t=e.i(191788),n=0;function o(){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}e.s(["useFocusGuards",0,function(){t.useEffect(()=>{let e=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",e[0]??o()),document.body.insertAdjacentElement("beforeend",e[1]??o()),n++,()=>{1===n&&document.querySelectorAll("[data-radix-focus-guard]").forEach(e
2=>e.remove()),n--}},[])}])},369131,e=>{"use strict";var t=new WeakMap,n=new WeakMap,o={},r=0,a=function(e){return e&&(e.host||a(e.parentNode))},i=function(e,i,l,s){var c=(Array.isArray(e)?e:[e]).map(function(e){if(i.contains(e))return e;var t=a(e);return t&&i.contains(t)?t:(console.error("aria-hidden",e,"in not contained inside",i,". Doing nothing"),null)}).filter(function(e){return!!e});o[l]||(o[l]=new WeakMap);var d=o[l],u=[],f=new Set,p=new Set(c),m=function(e){!e||f.has(e)||(f.add(e),m(e.parentNode))};c.forEach(m);var v=function(e){!e||p.has(e)||Array.prototype.forEach.call(e.children,function(e){if(f.has(e))v(e);else try{var o=e.getAttribute(s),r=null!==o&&"false"!==o,a=(t.get(e)||0)+1,i=(d.get(e)||0)+1;t.set(e,a),d.set(e,i),u.push(e),1===a&&r&&n.set(e,!0),1===i&&e.setAttribute(l,"true"),r||e.setAttribute(s,"true")}catch(t){console.error("aria-hidden: cannot operate on ",e,t)}})};return v(i),f.clear(),r++,function(){u.forEach(function(e){var o=t.get(e)-1,r=d.get(e)-1;t.set(e,o),d.set(e,r),o||(n.has(e)||e.removeAttribute(s),n.delete(e)),r||e.removeAttribute(l)}),--r||(t=new WeakMap,t=new WeakMap,n=new WeakMap,o={})}};e.s(["hideOthers",0,function(e,t,n){void 0===n&&(n="data-aria-hidden");var o=Array.from(Array.isArray(e)?e:[e]),r=t||("u"<typeof document?null:(Array.isArray(e)?e[0]:e).ownerDocument.body);return r?(o.push.apply(o,Array.from(r.querySelectorAll("[aria-live], script"))),i(o,r,n,"aria-hidden")):function(){return null}}])},551836,e=>{"use strict";let t=(0,e.i(369547).default)("ChevronLeft",[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]]);e.s(["ChevronLeft",0,t],551836)},245651,e=>{"use strict";var t=e.i(391398),n=e.i(261576),o=e.i(191788),r=e.i(551836),a=e.i(868462),i=e.i(353533);let l="var(--center-modal-radius)",s="rounded-[var(--center-modal-radius)]",c=(0,o.forwardRef)((e,o)=>{let r,a,l,c,d=(0,n.c)(9);return d[0]!==e?({className:r,...a}=e,d[0]=e,d[1]=r,d[2]=a):(r=d[1],a=d[2]),d[3]!==r?(l=(0,i.cn)(s,r),d[3]=r,d[4]=l):l=d[4],d[5]!==a||d[6]!==o||d[7]!==l?(c=(0,t.jsx)("div",{ref:o,"data-ui":"center-modal-container",className:l,...a}),d[5]=a,d[6]=o,d[7]=l,d[8]=c):c=d[8],c});c.displayName="CenterModalContainer",e.s(["CENTER_MODAL_DESKTOP_WIDTH_CLASS_NAME",0,"w-[420px] max-w-[calc(100vw-32px)]","CENTER_MODAL_PANEL_MAX_WIDTH_CLASS_NAME",0,"w-full max-w-[420px]","CENTER_MODAL_RADIUS",0,l,"CENTER_MODAL_SURFACE_CLASS_NAME",0,s,"CenterModalContainer",0,c,"CenterModalHeader",0,function(e){let o,l,s,c,d,u,f=(0,n.c)(20),{className:p,closeLabel:m,inline:v,isMobile:y,onClose:g,title:h,titleClassName:x}=e,b=void 0===m?"Close":m,E=void 0!==y&&y&&!(void 0!==v&&v);return f[0]!==p?(o=(0,i.cn)("flex shrink-0 items-center justify-between p-4",p),f[0]=p,f[1]=o):o=f[1],f[2]!==b||f[3]!==E||f[4]!==g?(l=E?(0,t.jsx)("button",{type:"button",className:"flex cursor-pointer items-center text-[hsl(var(--foreground))] transition-opacity hover:opacity-70",onClick:g,"aria-label":b,children:(0,t.jsx)(r.ChevronLeft,{className:"h-5 w-5"})}):(0,t.jsx)("div",{className:"w-5"}),f[2]=b,f[3]=E,f[4]=g,f[5]=l):l=f[5],f[6]!==x?(s=(0,i.cn)("min-w-0 truncate font-semibold leading-tight text-[hsl(var(--foreground))]",x),f[6]=x,f[7]=s):s=f[7],f[8]!==s||f[9]!==h?(c=(0,t.jsx)("div",{className:s,children:h}),f[8]=s,f[9]=h,f[10]=c):c=f[10],f[11]!==b||f[12]!==E||f[13]!==g?(d=E?(0,t.jsx)("div",{className:"w-5"}):(0,t.jsx)("button",{type:"button",className:"flex cursor-pointer items-center text-[hsl(var(--foreground))] transition-opacity hover:opacity-70",onClick:g,"aria-label":b,children:(0,t.jsx)(a.X,{className:"h-5 w-5"})}),f[11]=b,f[12]=E,f[13]=g,f[14]=d):d=f[14],f[15]!==o||f[16]!==l||f[17]!==c||f[18]!==d?(u=(0,t.jsxs)("div",{"data-ui":"center-modal-header",className:o,children:[l,c,d]}),f[15]=o,f[16]=l,f[17]=c,f[18]=d,f[19]=u):u=f[19],u},"centerModalRadiusStyle",0,function(e=!1){return{borderRadius:function(e=!1){return e?0:l}(e)}}])},642089,13553,237686,476666,33902,e=>{"use strict";e.i(391398);var t=e.i(261576),n=e.i(191788);e.i(730943);var o=e.i(459632);let r={lightboxSheet:{content:o.Z.lightboxSheet,overlay:o.Z.lightboxSheetBackdrop},companionEditor:{content:o.Z.companionEditor,overlay:o.Z.companionEditor-1},modal:{content:o.Z.modal,overlay:o.Z.modal-1},confirm:{content:o.Z.confirmAlert,overlay:o.Z.confirmAlert-1},popover:{content:o.Z.popover,overlay:o.Z.popover-1}},a=(0,n.createContext)(0);e.s(["LayerHostContext",0,a,"useLayerZOptional",0,function(e){let o,i=(0,t.c)(3),l=(0,n.useContext)(a);
2return i[0]!==l||i[1]!==e?(o=e?function(e,t){let{content:n,overlay:o}=r[e];if(t<=0||t+10<=n)return{content:n,overlay:o,hostValue:n};let a=t+10;return{content:a,overlay:a-1,hostValue:a}}(e,l):void 0,i[0]=l,i[1]=e,i[2]=o):o=i[2],o}],13553);let i=0,l=null;function s(){0==(i-=1)&&function(){if(!l)return;let e=document.documentElement,t=document.body,n=document.getElementById("__next");e.style.overflow=l.htmlOverflow,t.style.position=l.bodyPosition,t.style.top=l.bodyTop,t.style.left=l.bodyLeft,t.style.right=l.bodyRight,t.style.overflow=l.bodyOverflow,n&&(n.style.overflow=l.nextOverflow);let o=l.scrollY;l=null,window.scrollTo(0,o)}()}e.s(["useScrollLock",0,function(e){let o,r,a=(0,t.c)(3);a[0]!==e?(o=()=>{if(e){let e,t,n,o;return 0===i&&(e=document.documentElement,t=document.body,n=document.getElementById("__next"),l={scrollY:o=window.scrollY,htmlOverflow:e.style.overflow,bodyPosition:t.style.position,bodyTop:t.style.top,bodyLeft:t.style.left,bodyRight:t.style.right,bodyOverflow:t.style.overflow,nextOverflow:n?n.style.overflow:""},e.style.overflow="hidden",t.style.position="fixed",t.style.top=`-${o}px`,t.style.left="0",t.style.right="0",t.style.overflow="hidden",n&&(n.style.overflow="hidden")),i+=1,s}},r=[e],a[0]=e,a[1]=o,a[2]=r):(o=a[1],r=a[2]),(0,n.useEffect)(o,r)}],237686);let c=new Map;e.s(["useFocusTrap",0,function(e,o){let r,a,i=(0,t.c)(4);i[0]!==e||i[1]!==o?(r=()=>{let t;if(!e)return;let n=o.current;if(!n)return;let r=(c.set(n,(c.get(n)??0)+1),t=!1,()=>{if(t)return;t=!0;let e=(c.get(n)??1)-1;e<=0?c.delete(n):c.set(n,e)}),a=()=>(function(e){for(let t of c.keys())if(t!==e&&e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_FOLLOWING)return!1;return!0})(n),i=document.activeElement,l=()=>Array.from(n.querySelectorAll('a[href], button:not([disabled]), textarea:not([disabled]), input:not([disabled]), select:not([disabled]), [tabindex]:not([tabindex="-1"])'));a()&&(l()[0]??n).focus();let s=e=>{if("Tab"!==e.key||!a())return;let t=l();if(0===t.length){e.preventDefault(),n.focus();return}let o=t[0],r=t[t.length-1],i=document.activeElement;e.shiftKey&&i===o?(e.preventDefault(),r.focus()):e.shiftKey||i!==r?i&&!n.contains(i)&&(e.preventDefault(),o.focus()):(e.preventDefault(),o.focus())};return document.addEventListener("keydown",s),()=>{document.removeEventListener("keydown",s),r(),i?.focus?.()}},a=[e,o],i[0]=e,i[1]=o,i[2]=r,i[3]=a):(r=i[2],a=i[3]),(0,n.useEffect)(r,a)}],476666),e.i(350461),e.s(["useStackingContextGuard",0,function(e,o,r){let a,i,l=(0,t.c)(5),s=void 0===r||r;l[0]!==s||l[1]!==o||l[2]!==e?(a=()=>{},i=[e,o,s],l[0]=s,l[1]=o,l[2]=e,l[3]=a,l[4]=i):(a=l[3],i=l[4]),(0,n.useEffect)(a,i)}],33902),e.s([],642089)},135598,e=>{"use strict";let t,n,o;var r=e.i(191788),a=e.i(671185),i=e.i(357006),l=e.i(479293),s=e.i(64592),c=e.i(55037),d=e.i(64899),u=e.i(592893),f=e.i(437767),p=e.i(993953),m=e.i(674534),v=e.i(908525),y=e.i(865823),g=e.i(369131),h=e.i(391398),x=Symbol("radix.slottable");function b(e){return r.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===x}var E="Dialog",[w,C]=(0,l.createContextScope)(E),[N,D]=w(E),R=e=>{let{__scopeDialog:t,children:n,open:o,defaultOpen:a,onOpenChange:i,modal:l=!0}=e,d=r.useRef(null),u=r.useRef(null),[f,p]=(0,c.useControllableState)({prop:o,defaultProp:a??!1,onChange:i,caller:E});return(0,h.jsx)(N,{scope:t,triggerRef:d,contentRef:u,contentId:(0,s.useId)(),titleId:(0,s.useId)(),descriptionId:(0,s.useId)(),open:f,onOpenChange:p,onOpenToggle:r.useCallback(()=>p(e=>!e),[p]),modal:l,children:n})};R.displayName=E;var A="DialogTrigger",j=r.forwardRef((e,t)=>{let{__scopeDialog:n,...o}=e,r=D(A,n),l=(0,i.useComposedRefs)(t,r.triggerRef);return(0,h.jsx)(m.Primitive.button,{type:"button","aria-haspopup":"dialog","aria-expanded":r.open,"aria-controls":r.contentId,"data-state":z(r.open),...o,ref:l,onClick:(0,a.composeEventHandlers)(e.onClick,r.onOpenToggle)})});j.displayName=A;var S="DialogPortal",[O,_]=w(S,{forceMount:void 0}),I=e=>{let{__scopeDialog:t,forceMount:n,children:o,container:a}=e,i=D(S,t);return(0,h.jsx)(O,{scope:t,forceMount:n,children:r.Children.map(o,e=>(0,h.jsx)(p.Presence,{present:n||i.open,children:(0,h.jsx)(f.Portal,{asChild:!0,container:a,children:e})}))})};I.displayName=S;var T="DialogOverlay",L=r.forwardRef((e,t)=>
2{let n=_(T,e.__scopeDialog),{forceMount:o=n.forceMount,...r}=e,a=D(T,e.__scopeDialog);return a.modal?(0,h.jsx)(p.Presence,{present:o||a.open,children:(0,h.jsx)(F,{...r,ref:t})}):null});L.displayName=T;var P=((o=r.forwardRef((e,t)=>{let{children:n,...o}=e;if(r.isValidElement(n)){var a;let e,l,s=(a=n,(l=(e=Object.getOwnPropertyDescriptor(a.props,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?a.ref:(l=(e=Object.getOwnPropertyDescriptor(a,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?a.props.ref:a.props.ref||a.ref),c=function(e,t){let n={...t};for(let o in t){let r=e[o],a=t[o];/^on[A-Z]/.test(o)?r&&a?n[o]=(...e)=>{let t=a(...e);return r(...e),t}:r&&(n[o]=r):"style"===o?n[o]={...r,...a}:"className"===o&&(n[o]=[r,a].filter(Boolean).join(" "))}return{...e,...n}}(o,n.props);return n.type!==r.Fragment&&(c.ref=t?(0,i.composeRefs)(t,s):s),r.cloneElement(n,c)}return r.Children.count(n)>1?r.Children.only(null):null})).displayName="DialogOverlay.RemoveScroll.SlotClone",t=o,(n=r.forwardRef((e,n)=>{let{children:o,...a}=e,i=r.Children.toArray(o),l=i.find(b);if(l){let e=l.props.children,o=i.map(t=>t!==l?t:r.Children.count(e)>1?r.Children.only(null):r.isValidElement(e)?e.props.children:null);return(0,h.jsx)(t,{...a,ref:n,children:r.isValidElement(e)?r.cloneElement(e,void 0,o):null})}return(0,h.jsx)(t,{...a,ref:n,children:o})})).displayName="DialogOverlay.RemoveScroll.Slot",n),F=r.forwardRef((e,t)=>{let{__scopeDialog:n,...o}=e,r=D(T,n);return(0,h.jsx)(y.RemoveScroll,{as:P,allowPinchZoom:!0,shards:[r.contentRef],children:(0,h.jsx)(m.Primitive.div,{"data-state":z(r.open),...o,ref:t,style:{pointerEvents:"auto",...o.style}})})}),M="DialogContent",k=r.forwardRef((e,t)=>{let n=_(M,e.__scopeDialog),{forceMount:o=n.forceMount,...r}=e,a=D(M,e.__scopeDialog);return(0,h.jsx)(p.Presence,{present:o||a.open,children:a.modal?(0,h.jsx)(W,{...r,ref:t}):(0,h.jsx)(H,{...r,ref:t})})});k.displayName=M;var W=r.forwardRef((e,t)=>{let n=D(M,e.__scopeDialog),o=r.useRef(null),l=(0,i.useComposedRefs)(t,n.contentRef,o);return r.useEffect(()=>{let e=o.current;if(e)return(0,g.hideOthers)(e)},[]),(0,h.jsx)(K,{...e,ref:l,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:(0,a.composeEventHandlers)(e.onCloseAutoFocus,e=>{e.preventDefault(),n.triggerRef.current?.focus()}),onPointerDownOutside:(0,a.composeEventHandlers)(e.onPointerDownOutside,e=>{let t=e.detail.originalEvent,n=0===t.button&&!0===t.ctrlKey;(2===t.button||n)&&e.preventDefault()}),onFocusOutside:(0,a.composeEventHandlers)(e.onFocusOutside,e=>e.preventDefault())})}),H=r.forwardRef((e,t)=>{let n=D(M,e.__scopeDialog),o=r.useRef(!1),a=r.useRef(!1);return(0,h.jsx)(K,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:t=>{e.onCloseAutoFocus?.(t),t.defaultPrevented||(o.current||n.triggerRef.current?.focus(),t.preventDefault()),o.current=!1,a.current=!1},onInteractOutside:t=>{e.onInteractOutside?.(t),t.defaultPrevented||(o.current=!0,"pointerdown"===t.detail.originalEvent.type&&(a.current=!0));let r=t.target;n.triggerRef.current?.contains(r)&&t.preventDefault(),"focusin"===t.detail.originalEvent.type&&a.current&&t.preventDefault()}})}),K=r.forwardRef((e,t)=>{let{__scopeDialog:n,trapFocus:o,onOpenAutoFocus:a,onCloseAutoFocus:l,...s}=e,c=D(M,n),f=r.useRef(null),p=(0,i.useComposedRefs)(t,f);return(0,v.useFocusGuards)(),(0,h.jsxs)(h.Fragment,{children:[(0,h.jsx)(u.FocusScope,{asChild:!0,loop:!0,trapped:o,onMountAutoFocus:a,onUnmountAutoFocus:l,children:(0,h.jsx)(d.DismissableLayer,{role:"dialog",id:c.contentId,"aria-describedby":c.descriptionId,"aria-labelledby":c.titleId,"data-state":z(c.open),...s,ref:p,onDismiss:()=>c.onOpenChange(!1)})}),(0,h.jsxs)(h.Fragment,{children:[(0,h.jsx)(J,{titleId:c.titleId}),(0,h.jsx)(Q,{contentRef:f,descriptionId:c.descriptionId})]})]})}),Z="DialogTitle",U=r.forwardRef((e,t)=>{let{__scopeDialog:n,...o}=e,r=D(Z,n);return(0,h.jsx)(m.Primitive.h2,{id:r.titleId,...o,ref:t})});U.displayName=Z;var B="DialogDescription",V=r.forwardRef((e,t)=>{let{__scopeDialog:n,...o}=e,r=D(B,n);return(0,h.jsx)(m.Primitive.p,{id:r.descriptionId,...o,ref:t})});V.displayName=B;var $="DialogClose",q=r.forwardRef((e,t)=>
2{let{__scopeDialog:n,...o}=e,r=D($,n);return(0,h.jsx)(m.Primitive.button,{type:"button",...o,ref:t,onClick:(0,a.composeEventHandlers)(e.onClick,()=>r.onOpenChange(!1))})});function z(e){return e?"open":"closed"}q.displayName=$;var G="DialogTitleWarning",[X,Y]=(0,l.createContext)(G,{contentName:M,titleName:Z,docsSlug:"dialog"}),J=({titleId:e})=>{let t=Y(G),n=`\`${t.contentName}\` requires a \`${t.titleName}\` for the component to be accessible for screen reader users. 3 4If you want to hide the \`${t.titleName}\`, you can wrap it with our VisuallyHidden component. 5 6For more information, see https://radix-ui.com/primitives/docs/components/${t.docsSlug}`;return r.useEffect(()=>{e&&(document.getElementById(e)||console.error(n))},[n,e]),null},Q=({contentRef:e,descriptionId:t})=>{let n=Y("DialogDescriptionWarning"),o=`Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${n.contentName}}.`;return r.useEffect(()=>{let n=e.current?.getAttribute("aria-describedby");t&&n&&(document.getElementById(t)||console.warn(o))},[o,e,t]),null};e.s(["Close",0,q,"Content",0,k,"Description",0,V,"Overlay",0,L,"Portal",0,I,"Root",0,R,"Title",0,U,"Trigger",0,j,"WarningProvider",0,X,"createDialogScope",0,C],135598)},296202,e=>{"use strict";var t=e.i(391398),n=e.i(261576),o=e.i(191788),r=e.i(135598),a=e.i(868462),i=e.i(353533);e.i(642089);var l=e.i(13553),s=e.i(245651);let c=r.Root;r.Trigger;let d=r.Portal;r.Close;let u=o.forwardRef((e,o)=>{let a,l,s,c,d=(0,n.c)(9);return d[0]!==e?({className:a,...l}=e,d[0]=e,d[1]=a,d[2]=l):(a=d[1],l=d[2]),d[3]!==a?(s=(0,i.cn)("fixed inset-0 z-[1400] bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",a),d[3]=a,d[4]=s):s=d[4],d[5]!==l||d[6]!==o||d[7]!==s?(c=(0,t.jsx)(r.Overlay,{ref:o,className:s,...l}),d[5]=l,d[6]=o,d[7]=s,d[8]=c):c=d[8],c});u.displayName=r.Overlay.displayName;let f=o.forwardRef((e,o)=>{let c,f,p,m,v,y,g,h,x,b,E,w,C,N,D,R,A,j=(0,n.c)(37);j[0]!==e?({className:f,children:c,overlayClassName:m,overlayStyle:v,hideCloseButton:h,animateFrom:x,layer:p,style:g,...y}=e,j[0]=e,j[1]=c,j[2]=f,j[3]=p,j[4]=m,j[5]=v,j[6]=y,j[7]=g,j[8]=h,j[9]=x):(c=j[1],f=j[2],p=j[3],m=j[4],v=j[5],y=j[6],g=j[7],h=j[8],x=j[9]);let S=void 0!==h&&h,O=void 0===x?"top":x,_=(0,l.useLayerZOptional)(p);j[10]!==v||j[11]!==_?(b=_?{...v,zIndex:_.overlay}:v,j[10]=v,j[11]=_,j[12]=b):b=j[12],j[13]!==m||j[14]!==b?(E=(0,t.jsx)(u,{className:m,style:b}),j[13]=m,j[14]=b,j[15]=E):E=j[15],j[16]!==g||j[17]!==_?(w=_?{...g,zIndex:_.content}:g,j[16]=g,j[17]=_,j[18]=w):w=j[18];let I="bottom"===O?"data-[state=open]:slide-in-from-bottom data-[state=closed]:slide-out-to-bottom":"data-[state=open]:slide-in-from-top-2 data-[state=closed]:slide-out-to-top-2";return j[19]!==f||j[20]!==I?(C=(0,i.cn)("fixed left-[50%] top-[50%] z-[1400] grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg duration-450 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",s.CENTER_MODAL_SURFACE_CLASS_NAME,I,f),j[19]=f,j[20]=I,j[21]=C):C=j[21],j[22]!==c||j[23]!==_?(N=_?(0,t.jsx)(l.LayerHostContext.Provider,{value:_.hostValue,children:c}):c,j[22]=c,j[23]=_,j[24]=N):N=j[24],j[25]!==S?(D=!S&&(0,t.jsxs)(r.Close,{className:"absolute right-4 top-4 roun
6ded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-muted-foreground",children:[(0,t.jsx)(a.X,{className:"h-4 w-4"}),(0,t.jsx)("span",{className:"sr-only",children:"Close"})]}),j[25]=S,j[26]=D):D=j[26],j[27]!==y||j[28]!==o||j[29]!==w||j[30]!==C||j[31]!==N||j[32]!==D?(R=(0,t.jsxs)(r.Content,{ref:o,style:w,className:C,...y,children:[N,D]}),j[27]=y,j[28]=o,j[29]=w,j[30]=C,j[31]=N,j[32]=D,j[33]=R):R=j[33],j[34]!==R||j[35]!==E?(A=(0,t.jsxs)(d,{children:[E,R]}),j[34]=R,j[35]=E,j[36]=A):A=j[36],A});f.displayName=r.Content.displayName;let p=e=>{let o,r,a,l,s=(0,n.c)(8);return s[0]!==e?({className:o,...r}=e,s[0]=e,s[1]=o,s[2]=r):(o=s[1],r=s[2]),s[3]!==o?(a=(0,i.cn)("flex flex-col space-y-1.5 text-center sm:text-left",o),s[3]=o,s[4]=a):a=s[4],s[5]!==r||s[6]!==a?(l=(0,t.jsx)("div",{className:a,...r}),s[5]=r,s[6]=a,s[7]=l):l=s[7],l};p.displayName="DialogHeader";let m=e=>{let o,r,a,l,s=(0,n.c)(8);return s[0]!==e?({className:o,...r}=e,s[0]=e,s[1]=o,s[2]=r):(o=s[1],r=s[2]),s[3]!==o?(a=(0,i.cn)("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",o),s[3]=o,s[4]=a):a=s[4],s[5]!==r||s[6]!==a?(l=(0,t.jsx)("div",{className:a,...r}),s[5]=r,s[6]=a,s[7]=l):l=s[7],l};m.displayName="DialogFooter";let v=o.forwardRef((e,o)=>{let a,l,s,c,d=(0,n.c)(9);return d[0]!==e?({className:a,...l}=e,d[0]=e,d[1]=a,d[2]=l):(a=d[1],l=d[2]),d[3]!==a?(s=(0,i.cn)("text-lg font-semibold leading-none tracking-tight",a),d[3]=a,d[4]=s):s=d[4],d[5]!==l||d[6]!==o||d[7]!==s?(c=(0,t.jsx)(r.Title,{ref:o,className:s,...l}),d[5]=l,d[6]=o,d[7]=s,d[8]=c):c=d[8],c});v.displayName=r.Title.displayName;let y=o.forwardRef((e,o)=>{let a,l,s,c,d=(0,n.c)(9);return d[0]!==e?({className:a,...l}=e,d[0]=e,d[1]=a,d[2]=l):(a=d[1],l=d[2]),d[3]!==a?(s=(0,i.cn)("text-sm text-muted-foreground",a),d[3]=a,d[4]=s):s=d[4],d[5]!==l||d[6]!==o||d[7]!==s?(c=(0,t.jsx)(r.Description,{ref:o,className:s,...l}),d[5]=l,d[6]=o,d[7]=s,d[8]=c):c=d[8],c});y.displayName=r.Description.displayName,e.s(["Dialog",0,c,"DialogContent",0,f,"DialogDescription",0,y,"DialogFooter",0,m,"DialogHeader",0,p,"DialogPortal",0,d,"DialogTitle",0,v])}]); 7 8//# debugId=629f19cc-e296-b364-84c8-fd03952a2f86
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.