PageSourceSearch

https://www.priuscenter.mn/_next/static/chunks/5161-c3258ea4ebf27689.js

js priuscenter.mn collected 2026-10-01 23:46:40 UTC 28,474 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5161],{33145:function(e,n,r){r.d(n,{default:function(){return o.a}});var t=r(48461),o=r.n(t)},48461:function(e,n,r){Object.defineProperty(n,"__esModule",{value:!0}),function(e,n){for(var r in n)Object.defineProperty(e,r,{enumerable:!0,get:n[r]})}(n,{default:function(){return l},getImageProps:function(){return i}});let t=r(47043),o=r(55346),a=r(65878),u=t._(r(5084));function i(e){let{props:n}=(0,o.getImgProps)(e,{defaultLoader:u.default,imgConf:{deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!1}});for(let[e,r]of Object.entries(n))void 0===r&&delete n[e];return{props:n}}let l=a.Image},49027:function(e,n,r){r.d(n,{Dx:function(){return er},VY:function(){return en},aV:function(){return ee},dk:function(){return et},fC:function(){return J},h_:function(){return $},jm:function(){return Z},p8:function(){return M},x8:function(){return eo},xz:function(){return Q}});var t=r(2265),o=r(6741),a=r(98575),u=r(73966),i=r(99255),l=r(80886),d=r(15278),c=r(99103),s=r(83832),f=r(71599),p=r(66840),v=r(86097),g=r(87922),m=r(5478),h=r(37053),w=r(57437),x="Dialog",[y,M]=(0,u.b)(x),[b,C]=y(x),j=e=>{let{__scopeDialog:n,children:r,open:o,defaultOpen:a,onOpenChange:u,modal:d=!0}=e,c=t.useRef(null),s=t.useRef(null),[f=!1,p]=(0,l.T)({prop:o,defaultProp:a,onChange:u});return(0,w.jsx)(b,{scope:n,triggerRef:c,contentRef:s,contentId:(0,i.M)(),titleId:(0,i.M)(),descriptionId:(0,i.M)(),open:f,onOpenChange:p,onOpenToggle:t.useCallback(()=>p(e=>!e),[p]),modal:d,children:r})};j.displayName=x;var D="DialogTrigger",R=t.forwardRef((e,n)=>{let{__scopeDialog:r,...t}=e,u=C(D,r),i=(0,a.e)(n,u.triggerRef);return(0,w.jsx)(p.WV.button,{type:"button","aria-haspopup":"dialog","aria-expanded":u.open,"aria-controls":u.contentId,"data-state":U(u.open),...t,ref:i,onClick:(0,o.M)(e.onClick,u.onOpenToggle)})});R.displayName=D;var _="DialogPortal",[I,k]=y(_,{forceMount:void 0}),P=e=>{let{__scopeDialog:n,forceMount:r,children:o,container:a}=e,u=C(_,n);return(0,w.jsx)(I,{scope:n,forceMount:r,children:t.Children.map(o,e=>(0,w.jsx)(f.z,{present:r||u.open,children:(0,w.jsx)(s.h,{asChild:!0,container:a,children:e})}))})};P.displayName=_;var E="DialogOverlay",F=t.forwardRef((e,n)=>{let r=k(E,e.__scopeDialog),{forceMount:t=r.forceMount,...o}=e,a=C(E,e.__scopeDialog);return a.modal?(0,w.jsx)(f.z,{present:t||a.open,children:(0,w.jsx)(T,{...o,ref:n})}):null});F.displayName=E;var T=t.forwardRef((e,n)=>{let{__scopeDialog:r,...t}=e,o=C(E,r);return(0,w.jsx)(g.Z,{as:h.g7,allowPinchZoom:!0,shards:[o.contentRef],children:(0,w.jsx)(p.WV.div,{"data-state":U(o.open),...t,ref:n,style:{pointerEvents:"auto",...t.style}})})}),N="DialogContent",O=t.forwardRef((e,n)=>{let r=k(N,e.__scopeDialog),{forceMount:t=r.forceMount,...o}=e,a=C(N,e.__scopeDialog);return(0,w.jsx)(f.z,{present:t||a.open,children:a.modal?(0,w.jsx)(S,{...o,ref:n}):(0,w.jsx)(A,{...o,ref:n})})});O.displayName=N;var S=t.forwardRef((e,n)=>{let r=C(N,e.__scopeDialog),u=t.useRef(null),i=(0,a.e)(n,r.contentRef,u);return t.useEffect(()=>{let e=u.current;if(e)return(0,m.Ry)(e)},[]),(0,w.jsx)(L,{...e,ref:i,trapFocus:r.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:(0,o.M)(e.onCloseAutoFocus,e=>{var n;e.preventDefault(),null===(n=r.triggerRef.current)||void 0===n||n.focus()}),onPointerDownOutside:(0,o.M)(e.onPointerDownOutside,e=>{let n=e.detail.originalEvent,r=0===n.button&&!0===n.ctrlKey;(2===n.button||r)&&e.preventDefault()}),onFocusOutside:(0,o.M)(e.onFocusOutside,e=>e.preventDefault())})}),A=t.forwardRef((e,n)=>{let r=C(N,e.__scopeDialog),o=t.useRef(!1),a=t.useRef(!1);return(0,w.jsx)(L,{...e,ref:n,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:n=>{var t,u;null===(t=e.onCloseAutoFocus)||void 0===t||t.call(e,n),n.defaultPrevented||(o.current||null===(u=r.triggerRef.current)||void 0===u||u.focus(),n.preventDefault()),o.current=!1,a.current=!1},onInteractOutside:n=>{var t,u;null===(t=e.onInteractOutside)||void 0===t||t.call(e,n),n.defaultPrevented||(o.current=!0,"pointerdown"!==n.detail.originalEvent.type||(a.current=!0));let i=n.target;(null===(u=r.triggerRef.current)||void 0===u?void 0:u.contains(i))&&n.preventDefault(),"focusin"===n.detail.originalEvent.type&&a.current&&n.preventDefault()}})}
1),L=t.forwardRef((e,n)=>{let{__scopeDialog:r,trapFocus:o,onOpenAutoFocus:u,onCloseAutoFocus:i,...l}=e,s=C(N,r),f=t.useRef(null),p=(0,a.e)(n,f);return(0,v.EW)(),(0,w.jsxs)(w.Fragment,{children:[(0,w.jsx)(c.M,{asChild:!0,loop:!0,trapped:o,onMountAutoFocus:u,onUnmountAutoFocus:i,children:(0,w.jsx)(d.XB,{role:"dialog",id:s.contentId,"aria-describedby":s.descriptionId,"aria-labelledby":s.titleId,"data-state":U(s.open),...l,ref:p,onDismiss:()=>s.onOpenChange(!1)})}),(0,w.jsxs)(w.Fragment,{children:[(0,w.jsx)(H,{titleId:s.titleId}),(0,w.jsx)(q,{contentRef:f,descriptionId:s.descriptionId})]})]})}),K="DialogTitle",V=t.forwardRef((e,n)=>{let{__scopeDialog:r,...t}=e,o=C(K,r);return(0,w.jsx)(p.WV.h2,{id:o.titleId,...t,ref:n})});V.displayName=K;var W="DialogDescription",G=t.forwardRef((e,n)=>{let{__scopeDialog:r,...t}=e,o=C(W,r);return(0,w.jsx)(p.WV.p,{id:o.descriptionId,...t,ref:n})});G.displayName=W;var z="DialogClose",B=t.forwardRef((e,n)=>{let{__scopeDialog:r,...t}=e,a=C(z,r);return(0,w.jsx)(p.WV.button,{type:"button",...t,ref:n,onClick:(0,o.M)(e.onClick,()=>a.onOpenChange(!1))})});function U(e){return e?"open":"closed"}B.displayName=z;var X="DialogTitleWarning",[Z,Y]=(0,u.k)(X,{contentName:N,titleName:K,docsSlug:"dialog"}),H=e=>{let{titleId:n}=e,r=Y(X),o="`".concat(r.contentName,"` requires a `").concat(r.titleName,"` for the component to be accessible for screen reader users.\n\nIf you want to hide the `").concat(r.titleName,"`, you can wrap it with our VisuallyHidden component.\n\nFor more information, see https://radix-ui.com/primitives/docs/components/").concat(r.docsSlug);return t.useEffect(()=>{n&&!document.getElementById(n)&&console.error(o)},[o,n]),null},q=e=>{let{contentRef:n,descriptionId:r}=e,o=Y("DialogDescriptionWarning"),a="Warning: Missing `Description` or `aria-describedby={undefined}` for {".concat(o.contentName,"}.");return t.useEffect(()=>{var e;let t=null===(e=n.current)||void 0===e?void 0:e.getAttribute("aria-describedby");r&&t&&!document.getElementById(r)&&console.warn(a)},[a,n,r]),null},J=j,Q=R,$=P,ee=F,en=O,er=V,et=G,eo=B},70085:function(e,n,r){r.d(n,{oC:function(){return e2},VY:function(){return e8},ZA:function(){return e6},ck:function(){return e7},wU:function(){return e9},__:function(){return e5},Uv:function(){return e1},Ee:function(){return e3},Rk:function(){return e4},fC:function(){return e$},Z0:function(){return ne},Tr:function(){return nn},tu:function(){return nt},fF:function(){return nr},xz:function(){return e0}});var t=r(2265),o=r(6741),a=r(98575),u=r(73966),i=r(80886),l=r(66840),d=r(67822),c=r(29114),s=r(15278),f=r(86097),p=r(99103),v=r(99255),g=r(26008),m=r(83832),h=r(71599),w=r(1353),x=r(37053),y=r(26606),M=r(5478),b=r(87922),C=r(57437),j=["Enter"," "],D=["ArrowUp","PageDown","End"],R=["ArrowDown","PageUp","Home",...D],_={ltr:[...j,"ArrowRight"],rtl:[...j,"ArrowLeft"]},I={ltr:["ArrowLeft"],rtl:["ArrowRight"]},k="Menu",[P,E,F]=(0,d.B)(k),[T,N]=(0,u.b)(k,[F,g.D7,w.Pc]),O=(0,g.D7)(),S=(0,w.Pc)(),[A,L]=T(k),[K,V]=T(k),W=e=>{let{__scopeMenu:n,open:r=!1,children:o,dir:a,onOpenChange:u,modal:i=!0}=e,l=O(n),[d,s]=t.useState(null),f=t.useRef(!1),p=(0,y.W)(u),v=(0,c.gm)(a);return t.useEffect(()=>{let e=()=>{f.current=!0,document.addEventListener("pointerdown",n,{capture:!0,once:!0}),document.addEventListener("pointermove",n,{capture:!0,once:!0})},n=()=>f.current=!1;return document.addEventListener("keydown",e,{capture:!0}),()=>{document.removeEventListener("keydown",e,{capture:!0}),document.removeEventListener("pointerdown",n,{capture:!0}),document.removeEventListener("pointermove",n,{capture:!0})}},[]),(0,C.jsx)(g.fC,{...l,children:(0,C.jsx)(A,{scope:n,open:r,onOpenChange:p,content:d,onContentChange:s,children:(0,C.jsx)(K,{scope:n,onClose:t.useCallback(()=>p(!1),[p]),isUsingKeyboardRef:f,dir:v,modal:i,children:o})})})};W.displayName=k;var G=t.forwardRef((e,n)=>{let{__scopeMenu:r,...t}=e,o=O(r);return(0,C.jsx)(g.ee,{...o,...t,ref:n})});G.displayName="MenuAnchor";var z="MenuPortal",[B,U]=T(z,{forceMount:void 0}),X=e=>{let{__scopeMenu:n,forceMount:r,children:t,container:o}=e,a=L(z,n);return(0,C.jsx)(B,{scope:n,forceMount:r,children:(0,C.jsx)(h.z,{present:r||a.open,children:(0,C.jsx)(m.h,{asChild:!0,container:o,children:t})})})};X.displayName=z;
1var Z="MenuContent",[Y,H]=T(Z),q=t.forwardRef((e,n)=>{let r=U(Z,e.__scopeMenu),{forceMount:t=r.forceMount,...o}=e,a=L(Z,e.__scopeMenu),u=V(Z,e.__scopeMenu);return(0,C.jsx)(P.Provider,{scope:e.__scopeMenu,children:(0,C.jsx)(h.z,{present:t||a.open,children:(0,C.jsx)(P.Slot,{scope:e.__scopeMenu,children:u.modal?(0,C.jsx)(J,{...o,ref:n}):(0,C.jsx)(Q,{...o,ref:n})})})})}),J=t.forwardRef((e,n)=>{let r=L(Z,e.__scopeMenu),u=t.useRef(null),i=(0,a.e)(n,u);return t.useEffect(()=>{let e=u.current;if(e)return(0,M.Ry)(e)},[]),(0,C.jsx)($,{...e,ref:i,trapFocus:r.open,disableOutsidePointerEvents:r.open,disableOutsideScroll:!0,onFocusOutside:(0,o.M)(e.onFocusOutside,e=>e.preventDefault(),{checkForDefaultPrevented:!1}),onDismiss:()=>r.onOpenChange(!1)})}),Q=t.forwardRef((e,n)=>{let r=L(Z,e.__scopeMenu);return(0,C.jsx)($,{...e,ref:n,trapFocus:!1,disableOutsidePointerEvents:!1,disableOutsideScroll:!1,onDismiss:()=>r.onOpenChange(!1)})}),$=t.forwardRef((e,n)=>{let{__scopeMenu:r,loop:u=!1,trapFocus:i,onOpenAutoFocus:l,onCloseAutoFocus:d,disableOutsidePointerEvents:c,onEntryFocus:v,onEscapeKeyDown:m,onPointerDownOutside:h,onFocusOutside:y,onInteractOutside:M,onDismiss:j,disableOutsideScroll:_,...I}=e,k=L(Z,r),P=V(Z,r),F=O(r),T=S(r),N=E(r),[A,K]=t.useState(null),W=t.useRef(null),G=(0,a.e)(n,W,k.onContentChange),z=t.useRef(0),B=t.useRef(""),U=t.useRef(0),X=t.useRef(null),H=t.useRef("right"),q=t.useRef(0),J=_?b.Z:t.Fragment,Q=_?{as:x.g7,allowPinchZoom:!0}:void 0,$=e=>{var n,r;let t=B.current+e,o=N().filter(e=>!e.disabled),a=document.activeElement,u=null===(n=o.find(e=>
1e.ref.current===a))||void 0===n?void 0:n.textValue,i=function(e,n,r){var t;let o=n.length>1&&Array.from(n).every(e=>e===n[0])?n[0]:n,a=(t=Math.max(r?e.indexOf(r):-1,0),e.map((n,r)=>e[(t+r)%e.length]));1===o.length&&(a=a.filter(e=>e!==r));let u=a.find(e=>e.toLowerCase().startsWith(o.toLowerCase()));return u!==r?u:void 0}(o.map(e=>e.textValue),t,u),l=null===(r=o.find(e=>e.textValue===i))||void 0===r?void 0:r.ref.current;!function e(n){B.current=n,window.clearTimeout(z.current),""!==n&&(z.current=window.setTimeout(()=>e(""),1e3))}(t),l&&setTimeout(()=>l.focus())};t.useEffect(()=>()=>window.clearTimeout(z.current),[]),(0,f.EW)();let ee=t.useCallback(e=>{var n,r,t;return H.current===(null===(n=X.current)||void 0===n?void 0:n.side)&&!!(t=null===(r=X.current)||void 0===r?void 0:r.area)&&function(e,n){let{x:r,y:t}=e,o=!1;for(let e=0,a=n.length-1;e<n.length;a=e++){let u=n[e].x,i=n[e].y,l=n[a].x,d=n[a].y;i>t!=d>t&&r<(l-u)*(t-i)/(d-i)+u&&(o=!o)}return o}({x:e.clientX,y:e.clientY},t)},[]);return(0,C.jsx)(Y,{scope:r,searchRef:B,onItemEnter:t.useCallback(e=>{ee(e)&&e.preventDefault()},[ee]),onItemLeave:t.useCallback(e=>{var n;ee(e)||(null===(n=W.current)||void 0===n||n.focus(),K(null))},[ee]),onTriggerLeave:t.useCallback(e=>{ee(e)&&e.preventDefault()},[ee]),pointerGraceTimerRef:U,onPointerGraceIntentChange:t.useCallback(e=>{X.current=e},[]),children:(0,C.jsx)(J,{...Q,children:(0,C.jsx)(p.M,{asChild:!0,trapped:i,onMountAutoFocus:(0,o.M)(l,e=>{var n;e.preventDefault(),null===(n=W.current)||void 0===n||n.focus({preventScroll:!0})}),onUnmountAutoFocus:d,children:(0,C.jsx)(s.XB,{asChild:!0,disableOutsidePointerEvents:c,onEscapeKeyDown:m,onPointerDownOutside:h,onFocusOutside:y,onInteractOutside:M,onDismiss:j,children:(0,C.jsx)(w.fC,{asChild:!0,...T,dir:P.dir,orientation:"vertical",loop:u,currentTabStopId:A,onCurrentTabStopIdChange:K,onEntryFocus:(0,o.M)(v,e=>{P.isUsingKeyboardRef.current||e.preventDefault()}),preventScrollOnEntryFocus:!0,children:(0,C.jsx)(g.VY,{role:"menu","aria-orientation":"vertical","data-state":e_(k.open),"data-radix-menu-content":"",dir:P.dir,...F,...I,ref:G,style:{outline:"none",...I.style},onKeyDown:(0,o.M)(I.onKeyDown,e=>{let n=e.target.closest("[data-radix-menu-content]")===e.currentTarget,r=e.ctrlKey||e.altKey||e.metaKey,t=1===e.key.length;n&&("Tab"===e.key&&e.preventDefault(),!r&&t&&$(e.key));let o=W.current;if(e.target!==o||!R.includes(e.key))return;e.preventDefault();let a=N().filter(e=>!e.disabled).map(e=>e.ref.current);D.includes(e.key)&&a.reverse(),function(e){let n=document.activeElement;for(let r of e)if(r===n||(r.focus(),document.activeElement!==n))return}(a)}),onBlur:(0,o.M)(e.onBlur,e=>{e.currentTarget.contains(e.target)||(window.clearTimeout(z.current),B.current="")}),onPointerMove:(0,o.M)(e.onPointerMove,eP(e=>{let n=e.target,r=q.current!==e.clientX;if(e.currentTarget.contains(n)&&r){let n=e.clientX>q.current?"right":"left";H.current=n,q.current=e.clientX}}))})})})})})})});q.displayName=Z;var ee=t.forwardRef((e,n)=>{let{__scopeMenu:r,...t}=e;return(0,C.jsx)(l.WV.div,{role:"group",...t,ref:n})});ee.displayName="MenuGroup";var en=t.forwardRef((e,n)=>{let{__scopeMenu:r,...t}=e;return(0,C.jsx)(l.WV.div,{...t,ref:n})});en.displayName="MenuLabel";var er="MenuItem",et="menu.itemSelect",eo=t.forwardRef((e,n)=>{let{disabled:r=!1,onSelect:u,...i}=e,d=t.useRef(null),c=V(er,e.__scopeMenu),s=H(er,e.__scopeMenu),f=(0,a.e)(n,d),p=t.useRef(!1);return(0,C.jsx)(ea,{...i,ref:f,disabled:r,onClick:(0,o.M)(e.onClick,()=>{let e=d.current;if(!r&&e){let n=new CustomEvent(et,{bubbles:!0,cancelable:!0});e.addEventListener(et,e=>null==u?void 0:u(e),{once:!0}),(0,l.jH)(e,n),n.defaultPrevented?p.current=!1:c.onClose()}}),onPointerDown:n=>{var r;null===(r=e.onPointerDown)||void 0===r||r.call(e,n),p.current=!0},onPointerUp:(0,o.M)(e.onPointerUp,e=>{var n;p.current||null===(n=e.currentTarget)||void 0===n||n.click()}),onKeyDown:(0,o.M)(e.onKeyDown,e=>{let n=""!==s.searchRef.current;!r&&(!n||" "!==e.key)&&j.includes(e.key)&&(e.currentTarget.click(),e.preventDefault())})})});eo.displayName=er;var ea=t.forwardRef((e,n)=>{let{__scopeMenu:r,disabled:u=!1,textValue:i,...d}=e,c=H(er,r),s=S(r),f=t.useRef(null),p=(0,a.e)(n,f),[v,g]=t.useState(!1),[m,h]=t.useState("");return t.useEffect(()=>{let e=f.current;if(e){var n;h((null!==(n=e.textContent)&&void 0!==n?n:"").trim())}},[d.children]),(0,C.jsx)(P.ItemSlot,{scope:r,disabled:u,textValue:null!=i?i:m,children:(0,C.jsx)(w.ck,{asChild:!0,...s,focusable:!u,children:(0,C.jsx)(l.WV.div,{role:"menuitem","data-highlighted":v?"":void 0,"aria-disabled":u||void 0,"data-disabled":u?"":void 0,...d,ref:p,onPointerMove:(0,o.M)(e.onPointerMove,eP(e=>{u?c.onItemLeave(e):(c.onItemEnter(e),e.defaultPrevented||e.currentTarget.focu
1s({preventScroll:!0}))})),onPointerLeave:(0,o.M)(e.onPointerLeave,eP(e=>c.onItemLeave(e))),onFocus:(0,o.M)(e.onFocus,()=>g(!0)),onBlur:(0,o.M)(e.onBlur,()=>g(!1))})})})}),eu=t.forwardRef((e,n)=>{let{checked:r=!1,onCheckedChange:t,...a}=e;return(0,C.jsx)(ev,{scope:e.__scopeMenu,checked:r,children:(0,C.jsx)(eo,{role:"menuitemcheckbox","aria-checked":eI(r)?"mixed":r,...a,ref:n,"data-state":ek(r),onSelect:(0,o.M)(a.onSelect,()=>null==t?void 0:t(!!eI(r)||!r),{checkForDefaultPrevented:!1})})})});eu.displayName="MenuCheckboxItem";var ei="MenuRadioGroup",[el,ed]=T(ei,{value:void 0,onValueChange:()=>{}}),ec=t.forwardRef((e,n)=>{let{value:r,onValueChange:t,...o}=e,a=(0,y.W)(t);return(0,C.jsx)(el,{scope:e.__scopeMenu,value:r,onValueChange:a,children:(0,C.jsx)(ee,{...o,ref:n})})});ec.displayName=ei;var es="MenuRadioItem",ef=t.forwardRef((e,n)=>{let{value:r,...t}=e,a=ed(es,e.__scopeMenu),u=r===a.value;return(0,C.jsx)(ev,{scope:e.__scopeMenu,checked:u,children:(0,C.jsx)(eo,{role:"menuitemradio","aria-checked":u,...t,ref:n,"data-state":ek(u),onSelect:(0,o.M)(t.onSelect,()=>{var e;return null===(e=a.onValueChange)||void 0===e?void 0:e.call(a,r)}
1,{checkForDefaultPrevented:!1})})})});ef.displayName=es;var ep="MenuItemIndicator",[ev,eg]=T(ep,{checked:!1}),em=t.forwardRef((e,n)=>{let{__scopeMenu:r,forceMount:t,...o}=e,a=eg(ep,r);return(0,C.jsx)(h.z,{present:t||eI(a.checked)||!0===a.checked,children:(0,C.jsx)(l.WV.span,{...o,ref:n,"data-state":ek(a.checked)})})});em.displayName=ep;var eh=t.forwardRef((e,n)=>{let{__scopeMenu:r,...t}=e;return(0,C.jsx)(l.WV.div,{role:"separator","aria-orientation":"horizontal",...t,ref:n})});eh.displayName="MenuSeparator";var ew=t.forwardRef((e,n)=>{let{__scopeMenu:r,...t}=e,o=O(r);return(0,C.jsx)(g.Eh,{...o,...t,ref:n})});ew.displayName="MenuArrow";var ex="MenuSub",[ey,eM]=T(ex),eb=e=>{let{__scopeMenu:n,children:r,open:o=!1,onOpenChange:a}=e,u=L(ex,n),i=O(n),[l,d]=t.useState(null),[c,s]=t.useState(null),f=(0,y.W)(a);return t.useEffect(()=>(!1===u.open&&f(!1),()=>f(!1)),[u.open,f]),(0,C.jsx)(g.fC,{...i,children:(0,C.jsx)(A,{scope:n,open:o,onOpenChange:f,content:c,onContentChange:s,children:(0,C.jsx)(ey,{scope:n,contentId:(0,v.M)(),triggerId:(0,v.M)(),trigger:l,onTriggerChange:d,children:r})})})};eb.displayName=ex;var eC="MenuSubTrigger",ej=t.forwardRef((e,n)=>{let r=L(eC,e.__scopeMenu),u=V(eC,e.__scopeMenu),i=eM(eC,e.__scopeMenu),l=H(eC,e.__scopeMenu),d=t.useRef(null),{pointerGraceTimerRef:c,onPointerGraceIntentChange:s}=l,f={__scopeMenu:e.__scopeMenu},p=t.useCallback(()=>{d.current&&window.clearTimeout(d.current),d.current=null},[]);return t.useEffect(()=>p,[p]),t.useEffect(()=>{let e=c.current;return()=>{window.clearTimeout(e),s(null)}},[c,s]),(0,C.jsx)(G,{asChild:!0,...f,children:(0,C.jsx)(ea,{id:i.triggerId,"aria-haspopup":"menu","aria-expanded":r.open,"aria-controls":i.contentId,"data-state":e_(r.open),...e,ref:(0,a.F)(n,i.onTriggerChange),onClick:n=>{var t;null===(t=e.onClick)||void 0===t||t.call(e,n),e.disabled||n.defaultPrevented||(n.currentTarget.focus(),r.open||r.onOpenChange(!0))},onPointerMove:(0,o.M)(e.onPointerMove,eP(n=>{l.onItemEnter(n),n.defaultPrevented||e.disabled||r.open||d.current||(l.onPointerGraceIntentChange(null),d.current=window.setTimeout(()=>{r.onOpenChange(!0),p()},100))})),onPointerLeave:(0,o.M)(e.onPointerLeave,eP(e=>{var n,t;p();let o=null===(n=r.content)||void 0===n?void 0:n.getBoundingClientRect();if(o){let n=null===(t=r.content)||void 0===t?void 0:t.dataset.side,a="right"===n,u=o[a?"left":"right"],i=o[a?"right":"left"];l.onPointerGraceIntentChange({area:[{x:e.clientX+(a?-5:5),y:e.clientY},{x:u,y:o.top},{x:i,y:o.top},{x:i,y:o.bottom},{x:u,y:o.bottom}],side:n}),window.clearTimeout(c.current),c.current=window.setTimeout(()=>l.onPointerGraceIntentChange(null),300)}else{if(l.onTriggerLeave(e),e.defaultPrevented)return;l.onPointerGraceIntentChange(null)}})),onKeyDown:(0,o.M)(e.onKeyDown,n=>{let t=""!==l.searchRef.current;if(!e.disabled&&(!t||" "!==n.key)&&_[u.dir].includes(n.key)){var o;r.onOpenChange(!0),null===(o=r.content)||void 0===o||o.focus(),n.preventDefault()}})})})});ej.displayName=eC;var eD="MenuSubContent",eR=t.forwardRef((e,n)=>{let r=U(Z,e.__scopeMenu),{forceMount:u=r.forceMount,...i}=e,l=L(Z,e.__scopeMenu),d=V(Z,e.__scopeMenu),c=eM(eD,e.__scopeMenu),s=t.useRef(null),f=(0,a.e)(n,s);return(0,C.jsx)(P.Provider,{scope:e.__scopeMenu,children:(0,C.jsx)(h.z,{present:u||l.open,children:(0,C.jsx)(P.Slot,{scope:e.__scopeMenu,children:(0,C.jsx)($,{id:c.contentId,"aria-labelledby":c.triggerId,...i,ref:f,align:"start",side:"rtl"===d.dir?"left":"right",disableOutsidePointerEvents:!1,disableOutsideScroll:!1,trapFocus:!1,onOpenAutoFocus:e=>{var n;d.isUsingKeyboardRef.current&&(null===(n=s.current)||void 0===n||n.focus()),e.preventDefault()},onCloseAutoFocus:e=>e.preventDefault(),onFocusOutside:(0,o.M)(e.onFocusOutside,e=>{e.target!==c.trigger&&l.onOpenChange(!1)}),onEscapeKeyDown:(0,o.M)(e.onEscapeKeyDown,e=>{d.onClose(),e.preventDefault()}),onKeyDown:(0,o.M)(e.onKeyDown,e=>{let n=e.currentTarget.contains(e.target),r=I[d.dir].includes(e.key);if(n&&r){var t;l.onOpenChange(!1),null===(t=c.trigger)||void 0===t||t.focus(),e.preventDefault()}})})})})})});function e_(e){return e?"open":"closed"}function eI(e){return"indeterminate"===e}function ek(e){return eI(e)?"indeterminate":e?"checked":"unchecked"}function eP(e){return n=>"mouse"===n.pointerType?e(n):void 0}eR.displayName=eD;var eE="DropdownMenu",[eF,eT]=(0,u.b)(eE,[N]),eN=N(),[eO,eS]=eF(eE),eA=e=>{let{__scopeDropdownMenu:n,children:r,dir:o,open:a,defaultOpen:u,onOpenChange:l,modal:d=!0}=e,c=eN(n),s=t.useRef(null),[f=!1,p]=(0,i.T)({prop:a,defaultProp:u,onChange:l});return(0,C.jsx)(eO,{scope:n,triggerId:(0,v.M)(),triggerRef:s,contentId:(0,v.M)(),open:f,onOpenChange:p,onOpenToggle:t.useCallback(()=>p(e=>!e),[p]),modal:d,children:(0,C.jsx)(W,{...c,open:f,onOpenChange:p,dir:o,modal:d,children:r})})};eA.displayName=eE;
1var eL="DropdownMenuTrigger",eK=t.forwardRef((e,n)=>{let{__scopeDropdownMenu:r,disabled:t=!1,...u}=e,i=eS(eL,r),d=eN(r);return(0,C.jsx)(G,{asChild:!0,...d,children:(0,C.jsx)(l.WV.button,{type:"button",id:i.triggerId,"aria-haspopup":"menu","aria-expanded":i.open,"aria-controls":i.open?i.contentId:void 0,"data-state":i.open?"open":"closed","data-disabled":t?"":void 0,disabled:t,...u,ref:(0,a.F)(n,i.triggerRef),onPointerDown:(0,o.M)(e.onPointerDown,e=>{t||0!==e.button||!1!==e.ctrlKey||(i.onOpenToggle(),i.open||e.preventDefault())}),onKeyDown:(0,o.M)(e.onKeyDown,e=>{!t&&(["Enter"," "].includes(e.key)&&i.onOpenToggle(),"ArrowDown"===e.key&&i.onOpenChange(!0),["Enter"," ","ArrowDown"].includes(e.key)&&e.preventDefault())})})})});eK.displayName=eL;var eV=e=>{let{__scopeDropdownMenu:n,...r}=e,t=eN(n);return(0,C.jsx)(X,{...t,...r})};eV.displayName="DropdownMenuPortal";var eW="DropdownMenuContent",eG=t.forwardRef((e,n)=>{let{__scopeDropdownMenu:r,...a}=e,u=eS(eW,r),i=eN(r),l=t.useRef(!1);return(0,C.jsx)(q,{id:u.contentId,"aria-labelledby":u.triggerId,...i,...a,ref:n,onCloseAutoFocus:(0,o.M)(e.onCloseAutoFocus,e=>{var n;l.current||null===(n=u.triggerRef.current)||void 0===n||n.focus(),l.current=!1,e.preventDefault()}),onInteractOutside:(0,o.M)(e.onInteractOutside,e=>{let n=e.detail.originalEvent,r=0===n.button&&!0===n.ctrlKey,t=2===n.button||r;(!u.modal||t)&&(l.current=!0)}),style:{...e.style,"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"}})});eG.displayName=eW;var ez=t.forwardRef((e,n)=>{let{__scopeDropdownMenu:r,...t}=e,o=eN(r);return(0,C.jsx)(ee,{...o,...t,ref:n})});
1ez.displayName="DropdownMenuGroup";var eB=t.forwardRef((e,n)=>{let{__scopeDropdownMenu:r,...t}=e,o=eN(r);return(0,C.jsx)(en,{...o,...t,ref:n})});eB.displayName="DropdownMenuLabel";var eU=t.forwardRef((e,n)=>{let{__scopeDropdownMenu:r,...t}=e,o=eN(r);return(0,C.jsx)(eo,{...o,...t,ref:n})});eU.displayName="DropdownMenuItem";var eX=t.forwardRef((e,n)=>{let{__scopeDropdownMenu:r,...t}=e,o=eN(r);return(0,C.jsx)(eu,{...o,...t,ref:n})});eX.displayName="DropdownMenuCheckboxItem";var eZ=t.forwardRef((e,n)=>{let{__scopeDropdownMenu:r,...t}=e,o=eN(r);return(0,C.jsx)(ec,{...o,...t,ref:n})});eZ.displayName="DropdownMenuRadioGroup";var eY=t.forwardRef((e,n)=>{let{__scopeDropdownMenu:r,...t}=e,o=eN(r);return(0,C.jsx)(ef,{...o,...t,ref:n})});eY.displayName="DropdownMenuRadioItem";var eH=t.forwardRef((e,n)=>{let{__scopeDropdownMenu:r,...t}=e,o=eN(r);return(0,C.jsx)(em,{...o,...t,ref:n})});eH.displayName="DropdownMenuItemIndicator";var eq=t.forwardRef((e,n)=>{let{__scopeDropdownMenu:r,...t}=e,o=eN(r);return(0,C.jsx)(eh,{...o,...t,ref:n})});eq.displayName="DropdownMenuSeparator",t.forwardRef((e,n)=>{let{__scopeDropdownMenu:r,...t}=e,o=eN(r);return(0,C.jsx)(ew,{...o,...t,ref:n})}).displayName="DropdownMenuArrow";var eJ=t.forwardRef((e,n)=>{let{__scopeDropdownMenu:r,...t}=e,o=eN(r);return(0,C.jsx)(ej,{...o,...t,ref:n})});eJ.displayName="DropdownMenuSubTrigger";var eQ=t.forwardRef((e,n)=>{let{__scopeDropdownMenu:r,...t}=e,o=eN(r);return(0,C.jsx)(eR,{...o,...t,ref:n,style:{...e.style,"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"}})});eQ.displayName="DropdownMenuSubContent";var e$=eA,e0=eK,e1=eV,e8=eG,e6=ez,e5=eB,e7=eU,e2=eX,e3=eZ,e4=eY,e9=eH,ne=eq,nn=e=>{let{__scopeDropdownMenu:n,children:r,open:t,onOpenChange:o,defaultOpen:a}=e,u=eN(n),[l=!1,d]=(0,i.T)({prop:t,defaultProp:a,onChange:o});return(0,C.jsx)(eb,{...u,open:l,onOpenChange:d,children:r})},nr=eJ,nt=eQ},1353:function(e,n,r){r.d(n,{Pc:function(){return M},ck:function(){return E},fC:function(){return P}});var t=r(2265),o=r(6741),a=r(67822),u=r(98575),i=r(73966),l=r(99255),d=r(66840),c=r(26606),s=r(80886),f=r(29114),p=r(57437),v="rovingFocusGroup.onEntryFocus",g={bubbles:!1,cancelable:!0},m="RovingFocusGroup",[h,w,x]=(0,a.B)(m),[y,M]=(0,i.b)(m,[x]),[b,C]=y(m),j=t.forwardRef((e,n)=>(0,p.jsx)(h.Provider,{scope:e.__scopeRovingFocusGroup,children:(0,p.jsx)(h.Slot,{scope:e.__scopeRovingFocusGroup,children:(0,p.jsx)(D,{...e,ref:n})})}));j.displayName=m;var D=t.forwardRef((e,n)=>{let{__scopeRovingFocusGroup:r,orientation:a,loop:i=!1,dir:l,currentTabStopId:m,defaultCurrentTabStopId:h,onCurrentTabStopIdChange:x,onEntryFocus:y,preventScrollOnEntryFocus:M=!1,...C}=e,j=t.useRef(null),D=(0,u.e)(n,j),R=(0,f.gm)(l),[_=null,I]=(0,s.T)({prop:m,defaultProp:h,onChange:x}),[P,E]=t.useState(!1),F=(0,c.W)(y),T=w(r),N=t.useRef(!1),[O,S]=t.useState(0);return t.useEffect(()=>{let e=j.current;if(e)return e.addEventListener(v,F),()=>e.removeEventListener(v,F)},[F]),(0,p.jsx)(b,{scope:r,orientation:a,dir:R,loop:i,currentTabStopId:_,onItemFocus:t.useCallback(e=>I(e),[I]),onItemShiftTab:t.useCallback(()=>E(!0),[]),onFocusableItemAdd:t.useCallback(()=>S(e=>e+1),[]),onFocusableItemRemove:t.useCallback(()=>S(e=>e-1),[]),children:(0,p.jsx)(d.WV.div,{tabIndex:P||0===O?-1:0,"data-orientation":a,...C,ref:D,style:{outline:"none",...e.style},onMouseDown:(0,o.M)(e.onMouseDown,()=>{N.current=!0}),onFocus:(0,o.M)(e.onFocus,e=>{let n=!N.current;if(e.target===e.currentTarget&&n&&!P){let n=new CustomEvent(v,g);if(e.currentTarget.dispatchEvent(n),!n.defaultPrevented){let e=T().filter(e=>e.focusable);k([e.find(e=>e.active),e.find(e=>e.id===_),...e].filter(Boolean).map(e=>e.ref.current),M)}}N.current=!1}),onBlur:(0,o.M)(e.onBlur,()=>E(!1))})})}
1),R="RovingFocusGroupItem",_=t.forwardRef((e,n)=>{let{__scopeRovingFocusGroup:r,focusable:a=!0,active:u=!1,tabStopId:i,...c}=e,s=(0,l.M)(),f=i||s,v=C(R,r),g=v.currentTabStopId===f,m=w(r),{onFocusableItemAdd:x,onFocusableItemRemove:y}=v;return t.useEffect(()=>{if(a)return x(),()=>y()},[a,x,y]),(0,p.jsx)(h.ItemSlot,{scope:r,id:f,focusable:a,active:u,children:(0,p.jsx)(d.WV.span,{tabIndex:g?0:-1,"data-orientation":v.orientation,...c,ref:n,onMouseDown:(0,o.M)(e.onMouseDown,e=>{a?v.onItemFocus(f):e.preventDefault()}),onFocus:(0,o.M)(e.onFocus,()=>v.onItemFocus(f)),onKeyDown:(0,o.M)(e.onKeyDown,e=>{if("Tab"===e.key&&e.shiftKey){v.onItemShiftTab();return}if(e.target!==e.currentTarget)return;let n=function(e,n,r){var t;let o=(t=e.key,"rtl"!==r?t:"ArrowLeft"===t?"ArrowRight":"ArrowRight"===t?"ArrowLeft":t);if(!("vertical"===n&&["ArrowLeft","ArrowRight"].includes(o))&&!("horizontal"===n&&["ArrowUp","ArrowDown"].includes(o)))return I[o]}(e,v.orientation,v.dir);if(void 0!==n){if(e.metaKey||e.ctrlKey||e.altKey||e.shiftKey)return;e.preventDefault();let o=m().filter(e=>e.focusable).map(e=>e.ref.current);if("last"===n)o.reverse();else if("prev"===n||"next"===n){var r,t;"prev"===n&&o.reverse();let a=o.indexOf(e.currentTarget);o=v.loop?(r=o,t=a+1,r.map((e,n)=>r[(t+n)%r.length])):o.slice(a+1)}setTimeout(()=>k(o))}})})})});_.displayName=R;var I={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function k(e){let n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=document.activeElement;for(let t of e)if(t===r||(t.focus({preventScroll:n}),document.activeElement!==r))return}var P=j,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.