PageSourceSearch

https://www.edustoke.com/_next/static/chunks/4918.ae39f015582be7eb.js

js edustoke.com collected 2026-10-02 12:39:29 UTC 5,335 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4918],{94918:(e,t,s)=>{s.r(t),s.d(t,{default:()=>r});var a=s(95155),l=s(32196),i=s(12115),x=s(15239);let n=e=>{let{target:t,duration:s=2e3,suffix:l="",prefix:x="",isVisible:n}=e,[r,d]=(0,i.useState)(0);return(0,i.useEffect)(()=>{let e;if(!n)return void d(0);let a=null,l=i=>{a||(a=i);let x=Math.min((i-a)/s,1);d(Math.floor(t*(1-Math.pow(1-x,3)))),x<1&&(e=requestAnimationFrame(l))};return e=requestAnimationFrame(l),()=>cancelAnimationFrame(e)},[n,t,s]),(0,a.jsxs)("span",{children:[x,(e=>e>=1e6?(e/1e6).toFixed(e>=1e7?0:1)+"M":e>=1e3?(e/1e3).toFixed(0)+"K":e.toLocaleString())(r),l]})},r=()=>{let[e,t]=(0,i.useState)("green"),[s,r]=(0,i.useState)(!1),d=(0,i.useRef)(null),{t:o}=(0,l.B)();return(0,i.useEffect)(()=>{let e=new IntersectionObserver(e=>{let[t]=e;t.isIntersecting?setTimeout(()=>r(!0),300):r(!1)},{threshold:.3,rootMargin:"0px 0px -50px 0px"});return d.current&&e.observe(d.current),()=>{d.current&&e.unobserve(d.current)}},[]),(0,a.jsxs)("div",{ref:d,className:"w-full max-w-[1400px] mx-auto p-3 px-4 sm:px-6 lg:px-8 xl:px-12 py-6 sm:py-[60px] lg:py-[80px] max-sm:bg-[#F5F5F5]",children:[(0,a.jsxs)("div",{className:"hidden md:flex gap-2 sm:gap-3 lg:gap-4 items-center",children:[(0,a.jsxs)("div",{className:"flex-1 h-[400px] lg:h-[500px] xl:h-[600px] relative",children:[(0,a.jsx)(x.default,{src:"/frame 1055.webp",width:100,height:100,alt:"parents",className:"w-full h-full object-cover rounded-md"}),(0,a.jsxs)("div",{className:"absolute top-4 left-4 bg-white/90 backdrop-blur-sm px-4 py-2 rounded-lg shadow-md transition-all duration-1000 ".concat(s?"translate-y-0 opacity-100":"translate-y-10 opacity-0"),children:[(0,a.jsxs)("p",{className:"font-semibold leading-none tracking-tight whitespace-nowrap text-gray-800 text-[32px] sm:text-[48px] md:text-[64px] lg:text-[72px] xl:text-[80px] ",children:["+",(0,a.jsx)(n,{target:25e6,duration:3500,isVisible:s})]}),(0,a.jsx)("p",{className:"mt-1 font-semibold text-gray-600 text-[12px] sm:text-[14px] md:text-[16px] lg:text-[18px]",children:o("pages.home.parentsServed")})]})]}),(0,a.jsxs)("div",{className:"flex gap-2 sm:gap-3 lg:gap-4 h-[400px] lg:h-[500px] xl:h-[600px]",children:[(0,a.jsxs)("div",{className:"bg-[#063FB0] text-white p-4 rounded-md w-[140px] sm:w-[180px] lg:w-[220px] xl:w-[280px] flex flex-col justify-start overflow-hidden transition-all duration-1000 ".concat(s?"translate-y-0 opacity-100":"translate-y-10 opacity-0"),children:[(0,a.jsx)("h2",{className:"font-semibold leading-none tracking-tight whitespace-nowrap text-[32px] sm:text-[48px] md:text-[64px] lg:text-[72px] xl:text-[80px] ",children:(0,a.jsx)(n,{target:1e8,duration:3e3,suffix:"+",isVisible:s})}),(0,a.jsx)("p",{className:"mt-2 font-semibold text-white/90 uppercase tracking-wide text-[14px] sm:text-[16px] md:text-[18px] lg:text-[20px]",children:o("pages.home.schoolsViewed")})]}),(0,a.jsxs)("div",{className:"bg-[#249424] text-white p-4 rounded-md w-[140px] sm:w-[180px] lg:w-[220px] xl:w-[280px] flex flex-col justify-start overflow-hidden transition-all duration-1000 delay-200 ".concat(s?"translate-y-0 opacity-100":"translate-y-10 opacity-0"),children:[(0,a.jsx)("h2",{className:"font-semibold leading-none tracking-tight whitespace-nowrap text-[32px] sm:text-[48px] md:text-[64px] lg:text-[72px] xl:text-[80px] ",children:(0,a.jsx)(n,{target:25e3,duration:2500,isVisible:s})}),(0,a.jsx)("p",{className:"mt-2 font-semibold text-white/90 uppercase tracking-wide text-[14px] sm:text-[16px] md:text-[18px] lg:text-[20px]",children:o("pages.home.schoolsListed")})]})]})]}),(0,a.jsxs)("div",{className:"md:hidden flex flex-col gap-3",children:[(0,a.jsxs)("div",{className:"relative",children:[(0,a.jsx)(x.default,{src:"/frame 1055.webp",width:100,height:100,alt:"parents",className:"w-full h-[200px] object-cover rounded-md"}),(0,a.jsxs)("div",{className:"absolute top-3 left-3 bg-white/90 backdrop-blur-sm px-3 py-1 rounded-md shadow transition-all duration-700 ".concat(s?"translate-y-0 opacity-100":"translate-y-5 opacity-0"),children:[(0,a.jsxs)("p",{className:"font-semibold text-gray-800 text-[32px] leading-none",children:["+",(0,a.jsx)(n,{target:25e6,duration:3500,isVisible:s})]}),(0,a.jsx)("p",{className:"text-lg text-gray-600",children:o("pages.home.parentsServed")})]})]}),(0,a.jsxs)("div",{className:"flex gap-2 h-[200px]",children:[(0,a.jsxs)("div",{onClick:()=>t("blue"),className:"rounded-md text-white p-4 transition-all duration-300 cursor-pointer overflow-hidden\n              ".concat("blue"===e?"flex-[2] bg-[#063FB0]":"flex-1 bg-[#063FB0]/80"),children:[(0,a.jsx)("h2",{className:"font-semibold text-[32px] leading-none",children:(0,a.jsx)(n,{target:1e8,duration:3e3,suffix:"+",
1isVisible:s})}),(0,a.jsx)("p",{className:"mt-1 text-lg font-semibold uppercase",children:o("pages.home.schoolsViewed")})]}),(0,a.jsxs)("div",{onClick:()=>t("green"),className:"rounded-md text-white p-4 transition-all duration-300 cursor-pointer overflow-hidden\n              ".concat("green"===e?"flex-[2] bg-[#249424]":"flex-1 bg-[#249424]/80"),children:[(0,a.jsx)("h2",{className:"font-semibold text-[32px] leading-none",children:(0,a.jsx)(n,{target:25e3,duration:2500,isVisible:s})}),(0,a.jsx)("p",{className:"mt-1 text-lg font-semibold uppercase",children:o("pages.home.schoolsListed")})]})]})]})]})}}}]);

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.