PageSourceSearch

https://www.waatech.xyz/_next/static/chunks/d3721e9082f881ee.js

js waatech.xyz collected 2026-10-05 08:57:15 UTC 31,905 bytes, 1 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,10542,e=>{"use strict";let t,n;var r=e.i(86427),i=e.i(65566),s=e.i(71645),o=e.i(60830),a=e.i(87022);function c(e,t){let n,r=()=>{let{currentTime:r}=t,i=(null===r?0:r.value)/100;n!==i&&e(i),n=i};return a.frame.preUpdate(r,!0),()=>(0,a.cancelFrame)(r)}var u=e.i(30551),l=e.i(89026),h=e.i(49652);let d=new WeakMap,f=(e,t,n)=>(r,i)=>i&&i[0]?i[0][e+"Size"]:(0,l.isSVGElement)(r)&&"getBBox"in r?r.getBBox()[t]:r[n],p=f("inline","width","offsetWidth"),g=f("block","height","offsetHeight");function m({target:e,borderBoxSize:t}){d.get(e)?.forEach(n=>{n(e,{get width(){return p(e,t)},get height(){return g(e,t)}})})}function v(e){e.forEach(m)}let y=new Set;var b=e.i(83920),w=e.i(25791);let S=()=>({current:0,offset:[],progress:0,scrollLength:0,targetOffset:0,targetLength:0,containerLength:0,velocity:0}),E={x:{length:"Width",position:"Left"},y:{length:"Height",position:"Top"}};function C(e,t,n,r){let i=n[t],{length:s,position:o}=E[t],a=i.current,c=n.time;i.current=e[`scroll${o}`],i.scrollLength=e[`scroll${s}`]-e[`client${s}`],i.offset.length=0,i.offset[0]=0,i.offset[1]=i.scrollLength,i.progress=(0,b.progress)(0,i.scrollLength,i.current);let u=r-c;i.velocity=u>50?0:(0,w.velocityPerSecond)(i.current-a,u)}e.i(47167);var P=e.i(44230),O=e.i(15923),k=e.i(76959),x=e.i(72846);let j={start:0,center:.5,end:1};function T(e,t,n=0){let r=0;if(e in j&&(e=j[e]),"string"==typeof e){let t=parseFloat(e);e.endsWith("px")?r=t:e.endsWith("%")?e=t/100:e.endsWith("vw")?r=t/100*document.documentElement.clientWidth:e.endsWith("vh")?r=t/100*document.documentElement.clientHeight:e=t}return"number"==typeof e&&(r=t*e),n+r}let A=[0,0],M=[[0,0],[1,1]],L={x:0,y:0},W=new WeakMap,R=new WeakMap,B=new WeakMap,F=new WeakMap,I=new WeakMap,H=e=>e===document.scrollingElement?window:e;function D(e,{container:r=document.scrollingElement,trackContentSize:i=!1,...s}={}){if(!r)return o.noop;let c=B.get(r);c||(c=new Set,B.set(r,c));let u=function(e,t,n,r={}){return{measure:t=>{!function(e,t=e,n){if(n.x.targetOffset=0,n.y.targetOffset=0,t!==e){let r=t;for(;r&&r!==e;)n.x.targetOffset+=r.offsetLeft,n.y.targetOffset+=r.offsetTop,r=r.offsetParent}n.x.targetLength=t===e?t.scrollWidth:t.clientWidth,n.y.targetLength=t===e?t.scrollHeight:t.clientHeight,n.x.containerLength=e.clientWidth,n.y.containerLength=e.clientHeight}(e,r.target,n),C(e,"x",n,t),C(e,"y",n,t),n.time=t,(r.offset||r.target)&&function(e,t,n){let{offset:r=M}=n,{target:i=e,axis:s="y"}=n,o="y"===s?"height":"width",a=i!==e?function(e,t){let n={x:0,y:0},r=e;for(;r&&r!==t;)if((0,x.isHTMLElement)(r))n.x+=r.offsetLeft,n.y+=r.offsetTop,r=r.offsetParent;else if("svg"===r.tagName){let e=r.getBoundingClientRect(),t=(r=r.parentElement).getBoundingClientRect();n.x+=e.left-t.left,n.y+=e.top-t.top}else if(r instanceof SVGGraphicsElement){let{x:e,y:t}=r.getBBox();n.x+=e,n.y+=t;let i=null,s=r.parentNode;for(;!i;)"svg"===s.tagName&&(i=s),s=r.parentNode;r=i}else break;return n}(i,e):L,c=i===e?{width:e.scrollWidth,height:e.scrollHeight}:"getBBox"in i&&"svg"!==i.tagName?i.getBBox():{width:i.clientWidth,height:i.clientHeight},u={width:e.clientWidth,height:e.clientHeight};t[s].offset.length=0;let l=!t[s].interpolate,h=r.length;for(let e=0;e<h;e++){let n=function(e,t,n,r){let i=Array.isArray(e)?e:A,s=0;return"number"==typeof e?i=[e,e]:"string"==typeof e&&(i=(e=e.trim()).includes(" ")?e.split(" "):[e,j[e]?e:"0"]),(s=T(i[0],n,r))-T(i[1],t)}(r[e],u[o],c[o],a[s]);l||n===t[s].interpolatorOffsets[e]||(l=!0),t[s].offset[e]=n}l&&(t[s].interpolate=(0,P.interpolate)(t[s].offset,(0,O.defaultOffset)(r),{clamp:!1}),t[s].interpolatorOffsets=[...t[s].offset]),t[s].progress=(0,k.clamp)(0,1,t[s].interpolate(t[s].current))}(e,n,r)},notify:()=>t(n)}}(r,e,{time:0,x:S(),y:S()},s);if(c.add(u),!W.has(r)){let e,i=()=>{for(let e of c)e.measure(a.frameData.timestamp);a.frame.preUpdate(s)},s=()=>{for(let e of c)e.notify()},o=()=>a.frame.read(i);W.set(r,o);let u=H(r);window.addEventListener("resize",o,{passive:!0}),r!==document.documentElement&&R.set(r,"function"==typeof r?(y.add(r),n||(n=()=>{let e={get width(){return window.innerWidth},get height(){return window.innerHeight}};
1y.forEach(t=>t(e))},window.addEventListener("resize",n)),()=>{y.delete(r),y.size||"function"!=typeof n||(window.removeEventListener("resize",n),n=void 0)}):(!t&&"u">typeof ResizeObserver&&(t=new ResizeObserver(v)),(e=(0,h.resolveElements)(r)).forEach(e=>{let n=d.get(e);n||(n=new Set,d.set(e,n)),n.add(o),t?.observe(e)}),()=>{e.forEach(e=>{let n=d.get(e);n?.delete(o),n?.size||t?.unobserve(e)})})),u.addEventListener("scroll",o,{passive:!0}),o()}if(i&&!I.has(r)){let e=W.get(r),t={width:r.scrollWidth,height:r.scrollHeight};F.set(r,t);let n=a.frame.read(()=>{let n=r.scrollWidth,i=r.scrollHeight;(t.width!==n||t.height!==i)&&(e(),t.width=n,t.height=i)},!0);I.set(r,n)}let l=W.get(r);return a.frame.read(l,!1,!0),()=>{(0,a.cancelFrame)(l);let e=B.get(r);if(!e||(e.delete(u),e.size))return;let t=W.get(r);W.delete(r),t&&(H(r).removeEventListener("scroll",t),R.get(r)?.(),window.removeEventListener("resize",t));let n=I.get(r);n&&((0,a.cancelFrame)(n),I.delete(r)),F.delete(r)}}let z=new Map;function N({source:e,container:t,...n}){var r;let i,s,{axis:o}=n;e&&(t=e);let a=z.get(t)??new Map;z.set(t,a);let c=n.target??"self",l=a.get(c)??{},h=o+(n.offset??[]).join(",");return l[h]||(l[h]=!n.target&&(0,u.supportsScrollTimeline)()?new ScrollTimeline({source:t,axis:o}):(r={container:t,...n},i={value:0},s=D(e=>{i.value=100*e[r.axis].progress},r),{currentTime:i,cancel:s})),l[h]}var $=e.i(47414),_=e.i(74008);let G=()=>({scrollX:(0,r.motionValue)(0),scrollY:(0,r.motionValue)(0),scrollXProgress:(0,r.motionValue)(0),scrollYProgress:(0,r.motionValue)(0)}),K=e=>!!e&&!e.current;function U({container:e,target:t,...n}={}){let r=(0,$.useConstant)(G),a=(0,s.useRef)(null),u=(0,s.useRef)(!1),l=(0,s.useCallback)(()=>(a.current=function(e,{axis:t="y",container:n=document.scrollingElement,...r}={}){var i,s;let a;
1if(!n)return o.noop;let u={axis:t,container:n,...r};return"function"==typeof e?(i=e,s=u,2===i.length?D(e=>{i(e[s.axis].progress,e)},s):c(i,N(s))):(a=N(u),e.attachTimeline({timeline:u.target?void 0:a,observe:e=>(e.pause(),c(t=>{e.time=e.iterationDuration*t},a))}))}((e,{x:t,y:n})=>{r.scrollX.set(t.current),r.scrollXProgress.set(t.progress),r.scrollY.set(n.current),r.scrollYProgress.set(n.progress)},{...n,container:e?.current||void 0,target:t?.current||void 0}),()=>{a.current?.()}),[e,t,JSON.stringify(n.offset)]);return(0,_.useIsomorphicLayoutEffect)(()=>{if(u.current=!1,!(K(e)||K(t)))return l();u.current=!0},[l]),(0,s.useEffect)(()=>u.current?((0,i.invariant)(!K(e),"Container ref is defined but not hydrated","use-scroll-ref"),(0,i.invariant)(!K(t),"Target ref is defined but not hydrated","use-scroll-ref"),l()):void 0,[l]),r}e.s(["useScroll",()=>U],10542)},37654,7233,e=>{"use strict";let t=[{id:"waa-tshirt-black",name:"WAA Classic Tee - Black",description:"Premium cotton t-shirt with the classic WAA logo. Embrace the future in style.",price:2500,image:"/images/merch/tshirt-black.png",category:"apparel",sizes:["S","M","L","XL","2XL"],inStock:!0},{id:"waa-tshirt-white",name:"WAA Classic Tee - White",description:"Premium cotton t-shirt with the inverted WAA logo. Clean and minimal.",price:2500,image:"/images/merch/tshirt-white.png",category:"apparel",sizes:["S","M","L","XL","2XL"],inStock:!0},{id:"waa-hoodie-black",name:"WAA Essential Hoodie",description:"Cozy heavyweight hoodie with embroidered WAA logo. Perfect for hackathon nights.",price:5500,image:"/images/merch/hoodie-black.png",category:"apparel",sizes:["S","M","L","XL","2XL"],inStock:!0},{id:"waa-cap",name:"WAA Dad Cap",description:"Structured dad cap with embroidered WAA logo. Adjustable strap.",price:2e3,image:"/images/merch/cap.png",category:"accessories",inStock:!0},{id:"waa-beanie",name:"WAA Beanie",description:"Knit beanie with woven WAA patch. Stay warm while building the future.",price:1800,image:"/images/merch/beanie.png",category:"accessories",inStock:!0},{id:"waa-sticker-pack",name:"WAA Sticker Pack",description:"Pack of 5 vinyl stickers featuring WAA logos and Web3 designs. Laptop approved.",price:800,image:"/images/merch/stickers.png",category:"stickers",inStock:!0},{id:"waa-holographic-sticker",name:"Holographic WAA Sticker",description:"Limited edition holographic sticker. Catches light like an NFT catches attention.",price:500,image:"/images/merch/holographic-sticker.png",category:"stickers",inStock:!0},{id:"waa-tote",name:"WAA Canvas Tote",description:"Heavy-duty canvas tote bag. Carry your laptop and dreams in style.",price:1500,image:"/images/merch/tote.png",category:"accessories",inStock:!0}];function n(e){return t.filter(t=>t.category===e)}function r(e){return`$${(e/100).toFixed(2)}`}e.s(["WELCOME_PACKAGE",0,{id:"member-welcome-package",name:"Member Welcome Package",description:"Exclusive package for WAA members. Includes: WAA Classic Tee, Sticker Pack, and Holographic Sticker. One-time claim.",price:0,image:"/images/merch/welcome-package.png",category:"bundle",sizes:["S","M","L","XL","2XL"],inStock:!0,memberExclusive:!0},"formatPrice",()=>r,"getProductsByCategory",()=>n,"products",0,t],37654);let i=(0,e.i(75254).default)("plus",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]]);e.s(["Plus",()=>i],7233)},80166,e=>{"use strict";var t={setTimeout:(e,t)=>setTimeout(e,t),clearTimeout:e=>clearTimeout(e),setInterval:(e,t)=>setInterval(e,t),clearInterval:e=>clearInterval(e)},n=new class{#e=t;#t=!1;setTimeoutProvider(e){this.#e=e}setTimeout(e,t){return this.#e.setTimeout(e,t)}clearTimeout(e){this.#e.clearTimeout(e)}setInterval(e,t){return this.#e.setInterval(e,t)}clearInterval(e){this.#e.clearInterval(e)}};function r(e){setTimeout(e,0)}e.s(["systemSetTimeoutZero",()=>r,"timeoutManager",()=>n])},19273,e=>{"use strict";var t=e.i(80166),n="u"<typeof window||"Deno"in globalThis;function r(){}function i(e,t){return"function"==typeof e?e(t):e}function s(e){return"number"==typeof e&&e>=0&&e!==1/0}function o(e,t){return Math.max(e+(t||0)-Date.now(),0)}function a(e,t){return"function"==typeof e?e(t):e}function c(e,t){return"function"==typeof e?e(t):e}function u(e,t){let{type:n="all",exact:r,fetchStatus:i,predicate:s,queryKey:o,stale:a}=e;if(o){if(r){if(t.queryHash!==h(o,t.options))return!1}else if(!f(t.queryKey,o))return!1}if("all"!==n){let e=t.isActive();if("active"===n&&!e||"inactive"===n&&e)return!1}return("boolean"!=typeof a||t.isStale()===a)&&(!i||i===t.state.fetchStatus)&&(!s||!!s(t))}function l(e,t){let{exact:n,status:r,predicate:i,mutationKey:s}=e;if(s){if(!t.options.mutationKey)return!1;if(n){if(d(t.options.mutationKey)!==d(s))return!1}else if(!f(t.options.mutationKey,s))return!1}return(!r||t.state.status===r)&&(!i||!!i(t))}function h(e,t){return(t?.queryKeyHashFn||d)(e)}function d(e){return JSON.stringify(e,(e,t)=>v(t)?Object.keys(t).sort().reduce((e,n)=>(e[n]=t[n],e),{}):t)}function f(e,t){return e===t||typeof e==typeof t&&!!e&&!!t&&"object"==typeof e&&"object"==typeof t&&Object.keys(t).every(n=>f(e[n],t[n]))}var p=Object.prototype.hasOwnProperty;function g(e,t){if(!t||Object.keys(e).length!==Object.keys(t).length)return!1;for(let n in e)if(e[n]!==t[n])return!1;return!0}function m(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function v(e){if(!y(e))return!1;let t=e.constructor;if(void 0===t)return!0;let n=t.prototype;return!!y(n)&&!!n.hasOwnProperty("isPrototypeOf")&&Object.getPrototypeOf(e)===Object.prototype}function y(e){return"[object Object]"===Object.prototype.toString.call(e)}function b(e){return new Promise(n=>{t.timeoutManager.setTimeout(n,e)})}function w(e,t,n){return"function"==typeof n.structuralSharing?n.structuralSharing(e,t):!1!==n.structuralSharing?function e(t,n,r=0){if(t===n)return t;if(r>500)return n;let i=m(t)&&m(n);if(!i&&!(v(t)&&v(n)))return n;let s=(i?t:Object.keys(t)).length,o=i?n:Object.keys(n),a=o.length,c=i?Array(a):{},u=0;for(let l=0;l<a;
1l++){let a=i?l:o[l],h=t[a],d=n[a];if(h===d){c[a]=h,(i?l<s:p.call(t,a))&&u++;continue}if(null===h||null===d||"object"!=typeof h||"object"!=typeof d){c[a]=d;continue}let f=e(h,d,r+1);c[a]=f,f===h&&u++}return s===a&&u===s?t:c}(e,t):t}function S(e,t,n=0){let r=[...e,t];return n&&r.length>n?r.slice(1):r}function E(e,t,n=0){let r=[t,...e];return n&&r.length>n?r.slice(0,-1):r}var C=Symbol();function P(e,t){return!e.queryFn&&t?.initialPromise?()=>t.initialPromise:e.queryFn&&e.queryFn!==C?e.queryFn:()=>Promise.reject(Error(`Missing queryFn: '${e.queryHash}'`))}function O(e,t){return"function"==typeof e?e(...t):!!e}function k(e,t,n){let r,i=!1;return Object.defineProperty(e,"signal",{enumerable:!0,get:()=>(r??=t(),i||(i=!0,r.aborted?n():r.addEventListener("abort",n,{once:!0})),r)}),e}e.s(["addConsumeAwareSignal",()=>k,"addToEnd",()=>S,"addToStart",()=>E,"ensureQueryFn",()=>P,"functionalUpdate",()=>i,"hashKey",()=>d,"hashQueryKeyByOptions",()=>h,"isServer",()=>n,"isValidTimeout",()=>s,"matchMutation",()=>l,"matchQuery",()=>u,"noop",()=>r,"partialMatchKey",()=>f,"replaceData",()=>w,"resolveEnabled",()=>c,"resolveStaleTime",()=>a,"shallowEqualObjects",()=>g,"shouldThrowError",()=>O,"skipToken",()=>C,"sleep",()=>b,"timeUntilStale",()=>o])},40143,e=>{"use strict";let t,n,r,i,s,o;var a=e.i(80166).systemSetTimeoutZero,c=(t=[],n=0,r=e=>{e()},i=e=>{e()},s=a,{batch:e=>{let o;n++;try{o=e()}finally{let e;--n||(e=t,t=[],e.length&&s(()=>{i(()=>{e.forEach(e=>{r(e)})})}))}return o},batchCalls:e=>(...t)=>{o(()=>{e(...t)})},schedule:o=e=>{n?t.push(e):s(()=>{r(e)})},setNotifyFunction:e=>{r=e},setBatchNotifyFunction:e=>{i=e},setScheduler:e=>{s=e}});e.s(["notifyManager",()=>c])},36553,15823,75555,14448,e=>{"use strict";var t=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(e){return this.listeners.add(e),this.onSubscribe(),()=>{this.listeners.delete(e),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}};e.s(["Subscribable",()=>t],15823);var n=e.i(19273),r=new class extends t{#n;#r;#i;constructor(){super(),this.#i=e=>{if(!n.isServer&&window.addEventListener){let t=()=>e();return window.addEventListener("visibilitychange",t,!1),()=>{window.removeEventListener("visibilitychange",t)}}}}onSubscribe(){this.#r||this.setEventListener(this.#i)}onUnsubscribe(){this.hasListeners()||(this.#r?.(),this.#r=void 0)}setEventListener(e){this.#i=e,this.#r?.(),this.#r=e(e=>{"boolean"==typeof e?this.setFocused(e):this.onFocus()})}setFocused(e){this.#n!==e&&(this.#n=e,this.onFocus())}onFocus(){let e=this.isFocused();this.listeners.forEach(t=>{t(e)})}isFocused(){return"boolean"==typeof this.#n?this.#n:globalThis.document?.visibilityState!=="hidden"}};e.s(["focusManager",()=>r],75555);var i=new class extends t{#s=!0;#r;#i;constructor(){super(),this.#i=e=>{if(!n.isServer&&window.addEventListener){let t=()=>e(!0),n=()=>e(!1);return window.addEventListener("online",t,!1),window.addEventListener("offline",n,!1),()=>{window.removeEventListener("online",t),window.removeEventListener("offline",n)}}}}onSubscribe(){this.#r||this.setEventListener(this.#i)}onUnsubscribe(){this.hasListeners()||(this.#r?.(),this.#r=void 0)}setEventListener(e){this.#i=e,this.#r?.(),this.#r=e(this.setOnline.bind(this))}setOnline(e){this.#s!==e&&(this.#s=e,this.listeners.forEach(t=>{t(e)}))}isOnline(){return this.#s}};function s(e){return Math.min(1e3*2**e,3e4)}function o(e){return(e??"online")!=="online"||i.isOnline()}e.s(["onlineManager",()=>i],14448);var a=class extends Error{constructor(e){super("CancelledError"),this.revert=e?.revert,this.silent=e?.silent}};function c(e){let t,c=!1,u=0,l=function(){let e,t,n=new Promise((n,r)=>{e=n,t=r});function r(e){Object.assign(n,e),delete n.resolve,delete n.reject}return n.status="pending",n.catch(()=>{}),n.resolve=t=>{r({status:"fulfilled",value:t}),e(t)},n.reject=e=>{r({status:"rejected",reason:e}),t(e)},n}(),h=()=>r.isFocused()&&("always"===e.networkMode||i.isOnline())&&e.canRun(),d=()=>o(e.networkMode)&&e.canRun(),f=e=>{"pending"===l.status&&(t?.(),l.resolve(e))},p=e=>
1{"pending"===l.status&&(t?.(),l.reject(e))},g=()=>new Promise(n=>{t=e=>{("pending"!==l.status||h())&&n(e)},e.onPause?.()}).then(()=>{t=void 0,"pending"===l.status&&e.onContinue?.()}),m=()=>{let t;if("pending"!==l.status)return;let r=0===u?e.initialPromise:void 0;try{t=r??e.fn()}catch(e){t=Promise.reject(e)}Promise.resolve(t).then(f).catch(t=>{if("pending"!==l.status)return;let r=e.retry??3*!n.isServer,i=e.retryDelay??s,o="function"==typeof i?i(u,t):i,a=!0===r||"number"==typeof r&&u<r||"function"==typeof r&&r(u,t);c||!a?p(t):(u++,e.onFail?.(u,t),(0,n.sleep)(o).then(()=>h()?void 0:g()).then(()=>{c?p(t):m()}))})};return{promise:l,status:()=>l.status,cancel:t=>{if("pending"===l.status){let n=new a(t);p(n),e.onCancel?.(n)}},continue:()=>(t?.(),l),cancelRetry:()=>{c=!0},continueRetry:()=>{c=!1},canStart:d,start:()=>(d()?m():g().then(m),l)}}e.s(["CancelledError",()=>a,"canFetch",()=>o,"createRetryer",()=>c],36553)},88587,e=>{"use strict";var t=e.i(80166),n=e.i(19273),r=class{#o;destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),(0,n.isValidTimeout)(this.gcTime)&&(this.#o=t.timeoutManager.setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(n.isServer?1/0:3e5))}clearGcTimeout(){this.#o&&(t.timeoutManager.clearTimeout(this.#o),this.#o=void 0)}};e.s(["Removable",()=>r])},74983,96247,91346,e=>{"use strict";var t,n,r=e.i(71645);let i=!1;async function s(e,t={}){let n;if(i)return[];i=!0,e.setState(e=>({...e,status:e.current?"reconnecting":"connecting"}));let r=[];if(t.connectors?.length)for(let n of t.connectors){let t;t="function"==typeof n?e._internal.connectors.setup(n):n,r.push(t)}else r.push(...e.connectors);try{n=await e.storage?.getItem("recentConnectorId")}catch{}let o={};for(let[,t]of e.state.connections)o[t.connector.id]=1;n&&(o[n]=0);let a=Object.keys(o).length>0?[...r].sort((e,t)=>(o[e.id]??10)-(o[t.id]??10)):r,c=!1,u=[],l=[];for(let t of a){let n=await t.getProvider().catch(()=>void 0);if(!n||l.some(e=>e===n)||!await t.isAuthorized())continue;let r=await t.connect({isReconnecting:!0}).catch(()=>null);r&&(t.emitter.off("connect",e._internal.events.connect),t.emitter.on("change",e._internal.events.change),t.emitter.on("disconnect",e._internal.events.disconnect),e.setState(e=>{let n=new Map(c?e.connections:new Map).set(t.uid,{accounts:r.accounts,chainId:r.chainId,connector:t});return{...e,current:c?e.current:t.uid,connections:n}}),u.push({accounts:r.accounts,chainId:r.chainId,connector:t}),l.push(n),c=!0)}return("reconnecting"===e.state.status||"connecting"===e.state.status)&&(c?e.setState(e=>({...e,status:"connected"})):e.setState(e=>({...e,connections:new Map,current:null,status:"disconnected"}))),i=!1,u}function o(e){let{children:t,config:n,initialState:i,reconnectOnMount:o=!0}=e,{onMount:a}=function(e,t){let{initialState:n,reconnectOnMount:r}=t;return n&&!e._internal.store.persist.hasHydrated()&&e.setState({...n,chainId:e.chains.some(e=>e.id===n.chainId)?n.chainId:e.chains[0].id,connections:r?n.connections:new Map,status:r?"reconnecting":"disconnected"}),{async onMount(){e._internal.ssr&&(await e._internal.store.persist.rehydrate(),e._internal.mipd&&e._internal.connectors.setState(t=>{let n=new Set;for(let e of t??[])if(e.rdns)for(let t of Array.isArray(e.rdns)?e.rdns:[e.rdns])n.add(t);let r=[];for(let t of e._internal.mipd?.getProviders()??[]){if(n.has(t.info.rdns))continue;let i=e._internal.connectors.providerDetailToConnector(t),s=e._internal.connectors.setup(i);r.push(s)}return[...t,...r]})),r?s(e):e.storage&&e.setState(e=>({...e,connections:new Map}))}}}(n,{initialState:i,reconnectOnMount:o});n._internal.ssr||a();let c=(0,r.useRef)(!0);return(0,r.useEffect)(()=>{if(c.current&&n._internal.ssr)return a(),()=>{c.current=!1}},[]),t}let a=(0,r.createContext)(void 0);function c(e){let{children:t,config:n}=e;return(0,r.createElement)(o,e,(0,r.createElement)(a.Provider,{value:n},t))}e.s(["WagmiContext",0,a,"WagmiProvider",()=>c],74983);let u="3.3.2";e.s(["version",0,u],96247);var l=function(e,t,n,r){if("a"===n&&!r)throw TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!r:!t.has(e))throw TypeError("Cannot read private member from an object whose class did not declare it");return"m"===n?r:"a"===n?r.call(e):r?r.value:t.get(e)};
1class h extends Error{get docsBaseUrl(){return"https://wagmi.sh/core"}get version(){return`@wagmi/core@${u}`}constructor(e,n={}){super(),t.add(this),Object.defineProperty(this,"details",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"docsPath",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"metaMessages",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"shortMessage",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"WagmiCoreError"});const r=n.cause instanceof h?n.cause.details:n.cause?.message?n.cause.message:n.details,i=n.cause instanceof h&&n.cause.docsPath||n.docsPath;this.message=[e||"An error occurred.","",...n.metaMessages?[...n.metaMessages,""]:[],...i?[`Docs: ${this.docsBaseUrl}${i}.html${n.docsSlug?`#${n.docsSlug}`:""}`]:[],...r?[`Details: ${r}`]:[],`Version: ${this.version}`].join("\n"),n.cause&&(this.cause=n.cause),this.details=r,this.docsPath=i,this.metaMessages=n.metaMessages,this.shortMessage=e}walk(e){return l(this,t,"m",n).call(this,this,e)}}t=new WeakSet,n=function e(n,r){return r?.(n)?n:n.cause?l(this,t,"m",e).call(this,n.cause,r):n},e.s(["BaseError",()=>h],91346)},14272,12598,6148,e=>{"use strict";var t=e.i(40143),n=e.i(88587),r=e.i(36553),i=class extends n.Removable{#a;#c;#u;#l;constructor(e){super(),this.#a=e.client,this.mutationId=e.mutationId,this.#u=e.mutationCache,this.#c=[],this.state=e.state||s(),this.setOptions(e.options),this.scheduleGc()}setOptions(e){this.options=e,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(e){this.#c.includes(e)||(this.#c.push(e),this.clearGcTimeout(),this.#u.notify({type:"observerAdded",mutation:this,observer:e}))}removeObserver(e){this.#c=this.#c.filter(t=>t!==e),this.scheduleGc(),this.#u.notify({type:"observerRemoved",mutation:this,observer:e})}optionalRemove(){this.#c.length||("pending"===this.state.status?this.scheduleGc():this.#u.remove(this))}continue(){return this.#l?.continue()??this.execute(this.state.variables)}async execute(e){let t=()=>{this.#h({type:"continue"})},n={client:this.#a,meta:this.options.meta,mutationKey:this.options.mutationKey};this.#l=(0,r.createRetryer)({fn:()=>this.options.mutationFn?this.options.mutationFn(e,n):Promise.reject(Error("No mutationFn found")),onFail:(e,t)=>{this.#h({type:"failed",failureCount:e,error:t})},onPause:()=>{this.#h({type:"pause"})},onContinue:t,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>this.#u.canRun(this)});let i="pending"===this.state.status,s=!this.#l.canStart();try{if(i)t();else{this.#h({type:"pending",variables:e,isPaused:s}),this.#u.config.onMutate&&await this.#u.config.onMutate(e,this,n);let t=await this.options.onMutate?.(e,n);t!==this.state.context&&this.#h({type:"pending",context:t,variables:e,isPaused:s})}let r=await this.#l.start();return await this.#u.config.onSuccess?.(r,e,this.state.context,this,n),await this.options.onSuccess?.(r,e,this.state.context,n),await this.#u.config.onSettled?.(r,null,this.state.variables,this.state.context,this,n),await this.options.onSettled?.(r,null,e,this.state.context,n),this.#h({type:"success",data:r}),r}catch(t){try{await this.#u.config.onError?.(t,e,this.state.context,this,n)}catch(e){Promise.reject(e)}try{await this.options.onError?.(t,e,this.state.context,n)}catch(e){Promise.reject(e)}try{await this.#u.config.onSettled?.(void 0,t,this.state.variables,this.state.context,this,n)}catch(e){Promise.reject(e)}try{await this.options.onSettled?.(void 0,t,e,this.state.context,n)}catch(e){Promise.reject(e)}throw this.#h({type:"error",error:t}),t}finally{this.#u.runNext(this)}}#h(e){this.state=(t=>{switch(e.type){case"failed":return{...t,failureCount:e.failureCount,failureReason:e.error};case"pause":return{...t,isPaused:!0};case"continue":return{...t,isPaused:!1};case"pending":return{...t,context:e.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:e.isPaused,status:"pending",variables:e.variables,submittedAt:Date.now()};case"success":return{...t,data:e.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...t,data:void 0,error:e.error,failureCount:t.failureCount+1,failureReason:e.error,isPau
1sed:!1,status:"error"}}})(this.state),t.notifyManager.batch(()=>{this.#c.forEach(t=>{t.onMutationUpdate(e)}),this.#u.notify({mutation:this,type:"updated",action:e})})}};function s(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}e.s(["Mutation",()=>i,"getDefaultState",()=>s],14272);var o=e.i(71645),a=e.i(43476),c=o.createContext(void 0),u=e=>{let t=o.useContext(c);if(e)return e;if(!t)throw Error("No QueryClient set, use QueryClientProvider to set one");return t},l=({client:e,children:t})=>(o.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]),(0,a.jsx)(c.Provider,{value:e,children:t}));e.s(["QueryClientProvider",()=>l,"useQueryClient",()=>u],12598);var h=e.i(91346);class d extends h.BaseError{constructor(){super("Chain not configured."),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"ChainNotConfiguredError"})}}class f extends h.BaseError{constructor(){super("Connector already connected."),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"ConnectorAlreadyConnectedError"})}}h.BaseError,h.BaseError,h.BaseError,h.BaseError,h.BaseError,e.s(["ChainNotConfiguredError",()=>d,"ConnectorAlreadyConnectedError",()=>f],6148)},55838,(e,t,n)=>{"use strict";var r=e.r(71645),i="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},s=r.useState,o=r.useEffect,a=r.useLayoutEffect,c=r.useDebugValue;function u(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!i(e,n)}catch(e){return!0}}var l="u"<typeof window||void 0===window.document||void 0===window.document.createElement?function(e,t){return t()}:function(e,t){var n=t(),r=s({inst:{value:n,getSnapshot:t}}),i=r[0].inst,l=r[1];return a(function(){i.value=n,i.getSnapshot=t,u(i)&&l({inst:i})},[e,n,t]),o(function(){return u(i)&&l({inst:i}),e(function(){u(i)&&l({inst:i})})},[e]),c(n),n};n.useSyncExternalStore=void 0!==r.useSyncExternalStore?r.useSyncExternalStore:l},2239,(e,t,n)=>{"use strict";t.exports=e.r(55838)},52822,(e,t,n)=>{"use strict";var r=e.r(71645),i=e.r(2239),s="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},o=i.useSyncExternalStore,a=r.useRef,c=r.useEffect,u=r.useMemo,l=r.useDebugValue;n.useSyncExternalStoreWithSelector=function(e,t,n,r,i){var h=a(null);if(null===h.current){var d={hasValue:!1,value:null};h.current=d}else d=h.current;var f=o(e,(h=u(function(){function e(e){if(!c){if(c=!0,o=e,e=r(e),void 0!==i&&d.hasValue){var t=d.value;if(i(t,e))return a=t}return a=e}if(t=a,s(o,e))return t;var n=r(e);return void 0!==i&&i(t,n)?(o=e,t):(o=e,a=n)}var o,a,c=!1,u=void 0===n?null:n;return[function(){return e(t())},null===u?void 0:function(){return e(u())}]},[t,n,r,i]))[0],h[1]);return c(function(){d.hasValue=!0,d.value=f},[f]),l(f),f}},30224,(e,t,n)=>{"use strict";t.exports=e.r(52822)},75999,65087,10920,12573,e=>{"use strict";var t=e.i(43476),n=e.i(71645);function r(e){let t=e.state.current,n=e.state.connections.get(t),r=n?.accounts,i=r?.[0],s=e.chains.find(e=>e.id===n?.chainId),o=e.state.status;switch(o){case"connected":return{address:i,addresses:r,chain:s,chainId:n?.chainId,connector:n?.connector,isConnected:!0,isConnecting:!1,isDisconnected:!1,isReconnecting:!1,status:o};case"reconnecting":return{address:i,addresses:r,chain:s,chainId:n?.chainId,connector:n?.connector,isConnected:!!i,isConnecting:!1,isDisconnected:!1,isReconnecting:!0,status:o};case"connecting":return{address:i,addresses:r,chain:s,chainId:n?.chainId,connector:n?.connector,isConnected:!1,isConnecting:!0,isDisconnected:!1,isReconnecting:!1,status:o};case"disconnected":return{address:void 0,addresses:void 0,chain:void 0,chainId:void 0,connector:void 0,isConnected:!1,isConnecting:!1,isDisconnected:!0,isReconnecting:!1,status:o}}}function i(e,t){if(e===t)return!0;if(e&&t&&"object"==typeof e&&"object"==typeof t){let n,r;if(e.constructor!==t.constructor)return!1;if(Array.isArray(e)&&Array.isArray(t)){if((n=e.length)!==t.length)return!1;for(r=n;0!=r--;)if(!i(e[r],t[r]))return!1;return!0}if("function"==typeof e.valueOf&&e.valueOf!==Object.prototype.valueOf)return e.valueOf()===t.valueOf();if("function"==typeof e.toString&&e.toString!==Object.prototype.toString)return e.toString()===t.toString();let s=Object.keys(e);if((n=s.length)!==Object.keys(t).length)return!1;for(r=n;0!=r--;)if(!Object.hasOwn(t,s[r]))return!1;for(r=n;0!=r--;){let n=s[r];if(n&&!i(e[n],t[n]))return!1}return!0}return e!=e&&t!=t}e.s(["deepEqual",()=>i],65087);var s=e.i(74983),o=e.i(91346);class a extends o.BaseError{constructor(){super(...arguments),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"WagmiError"})}get docsBaseUrl(){return"https://wagmi.sh/react"}get version(){return"[email protected]"}}class c extends a{constructor(){super("`useConfig` must be used within `WagmiProvi
1der`.",{docsPath:"/api/WagmiProvider"}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"WagmiProviderNotFoundError"})}}function u(e={}){let t=e.config??(0,n.useContext)(s.WagmiContext);if(!t)throw new c;return t}e.s(["useConfig",()=>u],10920);var l=e.i(30224);let h=e=>"object"==typeof e&&!Array.isArray(e);function d(e={}){let t=u(e);return function(e,t,r=t,s=i){let o=(0,n.useRef)([]),a=(0,l.useSyncExternalStoreWithSelector)(e,t,r,e=>e,(e,t)=>{if(h(e)&&h(t)&&o.current.length){for(let n of o.current)if(!s(e[n],t[n]))return!1;return!0}return s(e,t)});return(0,n.useMemo)(()=>{if(h(a)){let e={...a},t={};for(let[n,r]of Object.entries(e))t={...t,[n]:{configurable:!1,enumerable:!0,get:()=>(o.current.includes(n)||o.current.push(n),r)}};return Object.defineProperties(e,t),e}return a},[a])}(e=>(function(e,t){let{onChange:n}=t;return e.subscribe(()=>r(e),n,{equalityFn(e,t){let{connector:n,...r}=e,{connector:s,...o}=t;return i(r,o)&&n?.id===s?.id&&n?.uid===s?.uid}})})(t,{onChange:e}),()=>r(t))}e.s(["useAccount",()=>d],12573);let f=(0,n.createContext)({isConnected:!1,isMember:!1,isChecking:!1,address:void 0,hasRedeemed:!1,markAsRedeemed:async()=>{}});function p({children:e}){let{address:r,isConnected:i}=d(),[s,o]=(0,n.useState)(!1),[a,c]=(0,n.useState)(!1),[u,l]=(0,n.useState)(!1),[h,p]=(0,n.useState)(!1);(0,n.useEffect)(()=>{o(!0)},[]),(0,n.useEffect)(()=>{!async function(){if(!r||!s){c(!1),p(!1);return}l(!0);try{let[e,t]=await Promise.all([fetch(`/api/membership?address=${r}`),fetch(`/api/redemption?address=${r}`)]),n=await e.json(),i=await t.json();c(!0===n.isMember),p(!0===i.hasRedeemed)}catch(e){console.error("Error checking membership:",e),c(!1),p(!1)}finally{l(!1)}}()},[r,s]);let g=(0,n.useCallback)(async()=>{if(r)try{await fetch("/api/redemption",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({address:r})}),p(!0)}catch(e){console.error("Error marking as redeemed:",e)}},[r]);return(0,t.jsx)(f.Provider,{value:{isConnected:s&&i,isMember:a,isChecking:u,address:r,hasRedeemed:h,markAsRedeemed:g},children:e})}function g(){return(0,n.useContext)(f)}e.s(["MembershipProvider",()=>p,"useMembership",()=>g],75999)}]);

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.