PageSourceSearch

https://forevermoney.ai/_next/static/chunks/172-5fa1b6de73e6c7bc.js

js forevermoney.ai collected 2026-10-05 12:00:18 UTC 15,172 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[172],{8029:(e,t,s)=>{"use strict";s.d(t,{A:()=>o});var r=s(95155),a=s(69730),i=s.n(a),n=s(46998),l=s(65711);function o({icon:e,label:t,detail:s,selectable:a=!1,expanded:d=!1,disabled:c=!1,onClick:u}){let p=(0,r.jsxs)(r.Fragment,{children:[e,(0,r.jsxs)("b",{className:"text-left text-sm font-semibold leading-[1.08] text-fm-text",children:[t,s&&(0,r.jsx)("small",{className:"mt-0.5 block text-[11px] font-normal text-fm-muted",children:s})]})]});return a?(0,r.jsxs)("button",{type:"button",disabled:c,"aria-haspopup":"listbox","aria-expanded":d,onClick:u,className:i()("flex shrink-0 items-center gap-2 rounded-lg py-1 pl-1 pr-1.5 disabled:opacity-50",l.sx,l.i),children:[p,(0,r.jsx)(n.A,{size:15,className:i()("ml-0.5 text-fm-muted transition-transform",d&&"rotate-180"),"aria-hidden":"true"})]}):(0,r.jsx)("span",{className:`flex shrink-0 items-center gap-2 rounded-lg py-1 pl-1 pr-3 ${l.sx}`,children:p})}},17837:(e,t,s)=>{"use strict";s.d(t,{Dc:()=>l,O9:()=>o,RN:()=>i,SE:()=>n});var r=s(95155),a=s(25031);function i({className:e=""}){return(0,r.jsx)("span",{"aria-hidden":"true",className:`block animate-pulse rounded bg-[var(--fm-surface-control)] motion-reduce:animate-none ${e}`})}function n({count:e=4,compact:t=!1}){return(0,r.jsx)("div",{role:"status","aria-label":"Loading tokens","aria-busy":"true",className:"w-full",children:Array.from({length:e},(e,s)=>(0,r.jsxs)("div",{className:`flex w-full items-center gap-3 ${t?"px-2.5 py-2.5":"min-h-16 px-3"}`,children:[(0,r.jsx)(i,{className:`${t?"h-9 w-9":"h-[38px] w-[38px]"} shrink-0 !rounded-full`}),(0,r.jsxs)("div",{className:"min-w-0 flex-1 space-y-2",children:[(0,r.jsx)(i,{className:"h-3.5 w-24 max-w-full"}),(0,r.jsx)(i,{className:"h-3 w-16"})]}),(0,r.jsxs)("div",{className:"shrink-0 space-y-2",children:[(0,r.jsx)(i,{className:"ml-auto h-3.5 w-20"}),(0,r.jsx)(i,{className:"ml-auto h-3 w-14"})]})]},s))})}function l({holders:e=!1,scrollable:t=!1}){let s=e?["Holder","Balance","Share"]:["Time","Type","Price","Amount","Value","Txn"];return(0,r.jsx)("div",{role:"status","aria-label":e?"Loading holders":"Loading trades","aria-busy":"true",children:(0,r.jsx)(a.A,{scrollable:t,"aria-hidden":"true",className:"whitespace-nowrap text-right",columns:s.map((t,s)=>({label:t,className:0===s?e?"text-left":"w-px text-left":"Type"===t||"Txn"===t?"w-px text-right":"text-right"})),children:Array.from({length:5},(t,a)=>(0,r.jsx)("tr",{className:"border-t border-white/5",children:s.map((t,s)=>(0,r.jsx)("td",{className:e?"py-3":"py-2",children:(0,r.jsx)(i,{className:`h-4 ${0===s?e?"w-32":"w-12":`ml-auto ${"Txn"===t?"w-4":"Type"===t?"w-8":"w-16"}`}`})},t))},a))})})}function o(){return(0,r.jsxs)("div",{role:"status","aria-label":"Loading token amount","aria-busy":"true",className:"space-y-3",children:[(0,r.jsxs)("div",{className:"flex items-center justify-between gap-3",children:[(0,r.jsxs)("div",{className:"space-y-2",children:[(0,r.jsx)(i,{className:"h-8 w-24"}),(0,r.jsx)(i,{className:"h-3 w-14"})]}),(0,r.jsxs)("div",{className:"flex items-center gap-2",children:[(0,r.jsx)(i,{className:"h-8 w-8 !rounded-full"}),(0,r.jsx)(i,{className:"h-4 w-16"})]})]}),(0,r.jsxs)("div",{className:"flex justify-between",children:[(0,r.jsx)(i,{className:"h-5 w-32"}),(0,r.jsx)(i,{className:"h-3 w-16"})]})]})}},25031:(e,t,s)=>{"use strict";s.d(t,{A:()=>a});var r=s(95155);function a({columns:e,children:t,className:s="",scrollable:i=!1,...n}){return(0,r.jsx)("div",{className:i?"max-h-[420px] overflow-auto [scrollbar-gutter:stable]":"overflow-x-auto",children:(0,r.jsxs)("table",{...n,className:`w-full text-xs tabular-nums [&_td]:px-[var(--fm-panel-padding)] ${s}`,children:[(0,r.jsx)("thead",{className:`bg-[var(--fm-table-header-bg)] text-xs text-fm-muted ${i?"sticky top-0 z-10":""}`,children:(0,r.jsx)("tr",{children:e.map(e=>{let{label:t,className:s="",key:a}="string"==typeof e?{label:e}:e;return(0,r.jsx)("th",{scope:"col",className:`px-[var(--fm-panel-padding)] py-3 font-medium ${s}`,children:t},a||t)})})}),(0,r.jsx)("tbody",{children:t})]})})}},36798:e=>{e.exports={bigIntInput:"BigIntInput_bigIntInput__Eez9Y",inputWrapper:"BigIntInput_inputWrapper__AwM4z",lightBorder:"BigIntInput_lightBorder__RzKIp",inputFocused:"BigIntInput_inputFocused__rYWkc",disabled:"BigIntInput_disabled__pfV6z",readOnly:"BigIntInput_readOnly__ZYR5n",right:"BigIntInput_right__MP3ML",error:"BigIntInput_error__
1k_Ttm",errorText:"BigIntInput_errorText__1534f"}},39602:(e,t,s)=>{"use strict";s.d(t,{A:()=>w});var r=s(95155),a=s(69730),i=s.n(a),n=s(32509),l=s(12115),o=s(36798),d=s.n(o);let c={k:1e3,m:1e6,b:1e9},u=({value:e,groupSeparator:t=",",decimalSeparator:s=".",allowDecimals:r=!0,decimalsLimit:a=2,allowNegativeValue:i=!0,turnOffAbbreviations:n=!1,prefix:l=""})=>{var o;let d,u,p=n?[]:["k","m","b"],h=e.includes("-"),[m,f]=RegExp(`(\\d+)-?${l.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}`).exec(e)||[],g=(o=((e,t=",")=>{let s=RegExp(t.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&"),"g");return e.replace(s,"")})(l?e.replace(m,"").concat(f):e,t),d=[t,s,...p].join("").replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&"),u=RegExp(`[^\\d${d}]`,"gi"),o.replace(u,"")),x=g;if(!n){if(p.some(e=>e===g.toLowerCase()))return"";let e=((e,t=".")=>{let s=RegExp(`(\\d+(${t.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}\\d+)?)([kmb])$`,"i"),r=e.match(s);if(r){let[,e,,s]=r,a=c[s.toLowerCase()];if(e&&a)return Number(e.replace(t,"."))*a}})(g,s);e&&(x=String(e))}let b=h&&i?"-":"";if(String(x).includes(s)){let[e,t]=g.split(s),i=a?t.slice(0,a):t,n=r?`${s}${i}`:"";return`${b}${e}${n}`}return`${b}${x}`},p=e=>{let{value:t,groupSeparator:s=",",decimalSeparator:r=".",turnOffSeparators:a=!1,prefix:i}=e;if(""===t||void 0===t)return"";let n=String(t);if("-"===n)return"-";let l=RegExp("^-\\d+").test(n),o=r&&n.includes(r),d=l?n.replace("-",""):n,[c,u]=o?d.split(r):[d],p=a?c:((e,t=",")=>e.replace(/\B(?=(\d{3})+(?!\d))/g,t))(c,s),h=o&&u?`${r}${u}`:o?`${r}`:"";return`${l?"-":""}${i||""}${p}${h}`},h=e=>RegExp(/\d/,"gi").test(e),m=({allowDecimals:e=!0,allowNegativeValue:t=!0,id:s,name:a,className:i,decimalsLimit:n,defaultValue:o,disabled:d=!1,maxLength:c,value:m,onChange:f,onFocus:g,onBlur:x,onBlurValue:b,fixedDecimalLength:v,placeholder:w,precision:y,prefix:j,step:N,decimalSeparator:$=".",groupSeparator:k=",",turnOffSeparators:_=!1,turnOffAbbreviations:I=!1,innerRef:S,...E})=>{if($===k)throw Error("decimalSeparator cannot be the same as groupSeparator");if(h($))throw Error("decimalSeparator cannot be a number");if(h(k))throw Error("groupSeparator cannot be a number");let R={decimalSeparator:$,groupSeparator:k,turnOffSeparators:_,prefix:j},B={decimalSeparator:$,groupSeparator:k,allowDecimals:e,decimalsLimit:n||v||2,allowNegativeValue:t,turnOffAbbreviations:I,prefix:j},C=void 0!==o?p({value:String(o),...R}):"",[F,T]=(0,l.useState)(C),[O,A]=(0,l.useState)(0),L=(e,t)=>{let s=u({value:e,...B});if(!s){f?.(void 0,a),T("");return}if(c&&s.replace(/-/g,"").length>c)return;if("-"===s){f?.(void 0,a),T(e);return}let r=p({value:s,...R});null!=t&&A(t+(r.length-e.length)||1),T(r),f?.(s,a)};(0,l.useEffect)(()=>{S?.current&&S.current===document.activeElement&&S.current.setSelectionRange(O,O)},[O,S]);let q=void 0!==m?p({value:String(m),...R}):void 0;return(0,r.jsx)("input",{...E,type:"text",inputMode:"decimal",id:s,name:a,className:i,onChange:({target:{value:e,selectionStart:t}})=>{L(e,t)},onBlur:e=>{let{value:t}=e.target,s=u({value:t,...B});if("-"===s||!s){b?.(void 0,a),T(""),x?.(e);return}let r=((e,t=".",s)=>{if(!s||""===e||void 0===e)return e;if(!e.match(/\d/g))return"";let[r,a]=e.split(t),i=a||"";if(i.length<s)for(;i.length<s;)i+="0";else i=i.slice(0,s);return`${r}${t}${i}`})(((e,t,s)=>{if(s&&e.length>1){if(e.includes(t)){let[r,a]=e.split(t);if(a.length>s)return`${r}${t}${a.slice(0,s)}`}let r=e.length>s?RegExp(`(\\d+)(\\d{${s}})`):RegExp("(\\d)(\\d+)"),a=e.match(r);if(a){let[,e,s]=a;return`${e}${t}${s}`}}return e})(s,$,v),$,y||v);f?.(r,a),b?.(r,a),T(p({value:r,...R})),x?.(e)},onFocus:e=>{A(F?.length??0),g?.(e)},onKeyDown:({key:e})=>{if(N&&("ArrowUp"===e||"ArrowDown"===e)){let t=Number(void 0!==m?m:u({value:F,...B}))||0;L("ArrowUp"===e?String(t+Number(N)):String(t-Number(N)))}},placeholder:w,disabled:d,value:void 0!==q&&"-"!==F?q:F,ref:S})};var f=s(89424),g=s.n(f);class x extends l.PureComponent{render(){return(0,r.jsxs)(r.Fragment,{children:["\xa0",(0,r.jsx)("span",{className:g().required,children:"*"})]})}}var b=s(5772);class v extends l.Component{constructor(e){super(e),this.state={value:this.returnValue(e.value),isFocused:!1},this.internalRef=l.createRef(),this.onChange=this.onChange.bind(this),this.onBlur=this.onBlur.bind(this),this.onFocus=this.onFocus.bind(this)}onBlur(){this.setState({isFocused:!1,showError:this.props.required&&(!this.props.value||0n===this.props.value)},()=>{this.props.onBlur&&this.props.onBlur()})}onFocus(){this.setState({isFocused:!0,showError:!1},()=>{this.props.onFocus&&this.props.onFocus()})}returnValue(e){let t;if(this.isValidBigInt(e)){let s=(0,n.Js)(e,this.props.decimals),r=s.search(/\./);t=s,r>0&&"0"===s.substring(r+1)&&(t=s.substring(0,r))}return t||""}isValidBigInt(e){let t=!1;try{let s=BigInt(e);t="0"!==s.toString()||this.props.showInitialZero}catch{return!1}return t}
1componentDidUpdate(e,t,s){let r=this.state.value||"0";if(this.props.decimals!==e.decimals){let e=this.returnValue(this.props.value);e!==this.state.value&&this.setState({value:e});return}if(this.state.value===t.value){let t=this.transform(r);this.props.value.toString()!==t&&this.props.value.toString()!==e.value.toString()&&this.setState({value:this.returnValue(this.props.value)})}}transform(e){return"."===e?"0":(0,n.XS)(e,this.props.decimals).toString()}convertToBN(e){if(e){let t;try{t=(0,n.XS)(e,this.props.decimals)}catch(e){t=BigInt(0)}return t}return BigInt(0)}formatUnitsStrippingZero(e,t){let s=(0,n.Js)(e,t),r=s.split(".");return"0"===r[1]?r[0]:s}onChange(e){if(this.props.readOnly)return;let t=e?"0"!==e&&e.startsWith("0")&&!e.startsWith("0.")?e.replace(/^0+/,""):e:"";if(t!==this.state.value){let e=this.convertToBN(t);0n===this.props.max||2===t.length&&"0"===t.charAt(0)&&"."!==t.charAt(1)?(t="0",e=0n):0n!==e&&this.props.max&&e>BigInt(this.props.max)&&(t=this.formatUnitsStrippingZero(this.props.max,this.props.decimals),e=BigInt(this.props.max)),this.setState({value:t},()=>{this.props.onChange(e)})}}render(){let{placeholder:e,label:t,classNameOuter:s,required:a}=this.props,n=(0,r.jsx)(m,{id:this.props.id,innerRef:this.props.innerRef||this.internalRef,value:this.state.value,decimalsLimit:String(this.props.decimalsLimit||this.props.decimals),allowNegativeValue:!1,onChange:this.onChange,turnOffAbbreviations:!0,autoFocus:!1,autoComplete:"off",disabled:this.props.disabled,maxLength:this.props.maxLength,placeholder:e,"aria-label":this.props["aria-label"],className:this.props.inputClassName,style:this.props.style,onFocus:this.onFocus,onBlur:this.onBlur,readOnly:this.props.readOnly});return this.props.unstyled?n:(0,r.jsxs)("div",{className:i()(d().bigIntInput,s,!!(this.state.showError||this.props.error)&&d().error),children:[!!t&&(0,r.jsxs)("label",{htmlFor:this.props.id,children:[t,a&&(0,r.jsx)(x,{})]}),(0,r.jsxs)("div",{className:i()(d().inputWrapper,this.props.innerClassName,this.props.lightBorder&&d().lightBorder,this.state.isFocused&&!this.props.readOnly&&d().inputFocused,this.props.disabled&&d().disabled,this.props.readOnly&&d().readOnly),onClick:()=>{let e=this.props.innerRef||this.internalRef;e.current?.focus()},children:[n,this.props.token&&(0,r.jsxs)("div",{className:d().right,children:[(0,r.jsx)(b.default,{height:20,width:20,src:this.props.token.image,alt:this.props.token.name}),(0,r.jsx)("p",{children:this.props.token.symbol})]}),this.props.percent&&(0,r.jsx)("div",{className:d().right,children:(0,r.jsx)("p",{className:"text-fm-accent",children:"%"})})]}),!!this.props.error&&(0,r.jsx)("h5",{className:d().errorText,children:this.props.errorText||this.props.error})]})}}v.defaultProps={decimals:0};let w=l.forwardRef((e,t)=>(0,r.jsx)(v,{innerRef:t,...e}))},49910:(e,t,s)=>{"use strict";s.d(t,{n:()=>a});let r=(e,t)=>t.some(t=>e.includes(t));function a(e,{cancelled:t="Request cancelled. No funds were moved.",insufficientFunds:s="You do not have enough funds for this transaction and its network fee.",networkUnavailable:i="We could not reach the network. Please try again in a moment.",pendingRequest:n="A request is already open in your wallet. Complete or cancel it, then try again.",walletUnavailable:l="Your wallet is not ready. Reconnect it and try again.",submitted:o="Your transaction was submitted, but its status could not be confirmed. Check your wallet before trying again.",fallback:d="The transaction could not be completed. Please try again.",wasSubmitted:c=!1}={}){let{codes:u,text:p}=function(e){let t=[e],s=new Set,r=new Set,a=[];for(;t.length&&s.size<16;){let e=t.shift();if(null!=e){if("string"==typeof e){a.push(e);continue}if(!("object"!=typeof e||s.has(e))){for(let t of(s.add(e),null!=e.code&&r.add(String(e.code).toUpperCase()),["message","shortMessage","reason"]))"string"==typeof e[t]&&a.push(e[t]);for(let s of["cause","error","info","data"])null!=e[s]&&t.push(e[s])}}}return{codes:r,text:a.join(" ").toLowerCase()}}(e);return e?.name==="AbortError"?{kind:"silent",message:""}:u.has("4001")||u.has("ACTION_REJECTED")||r(p,["user rejected","user denied","request rejected","request denied","cancelled by user","canceled by user"])?{kind:"cancelled",message:t}:u.has("-32002")||r(p,["already pending","request already pending","already processing eth_requestaccounts"])?{kind:"wallet",message:n}:u.has("INSUFFICIENT_FUNDS")||r(p,["insufficient funds","insufficient balance","exceeds the balance","insufficient value","insufficient fee","erc20insufficientbalance","outoffunds","out of funds"])?{kind:"balance",message:s}:u.has("4900")||u.has("4901")||r(p,["provider disconnected","wallet provider is not ready","connected wallet provider is not ready","wallet is locked"])?{kind:"wallet",message:l}:u.has("CALL_EXCEPTION")||r(p,["transaction reverted","execution reverted","call exception"])?{kind:"transaction",message:d}:c?{kind:"submitted",message:o}
1:u.has("NETWORK_ERROR")||u.has("SERVER_ERROR")||u.has("TIMEOUT")||u.has("429")||r(p,["failed to fetch","network error","network request failed","failed to detect network","could not detect network","econnreset","etimedout","socket hang up","bad gateway","service unavailable","too many requests","rate limit","rate_exceeded","status 429","status: 429","http 429"])?{kind:"network",message:i}:{kind:"transaction",message:d}}},89424:e=>{e.exports={required:"Required_required__emXh7"}},92364:(e,t,s)=>{"use strict";s.d(t,{Hf:()=>i,U6:()=>a,f_:()=>r});let r=Object.freeze({address:s(92233).$E.base.contracts.weth,symbol:"ETH",name:"Ethereum",decimals:18,coingeckoId:"ethereum"}),a=Object.freeze({address:"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913",symbol:"USDC",name:"USD Coin",decimals:6,coingeckoId:"usd-coin"}),i=Object.freeze({address:"0x5fc5360d0400a0fd4f2af552add042d716f1d168",symbol:"USDG",name:"Global Dollar",decimals:6});Object.freeze({address:"0x940181a94a35a4569e4529a3cdfb74e38fd98631",symbol:"AERO",decimals:18})}}]);

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.