PageSourceSearch

https://coffset.org/_next/static/chunks/3690-9c3f832277c3f983.js

js coffset.org collected 2026-10-02 20:16:50 UTC 26,554 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3690],{43690:(e,t,n)=>{n.d(t,{bm:()=>te,UC:()=>e8,VY:()=>e7,hJ:()=>e9,ZL:()=>e6,bL:()=>e4,hE:()=>e3,l9:()=>e5,G$:()=>eQ,Hs:()=>eN});var r,o,a=n(12115),i=n(92556),l=n(94446),u=n(3468),c=n(68946),s=n(23558),d=n(44831),f=n(88142),v=n(70222),p=n(95155),m="focusScope.autoFocusOnMount",h="focusScope.autoFocusOnUnmount",g={bubbles:!1,cancelable:!0},y=a.forwardRef((e,t)=>{let{loop:n=!1,trapped:r=!1,onMountAutoFocus:o,onUnmountAutoFocus:i,...u}=e,[c,s]=a.useState(null),d=(0,v.c)(o),y=(0,v.c)(i),R=a.useRef(null),x=(0,l.s)(t,e=>s(e)),D=a.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;a.useEffect(()=>{if(r){let e=function(e){if(D.paused||!c)return;let t=e.target;c.contains(t)?R.current=t:w(R.current,{select:!0})},t=function(e){if(D.paused||!c)return;let t=e.relatedTarget;null!==t&&(c.contains(t)||w(R.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&&w(c)});return c&&n.observe(c,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",e),document.removeEventListener("focusout",t),n.disconnect()}}},[r,c,D.paused]),a.useEffect(()=>{if(c){C.add(D);let e=document.activeElement;if(!c.contains(e)){let t=new CustomEvent(m,g);c.addEventListener(m,d),c.dispatchEvent(t),t.defaultPrevented||(function(e){let{select:t=!1}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=document.activeElement;for(let r of e)if(w(r,{select:t}),document.activeElement!==n)return}(E(c).filter(e=>"A"!==e.tagName),{select:!0}),document.activeElement===e&&w(c))}return()=>{c.removeEventListener(m,d),setTimeout(()=>{let t=new CustomEvent(h,g);c.addEventListener(h,y),c.dispatchEvent(t),t.defaultPrevented||w(null!=e?e:document.body,{select:!0}),c.removeEventListener(h,y),C.remove(D)},0)}}},[c,d,y,D]);let N=a.useCallback(e=>{if(!n&&!r||D.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=E(e);return[b(t,e),b(t.reverse(),e)]}(t);r&&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,D.paused]);return(0,p.jsx)(f.sG.div,{tabIndex:-1,...u,ref:x,onKeyDown:N})});function E(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,t){let{upTo:n}=t;if("hidden"===getComputedStyle(e).visibility)return!0;for(;e&&(void 0===n||e!==n);){if("none"===getComputedStyle(e).display)return!0;e=e.parentElement}return!1}(n,{upTo:t}))return n}function w(e){let{select:t=!1}=arguments.length>1&&void 0!==arguments[1]?arguments[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()}}y.displayName="FocusScope";var C=function(){let e=[];return{add(t){let n=e[0];t!==n&&(null==n||n.pause()),(e=R(e,t)).unshift(t)},remove(t){var n;null==(n=(e=R(e,t))[0])||n.resume()}}}();function R(e,t){let n=[...e],r=n.indexOf(t);return -1!==r&&n.splice(r,1),n}var x=n(47650),D=n(4129),N=a.forwardRef((e,t)=>{var n,r;let{container:o,...i}=e,[l,u]=a.useState(!1);(0,D.N)(()=>u(!0),[]);let c=o||l&&(null==(r=globalThis)||null==(n=r.document)?void 0:n.body);return c?x.createPortal((0,p.jsx)(f.sG.div,{...i,ref:t}),c):null});N.displayName="Portal";var S=n(76842),L=0;function k(){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 T=n(71450),P="right-scroll-bar-position",A="width-before-scroll-bar";function M(e,t){return"function"==typeof e?e(t):e&&(e.current=t),e}var O="undefined"!=typeof window?a.useLayoutEffect:a.useEffect,I=new WeakMap;function j(e){return e}var F=function(e){void 0===e&&(e={});var t,n,r,o=(void 0===t&&(t=j),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;
1t=[],n.forEach(e)},i=function(){return Promise.resolve().then(a)};i(),n={push:function(e){t.push(e),i()},filter:function(e){return t=t.filter(e),n}}}});return o.options=(0,T.Cl)({async:!0,ssr:!1},e),o}(),W=function(){},_=a.forwardRef(function(e,t){var n,r,o,i,l=a.useRef(null),u=a.useState({onScrollCapture:W,onWheelCapture:W,onTouchMoveCapture:W}),c=u[0],s=u[1],d=e.forwardProps,f=e.children,v=e.className,p=e.removeScrollBar,m=e.enabled,h=e.shards,g=e.sideCar,y=e.noRelative,E=e.noIsolation,b=e.inert,w=e.allowPinchZoom,C=e.as,R=e.gapMode,x=(0,T.Tt)(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),D=(n=[l,t],r=function(e){return n.forEach(function(t){return M(t,e)})},(o=(0,a.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,i=o.facade,O(function(){var e=I.get(i);if(e){var t=new Set(e),r=new Set(n),o=i.current;t.forEach(function(e){r.has(e)||M(e,null)}),r.forEach(function(e){t.has(e)||M(e,o)})}I.set(i,n)},[n]),i),N=(0,T.Cl)((0,T.Cl)({},x),c);return a.createElement(a.Fragment,null,m&&a.createElement(g,{sideCar:F,removeScrollBar:p,shards:h,noRelative:y,noIsolation:E,inert:b,setCallbacks:s,allowPinchZoom:!!w,lockRef:l,gapMode:R}),d?a.cloneElement(a.Children.only(f),(0,T.Cl)((0,T.Cl)({},N),{ref:D})):a.createElement(void 0===C?"div":C,(0,T.Cl)({},N,{className:v,ref:D}),f))});_.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},_.classNames={fullWidth:A,zeroRight:P};var B=function(e){var t=e.sideCar,n=(0,T.Tt)(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 a.createElement(r,(0,T.Cl)({},n))};B.isSideCarExport=!0;var K=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,i;(a=t).styleSheet?a.styleSheet.cssText=r:a.appendChild(document.createTextNode(r)),i=t,(document.head||document.getElementsByTagName("head")[0]).appendChild(i)}e++},remove:function(){--e||!t||(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},G=function(){var e=K();return function(t,n){a.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])}},X=function(){var e=G();return function(t){return e(t.styles,t.dynamic),null}},Y={left:0,top:0,right:0,gap:0},q=function(e){return parseInt(e||"",10)||0},Z=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[q(n),q(r),q(o)]},z=function(e){if(void 0===e&&(e="margin"),"undefined"==typeof window)return Y;var t=Z(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])}},H=X(),U="data-scroll-locked",V=function(e,t,n,r){var o=e.left,a=e.top,i=e.right,l=e.gap;return void 0===n&&(n="margin"),"\n  .".concat("with-scroll-bars-hidden"," {\n   overflow: hidden ").concat(r,";\n   padding-right: ").concat(l,"px ").concat(r,";\n  }\n  body[").concat(U,"] {\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(i,"px;\n    margin-left:0;\n    margin-top:0;\n    margin-right: ").concat(l,"px ").concat(r,";\n    "),"padding"===n&&"padding-right: ".concat(l,"px ").concat(r,";")].filter(Boolean).join(""),"\n  }\n  \n  .").concat(P," {\n    right: ").concat(l,"px ").concat(r,";\n  }\n  \n  .").concat(A," {\n    margin-right: ").concat(l,"px ").concat(r,";\n  }\n  \n  .").concat(P," .").concat(P," {\n    right: 0 ").concat(r,";\n  }\n  \n  .").concat(A," .").concat(A," {\n    margin-right: 0 ").concat(r,";\n  }\n  \n  body[").concat(U,"] {\n    ").concat("--removed-body-scroll-bar-size",": ").concat(l,"px;\n  }\n")},$=function(){var e=parseInt(document.body.getAttribute(U)||"0",10);return isFinite(e)?e:0},J=function(){a.useEffect(function(){return document.body.setAttribute(U,($()+1).toString()),function(){var e=$
1()-1;e<=0?document.body.removeAttribute(U):document.body.setAttribute(U,e.toString())}},[])},Q=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,o=void 0===r?"margin":r;J();var i=a.useMemo(function(){return z(o)},[o]);return a.createElement(H,{styles:V(i,!t,o,n?"":"!important")})},ee=!1;if("undefined"!=typeof window)try{var et=Object.defineProperty({},"passive",{get:function(){return ee=!0,!0}});window.addEventListener("test",et,et),window.removeEventListener("test",et,et)}catch(e){ee=!1}var en=!!ee&&{passive:!1},er=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])},eo=function(e,t){var n=t.ownerDocument,r=t;do{if("undefined"!=typeof ShadowRoot&&r instanceof ShadowRoot&&(r=r.host),ea(e,r)){var o=ei(e,r);if(o[1]>o[2])return!0}r=r.parentNode}while(r&&r!==n.body);return!1},ea=function(e,t){return"v"===e?er(t,"overflowY"):er(t,"overflowX")},ei=function(e,t){return"v"===e?[t.scrollTop,t.scrollHeight,t.clientHeight]:[t.scrollLeft,t.scrollWidth,t.clientWidth]},el=function(e,t,n,r,o){var a,i=(a=window.getComputedStyle(t).direction,"h"===e&&"rtl"===a?-1:1),l=i*r,u=n.target,c=t.contains(u),s=!1,d=l>0,f=0,v=0;do{if(!u)break;var p=ei(e,u),m=p[0],h=p[1]-p[2]-i*m;(m||h)&&ea(e,u)&&(f+=h,v+=m);var g=u.parentNode;u=g&&g.nodeType===Node.DOCUMENT_FRAGMENT_NODE?g.host:g}while(!c&&u!==document.body||c&&(t.contains(u)||t===u));return d&&(o&&1>Math.abs(f)||!o&&l>f)?s=!0:!d&&(o&&1>Math.abs(v)||!o&&-l>v)&&(s=!0),s},eu=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},ec=function(e){return[e.deltaX,e.deltaY]},es=function(e){return e&&"current"in e?e.current:e},ed=0,ef=[];let ev=(r=function(e){var t=a.useRef([]),n=a.useRef([0,0]),r=a.useRef(),o=a.useState(ed++)[0],i=a.useState(X)[0],l=a.useRef(e);a.useEffect(function(){l.current=e},[e]),a.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(o));var t=(0,T.fX)([e.lockRef.current],(e.shards||[]).map(es),!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=a.useCallback(function(e,t){if("touches"in e&&2===e.touches.length||"wheel"===e.type&&e.ctrlKey)return!l.current.allowPinchZoom;var o,a=eu(e),i=n.current,u="deltaX"in e?e.deltaX:i[0]-a[0],c="deltaY"in e?e.deltaY:i[1]-a[1],s=e.target,d=Math.abs(u)>Math.abs(c)?"h":"v";if("touches"in e&&"h"===d&&"range"===s.type)return!1;var f=window.getSelection(),v=f&&f.anchorNode;if(v&&(v===s||v.contains(s)))return!1;var p=eo(d,s);if(!p)return!0;if(p?o=d:(o="v"===d?"h":"v",p=eo(d,s)),!p)return!1;if(!r.current&&"changedTouches"in e&&(u||c)&&(r.current=o),!o)return!0;var m=r.current||o;return el(m,t,e,"h"===m?u:c,!0)},[]),c=a.useCallback(function(e){if(ef.length&&ef[ef.length-1]===i){var n="deltaY"in e?ec(e):eu(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=(l.current.shards||[]).map(es).filter(Boolean).filter(function(t){return t.contains(e.target)});(o.length>0?u(e,o[0]):!l.current.noIsolation)&&e.cancelable&&e.preventDefault()}}},[]),s=a.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=a.useCallback(function(e){n.current=eu(e),r.current=void 0},[]),f=a.useCallback(function(t){s(t.type,ec(t),t.target,u(t,e.lockRef.current))},[]),v=a.useCallback(function(t){s(t.type,eu(t),t.target,u(t,e.lockRef.current))},[]);a.useEffect(function(){return ef.push(i),e.setCallbacks({onScrollCapture:f,onWheelCapture:f,onTouchMoveCapture:v}),document.addEventListener("wheel",c,en),document.addEventListener("touchmove",c,en),document.addEventListener("touchstart",d,en),function(){ef=ef.filter(function(e){return e!==i}),document.removeEventListener("wheel",c,en),document.removeEventListener("touchmove",c,en),document.removeEventListener("touchstart",d,en)}},[]);var p=e.removeScrollBar,m=e.inert;return a.createElement(a.Fragment,null,m?a.createElement(i,{styles:"\n  .block-interactivity-".concat(o," {pointer-events: none;}\n  .allow-interactivity-").concat(o," {pointer-events: all;}\n")}):null,p?a.createElement(Q,{noRelative:e.noRelative,gapMode:e.gapMode}):null)},F.useMedium(r),B);var ep=a.forwardRef(function(e,t){return a.createElement(_,(0,T.Cl)({},e,{ref:t,sideCar:ev}))});ep.classNames=_.classNames;var em=new WeakMap,eh=new WeakMap,eg={},ey=0,eE=function(e){return e&&(e.host||eE(e.parentNode))},eb=function(e,t,n,r){var o=(Array.isArray(e)?e:[e]).map(function(e){if(t.contains(e))return e;var n=eE(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});eg[n]||(eg[n]=new WeakMap);var a=eg[n],i=[],l=new Set,u=new Set(o),c=function(e){!e||l.has(e)||(l.add(e),c(e.parentNode))};o.forEach(c);var s=function(e){!e||u.has(e)||Array.prototype.forEach.call(e.children,function(e){if(l.has(e))s(e);else try{var t=e.getAttribute(r),o=null!==t&&"false"!==t,u=(em.get(e)||0)+1,c=(a.get(e)||0)+1;em.set(e,u),a.set(e,c),i.push(e),1===u&&o&&eh.set(e,!0),1===c&&e.setAttribute(n,"true"),o||e.setAttribute(r,"true")}catch(t){console.error("aria-hidden: cannot operate on ",e,t)}})};
1return s(t),l.clear(),ey++,function(){i.forEach(function(e){var t=em.get(e)-1,o=a.get(e)-1;em.set(e,t),a.set(e,o),t||(eh.has(e)||e.removeAttribute(r),eh.delete(e)),o||e.removeAttribute(n)}),--ey||(em=new WeakMap,em=new WeakMap,eh=new WeakMap,eg={})}},ew=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], script"))),eb(r,o,n,"aria-hidden")):function(){return null}},eC=Symbol("radix.slottable");function eR(e){return a.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===eC}var ex="Dialog",[eD,eN]=(0,u.A)(ex),[eS,eL]=eD(ex),ek=e=>{let{__scopeDialog:t,children:n,open:r,defaultOpen:o,onOpenChange:i,modal:l=!0}=e,u=a.useRef(null),d=a.useRef(null),[f,v]=(0,s.i)({prop:r,defaultProp:null!=o&&o,onChange:i,caller:ex});return(0,p.jsx)(eS,{scope:t,triggerRef:u,contentRef:d,contentId:(0,c.B)(),titleId:(0,c.B)(),descriptionId:(0,c.B)(),open:f,onOpenChange:v,onOpenToggle:a.useCallback(()=>v(e=>!e),[v]),modal:l,children:n})};ek.displayName=ex;var eT="DialogTrigger",eP=a.forwardRef((e,t)=>{let{__scopeDialog:n,...r}=e,o=eL(eT,n),a=(0,l.s)(t,o.triggerRef);return(0,p.jsx)(f.sG.button,{type:"button","aria-haspopup":"dialog","aria-expanded":o.open,"aria-controls":o.contentId,"data-state":e$(o.open),...r,ref:a,onClick:(0,i.mK)(e.onClick,o.onOpenToggle)})});eP.displayName=eT;var eA="DialogPortal",[eM,eO]=eD(eA,{forceMount:void 0}),eI=e=>{let{__scopeDialog:t,forceMount:n,children:r,container:o}=e,i=eL(eA,t);return(0,p.jsx)(eM,{scope:t,forceMount:n,children:a.Children.map(r,e=>(0,p.jsx)(S.C,{present:n||i.open,children:(0,p.jsx)(N,{asChild:!0,container:o,children:e})}))})};eI.displayName=eA;var ej="DialogOverlay",eF=a.forwardRef((e,t)=>{let n=eO(ej,e.__scopeDialog),{forceMount:r=n.forceMount,...o}=e,a=eL(ej,e.__scopeDialog);return a.modal?(0,p.jsx)(S.C,{present:r||a.open,children:(0,p.jsx)(e_,{...o,ref:t})}):null});eF.displayName=ej;var eW=function(e){let t=function(e){let t=a.forwardRef((e,t)=>{let{children:n,...r}=e;if(a.isValidElement(n)){var o;let e,i,u=(o=n,(i=(e=Object.getOwnPropertyDescriptor(o.props,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?o.ref:(i=(e=Object.getOwnPropertyDescriptor(o,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?o.props.ref:o.props.ref||o.ref),c=function(e,t){let n={...t};for(let r in t){let o=e[r],a=t[r];/^on[A-Z]/.test(r)?o&&a?n[r]=(...e)=>{let t=a(...e);return o(...e),t}:o&&(n[r]=o):"style"===r?n[r]={...o,...a}:"className"===r&&(n[r]=[o,a].filter(Boolean).join(" "))}return{...e,...n}}(r,n.props);return n.type!==a.Fragment&&(c.ref=t?(0,l.t)(t,u):u),a.cloneElement(n,c)}return a.Children.count(n)>1?a.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}(e),n=a.forwardRef((e,n)=>{let{children:r,...o}=e,i=a.Children.toArray(r),l=i.find(eR);if(l){let e=l.props.children,r=i.map(t=>t!==l?t:a.Children.count(e)>1?a.Children.only(null):a.isValidElement(e)?e.props.children:null);return(0,p.jsx)(t,{...o,ref:n,children:a.isValidElement(e)?a.cloneElement(e,void 0,r):null})}return(0,p.jsx)(t,{...o,ref:n,children:r})});return n.displayName=`${e}.Slot`,n}("DialogOverlay.RemoveScroll"),e_=a.forwardRef((e,t)=>{let{__scopeDialog:n,...r}=e,o=eL(ej,n);return(0,p.jsx)(ep,{as:eW,allowPinchZoom:!0,shards:[o.contentRef],children:(0,p.jsx)(f.sG.div,{"data-state":e$(o.open),...r,ref:t,style:{pointerEvents:"auto",...r.style}})})}),eB="DialogContent",eK=a.forwardRef((e,t)=>{let n=eO(eB,e.__scopeDialog),{forceMount:r=n.forceMount,...o}=e,a=eL(eB,e.__scopeDialog);return(0,p.jsx)(S.C,{present:r||a.open,children:a.modal?(0,p.jsx)(eG,{...o,ref:t}):(0,p.jsx)(eX,{...o,ref:t})})});eK.displayName=eB;var eG=a.forwardRef((e,t)=>{let n=eL(eB,e.__scopeDialog),r=a.useRef(null),o=(0,l.s)(t,n.contentRef,r);return a.useEffect(()=>{let e=r.current;if(e)return ew(e)},[]),(0,p.jsx)(eY,{...e,ref:o,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:(0,i.mK)(e.onCloseAutoFocus,e=>{var t;
1e.preventDefault(),null==(t=n.triggerRef.current)||t.focus()}),onPointerDownOutside:(0,i.mK)(e.onPointerDownOutside,e=>{let t=e.detail.originalEvent,n=0===t.button&&!0===t.ctrlKey;(2===t.button||n)&&e.preventDefault()}),onFocusOutside:(0,i.mK)(e.onFocusOutside,e=>e.preventDefault())})}),eX=a.forwardRef((e,t)=>{let n=eL(eB,e.__scopeDialog),r=a.useRef(!1),o=a.useRef(!1);return(0,p.jsx)(eY,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:t=>{var a,i;null==(a=e.onCloseAutoFocus)||a.call(e,t),t.defaultPrevented||(r.current||null==(i=n.triggerRef.current)||i.focus(),t.preventDefault()),r.current=!1,o.current=!1},onInteractOutside:t=>{var a,i;null==(a=e.onInteractOutside)||a.call(e,t),t.defaultPrevented||(r.current=!0,"pointerdown"===t.detail.originalEvent.type&&(o.current=!0));let l=t.target;(null==(i=n.triggerRef.current)?void 0:i.contains(l))&&t.preventDefault(),"focusin"===t.detail.originalEvent.type&&o.current&&t.preventDefault()}})}),eY=a.forwardRef((e,t)=>{let{__scopeDialog:n,trapFocus:r,onOpenAutoFocus:o,onCloseAutoFocus:i,...u}=e,c=eL(eB,n),s=a.useRef(null),f=(0,l.s)(t,s);return a.useEffect(()=>{var e,t;let n=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",null!=(e=n[0])?e:k()),document.body.insertAdjacentElement("beforeend",null!=(t=n[1])?t:k()),L++,()=>{1===L&&document.querySelectorAll("[data-radix-focus-guard]").forEach(e=>e.remove()),L--}},[]),(0,p.jsxs)(p.Fragment,{children:[(0,p.jsx)(y,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:o,onUnmountAutoFocus:i,children:(0,p.jsx)(d.qW,{role:"dialog",id:c.contentId,"aria-describedby":c.descriptionId,"aria-labelledby":c.titleId,"data-state":e$(c.open),...u,ref:f,onDismiss:()=>c.onOpenChange(!1)})}),(0,p.jsxs)(p.Fragment,{children:[(0,p.jsx)(e1,{titleId:c.titleId}),(0,p.jsx)(e2,{contentRef:s,descriptionId:c.descriptionId})]})]})}),eq="DialogTitle",eZ=a.forwardRef((e,t)=>{let{__scopeDialog:n,...r}=e,o=eL(eq,n);return(0,p.jsx)(f.sG.h2,{id:o.titleId,...r,ref:t})});eZ.displayName=eq;var ez="DialogDescription",eH=a.forwardRef((e,t)=>{let{__scopeDialog:n,...r}=e,o=eL(ez,n);return(0,p.jsx)(f.sG.p,{id:o.descriptionId,...r,ref:t})});eH.displayName=ez;var eU="DialogClose",eV=a.forwardRef((e,t)=>{let{__scopeDialog:n,...r}=e,o=eL(eU,n);return(0,p.jsx)(f.sG.button,{type:"button",...r,ref:t,onClick:(0,i.mK)(e.onClick,()=>o.onOpenChange(!1))})});function e$(e){return e?"open":"closed"}eV.displayName=eU;var eJ="DialogTitleWarning",[eQ,e0]=(0,u.q)(eJ,{contentName:eB,titleName:eq,docsSlug:"dialog"}),e1=e=>{let{titleId:t}=e,n=e0(eJ),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 a.useEffect(()=>{t&&(document.getElementById(t)||console.error(r))},[r,t]),null},e2=e=>{let{contentRef:t,descriptionId:n}=e,r=e0("DialogDescriptionWarning"),o="Warning: Missing `Description` or `aria-describedby={undefined}` for {".concat(r.contentName,"}.");return a.useEffect(()=>{var e;let r=null==(e=t.current)?void 0:e.getAttribute("aria-describedby");n&&r&&(document.getElementById(n)||console.warn(o))},[o,t,n]),null},e4=ek,e5=eP,e6=eI,e9=eF,e8=eK,e3=eZ,e7=eH,te=eV},44831:(e,t,n)=>{n.d(t,{qW:()=>f});var r,o=n(12115),a=n(92556),i=n(88142),l=n(94446),u=n(70222),c=n(95155),s="dismissableLayer.update",d=o.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),f=o.forwardRef((e,t)=>{var n,f;let{disableOutsidePointerEvents:m=!1,onEscapeKeyDown:h,onPointerDownOutside:g,onFocusOutside:y,onInteractOutside:E,onDismiss:b,...w}
1=e,C=o.useContext(d),[R,x]=o.useState(null),D=null!=(f=null==R?void 0:R.ownerDocument)?f:null==(n=globalThis)?void 0:n.document,[,N]=o.useState({}),S=(0,l.s)(t,e=>x(e)),L=Array.from(C.layers),[k]=[...C.layersWithOutsidePointerEventsDisabled].slice(-1),T=L.indexOf(k),P=R?L.indexOf(R):-1,A=C.layersWithOutsidePointerEventsDisabled.size>0,M=P>=T,O=function(e){var t;let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null==(t=globalThis)?void 0:t.document,r=(0,u.c)(e),a=o.useRef(!1),i=o.useRef(()=>{});return o.useEffect(()=>{let e=e=>{if(e.target&&!a.current){let t=function(){p("dismissableLayer.pointerDownOutside",r,o,{discrete:!0})},o={originalEvent:e};"touch"===e.pointerType?(n.removeEventListener("click",i.current),i.current=t,n.addEventListener("click",i.current,{once:!0})):t()}else n.removeEventListener("click",i.current);a.current=!1},t=window.setTimeout(()=>{n.addEventListener("pointerdown",e)},0);return()=>{window.clearTimeout(t),n.removeEventListener("pointerdown",e),n.removeEventListener("click",i.current)}},[n,r]),{onPointerDownCapture:()=>a.current=!0}}(e=>{let t=e.target,n=[...C.branches].some(e=>e.contains(t));M&&!n&&(null==g||g(e),null==E||E(e),e.defaultPrevented||null==b||b())},D),I=function(e){var t;let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null==(t=globalThis)?void 0:t.document,r=(0,u.c)(e),a=o.useRef(!1);return o.useEffect(()=>{let e=e=>{e.target&&!a.current&&p("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;![...C.branches].some(e=>e.contains(t))&&(null==y||y(e),null==E||E(e),e.defaultPrevented||null==b||b())},D);return!function(e,t=globalThis?.document){let n=(0,u.c)(e);o.useEffect(()=>{let e=e=>{"Escape"===e.key&&n(e)};return t.addEventListener("keydown",e,{capture:!0}),()=>t.removeEventListener("keydown",e,{capture:!0})},[n,t])}(e=>{P===C.layers.size-1&&(null==h||h(e),!e.defaultPrevented&&b&&(e.preventDefault(),b()))},D),o.useEffect(()=>{if(R)return m&&(0===C.layersWithOutsidePointerEventsDisabled.size&&(r=D.body.style.pointerEvents,D.body.style.pointerEvents="none"),C.layersWithOutsidePointerEventsDisabled.add(R)),C.layers.add(R),v(),()=>{m&&1===C.layersWithOutsidePointerEventsDisabled.size&&(D.body.style.pointerEvents=r)}},[R,D,m,C]),o.useEffect(()=>()=>{R&&(C.layers.delete(R),C.layersWithOutsidePointerEventsDisabled.delete(R),v())},[R,C]),o.useEffect(()=>{let e=()=>N({});return document.addEventListener(s,e),()=>document.removeEventListener(s,e)},[]),(0,c.jsx)(i.sG.div,{...w,ref:S,style:{pointerEvents:A?M?"auto":"none":void 0,...e.style},onFocusCapture:(0,a.mK)(e.onFocusCapture,I.onFocusCapture),onBlurCapture:(0,a.mK)(e.onBlurCapture,I.onBlurCapture),onPointerDownCapture:(0,a.mK)(e.onPointerDownCapture,O.onPointerDownCapture)})});function v(){let e=new CustomEvent(s);document.dispatchEvent(e)}function p(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,i.hO)(a,l):a.dispatchEvent(l)}f.displayName="DismissableLayer",o.forwardRef((e,t)=>{let n=o.useContext(d),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,c.jsx)(i.sG.div,{...e,ref:a})}).displayName="DismissableLayerBranch"},70222:(e,t,n)=>{n.d(t,{c:()=>o});var r=n(12115);function o(e){let t=r.useRef(e);return r.useEffect(()=>{t.current=e}),r.useMemo(()=>(...e)=>t.current?.(...e),[])}}}]);

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.