PageSourceSearch

https://www.k-startup.ai/_next/static/chunks/29483-855f0b4ffb8dbfe1.js

js k-startup.ai collected 2026-10-05 12:21:45 UTC 8,898 bytes, 5 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[29483],{29483:(e,t,n)=>{let r,o,i;n.r(t),n.d(t,{Close:()=>eu,Content:()=>el,Description:()=>es,Dialog:()=>I,DialogClose:()=>z,DialogContent:()=>B,DialogDescription:()=>Z,DialogOverlay:()=>S,DialogPortal:()=>M,DialogTitle:()=>$,DialogTrigger:()=>_,Overlay:()=>ei,Portal:()=>eo,Root:()=>en,Title:()=>ea,Trigger:()=>er,WarningProvider:()=>X,createDialogScope:()=>E});var l=n(12115),a=n(70379),s=n(47527),u=n(68599),d=n(89971),c=n(98979),p=n(98454),f=n(69885),g=n(19040),m=n(83935),y=n(99354),v=n(32007),D=n(78919),N=n(22954),O=n(95155),R=Symbol("radix.slottable");function h(e){return l.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===R}var C="Dialog",[w,E]=(0,u.A)(C),[j,x]=w(C),I=e=>{let{__scopeDialog:t,children:n,open:r,defaultOpen:o,onOpenChange:i,modal:a=!0}=e,s=l.useRef(null),u=l.useRef(null),[p,f]=(0,c.i)({prop:r,defaultProp:o??!1,onChange:i,caller:C});return(0,O.jsx)(j,{scope:t,triggerRef:s,contentRef:u,contentId:(0,d.B)(),titleId:(0,d.B)(),descriptionId:(0,d.B)(),open:p,onOpenChange:f,onOpenToggle:l.useCallback(()=>f(e=>!e),[f]),modal:a,children:n})};I.displayName=C;var b="DialogTrigger",_=l.forwardRef((e,t)=>{let{__scopeDialog:n,...r}=e,o=x(b,n),i=(0,s.s)(t,o.triggerRef);return(0,O.jsx)(y.sG.button,{type:"button","aria-haspopup":"dialog","aria-expanded":o.open,"aria-controls":o.contentId,"data-state":J(o.open),...r,ref:i,onClick:(0,a.mK)(e.onClick,o.onOpenToggle)})});_.displayName=b;var T="DialogPortal",[A,P]=w(T,{forceMount:void 0}),M=e=>{let{__scopeDialog:t,forceMount:n,children:r,container:o}=e,i=x(T,t);return(0,O.jsx)(A,{scope:t,forceMount:n,children:l.Children.map(r,e=>(0,O.jsx)(m.C,{present:n||i.open,children:(0,O.jsx)(g.Portal,{asChild:!0,container:o,children:e})}))})};M.displayName=T;var F="DialogOverlay",S=l.forwardRef((e,t)=>{let n=P(F,e.__scopeDialog),{forceMount:r=n.forceMount,...o}=e,i=x(F,e.__scopeDialog);return i.modal?(0,O.jsx)(m.C,{present:r||i.open,children:(0,O.jsx)(U,{...o,ref:t})}):null});S.displayName=F;var W=((i=l.forwardRef((e,t)=>{let{children:n,...r}=e;if(l.isValidElement(n)){var o;let e,i,a=(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),u=function(e,t){let n={...t};for(let r in t){let o=e[r],i=t[r];/^on[A-Z]/.test(r)?o&&i?n[r]=(...e)=>{let t=i(...e);return o(...e),t}:o&&(n[r]=o):"style"===r?n[r]={...o,...i}:"className"===r&&(n[r]=[o,i].filter(Boolean).join(" "))}return{...e,...n}}(r,n.props);return n.type!==l.Fragment&&(u.ref=t?(0,s.t)(t,a):a),l.cloneElement(n,u)}return l.Children.count(n)>1?l.Children.only(null):null})).displayName="DialogOverlay.RemoveScroll.SlotClone",r=i,(o=l.forwardRef((e,t)=>{let{children:n,...o}=e,i=l.Children.toArray(n),a=i.find(h);if(a){let e=a.props.children,n=i.map(t=>t!==a?t:l.Children.count(e)>1?l.Children.only(null):l.isValidElement(e)?e.props.children:null);return(0,O.jsx)(r,{...o,ref:t,children:l.isValidElement(e)?l.cloneElement(e,void 0,n):null})}return(0,O.jsx)(r,{...o,ref:t,children:n})})).displayName="DialogOverlay.RemoveScroll.Slot",o),U=l.forwardRef((e,t)=>{let{__scopeDialog:n,...r}=e,o=x(F,n);return(0,O.jsx)(D.A,{as:W,allowPinchZoom:!0,shards:[o.contentRef],children:(0,O.jsx)(y.sG.div,{"data-state":J(o.open),...r,ref:t,style:{pointerEvents:"auto",...r.style}})})}),k="DialogContent",B=l.forwardRef((e,t)=>{let n=P(k,e.__scopeDialog),{forceMount:r=n.forceMount,...o}=e,i=x(k,e.__scopeDialog);return(0,O.jsx)(m.C,{present:r||i.open,children:i.modal?(0,O.jsx)(K,{...o,ref:t}):(0,O.jsx)(L,{...o,ref:t})})});B.displayName=k;var K=l.forwardRef((e,t)=>{let n=x(k,e.__scopeDialog),r=l.useRef(null),o=(0,s.s)(t,n.contentRef,r);return l.useEffect(()=>{let e=r.current;if(e)return(0,N.Eq)(e)},[]),(0,O.jsx)(V,{...e,ref:o,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:(0,a.mK)(e.onCloseAutoFocus,e=>{e.preventDefault(),n.triggerRef.current?.focus()}),onPointerDownOutside:(0,a.mK)(e.onPointerDownOutside,e=>{let t=e.detail.originalEvent,n=0===t.button&&!0===t.ctrlKey;(2===t.button||n)&&e.preventDefault()}),onFocusOutside:(0,a.mK)(e.onFocusOutside,e=>e.preventDefault())})}),L=l.forwardRef((e,t)=>
1{let n=x(k,e.__scopeDialog),r=l.useRef(!1),o=l.useRef(!1);return(0,O.jsx)(V,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:t=>{e.onCloseAutoFocus?.(t),t.defaultPrevented||(r.current||n.triggerRef.current?.focus(),t.preventDefault()),r.current=!1,o.current=!1},onInteractOutside:t=>{e.onInteractOutside?.(t),t.defaultPrevented||(r.current=!0,"pointerdown"===t.detail.originalEvent.type&&(o.current=!0));let i=t.target;n.triggerRef.current?.contains(i)&&t.preventDefault(),"focusin"===t.detail.originalEvent.type&&o.current&&t.preventDefault()}})}),V=l.forwardRef((e,t)=>{let{__scopeDialog:n,trapFocus:r,onOpenAutoFocus:o,onCloseAutoFocus:i,...a}=e,u=x(k,n),d=l.useRef(null),c=(0,s.s)(t,d);return(0,v.Oh)(),(0,O.jsxs)(O.Fragment,{children:[(0,O.jsx)(f.n,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:o,onUnmountAutoFocus:i,children:(0,O.jsx)(p.qW,{role:"dialog",id:u.contentId,"aria-describedby":u.descriptionId,"aria-labelledby":u.titleId,"data-state":J(u.open),...a,ref:c,onDismiss:()=>u.onOpenChange(!1)})}),(0,O.jsxs)(O.Fragment,{children:[(0,O.jsx)(ee,{titleId:u.titleId}),(0,O.jsx)(et,{contentRef:d,descriptionId:u.descriptionId})]})]})}),G="DialogTitle",$=l.forwardRef((e,t)=>{let{__scopeDialog:n,...r}=e,o=x(G,n);return(0,O.jsx)(y.sG.h2,{id:o.titleId,...r,ref:t})});$.displayName=G;var q="DialogDescription",Z=l.forwardRef((e,t)=>{let{__scopeDialog:n,...r}=e,o=x(q,n);return(0,O.jsx)(y.sG.p,{id:o.descriptionId,...r,ref:t})});Z.displayName=q;var H="DialogClose",z=l.forwardRef((e,t)=>{let{__scopeDialog:n,...r}=e,o=x(H,n);return(0,O.jsx)(y.sG.button,{type:"button",...r,ref:t,onClick:(0,a.mK)(e.onClick,()=>o.onOpenChange(!1))})});function J(e){return e?"open":"closed"}z.displayName=H;var Q="DialogTitleWarning",[X,Y]=(0,u.q)(Q,{contentName:k,titleName:G,docsSlug:"dialog"}),ee=({titleId:e})=>{let t=Y(Q),n=`\`${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 l.useEffect(()=>{e&&(document.getElementById(e)||console.error(n))},[n,e]),null},et=({contentRef:e,descriptionId:t})=>{let n=Y("DialogDescriptionWarning"),r=`Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${n.contentName}}.`;return l.useEffect(()=>{let n=e.current?.getAttribute("aria-describedby");t&&n&&(document.getElementById(t)||console.warn(r))},[r,e,t]),null},en=I,er=_,eo=M,ei=S,el=B,ea=$,es=Z,eu=z},83935:(e,t,n)=>{n.d(t,{C:()=>l});var r=n(12115),o=n(47527),i=n(66294),l=e=>{var t;let n,l,{present:s,children:u}=e,d=function(e){var t,n;let[o,l]=r.useState(),s=r.useRef(null),u=r.useRef(e),d=r.useRef("none"),[c,p]=(t=e?"mounted":"unmounted",n={mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}},r.useReducer((e,t)=>n[e][t]??e,t));return r.useEffect(()=>{let e=a(s.current);d.current="mounted"===c?e:"none"},[c]),(0,i.N)(()=>{let t=s.current,n=u.current;if(n!==e){let r=d.current,o=a(t);e?p("MOUNT"):"none"===o||t?.display==="none"?p("UNMOUNT"):n&&r!==o?p("ANIMATION_OUT"):p("UNMOUNT"),u.current=e}},[e,p]),(0,i.N)(()=>{if(o){let e,t=o.ownerDocument.defaultView??window,n=n=>{let r=a(s.current).includes(CSS.escape(n.animationName));if(n.target===o&&r&&(p("ANIMATION_END"),!u.current)){let n=o.style.animationFillMode;o.style.animationFillMode="forwards",e=t.setTimeout(()=>{"forwards"===o.style.animationFillMode&&(o.style.animationFillMode=n)})}},r=e=>{e.target===o&&(d.current=a(s.current))};return o.addEventListener("animationstart",r),o.addEventListener("animationcancel",n),o.addEventListener("animationend",n),()=>{t.clearTimeout(e),o.removeEventListener("animationstart",r),o.removeEventListener("animationcancel",n),o.removeEventListener("animationend",n)}}p("ANIMATION_END")},[o,p]),{isPresent:["mounted","unmountSuspended"].includes(c),ref:r.useCallback(e=>{s.current=e?getComputedStyle(e):null,l(e)},[])}}(s),c="function"==typeof u?u({present:d.isPresent}):r.Children.only(u),p=(0,o.s)(d.ref,(t=c,(l=(n=Object.getOwnPropertyDescriptor(t.props,"ref")?.get)&&"isReactWarning"in n&&n.isReactWarning)?t.ref:(l=(n=Object.getOwnPropertyDescriptor(t,"ref")?.get)&&"isReactWarning"in n&&n.isReactWarning)?t.props.ref:t.props.ref||t.ref));return"function"==typeof u||d.isPresent?r.cloneElement(c,{ref:p}):null};function a(e){return e?.animationName||"none"}l.displayName="Presence"}}]);

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.