PageSourceSearch

https://ve035.com/_next/static/chunks/8798-6f8af6747d47980f.js

js ve035.com collected 2026-10-04 23:02:47 UTC 9,483 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8798],{22075:(e,t,n)=>{n.d(t,{n:()=>c});var o=n(65133),r=n(1610),l=n(12611),u=n(62091),i=n(51129),a="focusScope.autoFocusOnMount",s="focusScope.autoFocusOnUnmount",d={bubbles:!1,cancelable:!0},c=o.forwardRef((e,t)=>{let{loop:n=!1,trapped:c=!1,onMountAutoFocus:g,onUnmountAutoFocus:E,...y}=e,[h,b]=o.useState(null),x=(0,u.c)(g),D=(0,u.c)(E),C=o.useRef(null),N=(0,r.s)(t,e=>b(e)),I=o.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;o.useEffect(()=>{if(c){let e=function(e){if(I.paused||!h)return;let t=e.target;h.contains(t)?C.current=t:m(C.current,{select:!0})},t=function(e){if(I.paused||!h)return;let t=e.relatedTarget;null===t||h.contains(t)||m(C.current,{select:!0})};document.addEventListener("focusin",e),document.addEventListener("focusout",t);let n=new MutationObserver(function(e){if(document.activeElement===document.body)for(let t of e)t.removedNodes.length>0&&m(h)});return h&&n.observe(h,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",e),document.removeEventListener("focusout",t),n.disconnect()}}},[c,h,I.paused]),o.useEffect(()=>{if(h){v.add(I);let e=document.activeElement;if(!h.contains(e)){let t=new CustomEvent(a,d);h.addEventListener(a,x),h.dispatchEvent(t),t.defaultPrevented||(function(e){let{select:t=!1}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=document.activeElement;for(let o of e)if(m(o,{select:t}),document.activeElement!==n)return}(f(h).filter(e=>"A"!==e.tagName),{select:!0}),document.activeElement===e&&m(h))}return()=>{h.removeEventListener(a,x),setTimeout(()=>{let t=new CustomEvent(s,d);h.addEventListener(s,D),h.dispatchEvent(t),t.defaultPrevented||m(null!=e?e:document.body,{select:!0}),h.removeEventListener(s,D),v.remove(I)},0)}}},[h,x,D,I]);let R=o.useCallback(e=>{if(!n&&!c||I.paused)return;let t="Tab"===e.key&&!e.altKey&&!e.ctrlKey&&!e.metaKey,o=document.activeElement;if(t&&o){let t=e.currentTarget,[r,l]=function(e){let t=f(e);return[p(t,e),p(t.reverse(),e)]}(t);r&&l?e.shiftKey||o!==l?e.shiftKey&&o===r&&(e.preventDefault(),n&&m(l,{select:!0})):(e.preventDefault(),n&&m(r,{select:!0})):o===t&&e.preventDefault()}},[n,c,I.paused]);return(0,i.jsx)(l.sG.div,{tabIndex:-1,...y,ref:N,onKeyDown:R})});function f(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 p(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 m(e){let{select:t=!1}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(e&&e.focus){var n;let o=document.activeElement;e.focus({preventScroll:!0}),e!==o&&(n=e)instanceof HTMLInputElement&&"select"in n&&t&&e.select()}}c.displayName="FocusScope";var v=function(){let e=[];return{add(t){let n=e[0];t!==n&&(null==n||n.pause()),(e=g(e,t)).unshift(t)},remove(t){var n;null===(n=(e=g(e,t))[0])||void 0===n||n.resume()}}}();function g(e,t){let n=[...e],o=n.indexOf(t);return -1!==o&&n.splice(o,1),n}},48798:(e,t,n)=>{n.d(t,{G$:()=>V,Hs:()=>x,UC:()=>et,VY:()=>eo,ZL:()=>Q,bL:()=>$,bm:()=>er,hE:()=>en,hJ:()=>ee,l9:()=>z});var o=n(65133),r=n(3741),l=n(1610),u=n(5460),i=n(64391),a=n(66503),s=n(5161),d=n(22075),c=n(61644),f=n(53410),p=n(12611),m=n(88434),v=n(25019),g=n(48141),E=n(50551),y=n(51129),h="Dialog",[b,x]=(0,u.A)(h),[D,C]=b(h),N=e=>{let{__scopeDialog:t,children:n,open:r,defaultOpen:l,onOpenChange:u,modal:s=!0}=e,d=o.useRef(null),c=o.useRef(null),[f=!1,p]=(0,a.i)({prop:r,defaultProp:l,onChange:u});return(0,y.jsx)(D,{scope:t,triggerRef:d,contentRef:c,contentId:(0,i.B)(),titleId:(0,i.B)(),descriptionId:(0,i.B)(),open:f,onOpenChange:p,onOpenToggle:o.useCallback(()=>p(e=>!e),[p]),modal:s,children:n})};N.displayName=h;var I="DialogTrigger",R=o.forwardRef((e,t)=>
1{let{__scopeDialog:n,...o}=e,u=C(I,n),i=(0,l.s)(t,u.triggerRef);return(0,y.jsx)(p.sG.button,{type:"button","aria-haspopup":"dialog","aria-expanded":u.open,"aria-controls":u.contentId,"data-state":H(u.open),...o,ref:i,onClick:(0,r.m)(e.onClick,u.onOpenToggle)})});R.displayName=I;var j="DialogPortal",[w,F]=b(j,{forceMount:void 0}),O=e=>{let{__scopeDialog:t,forceMount:n,children:r,container:l}=e,u=C(j,t);return(0,y.jsx)(w,{scope:t,forceMount:n,children:o.Children.map(r,e=>(0,y.jsx)(f.C,{present:n||u.open,children:(0,y.jsx)(c.Z,{asChild:!0,container:l,children:e})}))})};O.displayName=j;var _="DialogOverlay",A=o.forwardRef((e,t)=>{let n=F(_,e.__scopeDialog),{forceMount:o=n.forceMount,...r}=e,l=C(_,e.__scopeDialog);return l.modal?(0,y.jsx)(f.C,{present:o||l.open,children:(0,y.jsx)(T,{...r,ref:t})}):null});A.displayName=_;var T=o.forwardRef((e,t)=>{let{__scopeDialog:n,...o}=e,r=C(_,n);return(0,y.jsx)(v.A,{as:E.DX,allowPinchZoom:!0,shards:[r.contentRef],children:(0,y.jsx)(p.sG.div,{"data-state":H(r.open),...o,ref:t,style:{pointerEvents:"auto",...o.style}})})}),L="DialogContent",P=o.forwardRef((e,t)=>{let n=F(L,e.__scopeDialog),{forceMount:o=n.forceMount,...r}=e,l=C(L,e.__scopeDialog);return(0,y.jsx)(f.C,{present:o||l.open,children:l.modal?(0,y.jsx)(S,{...r,ref:t}):(0,y.jsx)(k,{...r,ref:t})})});P.displayName=L;var S=o.forwardRef((e,t)=>{let n=C(L,e.__scopeDialog),u=o.useRef(null),i=(0,l.s)(t,n.contentRef,u);return o.useEffect(()=>{let e=u.current;if(e)return(0,g.Eq)(e)},[]),(0,y.jsx)(M,{...e,ref:i,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:(0,r.m)(e.onCloseAutoFocus,e=>{var t;e.preventDefault(),null===(t=n.triggerRef.current)||void 0===t||t.focus()}),onPointerDownOutside:(0,r.m)(e.onPointerDownOutside,e=>{let t=e.detail.originalEvent,n=0===t.button&&!0===t.ctrlKey;(2===t.button||n)&&e.preventDefault()}),onFocusOutside:(0,r.m)(e.onFocusOutside,e=>e.preventDefault())})}),k=o.forwardRef((e,t)=>{let n=C(L,e.__scopeDialog),r=o.useRef(!1),l=o.useRef(!1);return(0,y.jsx)(M,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:t=>{var o,u;null===(o=e.onCloseAutoFocus)||void 0===o||o.call(e,t),t.defaultPrevented||(r.current||null===(u=n.triggerRef.current)||void 0===u||u.focus(),t.preventDefault()),r.current=!1,l.current=!1},onInteractOutside:t=>{var o,u;null===(o=e.onInteractOutside)||void 0===o||o.call(e,t),t.defaultPrevented||(r.current=!0,"pointerdown"!==t.detail.originalEvent.type||(l.current=!0));let i=t.target;(null===(u=n.triggerRef.current)||void 0===u?void 0:u.contains(i))&&t.preventDefault(),"focusin"===t.detail.originalEvent.type&&l.current&&t.preventDefault()}})}),M=o.forwardRef((e,t)=>{let{__scopeDialog:n,trapFocus:r,onOpenAutoFocus:u,onCloseAutoFocus:i,...a}=e,c=C(L,n),f=o.useRef(null),p=(0,l.s)(t,f);return(0,m.Oh)(),(0,y.jsxs)(y.Fragment,{children:[(0,y.jsx)(d.n,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:u,onUnmountAutoFocus:i,children:(0,y.jsx)(s.qW,{role:"dialog",id:c.contentId,"aria-describedby":c.descriptionId,"aria-labelledby":c.titleId,"data-state":H(c.open),...a,ref:p,onDismiss:()=>c.onOpenChange(!1)})}),(0,y.jsxs)(y.Fragment,{children:[(0,y.jsx)(X,{titleId:c.titleId}),(0,y.jsx)(Y,{contentRef:f,descriptionId:c.descriptionId})]})]})}),K="DialogTitle",G=o.forwardRef((e,t)=>{let{__scopeDialog:n,...o}=e,r=C(K,n);return(0,y.jsx)(p.sG.h2,{id:r.titleId,...o,ref:t})});G.displayName=K;var q="DialogDescription",W=o.forwardRef((e,t)=>{let{__scopeDialog:n,...o}=e,r=C(q,n);return(0,y.jsx)(p.sG.p,{id:r.descriptionId,...o,ref:t})});W.displayName=q;var B="DialogClose",U=o.forwardRef((e,t)=>{let{__scopeDialog:n,...o}=e,l=C(B,n);return(0,y.jsx)(p.sG.button,{type:"button",...o,ref:t,onClick:(0,r.m)(e.onClick,()=>l.onOpenChange(!1))})});function H(e){return e?"open":"closed"}U.displayName=B;var Z="DialogTitleWarning",[V,J]=(0,u.q)(Z,{contentName:L,titleName:K,docsSlug:"dialog"}),X=e=>{let{titleId:t}=e,n=J(Z),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 o.useEffect(()=>{t&&!document.getElementById(t)&&console.error(r)},[r,t]),null},Y=e=>{let{contentRef:t,descriptionId:n}=e,r=J("DialogDescriptionWarning"),l="Warning: Missing `Description` or `aria-describedby={undefined}` for {".concat(r.contentName,"}.");return o.useEffect(()=>{var e;let o=null===(e=t.current)||void 0===e?void 0:e.getAttribute("aria-describedby");n&&o&&!document.getElementById(n)&&console.warn(l)},[l,t,n]),null},$=N,z=R,Q=O,ee=A,et=P,en=G,eo=W,er=U},88434:(e,t,n)=>{n.d(t,{Oh:()=>l});var o=n(65133),r=0;function l(){o.useEffect(()=>{var e,t;let n=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",null!==(e=n[0])&&void 0!==e?e:u()),document.body.insertAdjacentElement("beforeend",null!==(t=n[1])&&void 0!==t?t:u()),r++,()=>{1===r&&document.querySelectorAll("[data-radix-focus-guard]").forEach(e
1=>e.remove()),r--}},[])}function u(){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}}}]);

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.