PageSourceSearch

https://coinfest.asia/_next/static/chunks/9948-0afc9d4b4441cef1.js?dpl=dpl_BXXEqnDdP6f2jwruaMD2mGwcZJ5i

js coinfest.asia collected 2026-09-24 10:30:23 UTC 9,325 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9948],{26253:(e,t,n)=>{n.d(t,{Ay:()=>l});var a=n(24289),r=n(86609),s=n.n(r);let i={primary:{base:"bg-[#015AFD] text-white hover:bg-[#0147cc]",sizes:{xs:"px-6 py-1.5 text-xs",sm:"px-3 py-2 text-sm",md:"px-6 py-[10px] text-base",lg:"px-6 py-3 text-lg"}},secondary:{base:"bg-[#FE5602] text-white hover:bg-[#e54d02]",sizes:{xs:"px-2 py-1.5 text-xs",sm:"px-3 py-2 text-sm",md:"px-6 py-[10px] text-base",lg:"px-6 py-3 text-lg"}},ghost:{base:"bg-transparent text-[#000000] hover:bg-gray-100",sizes:{xs:"px-1.5 py-1 text-xs",sm:"px-2 py-1.5 text-sm",md:"px-4 py-[10px] text-base",lg:"px-5 py-2.5 text-lg"}},outline:{base:"bg-white border border-gray-200 text-[#000000] hover:bg-gray-50",sizes:{xs:"px-2 py-1.5 text-xs",sm:"px-3 py-2 text-sm",md:"px-6 py-2.5 text-base",lg:"px-6 py-3 text-lg"}},"text-link":{base:"bg-transparent text-primary underline hover:opacity-80",sizes:{xs:"text-xs",sm:"text-sm",md:"text-base",lg:"text-lg"}},"cta-card":{base:"border border-[#0B0E19]/15 bg-white text-[#0B0E19] transition hover:border-[#0B0E19]/25 hover:bg-[#0B0E19] hover:text-white group-hover:border-[#0B0E19]/25 group-hover:bg-[#0B0E19] group-hover:text-white uppercase tracking-[0.3em]",sizes:{xs:"px-3 py-1 text-[10px]",sm:"px-4 py-1.5 text-[11px]",md:"px-6 py-2 text-[11px]",lg:"px-6 py-2.5 text-xs"}}},l=e=>{let{variant:t="primary",size:n="md",children:r,href:l,icon:o,iconPosition:c="right",onClick:d,className:x="",disabled:p=!1,type:h="button",style:u,id:f,"data-layer-id":m,applyTrackingToRoot:b=!1,target:v,rel:g}=e,y=i[t].base,w=i[t].sizes[n],j="".concat("text-link"===t?"inline-flex items-center font-semibold leading-[1.4] transition-colors focus:outline-none disabled:opacity-50 disabled:cursor-not-allowed":"inline-flex items-center justify-center gap-[10px] rounded-full font-semibold leading-[1.4] transition-colors focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-[#015AFD] disabled:opacity-50 disabled:cursor-not-allowed"," ").concat(y," ").concat(w," ").concat("primary"===t?"ca26-btn-anim-hover":"secondary"===t?"ca26-btn-anim-hover-orange":""," ").concat(x),E=b?{}:{...null!=f?{id:f}:{},...null!=m?{"data-layer-id":m}:{}},N=b?{...null!=f?{id:f}:{},...null!=m?{"data-layer-id":m}:{}}:{},k=(0,a.jsxs)(a.Fragment,{children:[o&&"left"===c&&(0,a.jsx)("span",{className:"shrink-0",children:o}),(0,a.jsx)("span",{...E,children:r}),o&&"right"===c&&(0,a.jsx)("span",{className:"shrink-0",children:o})]});return l?(0,a.jsx)(s(),{href:l,className:j,style:u,onClick:d,target:v,rel:g,...N,children:k}):(0,a.jsx)("button",{type:h,onClick:d,disabled:p,className:j,style:u,...N,children:k})}},29948:(e,t,n)=>{n.d(t,{default:()=>d});var a=n(24289),r=n(86609),s=n.n(r),i=n(78001),l=n(73285),o=n(26253);let c=[{href:"/speakers",label:"Speakers"},{href:"/partners",label:"Partners"},{href:"/app",label:"App"},{href:"/side-events",label:"Side Event"},{href:"/experience",label:"Experience"}],d=e=>{let{showRibbon:t=!1,variant:n="default",hideOnScroll:r=!1}=e,[d,x]=(0,l.useState)(!1),p=1-Math.pow(1-function(e){let[t,n]=(0,l.useState)(0);return(0,l.useEffect)(()=>{let e=()=>{n(Math.min(1,Math.max(0,window.scrollY/120)))};return e(),window.addEventListener("scroll",e,{passive:!0}),()=>window.removeEventListener("scroll",e)},[120]),t}(120),3),h=function(e){let[t,n]=(0,l.useState)(!1);return(0,l.useEffect)(()=>{let t=window.matchMedia(e),a=()=>n(t.matches);return a(),t.addEventListener("change",a),()=>t.removeEventListener("change",a)},[e]),t}("(min-width: 1025px)"),u=function(e,t){let[n,a]=(0,l.useState)(!1),r=(0,l.useRef)(0);return(0,l.useEffect)(()=>{if(!e)return void a(!1);r.current=window.scrollY;let n=()=>{if(t){a(!1),r.current=window.scrollY;return}let e=window.scrollY,n=e-r.current;e<=64?a(!1):n>8?a(!0):n<-8&&a(!1),r.current=e};return n(),window.addEventListener("scroll",n,{passive:!0}),()=>window.removeEventListener("scroll",n)},[e,t]),(0,l.useEffect)(()=>{e&&window.dispatchEvent(new CustomEvent("coinfest-nav-hidden",{detail:{hidden:n}}))},[e,n]),!!e&&n}(r,d),f=(0,l.useRef)(null),m=(0,l.useRef)(null),[b,v]=(0,l.useState)(0),[g,y]=(0,l.useState)(0);(0,l.useEffect)(()=>
1{if(!h)return;let e=()=>{y(window.innerWidth);let e=f.current,t=m.current;if(!e||!t)return;let n=2*(16+4*p);v(e.offsetWidth+t.offsetWidth+n)};e(),window.addEventListener("resize",e);let t=new ResizeObserver(e);return f.current&&t.observe(f.current),m.current&&t.observe(m.current),()=>{window.removeEventListener("resize",e),t.disconnect()}},[h,p]);let w=Math.max(0,g-32),j={width:b>0?Math.max(w+(b-w)*p,b):w,borderRadius:"".concat(8+9991*p,"px"),paddingInline:"".concat(16+4*p,"px"),paddingBlock:"".concat(0+3*p,"px"),backgroundColor:"rgba(255, 255, 255, ".concat(0+.8*p,")"),boxShadow:p>.01?"0 10px 15px -3px rgba(0, 0, 0, ".concat(0+.1*p,"), 0 4px 6px -4px rgba(0, 0, 0, ").concat(0+.1*p,")"):"none"},E="dark"===n&&p<.45,N=E?"!text-white hover:!bg-white/10":"";return(0,l.useEffect)(()=>(d?document.body.style.overflow="hidden":document.body.style.overflow="unset",()=>{document.body.style.overflow="unset"}),[d]),(0,l.useEffect)(()=>{window.dispatchEvent(new CustomEvent("coinfest-mobile-nav",{detail:{open:d}}))},[d]),(0,a.jsxs)("div",{className:"relative",children:[t?(0,a.jsx)("div",{className:"pointer-events-none absolute left-0 -top-8 z-0 h-[120px] w-full overflow-hidden",children:(0,a.jsx)(i.default,{src:"/logo navbar/bg-heading.svg",alt:"",fill:!0,className:"object-cover object-left-top",priority:!0})}):null,(0,a.jsx)("div",{className:"fixed inset-0 z-40 bg-black/40 transition-opacity duration-300 min-[1025px]:hidden ".concat(d?"pointer-events-auto opacity-100":"pointer-events-none opacity-0"),onClick:()=>x(!1),"aria-hidden":"true"}),(0,a.jsx)("div",{className:"fixed bottom-[92px] left-4 right-4 z-50 overflow-hidden rounded-lg bg-white shadow-xl transition-all duration-300 min-[1025px]:hidden ".concat(d?"max-h-[calc(100vh-108px)] opacity-100":"pointer-events-none max-h-0 opacity-0"),children:(0,a.jsx)("div",{className:"overflow-y-auto px-4 py-6",children:(0,a.jsxs)("nav",{className:"flex flex-col gap-4",children:[c.map(e=>(0,a.jsx)(s(),{href:e.href,onClick:()=>x(!1),className:"rounded-lg px-4 py-3 text-[20px] font-extrabold uppercase tracking-[0.3px] text-[#000000] transition-colors hover:bg-gray-100",children:e.label},e.href)),(0,a.jsxs)("div",{className:"mt-2 flex flex-col gap-3",children:[(0,a.jsx)(o.Ay,{id:"tickets-button-nav-mobile","data-layer-id":"tickets-button-nav-mobile",variant:"primary",size:"md",href:"/waitlist",children:"WAITLIST"}),(0,a.jsx)(o.Ay,{variant:"secondary",size:"md",href:"/sponsorship",children:"2027 INQUIRY"})]})]})})}),(0,a.jsx)("div",{"data-main-nav":!0,"data-nav-hidden":u?"true":"false",className:"fixed bottom-4 left-0 right-0 z-50 px-4 transition-transform duration-200 will-change-transform min-[1025px]:bottom-auto min-[1025px]:top-0 min-[1025px]:flex min-[1025px]:justify-center min-[1025px]:pt-4 motion-reduce:transition-none",style:{transitionTimingFunction:"cubic-bezier(0.23, 1, 0.32, 1)",transform:u?h?"translate3d(0, calc(-100% - 24px), 0)":"translate3d(0, calc(100% + 24px), 0)":"translate3d(0, 0, 0)",pointerEvents:u?"none":void 0},"aria-hidden":u,children:(0,a.jsxs)("nav",{className:"relative z-50 flex h-fit w-full items-center justify-between min-[1025px]:w-auto min-[1025px]:backdrop-blur-md",style:h?j:{paddingInline:"16px",borderRadius:"8px",backgroundColor:"#ffffff",boxShadow:p>.5?"0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1)":"0 4px 6px -1px rgba(0, 0, 0, 0.1)"},children:[(0,a.jsx)(s(),{ref:f,href:"/",className:"relative shrink-0 ".concat(h?"":"h-14 w-[153px]"),style:h?{height:"".concat(56+-8*p,"px"),width:"".concat(153+-21*p,"px")}:void 0,children:(0,a.jsx)(i.default,{src:"/logo navbar/logo navbar.png",alt:"Coinfest Asia",fill:!0,className:"object-contain transition-[filter] duration-300 ".concat(E?"brightness-0 invert":""),priority:!0})}),(0,a.jsxs)("div",{className:"flex items-center gap-4",children:[(0,a.jsxs)("div",{ref:m,className:"hidden shrink-0 items-center min-[1025px]:flex",style:{gap:"".concat(16+-4*p,"px")},children:[c.map(e=>(0,a.jsx)(o.Ay,{variant:"ghost",size:"md",href:e.href,className:N,children:e.label.toUpperCase()},e.href)),(0,a.jsx)(o.Ay,{id:"tickets-button-nav","data-layer-id":"tickets-button-nav",variant:"primary",size:"md",href:"/waitlist",children:"WAITLIST"}),(0,a.jsx)(o.Ay,{variant:"secondary",size:"md",href:"/sponsorship",children:"2027 INQUIRY"})]}),(0,a.jsxs)("button",{className:"inline-flex size-10 items-center justify-center rounded-full border border-gray-200 bg-white text-[#000000] transition-all min-[1025px]:hidden","aria-label":d?"Close menu":"Open menu","aria-expanded":d,onClick:()=>x(e=>!e),children:[(0,a.jsx)("span",{className:"sr-only",children:"Toggle menu"}),(0,a.jsxs)("div",{className:"relative flex size-5 flex-col items-center justify-center",children:[(0,a.jsx)("span",{className:"absolute h-0.5 w-5 bg-[#000000] transition-all duration-300 ".concat(d?"rotate-45":"-translate-y-1.5")}),(0,a.jsx)("span",{className:"absolute h-0.5 w-5 bg-[#000000] transition-all duration-300 ".concat(d?"opacity-0":"opacity-100")}),(0,a.jsx)("span",{className:"absolute h-0.5 w-5 bg-[#000000] transition-all duration-300 ".concat(d?"-rotate-45":"translate-y-1.5")})]})]})]})]})})]})}}}]);

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.