1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[405],{520:(e,t,n)=>{n.d(t,{A:()=>l});var r=n(2115),o=n(8449),a=n(1717),c=new Map;c.set("bold",function(e){return r.createElement(r.Fragment,null,r.createElement("line",{x1:"200",y1:"56",x2:"56",y2:"200",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"24"}),r.createElement("line",{x1:"200",y1:"200",x2:"56",y2:"56",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"24"}))}),c.set("duotone",function(e){return r.createElement(r.Fragment,null,r.createElement("line",{x1:"200",y1:"56",x2:"56",y2:"200",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),r.createElement("line",{x1:"200",y1:"200",x2:"56",y2:"56",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}))}),c.set("fill",function(){return r.createElement(r.Fragment,null,r.createElement("path",{d:"M139.3,128l66.4-66.3a8.1,8.1,0,0,0-11.4-11.4L128,116.7,61.7,50.3A8.1,8.1,0,0,0,50.3,61.7L116.7,128,50.3,194.3a8.1,8.1,0,0,0,0,11.4,8.2,8.2,0,0,0,11.4,0L128,139.3l66.3,66.4a8.2,8.2,0,0,0,11.4,0,8.1,8.1,0,0,0,0-11.4Z"}))}),c.set("light",function(e){return r.createElement(r.Fragment,null,r.createElement("line",{x1:"200",y1:"56",x2:"56",y2:"200",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"12"}),r.createElement("line",{x1:"200",y1:"200",x2:"56",y2:"56",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"12"}))}),c.set("thin",function(e){return r.createElement(r.Fragment,null,r.createElement("line",{x1:"200",y1:"56",x2:"56",y2:"200",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"8"}),r.createElement("line",{x1:"200",y1:"200",x2:"56",y2:"56",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"8"}))}),c.set("regular",function(e){return r.createElement(r.Fragment,null,r.createElement("line",{x1:"200",y1:"56",x2:"56",y2:"200",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),r.createElement("line",{x1:"200",y1:"200",x2:"56",y2:"56",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}))});var i=function(e,t){return(0,o.$)(e,t,c)},u=(0,r.forwardRef)(function(e,t){return r.createElement(a.A,Object.assign({ref:t},e,{renderPath:i}))});u.displayName="X";let l=u},4110:(e,t,n)=>{n.d(t,{UC:()=>eB,hJ:()=>ej,ZL:()=>eI,bL:()=>eW});var r,o,a=n(9630),c=n(2115),i=n(8468),u=n(6040),l=n(912),s=n(8340),d=n(20),f=n(2244),p=n(4538),m=n(28);let v="focusScope.autoFocusOnMount",h="focusScope.autoFocusOnUnmount",g={bubbles:!1,cancelable:!0},E=(0,c.forwardRef)((e,t)=>{let{loop:n=!1,trapped:r=!1,onMountAutoFocus:o,onUnmountAutoFocus:i,...l}=e,[s,d]=(0,c.useState)(null),f=(0,m.c)(o),E=(0,m.c)(i),C=(0,c.useRef)(null),L=(0,u.s)(t,e=>d(e)),A=(0,c.useRef)({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;(0,c.useEffect)(()=>{if(r){function e(e){if(A.paused||!s)return;let t=e.target;s.contains(t)?C.current=t:w(C.current,{select:!0})}function t(e){!A.paused&&s&&(s.contains(e.relatedTarget)||w(C.current,{select:!0}))}return document.addEventListener("focusin",e),document.addEventListener("focusout",t),()=>{document.removeEventListener("focusin",e),document.removeEventListener("focusout",t)}}},[r,s,A.paused]),(0,c.useEffect)(()=>{if(s){k.add(A);let e=document.activeElement;if(!s.contains(e)){let t=new CustomEvent(v,g);s.addEventListener(v,f),s.dispatchEvent(t),t.defaultPrevented||(function(e,{select:t=!1}={}){let n=document.activeElement;for(let r of e)if(w(r,{select:t}),document.activeElement!==n)return}(y(s).filter(e=>"A"!==e.tagName),{select:!0}),document.activeElement===e&&w(s))}return()=>{s.removeEventListener(v,f),setTimeout(()=>{let t=new CustomEvent(h,g);s.addEventListener(h,E),s.dispatchEvent(t),t.defaultPrevented||w(null!=e?e:document.body,{select:!0}),s.removeEventListener(h,E),k.remove(A)},0)}}},[s,f,E,A]);let x=(0,c.useCallback)(e=>{if(!n&&!r||A.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=y(e);return[b(t,e),b(t.reverse(),e)]}(t);
1r&&a?e.shiftKey||o!==a?e.shiftKey&&o===r&&(e.preventDefault(),n&&w(a,{select:!0})):(e.preventDefault(),n&&w(r,{select:!0})):o===t&&e.preventDefault()}},[n,r,A.paused]);return(0,c.createElement)(p.sG.div,(0,a.A)({tabIndex:-1},l,{ref:L,onKeyDown:x}))});function y(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 b(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 w(e,{select:t=!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()}}let k=function(){let e=[];return{add(t){let n=e[0];t!==n&&(null==n||n.pause()),(e=C(e,t)).unshift(t)},remove(t){var n;null==(n=(e=C(e,t))[0])||n.resume()}}}();function C(e,t){let n=[...e],r=n.indexOf(t);return -1!==r&&n.splice(r,1),n}var L=n(7650);let A=(0,c.forwardRef)((e,t)=>{var n;let{container:r=null==globalThis||null==(n=globalThis.document)?void 0:n.body,...o}=e;return r?L.createPortal((0,c.createElement)(p.sG.div,(0,a.A)({},o,{ref:t})),r):null});var x=n(6488);let R=0;function S(){let e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.cssText="outline: none; opacity: 0; position: fixed; pointer-events: none",e}var O=function(){return(O=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 T(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 D=("function"==typeof SuppressedError&&SuppressedError,"right-scroll-bar-position"),F="width-before-scroll-bar";function M(e){return e}var N=function(e){void 0===e&&(e={});var t,n,r,o=(void 0===t&&(t=M),n=[],r=!1,{read:function(){if(r)throw Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return n.length?n[n.length-1]:null},useMedium:function(e){var o=t(e,r);return n.push(o),function(){n=n.filter(function(e){return e!==o})}},assignSyncMedium:function(e){for(r=!0;n.length;){var t=n;n=[],t.forEach(e)}n={push:function(t){return e(t)},filter:function(){return n}}},assignMedium:function(e){r=!0;var t=[];if(n.length){var o=n;n=[],o.forEach(e),t=n}var a=function(){var n=t;t=[],n.forEach(e)},c=function(){return Promise.resolve().then(a)};c(),n={push:function(e){t.push(e),c()},filter:function(e){return t=t.filter(e),n}}}});return o.options=O({async:!0,ssr:!1},e),o}(),P=function(){},_=c.forwardRef(function(e,t){var n,r,o,a=c.useRef(null),i=c.useState({onScrollCapture:P,onWheelCapture:P,onTouchMoveCapture:P}),u=i[0],l=i[1],s=e.forwardProps,d=e.children,f=e.className,p=e.removeScrollBar,m=e.enabled,v=e.shards,h=e.sideCar,g=e.noIsolation,E=e.inert,y=e.allowPinchZoom,b=e.as,w=T(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as"]),k=(n=[a,t],r=function(e){return n.forEach(function(t){return"function"==typeof t?t(e):t&&(t.current=e),t})},(o=(0,c.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,o.facade),C=O(O({},w),u);return c.createElement(c.Fragment,null,m&&c.createElement(h,{sideCar:N,removeScrollBar:p,shards:v,noIsolation:g,inert:E,setCallbacks:l,allowPinchZoom:!!y,lockRef:a}),s?c.cloneElement(c.Children.only(d),O(O({},C),{ref:k}
1)):c.createElement(void 0===b?"div":b,O({},C,{className:f,ref:k}),d))});_.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},_.classNames={fullWidth:F,zeroRight:D};var W=function(e){var t=e.sideCar,n=T(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 c.createElement(r,O({},n))};W.isSideCarExport=!0;var I=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=o||n.nc;return t&&e.setAttribute("nonce",t),e}())){var a,c;(a=t).styleSheet?a.styleSheet.cssText=r:a.appendChild(document.createTextNode(r)),c=t,(document.head||document.getElementsByTagName("head")[0]).appendChild(c)}e++},remove:function(){--e||!t||(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},j=function(){var e=I();return function(t,n){c.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])}},B=function(){var e=j();return function(t){return e(t.styles,t.dynamic),null}},K={left:0,top:0,right:0,gap:0},X=function(e){return parseInt(e||"",10)||0},Y=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[X(n),X(r),X(o)]},Z=function(e){if(void 0===e&&(e="margin"),"undefined"==typeof window)return K;var t=Y(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])}},q=B(),U=function(e,t,n,r){var o=e.left,a=e.top,c=e.right,i=e.gap;return void 0===n&&(n="margin"),"\n .".concat("with-scroll-bars-hidden"," {\n overflow: hidden ").concat(r,";\n padding-right: ").concat(i,"px ").concat(r,";\n }\n body {\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(c,"px;\n margin-left:0;\n margin-top:0;\n margin-right: ").concat(i,"px ").concat(r,";\n "),"padding"===n&&"padding-right: ".concat(i,"px ").concat(r,";")].filter(Boolean).join(""),"\n }\n \n .").concat(D," {\n right: ").concat(i,"px ").concat(r,";\n }\n \n .").concat(F," {\n margin-right: ").concat(i,"px ").concat(r,";\n }\n \n .").concat(D," .").concat(D," {\n right: 0 ").concat(r,";\n }\n \n .").concat(F," .").concat(F," {\n margin-right: 0 ").concat(r,";\n }\n \n body {\n ").concat("--removed-body-scroll-bar-size",": ").concat(i,"px;\n }\n")},H=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,o=void 0===r?"margin":r,a=c.useMemo(function(){return Z(o)},[o]);return c.createElement(q,{styles:U(a,!t,o,n?"":"!important")})},G=!1;if("undefined"!=typeof window)try{var z=Object.defineProperty({},"passive",{get:function(){return G=!0,!0}});window.addEventListener("test",z,z),window.removeEventListener("test",z,z)}catch(e){G=!1}var J=!!G&&{passive:!1},$=function(e,t){var n=window.getComputedStyle(e);return"hidden"!==n[t]&&(n.overflowY!==n.overflowX||"TEXTAREA"===e.tagName||"visible"!==n[t])},Q=function(e,t){var n=t;do{if("undefined"!=typeof ShadowRoot&&n instanceof ShadowRoot&&(n=n.host),V(e,n)){var r=ee(e,n);if(r[1]>r[2])return!0}n=n.parentNode}while(n&&n!==document.body);return!1},V=function(e,t){return"v"===e?$(t,"overflowY"):$(t,"overflowX")},ee=function(e,t){return"v"===e?[t.scrollTop,t.scrollHeight,t.clientHeight]:[t.scrollLeft,t.scrollWidth,t.clientWidth]},et=function(e,t,n,r,o){var a,c=(a=window.getComputedStyle(t).direction,"h"===e&&"rtl"===a?-1:1),i=c*r,u=n.target,l=t.contains(u),s=!1,d=i>0,f=0,p=0;do{var m=ee(e,u),v=m[0],h=m[1]-m[2]-c*v;(v||h)&&V(e,u)&&(f+=h,p+=v),u=u.parentNode}while(!l&&u!==document.body||l&&(t.contains(u)||t===u));return d&&(o&&0===f||!o&&i>f)?s=!0:!d&&(o&&0===p||!o&&-i>p)&&(s=!0),s},en=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},er=function(e){return[e.deltaX,e.deltaY]},eo=function(e){return e&&"current"in e?e.current:e},ea=0,ec=[];let ei=(r=function(e){var t=c.useRef([]),n=c.useRef([0,0]),r=c.useRef(),o=c.useState(ea++)[0],a=c.useState(function(){return B()})[0],i=c.useRef(e);c.useEffect(function(){i.current=e},[e]),c.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))}
1)([e.lockRef.current],(e.shards||[]).map(eo),!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 u=c.useCallback(function(e,t){if("touches"in e&&2===e.touches.length)return!i.current.allowPinchZoom;var o,a=en(e),c=n.current,u="deltaX"in e?e.deltaX:c[0]-a[0],l="deltaY"in e?e.deltaY:c[1]-a[1],s=e.target,d=Math.abs(u)>Math.abs(l)?"h":"v";if("touches"in e&&"h"===d&&"range"===s.type)return!1;var f=Q(d,s);if(!f)return!0;if(f?o=d:(o="v"===d?"h":"v",f=Q(d,s)),!f)return!1;if(!r.current&&"changedTouches"in e&&(u||l)&&(r.current=o),!o)return!0;var p=r.current||o;return et(p,t,e,"h"===p?u:l,!0)},[]),l=c.useCallback(function(e){if(ec.length&&ec[ec.length-1]===a){var n="deltaY"in e?er(e):en(e),r=t.current.filter(function(t){var r;return t.name===e.type&&t.target===e.target&&(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(eo).filter(Boolean).filter(function(t){return t.contains(e.target)});(o.length>0?u(e,o[0]):!i.current.noIsolation)&&e.cancelable&&e.preventDefault()}}},[]),s=c.useCallback(function(e,n,r,o){var a={name:e,delta:n,target:r,should:o};t.current.push(a),setTimeout(function(){t.current=t.current.filter(function(e){return e!==a})},1)},[]),d=c.useCallback(function(e){n.current=en(e),r.current=void 0},[]),f=c.useCallback(function(t){s(t.type,er(t),t.target,u(t,e.lockRef.current))},[]),p=c.useCallback(function(t){s(t.type,en(t),t.target,u(t,e.lockRef.current))},[]);c.useEffect(function(){return ec.push(a),e.setCallbacks({onScrollCapture:f,onWheelCapture:f,onTouchMoveCapture:p}),document.addEventListener("wheel",l,J),document.addEventListener("touchmove",l,J),document.addEventListener("touchstart",d,J),function(){ec=ec.filter(function(e){return e!==a}),document.removeEventListener("wheel",l,J),document.removeEventListener("touchmove",l,J),document.removeEventListener("touchstart",d,J)}},[]);var m=e.removeScrollBar,v=e.inert;return c.createElement(c.Fragment,null,v?c.createElement(a,{styles:"\n .block-interactivity-".concat(o," {pointer-events: none;}\n .allow-interactivity-").concat(o," {pointer-events: all;}\n")}):null,m?c.createElement(H,{gapMode:"margin"}):null)},N.useMedium(r),W);var eu=c.forwardRef(function(e,t){return c.createElement(_,O({},e,{ref:t,sideCar:ei}))});eu.classNames=_.classNames;var el=new WeakMap,es=new WeakMap,ed={},ef=0,ep=function(e){return e&&(e.host||ep(e.parentNode))},em=function(e,t,n,r){var o=(Array.isArray(e)?e:[e]).map(function(e){if(t.contains(e))return e;var n=ep(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});ed[n]||(ed[n]=new WeakMap);var a=ed[n],c=[],i=new Set,u=new Set(o),l=function(e){!e||i.has(e)||(i.add(e),l(e.parentNode))};o.forEach(l);var s=function(e){!e||u.has(e)||Array.prototype.forEach.call(e.children,function(e){if(i.has(e))s(e);else{var t=e.getAttribute(r),o=null!==t&&"false"!==t,u=(el.get(e)||0)+1,l=(a.get(e)||0)+1;el.set(e,u),a.set(e,l),c.push(e),1===u&&o&&es.set(e,!0),1===l&&e.setAttribute(n,"true"),o||e.setAttribute(r,"true")}})};return s(t),i.clear(),ef++,function(){c.forEach(function(e){var t=el.get(e)-1,o=a.get(e)-1;el.set(e,t),a.set(e,o),t||(es.has(e)||e.removeAttribute(r),es.delete(e)),o||e.removeAttribute(n)}),--ef||(el=new WeakMap,el=new WeakMap,es=new WeakMap,ed={})}},ev=function(e,t,n){void 0===n&&(n="data-aria-hidden");var r=Array.from(Array.isArray(e)?e:[e]),o=t||("undefined"==typeof document?null:(Array.isArray(e)?e[0]:e).ownerDocument.body);return o?(r.push.apply(r,Array.from(o.querySelectorAll("[aria-live]"))),em(r,o,n,"aria-hidden")):function(){return null}},eh=n(813);let eg="Dialog",[eE,ey]=(0,l.A)(eg),[eb,ew]=eE(eg),ek="DialogPortal",[eC,eL]=eE(ek,{forceMount:void 0}),eA="DialogOverlay",ex=(0,c.forwardRef)((e,t)=>{let n=eL(eA,e.__scopeDialog),{forceMount:r=n.forceMount,...o}=e,i=ew(eA,e.__scopeDialog);return i.modal?(0,c.createElement)(x.C,{present:r||i.open},(0,c.createElement)(eR,(0,a.A)({},o,{ref:t}))):null}),eR=(0,c.forwardRef)((e,t)=>{let{__scopeDialog:n,...r}=e,o=ew(eA,n);return(0,c.createElement)(eu,{as:eh.DX,allowPinchZoom:!0,shards:[o.contentRef]},(0,c.createElement)(p.sG.div,(0,a.A)({"data-state":eN(o.open)},r,{ref:t,style:{pointerEvents:"auto",...r.style}})))}),eS="DialogContent",eO=(0,c.forwardRef)((e,t)=>{let n=eL(eS,e.__scopeDialog),{forceMount:r=n.forceMount,...o}=e,i=ew(eS,e.__scopeDialog);return(0,c.createElement)(x.C,{present:r||i.open},i.modal?(0,c.createElement)(eT,(0,a.A)({},o,{ref:t}
1)):(0,c.createElement)(eD,(0,a.A)({},o,{ref:t})))}),eT=(0,c.forwardRef)((e,t)=>{let n=ew(eS,e.__scopeDialog),r=(0,c.useRef)(null),o=(0,u.s)(t,n.contentRef,r);return(0,c.useEffect)(()=>{let e=r.current;if(e)return ev(e)},[]),(0,c.createElement)(eF,(0,a.A)({},e,{ref:o,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:(0,i.m)(e.onCloseAutoFocus,e=>{var t;e.preventDefault(),null==(t=n.triggerRef.current)||t.focus()}),onPointerDownOutside:(0,i.m)(e.onPointerDownOutside,e=>{let t=e.detail.originalEvent,n=0===t.button&&!0===t.ctrlKey;(2===t.button||n)&&e.preventDefault()}),onFocusOutside:(0,i.m)(e.onFocusOutside,e=>e.preventDefault())}))}),eD=(0,c.forwardRef)((e,t)=>{let n=ew(eS,e.__scopeDialog),r=(0,c.useRef)(!1);return(0,c.createElement)(eF,(0,a.A)({},e,{ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:t=>{var o,a;null==(o=e.onCloseAutoFocus)||o.call(e,t),t.defaultPrevented||(r.current||null==(a=n.triggerRef.current)||a.focus(),t.preventDefault()),r.current=!1},onInteractOutside:t=>{var o,a;null==(o=e.onInteractOutside)||o.call(e,t),t.defaultPrevented||(r.current=!0);let c=t.target;(null==(a=n.triggerRef.current)?void 0:a.contains(c))&&t.preventDefault()}}))}),eF=(0,c.forwardRef)((e,t)=>{let{__scopeDialog:n,trapFocus:r,onOpenAutoFocus:o,onCloseAutoFocus:i,...l}=e,s=ew(eS,n),d=(0,c.useRef)(null),p=(0,u.s)(t,d);return(0,c.useEffect)(()=>{var e,t;let n=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",null!=(e=n[0])?e:S()),document.body.insertAdjacentElement("beforeend",null!=(t=n[1])?t:S()),R++,()=>{1===R&&document.querySelectorAll("[data-radix-focus-guard]").forEach(e=>e.remove()),R--}},[]),(0,c.createElement)(c.Fragment,null,(0,c.createElement)(E,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:o,onUnmountAutoFocus:i},(0,c.createElement)(f.qW,(0,a.A)({role:"dialog",id:s.contentId,"aria-describedby":s.descriptionId,"aria-labelledby":s.titleId,"data-state":eN(s.open)},l,{ref:p,onDismiss:()=>s.onOpenChange(!1)}))),!1)}),eM="DialogTitle";function eN(e){return e?"open":"closed"}let[eP,e_]=(0,l.q)("DialogTitleWarning",{contentName:eS,titleName:eM,docsSlug:"dialog"}),eW=e=>{let{__scopeDialog:t,children:n,open:r,defaultOpen:o,onOpenChange:a,modal:i=!0}=e,u=(0,c.useRef)(null),l=(0,c.useRef)(null),[f=!1,p]=(0,d.i)({prop:r,defaultProp:o,onChange:a});return(0,c.createElement)(eb,{scope:t,triggerRef:u,contentRef:l,contentId:(0,s.B)(),titleId:(0,s.B)(),descriptionId:(0,s.B)(),open:f,onOpenChange:p,onOpenToggle:(0,c.useCallback)(()=>p(e=>!e),[p]),modal:i},n)},eI=e=>{let{__scopeDialog:t,forceMount:n,children:r,container:o}=e,a=ew(ek,t);return(0,c.createElement)(eC,{scope:t,forceMount:n},c.Children.map(r,e=>(0,c.createElement)(x.C,{present:n||a.open},(0,c.createElement)(A,{asChild:!0,container:o},e))))},ej=ex,eB=eO}}]);
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.