PageSourceSearch

https://nearn.io/_next/static/chunks/1279-7675c925862dd609.js

js nearn.io collected 2026-10-10 00:36:20 UTC 8,916 bytes, 5 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1279],{1185:(e,t,r)=>{r.d(t,{G$:()=>H,Hs:()=>w,L3:()=>V,UC:()=>er,VY:()=>eo,ZL:()=>ee,bL:()=>Y,bm:()=>el,hE:()=>en,hJ:()=>et,l9:()=>Q});var n=r(44109),o=r(4180),l=r(53849),i=r(5003),a=r(92258),s=r(65686),u=r(73003),d=r(91620),c=r(26094),f=r(63745),p=r(19351),m=r(40428),g=r(38430),y=r(60644),v=r(53349),h=r(88017),b="Dialog",[j,w]=(0,i.A)(b),[x,C]=j(b),D=e=>{let{__scopeDialog:t,children:r,open:o,defaultOpen:l,onOpenChange:i,modal:u=!0}=e,d=n.useRef(null),c=n.useRef(null),[f,p]=(0,s.i)({prop:o,defaultProp:l??!1,onChange:i,caller:b});return(0,h.jsx)(x,{scope:t,triggerRef:d,contentRef:c,contentId:(0,a.B)(),titleId:(0,a.B)(),descriptionId:(0,a.B)(),open:f,onOpenChange:p,onOpenToggle:n.useCallback(()=>p(e=>!e),[p]),modal:u,children:r})};D.displayName=b;var R="DialogTrigger",N=n.forwardRef((e,t)=>{let{__scopeDialog:r,...n}=e,i=C(R,r),a=(0,l.s)(t,i.triggerRef);return(0,h.jsx)(p.sG.button,{type:"button","aria-haspopup":"dialog","aria-expanded":i.open,"aria-controls":i.contentId,"data-state":q(i.open),...n,ref:a,onClick:(0,o.mK)(e.onClick,i.onOpenToggle)})});N.displayName=R;var E="DialogPortal",[O,_]=j(E,{forceMount:void 0}),I=e=>{let{__scopeDialog:t,forceMount:r,children:o,container:l}=e,i=C(E,t);return(0,h.jsx)(O,{scope:t,forceMount:r,children:n.Children.map(o,e=>(0,h.jsx)(f.C,{present:r||i.open,children:(0,h.jsx)(c.Z,{asChild:!0,container:l,children:e})}))})};I.displayName=E;var A="DialogOverlay",$=n.forwardRef((e,t)=>{let r=_(A,e.__scopeDialog),{forceMount:n=r.forceMount,...o}=e,l=C(A,e.__scopeDialog);return l.modal?(0,h.jsx)(f.C,{present:n||l.open,children:(0,h.jsx)(F,{...o,ref:t})}):null});$.displayName=A;var k=(0,v.TL)("DialogOverlay.RemoveScroll"),F=n.forwardRef((e,t)=>{let{__scopeDialog:r,...n}=e,o=C(A,r);return(0,h.jsx)(g.A,{as:k,allowPinchZoom:!0,shards:[o.contentRef],children:(0,h.jsx)(p.sG.div,{"data-state":q(o.open),...n,ref:t,style:{pointerEvents:"auto",...n.style}})})}),P="DialogContent",W=n.forwardRef((e,t)=>{let r=_(P,e.__scopeDialog),{forceMount:n=r.forceMount,...o}=e,l=C(P,e.__scopeDialog);return(0,h.jsx)(f.C,{present:n||l.open,children:l.modal?(0,h.jsx)(S,{...o,ref:t}):(0,h.jsx)(L,{...o,ref:t})})});W.displayName=P;var S=n.forwardRef((e,t)=>{let r=C(P,e.__scopeDialog),i=n.useRef(null),a=(0,l.s)(t,r.contentRef,i);return n.useEffect(()=>{let e=i.current;if(e)return(0,y.Eq)(e)},[]),(0,h.jsx)(B,{...e,ref:a,trapFocus:r.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:(0,o.mK)(e.onCloseAutoFocus,e=>{e.preventDefault(),r.triggerRef.current?.focus()}),onPointerDownOutside:(0,o.mK)(e.onPointerDownOutside,e=>{let t=e.detail.originalEvent,r=0===t.button&&!0===t.ctrlKey;(2===t.button||r)&&e.preventDefault()}),onFocusOutside:(0,o.mK)(e.onFocusOutside,e=>e.preventDefault())})}),L=n.forwardRef((e,t)=>{let r=C(P,e.__scopeDialog),o=n.useRef(!1),l=n.useRef(!1);return(0,h.jsx)(B,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:t=>{e.onCloseAutoFocus?.(t),t.defaultPrevented||(o.current||r.triggerRef.current?.focus(),t.preventDefault()),o.current=!1,l.current=!1},onInteractOutside:t=>{e.onInteractOutside?.(t),t.defaultPrevented||(o.current=!0,"pointerdown"===t.detail.originalEvent.type&&(l.current=!0));let n=t.target;r.triggerRef.current?.contains(n)&&t.preventDefault(),"focusin"===t.detail.originalEvent.type&&l.current&&t.preventDefault()}})}),B=n.forwardRef((e,t)=>{let{__scopeDialog:r,trapFocus:o,onOpenAutoFocus:i,onCloseAutoFocus:a,...s}=e,c=C(P,r),f=n.useRef(null),p=(0,l.s)(t,f);return(0,m.Oh)(),(0,h.jsxs)(h.Fragment,{children:[(0,h.jsx)(d.n,{asChild:!0,loop:!0,trapped:o,onMountAutoFocus:i,onUnmountAutoFocus:a,children:(0,h.jsx)(u.qW,{role:"dialog",id:c.contentId,"aria-describedby":c.descriptionId,"aria-labelledby":c.titleId,"data-state":q(c.open),...s,ref:p,onDismiss:()=>c.onOpenChange(!1)})}),(0,h.jsxs)(h.Fragment,{children:[(0,h.jsx)(J,{titleId:c.titleId}),(0,h.jsx)(X,{contentRef:f,descriptionId:c.descriptionId})]})]})}),T="DialogTitle",V=n.forwardRef((e,t)=>{let{__scopeDialog:r,...n}=e,o=C(T,r);return(0,h.jsx)(p.sG.h2,{id:o.titleId,...n,ref:t})});V.displayName=T;var G="DialogDescription",K=n.forwardRef((e,t)=>
1{let{__scopeDialog:r,...n}=e,o=C(G,r);return(0,h.jsx)(p.sG.p,{id:o.descriptionId,...n,ref:t})});K.displayName=G;var M="DialogClose",Z=n.forwardRef((e,t)=>{let{__scopeDialog:r,...n}=e,l=C(M,r);return(0,h.jsx)(p.sG.button,{type:"button",...n,ref:t,onClick:(0,o.mK)(e.onClick,()=>l.onOpenChange(!1))})});function q(e){return e?"open":"closed"}Z.displayName=M;var z="DialogTitleWarning",[H,U]=(0,i.q)(z,{contentName:P,titleName:T,docsSlug:"dialog"}),J=({titleId:e})=>{let t=U(z),r=`\`${t.contentName}\` requires a \`${t.titleName}\` for the component to be accessible for screen reader users.
2
3If you want to hide the \`${t.titleName}\`, you can wrap it with our VisuallyHidden component.
4
5For more information, see https://radix-ui.com/primitives/docs/components/${t.docsSlug}`;return n.useEffect(()=>{e&&(document.getElementById(e)||console.error(r))},[r,e]),null},X=({contentRef:e,descriptionId:t})=>{let r=U("DialogDescriptionWarning"),o=`Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${r.contentName}}.`;return n.useEffect(()=>{let r=e.current?.getAttribute("aria-describedby");t&&r&&(document.getElementById(t)||console.warn(o))},[o,e,t]),null},Y=D,Q=N,ee=I,et=$,er=W,en=V,eo=K,el=Z},23442:(e,t,r)=>{r.d(t,{A:()=>a});var n=r(44109);let o=function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return t.filter((e,t,r)=>!!e&&""!==e.trim()&&r.indexOf(e)===t).join(" ").trim()};var l={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};let i=(0,n.forwardRef)((e,t)=>{let{color:r="currentColor",size:i=24,strokeWidth:a=2,absoluteStrokeWidth:s,className:u="",children:d,iconNode:c,...f}=e;return(0,n.createElement)("svg",{ref:t,...l,width:i,height:i,stroke:r,strokeWidth:s?24*Number(a)/Number(i):a,className:o("lucide",u),...f},[...c.map(e=>{let[t,r]=e;return(0,n.createElement)(t,r)}),...Array.isArray(d)?d:[d]])}),a=(e,t)=>{let r=(0,n.forwardRef)((r,l)=>{let{className:a,...s}=r;return(0,n.createElement)(i,{ref:l,iconNode:t,className:o(`lucide-${e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()}`,a),...s})});return r.displayName=`${e}`,r}},56783:(e,t,r)=>{r.d(t,{F:()=>i});var n=r(71623);let o=e=>"boolean"==typeof e?`${e}`:0===e?"0":e,l=n.$,i=(e,t)=>r=>{var n;if((null==t?void 0:t.variants)==null)return l(e,null==r?void 0:r.class,null==r?void 0:r.className);let{variants:i,defaultVariants:a}=t,s=Object.keys(i).map(e=>{let t=null==r?void 0:r[e],n=null==a?void 0:a[e];if(null===t)return null;let l=o(t)||o(n);return i[e][l]}),u=r&&Object.entries(r).reduce((e,t)=>{let[r,n]=t;return void 0===n||(e[r]=n),e},{});return l(e,s,null==t||null==(n=t.compoundVariants)?void 0:n.reduce((e,t)=>{let{class:r,className:n,...o}=t;return Object.entries(o).every(e=>{let[t,r]=e;return Array.isArray(r)?r.includes({...a,...u}[t]):({...a,...u})[t]===r})?[...e,r,n]:e},[]),null==r?void 0:r.class,null==r?void 0:r.className)}},97582:(e,t,r)=>{r.d(t,{DX:()=>c,TL:()=>d});var n,o=r(44109),l=r(53849),i=r(88017),a=Symbol.for("react.lazy"),s=(n||(n=r.t(o,2)))[" use ".trim().toString()];function u(e){var t;return null!=e&&"object"==typeof e&&"$$typeof"in e&&e.$$typeof===a&&"_payload"in e&&"object"==typeof(t=e._payload)&&null!==t&&"then"in t}function d(e){let t=function(e){let t=o.forwardRef((e,t)=>{let{children:r,...n}=e;if(u(r)&&"function"==typeof s&&(r=s(r._payload)),o.isValidElement(r)){var i;let e,a,s=(i=r,(a=(e=Object.getOwnPropertyDescriptor(i.props,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?i.ref:(a=(e=Object.getOwnPropertyDescriptor(i,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?i.props.ref:i.props.ref||i.ref),u=function(e,t){let r={...t};for(let n in t){let o=e[n],l=t[n];/^on[A-Z]/.test(n)?o&&l?r[n]=(...e)=>{let t=l(...e);return o(...e),t}:o&&(r[n]=o):"style"===n?r[n]={...o,...l}:"className"===n&&(r[n]=[o,l].filter(Boolean).join(" "))}return{...e,...r}}(n,r.props);return r.type!==o.Fragment&&(u.ref=t?(0,l.t)(t,s):s),o.cloneElement(r,u)}return o.Children.count(r)>1?o.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}(e),r=o.forwardRef((e,r)=>{let{children:n,...l}=e;u(n)&&"function"==typeof s&&(n=s(n._payload));let a=o.Children.toArray(n),d=a.find(p);if(d){let e=d.props.children,n=a.map(t=>
5t!==d?t:o.Children.count(e)>1?o.Children.only(null):o.isValidElement(e)?e.props.children:null);return(0,i.jsx)(t,{...l,ref:r,children:o.isValidElement(e)?o.cloneElement(e,void 0,n):null})}return(0,i.jsx)(t,{...l,ref:r,children:n})});return r.displayName=`${e}.Slot`,r}var c=d("Slot"),f=Symbol("radix.slottable");function p(e){return o.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===f}}}]);

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.