1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,757086,t=>{"use strict";var e=t.i(311629);let a="u">typeof globalThis?globalThis:"u">typeof self?self:"u">typeof window?window:t.g,s=a.fetch?(...t)=>a.fetch(...t):()=>Promise.reject(Error("[ofetch] global.fetch is not supported!")),r=a.Headers,n=a.AbortController,i=(0,e.c)({fetch:s,Headers:r,AbortController:n});t.s(["ofetch",0,i])},332927,t=>{"use strict";var e=t.i(300059),a=t.i(903442);t.s(["parseSignature",0,function(t){let{r:s,s:r}=e.secp256k1.Signature.fromCompact(t.slice(2,130)),n=Number(`0x${t.slice(130)}`),[i,o]=(()=>{if(0===n||1===n)return[void 0,n];if(27===n)return[BigInt(n),0];if(28===n)return[BigInt(n),1];throw Error("Invalid yParityOrV value")})();return void 0!==i?{r:(0,a.numberToHex)(s,{size:32}),s:(0,a.numberToHex)(r,{size:32}),v:i,yParity:o}:{r:(0,a.numberToHex)(s,{size:32}),s:(0,a.numberToHex)(r,{size:32}),yParity:o}}])},722978,t=>{"use strict";t.s(["clsx",0,function(){for(var t,e,a=0,s="";a<arguments.length;)(t=arguments[a++])&&(e=function t(e){var a,s,r="";if("string"==typeof e||"number"==typeof e)r+=e;else if("object"==typeof e)if(Array.isArray(e))for(a=0;a<e.length;a++)e[a]&&(s=t(e[a]))&&(r&&(r+=" "),r+=s);else for(a in e)e[a]&&(r&&(r+=" "),r+=a);return r}(t))&&(s&&(s+=" "),s+=e);return s}])},878528,(t,e,a)=>{"use strict";var s=t.r(617708),r="function"==typeof Object.is?Object.is:function(t,e){return t===e&&(0!==t||1/t==1/e)||t!=t&&e!=e},n=s.useSyncExternalStore,i=s.useRef,o=s.useEffect,c=s.useMemo,l=s.useDebugValue;a.useSyncExternalStoreWithSelector=function(t,e,a,s,u){var d=i(null);if(null===d.current){var h={hasValue:!1,value:null};d.current=h}else h=d.current;var p=n(t,(d=c(function(){function t(t){if(!o){if(o=!0,n=t,t=s(t),void 0!==u&&h.hasValue){var e=h.value;if(u(e,t))return i=e}return i=t}if(e=i,r(n,t))return e;var a=s(t);return void 0!==u&&u(e,a)?(n=t,e):(n=t,i=a)}var n,i,o=!1,c=void 0===a?null:a;return[function(){return t(e())},null===c?void 0:function(){return t(c())}]},[e,a,s,u]))[0],d[1]);return o(function(){h.hasValue=!0,h.value=p},[p]),l(p),p}},352445,(t,e,a)=>{"use strict";e.exports=t.r(878528)},753482,213307,t=>{"use strict";var e=t.i(163231),a=t.i(389267),s=t.i(243049),r=t.i(951276),n=t.i(281951),i=t.i(748519),o=t.i(371572),c=t.i(93728),l=t.i(410458),u=t.i(903442),d=t.i(399131),h=t.i(855188);let p="0x5792579257925792579257925792579257925792579257925792579257925792",f=(0,u.numberToHex)(0,{size:32});async function m(t,e){let{account:a=t.account,chain:r=t.chain,experimental_fallback:m,experimental_fallbackDelay:v=32,forceAtomic:g=!1,id:y,version:w="2.0.0"}=e,j=a?(0,n.parseAccount)(a):null,k=e.capabilities;t.dataSuffix&&!e.capabilities?.dataSuffix&&(k="string"==typeof t.dataSuffix?{...e.capabilities,dataSuffix:{value:t.dataSuffix,optional:!0}}:{...e.capabilities,dataSuffix:{value:t.dataSuffix.value,...t.dataSuffix.required?{}:{optional:!0}}});let b=e.calls.map(t=>{let e=t.abi?(0,c.encodeFunctionData)({abi:t.abi,functionName:t.functionName,args:t.args}):t.data;return{data:t.dataSuffix&&e?(0,l.concat)([e,t.dataSuffix]):e,to:t.to,value:t.value?(0,u.numberToHex)(t.value):void 0}});try{let e=await t.request({method:"wallet_sendCalls",params:[{atomicRequired:g,calls:b,capabilities:k,chainId:(0,u.numberToHex)(r.id),from:j?.address,id:y,version:w}]},{retryCount:0});if("string"==typeof e)return{id:e};return e}catch(a){if(m&&("MethodNotFoundRpcError"===a.name||"MethodNotSupportedRpcError"===a.name||"UnknownRpcError"===a.name||a.details.toLowerCase().includes("does not exist / is not available")||a.details.toLowerCase().includes("missing or invalid. request()")||a.details.toLowerCase().includes("did not match any variant of untagged enum")||a.details.toLowerCase().includes("account upgraded to unsupported contract")||a.details.toLowerCase().includes("eip-7702 not supported")||a.details.toLowerCase().includes("unsupported wc_ method")||a.details.toLowerCase().includes("feature toggled misconfigured")||a.details.toLowerCase().includes("jsonrpcengine: response has no error or result for request"))){if(k&&Object.values(k).some(t=>!t.optional)){let t="non-optional `capabilities` are not supported on fallback to `eth_sendTransaction`.";throw new o.UnsupportedNonOptionalCapabilityError(new i.BaseError(t,{details:t}))}if(g&&b.length>1){let t="`forceAtomic` is not supported on fallback to `eth_sendTransaction`.";throw new o.AtomicityNotSupportedError(new i.BaseError(t,{details:t}))}let e=[];for(let a of b){try{let n=await (0,h.sendTransaction)(t,{account:j,chain:r,data:a.data,to:a.to,value:a.value?(0,s.hexToBigInt)(a.value):void 0});e.push({status:"fulfilled",value:n})}catch(t){e.push({reason:t,status:"rejected"})}v>0&&await new Promise(t=>setTimeout(t,v))}if(e.every(t=>"rejected"===t.status))throw e[0].reason;let a=e.map(t=>"fulfilled"===t.status?t.value:f);return{id:(0,l.concat)([...a,(0,u.numberToHex)(r.id,{size:32}),p])}}throw(0,d.getTransactionError)(a,{...e,account:j,chain:e.chain})}}async function v(t,n){let i;async function o(r){if(r.endsWith(p.slice(2))){let n=(0,a.trim)((0,e.sliceHex)(r,-64,-32)),i=(0,e.sliceHex)(r,0,-64).slice(2).match(/.{1,64}/g),o=await Promise.all(i.map(e=>f.slice(2)!==e?t.request({method:"eth_getTransactionReceipt",params:[`0x${e}`]},{dedupe:!0}):void 0)),c=o.some(t=>null===t)?100:o.every(t=>t?.status==="0x1")?200:o.every(t=>t?.status==="0x0")?500:600;return{atomic:!1,chainId:(0,s.hexToNumber)(n),receipts:o.filter(
1Boolean),status:c,version:"2.0.0"}}return t.request({method:"wallet_getCallsStatus",params:[r]})}let{atomic:c=!1,chainId:l,receipts:u,version:d="2.0.0",...h}=await o(n.id),[m,v]=(i=h.status)>=100&&i<200?["pending",i]:i>=200&&i<300?["success",i]:i>=300&&i<700?["failure",i]:"CONFIRMED"===i?["success",200]:"PENDING"===i?["pending",100]:[void 0,i];return{...h,atomic:c,chainId:l?(0,s.hexToNumber)(l):void 0,receipts:u?.map(t=>({...t,blockNumber:(0,s.hexToBigInt)(t.blockNumber),gasUsed:(0,s.hexToBigInt)(t.gasUsed),status:r.receiptStatuses[t.status]}))??[],statusCode:v,status:m,version:d}}t.s(["fallbackMagicIdentifier",0,p,"fallbackTransactionErrorMagicIdentifier",0,f,"sendCalls",0,m],213307),t.s(["getCallsStatus",0,v],753482)},12766,t=>{"use strict";var e=t.i(281951),a=t.i(2032),s=t.i(283427),r=t.i(629426),n=t.i(750699),i=t.i(710442);async function o(t,o){let{account:c=t.account,chainId:l,nonce:u}=o;if(!c)throw new a.AccountNotFoundError({docsPath:"/docs/eip7702/prepareAuthorization"});let d=(0,e.parseAccount)(c),h=(()=>{if(o.executor)return"self"===o.executor?o.executor:(0,e.parseAccount)(o.executor)})(),p={address:o.contractAddress??o.address,chainId:l,nonce:u};return void 0===p.chainId&&(p.chainId=t.chain?.id??await (0,r.getAction)(t,n.getChainId,"getChainId")({})),void 0===p.nonce&&(p.nonce=await (0,r.getAction)(t,i.getTransactionCount,"getTransactionCount")({address:d.address,blockTag:"pending"}),("self"===h||h?.address&&(0,s.isAddressEqual)(h.address,d.address))&&(p.nonce+=1)),p}t.s(["prepareAuthorization",0,o])},693051,t=>{"use strict";var e=t.i(748519);class a extends e.BaseError{constructor(t){super(`Call bundle failed with status: ${t.statusCode}`,{name:"BundleFailedError"}),Object.defineProperty(this,"result",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.result=t}}t.s(["BundleFailedError",0,a])},199143,t=>{"use strict";var e=t.i(748519),a=t.i(693051),s=t.i(629426),r=t.i(236243),n=t.i(187604),i=t.i(352296),o=t.i(554375),c=t.i(71643),l=t.i(753482);async function u(t,e){let u,{id:h,pollingInterval:p=t.pollingInterval,status:f=({statusCode:t})=>200===t||t>=300,retryCount:m=4,retryDelay:v=({count:t})=>200*~~(1<<t),timeout:g=6e4,throwOnFailure:y=!1}=e,w=(0,c.stringify)(["waitForCallsStatus",t.uid,h]),{promise:j,resolve:k,reject:b}=(0,i.withResolvers)(),x=(0,r.observe)(w,{resolve:k,reject:b},e=>{let r=(0,n.poll)(async()=>{let n=t=>{clearTimeout(u),r(),t(),x()};try{let r=await (0,o.withRetry)(async()=>{let e=await (0,s.getAction)(t,l.getCallsStatus,"getCallsStatus")({id:h});if(y&&"failure"===e.status)throw new a.BundleFailedError(e);return e},{retryCount:m,delay:v});if(!f(r))return;n(()=>e.resolve(r))}catch(t){n(()=>e.reject(t))}},{interval:p,emitOnBegin:!0});return r});return u=g?setTimeout(()=>{x(),clearTimeout(u),b(new d({id:h}))},g):void 0,await j}class d extends e.BaseError{constructor({id:t}){super(`Timed out while waiting for call bundle with id "${t}" to be confirmed.`,{name:"WaitForCallsStatusTimeoutError"})}}t.s(["WaitForCallsStatusTimeoutError",0,d,"waitForCallsStatus",0,u])},61821,t=>{"use strict";t.s(["erc6492MagicBytes",0,"0x6492649264926492649264926492649264926492649264926492649264926492","zeroHash",0,"0x0000000000000000000000000000000000000000000000000000000000000000"])},85709,993941,86e4,663333,t=>{"use strict";var e=t.i(962879),a=t.i(931005),s=t.i(750699),r=t.i(903442);async function n(t,{chain:e}){let{id:a,name:s,nativeCurrency:i,rpcUrls:o,blockExplorers:c}=e;await t.request({method:"wallet_addEthereumChain",params:[{chainId:(0,r.numberToHex)(a),chainName:s,nativeCurrency:i,rpcUrls:o.default.http,blockExplorerUrls:c?Object.values(c).map(({url:t})=>t):void 0}]},{dedupe:!0,retryCount:0})}var i=t.i(919444),o=t.i(855188),c=t.i(649132);async function l(t){return t.account?.type==="local"?[t.account.address]:(await t.request({method:"eth_accounts"},{dedupe:!0})).map(t=>(0,c.checksumAddress)(t))}var u=t.i(753482),d=t.i(281951);async function h(t,e={}){let{account:a=t.account,chainId:s}=e,n=a?(0,d.parseAccount)(a):void 0,i=s?[n?.address,[(0,r.numberToHex)(s)]]:[n?.address],o=await t.request({method:"wallet_getCapabilities",params:i}),c={};for(let[t,e]of Object.entries(o))for(let[a,s]of(c[Number(t)]={},Object.entries(e)))"addSubAccount"===a&&(a="unstable_addSubAccount"),c[Number(t)][a]=s;return"number"==typeof s?c[s]:c}async function p(t){return await t.request({method:"wallet_getPermissions"},{dedupe:!0})}var f=t.i(12766),m=t.i(876525);async function v(t){return(await t.request({method:"eth_requestAccounts"},{dedupe:!0,retryCount:0})).map(t=>(0,c.getAddress)(t))}async function g(t,e){return t.request({method:"wallet_requestPermissions",params:[e]},{retryCount:0})}var y=t.i(213307),w=t.i(629426),j=t.i(199143);async function k(t,e){let{chain:a=t.chain}=e,s=e.timeout??Math.max((a?.blockTime??0)*3,5e3),r=await (0,w.getAction)(t,y.sendCalls,"sendCalls")(e);return await (0,w.getAction)(t,j.waitForCallsStatus,"waitForCallsStatus")({...e,id:r.id,timeout:s}
1)}var b=t.i(801918),x=t.i(815155),P=t.i(2032),C=t.i(748519),T=t.i(75540),S=t.i(57477),_=t.i(140789),A=t.i(410458),E=t.i(399131),R=t.i(442901),I=t.i(445629),N=t.i(525921),O=t.i(135366),L=t.i(148282);let M=new N.LruMap(128);async function z(t,e){let a,{account:r=t.account,assertChainId:n=!0,chain:i=t.chain,accessList:o,authorizationList:c,blobs:l,data:u,dataSuffix:h="string"==typeof t.dataSuffix?t.dataSuffix:t.dataSuffix?.value,gas:p,gasPrice:f,maxFeePerBlobGas:v,maxFeePerGas:g,maxPriorityFeePerGas:y,nonce:j,pollingInterval:k,throwOnReceiptRevert:b,type:N,value:z,...q}=e,U=e.timeout??Math.max((i?.blockTime??0)*3,5e3);if(void 0===r)throw new P.AccountNotFoundError({docsPath:"/docs/actions/wallet/sendTransactionSync"});let D=r?(0,d.parseAccount)(r):null;try{(0,O.assertRequest)(e);let r=await (async()=>e.to?e.to:null!==e.to&&c&&c.length>0?await (0,S.recoverAuthorizationAddress)({authorization:c[0]}).catch(()=>{throw new C.BaseError("`to` is required. Could not infer from `authorizationList`.")}):void 0)();if(D?.type==="json-rpc"||null===D){let e;null!==i&&(e=await (0,w.getAction)(t,s.getChainId,"getChainId")({}),n&&(0,_.assertCurrentChain)({currentChainId:e,chain:i}));let a=t.chain?.formatters?.transactionRequest?.format,d=(a||I.formatTransactionRequest)({...(0,R.extract)(q,{format:a}),accessList:o,account:D,authorizationList:c,blobs:l,chainId:e,data:h?(0,A.concat)([u??"0x",h]):u,gas:p,gasPrice:f,maxFeePerBlobGas:v,maxFeePerGas:g,maxPriorityFeePerGas:y,nonce:j,to:r,type:N,value:z},"sendTransaction"),m=M.get(t.uid),x=m?"wallet_sendTransaction":"eth_sendTransaction",P=await (async()=>{try{return await t.request({method:x,params:[d]},{retryCount:0})}catch(e){if(!1===m)throw e;if("InvalidInputRpcError"===e.name||"InvalidParamsRpcError"===e.name||"MethodNotFoundRpcError"===e.name||"MethodNotSupportedRpcError"===e.name)return await t.request({method:"wallet_sendTransaction",params:[d]},{retryCount:0}).then(e=>(M.set(t.uid,!0),e)).catch(a=>{if("MethodNotFoundRpcError"===a.name||"MethodNotSupportedRpcError"===a.name)throw M.set(t.uid,!1),e;throw a});throw e}})(),C=await (0,w.getAction)(t,L.waitForTransactionReceipt,"waitForTransactionReceipt")({checkReplacement:!1,hash:P,pollingInterval:k,timeout:U});if(b&&"reverted"===C.status)throw new T.TransactionReceiptRevertedError({receipt:C});return C}if(D?.type==="local"){if(D.nonceManager&&void 0===j){let e=q.chainId,r=await (async()=>"number"==typeof e?e:i?i.id:(0,w.getAction)(t,s.getChainId,"getChainId")({}))();a={address:D.address,chainId:r}}let n=await (0,w.getAction)(t,m.prepareTransactionRequest,"prepareTransactionRequest")({account:D,accessList:o,authorizationList:c,blobs:l,chain:i,data:h?(0,A.concat)([u??"0x",h]):u,gas:p,gasPrice:f,maxFeePerBlobGas:v,maxFeePerGas:g,maxPriorityFeePerGas:y,nonce:j,nonceManager:D.nonceManager,parameters:[...m.defaultParameters,"sidecars"],type:N,value:z,...q,to:r}),d=i?.serializers?.transaction,k=await D.signTransaction(n,{serializer:d});return await (0,w.getAction)(t,x.sendRawTransactionSync,"sendRawTransactionSync")({serializedTransaction:k,throwOnReceiptRevert:b,timeout:e.timeout})}if(D?.type==="smart")throw new P.AccountTypeNotSupportedError({metaMessages:["Consider using the `sendUserOperation` Action instead."],docsPath:"/docs/actions/bundler/sendUserOperation",type:"smart"});throw new P.AccountTypeNotSupportedError({docsPath:"/docs/actions/wallet/sendTransactionSync",type:D?.type})}catch(t){if(t instanceof P.AccountTypeNotSupportedError)throw t;throw!a||t instanceof T.TransactionReceiptRevertedError||D?.nonceManager?.reset(a),(0,E.getTransactionError)(t,{...e,account:D,chain:e.chain||void 0})}}async function q(t,e){let{id:a}=e;await t.request({method:"wallet_showCallsStatus",params:[a]})}async function U(t,e){let{account:a=t.account}=e;if(!a)throw new P.AccountNotFoundError({docsPath:"/docs/eip7702/signAuthorization"});let s=(0,d.parseAccount)(a);if(!s.signAuthorization)throw new P.AccountTypeNotSupportedError({docsPath:"/docs/eip7702/signAuthorization",metaMessages:["The `signAuthorization` Action does not support JSON-RPC Accounts."],type:s.type});let r=await (0,f.prepareAuthorization)(t,e);return s.signAuthorization(r)}async function D(t,{account:e=t.account,message:a}){if(!e)throw new P.AccountNotFoundError({docsPath:"/docs/actions/wallet/signMessage"});let s=(0,d.parseAccount)(e);if(s.signMessage)return s.signMessage({message:a});let n="string"==typeof a?(0,r.stringToHex)(a):a.raw instanceof Uint8Array?(0,r.toHex)(a.raw):a.raw;return t.request({method:"personal_sign",params:[n,s.address]},{retryCount:0})}async function F(t,e){let{account:a=t.account,chain:n=t.chain,...i}=e;if(!a)throw new P.AccountNotFoundError({docsPath:"/docs/actions/wallet/signTransaction"});let o=(0,d.parseAccount)(a);(0,O.assertRequest)({account:o,...e});let c=await (0,w.getAction)(t,s.getChainId,"getChainId")({});null!==n&&(0,_.assertCurrentChain)({currentChainId:c,chain:n});let l=n?.formatters||t.chain?.formatters,u=l?.transactionRequest?.format||I.formatTransactionRequest;return o.signTransaction?o.signTransaction({...i,account:o,chainId:c},{serializer:t.chain?.serializers?.transaction}):await t.request({method:"eth_signTransaction",params:[{...u({...i,account:o},"signTransaction"),chainId:(0,r.numberToHex)(c),from:o.address}]},{retryCount:0})}t.s(["signTransaction",0,F],993941);var B=t.i(24839);async function H(t,e){let{account:a=t.account,domain:s,message:r,primaryType:n}=e;if(!a)throw new P.AccountNotFoundError({docsPath:"/docs/actions/wallet/signTypedData"});let i=(0,d.parseAccount)(a),o={EIP712Domain:(0,B.getTypesForEIP712Domain)({domain:s}),...e.types};if((0,B.validateTypedData)({domain:s,message:r,primaryType:n,types:o}),i.signTypedData)return i.signTypedData({domain:s,message:r,primaryType:n,types:o});let c=(0,B.serializeTypedData)({domain:s,message:r,primaryType:n,types:o});return t.request({method:"eth_signTypedData_v4",params:[i.address,c]},{retryCount:0})}async function $(t,{id:e}){await t.request({method:"wallet_switchEthereumChain",params:[{chainId:(0,r.numberToHex)(e)}]},{retryCount:0})}async function W(t,e){return await t.request({method:"wallet_watchAsset",params:e},{retryCount:0})}t.s(["signTypedData",0,H],86e4);var V=t.i(816367);async function G(t,e){return V.writeContract.internal(t,z,"sendTransactionSync",e)}function K(t){return{addChain:e=>n(t,e),deployContract:e=>(function(t,e){let{abi:a,args:s,bytecode:r,...n}=e,c=(0,i.encodeDeployData)({abi:a,args:s,bytecode:r});return(0,o.sendTransaction)(t,{...n,...n.authorizationList?{to:null}:{},data:c})})(t,e),fillTransaction:e=>(0,a.fillTransaction)(t,e),getAddresses:()=>l(t),getCallsStatus:e=>(0,u.getCallsStatus)(t,e),getCapabilities:e=>h(t,e),getChainId:()=>(0,s.getChainId)(t),getPermissions:()=>p(t),prepareAuthorization:e=>(0,f.prepareAuthorization)(t,e),prepareTransactionRequest:e=>(0,m.prepareTransactionRequest)(t,e),requestAddresses:()=>v(t),requestPermissions:e=>g(t,e),sendCalls:e=>(0,y.sendCalls)(t,e),sendCallsSync:e=>k(t,e),sendRawTransaction:e=>(0,b.sendRawTransaction)(t,e),sendRawTransactionSync:e=>(0,x.sendRawTransactionSync)(t,e),sendTransaction:e=>(0,o.sendTransaction)(t,e),sendTransactionSync:e=>z(t,e),showCallsStatus:e=>q(t,e),signAuthorization:e=>U(t,e),signMessage:e=>D(t,e),signTransaction:e=>F(t,e),signTypedData:e=>H(t,e),switchChain:e=>$(t,e),waitForCallsStatus:e=>(0,j.waitForCallsStatus)(t,e),watchAsset:e=>W(t,e),writeContract:e=>(0,V.writeContract)(t,e),writeContractSync:e=>G(t,e)}}t.s(["walletActions",0,K],663333),t.s(["createWalletClient",0,function(t){let{key:a="wallet",name:s="Wallet Client",transport:r}=t;return(0,e.createClient)({...t,key:a,name:s,transport:r,type:"walletClient"}).extend(K)}],85709)},649866,t=>{"use strict";var e=t.i(2308),a=t.i(28790),s=t.i(415567),r=t.i(852111),n=t.i(345207),i=t.i(854479),o=t.i(62156),c=t.i(451150);
1let l=new Set([e.mainnet.id,a.arbitrum.id,s.base.id,r.polygon.id,n.avalanche.id,i.celo.id,o.monadMainnet.id]),u=new Set([e.mainnet.id,a.arbitrum.id,c.optimism.id,s.base.id,r.polygon.id,n.avalanche.id]);t.s(["MoonpayEnvironments",0,{prod:{url:"https://api.moonpay.com/v1",key:"pk_live_hirbpu0cVcLHrjktC9l7fbc9ctjv0SL"},sandbox:{url:"https://api.moonpay.com/v1",key:"pk_test_fqWjXZMSFwloh7orvJsRfjiUHXJqFzI"}},"chainToMoonpayCurrency",0,function(t,c){switch(t){case a.arbitrum.id:return"native-currency"===c?"ETH_ARBITRUM":"USDC_ARBITRUM";case n.avalanche.id:return"native-currency"===c?"AVAX_CCHAIN":"USDC_CCHAIN";case s.base.id:return"native-currency"===c?"ETH_BASE":"USDC_BASE";case i.celo.id:return"CELO_CELO";case r.polygon.id:return"native-currency"===c?"MATIC_POLYGON":"USDC_POLYGON";case o.monadMainnet.id:return"MON_MON";case e.mainnet.id:return"native-currency"===c?"ETH_ETHEREUM":"USDC_ETHEREUM";default:return console.warn(`Chain ${t} not supported by Moonpay, defaulting to Ethereum mainnet`),"ETH_ETHEREUM"}},"isSupportedChainIdForMoonpay",0,function(t,e){switch(e){case"native-currency":return l.has(t);case"USDC":return u.has(t);default:return console.warn("Unknown asset passed to MoonPay Onramp"),!1}}])},90158,t=>{"use strict";t.s(["sleep",0,function(t){return new Promise(e=>{setTimeout(()=>{e()},t)})}])},874974,t=>{"use strict";t.s(["constructURL",0,({origin:t,path:e,query:a={},hash:s={}})=>{let r=new URL(e,t.endsWith("/")?t:`${t}/`);for(let[t,e]of Object.entries(a))void 0!==e&&r.searchParams.set(t,e);let n=Object.entries(s);if(n.length>0){let t=new URLSearchParams;for(let[e,a]of n)void 0!==a&&t.append(e,a);r.hash=t.toString()}return r.href}])},705980,57832,t=>{"use strict";let e=(...t)=>t.filter((t,e,a)=>!!t&&""!==t.trim()&&a.indexOf(t)===e).join(" ").trim();t.s(["mergeClasses",0,e],705980);var a=t.i(617708),s={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};let r=(0,a.createContext)({}),n=(0,a.forwardRef)(({color:t,size:n,strokeWidth:i,absoluteStrokeWidth:o,className:c="",children:l,iconNode:u,...d},h)=>{let{size:p=24,strokeWidth:f=2,absoluteStrokeWidth:m=!1,color:v="currentColor",className:g=""}=(0,a.useContext)(r)??{},y=o??m?24*Number(i??f)/Number(n??p):i??f;return(0,a.createElement)("svg",{ref:h,...s,width:n??p??s.width,height:n??p??s.height,stroke:t??v,strokeWidth:y,className:e("lucide",g,c),...!l&&!(t=>{for(let e in t)if(e.startsWith("aria-")||"role"===e||"title"===e)return!0;return!1})(d)&&{"aria-hidden":"true"},...d},[...u.map(([t,e])=>(0,a.createElement)(t,e)),...Array.isArray(l)?l:[l]])});t.s(["default",0,n],57832)},67804,t=>{"use strict";var e=t.i(617708),a=t.i(705980);let s=t=>{let e=t.replace(/^([A-Z])|[\s-_]+(\w)/g,(t,e,a)=>a?a.toUpperCase():e.toLowerCase());return e.charAt(0).toUpperCase()+e.slice(1)};var r=t.i(57832);t.s(["default",0,(t,n)=>{let i=(0,e.forwardRef)(({className:i,...o},c)=>(0,e.createElement)(r.default,{ref:c,iconNode:n,className:(0,a.mergeClasses)(`lucide-${s(t).replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()}`,`lucide-${t}`,i),...o}));return i.displayName=s(t),i}],67804)},693252,t=>{"use strict";let e=(0,t.i(67804).default)("check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]]);t.s(["Check",0,e],693252)},281707,t=>{"use strict";let e=(0,t.i(67804).default)("x",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]);t.s(["X",0,e],281707)},399704,(t,e,a)=>{"use strict";Object.defineProperty(a,"__esModule",{value:!0});var s={formatUrl:function(){return o},formatWithValidation:function(){return l},urlObjectKeys:function(){return c}};for(var r in s)Object.defineProperty(a,r,{enumerable:!0,get:s[r]});let n=t.r(744066)._(t.r(307785)),i=/https?|ftp|gopher|file/;function o(t){let{auth:e,hostname:a}=t,s=t.protocol||"",r=t.pathname||"",o=t.hash||"",c=t.query||"",l=!1;e=e?encodeURIComponent(e).replace(/%3A/i,":")+"@":"",t.host?l=e+t.host:a&&(l=e+(~a.indexOf(":")?`[${a}]`:a),t.port&&(l+=":"+t.port)),c&&"object"==typeof c&&(c=String(n.urlQueryToSearchParams(c)));let u=t.search||c&&`?${c}`||"";return s&&!s.endsWith(":")&&(s+=":"),t.slashes||(!s||i.test(s))&&!1!==l?(l="//"+(l||""),r&&"/"!==r[0]&&(r="/"+r)):l||(l=""),o&&"#"!==o[0]&&(o="#"+o),u&&"?"!==u[0]&&(u="?"+u),r=r.replace(/[?#]/g,encodeURIComponent),u=u.replace("#","%23"),`${s}${l}${r}${u}${o}`}let c=["auth","hash","host","hostname","href","path","pathname","port","protocol","query","search","slashes"];function l(t){return o(t)}},570994,(t,e,a)=>{"use strict";Object.defineProperty(a,"__esModule",{value:!0}),Object.defineProperty(a,"useMergedRef",{enumerable:!0,get:function(){return r}});let s=t.r(617708);function r(t,e){let a=(0,s.useRef)(null),r=(0,s.useRef)(null);return(0,s.useCallback)(s=>
1{if(null===s){let t=a.current;t&&(a.current=null,t());let e=r.current;e&&(r.current=null,e())}else t&&(a.current=n(t,s)),e&&(r.current=n(e,s))},[t,e])}function n(t,e){if("function"!=typeof t)return t.current=e,()=>{t.current=null};{let a=t(e);return"function"==typeof a?a:()=>t(null)}}("function"==typeof a.default||"object"==typeof a.default&&null!==a.default)&&void 0===a.default.__esModule&&(Object.defineProperty(a.default,"__esModule",{value:!0}),Object.assign(a.default,a),e.exports=a.default)},678849,(t,e,a)=>{"use strict";Object.defineProperty(a,"__esModule",{value:!0}),Object.defineProperty(a,"isLocalURL",{enumerable:!0,get:function(){return n}});let s=t.r(6008),r=t.r(905633);function n(t){if(!(0,s.isAbsoluteUrl)(t))return!0;try{let e=(0,s.getLocationOrigin)(),a=new URL(t,e);return a.origin===e&&(0,r.hasBasePath)(a.pathname)}catch(t){return!1}}},581430,(t,e,a)=>{"use strict";Object.defineProperty(a,"__esModule",{value:!0}),Object.defineProperty(a,"errorOnce",{enumerable:!0,get:function(){return s}});let s=t=>{}},389976,(t,e,a)=>{"use strict";Object.defineProperty(a,"__esModule",{value:!0});var s={default:function(){return g},useLinkStatus:function(){return w}};for(var r in s)Object.defineProperty(a,r,{enumerable:!0,get:s[r]});let n=t.r(744066),i=t.r(255460),o=n._(t.r(617708)),c=t.r(399704),l=t.r(374327),u=t.r(570994),d=t.r(6008),h=t.r(63542);t.r(249997);let p=t.r(266414),f=t.r(779249),m=t.r(678849),v=t.r(232524);function g(e){var a,s;let r,n,g,[w,j]=(0,o.useOptimistic)(f.IDLE_LINK_STATUS),k=(0,o.useRef)(null),{href:b,as:x,children:P,prefetch:C=null,passHref:T,replace:S,shallow:_,scroll:A,onClick:E,onMouseEnter:R,onTouchStart:I,legacyBehavior:N=!1,onNavigate:O,transitionTypes:L,ref:M,unstable_dynamicOnHover:z,...q}=e;r=P,N&&("string"==typeof r||"number"==typeof r)&&(r=(0,i.jsx)("a",{children:r}));let U=o.default.useContext(l.AppRouterContext),D=!1!==C,F=!1!==C?null===(s=C)||"auto"===s?v.FetchStrategy.PPR:v.FetchStrategy.Full:v.FetchStrategy.PPR,B="string"==typeof(a=x||b)?a:(0,c.formatUrl)(a);if(N){if(r?.$$typeof===Symbol.for("react.lazy"))throw Object.defineProperty(Error("`<Link legacyBehavior>` received a direct child that is either a Server Component, or JSX that was loaded with React.lazy(). This is not supported. Either remove legacyBehavior, or make the direct child a Client Component that renders the Link's `<a>` tag."),"__NEXT_ERROR_CODE",{value:"E863",enumerable:!1,configurable:!0});n=o.default.Children.only(r)}let H=N?n&&"object"==typeof n&&n.ref:M,$=o.default.useCallback(t=>(null!==U&&(k.current=(0,f.mountLinkInstance)(t,B,U,F,D,j)),()=>{k.current&&((0,f.unmountLinkForCurrentNavigation)(k.current),k.current=null),(0,f.unmountPrefetchableInstance)(t)}),[D,B,U,F,j]),W={ref:(0,u.useMergedRef)($,H),onClick(e){N||"function"!=typeof E||E(e),N&&n.props&&"function"==typeof n.props.onClick&&n.props.onClick(e),!U||e.defaultPrevented||function(e,a,s,r,n,i,c){if("u">typeof window){let l,{nodeName:u}=e.currentTarget;if("A"===u.toUpperCase()&&((l=e.currentTarget.getAttribute("target"))&&"_self"!==l||e.metaKey||e.ctrlKey||e.shiftKey||e.altKey||e.nativeEvent&&2===e.nativeEvent.which)||e.currentTarget.hasAttribute("download"))return;if(!(0,m.isLocalURL)(a)){r&&(e.preventDefault(),location.replace(a));return}if(e.preventDefault(),i){let t=!1;if(i({preventDefault:()=>{t=!0}}),t)return}let{dispatchNavigateAction:d}=t.r(61827);o.default.startTransition(()=>{d(a,r?"replace":"push",!1===n?p.ScrollBehavior.NoScroll:p.ScrollBehavior.Default,s.current,c)})}}(e,B,k,S,A,O,L)},onMouseEnter(t){N||"function"!=typeof R||R(t),N&&n.props&&"function"==typeof n.props.onMouseEnter&&n.props.onMouseEnter(t),U&&D&&(0,f.onNavigationIntent)(t.currentTarget,!0===z)},onTouchStart:function(t){N||"function"!=typeof I||I(t),N&&n.props&&"function"==typeof n.props.onTouchStart&&n.props.onTouchStart(t),U&&D&&(0,f.onNavigationIntent)(t.currentTarget,!0===z)}};return(0,d.isAbsoluteUrl)(B)?W.href=B:N&&!T&&("a"!==n.type||"href"in n.props)||(W.href=(0,h.addBasePath)(B)),g=N?o.default.cloneElement(n,W):(0,i.jsx)("a",{...q,...W,children:r}),(0,i.jsx)(y.Provider,{value:w,children:g})}t.r(581430);let y=(0,o.createContext)(f.IDLE_LINK_STATUS),w=()=>(0,o.useContext)(y);("function"==typeof a.default||"object"==typeof a.default&&null!==a.default)&&void 0===a.default.__esModule&&(Object.defineProperty(a.default,"__esMo
1dule",{value:!0}),Object.assign(a.default,a),e.exports=a.default)},869396,t=>{"use strict";t.s(["PLATFORM_API_URL",0,"https://api.spreadx.ai","PLATFORM_ENDPOINT",0,{PLANS:"/api/campaign-plans",VALIDATE_OPERATIONS:"/api/campaign-plans/validate-operations",CALCULATE_COST:"/api/campaign-plans/calculate-cost",CREATE_PLAN:"/api/campaign-plans/with-operations",TRADE_PRODUCTS:"/api/trade/products",TRADE_RECHARGE:"/api/trade/recharge",TRADE_RECHARGE_ORDERS:"/api/trade/recharge-orders",SUBSCRIPTION_PRODUCTS:"/api/user/subscription/products",SUBSCRIPTION_ORDERS:"/api/user/subscription/orders",SUBSCRIPTION_MY:"/api/user/subscription/my",ADMIN_SUBSCRIPTION_PRODUCTS:"/api/admin/subscription/products",LOGIN_PRIVY:"/api/login/privy",LOGIN_VERIFY:"/api/login/verify",USER_PROFILE:"/api/user/me",USER_ASSETS:"/api/user/assets",USER_POINT_LOGS:"/api/user/points/logs",USER_PLANS:"/api/user/plans",CALCULATE_PLAN_POINTS:"/api/user/plans/calculate-points",TASKS_V2:"/api/v2/tasks",USER_TRAFFIC_DELIVERY_PACKAGES:"/api/user/traffic-delivery/packages"}])},950100,t=>{"use strict";var e=t.i(869396),a=t.i(66841);let s=async t=>await (0,a.fetcher)(`${e.PLATFORM_API_URL}${e.PLATFORM_ENDPOINT.LOGIN_PRIVY}`,{method:"POST",body:JSON.stringify({token:t})}),r=async()=>await (0,a.fetcher)("/api/bff/account",{method:"GET"}),n=async()=>await (0,a.fetcher)("/api/bff/account/assets",{method:"GET"});t.s(["fetchUserAssets",0,n,"fetchUserProfile",0,r,"loginPrivy",0,s])},194438,t=>{"use strict";var e=t.i(255460),a=t.i(617708),s=t.i(454495),s=s,r=s,n=t.i(903697),n=n,i=t.i(837992);t.i(116233);var o=t.i(981831);function c(){return(0,e.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",className:"size-5",children:(0,e.jsx)("path",{d:"M12.48 10.92v3.28h7.84c-.24 1.84-.853 3.187-1.787 4.133-1.147 1.147-2.933 2.4-6.053 2.4-4.827 0-8.6-3.893-8.6-8.72s3.773-8.72 8.6-8.72c2.6 0 4.507 1.027 5.907 2.347l2.307-2.307C18.747 1.44 16.133 0 12.48 0 5.867 0 .307 5.387.307 12s5.56 12 12.173 12c3.573 0 6.267-1.173 8.373-3.36 2.16-2.16 2.84-5.213 2.84-7.667 0-.76-.053-1.467-.173-2.053H12.48z",fill:"currentColor"})})}function l(){return(0,e.jsx)("svg",{viewBox:"0 0 24 24",className:"size-5",fill:"currentColor",children:(0,e.jsx)("path",{d:"M18.244 2.25h3.308l-7.227 8.26 8.502 11.24H16.17l-5.214-6.817L4.99 21.75H1.68l7.73-8.835L1.254 2.25H8.08l4.713 6.231zm-1.161 17.52h1.833L7.084 4.126H5.117z"})})}var u=s;function d({children:t,credentials:a,theme:s}){let r={appId:a.appId??"",clientId:a.clientId||void 0};return(0,e.jsx)(u.I,{appId:r.appId,clientId:r.clientId,config:{appearance:{theme:s,accentColor:"#1DB954",logo:"/logo.png",showWalletLoginFirst:!1,walletList:[],walletChainType:"ethereum-only"},loginMethods:["google","twitter"],externalWallets:{disableAllExternalWallets:!0,walletConnect:{enabled:!1}},embeddedWallets:{ethereum:{createOnLogin:"off"},solana:{createOnLogin:"off"},showWalletUIs:!1}},children:t})}function h({children:t,credentials:s,fallback:r=null,theme:n}){return(0,a.useSyncExternalStore)(()=>()=>{},()=>!0,()=>!1)?"string"!=typeof s.appId||25!==s.appId.length?r:(0,e.jsx)(d,{credentials:s,theme:n,children:t}):null}let p="rounded-lg border border-destructive/25 bg-destructive/10 px-4 py-3 text-[13px] leading-6 text-destructive";function f(){return"1"===new URLSearchParams(window.location.search).get("logout")}let m=new Map;async function v(t){if(!(await fetch("/api/session",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({token:t})})).ok)throw Error("Failed to persist session")}async function g({clearStoredSession:t,logout:e,shouldLogout:a}){let s=[t()];a&&s.push(e()),await Promise.allSettled(s)}function y({message:t}){return(0,e.jsx)("div",{className:p,children:t})}function w({clearStoredSession:t,copy:u,dashboardPath:d,loginPath:h,loginPrivy:y,resolveRedirectPath:j,tokenStorageKey:k}){let{loading:b,initOAuth:x}=(0,r.ah)(),{ready:P,authenticated:C,logout:T}=(0,n.u)(),[S,_]=(0,a.useTransition)(),[A,E]=(0,a.useState)(null),[R,I]=(0,a.useState)(null),[N,O]=(0,a.useState)(f),L=A?"error":S?"redirecting":C&&!N?"authenticating":b||N?"connecting":"idle",M="idle"!==L&&"error"!==L,z="connecting"===L?u.statusConnectingDescription:"authenticating"===L?u.statusVerifyingDescription:"redirecting"===L?u.statusRedirectingDescription:null,q=[{provider:"google",title:u.loginWithGoogle,glyph:(0,e.jsx)(c,{})},{provider:"twitter",title:u.loginWithX,glyph:(0,e.jsx)(l,{})}];(0,a.useEffect)(()=>
1{if(!P||!N)return;let e=!1;return(async()=>{await g({clearStoredSession:t,logout:T,shouldLogout:!0}),e||(window.history.replaceState(null,"",h),O(!1))})(),()=>{e=!0}},[t,h,T,N,P]);let U=async t=>{if(!M){E(null),I(t);try{await x({provider:t})}catch(t){console.error(t),I(null),E(u.loginFailed)}}};return(0,a.useEffect)(()=>{P&&C&&!S&&!N&&_(async()=>{try{let t=await (0,s.M)();if(!t)throw Error("No access token");let e=await function(t,e){let a=m.get(e);if(a)return a;let s=t(e).finally(()=>{m.delete(e)});return m.set(e,s),s}(y,t);if(!e||!e.valid)throw Error("Invalid privy token");let{platform_token:a}=e;await v(a),localStorage.setItem(k,a);let r=j?await j().catch(()=>d):d;window.location.href=r}catch(e){console.error(e),await g({clearStoredSession:t,logout:T,shouldLogout:P&&C}),I(null),E(u.loginFailed)}})},[C,t,u.loginFailed,d,S,y,T,N,P,j,k]),(0,e.jsxs)("div",{className:"flex w-full flex-col justify-center",children:["error"===L&&A?(0,e.jsx)("div",{role:"alert",className:`mb-4 ${p}`,children:A}):null,M&&z?(0,e.jsxs)("div",{role:"status","aria-live":"polite",className:"mb-4 flex items-start gap-3 rounded-lg border border-primary/20 bg-primary/10 px-4 py-3 text-[13px] leading-6 text-primary-ink",children:[(0,e.jsx)(i.LoaderCircle,{className:"mt-0.5 size-4 shrink-0 animate-spin"}),(0,e.jsx)("span",{children:z})]}):null,(0,e.jsx)("div",{className:"w-full divide-y divide-border/70 overflow-hidden rounded-lg border border-border bg-card",children:q.map(({provider:t,title:a,glyph:s})=>{let r=M&&"connecting"===L&&R===t;return(0,e.jsxs)(o.Button,{type:"button",variant:"ghost",className:"w-full min-h-[52px] justify-start gap-3 rounded-none px-4 text-sm font-semibold text-foreground hover:text-foreground",onClick:()=>U(t),disabled:M,children:[(0,e.jsx)("span",{className:"flex size-[18px] shrink-0 items-center justify-center text-foreground/80",children:r?(0,e.jsx)(i.LoaderCircle,{className:"size-[18px] animate-spin text-primary-ink"}):s}),(0,e.jsx)("span",{className:r?"text-primary-ink":void 0,children:r?u.statusConnecting:a})]},t)})})]})}t.s(["PrivyLogin",0,function({clearStoredSession:t,copy:a,credentials:s,dashboardPath:r,loginPath:n,loginPrivy:i,resolveRedirectPath:o,theme:c,tokenStorageKey:l}){return(0,e.jsx)(h,{credentials:s,fallback:(0,e.jsx)(y,{message:a.configError}),theme:c,children:(0,e.jsx)(w,{clearStoredSession:t,copy:a,dashboardPath:r,loginPath:n,loginPrivy:i,resolveRedirectPath:o,tokenStorageKey:l})})}],194438)},750320,t=>{"use strict";var e=t.i(66841);let a="/api/bff/access",s=async()=>await (0,e.fetcher)(`${a}/status`,{method:"GET"}),r=async t=>await (0,e.fetcher)(`${a}/apply`,{method:"POST",body:JSON.stringify(t)}),n=async t=>{await (0,e.fetcher)(`${a}/redeem`,{method:"POST",body:JSON.stringify(t)})},i=async()=>{try{return await (0,e.fetcher)(`${a}/my-invite`,{method:"GET"})}catch(t){if(t instanceof e.FetcherHttpError&&403===t.status)return null;throw t}};t.s(["applyAccess",0,r,"fetchAccessStatus",0,s,"fetchMyInvite",0,i,"redeemInvite",0,n])},486637,679919,t=>{"use strict";var e=t.i(255460);t.i(116233);var a=t.i(650561);function s(){return(0,e.jsxs)("svg",{"aria-hidden":!0,className:"size-[42px] text-foreground",viewBox:"0 0 1080 1080",fill:"currentColor",children:[(0,e.jsx)("polygon",{points:"457.83 375.14 457.83 375.39 416.99 416.24 416.74 416.24 416.74 416.49 375.9 457.33 375.65 457.33 375.65 457.58 334.8 498.43 334.55 498.43 334.55 498.69 293.71 539.53 293.45 539.53 293.45 539.79 252.61 580.62 252.35 580.62 252.35 539.79 293.45 498.69 293.7 498.43 416.74 375.39 416.99 375.14 457.83 375.14"}),(0,e.jsx)("polygon",{points:"827.65 539.53 786.6 580.56 786.54 580.62 745.5 621.66 663.25 703.91 623.15 703.91 663.32 663.75 664.25 662.81 746.44 580.62 786.6 540.47 787.55 539.53 827.65 539.53"}),(0,e.jsx)("path",{d:"M499.93,376.09l-.56.56-81.62,81.62-.56.56-40.54,40.54-.56.56-81.62,81.62-.57.57-40.54,40.53h285.64l1.48-1.48v-80.71h-81.6l-.59.59v-.59h.59l40.5-40.51v-.59h.59l40.5-40.51v-.59h.59l40.5-40.51v-.59h.59l40.5-40.51v-.58h-122.73ZM417.19,582.15v-.59h.59l-.59.59Z"}),(0,e.jsx)("path",{d:"M541.06,458.28l-.59.59v81.6h80.71l1.49-1.49v1.49h-1.49l-39.61,39.61v1.48h-1.48l-39.62,39.62v1.48h-1.48l-39.62,39.62v1.48h-1.48l-39.62,39.62v1.48h121.85l1.45-1.45,39.65-39.65,1.45-1.45,39.65-39.65,1.44-1.44,39.66-39.66,1.44-1.44,39.65-39.65,42.54-42.54,39.65-39.65h-285.64ZM663.75,497.9v1.48h-1.48l1.48-1.48Z"})]})}
1t.s(["AuthScreen",0,function({title:t,description:r,footer:n,toggles:i,children:o}){return(0,e.jsxs)("div",{className:"flex min-h-svh flex-col p-6 md:p-10",children:[(0,e.jsx)("div",{className:"flex flex-wrap justify-end gap-2",children:i}),(0,e.jsx)("div",{className:"flex flex-1 items-center justify-center py-8",children:(0,e.jsxs)(a.Card,{tone:"default",padding:"none",className:"w-full max-w-sm p-6 sm:p-8",children:[(0,e.jsxs)("div",{className:"flex flex-col items-center text-center",children:[(0,e.jsx)(s,{}),(0,e.jsx)("h1",{className:"mt-5 text-2xl font-semibold tracking-tight text-foreground",children:t}),(0,e.jsx)("p",{className:"mt-2 text-sm leading-6 text-muted-foreground",children:r})]}),(0,e.jsx)("div",{className:"mt-7",children:o}),(0,e.jsx)("div",{className:"mt-6 border-t border-border/70 pt-4 text-center text-xs leading-6 text-muted-foreground",children:n})]})})]})}],679919),t.i(194438),t.s([],486637)},813734,t=>{"use strict";var e=t.i(255460),a=t.i(463552),s=t.i(850410),r=t.i(747318);t.i(486637);var n=t.i(194438),i=t.i(750320),o=t.i(950100),c=t.i(79e3),l=t.i(843060),u=t.i(66841),d=t.i(191249);t.s(["default",0,function(){let t,h=(0,s.useLocale)(),{resolvedTheme:p}=(0,d.useAppTheme)(),f={loginWithGoogle:(t=(0,r.useTranslations)("login"))("login_with_google"),loginWithX:t("login_with_x"),loginFailed:t("login_failed"),statusConnecting:t("status_connecting"),statusConnectingDescription:t("status_connecting_description"),statusVerifyingDescription:t("status_verifying_description"),statusRedirectingDescription:t("status_redirecting_description"),configError:"Missing or invalid NEXT_PUBLIC_PRIVY_APP_ID. Set a 25-character Privy app ID for this app before using OAuth login."},m=(0,a.useSearchParams)().get("redirect");async function v(){try{let t=await (0,i.fetchAccessStatus)();if("approved"===t.access_status)return m&&(0,u.isSafeReturnTo)(m)?m:`/${h}${l.PageRoutes.DASHBOARD}`}catch{}let t=new URLSearchParams(window.location.search).get("code");return t?`/${h}${l.PageRoutes.ACCESS}?code=${encodeURIComponent(t)}`:`/${h}${l.PageRoutes.ACCESS}`}return(0,e.jsx)(n.PrivyLogin,{copy:f,credentials:{appId:c.PRIVY_APP_ID,clientId:c.PRIVY_CLIENT_ID||void 0},dashboardPath:`/${h}${l.PageRoutes.DASHBOARD}`,loginPath:`/${h}${l.PageRoutes.LOGIN}`,tokenStorageKey:c.COOKIE_TOKEN_NAME,loginPrivy:o.loginPrivy,resolveRedirectPath:v,clearStoredSession:u.clearStoredSession,theme:"light"===p?"light":"dark"})}])},357765,t=>{t.v(e=>Promise.all(["static/chunks/37atogmhcfb-n.js"].map(e=>t.l(e))).then(()=>e(407252)))},313886,t=>{t.v(t=>Promise.resolve().then(()=>t(300059)))},582822,t=>{t.v(e=>Promise.all(["static/chunks/1epvb3wlt0f23.js","static/chunks/2jah9bdgnyhli.js","static/chunks/3wj48usv_-8br.js","static/chunks/3kvyg8yo0fj1o.js","static/chunks/1scuss0ffc29f.js"].map(e=>t.l(e))).then(()=>e(420371)))},376592,t=>{t.v(e=>Promise.all(["static/chunks/19jy6q9cdw1y5.js","static/chunks/06v9pyuj9v7k1.js"].map(e=>t.l(e))).then(()=>e(583465)))},577317,t=>{t.v(e=>Promise.all(["static/chunks/1ik5oqodor_2t.js"].map(e=>t.l(e))).then(()=>e(7450)))},420147,t=>{t.v(e=>Promise.all(["static/chunks/1j8thb4_6hh0-.js"].map(e=>t.l(e))).then(()=>e(346173)))},799706,t=>{t.v(e=>Promise.all(["static/chunks/1z84pyzzq6nf-.js"].map(e=>t.l(e))).then(()=>e(164834)))},558034,t=>{t.v(e=>Promise.all(["static/chunks/2m0wmhyviy85o.js"].map(e=>t.l(e))).then(()=>e(417717)))},421063,t=>{t.v(e=>Promise.all(["static/chunks/1np3i9l-v0_9p.js"].map(e=>t.l(e))).then(()=>e(199805)))},378828,t=>{t.v(e=>Promise.all(["static/chunks/13rlttkpu-w2a.js"].map(e=>t.l(e))).then(()=>e(189381)))},962030,t=>{t.v(e=>Promise.all(["static/chunks/10wn40rj84fxo.js","static/chunks/0-woo5jyb_6e4.js","static/chunks/21tdl6vjk-aks.js"].map(e=>t.l(e))).then(()=>e(802451)))},898344,t=>{t.v(e=>Promise.all(["static/chunks/29vlgjio-dnbu.js","static/chunks/2v-pel-k8xu9h.js","static/chunks/0gzd8xpusgj5h.js","static/chunks/1-6wdpb9xs6ik.js"].map(e=>t.l(e))).then(()=>e(23708)))},732679,t=>{t.v(e=>Promise.all(["static/chunks/29vlgjio-dnbu.js","static/chunks/2jx_j7k6okc6p.js","static/chunks/1-6wdpb9xs6ik.js","static/chunks/0gzd8xpusgj5h.js"].map(e=>t.l(e))).then(()=>e(682239)))},365545,t=>{t.v(e=>Promise.all(["static/chunks/0n9x9vq2nyr0p.js"].map(e=>t.l(e))).then(()=>e(48396)))},108168,t=>{t.v(e=>Promise.all(["static/chunks/16tu9-wynxhqc.js"].map(e=>t.l(e))).then(()=>e(79924)))},231429,t=>{t.v(e=>Promise.all(["static/chunks/0zrbm8dx_7mpz.js"].map(e=>t.l(e))).then(()=>e(652894)))},182987,t=>{t.v(e=>Promise.all(["static/chunks/2-vkxgvzt6-jd.js"].map(e=>t.l(e))).then(()=>e(208492)))},132277,t=>{t.v(e=>Promise.all(["static/chunks/2h6_cn7hinlzy.js"].map(e=>t.l(e))).then(()=>e(829131)))},881170,t=>{t.v(e=>Promise.all(["static/chunks/2-bat1rzq1zye.js","static/chunks/0-woo5jyb_6e4.js","static/chunks/21tdl6vjk-aks.js"].map(e=>t.l(e))).then(()=>e(419752)))},135578,t=>{t.v(e=>Promise.all(["static/chunks/23uqutdsgk6p-.js"].map(e=>t.l(e))).then(()=>e(684650)))},909037,t=>{t.v(e=>Promise.all(["static/chunks/1surreuj_q-az.js","static/chunks/21tdl6vjk-aks.js","static/chunks/0-woo5jyb_6e4.js","static/chunks/38wfaf60rcess.js","static/chunks/2kzmtho3_f_is.js"].map(e=>t.l(e))).then(()=>e(31944)))},878105,t=>{t.v(e=>Promise.all(["static/chunks/3k_2aedy-a95d.js"].map(e=>t.l(e))).then(()=>e(466773)))},645088,t=>{t.v(e=>Promise.all(["static/chunks/2zm268r2dwds3.js"].map(e=>t.l(e))).then(()=>e(255409)))},793583,t=>{t.v(e=>Promise.all(["static/chunks/3c2u5eggehdre.js"].map(e=>t.l(e))).then(()=>e(816796)))},443e3,t=>{t.v(e=>Promise.all(["static/chunks/1h55oe-9u5chz.js"].map(e=>t.l(e))).then(()=>e(13041)))},782034,t=>{t.v(e=>Promise.all(["static/chunks/21tdl6vjk-aks.js","static/chunks/0gzd8xpusgj5h.js","static/chunks/25omogtghvfx8.js"].map(e=>t.l(e))).then(()=>e(422719)))},327471,t=>{t.v(e=>Promise.all(["static/chunks/1zgtjnkco6836.js"].map(e=>t.l(e))).then(()=>e(787574)))},367020,t=>{t.v(e=>Promise.all(["static/chunks/10zf0j9t4msoh.js"].map(e=>t.l(e))).then(()=>e(738904)))},345835,t=>{t.v(e=>Promise.all(["static/chunks/3t6_r15t9ntv3.js"].map(e=>t.l(e))).then(()=>e(105607)))},893901,t=>{t.v(e=>Promise.all(["static/chunks/3bukoql2o7vyk.js"].map(e=>t.l(e))).then(()=>e(664107)))},231820,t=>{t.v(e=>Promise.all(["static/chunks/3g-ng5s_ecdp5.js","static/chunks/23npq9ijqm3mv.js"].map(e=>t.l(e))).then(()=>e(288339)))},662738,t=>{t.v(e=>Promise.all(["static/chunks/2_t7pje28fhe8.js","static/chunks/23npq9ijqm3mv.js"].map(e=>t.l(e))).then(()=>e(900278)))},525821,t=>{t.v(e=>Promise.all(["static/chunks/3ttcj2n83tapf.js"].map(e=>t.l(e))).then(()=>e(631004)))},801322,t=>{t.v(e=>Promise.all(["static/chunks/32pvm-y-em6al.js"].map(e=>t.l(e))).then(()=>e(401334)))},568840,t=>{t.v(e=>Promise.all(["static/chunks/21tdl6vjk-aks.js","static/chunks/1c7aembzeaifi.js"].map(e=>t.l(e))).then(()=>e(394900)))},510851,t=>{t.v(e=>
1Promise.all(["static/chunks/2ktdj63kd_akb.js","static/chunks/21tdl6vjk-aks.js"].map(e=>t.l(e))).then(()=>e(685998)))},582455,t=>{t.v(e=>Promise.all(["static/chunks/1rc-gr6oc1xb5.js","static/chunks/38wfaf60rcess.js","static/chunks/2uy9dy82fx67r.js"].map(e=>t.l(e))).then(()=>e(245845)))},563845,t=>{t.v(e=>Promise.all(["static/chunks/3gxwh7vzpp_2d.js","static/chunks/1cyv8u4t5ts91.js"].map(e=>t.l(e))).then(()=>e(594909)))},193829,t=>{t.v(e=>Promise.all(["static/chunks/1_j60lb8m-bh7.js"].map(e=>t.l(e))).then(()=>e(253680)))},874070,t=>{t.v(e=>Promise.all(["static/chunks/2dtifu93cegdu.js","static/chunks/0lmixkrwy8htz.js"].map(e=>t.l(e))).then(()=>e(843633)))},364412,t=>{t.v(e=>Promise.all(["static/chunks/0l837fw0muxnp.js","static/chunks/0lmixkrwy8htz.js"].map(e=>t.l(e))).then(()=>e(831723)))},523230,t=>{t.v(e=>Promise.all(["static/chunks/149vio63d3tof.js"].map(e=>t.l(e))).then(()=>e(176570)))},757838,t=>{t.v(e=>Promise.all(["static/chunks/28gywt38a6dho.js"].map(e=>t.l(e))).then(()=>e(352261)))},86330,t=>{t.v(e=>Promise.all(["static/chunks/2a9u2mxj76csj.js","static/chunks/21tdl6vjk-aks.js","static/chunks/0-woo5jyb_6e4.js","static/chunks/38wfaf60rcess.js","static/chunks/2kzmtho3_f_is.js"].map(e=>t.l(e))).then(()=>e(574969)))},96736,t=>{t.v(e=>Promise.all(["static/chunks/07a7ih7p33rqv.js"].map(e=>t.l(e))).then(()=>e(295536)))},354899,t=>{t.v(e=>Promise.all(["static/chunks/2d4_l258d_wij.js"].map(e=>t.l(e))).then(()=>e(409182)))},403062,t=>{t.v(e=>Promise.all(["static/chunks/0lmixkrwy8htz.js"].map(e=>t.l(e))).then(()=>e(328852)))},908303,t=>{t.v(e=>Promise.all(["static/chunks/1baqr0rdf18rb.js","static/chunks/38wfaf60rcess.js"].map(e=>t.l(e))).then(()=>e(504494)))},883970,t=>{t.v(e=>Promise.all(["static/chunks/3gqupmui_bn08.js"].map(e=>t.l(e))).then(()=>e(571014)))},579256,t=>{t.v(e=>Promise.all(["static/chunks/0-3hvl3d5t0it.js","static/chunks/21tdl6vjk-aks.js"].map(e=>t.l(e))).then(()=>e(629130)))},816307,t=>{t.v(e=>Promise.all(["static/chunks/0u521y42jmeuu.js","static/chunks/21tdl6vjk-aks.js","static/chunks/0bq21s-emkpms.js"].map(e=>t.l(e))).then(()=>e(9251)))},898185,t=>{t.v(e=>Promise.all(["static/chunks/0t9rm9pasln17.js"].map(e=>t.l(e))).then(()=>e(236832)))},23265,t=>{t.v(e=>Promise.all(["static/chunks/0u521y42jmeuu.js","static/chunks/1hgh4sinb8oka.js","static/chunks/21tdl6vjk-aks.js","static/chunks/38wfaf60rcess.js"].map(e=>t.l(e))).then(()=>e(172038)))},860384,t=>{t.v(e=>Promise.all(["static/chunks/2f7bjuts-3fuk.js"].map(e=>t.l(e))).then(()=>e(166319)))},842829,t=>{t.v(e=>Promise.all(["static/chunks/3qe8lmb8uvuub.js"].map(e=>t.l(e))).then(()=>e(605611)))},833775,t=>{t.v(e=>Promise.all(["static/chunks/28o5wyhjqsyzt.js"].map(e=>t.l(e))).then(()=>e(581343)))},900983,t=>{t.v(e=>Promise.all(["static/chunks/3ucb_as_dry0v.js"].map(e=>t.l(e))).then(()=>e(512264)))},571200,t=>{t.v(e=>Promise.all(["static/chunks/2px3xawykuc6o.js"].map(e=>t.l(e))).then(()=>e(386969)))},968645,t=>{t.v(e=>Promise.all(["static/chunks/36p-v6xv3s2su.js"].map(e=>t.l(e))).then(()=>e(297091)))},585957,t=>{t.v(e=>Promise.all(["static/chunks/0ow6bwx136bd3.js"].map(e=>t.l(e))).then(()=>e(18941)))},963698,t=>{t.v(e=>Promise.all(["static/chunks/3qsa4zwu8ii0g.js","static/chunks/0ygc9m69mqnfu.js","static/chunks/3plzi_5ncb55c.js"].map(e=>t.l(e))).then(()=>e(248375)))},952264,t=>{t.v(e=>Promise.all(["static/chunks/3vyseyow9sszb.js"].map(e=>t.l(e))).then(()=>e(926703)))},255255,t=>{t.v(e=>Promise.all(["static/chunks/2-kav5iaqx7uj.js"].map(e=>t.l(e))).then(()=>e(450794)))},513894,t=>{t.v(e=>Promise.all(["static/chunks/2fpx7vollyrc0.js","static/chunks/2hpp6vlczm4h4.js"].map(e=>t.l(e))).then(()=>e(591268)))},98585,t=>{t.v(e=>Promise.all(["static/chunks/1sirhgmc2e_vs.js"].map(e=>t.l(e))).then(()=>e(609379)))},770047,t=>{t.v(e=>Promise.all(["static/chunks/432w4rxq7b8cy.js","static/chunks/0lmixkrwy8htz.js"].map(e=>t.l(e))).then(()=>e(26803)))},310748,t=>{t.v(e=>Promise.all(["static/chunks/2pc62hf78ra0u.js"].map(e=>t.l(e))).then(()=>e(278370)))},348530,t=>{t.v(e=>Promise.all(["static/chunks/24pkac3kr3ivc.js","static/chunks/38wfaf60rcess.js"].map(e=>t.l(e))).then(()=>e(946474)))},108843,t=>{t.v(e=>Promise.all(["static/chunks/0skt7ilwmkp3c.js"].map(e=>t.l(e))).then(()=>e(426118)))},498734,t=>{t.v(e=>Promise.all(["static/chunks/36hoalju3d3tv.js"].map(e=>t.l(e))).then(()=>e(801481)))},130113,t=>{t.v(e=>Promise.all(["static/chunks/37eumuaf1drum.js"].map(e=>t.l(e))).then(()=>e(825105)))}]);
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.