PageSourceSearch

https://connect.com/_next/static/immutable/chunks/1ks-l-m5h9qpu.js

js connect.com collected 2026-09-24 18:56:45 UTC 11,625 bytes, 8 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,155913,29620,e=>{"use strict";var t=e.i(843476),r=e.i(230726),n=e.i(271645),i=e.i(835362),s=e.i(676461),o=e.i(439563),a=e.i(412570),l=e.i(342498),u=e.i(75456);let c="youspot:pending-prompt",d="youspot:pending-prompt-source";function g(){try{return!!sessionStorage.getItem(c)}catch{return!1}}e.s(["hasPendingPrompt",0,g,"setPendingPrompt",0,function(e,t="landing_replay"){sessionStorage.setItem(c,e),sessionStorage.setItem(d,t),(0,l.rememberSignedUpViaChat)()},"takePendingPrompt",0,function(){let e=sessionStorage.getItem(c);if(!e)return null;let t=(0,u.parsePromptSource)(sessionStorage.getItem(d))??"landing_replay";return sessionStorage.removeItem(c),sessionStorage.removeItem(d),{text:e,source:t}}],29620);var p=e.i(841702),f=e.i(148810);let S=e=>new Promise(t=>setTimeout(t,e)),m=[1e3,2e3,4e3,8e3,15e3,3e4,3e4,6e4,6e4,6e4];function h(){let{isLoaded:e,isSignedIn:r}=(0,i.useAuth)(),{user:l}=(0,s.useUser)(),u=(0,n.useRef)(!1),c=(0,n.useRef)(!1),d=(0,n.useRef)(!1),[h,y]=(0,n.useState)(null),w=(0,f.useSessionStore)(e=>e.setClerkSync);return((0,n.useEffect)(()=>{if(!(!e||(d.current=!1,w({clerkSignedIn:!!r,syncing:!1,syncFailed:!!r&&void 0,syncOwed:!1}),"1"===window.localStorage.getItem("impersonating")||p.DEV_SESSION.present()))){if(!r){let e=p.AUTH_HINT.present()||!!window.localStorage.getItem("user_token");if(e&&c.current){window.localStorage.removeItem("user_token"),window.localStorage.removeItem("user_email"),fetch("/api/auth/session",{method:"DELETE"}).catch(()=>{}),window.dispatchEvent(new CustomEvent("agentai-clear-auth"));return}e&&f.useSessionStore.getState().refresh({background:!0});return}if(c.current=!0,l?.id&&!u.current){if(p.AUTH_HINT.present()){"1"===window.localStorage.getItem("agentai_logged_out")&&(window.localStorage.removeItem("agentai_logged_out"),window.dispatchEvent(new CustomEvent("agentai-auth-updated")));return}return u.current=!0,w({clerkSignedIn:!0,syncing:!0,syncFailed:!1,syncOwed:!0,syncSlow:!1}),(async()=>{try{for(let e=0;;e++){if(d.current)return;let t=null;try{t=await fetch("/api/auth/session",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({entry_source:(0,o.getEntrySource)(),signed_up_via_chat:g(),signup_source_url:(0,a.getSignupSourceUrl)()})})}catch{}if(t?.ok){window.localStorage.removeItem("agentai_logged_out"),y(null),w({clerkSignedIn:!0,syncing:!1,syncFailed:!1,syncSlow:!1}),window.dispatchEvent(new CustomEvent("agentai-auth-updated"));return}if(t&&t.status<500){console.warn(`[auth] session exchange failed with status ${t.status}`),w({clerkSignedIn:!0,syncing:!1,syncFailed:!0}),y(`You're signed in, but completing sign-in failed (status ${t.status}). Try reloading.`);return}if(e>=m.length){console.warn("[auth] session exchange still failing after retries"),w({clerkSignedIn:!0,syncing:!1,syncFailed:!0}),y("You're signed in, but the backend isn't responding (it may be down) — the app will show you as signed out until it's back.");return}e>=3&&(w({clerkSignedIn:!0,syncing:!0,syncSlow:!0}),y("You're signed in — reconnecting to the backend. The app may show you as signed out until it answers.")),await S(m[e])}}finally{u.current=!1,w({clerkSignedIn:!0,syncing:!1,syncOwed:!1})}})(),()=>{d.current=!0}}}},[e,r,l?.id,w]),h)?(0,t.jsxs)("div",{role:"alert",style:{position:"fixed",bottom:24,left:"50%",transform:"translateX(-50%)",zIndex:1e3,maxWidth:440,width:"calc(100% - 40px)",display:"flex",alignItems:"flex-start",gap:10,background:"#3A0B24",color:"#F7EFE9",borderRadius:12,padding:"13px 16px",fontSize:14,lineHeight:1.45,boxShadow:"0 16px 40px -12px rgba(20,20,19,.5)"},children:[(0,t.jsx)("span",{style:{flexShrink:0,marginTop:1},children:"⚠️"}),(0,t.jsx)("span",{style:{flex:1},children:h}),(0,t.jsx)("button",{type:"button","aria-label":"Dismiss",onClick:()=>y(null),style:{flexShrink:0,background:"none",border:"none",color:"rgba(250,249,245,.6)",cursor:"pointer",fontSize:16,lineHeight:1,padding:"2px 2px"},children:"×"})]}):null}e.s(["default",0,function(){return"clerk"===(0,r.useAuthMode)()?(0,t.jsx)(h,{}):null}],155913)},940857,e=>{"use strict";var t=e.i(271645),r=e.i(618566),n=e.i(71105);let i={g:"/graph",c:"/chat",f:"/feed"};e.s(["default",0,function(){let e=(0,r.useRouter)(),s=(0,t.useRef)(0);return(0,t.useEffect)(()=>{let t=t=>{if(t.metaKey||t.ctrlKey||t.altKey||t.defaultPrevented||t.isComposing||(0,n.isTyping)(t))return;let r=Date.now()<s.current;if(r&&i[t.key]){s.current=0,t.preventDefault(),e.push(i[t.key]);return}let o=r?(0,n.goSequence)(t.key):void 0;if(o){s.current=0,t.preventDefault(),o();return}s.current="g"!==t.key||r?0:Date.now()+800};return window.addEventListener("keydown",t),()=>window.removeEventListener("keydown",t)},[e]),null}])},391021,e=>{"use strict";var t=e.i(843476),r=e.i(728864);e.s(["default",0,function(){let{active:e,email:n}=(0,r.useImpersonation)();return e?(0,t.jsxs)("div",{className:"impersonation-bar",children:[(0,t.jsx)("style",{children:`
2        .impersonation-bar{display:flex; align-items:center; justify-content:center; gap:14px;
3          flex-wrap:wrap; background:#B45309; color:#FFF7ED; font-size:13px; font-weight:600;
4          padding:7px 16px; position:sticky; top:0; z-index:40; text-align:center}
5        .impersonation-bar button{background:rgba(255,255,255,.16); border:1px solid rgba(255,255,255,.35);
6          color:#FFF7ED; font:inherit; font-size:12px; padding:3px 10px; border-radius:6px; cursor:pointer}
7        .impersonation-bar button:hover{background:rgba(255,255,255,.28)}
8      `}),(0,t.jsxs)("span",{children:["Viewing as ",(0,t.jsx)("strong",{children:n||"another user"})," — not your own account"]}),(0,t.jsx)("button",{type:"button",onClick:()=>(0,r.stopImpersonating)(),children:"Stop impersonating"})]}):null}])},598830,e=>{"use strict";var t=e.i(843476);e.i(513036);var r=e.i(580339);e.s(["default",0,function({items:e}){return(0,t.jsx)("div",{className:"w-full max-w-[560px]",children:(0,t.jsx)(r.AttentionList,{items:e,richness:"rich",readiness:"ready",actionVariant:"tertiary",provenanceAs:"chip",hrefFor:()=>"/sign-up",link:({href:e,className:r,children:n,...i})=>(0,t.jsx)("a",{href:e,className:r,...i,children:n})})})}])},843350,e=>{"use strict";var t=e.i(843476),r=e.i(618566),n=e.i(587728),i=e.i(825241),s=e.i(522016),o=e.i(312463);e.i(513036);var a=e.i(626788),l=e.i(578380);let u=[{title:"Product",links:l.FOOTER_PRODUCT_LINKS},{title:"Company",links:[l.DOCS_LINK,{label:"Brand",href:"/brand"},{label:"Security",href:"/security"}]},{title:"Legal",links:[{label:"Privacy",href:"/privacy"},{label:"Terms",href:"/terms"},{label:"SMS terms",href:"/terms/sms"}]}];function c({footerText:e}){return(0,t.jsx)(a.SiteFooter,{groups:u,link:s.default,credit:e??(0,t.jsxs)("span",{className:"inline-flex items-center gap-1.5 whitespace-nowrap",children:["Made with",(0,t.jsx)(o.Heart,{size:13,fill:"
8currentColor",strokeWidth:0,"aria-label":"love",className:"text-primary"}),"by HubSpot Next."]}),copyright:`\xa9 ${new Date().getFullYear()} YouSpot`})}e.s(["default",0,function({children:e,showFooter:s=!0,footerText:o,title:a,parents:u,onParentNavigate:d,headed:g}){(0,i.useSetPageTitle)(a,u,g,d);let p=(0,n.useShellMounted)(),f=(0,l.isPublicPage)((0,r.usePathname)()),S=p&&!f;return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("main",{className:"connect-main flex-1",style:S?{"--page-measure":"var(--w-wide)"}:void 0,children:e}),s&&(!p||f)&&(0,t.jsx)(c,{footerText:o})]})}],843350)},71105,e=>{"use strict";var t=e.i(271645);let r=["textbox","combobox","searchbox"];function n(e){if(!(e instanceof Element))return!1;let t=e.tagName;return"INPUT"===t||"TEXTAREA"===t||"SELECT"===t||e.isContentEditable||r.includes(e.getAttribute("role")||"")||t.includes("-")}let i=new Map;e.s(["goSequence",0,function(e){return i.get(e)},"isTyping",0,function(e){let t=e.composedPath()[0],r=document.activeElement;for(;r?.shadowRoot?.activeElement;)r=r.shadowRoot.activeElement;return n(t)||n(r)},"useGoSequence",0,function(e,r){(0,t.useEffect)(()=>{if(r)return i.set(e,r),()=>{i.get(e)===r&&i.delete(e)}},[e,r])}])},312463,e=>{"use strict";let t=(0,e.i(235884).default)("heart",[["path",{d:"M2 9.5a5.5 5.5 0 0 1 9.591-3.676.56.56 0 0 0 .818 0A5.49 5.49 0 0 1 22 9.5c0 2.29-1.5 4-3 5.5l-5.492 5.313a2 2 0 0 1-3 .019L5 15c-1.5-1.5-3-3.2-3-5.5",key:"mvr1a0"}]]);e.s(["Heart",0,t],312463)},624006,e=>{"use strict";var t=e.i(843476),r=e.i(271645),n=e.i(231178);let i=(0,r.createContext)(null);var s=e.i(287022),o=e.i(674008);let a=e=>!e.isLayoutDirty&&e.willUpdate(!1);e.s(["LayoutGroup",0,({children:e,id:l,inherit:u=!0})=>{let c=(0,r.useContext)(n.LayoutGroupContext),d=(0,r.useContext)(i),[g,p]=function(){let e,t=(e=(0,r.useRef)(!1),(0,o.useIsomorphicLayoutEffect)(()=>(e.current=!0,()=>{e.current=!1}),[]),e),[n,i]=(0,r.useState)(0),a=(0,r.useCallback)(()=>{t.current&&i(n+1)},[n]);return[(0,r.useCallback)(()=>s.frame.postRender(a),[a]),n]}(),f=(0,r.useRef)(null),S=c.id||d;if(null===f.current){let e,t,r,n;(!0==(!0===(n=u))||"id"===n)&&S&&(l=l?S+"-"+l:S),f.current={id:l,group:!0===u&&c.group||(e=new Set,t=new WeakMap,{add:n=>{e.add(n),t.set(n,n.addEventListener("willUpdate",r))},remove:n=>{e.delete(n);let i=t.get(n);i&&(i(),t.delete(n)),r()},dirty:r=()=>e.forEach(a)})}}let m=(0,r.useMemo)(()=>({...f.current,forceRender:g}),[p]);return(0,t.jsx)(n.LayoutGroupContext.Provider,{value:m,children:e})}],624006)},852920,e=>{"use strict";var t=e.i(47675),r=e.i(439840);e.s(["BRAND_KIT_COLOR_LABELS",()=>r.BRAND_KIT_COLOR_LABELS,"BrandKitSwatchContent",()=>t.BrandKitSwatchContent,"BrandKitSwatches",()=>t.BrandKitSwatches])},919128,e=>{"use strict";var t=e.i(607619),r=e.i(207487),n=e.i(758282);e.s(["Dialog",()=>t.Dialog,"DialogTrigger",()=>r.DialogTrigger,"Heading",()=>n.Heading])},835540,e=>{"use strict";var t=e.i(777474),r=e.i(423892);e.s(["InputOTP",()=>t.InputOTP,"InputOTPGroup",()=>t.InputOTPGroup,"InputOTPSeparator",()=>t.InputOTPSeparator,"InputOTPSlot",()=>t.InputOTPSlot,"REGEXP_ONLY_DIGITS",()=>r.REGEXP_ONLY_DIGITS,"REGEXP_ONLY_DIGITS_AND_CHARS",()=>r.REGEXP_ONLY_DIGITS_AND_CHARS])},246816,e=>{"use strict";var t=e.i(942),r=e.i(914123);e.s(["MessageScroller",()=>t.MessageScroller,"MessageScrollerButton",()=>t.MessageScrollerButton,"MessageScrollerContent",()=>t.MessageScrollerContent,"MessageScrollerItem",()=>t.MessageScrollerItem,"MessageScrollerProvider",()=>t.MessageScrollerProvider,"MessageScrollerViewport",()=>t.MessageScrollerViewport,"useMessageScroller",()=>r.useMessageScroller,"useMessageScrollerScrollable",()=>r.useMessageScrollerScrollable,"useMessageScrollerVisibility",()=>r.useMessageScrollerVisibility])},489535,e=>{"use strict";e.s([],559434),e.i(559434);var t=e.i(363499);e.s(["RouterProvider",()=>t.RouterProvider],489535)},41368,e=>{"use strict";var t=e.i(249472),r=e.i(299875),n=e.i(562918);e.s(["Focusable",()=>n.Focusable,"Tooltip",()=>t.Tooltip,"TooltipTrigger",()=>r.TooltipTrigger])},314953,e=>{"use strict";var t=e.i(751378),r=e.i(761182);e.s(["OTHER_OPTION",()=>r.OTHER_OPTION,"askOptions",()=>r.askOptions,"askUserEntry",()=>t.askUserEntry])},587068,e=>{"use strict";var t=e.i(221026),r=e.i(88653),n=e.i(624006),i=e.i(63209),s=e.i(532181),o=e.i(772328);e.s(["AnimatePresence",()=>r.AnimatePresence,"LayoutGroup",()=>n.LayoutGroup,"MotionConfig",()=>i.MotionConfig,"cardEnter",()=>t.cardEnter,"durations",()=>t.durations,"easings",()=>t.easings,"fadeRise",()=>t.fadeRise,"listStagger",()=>t.listStagger,"motion",()=>s.motion,"readMotionToken",()=>t.readMotionToken,"scaleIn",()=>t.scaleIn,"springs",()=>t.springs,"useReducedMotion",()=>o.useReducedMotion])}]);

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.