PageSourceSearch

https://www.debateai.net/_next/static/chunks/78-c899c2e769b009c6.js

js debateai.net collected 2026-10-06 03:31:30 UTC 9,125 bytes, 14 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[78],{2193:function(n,e,t){t.r(e),t.d(e,{ClientClerkProvider:function(){return f}});var r=t(91693),i=t(47907),u=t(64090),o=t(49854);let c=u.useLayoutEffect;var s=t(49079);let a=n=>({...n,frontendApi:n.frontendApi||s.env.NEXT_PUBLIC_CLERK_FRONTEND_API||"",publishableKey:n.publishableKey||"pk_live_Y2xlcmsuZGViYXRlYWkubmV0JA",clerkJSUrl:n.clerkJSUrl||s.env.NEXT_PUBLIC_CLERK_JS,clerkJSVersion:n.clerkJSVersion||s.env.NEXT_PUBLIC_CLERK_JS_VERSION,proxyUrl:n.proxyUrl||s.env.NEXT_PUBLIC_CLERK_PROXY_URL||"",domain:n.domain||s.env.NEXT_PUBLIC_CLERK_DOMAIN||"",isSatellite:n.isSatellite||"true"===s.env.NEXT_PUBLIC_CLERK_IS_SATELLITE,signInUrl:n.signInUrl||"/sign-in",signUpUrl:n.signUpUrl||"/sign-up",afterSignInUrl:n.afterSignInUrl||"/dashboard",afterSignUpUrl:n.afterSignUpUrl||"/dashboard",sdkMetadata:{name:"@clerk/nextjs",version:"4.29.7"}}),l=()=>{let{push:n}=(0,i.useRouter)(),[e,t]=(0,u.useTransition)(),r=(0,u.useRef)(),o=(0,u.useRef)([]);return r.current||(r.current=(e,r)=>new Promise(i=>{o.current.push(i),t(()=>{n(e,r)})})),(0,u.useEffect)(()=>{var n;e||((null==o?void 0:null===(n=o.current)||void 0===n?void 0:n.length)&&o.current.forEach(n=>n()),o.current=[])},[e]),r.current},f=n=>{let{__unstable_invokeMiddlewareOnAuthStateChange:e=!0}=n,t=(0,i.useRouter)(),s=l();c(()=>{window.__unstable__onBeforeSetActive=()=>{e&&(t.refresh(),t.push(window.location.href))},window.__unstable__onAfterSetActive=()=>{t.refresh()}},[]);let f=a({...n,navigate:s});return u.createElement(o.f,{options:f},u.createElement(r.El,{...f}))}},49854:function(n,e,t){t.d(e,{f:function(){return o},k:function(){return u}});var r=t(64090);let i=r.createContext(void 0);i.displayName="ClerkNextOptionsCtx";let u=()=>r.useContext(i).value,o=n=>{let{children:e,options:t}=n;return r.createElement(i.Provider,{value:{value:t}},e)}},98999:function(n,e,t){t.r(e),t.d(e,{AuthenticateWithRedirectCallback:function(){return r.vn},ClerkLoaded:function(){return r.a7},ClerkLoading:function(){return r.qI},MultisessionAppSupport:function(){return r.KM},Protect:function(){return r.Cv},RedirectToCreateOrganization:function(){return r.gM},RedirectToOrganizationProfile:function(){return r.yB},RedirectToSignIn:function(){return r.N1},RedirectToSignUp:function(){return r.C2},RedirectToUserProfile:function(){return r.sO},SignedIn:function(){return r.CH},SignedOut:function(){return r.tj}});var r=t(91693)},60747:function(n,e,t){t.r(e),t.d(e,{EmailLinkErrorCode:function(){return r._L},MagicLinkErrorCode:function(){return r.X1},WithClerk:function(){return r._E},WithSession:function(){return r.CJ},WithUser:function(){return r.Gi},isClerkAPIResponseError:function(){return r.kD},isEmailLinkError:function(){return r.G1},isKnownError:function(){return r.sZ},isMagicLinkError:function(){return r.V9},isMetamaskError:function(){return r.ZC},useAuth:function(){return r.aC},useClerk:function(){return r.ll},useEmailLink:function(){return r.E2},useMagicLink:function(){return r.jS},useOrganization:function(){return r.o8},useOrganizationList:function(){return r.eW},useOrganizations:function(){return r.qi},useSession:function(){return r.kP},useSessionList:function(){return r.xo},useSignIn:function(){return r.zq},useSignUp:function(){return r.QS},useUser:function(){return r.aF},withClerk:function(){return r.r0},withSession:function(){return r.NA},withUser:function(){return r.ns}});var r=t(91693)},71934:function(n,e,t){t.r(e),t.d(e,{CreateOrganization:function(){return r.Gp},OrganizationList:function(){return r.Bg},OrganizationProfile:function(){return r.A},OrganizationSwitcher:function(){return r.Li},SignIn:function(){return o},SignInButton:function(){return r.$d},SignInWithMetamaskButton:function(){return r.qu},SignOutButton:function(){return r.AM},SignUp:function(){return c},SignUpButton:function(){return r.gX},UserButton:function(){return r.l8},UserProfile:function(){return r.Iw}});var r=t(91693),i=t(64090),u=t(49854);let o=n=>{let{signInUrl:e}=(0,u.k)();return e?i.createElement(r.cL,{routing:"path",path:e,...n}):i.createElement(r.cL,{...n})},c=n=>{let{signUpUrl:e}=(0,u.k)();return e?i.createElement(r.Mo,{routing:"path",path:e,...n}):i.createElement(r.Mo,{...n})}},97404:function(n,e,t){t.d(e,{Z:function(){return r}});/**
2 * @license lucide-react v0.338.0 - ISC
3 *
4 * This source code is licensed under the ISC license.
5 * See the LICENSE file in the root directory of this source tree.
6 */let r=(0,t(87461).Z)("Zap",[["polygon",{points:"13 2 3 14 12 14 11 22 21 10 12 10 13 2",key:"45s27k"}]])},49079:function(n,e,t){var r,i;n.exports=(null==(r=t.g.process)?void 0:r.env)&&"object"==typeof(null==(i=t.g.process)?void 0:i.env)?t.g.process:t(13127)},13127:function(n){!function(){var e={229:function(n){var e,t,r,i=n.exports={};function u(){throw Error("setTimeout has not been defined")}function o(){throw Error("clearTimeout has not been defined")}function c(n){if(e===setTimeout)return setTimeout(n,0);if((e===u||!e)&&setTimeout)return e=setTimeout,setTimeout(n,0);try{return e(n,0)}catch(t){try{return e.call(null,n,0)}catch(t){return e.call(this,n,0)}}}!function(){try{e="function"==typeof setTimeout?setTimeout:u}catch(n){e=u}try{t="function"==typeof clearTimeout?clearTimeout:o}catch(n){t=o}}();var s=[],a=!1,l=-1;function f(){a&&r&&(a=!1,r.length?s=r.concat(s):l=-1,s.length&&d())}function d(){if(!a){var n=c(f);a=!0;for(var e=s.length;e;){for(r=s,s=[];++l<e;)r&&r[l].run();l=-1,e=s.length}r=null,a=!1,function(n){if(t===clearTimeout)return clearTimeout(n);if((t===o||!t)&&clearTimeout)return t=clearTimeout,clearTimeout(n);try{t(n)}catch(e){try{return t.call(null,n)}catch(e){return t.call(this,n)}}}(n)}}function p(n,e){this.fun=n,this.array=e}function g(){}i.nextTick=function(n){var e=Array(arguments.length-1);if(arguments.length>1)for(var t=1;t<arguments.length;t++)e[t-1]=arguments[t];s.push(new p(n,e)),1!==s.length||a||c(d)},p.prototype.run=function(){this.fun.apply(null,this.array)},i.title="browser",i.browser=!0,i.env={},i.argv=[],i.version="",i.versions={},i.on=g,i.addListener=g,i.once=g,i.off=g,i.removeListener=g,i.removeAllListeners=g,i.emit=g,i.prependListener=g,i.prependOnceListener=g,i.listeners=function(n){return[]},i.binding=function(n){throw Error("process.binding is not supported")},i.cwd=function(){return"/"},i.chdir=function(n){throw Error("process.chdir is not supported")},i.umask=function(){return 0}}},t={};function r(n){var i=t[n];if(void 0!==i)return i.exports;var u=t[n]={exports:{}},o=!0;try{e[n](u,u.exports,r),o=!1}finally{o&&delete t[n]}return u.exports}r.ab="//";var i=r(229);n.exports=i}()},220:function(n,e,t){/**
7 * @license React
8 * use-sync-external-store-shim/with-selector.production.min.js
9 *
10 * Copyright (c) Facebook, Inc. and its affiliates.
11 *
12 * This source code is licensed under the MIT license found in the
13 * LICENSE file in the root directory of this source tree.
14 */var r=t(64090),i=t(22362),u="function"==typeof Object.is?Object.is:function(n,e){return n===e&&(0!==n||1/n==1/e)||n!=n&&e!=e},o=i.useSyncExternalStore,c=r.useRef,s=r.useEffect,a=r.useMemo,l=r.useDebugValue;e.useSyncExternalStoreWithSelector=function(n,e,t,r,i){var f=c(null);if(null===f.current){var d={hasValue:!1,value:null};f.current=d}else d=f.current;
14var p=o(n,(f=a(function(){function n(n){if(!s){if(s=!0,o=n,n=r(n),void 0!==i&&d.hasValue){var e=d.value;if(i(e,n))return c=e}return c=n}if(e=c,u(o,n))return e;var t=r(n);return void 0!==i&&i(e,t)?e:(o=n,c=t)}var o,c,s=!1,a=void 0===t?null:t;return[function(){return n(e())},null===a?void 0:function(){return n(a())}]},[e,t,r,i]))[0],f[1]);return s(function(){d.hasValue=!0,d.value=p},[p]),l(p),p}},29292:function(n,e,t){n.exports=t(220)},22020:function(n,e,t){t.d(e,{Ue:function(){return d}});let r=n=>{let e;let t=new Set,r=(n,r)=>{let i="function"==typeof n?n(e):n;if(!Object.is(i,e)){let n=e;e=(null!=r?r:"object"!=typeof i||null===i)?i:Object.assign({},e,i),t.forEach(t=>t(e,n))}},i=()=>e,u={setState:r,getState:i,getInitialState:()=>o,subscribe:n=>(t.add(n),()=>t.delete(n)),destroy:()=>{console.warn("[DEPRECATED] The `destroy` method will be unsupported in a future version. Instead use unsubscribe function returned by subscribe. Everything will be garbage-collected if store is garbage-collected."),t.clear()}},o=e=n(r,i,u);return u},i=n=>n?r(n):r;var u=t(64090),o=t(29292);let{useDebugValue:c}=u,{useSyncExternalStoreWithSelector:s}=o,a=!1,l=n=>n,f=n=>{"function"!=typeof n&&console.warn("[DEPRECATED] Passing a vanilla store will be unsupported in a future version. Instead use `import { useStore } from 'zustand'`.");let e="function"==typeof n?i(n):n,t=(n,t)=>(function(n){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:l,t=arguments.length>2?arguments[2]:void 0;t&&!a&&(console.warn("[DEPRECATED] Use `createWithEqualityFn` instead of `create` or use `useStoreWithEqualityFn` instead of `useStore`. They can be imported from 'zustand/traditional'. https://github.com/pmndrs/zustand/discussions/1937"),a=!0);let r=s(n.subscribe,n.getState,n.getServerState||n.getInitialState,e,t);return c(r),r})(e,n,t);return Object.assign(t,e),t},d=n=>n?f(n):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.