PageSourceSearch

https://trybounty.ai/assets/landing-source-trust-row-BOKiEOpF.js

js trybounty.ai collected 2026-10-05 13:09:31 UTC 9,183 bytes, 3 lines download raw bytes

1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/engine-BJYHzaY0.js","assets/math3d-DIlSBYhs.js","assets/ripple-Z7T0EQZw.js","assets/renderer-QKxPhtRa.js","assets/color-DBHedESZ.js"])))=>i.map(i=>d[i]);
2(function(){try{var e=typeof window<`u`?window:typeof global<`u`?global:typeof globalThis<`u`?globalThis:typeof self<`u`?self:{},t=new e.Error().stack;t&&(e._posthogChunkIds=e._posthogChunkIds||{},e._posthogChunkIds[t]=`a19f0d32-bfe5-4e3e-bc34-c5d6edafb84c`)}catch{}})();import{r as e}from"./rolldown-runtime-Dp6oDxSW.js";import{n as t,t as n}from"./jsx-runtime-BN_2YB3D.js";import{r}from"./utils-Czoftbae.js";import{t as i}from"./preload-helper-Bzo1N_Nt.js";var a=e(t(),1);function o(e){return document.readyState===`complete`?(e(),()=>{}):(window.addEventListener(`load`,e,{once:!0}),()=>window.removeEventListener(`load`,e))}function s(e,t){if(window.requestIdleCallback){let n=window.requestIdleCallback(e,{timeout:t});return()=>window.cancelIdleCallback(n)}let n=window.setTimeout(e,200);return()=>window.clearTimeout(n)}function c(e,t=2e3){let n=()=>{},r=o(()=>{n=s(e,t)});return()=>{r(),n()}}function l(e,t,n){let r=()=>{},i=!1,a=[],o=e=>{i||(i=!0,a.forEach(e=>e.disconnect()),r=e?c(n):s(n,200))},l=new IntersectionObserver(([e])=>e.isIntersecting&&o(!0),{rootMargin:t}),u=new IntersectionObserver(([e])=>e.isIntersecting&&o(!1));return a.push(l,u),l.observe(e),u.observe(e),()=>{a.forEach(e=>e.disconnect()),r()}}var u=n(),d=`(prefers-reduced-motion: reduce)`,f=`(pointer: coarse)`,p=new Set([`Shift`,`Control`,`Alt`,`Meta`,`CapsLock`,`Tab`,`Escape`,`ArrowLeft`,`ArrowRight`,`ArrowUp`,`ArrowDown`]),m=140,h=1e3,g=110,_=6,v=500,y=[`a`,`button`,`input`,`textarea`,`select`,`iframe`,`video`,`audio`,`[role='button']`,`[contenteditable='true']`,`[data-hero-background-ignore]`].join(`,`),b=.12,x=()=>b+Math.random()*.76,S={shape:`cube`,rings:53,equatorCount:64,scale:1.92,dotSize:.003,hoverEnabled:!0,hoverInvert:!0,hoverRadius:(e=>e*Math.PI/180)(10),hoverMaxScale:2.6,hoverFalloffPower:.7,hoverEaseTime:.12,background:`transparent`,showCursor:!1,zoom:.6,animationMode:`click-ripple`,clickRippleSpeed:.7,clickRippleWidth:.22,clickRippleDecay:2.8,clickRippleAmplitude:1,clickRippleGeometryMode:`both`,rippleDisplaceScale:.0075,cameraDistance:500};function C(e,t){let n=Math.max(e,t),r=Math.max(1,Math.min(e,t)),i=n/(.92*S.scale*r);return Math.max(S.zoom,i*1.02)}var w=571,T=`(min-width: 960px)`;function E(e,t){let n=t.querySelector(`[data-hero-card-fan]`),r=n&&window.matchMedia(T).matches?Math.max(0,w-n.getBoundingClientRect().height):0;return C(e.clientWidth,e.clientHeight+r)}function D(e){return e instanceof Element&&e.closest(y)!==null}function O({interactionMode:e=`canvas`}={}){let t=(0,a.useRef)(null);return(0,a.useEffect)(()=>{let n=t.current;if(!n||window.matchMedia(d).matches)return;let r=document.getElementById(`hero`);if(!r)return;let a=window.matchMedia(f).matches||window.matchMedia(`(max-width: 640px)`).matches,o=!1,s=0,l=null,u=async()=>{let t;try{t=await Promise.all([i(()=>import(`./engine-BJYHzaY0.js`),__vite__mapDeps([0,1,2,3,4])),i(()=>import(`./ripple-Z7T0EQZw.js`),__vite__mapDeps([2,1])),i(()=>import(`./renderer-QKxPhtRa.js`),__vite__mapDeps([3,1,4,2]))])}catch{return}if(o)return;let[c,u,d]=t,f=c?.SphereLab,y=u?.spawnRipple,b=d?.pickSurface;if(typeof f!=`function`||typeof y!=`function`||typeof b!=`function`)return;let C;try{C=new f(n,{...S,autoRotate:!0,maxDpr:a?1:2,maxFps:a?30:60,rings:a?38:S.rings,equatorCount:a?48:S.equatorCount,opacity:0,zoom:E(n,r)})}catch{return}let w=0,T=0,O=e=>{if(o)return;w+=e-T,T=e;let t=Math.min(1,w/h);C.setConfig({opacity:t*t*(3-2*t)}),s=t<1?requestAnimationFrame(O):0},k=()=>{s&&=(cancelAnimationFrame(s),0)},A=()=>{s||w>=h||(T=performance.now(),s=requestAnimationFrame(O))};A(),C._h?.wheel&&n.removeEventListener(`wheel`,C._h.wheel);let j=null,M=()=>{j=null},N=e=>{if(D(e.target)){C._h.leave();return}C._h.move(e)},P=e=>{if(!e.isPrimary||e.button!==0||D(e.target)){M();return}C._h.move(e),j={pointerId:e.pointerId,clientX:e.clientX,clientY:e.clientY,startedAt:performance.now()}},F=e=>{let t=j;if(M(),!t||e.pointerId!==t.pointerId||D(e.target)||!C._cam||Math.hypot(e.clientX-t.clientX,e.clientY-t.clientY)>_||performance.now()-t.startedAt>v)return;let r=n.getBoundingClientRect(),i=b(e.clientX-r.left,e.clientY-r.top,C.config,C._cam,{alwaysProject:!0});i&&y(C.ripples,i,{speed:C.config.clickRippleSpeed,width:C.config.clickRippleWidth,amplitude:C.config.clickRippleAmplitude,decay:C.config.clickRippleDecay})};e===`host-observe`&&(n.removeEventListener(`pointerdown`,C._h.down),n.removeEventListener(`pointermove`,C._h.move),n.removeEventListener(`pointerleave`,C._h.leave),r.addEventListener(`pointerdown`,P),r.addEventListener(`pointermove`,N),r.addEventListener(`pointerleave`,C._h.leave),window.addEventListener(`pointerup`,F),window.addEventListener(`pointercancel`,M),window.addEventListener(`blur`,M)),C._ro?.disconnect();let I=0,L=()=>{C.resize(),C.setConfig({zoom:E(n,r)})},R=new ResizeObserver(()=>{window.clearTimeout(I),I=window.setTimeout(L,m)});R.observe(n);let z=!1,B=!1,V=!1,H=!1,U=0,W=0,G=e=>{if(e.metaKey||e.ctrlKey||p.has(e.key)||!C._cam)return;let t=e.timeStamp||performance.now();if(t-W<g)return;W=t;let n=b(C.width*x(),C.height*x(),C.config,C._cam,{alwaysProject:!0});n&&y(C.ripples,n,{speed:C.config.clickRippleSpeed,width:C.config.clickRippleWidth,amplitude:C.config.clickRippleAmplitude,decay:C.config.clickRippleDecay})},K=()=>{let e=z&&B;
2e!==V&&(V=e,e?window.addEventListener(`keydown`,G):window.removeEventListener(`keydown`,G))},q=()=>{z&&!H?(C.resume(),A()):(C.pause(),k())},J=()=>{H=!0,q(),U&&window.clearTimeout(U),U=window.setTimeout(()=>{H=!1,U=0,q()},160)},Y=new IntersectionObserver(([e])=>{z=e.isIntersecting,q(),K()},{threshold:0});Y.observe(r),a&&window.addEventListener(`scroll`,J,{passive:!0});let X=()=>{B=!0,K()},Z=()=>{B=!1,K()},Q=document.querySelector(`#hero-prompt textarea`);Q?.addEventListener(`focus`,X),Q?.addEventListener(`blur`,Z),l=()=>{cancelAnimationFrame(s),window.clearTimeout(I),U&&window.clearTimeout(U),R.disconnect(),Y.disconnect(),a&&window.removeEventListener(`scroll`,J),Q?.removeEventListener(`focus`,X),Q?.removeEventListener(`blur`,Z),e===`host-observe`&&(r.removeEventListener(`pointerdown`,P),r.removeEventListener(`pointermove`,N),r.removeEventListener(`pointerleave`,C._h.leave),window.removeEventListener(`pointerup`,F),window.removeEventListener(`pointercancel`,M),window.removeEventListener(`blur`,M)),window.removeEventListener(`keydown`,G),C.destroy(),C.ctx.save(),C.ctx.setTransform(1,0,0,1,0,0),C.ctx.clearRect(0,0,n.width,n.height),C.ctx.restore()}},y=c(()=>void u());return()=>{o=!0,y(),cancelAnimationFrame(s),l?.()}},[e]),(0,u.jsx)(`canvas`,{ref:t,"aria-hidden":!0,"data-hero-cube":!0,className:`absolute inset-0 -z-20 block h-full w-full [mask-image:linear-gradient(to_bottom,#000_0%,#000_74%,transparent_97%)]`})}var k=r(),A=`/brand/landing/avatar-1.webp`,j=`/brand/landing/avatar-2.webp`,M=`/brand/landing/avatar-3.webp`,N=`/brand/landing/avatar-4.webp`,P=`/brand/landing/avatar-5.webp`,F=`/brand/landing/backed-by-a16z-speedrun.svg`,I=`/brand/landing/spot-sparkle.svg`,L=[{src:A,bg:`bg-avatar-rose`},{src:j,bg:`bg-avatar-silver`},{src:M,bg:`bg-avatar-amber`},{src:N,bg:`bg-avatar-sand`},{src:P,bg:`bg-avatar-mist`}];function R(e){let t=(0,k.c)(9),{variant:n}=e,r=(n===void 0?`users`:n)===`early-teams`?`Trusted by early teams`:`Trusted by 10k+ early users`,i;t[0]===r?i=t[1]:(i=(0,u.jsx)(`p`,{className:`text-body-5 text-foreground whitespace-nowrap text-center md:text-left`,children:r}),t[0]=r,t[1]=i);let a;t[2]===Symbol.for(`react.memo_cache_sentinel`)?(a=(0,u.jsxs)(`div`,{className:`flex items-center`,children:[L.map(z),(0,u.jsx)(`img`,{src:I,alt:``,width:30,height:30,"aria-hidden":!0,className:`relative -mr-[3px] -ml-[12px] h-auto w-6 shrink-0 md:-mr-[4px] md:-ml-[15px] md:w-[30px]`})]}),t[2]=a):a=t[2];let o;t[3]===i?o=t[4]:(o=(0,u.jsxs)(`div`,{className:`flex min-h-6 items-center justify-center gap-2 rounded-md md:min-h-8 md:gap-3`,children:[i,a]}),t[3]=i,t[4]=o);let s;t[5]===Symbol.for(`react.memo_cache_sentinel`)?(s=(0,u.jsx)(`p`,{className:`text-body-5 text-foreground`,children:`Backed by`}),t[5]=s):s=t[5];let c;t[6]===Symbol.for(`react.memo_cache_sentinel`)?(c=(0,u.jsxs)(`div`,{className:`flex items-center gap-1.5`,children:[s,(0,u.jsx)(`span`,{role:`img`,"aria-label":`Backed by a16z speedrun`,className:`bg-foreground relative top-[2px] block h-5 w-34.5 mask-(--backed-by-mask) mask-contain mask-no-repeat`,style:{"--backed-by-mask":`url(${F})`}})]}),t[6]=c):c=t[6];let l;return t[7]===o?l=t[8]:(l=(0,u.jsxs)(`div`,{"data-landing-trust-row":!0,className:`flex flex-col items-center gap-1 md:flex-row md:gap-6`,children:[o,c]}),t[7]=o,t[8]=l),l}function z(e,t){let{src:n,bg:r}=e;return(0,u.jsx)(`span`,{className:`border-surface relative block size-6 shrink-0 overflow-hidden rounded-full border-2 md:size-8 md:border-3 ${r} ${t>0?`-ml-[9px] md:-ml-3`:``}`,children:(0,u.jsx)(`img`,{src:n,alt:``,"data-fill":!0,sizes:`(min-width: 768px) 32px, 24px`,"aria-hidden":!0,className:`object-cover`})},n)}export{O as n,l as r,R as t};
3//# chunkId=a19f0d32-bfe5-4e3e-bc34-c5d6edafb84c

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.