PageSourceSearch

https://currents.dev/_next/static/chunks/5289.bc07b02cfd7d5052.js

js currents.dev collected 2026-09-25 20:50:08 UTC 4,442 bytes, 7 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5289],{25289:(e,t,s)=>{s.r(t),s.d(t,{default:()=>N});var i=s(37876),r=s(24628),n=s(93993),a=s(92526),h=s(11221),l=s(84319),d=s(79834),c=s(96959),m=s(67239),x=s(65775),o=s(30382),u=s(76020),w=s(16155);let f=()=>`
2relative
3flex
4justify-center
5w-[168px]
6md:mx-8
7mx-4`;function j(){return(0,i.jsxs)("div",{className:"logoContainer",children:[(0,i.jsx)("div",{className:"text-dark-700 font-medium text-sm text-center pt-8 mb-1",children:"These teams chose Playwright and trust Currents to run it at scale"}),(0,i.jsxs)(n.A,{gradient:!1,speed:30,children:[(0,i.jsx)("div",{className:f(),children:(0,i.jsx)(l.A,{width:160,height:90})}),(0,i.jsx)("div",{className:f(),children:(0,i.jsx)(a.A,{width:160,height:33})}),(0,i.jsx)("div",{className:f(),children:(0,i.jsx)(h.A,{width:160,height:60})}),(0,i.jsx)("div",{className:f(),children:(0,i.jsx)(x.A,{width:166,height:28})}),(0,i.jsx)("div",{className:f(),children:(0,i.jsx)(o.A,{width:160,height:90})}),(0,i.jsx)("div",{className:f(),children:(0,i.jsx)(m.A,{width:160,height:90})}),(0,i.jsx)("div",{className:f(),children:(0,i.jsx)(c.A,{width:160,height:90})}),(0,i.jsx)("div",{className:f(),children:(0,i.jsx)(u.A,{width:160,height:90})}),(0,i.jsx)("div",{className:f(),children:(0,i.jsx)(d.A,{width:160,height:90})}),(0,i.jsx)("div",{className:f(),children:(0,i.jsx)(w.A,{width:160,height:90})})]})]})}var g=s(14232);function v(){let e=(0,g.useRef)(null),t=(0,g.useRef)(null),[s,r]=(0,g.useState)({width:0,height:0}),n=(0,g.useRef)({x:0,y:0}),a=(0,g.useRef)(null);(0,g.useEffect)(()=>{let e=()=>{r({width:window.innerWidth,height:window.innerHeight})};return e(),window.addEventListener("resize",e),()=>{window.removeEventListener("resize",e)}},[]),(0,g.useEffect)(()=>{let e=e=>{n.current={x:e.clientX,y:e.clientY}};return document.addEventListener("mousemove",e),()=>{document.removeEventListener("mousemove",e)}},[]);let h=()=>{if(!e.current)return;let t=e.current.getContext("2d");if(!t)return;t.clearRect(0,0,s.width,s.height);let{x:i,y:r}=n.current,a=Math.ceil(s.width/30)+1,h=Math.ceil(s.height/30)+1;for(let e=0;e<=a;e++)for(let s=0;s<=h;s++){let n=30*e,a=30*s,h=i-n,l=r-a,d=Math.sqrt(h*h+l*l);if(d<15)continue;let c=Math.atan2(l,h);t.beginPath(),t.moveTo(n,a),t.lineTo(n+10*Math.cos(c),a+10*Math.sin(c));let m=Math.min(1,100/d);t.strokeStyle=`rgba(52, 211, 153, ${.8*m})`,t.lineWidth=1,t.stroke()}},l=()=>{h(),a.current=requestAnimationFrame(l)};return(0,g.useEffect)(()=>{a.current=requestAnimationFrame(l);let t=()=>{e.current&&h()};return window.addEventListener("resize",t),()=>{window.removeEventListener("resize",t),a.current&&cancelAnimationFrame(a.current)}},[s]),(0,i.jsx)("div",{ref:t,className:"absolute inset-0 z-[-1]  opacity-50",children:(0,i.jsx)("canvas",{ref:e,width:s.width,height:s.height,className:"absolute inset-0"})})}function N(){return(0,i.jsxs)("section",{className:" relative overflow-hidden min-h-[100vh] grid grid-cols-1 grid-rows-[1fr,100px] border-b border-dark-100 ",children:[(0,i.jsx)(v,{}),(0,i.jsx)("div",{className:"mt-[var(--header-height)] flex items-center justify-center",children:(0,i.jsxs)("div",{className:"px-10 my-12 md:my-0",children:[(0,i.jsxs)("div",{className:"max-w-[1327px]",children:[(0,i.jsx)("h1",{className:" font-bold tracking-tighter text-h1phone  md:text-h1  text-center text-transparent  lg:text-center subpixel-antialiased bg-clip-text drop-shadow-sm ",children:(0,i.jsx)("span",{className:" bg-clip-text bg-gradient-to-t from-teal-300 to-emerald-400 text-shadow text-center ",children:"We moved on from Cypress. Why haven't you?"})}),(0,i.jsx)("h2",{className:"mt-4 text-white font-bold tracking-tighter text-h2phone md:text-h2 text-center  max-w-6xl mx-auto mb-6 md:mb-16",children:(0,i.jsx)("span",{className:"md:block text-white",children:"The best teams are switching to Playwright. Currents is how they run it at scale."})})]}),(0,i.jsx)("div",{children:(0,i.jsx)("div",{className:"flex flex-col justify-center items-center",children:(0,i.jsxs)("div",{className:"flex lg:flex-row flex-col justify-center items-center gap-4",children:[(0,i.jsx)(r.default,{medium:!0,link:"#why",target:"_self",variant:"secondary",children:"See why teams switch to Playwright"}),(0,i.jsx)(r.default,{medium:!0,link:"/",target:"_self",children:"I'm on Playwright — show me Currents"})]})})})]})}),(0,i.jsx)("div",{className:"self-end",children:(0,i.jsx)(j,{})})]})}}}]);

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.