PageSourceSearch

https://careersy.ai/assets/useIsMobile-TcKudwgt.js

js careersy.ai collected 2026-10-05 13:49:31 UTC 3,161 bytes, 1 lines download raw bytes

1import{r as l,j as f}from"./chunk-BV7QT456-CqsSJlPS.js";import{b as F}from"./Footer-Bla5xmDa.js";import{m as O}from"./rainbow-button-BQR5sLNI.js";function k(c,s){const i=-35+Math.random()*10;return{x:Math.random()*c*1.5-c*.25,y:Math.random()*s*1.5-s*.25,width:30+Math.random()*60,length:s*2.5,angle:i,speed:.6+Math.random()*1.2,opacity:.12+Math.random()*.16,hue:150+Math.random()*35,pulse:Math.random()*Math.PI*2,pulseSpeed:.02+Math.random()*.03}}function q({className:c,intensity:s="medium",children:i,baseColor:d="var(--beams-base)",beamSaturation:v=62,beamLightness:g=46,lite:h=!1}){const y=l.useRef(null),m=l.useRef([]),x=l.useRef(0),I=20,L={subtle:.6,medium:.8,strong:1};return l.useEffect(()=>{const n=y.current;if(!n)return;const u=n.getContext("2d");if(!u)return;const w=()=>{const t=window.devicePixelRatio||1;n.width=window.innerWidth*t,n.height=window.innerHeight*t,n.style.width=`${window.innerWidth}px`,n.style.height=`${window.innerHeight}px`,u.scale(t,t);const e=Math.round(h?I*.5:I*1.5);m.current=Array.from({length:e},()=>k(n.width,n.height))};w(),window.addEventListener("resize",w);let p=!1,E=!0;function C(t,e,a){if(!n)return t;const o=e%3,r=n.width/3;return t.y=n.height+100,t.x=o*r+r/2+(Math.random()-.5)*r*.5,t.width=100+Math.random()*100,t.speed=.5+Math.random()*.4,t.hue=150+e*35/a,t.opacity=.18+Math.random()*.1,t}function N(t,e){t.save(),t.translate(e.x,e.y),t.rotate(e.angle*Math.PI/180);const a=e.opacity*(.8+Math.sin(e.pulse)*.2)*L[s],o=t.createLinearGradient(0,0,0,e.length),r=$=>`hsla(${e.hue}, ${v}%, ${g}%, ${$})`;o.addColorStop(0,r(0)),o.addColorStop(.1,r(a*.5)),o.addColorStop(.4,r(a)),o.addColorStop(.6,r(a)),o.addColorStop(.9,r(a*.5)),o.addColorStop(1,r(0)),t.fillStyle=o,t.fillRect(-e.width/2,0,e.width,e.length),t.restore()}function S(){if(!n||!u)return;u.clearRect(0,0,n.width,n.height),u.filter=h?"blur(18px)":"blur(35px)";const t=m.current.length;m.current.forEach((e,a)=>{e.y-=e.speed,e.pulse+=e.pulseSpeed,e.y+e.length<-100&&C(e,a,t),N(u,e)}),p&&(x.current=requestAnimationFrame(S))}function j(){p||(p=!0,S())}function R(){p=!1,cancelAnimationFrame(x.current)}const M=()=>{E&&document.visibilityState==="visible"?j():R()},B=new IntersectionObserver(([t])=>{E=t.isIntersecting,M()},{threshold:0});return B.observe(n),document.addEventListener("visibilitychange",M),()=>{window.removeEventListener("resize",w),document.removeEventListener("visibilitychange",M),B.disconnect(),R()}},[s,d,v,g,h]),f.jsxs("div",{className:F("relative min-h-screen w-full overflow-hidden",c),style:{backgroundColor:d},children:[f.jsx("canvas",{ref:y,className:"absolute inset-0",style:{filter:h?"blur(8px)":"blur(15px)"}}),!h&&f.jsx(O.div,{className:"absolute inset-0",animate:{opacity:[.05,.15,.05]},transition:{duration:10,ease:"easeInOut",repeat:Number.POSITIVE_INFINITY},style:{backgroundColor:d,backdropFilter:"blur(50px)"}}),i&&f.jsx("div",{className:"relative z-10",children:i})]})}const z="(max-width: 767px)";function H(){const[c,s]=l.useState(!1);return l.useEffect(()=>{const i=window.matchMedia(z),d=()=>s(i.matches);return d(),i.addEventListener("change",d),()=>i.removeEventListener("change",d)},[]),c}export{q as B,H as u};

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.