PageSourceSearch

https://www.subzero.xyz/_next/static/chunks/81-175c361a3b3d2689.js?dpl=dpl_5Una2g4Lr7Nymijw1QbVr5X9hBLj

js subzero.xyz collected 2026-10-08 18:32:31 UTC 14,128 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[81],{2081:function(e,r,t){t.d(r,{Header:function(){return q}});var n,i=t(7437),a=t(6498),l=t(2265),o=t(7648),s=t(9376),c=t(407);let u=(e,r)=>{let t=[];for(let n=0;n<e.length;n+=r)t.push(e.slice(n,n+r));return t};function d(e){let{isAtTop:r,setIsAtTop:t,navigationRef:n,navigation:d}=e,h=(0,s.usePathname)(),f=(0,l.useRef)(r);(0,l.useEffect)(()=>{let e=()=>{t(0===window.scrollY)};return window.addEventListener("scroll",e,{passive:!0}),()=>window.removeEventListener("scroll",e)},[t]),(0,l.useEffect)(()=>{if(n.current&&f.current!==r){a.ZP.set(n.current,{opacity:0}),a.ZP.set(n.current,{flexDirection:"row",gap:r?"2rem":"2.5rem"});let e=n.current.querySelectorAll("a");a.ZP.set(e,{opacity:0,y:r?-10:-5}),a.ZP.to(e,{opacity:1,y:0,duration:.5,stagger:.1,ease:"power2.out"}),a.ZP.to(n.current,{opacity:1,duration:.3,ease:"power2.out"}),f.current=r}},[r,n]);let p=r?u(d.items,3):[d.items];return(0,i.jsx)("nav",{className:"hidden md:block","aria-label":"Main navigation",children:(0,i.jsx)("div",{ref:n,className:"flex ".concat(r?"":"pl-4 pt-2"),style:{flexDirection:"row",gap:r?"3rem":"2.5rem"},children:r?p.map((e,r)=>(0,i.jsx)("div",{className:"flex flex-col",style:{gap:"0.5rem"},children:e.map(e=>(0,i.jsxs)(o.default,{href:(null==e?void 0:e.url)||"#","aria-current":h===(null==e?void 0:e.url)?"page":void 0,className:"group relative flex flex-row items-center text-base uppercase text-white transition-colors duration-300",children:[(0,i.jsx)(c.Z,{className:"absolute -left-2 transform stroke-white opacity-0 transition-all duration-300 group-hover:opacity-100"}),(0,i.jsx)("span",{className:"transition-transform duration-300 group-hover:translate-x-4",children:e.value})]},e.uuid))},r)):d.items.map(e=>(0,i.jsxs)(o.default,{href:(null==e?void 0:e.url)||"#","aria-current":h===(null==e?void 0:e.url)?"page":void 0,className:"group relative flex flex-row items-center text-base uppercase text-white transition-colors duration-300",children:[(0,i.jsx)(c.Z,{className:"absolute -left-2 transform stroke-white opacity-0 transition-all duration-300 group-hover:opacity-100"}),(0,i.jsx)("span",{className:"transition-transform duration-300 group-hover:translate-x-4",children:e.value})]},e.uuid))})})}var h=t(1994),f=t(3335);function p(){for(var e=arguments.length,r=Array(e),t=0;t<e;t++)r[t]=arguments[t];return(0,f.m6)((0,h.W)(r))}function m(e){let{isOpen:r,onClose:t,navigation:n}=e,a=(0,l.useRef)(null),[s,c]=(0,l.useState)(0);return(0,l.useEffect)(()=>{if(!a.current)return;c(a.current.scrollHeight);let e=new ResizeObserver(e=>{for(let r of e)c(r.contentRect.height)});return e.observe(a.current),()=>{e.disconnect()}},[]),(0,i.jsx)("div",{className:p("fixed left-0 right-0 top-[90px] z-40 w-full transition-all duration-500 ease-in-out md:hidden","overflow-hidden bg-brand-primary shadow-2xl",r?"pointer-events-auto opacity-100":"pointer-events-none opacity-0"),style:{height:r?"".concat(s+65,"px"):"0px",transformOrigin:"top",visibility:r?"visible":"hidden",transitionProperty:"height, opacity, visibility"},children:(0,i.jsx)("div",{ref:a,className:"flex flex-col items-start gap-6 px-8 py-10",children:n.items.map(e=>(0,i.jsx)(o.default,{href:(null==e?void 0:e.url)||"#",onClick:t,className:"font-mono hover:text-brand-green-600 text-2xl tracking-widest text-white transition-colors",children:e.value},e.uuid))})})}function v(e){let{onClick:r,open:t}=e;return(0,i.jsx)("button",{onClick:r,className:"mr-2 flex h-11 w-11 items-center justify-center md:hidden ".concat(t?"bg-white":"bg-brand-secondary"," relative rounded-none text-white"),"aria-label":"Toggle menu",children:(0,i.jsxs)("div",{className:"relative flex h-5 w-6 flex-col items-center justify-between",children:[(0,i.jsx)("span",{className:"h-[2px] w-full origin-left transform rounded-full bg-white transition-transform duration-300 ".concat(t?"translate-x-[4px] translate-y-px rotate-45 !bg-brand-primary":"")}),(0,i.jsx)("span",{className:"h-[2px] w-full transform rounded-full bg-white transition-all duration-300 ".concat(t?"translate-x-4 !bg-brand-primary opacity-0":"opacity-100")}),(0,i.jsx)("span",{className:"h-[2px] w-full origin-left transform rounded-full bg-white transition-transform duration-300 ".concat(t?"translate-x-[4px] -rotate-45 !bg-brand-primary":"")})]})})}var x=t(535);let g=(0,x.j)("group inline-flex uppercase cursor-pointer items-center justify-center font-medium transition-colors duration-200 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-brand-green-600 focus-visible:ring-offset-2 disabled:opacity-50 disabled:pointer-events-none leading-none",{variants:{variant:{primary:"bg-brand-secondary border border-brand-secondary text-white hover:bg-white hover:text-brand-primary",secondary:"bg-brand-secondary text-white border border-white hover:bg-white hover:text-brand-primary hover:border-white",outline:"border border-[D2D2D2] hover:bg-brand-primary hover:text-white hover:border-brand-primary"},size:{sm:"px-3 py-2 text-sm",md:"px-4 py-2.5 text-base",lg:"px-5 py-3.5 text-lg"}},defaultVariants:{variant:"primary",size:"lg"}}),w=(0,x.j)("relative flex items-center top-[-1px] transition-all duration-300",{variants:{size:{sm:"h-4 w-4",md:"h-5 w-5",lg:"h-6 w-6"},position:{prefix:"mr-2 group-hover:mr-4",suffix:"ml-2 group-hover:ml-4"}},defaultVariants:{size:"md",position:"prefix"}}),y=(0,l.forwardRef)((e,r)=>{let{variant:t,size:n,prefix:a,suffix:s,href:c,external:u,className:d,children:h,...f}=e,m=e=>{let{icon:r,position:t}=e;if(!r)return null;let a=w({size:n,position:t});return l.isValidElement(r)?(0,i.jsx)("span",{className:a,children:r}):(0,i.jsx)(i.Fragment,{children:r&&r({className:a})})},v=(0,i.jsxs)(i.Fragment,{children:[a&&(0,i.jsx)(m,{icon:a,position:"prefix"}),(0,i.jsx)("span",{className:"inline-block translate-y-[1px] leading-none",children:h}),s&&(0,i.jsx)(m,{icon:s,position:"suffix"})]}),x=p(g({variant:t,size:n,className:d}));return c?u?(0,i.jsx)("a",{ref:r,href:c,className:x,...f,children:v}):(0,i.jsx)(o.default,{ref:r,href:c,className:x,...f,children:v}):(0,i.jsx)("button",{ref:r,className:x,...f,children:v})});y.displayName="Button";var b=t(4746);function j(){return(j=Object.assign?Object.assign.bind():function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)({}).hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e}).apply(null,arguments)}var N=function(e){return b.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",width:197,height:22,f
1ill:"none"},e),n||(n=b.createElement("path",{fill:"#fff",d:"M189.351 21.807q-3.192 0-5.291-1.351-2.099-1.352-2.933-3.652l4.4-2.56q1.12 2.675 3.968 2.675 2.358 0 2.358-1.352 0-.891-1.352-1.438-.575-.23-2.53-.776-2.762-.806-4.371-2.243-1.61-1.467-1.61-4.055 0-2.79 1.984-4.514 2.013-1.725 5.003-1.726 2.531 0 4.486 1.18 1.956 1.178 2.991 3.421l-4.314 2.53q-.948-2.241-3.134-2.242-.92 0-1.409.374a1.17 1.17 0 0 0-.46.949q0 .66.69 1.121.718.46 2.761 1.064 1.466.432 2.357.805.893.375 1.956 1.093a4.25 4.25 0 0 1 1.581 1.812q.519 1.092.518 2.587 0 2.962-2.099 4.63t-5.55 1.668M177.883 10.966q2.53 1.495 2.53 4.515 0 2.673-1.84 4.284t-4.917 1.61h-8.483V1.247h7.936q3.02 0 4.831 1.552 1.812 1.524 1.812 4.17 0 2.531-1.869 3.997m-4.917-5.119h-2.646v3.164h2.646q.69 0 1.15-.403.489-.431.489-1.179 0-.72-.46-1.15-.46-.432-1.179-.432m.546 10.928q.776 0 1.265-.46.489-.49.489-1.237 0-.777-.489-1.236-.489-.46-1.265-.46h-3.192v3.393zM158.16 21.376l-.862-2.905h-6.701l-.862 2.904h-5.579l6.643-20.128h6.268l6.643 20.129zm-6.24-7.333h4.055l-2.042-6.844zM136.51 16.4h6.93v4.976h-12.078V1.245h5.148zM119.383 18.788q-3.048 3.018-7.476 3.019-4.428 0-7.505-3.02-3.048-3.047-3.048-7.476t3.048-7.447q3.077-3.05 7.505-3.049t7.476 3.049q3.077 3.019 3.077 7.447 0 4.429-3.077 7.477m-11.358-3.537q1.552 1.524 3.882 1.524t3.882-1.524q1.553-1.553 1.553-3.94t-1.553-3.91q-1.552-1.554-3.882-1.553-2.33 0-3.882 1.552-1.553 1.524-1.553 3.911t1.553 3.94M95.074 21.376l-3.508-6.5h-1.84v6.5h-5.148V1.245h8.052q3.076 0 5.147 1.985 2.1 1.955 2.1 4.974 0 1.812-.921 3.336a6.8 6.8 0 0 1-2.502 2.387l4.141 7.447zM89.725 5.99v4.515h2.847q.949.029 1.553-.604t.604-1.64q0-1.005-.604-1.638t-1.553-.633zM74.339 16.545h7.792v4.83h-12.94V1.247h12.797v4.802h-7.65v2.79h6.93v4.744h-6.93zM59.643 16.4h7.333v4.976H52.972v-3.969l7.102-11.186h-6.959V1.247h13.63v3.968zM49.297 10.966q2.53 1.495 2.53 4.515 0 2.673-1.84 4.284t-4.917 1.61h-8.483V1.247h7.936q3.02 0 4.831 1.552 1.812 1.524 1.812 4.17 0 2.531-1.87 3.997M44.38 5.847h-2.646v3.164h2.646q.69 0 1.15-.403.489-.431.489-1.179 0-.72-.46-1.15-.46-.432-1.18-.432m.546 10.928q.777 0 1.265-.46.49-.49.49-1.237 0-.777-.49-1.236-.489-.46-1.265-.46h-3.192v3.393zM31.372 19.88q-2.214 1.927-5.722 1.927t-5.751-1.927q-2.214-1.926-2.214-5.118V1.247h5.147v13.026q0 2.53 2.818 2.53t2.818-2.53V1.247h5.147v13.515q0 3.192-2.243 5.118M8.224 21.807q-3.192 0-5.29-1.351Q.833 19.104 0 16.804l4.4-2.56q1.12 2.675 3.968 2.675 2.358 0 2.358-1.352 0-.891-1.352-1.438-.575-.23-2.53-.776-2.76-.806-4.371-2.243Q.863 9.643.863 7.055q0-2.79 1.984-4.514Q4.86.816 7.85.815q2.531 0 4.486 1.18 1.955 1.178 2.99 3.421l-4.313 2.53q-.948-2.241-3.134-2.242-.92 0-1.409.374a1.17 1.17 0 0 0-.46.949q0 .66.69 1.121.72.46 2.76 1.064 1.467.432 2.358.805.893.375 1.956 1.093a4.25 4.25 0 0 1 1.582 1.812q.517 1.092.517 2.587 0 2.962-2.1 4.63-2.098 1.668-5.549 1.668"})))};function q(e){let{navigation:r}=e,[t,n]=(0,l.useState)(!1),{lockScroll:s,unlockScroll:c}=function(){let e=(0,l.useRef)(0),r=(0,l.useRef)(!1);return{lockScroll:(0,l.useCallback)(()=>{if(r.current)return;let t=document.documentElement,n=document.body;e.current=window.scrollY;let i=window.innerWidth-t.clientWidth,a=parseInt(getComputedStyle(n).getPropertyValue("padding-right"))||0;n.style.paddingRight="".concat(a+i,"px"),/iPhone|iPad|iPod/.test(navigator.platform)?(e.current=window.pageYOffset,n.style.top="-".concat(e.current,"px"),n.style.position="fixed",n.style.width="100%",n.style.height="100vh"):t.style.overflow="hidden",n.style.overflow="hidden",r.current=!0},[]),unlockScroll:(0,l.useCallback)(()=>{if(!r.current)return;let t=document.documentElement,n=document.body;/iPhone|iPad|iPod/.test(navigator.platform)?(n.style.removeProperty("top"),n.style.removeProperty("position"),n.style.removeProperty("width"),n.style.removeProperty("height"),n.style.removeProperty("overflow"),window.scrollTo(0,e.current)):(t.style.removeProperty("overflow"),n.style.removeProperty("overflow")),n.style.removeProperty("padding-right"),r.current=!1},[])}}(),u=(0,l.useRef)(!1),[h,f]=(0,l.useState)(!0),p=(0,l.useRef)(null),x=(0,l.useRef)(null),g=(0,l.useRef)(0),w=(0,l.useRef)(!1),b=(0,l.useRef)(),j="power3.out",q=(0,l.useCallback)(()=>{w.current||(requestAnimationFrame(()=>{let e=window.scrollY;f(!0),g.current=e,w.current=!1}),w.current=!0)},[]);(0,l.useEffect)(()=>(window.addEventListener("scroll",q,{passive:!0}),()=>window.removeEventListener("scroll",q)),[q]),(0,l.useEffect)(()=>{var e;p.current&&x.current&&(null===(e=b.current)||void 0===e||e.kill(),b.current=a.ZP.timeline({defaults:{duration:.3,ease:j}}),h?b.current.to(p.current,{y:0}).to(x.current,{opacity:1},"-=0.2"):b.current.to(x.current,{opacity:0}
1).to(p.current,{y:-p.current.offsetHeight-0},"-=0.1"))},[h,0,.6,j]);let z=(0,l.useRef)(null);return(0,l.useEffect)(()=>(t?s():c(),()=>c()),[t,s,c]),(0,l.useEffect)(()=>{!u.current&&p.current&&a.ZP.fromTo(p.current,{y:-100,opacity:0},{y:0,opacity:1,duration:1,delay:.8,ease:"power3.out",onComplete:()=>{u.current=!0}})},[]),(0,i.jsx)(i.Fragment,{children:(0,i.jsx)("header",{ref:p,className:"fixed left-0 right-0 top-0 z-50 h-[90px] bg-rialo-black",children:(0,i.jsxs)("div",{className:"container flex h-full flex-col justify-center py-0",children:[(0,i.jsxs)("div",{className:"flex w-full items-center justify-between",children:[(0,i.jsxs)("div",{className:"flex-container flex flex-row items-center gap-6",children:[(0,i.jsxs)("div",{className:"flex items-center gap-2",children:[(0,i.jsx)(v,{onClick:()=>n(!t),open:t}),(0,i.jsx)(o.default,{href:"/",className:"text-rialo-cream",children:(0,i.jsx)(N,{})})]}),(0,i.jsx)("div",{className:"hidden md:block",children:(0,i.jsx)(d,{isAtTop:!1,setIsAtTop:()=>{},navigation:r,navigationRef:z})})]}),(0,i.jsxs)("div",{className:"flex items-center gap-2",children:[(0,i.jsx)(y,{size:"md",target:"_blank",href:"https://x.com/Subzero_Labs","aria-label":"Follow us on X",className:"items-center border-rialo-cream/30 bg-transparent text-rialo-cream hover:border-rialo-teal hover:bg-rialo-teal hover:text-rialo-black",children:(0,i.jsx)("div",{className:"flex items-center py-1 md:p-0",children:(0,i.jsx)(k,{})})}),(0,i.jsx)(y,{size:"md",target:"_blank",href:"https://www.linkedin.com/company/subzero-labs/","aria-label":"Follow us on LinkedIn",className:"items-center border-rialo-cream/30 bg-transparent text-rialo-cream hover:border-rialo-teal hover:bg-rialo-teal hover:text-rialo-black",children:(0,i.jsx)("div",{className:"flex items-center py-1 md:p-0",children:(0,i.jsx)(P,{})})})]})]}),(0,i.jsx)(m,{navigation:r,isOpen:t,onClose:()=>n(!1)})]})})})}let k=()=>(0,i.jsx)("svg",{className:"transition-colors duration-300 ease-in-out group-hover:stroke-brand-primary",xmlns:"http://www.w3.org/2000/svg",width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",children:(0,i.jsx)("path",{d:"M0.0341334 0L5.43938 7.1818L0 13.0209H1.22419L5.98635 7.90868L9.83405 13.0209H14L8.29063 5.43514L13.3536 0H12.1294L7.74366 4.70826L4.20008 0H0.0341334ZM1.83439 0.896057H3.74824L12.1995 12.1247H10.2856L1.83439 0.896057Z",fill:"currentColor"})}),P=()=>(0,i.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"15",height:"15",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true",children:(0,i.jsx)("path",{d:"M20.447 20.452h-3.554v-5.569c0-1.328-.027-3.037-1.852-3.037-1.853 0-2.136 1.445-2.136 2.939v5.667H9.351V9h3.414v1.561h.046c.477-.9 1.637-1.852 3.37-1.852 3.601 0 4.266 2.37 4.266 5.455v6.288zM5.337 7.433a2.062 2.062 0 01-2.063-2.065 2.063 2.063 0 112.063 2.065zm1.782 13.019H3.555V9h3.564v11.452zM22.225 0H1.771C.792 0 0 .774 0 1.729v20.542C0 23.227.792 24 1.771 24h20.451C23.2 24 24 23.227 24 22.271V1.729C24 .774 23.2 0 22.222 0h.003z"})})}}]);

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.