PageSourceSearch

https://www.aiornot.com/_next/static/chunks/24161.021ffff626b45a81.js

js aiornot.com collected 2026-09-25 18:45:39 UTC 5,090 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[24161,94992],{30401:function(e,r,t){t.d(r,{Z:function(){return n}});let n=(0,t(39763).Z)("Check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]])},14795:function(e,r,t){var n=t(57437),l=t(2265);r.Z=e=>{let{children:r,glitchColors:t=["#7A7A7A","#8F8F8F","#7A7A7A"],glitchSpeed:o=50,smooth:c=!0,className:a="",config:u={fontSize:8,charWidth:10,charHeight:20},onClick:s,showGlitch:i=!0,dataTestId:h="letter-glitch-button"}=e,{charWidth:f=10,charHeight:d=20}=u,g=(0,l.useRef)(null),m=(0,l.useRef)(null),b=(0,l.useRef)([]),v=(0,l.useRef)({columns:0,rows:0}),C=(0,l.useRef)(null),x=(0,l.useRef)(Date.now()),w=["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","!","@","#","$","&","*","(",")","-","_","+","=","/","[","]","{","}",";",":","<",">",",","0","1","2","3","4","5","6","7","8","9"],p=()=>w[Math.floor(Math.random()*w.length)],M=()=>t[Math.floor(Math.random()*t.length)],A=e=>{e=e.replace(/^#?([a-f\d])([a-f\d])([a-f\d])$/i,(e,r,t,n)=>r+r+t+t+n+n);let r=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(e);return r?{r:parseInt(r[1],16),g:parseInt(r[2],16),b:parseInt(r[3],16)}:null},R=(e,r,t)=>{let n={r:Math.round(e.r+(r.r-e.r)*t),g:Math.round(e.g+(r.g-e.g)*t),b:Math.round(e.b+(r.b-e.b)*t)};return"rgb(".concat(n.r,", ").concat(n.g,", ").concat(n.b,")")},k=(e,r)=>({columns:Math.ceil(e/f),rows:Math.ceil(r/d)}),j=(e,r)=>{v.current={columns:e,rows:r},b.current=Array.from({length:e*r},()=>({char:p(),color:M(),targetColor:M(),colorProgress:1}))},N=()=>{let e=g.current;if(!e)return;let r=e.parentElement;if(!r)return;let t=window.devicePixelRatio||1,n=r.getBoundingClientRect();e.width=n.width*t,e.height=n.height*t,e.style.width="".concat(n.width,"px"),e.style.height="".concat(n.height,"px"),C.current&&C.current.setTransform(t,0,0,t,0,0);let{columns:l,rows:o}=k(n.width,n.height);j(l,o),P()},P=()=>{if(!C||!g||!g.current||!C.current||0===b.current.length)return;let e=C.current,{width:r,height:t}=g.current.getBoundingClientRect();e.clearRect(0,0,r,t),e.font="300 6px monospace",e.textBaseline="top",b.current.forEach((r,t)=>{let n=t%v.current.columns*f,l=Math.floor(t/v.current.columns)*d;e.fillStyle=r.color,e.fillText(r.char,n,l)})},E=()=>{if(!b.current||0===b.current.length)return;let e=Math.max(1,Math.floor(.05*b.current.length));for(let r=0;r<e;r++){let e=Math.floor(Math.random()*b.current.length);b.current[e]&&(b.current[e].char=p(),b.current[e].targetColor=M(),c?b.current[e].colorProgress=0:(b.current[e].color=b.current[e].targetColor,b.current[e].colorProgress=1))}},F=()=>{let e=!1;b.current.forEach(r=>{if(r.colorProgress<1){r.colorProgress+=.05,r.colorProgress>1&&(r.colorProgress=1);let t=A(r.color),n=A(r.targetColor);t&&n&&(r.color=R(t,n,r.colorProgress),e=!0)}}),e&&P()},y=()=>{let e=Date.now();e-x.current>=o&&(E(),P(),x.current=e),c&&F(),m.current=requestAnimationFrame(y)};return(0,l.useEffect)(()=>{let e;let r=g.current;if(!r)return;C.current=r.getContext("2d"),N();let t=null;c?y():t=setInterval(()=>{E(),P()},o);let n=()=>{clearTimeout(e),e=setTimeout(()=>{cancelAnimationFrame(m.current),N(),c&&y()},100)};window.addEventListener("resize",n);let l=r.parentElement,a=l&&"undefined"!=typeof ResizeObserver?new ResizeObserver(()=>n()):null;return a&&l&&a.observe(l),()=>{t&&clearInterval(t),cancelAnimationFrame(m.current),window.removeEventListener("resize",n),a&&a.disconnect()}},[o,c]),(0,n.jsxs)("div",{role:"button","data-testid":h,className:"relative w-full h-full bg-black overflow-hidden ".concat(a," p-[2px]"),onClick:()=>s&&s(),children:[i&&(0,n.jsx)("canvas",{ref:g,className:"block w-full h-full"}),(0,n.jsx)("div",{className:"absolute top-0 left-0 w-full h-full flex items-center justify-center pointer-events-none ",children:r})]})}},94992:function(e,r,t){var n=t(57437),l=t(2265),o=t(38452),c=t(12381);let a=l.forwardRef(function(e,r){let{children:t,containerClassName:l,className:a,disabled:u=!1,corner:s=!0,variant:i="bare",onClick:h,...f}=e;return(0,n.jsxs)(c.z,{ref:r,className:(0,o.cn)("corner-hover-parent",l),onClick:h,disabled:u,variant:i,...f,children:[(0,n.jsx)("div",{className:(0,o.cn)("z-10 text-white",a),children:t}),s&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("div",{className:"buttonCorner btnCorner-tl"}),(0,n.jsx)("div",{className:"buttonCorner btnCorner-tr"}),(0,n.jsx)("div",{className:"buttonCorner btnCorner-bl"}),(0,n.jsx)("div",{className:"buttonCorner btnCorner-br"})]})]})});r.Z=a},3380:function(e,r,t){t.d(r,{UseAuthProvider:function(){return c},c:function(){return o}});var n=t(57437),l=t(2265);let o=(0,l.createContext)({useAuth:!1,setUseAuth:e=>{}}),c=e=>{let{children:r}=e,[t,c]=(0,l.useState)(!1);return(0,n.jsx)(o.Provider,{value:{useAuth:t,setUseAuth:c},children:r})}},6893:function(e,r,t){t.d(r,{f:function(){return o}});var n=t(2265),l=t(3380);let o=()=>{let{useAuth:e,setUseAuth:r}=(0,n.useContext)(l.c);return{isAuthModalOpen:e,openAuthModal:(0,n.useCallback)(()=>r(!0),[r]),closeAuthModal:(0,n.useCallback)(()=>r(!1),[r]),toggleAuthModal:(0,n.useCallback)(()=>r(e=>!e),[r])}}}}]);

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.