1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5094],{6132:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(71847).A)("circle-alert",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"12",x2:"12",y1:"8",y2:"12",key:"1pkeuh"}],["line",{x1:"12",x2:"12.01",y1:"16",y2:"16",key:"4dfq90"}]])},10489:(e,t,r)=>{r.d(t,{b:()=>u});var n=r(12115),l=r(97602),a=r(95155),o=n.forwardRef((e,t)=>(0,a.jsx)(l.sG.label,{...e,ref:t,onMouseDown:t=>{var r;t.target.closest("button, input, select, textarea")||(null==(r=e.onMouseDown)||r.call(e,t),!t.defaultPrevented&&t.detail>1&&t.preventDefault())}}));o.displayName="Label";var u=o},41808:(e,t,r)=>{r.d(t,{uB:()=>O});var n=/[\\\/_+.#"@\[\(\{&]/,l=/[\\\/_+.#"@\[\(\{&]/g,a=/[\s-]/,o=/[\s-]/g;function u(e){return e.toLowerCase().replace(o," ")}var i=r(77442),c=r(12115),s=r(97602),d=r(68946),f=r(94446),p='[cmdk-group=""]',v='[cmdk-group-items=""]',m='[cmdk-item=""]',h="".concat(m,':not([aria-disabled="true"])'),g="cmdk-item-select",b="data-value",w=(e,t,r)=>(function(e,t,r){return function e(t,r,u,i,c,s,d){if(s===r.length)return c===t.length?1:.99;var f=`${c},${s}`;if(void 0!==d[f])return d[f];for(var p,v,m,h,g=i.charAt(s),b=u.indexOf(g,c),w=0;b>=0;)(p=e(t,r,u,i,b+1,s+1,d))>w&&(b===c?p*=1:n.test(t.charAt(b-1))?(p*=.8,(m=t.slice(c,b-1).match(l))&&c>0&&(p*=Math.pow(.999,m.length))):a.test(t.charAt(b-1))?(p*=.9,(h=t.slice(c,b-1).match(o))&&c>0&&(p*=Math.pow(.999,h.length))):(p*=.17,c>0&&(p*=Math.pow(.999,b-c))),t.charAt(b)!==r.charAt(s)&&(p*=.9999)),(p<.1&&u.charAt(b-1)===i.charAt(s+1)||i.charAt(s+1)===i.charAt(s)&&u.charAt(b-1)!==i.charAt(s))&&.1*(v=e(t,r,u,i,b+1,s+2,d))>p&&(p=.1*v),p>w&&(w=p),b=u.indexOf(g,b+1);return d[f]=w,w}(e=r&&r.length>0?`${e+" "+r.join(" ")}`:e,t,u(e),u(t),0,0,{})})(e,t,r),y=c.createContext(void 0),E=()=>c.useContext(y),x=c.createContext(void 0),k=()=>c.useContext(x),C=c.createContext(void 0),A=c.forwardRef((e,t)=>{let r=F(()=>{var t,r;return{search:"",value:null!=(r=null!=(t=e.value)?t:e.defaultValue)?r:"",selectedItemId:void 0,filtered:{count:0,items:new Map,groups:new Set}}}),n=F(()=>new Set),l=F(()=>new Map),a=F(()=>new Map),o=F(()=>new Set),u=D(e),{label:i,children:f,value:E,onValueChange:k,filter:C,shouldFilter:A,loop:R,disablePointerSelection:I=!1,vimBindings:S=!0,...M}=e,N=(0,d.B)(),P=(0,d.B)(),O=(0,d.B)(),L=c.useRef(null),T=_();j(()=>{if(void 0!==E){let e=E.trim();r.current.value=e,G.emit()}},[E]),j(()=>{T(6,Z)},[]);let G=c.useMemo(()=>({subscribe:e=>(o.current.add(e),()=>o.current.delete(e)),snapshot:()=>r.current,setState:(e,t,n)=>{var l,a,o,i;if(!Object.is(r.current[e],t)){if(r.current[e]=t,"search"===e)W(),V(),T(1,z);else if("value"===e){if(document.activeElement.hasAttribute("cmdk-input")||document.activeElement.hasAttribute("cmdk-root")){let e=document.getElementById(O);e?e.focus():null==(l=document.getElementById(N))||l.focus()}if(T(7,()=>{var e;r.current.selectedItemId=null==(e=$())?void 0:e.id,G.emit()}),n||T(5,Z),(null==(a=u.current)?void 0:a.value)!==void 0){null==(i=(o=u.current).onValueChange)||i.call(o,null!=t?t:"");return}}G.emit()}},emit:()=>{o.current.forEach(e=>e())}}),[]),q=c.useMemo(()=>({value:(e,t,n)=>{var l;t!==(null==(l=a.current.get(e))?void 0:l.value)&&(a.current.set(e,{value:t,keywords:n}),r.current.filtered.items.set(e,K(t,n)),T(2,()=>{V(),G.emit()}))},item:(e,t)=>(n.current.add(e),t&&(l.current.has(t)?l.current.get(t).add(e):l.current.set(t,new Set([e]))),T(3,()=>{W(),V(),r.current.value||z(),G.emit()}),()=>{a.current.delete(e),n.current.delete(e),r.current.filtered.items.delete(e);let t=$();T(4,()=>{W(),(null==t?void 0:t.getAttribute("id"))===e&&z(),G.emit()})}),group:e=>(l.current.has(e)||l.current.set(e,new Set),()=>{a.current.delete(e),l.current.delete(e)}),filter:()=>u.current.shouldFilter,label:i||e["aria-label"],getDisablePointerSelection:()=>u.current.disablePointerSelection,listId:N,inputId:O,labelId:P,listInnerRef:L}),[]);function K(e,t){var n,l;let a=null!=(l=null==(n=u.current)?void 0:n.filter)?l:w;return e?a(e,r.current.search,t):0}function V(){if(!r.current.search||!1===u.current.shouldFilter)return;let e=r.current.filtered.items,t=[];r.current.filtered.groups.forEach(r=>{let n=l.current.get(r),a=0;
1n.forEach(t=>{a=Math.max(e.get(t),a)}),t.push([r,a])});let n=L.current;H().sort((t,r)=>{var n,l;let a=t.getAttribute("id"),o=r.getAttribute("id");return(null!=(n=e.get(o))?n:0)-(null!=(l=e.get(a))?l:0)}).forEach(e=>{let t=e.closest(v);t?t.appendChild(e.parentElement===t?e:e.closest("".concat(v," > *"))):n.appendChild(e.parentElement===n?e:e.closest("".concat(v," > *")))}),t.sort((e,t)=>t[1]-e[1]).forEach(e=>{var t;let r=null==(t=L.current)?void 0:t.querySelector("".concat(p,"[").concat(b,'="').concat(encodeURIComponent(e[0]),'"]'));null==r||r.parentElement.appendChild(r)})}function z(){let e=H().find(e=>"true"!==e.getAttribute("aria-disabled")),t=null==e?void 0:e.getAttribute(b);G.setState("value",t||void 0)}function W(){var e,t,o,i;if(!r.current.search||!1===u.current.shouldFilter){r.current.filtered.count=n.current.size;return}r.current.filtered.groups=new Set;let c=0;for(let l of n.current){let n=K(null!=(t=null==(e=a.current.get(l))?void 0:e.value)?t:"",null!=(i=null==(o=a.current.get(l))?void 0:o.keywords)?i:[]);r.current.filtered.items.set(l,n),n>0&&c++}for(let[e,t]of l.current)for(let n of t)if(r.current.filtered.items.get(n)>0){r.current.filtered.groups.add(e);break}r.current.filtered.count=c}function Z(){var e,t,r;let n=$();n&&((null==(e=n.parentElement)?void 0:e.firstChild)===n&&(null==(r=null==(t=n.closest(p))?void 0:t.querySelector('[cmdk-group-heading=""]'))||r.scrollIntoView({block:"nearest"})),n.scrollIntoView({block:"nearest"}))}function $(){var e;return null==(e=L.current)?void 0:e.querySelector("".concat(m,'[aria-selected="true"]'))}function H(){var e;return Array.from((null==(e=L.current)?void 0:e.querySelectorAll(h))||[])}function J(e){let t=H()[e];t&&G.setState("value",t.getAttribute(b))}function Q(e){var t;let r=$(),n=H(),l=n.findIndex(e=>e===r),a=n[l+e];null!=(t=u.current)&&t.loop&&(a=l+e<0?n[n.length-1]:l+e===n.length?n[0]:n[l+e]),a&&G.setState("value",a.getAttribute(b))}function X(e){let t=$(),r=null==t?void 0:t.closest(p),n;for(;r&&!n;)n=null==(r=e>0?function(e,t){let r=e.nextElementSibling;for(;r;){if(r.matches(t))return r;r=r.nextElementSibling}}(r,p):function(e,t){let r=e.previousElementSibling;for(;r;){if(r.matches(t))return r;r=r.previousElementSibling}}(r,p))?void 0:r.querySelector(h);n?G.setState("value",n.getAttribute(b)):Q(e)}let Y=()=>J(H().length-1),ee=e=>{e.preventDefault(),e.metaKey?Y():e.altKey?X(1):Q(1)},et=e=>{e.preventDefault(),e.metaKey?J(0):e.altKey?X(-1):Q(-1)};return c.createElement(s.sG.div,{ref:t,tabIndex:-1,...M,"cmdk-root":"",onKeyDown:e=>{var t;null==(t=M.onKeyDown)||t.call(M,e);let r=e.nativeEvent.isComposing||229===e.keyCode;if(!(e.defaultPrevented||r))switch(e.key){case"n":case"j":S&&e.ctrlKey&&ee(e);break;case"ArrowDown":ee(e);break;case"p":case"k":S&&e.ctrlKey&&et(e);break;case"ArrowUp":et(e);break;case"Home":e.preventDefault(),J(0);break;case"End":e.preventDefault(),Y();break;case"Enter":{e.preventDefault();let t=$();if(t){let e=new Event(g);t.dispatchEvent(e)}}}}},c.createElement("label",{"cmdk-label":"",htmlFor:q.inputId,id:q.labelId,style:B},i),U(e,e=>c.createElement(x.Provider,{value:G},c.createElement(y.Provider,{value:q},e))))}),R=c.forwardRef((e,t)=>{var r,n;let l=(0,d.B)(),a=c.useRef(null),o=c.useContext(C),u=E(),i=D(e),p=null!=(n=null==(r=i.current)?void 0:r.forceMount)?n:null==o?void 0:o.forceMount;j(()=>{if(!p)return u.item(l,null==o?void 0:o.id)},[p]);let v=T(l,a,[e.value,e.children,a],e.keywords),m=k(),h=L(e=>e.value&&e.value===v.current),b=L(e=>!!p||!1===u.filter()||!e.search||e.filtered.items.get(l)>0);function w(){var e,t;y(),null==(t=(e=i.current).onSelect)||t.call(e,v.current)}function y(){m.setState("value",v.current,!0)}if(c.useEffect(()=>{let t=a.current;if(!(!t||e.disabled))return t.addEventListener(g,w),()=>t.removeEventListener(g,w)},[b,e.onSelect,e.disabled]),!b)return null;let{disabled:x,value:A,onSelect:R,forceMount:I,keywords:S,...M}=e;return c.createElement(s.sG.div,{ref:(0,f.t)(a,t),...M,id:l,"cmdk-item":"",role:"option","aria-disabled":!!x,"aria-selected":!!h,"data-disabled":!!x,"data-selected":!!h,onPointerMove:x||u.getDisablePointerSelection()?void 0:y,onClick:x?void 0:w},e.children)}),I=c.forwardRef((e,t)=>
1{let{heading:r,children:n,forceMount:l,...a}=e,o=(0,d.B)(),u=c.useRef(null),i=c.useRef(null),p=(0,d.B)(),v=E(),m=L(e=>!!l||!1===v.filter()||!e.search||e.filtered.groups.has(o));j(()=>v.group(o),[]),T(o,u,[e.value,e.heading,i]);let h=c.useMemo(()=>({id:o,forceMount:l}),[l]);return c.createElement(s.sG.div,{ref:(0,f.t)(u,t),...a,"cmdk-group":"",role:"presentation",hidden:!m||void 0},r&&c.createElement("div",{ref:i,"cmdk-group-heading":"","aria-hidden":!0,id:p},r),U(e,e=>c.createElement("div",{"cmdk-group-items":"",role:"group","aria-labelledby":r?p:void 0},c.createElement(C.Provider,{value:h},e))))}),S=c.forwardRef((e,t)=>{let{alwaysRender:r,...n}=e,l=c.useRef(null),a=L(e=>!e.search);return r||a?c.createElement(s.sG.div,{ref:(0,f.t)(l,t),...n,"cmdk-separator":"",role:"separator"}):null}),M=c.forwardRef((e,t)=>{let{onValueChange:r,...n}=e,l=null!=e.value,a=k(),o=L(e=>e.search),u=L(e=>e.selectedItemId),i=E();return c.useEffect(()=>{null!=e.value&&a.setState("search",e.value)},[e.value]),c.createElement(s.sG.input,{ref:t,...n,"cmdk-input":"",autoComplete:"off",autoCorrect:"off",spellCheck:!1,"aria-autocomplete":"list",role:"combobox","aria-expanded":!0,"aria-controls":i.listId,"aria-labelledby":i.labelId,"aria-activedescendant":u,id:i.inputId,type:"text",value:l?e.value:o,onChange:e=>{l||a.setState("search",e.target.value),null==r||r(e.target.value)}})}),N=c.forwardRef((e,t)=>{let{children:r,label:n="Suggestions",...l}=e,a=c.useRef(null),o=c.useRef(null),u=L(e=>e.selectedItemId),i=E();return c.useEffect(()=>{if(o.current&&a.current){let e=o.current,t=a.current,r,n=new ResizeObserver(()=>{r=requestAnimationFrame(()=>{let r=e.offsetHeight;t.style.setProperty("--cmdk-list-height",r.toFixed(1)+"px")})});return n.observe(e),()=>{cancelAnimationFrame(r),n.unobserve(e)}}},[]),c.createElement(s.sG.div,{ref:(0,f.t)(a,t),...l,"cmdk-list":"",role:"listbox",tabIndex:-1,"aria-activedescendant":u,"aria-label":n,id:i.listId},U(e,e=>c.createElement("div",{ref:(0,f.t)(o,i.listInnerRef),"cmdk-list-sizer":""},e)))}),P=c.forwardRef((e,t)=>{let{open:r,onOpenChange:n,overlayClassName:l,contentClassName:a,container:o,...u}=e;return c.createElement(i.bL,{open:r,onOpenChange:n},c.createElement(i.ZL,{container:o},c.createElement(i.hJ,{"cmdk-overlay":"",className:l}),c.createElement(i.UC,{"aria-label":e.label,"cmdk-dialog":"",className:a},c.createElement(A,{ref:t,...u}))))}),O=Object.assign(A,{List:N,Item:R,Input:M,Group:I,Separator:S,Dialog:P,Empty:c.forwardRef((e,t)=>L(e=>0===e.filtered.count)?c.createElement(s.sG.div,{ref:t,...e,"cmdk-empty":"",role:"presentation"}):null),Loading:c.forwardRef((e,t)=>{let{progress:r,children:n,label:l="Loading...",...a}=e;return c.createElement(s.sG.div,{ref:t,...a,"cmdk-loading":"",role:"progressbar","aria-valuenow":r,"aria-valuemin":0,"aria-valuemax":100,"aria-label":l},U(e,e=>c.createElement("div",{"aria-hidden":!0},e)))})});function D(e){let t=c.useRef(e);return j(()=>{t.current=e}),t}var j="undefined"==typeof window?c.useEffect:c.useLayoutEffect;function F(e){let t=c.useRef();return void 0===t.current&&(t.current=e()),t}function L(e){let t=k(),r=()=>e(t.snapshot());return c.useSyncExternalStore(t.subscribe,r,r)}function T(e,t,r){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[],l=c.useRef(),a=E();return j(()=>{var o;let u=(()=>{var e;for(let t of r){if("string"==typeof t)return t.trim();if("object"==typeof t&&"current"in t)return t.current?null==(e=t.current.textContent)?void 0:e.trim():l.current}})(),i=n.map(e=>e.trim());a.value(e,u,i),null==(o=t.current)||o.setAttribute(b,u),l.current=u}),l}var _=()=>{let[e,t]=c.useState(),r=F(()=>new Map);return j(()=>{r.current.forEach(e=>e()),r.current=new Map},[e]),(e,n)=>{r.current.set(e,n),t({})}};function U(e,t){let r,{asChild:n,children:l}=e;return n&&c.isValidElement(l)?c.cloneElement("function"==typeof(r=l.type)?r(l.props):"render"in r?r.render(l.props):l,{ref:l.ref},t(l.props.children)):t(l)}var B={position:"absolute",width:"1px",height:"1px",padding:"0",margin:"-1px",overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",borderWidth:"0"}},74054:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(71847).A)("chevrons-up-down",[["path",{d:"m7 15 5 5 5-5",key:"1hf1tw"}],["path",{d:"m7 9 5-5 5 5",key:"sgt6xg"}]])},96165:(e,t,r)=>{r.d(t,{Mz:()=>W,UC:()=>H,ZL:()=>$,bL:()=>z,l9:()=>Z});var n=r(12115),l=r(92556),a=r(94446),o=r(3468),u=r(44831),i=r(19526),c=r(69666),s=r(68946),d=r(73867),f=r(75433),p=r(4129),v=e=>{let{present:t,children:r}=e,l=function(e){var t,r;let[l,a]=n.useState(),o=n.useRef(null),u=n.useRef(e),i=n.useRef("none"),[c,s]=(t=e?"mounted":"unmounted",r={mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}},n.useReducer((e,t)=>
1{let n=r[e][t];return null!=n?n:e},t));return n.useEffect(()=>{let e=m(o.current);i.current="mounted"===c?e:"none"},[c]),(0,p.N)(()=>{let t=o.current,r=u.current;if(r!==e){let n=i.current,l=m(t);e?s("MOUNT"):"none"===l||(null==t?void 0:t.display)==="none"?s("UNMOUNT"):r&&n!==l?s("ANIMATION_OUT"):s("UNMOUNT"),u.current=e}},[e,s]),(0,p.N)(()=>{if(l){var e;let t,r=null!=(e=l.ownerDocument.defaultView)?e:window,n=e=>{let n=m(o.current).includes(e.animationName);if(e.target===l&&n&&(s("ANIMATION_END"),!u.current)){let e=l.style.animationFillMode;l.style.animationFillMode="forwards",t=r.setTimeout(()=>{"forwards"===l.style.animationFillMode&&(l.style.animationFillMode=e)})}},a=e=>{e.target===l&&(i.current=m(o.current))};return l.addEventListener("animationstart",a),l.addEventListener("animationcancel",n),l.addEventListener("animationend",n),()=>{r.clearTimeout(t),l.removeEventListener("animationstart",a),l.removeEventListener("animationcancel",n),l.removeEventListener("animationend",n)}}s("ANIMATION_END")},[l,s]),{isPresent:["mounted","unmountSuspended"].includes(c),ref:n.useCallback(e=>{o.current=e?getComputedStyle(e):null,a(e)},[])}}(t),o="function"==typeof r?r({present:l.isPresent}):n.Children.only(r),u=(0,a.s)(l.ref,function(e){var t,r;let n=null==(t=Object.getOwnPropertyDescriptor(e.props,"ref"))?void 0:t.get,l=n&&"isReactWarning"in n&&n.isReactWarning;return l?e.ref:(l=(n=null==(r=Object.getOwnPropertyDescriptor(e,"ref"))?void 0:r.get)&&"isReactWarning"in n&&n.isReactWarning)?e.props.ref:e.props.ref||e.ref}(o));return"function"==typeof r||l.isPresent?n.cloneElement(o,{ref:u}):null};function m(e){return(null==e?void 0:e.animationName)||"none"}v.displayName="Presence";var h=r(97602),g=r(32467),b=r(23558),w=r(97745),y=r(40101),E=r(95155),x="Popover",[k,C]=(0,o.A)(x,[d.Bk]),A=(0,d.Bk)(),[R,I]=k(x),S=e=>{let{__scopePopover:t,children:r,open:l,defaultOpen:a,onOpenChange:o,modal:u=!1}=e,i=A(t),c=n.useRef(null),[f,p]=n.useState(!1),[v,m]=(0,b.i)({prop:l,defaultProp:null!=a&&a,onChange:o,caller:x});return(0,E.jsx)(d.bL,{...i,children:(0,E.jsx)(R,{scope:t,contentId:(0,s.B)(),triggerRef:c,open:v,onOpenChange:m,onOpenToggle:n.useCallback(()=>m(e=>!e),[m]),hasCustomAnchor:f,onCustomAnchorAdd:n.useCallback(()=>p(!0),[]),onCustomAnchorRemove:n.useCallback(()=>p(!1),[]),modal:u,children:r})})};S.displayName=x;var M="PopoverAnchor",N=n.forwardRef((e,t)=>{let{__scopePopover:r,...l}=e,a=I(M,r),o=A(r),{onCustomAnchorAdd:u,onCustomAnchorRemove:i}=a;return n.useEffect(()=>(u(),()=>i()),[u,i]),(0,E.jsx)(d.Mz,{...o,...l,ref:t})});N.displayName=M;var P="PopoverTrigger",O=n.forwardRef((e,t)=>{let{__scopePopover:r,...n}=e,o=I(P,r),u=A(r),i=(0,a.s)(t,o.triggerRef),c=(0,E.jsx)(h.sG.button,{type:"button","aria-haspopup":"dialog","aria-expanded":o.open,"aria-controls":o.contentId,"data-state":V(o.open),...n,ref:i,onClick:(0,l.m)(e.onClick,o.onOpenToggle)});return o.hasCustomAnchor?c:(0,E.jsx)(d.Mz,{asChild:!0,...u,children:c})});O.displayName=P;var D="PopoverPortal",[j,F]=k(D,{forceMount:void 0}),L=e=>{let{__scopePopover:t,forceMount:r,children:n,container:l}=e,a=I(D,t);return(0,E.jsx)(j,{scope:t,forceMount:r,children:(0,E.jsx)(v,{present:r||a.open,children:(0,E.jsx)(f.Z,{asChild:!0,container:l,children:n})})})};L.displayName=D;var T="PopoverContent",_=n.forwardRef((e,t)=>{let r=F(T,e.__scopePopover),{forceMount:n=r.forceMount,...l}=e,a=I(T,e.__scopePopover);return(0,E.jsx)(v,{present:n||a.open,children:a.modal?(0,E.jsx)(B,{...l,ref:t}):(0,E.jsx)(G,{...l,ref:t})})});_.displayName=T;var U=(0,g.TL)("PopoverContent.RemoveScroll"),B=n.forwardRef((e,t)=>{let r=I(T,e.__scopePopover),o=n.useRef(null),u=(0,a.s)(t,o),i=n.useRef(!1);return n.useEffect(()=>{let e=o.current;if(e)return(0,w.Eq)(e)},[]),(0,E.jsx)(y.A,{as:U,allowPinchZoom:!0,children:(0,E.jsx)(q,{...e,ref:u,trapFocus:r.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:(0,l.m)(e.onCloseAutoFocus,e=>{var t;e.preventDefault(),i.current||null==(t=r.triggerRef.current)||t.focus()}),onPointerDownOutside:(0,l.m)(e.onPointerDownOutside,e=>{let t=e.detail.originalEvent,r=0===t.button&&!0===t.ctrlKey;i.current=2===t.button||r},{checkForDefaultPrevented:!1}),onFocusOutside:(0,l.m)(e.onFocusOutside,e=>e.preventDefault(),{checkForDefaultPrevented:!1})})})}),G=n.forwardRef((e,t)=>
1{let r=I(T,e.__scopePopover),l=n.useRef(!1),a=n.useRef(!1);return(0,E.jsx)(q,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:t=>{var n,o;null==(n=e.onCloseAutoFocus)||n.call(e,t),t.defaultPrevented||(l.current||null==(o=r.triggerRef.current)||o.focus(),t.preventDefault()),l.current=!1,a.current=!1},onInteractOutside:t=>{var n,o;null==(n=e.onInteractOutside)||n.call(e,t),t.defaultPrevented||(l.current=!0,"pointerdown"===t.detail.originalEvent.type&&(a.current=!0));let u=t.target;(null==(o=r.triggerRef.current)?void 0:o.contains(u))&&t.preventDefault(),"focusin"===t.detail.originalEvent.type&&a.current&&t.preventDefault()}})}),q=n.forwardRef((e,t)=>{let{__scopePopover:r,trapFocus:n,onOpenAutoFocus:l,onCloseAutoFocus:a,disableOutsidePointerEvents:o,onEscapeKeyDown:s,onPointerDownOutside:f,onFocusOutside:p,onInteractOutside:v,...m}=e,h=I(T,r),g=A(r);return(0,i.Oh)(),(0,E.jsx)(c.n,{asChild:!0,loop:!0,trapped:n,onMountAutoFocus:l,onUnmountAutoFocus:a,children:(0,E.jsx)(u.qW,{asChild:!0,disableOutsidePointerEvents:o,onInteractOutside:v,onEscapeKeyDown:s,onPointerDownOutside:f,onFocusOutside:p,onDismiss:()=>h.onOpenChange(!1),children:(0,E.jsx)(d.UC,{"data-state":V(h.open),role:"dialog",id:h.contentId,...g,...m,ref:t,style:{...m.style,"--radix-popover-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-popover-content-available-width":"var(--radix-popper-available-width)","--radix-popover-content-available-height":"var(--radix-popper-available-height)","--radix-popover-trigger-width":"var(--radix-popper-anchor-width)","--radix-popover-trigger-height":"var(--radix-popper-anchor-height)"}})})})}),K="PopoverClose";function V(e){return e?"open":"closed"}n.forwardRef((e,t)=>{let{__scopePopover:r,...n}=e,a=I(K,r);return(0,E.jsx)(h.sG.button,{type:"button",...n,ref:t,onClick:(0,l.m)(e.onClick,()=>a.onOpenChange(!1))})}).displayName=K,n.forwardRef((e,t)=>{let{__scopePopover:r,...n}=e,l=A(r);return(0,E.jsx)(d.i3,{...l,...n,ref:t})}).displayName="PopoverArrow";var z=S,W=N,Z=O,$=L,H=_}}]);
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.