PageSourceSearch

https://snapvoice.ai/_next/static/chunks/3cf7pnarls8xp.js

js snapvoice.ai collected 2026-10-05 15:06:46 UTC 24,770 bytes, 1 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,98183,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={assign:function(){return l},searchParamsToUrlQuery:function(){return i},urlQueryToSearchParams:function(){return a}};for(var o in n)Object.defineProperty(r,o,{enumerable:!0,get:n[o]});function i(e){let t={};for(let[r,n]of e.entries()){let e=t[r];void 0===e?t[r]=n:Array.isArray(e)?e.push(n):t[r]=[e,n]}return t}function s(e){return"string"==typeof e?e:("number"!=typeof e||isNaN(e))&&"boolean"!=typeof e?"":String(e)}function a(e){let t=new URLSearchParams;for(let[r,n]of Object.entries(e))if(Array.isArray(n))for(let e of n)t.append(r,s(e));else t.set(r,s(n));return t}function l(e,...t){for(let r of t){for(let t of r.keys())e.delete(t);for(let[t,n]of r.entries())e.append(t,n)}return e}},18967,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={DecodeError:function(){return y},MiddlewareNotFoundError:function(){return w},MissingStaticPage:function(){return b},NormalizeError:function(){return v},PageNotFoundError:function(){return x},SP:function(){return h},ST:function(){return g},WEB_VITALS:function(){return i},execOnce:function(){return s},getDisplayName:function(){return d},getLocationOrigin:function(){return u},getURL:function(){return c},isAbsoluteUrl:function(){return l},isResSent:function(){return f},loadGetInitialProps:function(){return p},normalizeRepeatedSlashes:function(){return m},stringifyError:function(){return E}};for(var o in n)Object.defineProperty(r,o,{enumerable:!0,get:n[o]});let i=["CLS","FCP","FID","INP","LCP","TTFB"];function s(e){let t,r=!1;return(...n)=>(r||(r=!0,t=e(...n)),t)}let a=/^[a-zA-Z][a-zA-Z\d+\-.]*?:/,l=e=>a.test(e);function u(){let{protocol:e,hostname:t,port:r}=window.location;return`${e}//${t}${r?":"+r:""}`}function c(){let{href:e}=window.location,t=u();return e.substring(t.length)}function d(e){return"string"==typeof e?e:e.displayName||e.name||"Unknown"}function f(e){return e.finished||e.headersSent}function m(e){let t=e.split("?");return t[0].replace(/\\/g,"/").replace(/\/\/+/g,"/")+(t[1]?`?${t.slice(1).join("?")}`:"")}async function p(e,t){let r=t.res||t.ctx&&t.ctx.res;if(!e.getInitialProps)return t.ctx&&t.Component?{pageProps:await p(t.Component,t.ctx)}:{};let n=await e.getInitialProps(t);if(r&&f(r))return n;if(!n)throw Object.defineProperty(Error(`"${d(e)}.getInitialProps()" should resolve to an object. But found "${n}" instead.`),"__NEXT_ERROR_CODE",{value:"E1025",enumerable:!1,configurable:!0});return n}let h="u">typeof performance,g=h&&["mark","measure","getEntriesByName"].every(e=>"function"==typeof performance[e]);class y extends Error{}class v extends Error{}class x extends Error{constructor(e){super(),this.code="ENOENT",this.name="PageNotFoundError",this.message=`Cannot find module for page: ${e}`}}class b extends Error{constructor(e,t){super(),this.message=`Failed to load static file for page: ${e} ${t}`}}class w extends Error{constructor(){super(),this.code="ENOENT",this.message="Cannot find the middleware module"}}function E(e){return JSON.stringify({message:e.message,stack:e.stack})}},33525,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"warnOnce",{enumerable:!0,get:function(){return n}});let n=e=>{}},95057,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={formatUrl:function(){return a},formatWithValidation:function(){return u},urlObjectKeys:function(){return l}};for(var o in n)Object.defineProperty(r,o,{enumerable:!0,get:n[o]});let i=e.r(90809)._(e.r(98183)),s=/https?|ftp|gopher|file/;function a(e){let{auth:t,hostname:r}=e,n=e.protocol||"",o=e.pathname||"",a=e.hash||"",l=e.query||"",u=!1;t=t?encodeURIComponent(t).replace(/%3A/i,":")+"@":"",e.host?u=t+e.host:r&&(u=t+(~r.indexOf(":")?`[${r}]`:r),e.port&&(u+=":"+e.port)),l&&"object"==typeof l&&(l=String(i.urlQueryToSearchParams(l)));let c=e.search||l&&`?${l}`||"";return n&&!n.endsWith(":")&&(n+=":"),e.slashes||(!n||s.test(n))&&!1!==u?(u="//"+(u||""),o&&"/"!==o[0]&&(o="/"+o)):u||(u=""),a&&"#"!==a[0]&&(a="#"+a),c&&"?"!==c[0]&&(c="?"+c),o=o.replace(/[?#]/g,encodeURIComponent),c=c.replace("#","%23"),`${n}${u}${o}${c}${a}`}let l=["auth","hash","host","hostname","href","path","pathname","port","protocol","query","search","slashes"];function u(e){return a(e)}},18581,(e,t,r)=>{"use strict";
1Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"useMergedRef",{enumerable:!0,get:function(){return o}});let n=e.r(71645);function o(e,t){let r=(0,n.useRef)(null),o=(0,n.useRef)(null);return(0,n.useCallback)(n=>{if(null===n){let e=r.current;e&&(r.current=null,e());let t=o.current;t&&(o.current=null,t())}else e&&(r.current=i(e,n)),t&&(o.current=i(t,n))},[e,t])}function i(e,t){if("function"!=typeof e)return e.current=t,()=>{e.current=null};{let r=e(t);return"function"==typeof r?r:()=>e(null)}}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},73668,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"isLocalURL",{enumerable:!0,get:function(){return i}});let n=e.r(18967),o=e.r(52817);function i(e){if(!(0,n.isAbsoluteUrl)(e))return!0;try{let t=(0,n.getLocationOrigin)(),r=new URL(e,t);return r.origin===t&&(0,o.hasBasePath)(r.pathname)}catch(e){return!1}}},84508,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"errorOnce",{enumerable:!0,get:function(){return n}});let n=e=>{}},22016,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={default:function(){return y},useLinkStatus:function(){return x}};for(var o in n)Object.defineProperty(r,o,{enumerable:!0,get:n[o]});let i=e.r(90809),s=e.r(43476),a=i._(e.r(71645)),l=e.r(95057),u=e.r(8372),c=e.r(18581),d=e.r(18967),f=e.r(5550);e.r(33525);let m=e.r(88540),p=e.r(91949),h=e.r(73668),g=e.r(9396);function y(t){var r,n;let o,i,y,[x,b]=(0,a.useOptimistic)(p.IDLE_LINK_STATUS),w=(0,a.useRef)(null),{href:E,as:N,children:S,prefetch:j=null,passHref:T,replace:P,shallow:C,scroll:O,onClick:_,onMouseEnter:L,onTouchStart:M,legacyBehavior:k=!1,onNavigate:A,transitionTypes:R,ref:I,unstable_dynamicOnHover:U,...$}=t;o=S,k&&("string"==typeof o||"number"==typeof o)&&(o=(0,s.jsx)("a",{children:o}));let F=a.default.useContext(u.AppRouterContext),D=!1!==j,B=!1!==j?null===(n=j)||"auto"===n?g.FetchStrategy.PPR:g.FetchStrategy.Full:g.FetchStrategy.PPR,W="string"==typeof(r=N||E)?r:(0,l.formatUrl)(r);if(k){if(o?.$$typeof===Symbol.for("react.lazy"))throw Object.defineProperty(Error("`<Link legacyBehavior>` received a direct child that is either a Server Component, or JSX that was loaded with React.lazy(). This is not supported. Either remove legacyBehavior, or make the direct child a Client Component that renders the Link's `<a>` tag."),"__NEXT_ERROR_CODE",{value:"E863",enumerable:!1,configurable:!0});i=a.default.Children.only(o)}let K=k?i&&"object"==typeof i&&i.ref:I,z=a.default.useCallback(e=>(null!==F&&(w.current=(0,p.mountLinkInstance)(e,W,F,B,D,b)),()=>{w.current&&((0,p.unmountLinkForCurrentNavigation)(w.current),w.current=null),(0,p.unmountPrefetchableInstance)(e)}),[D,W,F,B,b]),H={ref:(0,c.useMergedRef)(z,K),onClick(t){k||"function"!=typeof _||_(t),k&&i.props&&"function"==typeof i.props.onClick&&i.props.onClick(t),!F||t.defaultPrevented||function(t,r,n,o,i,s,l){if("u">typeof window){let u,{nodeName:c}=t.currentTarget;if("A"===c.toUpperCase()&&((u=t.currentTarget.getAttribute("target"))&&"_self"!==u||t.metaKey||t.ctrlKey||t.shiftKey||t.altKey||t.nativeEvent&&2===t.nativeEvent.which)||t.currentTarget.hasAttribute("download"))return;if(!(0,h.isLocalURL)(r)){o&&(t.preventDefault(),location.replace(r));return}if(t.preventDefault(),s){let e=!1;if(s({preventDefault:()=>{e=!0}}),e)return}let{dispatchNavigateAction:d}=e.r(99781);a.default.startTransition(()=>{d(r,o?"replace":"push",!1===i?m.ScrollBehavior.NoScroll:m.ScrollBehavior.Default,n.current,l)})}}(t,W,w,P,O,A,R)},onMouseEnter(e){k||"function"!=typeof L||L(e),k&&i.props&&"function"==typeof i.props.onMouseEnter&&i.props.onMouseEnter(e),F&&D&&(0,p.onNavigationIntent)(e.currentTarget,!0===U)},onTouchStart:function(e){k||"function"!=typeof M||M(e),k&&i.props&&"function"==typeof i.props.onTouchStart&&i.props.onTouchStart(e),F&&D&&(0,p.onNavigationIntent)(e.currentTarget,!0===U)}};return(0,d.isAbsoluteUrl)(W)?H.href=W:k&&!T&&("a"!==i.type||"href"in i.props)||(H.href=(0,f.addBasePath)(W)),y=k?a.default.cloneElement(i,H):(0,s.jsx)("a",{...$,...H,children:o}),(0,s.jsx)(v.Provider,{value:x,children:y})}e.r(84508);let v=(0,a.createContext)(p.IDLE_LINK_STATUS),x=()=>(0,a.useContext)(v);("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esMo
1dule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},32781,e=>{"use strict";let t=(0,e.i(56420).default)("loader-circle",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]]);e.s(["Loader2",0,t],32781)},18566,(e,t,r)=>{t.exports=e.r(76562)},88760,e=>{"use strict";var t=e.i(43476),r=e.i(22016),n=e.i(75157);e.s(["Logo",0,function({className:e,markOnly:o=!1}){return(0,t.jsxs)(r.default,{href:"/",className:(0,n.cn)("group inline-flex items-center gap-2.5 font-heading",e),"aria-label":"snapvoice.ai",children:[(0,t.jsx)("span",{className:"relative grid h-9 w-9 place-items-center rounded-xl bg-brand shadow-lg shadow-violet-500/30 transition-transform group-hover:scale-105",children:(0,t.jsx)("svg",{viewBox:"0 0 24 24",className:"h-5 w-5 text-white",fill:"none","aria-hidden":"true",children:(0,t.jsxs)("g",{stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",children:[(0,t.jsx)("line",{x1:"5",y1:"9",x2:"5",y2:"15"}),(0,t.jsx)("line",{x1:"9.5",y1:"5",x2:"9.5",y2:"19"}),(0,t.jsx)("line",{x1:"14",y1:"8",x2:"14",y2:"16"}),(0,t.jsx)("line",{x1:"18.5",y1:"10.5",x2:"18.5",y2:"13.5"})]})})}),!o&&(0,t.jsxs)("span",{className:"text-lg font-semibold tracking-tight text-foreground",children:["snapvoice",(0,t.jsx)("span",{className:"text-brand",children:".ai"})]})]})}])},17140,e=>{"use strict";var t=e.i(43476),r=e.i(71645),n=e.i(22016),o=e.i(18566),i=e.i(32781);let s=(0,e.i(56420).default)("mail",[["path",{d:"m22 7-8.991 5.727a2 2 0 0 1-2.009 0L2 7",key:"132q7q"}],["rect",{x:"2",y:"4",width:"20",height:"16",rx:"2",key:"izxlao"}]]);e.i(51718);var a=e.i(53197),l=e.i(88760),u=e.i(19455),c=e.i(67426),d=e.i(68445),f=e.i(44674);let m=/^[^\s@]+@[^\s@]+\.[^\s@]+$/;function p({className:e}){return(0,t.jsxs)("svg",{className:e,viewBox:"0 0 24 24","aria-hidden":"true",children:[(0,t.jsx)("path",{fill:"#4285F4",d:"M22.56 12.25c0-.78-.07-1.53-.2-2.25H12v4.26h5.92a5.06 5.06 0 0 1-2.2 3.32v2.77h3.57c2.08-1.92 3.27-4.74 3.27-8.1Z"}),(0,t.jsx)("path",{fill:"#34A853",d:"M12 23c2.97 0 5.46-.98 7.28-2.66l-3.57-2.77c-.99.66-2.26 1.06-3.71 1.06-2.86 0-5.29-1.93-6.16-4.53H2.18v2.84A11 11 0 0 0 12 23Z"}),(0,t.jsx)("path",{fill:"#FBBC05",d:"M5.84 14.1a6.6 6.6 0 0 1 0-4.2V7.06H2.18a11 11 0 0 0 0 9.88l3.66-2.84Z"}),(0,t.jsx)("path",{fill:"#EA4335",d:"M12 5.38c1.62 0 3.06.56 4.21 1.64l3.15-3.15C17.45 2.09 14.97 1 12 1A11 11 0 0 0 2.18 7.06l3.66 2.84C6.71 7.3 9.14 5.38 12 5.38Z"})]})}e.s(["AuthForm",0,function({mode:e,onSwitchMode:h}){let{t:g}=(0,f.useLanguage)(),y=g.auth,v=(0,o.useRouter)(),{user:x,loading:b,signInWithGoogle:w,sendMagicLink:E,completeMagicLink:N}=(0,d.useAuth)(),[S,j]=(0,r.useState)(""),[T,P]=(0,r.useState)(!1),[C,O]=(0,r.useState)(!1),[_,L]=(0,r.useState)(!1),[M,k]=(0,r.useState)(null);async function A(){k(null),P(!0);try{await w()}catch{k(y.genericError)}finally{P(!1)}}async function R(e){e.preventDefault(),k(null);let t=S.trim();if(!m.test(t))return void k(y.invalidEmail);P(!0);try{await E(t),O(!0)}catch{k(y.genericError)}finally{P(!1)}}(0,r.useEffect)(()=>{if(!(0,a.isSignInWithEmailLink)(c.auth,window.location.href))return;let e=!0;return(async()=>
1{try{L(!0),await N()}catch{e&&k(y.genericError)}finally{e&&L(!1)}})(),()=>{e=!1}},[N,y.genericError]),(0,r.useEffect)(()=>{if(b||!x||h)return;let e=new URLSearchParams(window.location.search).get("next"),t=e&&e.startsWith("/")&&!e.startsWith("//")&&!e.startsWith("/sign-")?e:"/app";v.replace(t)},[b,x,v,h]);let I="signup"===e,U=I?y.signUpTitle:y.signInTitle,$=I?y.signUpSubtitle:y.signInSubtitle;return _?(0,t.jsxs)("div",{className:"flex flex-col items-center gap-3 py-10 text-foreground/70",children:[(0,t.jsx)(i.Loader2,{className:"h-6 w-6 animate-spin text-brand"}),(0,t.jsx)("p",{className:"text-sm",children:y.completing})]}):C?(0,t.jsxs)("div",{className:"text-center",children:[(0,t.jsx)("div",{className:"mx-auto grid h-12 w-12 place-items-center rounded-full bg-brand/15 text-brand",children:(0,t.jsx)(s,{className:"h-6 w-6"})}),(0,t.jsx)("h1",{className:"mt-4 text-xl font-bold text-foreground",children:y.linkSentTitle}),(0,t.jsx)("p",{className:"mt-2 text-sm text-foreground/65",children:y.linkSent.replace("{email}",S.trim())})]}):(0,t.jsxs)("div",{children:[(0,t.jsxs)("div",{className:"mb-6 flex flex-col items-center text-center",children:[(0,t.jsx)(l.Logo,{}),(0,t.jsx)("h1",{className:"mt-5 text-2xl font-bold tracking-tight text-foreground",children:U}),(0,t.jsx)("p",{className:"mt-2 text-sm text-foreground/65",children:$})]}),(0,t.jsxs)(u.Button,{type:"button",onClick:A,disabled:T,variant:"outline",size:"lg",className:"w-full rounded-full border-foreground
1/15 bg-foreground/5 text-foreground hover:bg-foreground/10",children:[(0,t.jsx)(p,{className:"mr-2 h-4 w-4"}),y.continueWithGoogle]}),(0,t.jsxs)("div",{className:"my-5 flex items-center gap-3 text-xs text-foreground/40",children:[(0,t.jsx)("span",{className:"h-px flex-1 bg-foreground/10"}),y.or,(0,t.jsx)("span",{className:"h-px flex-1 bg-foreground/10"})]}),(0,t.jsxs)("form",{onSubmit:R,className:"space-y-3",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)("label",{htmlFor:"auth-email",className:"mb-1.5 block text-sm font-medium text-foreground/80",children:y.emailLabel}),(0,t.jsx)("input",{id:"auth-email",type:"email",value:S,onChange:e=>j(e.target.value),placeholder:y.emailPlaceholder,autoComplete:"email",className:"w-full rounded-xl border border-foreground/10 bg-foreground/5 px-4 py-2.5 text-sm text-foreground/90 outline-none transition focus:border-violet-400/40 focus:ring-2 focus:ring-violet-500/20"})]}),(0,t.jsx)(u.Button,{type:"submit",disabled:T,size:"lg",className:"w-full rounded-full bg-brand text-white hover:opacity-90",children:T?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(i.Loader2,{className:"mr-1 h-4 w-4 animate-spin"}),y.sending]}):y.sendMagicLink})]}),M&&(0,t.jsx)("p",{className:"mt-4 rounded-lg border border-red-500/20 bg-red-500/10 px-4 py-2.5 text-sm text-red-400",children:M}),(0,t.jsxs)("p",{className:"mt-6 text-center text-sm text-foreground/55",children:[I?y.haveAccount:y.noAccount," ",h?(0,t.jsx)("button",{type:"button",onClick:()=>h(I?"signin":"signup"),className:"font-medium text-brand hover:underline",children:I?y.switchToSignIn:y.switchToSignUp}):(0,t.jsx)(n.default,{href:I?"/sign-in":"/sign-up",className:"font-medium text-brand hover:underline",children:I?y.switchToSignIn:y.switchToSignUp})]})]})}],17140)},63676,e=>{"use strict";let t=(0,e.i(56420).default)("x",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]);e.s(["X",0,t],63676)},81140,e=>{"use strict";"u">typeof window&&window.document&&window.document.createElement,e.s(["composeEventHandlers",0,function(e,t,{checkForDefaultPrevented:r=!0}={}){return function(n){if(e?.(n),!1===r||!n.defaultPrevented)return t?.(n)}}])},30030,e=>{"use strict";var t=e.i(71645),r=e.i(43476);e.s(["createContext",0,function(e,n){let o=t.createContext(n),i=e=>{let{children:n,...i}=e,s=t.useMemo(()=>i,Object.values(i));return(0,r.jsx)(o.Provider,{value:s,children:n})};return i.displayName=e+"Provider",[i,function(r){let i=t.useContext(o);if(i)return i;if(void 0!==n)return n;throw Error(`\`${r}\` must be used within \`${e}\``)}]},"createContextScope",0,function(e,n=[]){let o=[],i=()=>{let r=o.map(e=>t.createContext(e));return function(n){let o=n?.[e]||r;return t.useMemo(()=>({[`__scope${e}`]:{...n,[e]:o}}),[n,o])}};return i.scopeName=e,[function(n,i){let s=t.createContext(i),a=o.length;o=[...o,i];let l=n=>{let{scope:o,children:i,...l}=n,u=o?.[e]?.[a]||s,c=t.useMemo(()=>l,Object.values(l));return(0,r.jsx)(u.Provider,{value:c,children:i})};return l.displayName=n+"Provider",[l,function(r,o){let l=o?.[e]?.[a]||s,u=t.useContext(l);if(u)return u;if(void 0!==i)return i;throw Error(`\`${r}\` must be used within \`${n}\``)}]},function(...e){let r=e[0];if(1===e.length)return r;let n=()=>{let n=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(e){let o=n.reduce((t,{useScope:r,scopeName:n})=>{let o=r(e)[`__scope${n}`];return{...t,...o}},{});return t.useMemo(()=>({[`__scope${r.scopeName}`]:o}),[o])}};return n.scopeName=r.scopeName,n}(i,...n)]}])},34620,e=>{"use strict";var t=e.i(71645),r=globalThis?.document?t.useLayoutEffect:()=>{};e.s(["useLayoutEffect",0,r])},10772,e=>{"use strict";var t=e.i(71645),r=e.i(34620),n=t[" useId ".trim().toString()]||(()=>void 0),o=0;e.s(["useId",0,function(e){let[i,s]=t.useState(n());return(0,r.useLayoutEffect)(()=>{e||s(e=>e??String(o++))},[e]),e||(i?`radix-${i}`:"")}])},69340,e=>{"use strict";var t=e.i(71645),r=e.i(34620);t[" useEffectEvent ".trim().toString()],t[" useInsertionEffect ".trim().toString()];var n=t[" useInsertionEffect ".trim().toString()]||r.useLayoutEffect;Symbol("RADIX:SYNC_STATE"),e.s(["useControllableState",0,function({prop:e,defaultProp:r,onChange:o=()=>{},caller:i}){let[s,a,l]=function({defaultProp:e,onChange:r}){let[o,i]=t.useState(e),s=t.useRef(o),a=t.useRef(r);return n(()=>{a.current=r},[r]),t.useEffect(()=>{s.current!==o&&(a.current?.(o),s.current=o)},[o,s]),[o,i,a]}({defaultProp:r,onChange:o}),u=void 0!==e,c=u?e:s;{let r=t.useRef(void 0!==e);t.useEffect(()=>{let e=r.current;if(e!==u){let t=u?"controlled":"uncontrolled";console.warn(`${i} is changing from ${e?"controlled":"uncontrolled"} to ${t}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`)}r.current=u},[u,i])}return[c,t.useCallback(t=>{if(u){let r="function"==typeof t?t(e):t;r!==e&&l.current?.(r)}else a(t)},[u,e,a,l])]}],69340)},48425,e=>{"use strict";var t=e.i(71645),r=e.i(74080),n=e.i(91918),o=e.i(43476),i=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,r)=>{let i=(0,n.createSlot)(`Primitive.${r}`),s=t.forwardRef((e,t)=>
1{let{asChild:n,...s}=e;return"u">typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,o.jsx)(n?i:r,{...s,ref:t})});return s.displayName=`Primitive.${r}`,{...e,[r]:s}},{});e.s(["Primitive",0,i,"dispatchDiscreteCustomEvent",0,function(e,t){e&&r.flushSync(()=>e.dispatchEvent(t))}])},96626,e=>{"use strict";var t=e.i(71645),r=e.i(20783),n=e.i(34620),o=e=>{var o;let s,a,{present:l,children:u}=e,c=function(e){var r,o;let[s,a]=t.useState(),l=t.useRef(null),u=t.useRef(e),c=t.useRef("none"),[d,f]=(r=e?"mounted":"unmounted",o={mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}},t.useReducer((e,t)=>o[e][t]??e,r));return t.useEffect(()=>{let e=i(l.current);c.current="mounted"===d?e:"none"},[d]),(0,n.useLayoutEffect)(()=>{let t=l.current,r=u.current;if(r!==e){let n=c.current,o=i(t);e?f("MOUNT"):"none"===o||t?.display==="none"?f("UNMOUNT"):r&&n!==o?f("ANIMATION_OUT"):f("UNMOUNT"),u.current=e}},[e,f]),(0,n.useLayoutEffect)(()=>{if(s){let e,t=s.ownerDocument.defaultView??window,r=r=>{let n=i(l.current).includes(CSS.escape(r.animationName));if(r.target===s&&n&&(f("ANIMATION_END"),!u.current)){let r=s.style.animationFillMode;s.style.animationFillMode="forwards",e=t.setTimeout(()=>{"forwards"===s.style.animationFillMode&&(s.style.animationFillMode=r)})}},n=e=>{e.target===s&&(c.current=i(l.current))};return s.addEventListener("animationstart",n),s.addEventListener("animationcancel",r),s.addEventListener("animationend",r),()=>{t.clearTimeout(e),s.removeEventListener("animationstart",n),s.removeEventListener("animationcancel",r),s.removeEventListener("animationend",r)}}f("ANIMATION_END")},[s,f]),{isPresent:["mounted","unmountSuspended"].includes(d),ref:t.useCallback(e=>{l.current=e?getComputedStyle(e):null,a(e)},[])}}(l),d="function"==typeof u?u({present:c.isPresent}):t.Children.only(u),f=(0,r.useComposedRefs)(c.ref,(o=d,(a=(s=Object.getOwnPropertyDescriptor(o.props,"ref")?.get)&&"isReactWarning"in s&&s.isReactWarning)?o.ref:(a=(s=Object.getOwnPropertyDescriptor(o,"ref")?.get)&&"isReactWarning"in s&&s.isReactWarning)?o.props.ref:o.props.ref||o.ref));return"function"==typeof u||c.isPresent?t.cloneElement(d,{ref:f}):null};function i(e){return e?.animationName||"none"}o.displayName="Presence",e.s(["Presence",0,o])},30207,e=>{"use strict";var t=e.i(71645);e.s(["useCallbackRef",0,function(e){let r=t.useRef(e);return t.useEffect(()=>{r.current=e}),t.useMemo(()=>(...e)=>r.current?.(...e),[])}])},63178,e=>{"use strict";var t=e.i(71645),r=(e,t,r,n,o,i,s,a)=>{let l=document.documentElement,u=["light","dark"];function c(t){var r;(Array.isArray(e)?e:[e]).forEach(e=>{let r="class"===e,n=r&&i?o.map(e=>i[e]||e):o;r?(l.classList.remove(...n),l.classList.add(i&&i[t]?i[t]:t)):l.setAttribute(e,t)}),r=t,a&&u.includes(r)&&(l.style.colorScheme=r)}if(n)c(n);else try{let e=localStorage.getItem(t)||r,n=s&&"system"===e?window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light":e;c(n)}catch(e){}},n=["light","dark"],o="(prefers-color-scheme: dark)",i="u"<typeof window,s=t.createContext(void 0),a={setTheme:e=>{},themes:[]},l=["light","dark"],u=({forcedTheme:e,disableTransitionOnChange:r=!1,enableSystem:i=!0,enableColorScheme:a=!0,storageKey:u="theme",themes:p=l,defaultTheme:h=i?"system":"light",attribute:g="data-theme",value:y,children:v,nonce:x,scriptProps:b})=>{let[w,E]=t.useState(()=>d(u,h)),[N,S]=t.useState(()=>"system"===w?m():w),j=y?Object.values(y):p,T=t.useCallback(e=>{let t=e;if(!t)return;"system"===e&&i&&(t=m());let o=y?y[t]:t,s=r?f(x):null,l=document.documentElement,u=e=>{"class"===e?(l.classList.remove(...j),o&&l.classList.add(o)):e.startsWith("data-")&&(o?l.setAttribute(e,o):l.removeAttribute(e))};if(Array.isArray(g)?g.forEach(u):u(g),a){let e=n.includes(h)?h:null,r=n.includes(t)?t:e;l.style.colorScheme=r}null==s||s()},[x]),P=t.useCallback(e=>{let t="function"==typeof e?e(w):e;E(t);try{localStorage.setItem(u,t)}catch(e){}},[w]),C=t.useCallback(t=>{S(m(t)),"system"===w&&i&&!e&&T("system")},[w,e]);t.useEffect(()=>{let e=window.matchMedia(o);return e.addListener(C),C(e),()=>e.removeListener(C)},[C]),t.useEffect(()=>{let e=e=>{e.key===u&&(e.newValue?E(e.newValue):P(h))};return window.addEventListener("storage",e),()=>window.removeEventListener("storage",e)},[P]),t.useEffect(()=>{T(null!=e?e:w)},[e,w]);let O=t.useMemo(()=>({theme:w,setTheme:P,forcedTheme:e,resolvedTheme:"system"===w?N:w,themes:i?[...p,"system"]:p,systemTheme:i?N:void 0}),[w,P,e,N,i,p]);return t.createElement(s.Provider,{value:O},t.createElement(c,{forcedTheme:e,storageKey:u,attribute:g,enableSystem:i,enableColorScheme:a,defaultTheme:h,value:y,themes:p,nonce:x,scriptProps:b}),v)},c=t.memo(({forcedTheme:e,storageKey:n,attribute:o,enableSystem:i,enableColorScheme:s,defaultTheme:a,value:l,themes:u,nonce:c,scriptProps:d})=>{let f=JSON.stringify([o,n,a,e,u,l,i,s]).slice(1,-1);return t.createElement("script",{...d,suppressHydrationWarning:!0,nonce:"u"<typeof window?c:"",dangerouslySetInnerHTML:{__html:`(${r.toString()})(${f})`}})}),d=(e,t)=>{let r;if(!i){try{r=localStorage.getItem(e)||void 0}catch(e){}return r||t}},f=e=>{let t=document.createElement("style");return e&&t.setAttribute("nonce",e),t.appendChild(document.createTextNode("*,*::before,*::after{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}")),document.head.appendChild(t),()=>{window.getComputedStyle(document.body),setTimeout(()=>{document.head.removeChild(t)},1)}},m=e=>
1(e||(e=window.matchMedia(o)),e.matches?"dark":"light");e.s(["ThemeProvider",0,e=>t.useContext(s)?t.createElement(t.Fragment,null,e.children):t.createElement(u,{...e}),"useTheme",0,()=>{var e;return null!=(e=t.useContext(s))?e:a}])},27423,e=>{"use strict";var t=e.i(43476),r=e.i(63178);e.s(["ThemeProvider",0,function({children:e,...n}){return(0,t.jsx)(r.ThemeProvider,{...n,children: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.