PageSourceSearch

https://sideshift.ai/_next/static/chunks/8581-24920cbef63136f6.js

js sideshift.ai collected 2026-09-24 09:01:11 UTC 23,191 bytes, 1 lines download raw bytes

1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="ac9c1c21-41c0-4889-bc34-6e5e7c13fa45",e._sentryDebugIdIdentifier="sentry-dbid-ac9c1c21-41c0-4889-bc34-6e5e7c13fa45")}catch(e){}}();"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8581],{36387:(e,t,r)=>{r.d(t,{A:()=>v});var n=r(8853),i=r(53147),s=r(91197),o=r(12454),u=r(89460),f=r(84104),l=r(75534),c=r(19079);async function a(e,t){let{allowFailure:r=!0,chainId:n,contracts:i,...s}=t,o=e.getClient({chainId:n});return(0,u.T)(o,c.C,"multicall")({allowFailure:r,contracts:i,...s})}var h=r(91684);async function p(e,t){let{allowFailure:r=!0,blockNumber:n,blockTag:i,...s}=t,o=t.contracts;try{let t={};for(let[r,n]of o.entries()){let i=n.chainId??e.state.chainId;t[i]||(t[i]=[]),t[i]?.push({contract:n,index:r})}let u=(await Promise.all(Object.entries(t).map(([t,o])=>a(e,{...s,allowFailure:r,blockNumber:n,blockTag:i,chainId:Number.parseInt(t),contracts:o.map(({contract:e})=>e)})))).flat(),f=Object.values(t).flatMap(e=>e.map(({index:e})=>e));return u.reduce((e,t,r)=>(e&&(e[f[r]]=t),e),[])}catch(s){if(s instanceof l.bG)throw s;let t=()=>o.map(t=>(function(e,t){let{chainId:r,...n}=t,i=e.getClient({chainId:r});return(0,u.T)(i,h.J,"readContract")(n)})(e,{...t,blockNumber:n,blockTag:i}));if(r)return(await Promise.allSettled(t())).map(e=>"fulfilled"===e.status?{result:e.value,status:"success"}:{error:e.reason,result:void 0,status:"failure"});return await Promise.all(t())}}async function g(e,t){let{address:r,blockNumber:l,blockTag:c,chainId:a,token:h,unit:p="ether"}=t;if(h)try{return await d(e,{balanceAddress:r,chainId:a,symbolType:"string",tokenAddress:h})}catch(t){if("ContractFunctionExecutionError"===t.name){let t=await d(e,{balanceAddress:r,chainId:a,symbolType:"bytes32",tokenAddress:h}),s=(0,n.IQ)((0,i.B)(t.symbol,{dir:"right"}));return{...t,symbol:s}}throw t}let g=e.getClient({chainId:a}),m=(0,u.T)(g,o.r,"getBalance"),w=await m(l?{address:r,blockNumber:l}:{address:r,blockTag:c}),y=e.chains.find(e=>e.id===a)??g.chain;return{decimals:y.nativeCurrency.decimals,formatted:(0,s.J)(w,(0,f.l)(p)),symbol:y.nativeCurrency.symbol,value:w}}async function d(e,t){let{balanceAddress:r,chainId:n,symbolType:i,tokenAddress:o,unit:u}=t,l={abi:[{type:"function",name:"balanceOf",stateMutability:"view",inputs:[{type:"address"}],outputs:[{type:"uint256"}]},{type:"function",name:"decimals",stateMutability:"view",inputs:[],outputs:[{type:"uint8"}]},{type:"function",name:"symbol",stateMutability:"view",inputs:[],outputs:[{type:i}]}],address:o},[c,a,h]=await p(e,{allowFailure:!1,contracts:[{...l,functionName:"balanceOf",args:[r],chainId:n},{...l,functionName:"decimals",chainId:n},{...l,functionName:"symbol",chainId:n}]}),g=(0,s.J)(c??"0",(0,f.l)(u??a));return{decimals:a,formatted:g,symbol:h,value:c}}var m=r(68442),w=r(88997),y=r(32875),b=r(65331);function v(e={}){let{address:t,query:r={}}=e,n=(0,b.U)(e),i=(0,y.i)({config:n}),s=function(e,t={}){return{async queryFn({queryKey:t}){let{address:r,scopeKey:n,...i}=t[1];if(!r)throw Error("address is required");return await g(e,{...i,address:r})??null},queryKey:function(e={}){return["balance",(0,m.xO)(e)]}(t)}}(n,{...e,chainId:e.chainId??i}),o=!!(t&&(r.enabled??!0));return(0,w.IT)({...r,...s,enabled:o})}},41248:(e,t,r)=>{r.d(t,{Q:()=>f});var n=r(20344);let i=[];function s(e){let t=e.chains;return(0,n.b)(i,t)?i:(i=t,t)}var o=r(66656),u=r(65331);function f(e={}){let t=(0,u.U)(e);return(0,o.useSyncExternalStore)(e=>(function(e,t){let{onChange:r}=t;return e._internal.chains.subscribe((e,t)=>{r(e,t)})})(t,{onChange:e}),()=>s(t),()=>s(t))}},84104:(e,t,r)=>{r.d(t,{l:()=>i});var n=r(68052);function i(e){return"number"==typeof e?e:"wei"===e?0:Math.abs(n.pj[e])}},89460:(e,t,r)=>{r.d(t,{T:()=>n});function n(e,t,r){let n=e[t.name];if("function"==typeof n)return n;let i=e[r];return"function"==typeof i?i:r=>t(e,r)}},94837:(e,t,r)=>{var n,i;function s(){if(i)return n;function e(e,t,r){function n(){var l=Date.now()-u;l<t&&l>=0?i=setTimeout(n,t-l):(i=null,r||(f=e.apply(o,s),o=s=null))}null==t&&(t=100);var i,s,o,u,f,l=function(){o=this,s=arguments,u=Date.now();var l=r&&!i;
1return i||(i=setTimeout(n,t)),l&&(f=e.apply(o,s),o=s=null),f};return l.clear=function(){i&&(clearTimeout(i),i=null)},l.flush=function(){i&&(f=e.apply(o,s),o=s=null,clearTimeout(i),i=null)},l}return i=1,e.debounce=e,n=e}r.d(t,{k:()=>s})},99602:(e,t,r)=>{r.d(t,{g:()=>m});var n=/^-?(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?$/i,i=Math.ceil,s=Math.floor,o="[BigNumber Error] ",u=o+"Number primitive has more than 15 significant digits: ",f=[1,10,100,1e3,1e4,1e5,1e6,1e7,1e8,1e9,1e10,1e11,1e12,1e13];function l(e){var t=0|e;return e>0||e===t?t:t-1}function c(e){for(var t,r,n=1,i=e.length,s=e[0]+"";n<i;){for(r=14-(t=e[n++]+"").length;r--;t="0"+t);s+=t}for(i=s.length;48===s.charCodeAt(--i););return s.slice(0,i+1||1)}function a(e,t){var r,n,i=e.c,s=t.c,o=e.s,u=t.s,f=e.e,l=t.e;if(!o||!u)return null;if(r=i&&!i[0],n=s&&!s[0],r||n)return r?n?0:-u:o;if(o!=u)return o;if(r=o<0,n=f==l,!i||!s)return n?0:!i^r?1:-1;if(!n)return f>l^r?1:-1;for(u=(f=i.length)<(l=s.length)?f:l,o=0;o<u;o++)if(i[o]!=s[o])return i[o]>s[o]^r?1:-1;return f==l?0:f>l^r?1:-1}function h(e,t,r,n){if(e<t||e>r||e!==s(e))throw Error(o+(n||"Argument")+("number"==typeof e?e<t||e>r?" out of range: ":" not an integer: ":" not a primitive number: ")+String(e))}function p(e){var t=e.c.length-1;return l(e.e/14)==t&&e.c[t]%2!=0}function g(e,t){return(e.length>1?e.charAt(0)+"."+e.slice(1):e)+(t<0?"e":"e+")+t}function d(e,t,r){var n,i;if(t<0){for(i=r+".";++t;i+=r);e=i+e}else if(++t>(n=e.length)){for(i=r,t-=n;--t;i+=r);e+=i}else t<n&&(e=e.slice(0,t)+"."+e.slice(t));return e}var m=function e(t){var r,m,w,y,b,v,N,O,E,A=k.prototype={constructor:k,toString:null,valueOf:null},x=new k(1),I=20,_=4,S=-7,T=21,D=-1e7,C=1e7,P=!1,B=1,R=0,U={prefix:"",groupSize:3,secondaryGroupSize:0,groupSeparator:",",decimalSeparator:".",fractionGroupSize:0,fractionGroupSeparator:"\xa0",suffix:""},L="0123456789abcdefghijklmnopqrstuvwxyz",M=!0;function k(e,t){var r,i,o,f,l,c,a,p,g=this;if(!(g instanceof k))return new k(e,t);if(null==t){if(e&&!0===e._isBigNumber)return g.s=e.s,void(!e.c||e.e>C?g.c=g.e=null:e.e<D?g.c=[g.e=0]:(g.e=e.e,g.c=e.c.slice()));if((c="number"==typeof e)&&0*e==0){if(g.s=1/e<0?(e=-e,-1):1,e===~~e){for(f=0,l=e;l>=10;l/=10,f++);return void(f>C?g.c=g.e=null:(g.e=f,g.c=[e]))}p=String(e)}else{if(!n.test(p=String(e)))return w(g,p,c);
1g.s=45==p.charCodeAt(0)?(p=p.slice(1),-1):1}(f=p.indexOf("."))>-1&&(p=p.replace(".","")),(l=p.search(/e/i))>0?(f<0&&(f=l),f+=+p.slice(l+1),p=p.substring(0,l)):f<0&&(f=p.length)}else{if(h(t,2,L.length,"Base"),10==t&&M)return q(g=new k(e),I+g.e+1,_);if(p=String(e),c="number"==typeof e){if(0*e!=0)return w(g,p,c,t);if(g.s=1/e<0?(p=p.slice(1),-1):1,k.DEBUG&&p.replace(/^0\.0*|\./,"").length>15)throw Error(u+e)}else g.s=45===p.charCodeAt(0)?(p=p.slice(1),-1):1;for(r=L.slice(0,t),f=l=0,a=p.length;l<a;l++)if(0>r.indexOf(i=p.charAt(l))){if("."==i){if(l>f){f=a;continue}}else if(!o&&(p==p.toUpperCase()&&(p=p.toLowerCase())||p==p.toLowerCase()&&(p=p.toUpperCase()))){o=!0,l=-1,f=0;continue}return w(g,String(e),c,t)}c=!1,(f=(p=m(p,t,10,g.s)).indexOf("."))>-1?p=p.replace(".",""):f=p.length}for(l=0;48===p.charCodeAt(l);l++);for(a=p.length;48===p.charCodeAt(--a););if(p=p.slice(l,++a)){if(a-=l,c&&k.DEBUG&&a>15&&(e>0x1fffffffffffff||e!==s(e)))throw Error(u+g.s*e);if((f=f-l-1)>C)g.c=g.e=null;else if(f<D)g.c=[g.e=0];else{if(g.e=f,g.c=[],l=(f+1)%14,f<0&&(l+=14),l<a){for(l&&g.c.push(+p.slice(0,l)),a-=14;l<a;)g.c.push(+p.slice(l,l+=14));l=14-(p=p.slice(l)).length}else l-=a;for(;l--;p+="0");g.c.push(+p)}}else g.c=[g.e=0]}function F(e,t,r,n){var i,s,o,u,f;if(null==r?r=_:h(r,0,8),!e.c)return e.toString();if(i=e.c[0],o=e.e,null==t)f=c(e.c),f=1==n||2==n&&(o<=S||o>=T)?g(f,o):d(f,o,"0");else if(s=(e=q(new k(e),t,r)).e,u=(f=c(e.c)).length,1==n||2==n&&(t<=s||s<=S)){for(;u<t;f+="0",u++);f=g(f,s)}else if(t-=o,f=d(f,s,"0"),s+1>u){if(--t>0)for(f+=".";t--;f+="0");}else if((t+=s-u)>0)for(s+1==u&&(f+=".");t--;f+="0");return e.s<0&&i?"-"+f:f}function G(e,t){for(var r,n,i=1,s=new k(e[0]);i<e.length;i++)(n=new k(e[i])).s&&(r=a(s,n))!==t&&(0!==r||s.s!==t)||(s=n);return s}function j(e,t,r){for(var n=1,i=t.length;!t[--i];t.pop());for(i=t[0];i>=10;i/=10,n++);return(r=n+14*r-1)>C?e.c=e.e=null:r<D?e.c=[e.e=0]:(e.e=r,e.c=t),e}function q(e,t,r,n){var o,u,l,c,a,h,p,g=e.c;if(g){e:{for(o=1,c=g[0];c>=10;c/=10,o++);if((u=t-o)<0)u+=14,l=t,p=s((a=g[h=0])/f[o-l-1]%10);else if((h=i((u+1)/14))>=g.length){if(!n)break e;for(;g.length<=h;g.push(0));a=p=0,o=1,l=(u%=14)-14+1}else{for(a=c=g[h],o=1;c>=10;c/=10,o++);p=(l=(u%=14)-14+o)<0?0:s(a/f[o-l-1]%10)}if(n=n||t<0||null!=g[h+1]||(l<0?a:a%f[o-l-1]),n=r<4?(p||n)&&(0==r||r==(e.s<0?3:2)):p>5||5==p&&(4==r||n||6==r&&(u>0?l>0?a/f[o-l]:0:g[h-1])%10&1||r==(e.s<0?8:7)),t<1||!g[0])return g.length=0,n?(t-=e.e+1,g[0]=f[(14-t%14)%14],e.e=-t||0):g[0]=e.e=0,e;if(0==u?(g.length=h,c=1,h--):(g.length=h+1,c=f[14-u],g[h]=l>0?s(a/f[o-l]%f[l])*c:0),n)for(;;){if(0==h){for(u=1,l=g[0];l>=10;l/=10,u++);for(l=g[0]+=c,c=1;l>=10;l/=10,c++);u!=c&&(e.e++,1e14==g[0]&&(g[0]=1));break}if(g[h]+=c,1e14!=g[h])break;g[h--]=0,c=1}for(u=g.length;0===g[--u];g.pop());}e.e>C?e.c=e.e=null:e.e<D&&(e.c=[e.e=0])}return e}function $(e){var t,r=e.e;return null===r?e.toString():(t=c(e.c),t=r<=S||r>=T?g(t,r):d(t,r,"0"),e.s<0?"-"+t:t)}return k.clone=e,k.ROUND_UP=0,k.ROUND_DOWN=1,k.ROUND_CEIL=2,k.ROUND_FLOOR=3,k.ROUND_HALF_UP=4,k.ROUND_HALF_DOWN=5,k.ROUND_HALF_EVEN=6,k.ROUND_HALF_CEIL=7,k.ROUND_HALF_FLOOR=8,k.EUCLID=9,k.config=k.set=function(e){var t,r;if(null!=e){if("object"!=typeof e)throw Error(o+"Object expected: "+e);if(e.hasOwnProperty(t="DECIMAL_PLACES")&&(h(r=e[t],0,1e9,t),I=r),e.hasOwnProperty(t="ROUNDING_MODE")&&(h(r=e[t],0,8,t),_=r),e.hasOwnProperty(t="EXPONENTIAL_AT")&&((r=e[t])&&r.pop?(h(r[0],-1e9,0,t),h(r[1],0,1e9,t),S=r[0],T=r[1]):(h(r,-1e9,1e9,t),S=-(T=r<0?-r:r))),e.hasOwnProperty(t="RANGE"))if((r=e[t])&&r.pop)h(r[0],-1e9,-1,t),h(r[1],1,1e9,t),D=r[0],C=r[1];else{if(h(r,-1e9,1e9,t),!r)throw Error(o+t+" cannot be zero: "+r);D=-(C=r<0?-r:r)}if(e.hasOwnProperty(t="CRYPTO")){if((r=e[t])!==!!r)throw Error(o+t+" not true or false: "+r);if(r){if("undefined"==typeof crypto||!crypto||!crypto.getRandomValues&&!crypto.randomBytes)throw P=!r,Error(o+"crypto unavailable");P=r}else P=r}if(e.hasOwnProperty(t="MODULO_MODE")&&(h(r=e[t],0,9,t),B=r),e.hasOwnProperty(t="POW_PRECISION")&&(h(r=e[t],0,1e9,t),R=r),e.hasOwnProperty(t="FORMAT")){if("object"!=typeof(r=e[t]))throw Error(o+t+" not an object: "+r);U=r}if(e.hasOwnProperty(t="ALPHABET")){if("string"!=typeof(r=e[t])||/^.?$|[+\-.\
1s]|(.).*\1/.test(r))throw Error(o+t+" invalid: "+r);M="0123456789"==r.slice(0,10),L=r}}return{DECIMAL_PLACES:I,ROUNDING_MODE:_,EXPONENTIAL_AT:[S,T],RANGE:[D,C],CRYPTO:P,MODULO_MODE:B,POW_PRECISION:R,FORMAT:U,ALPHABET:L}},k.isBigNumber=function(e){if(!e||!0!==e._isBigNumber)return!1;if(!k.DEBUG)return!0;var t,r,n=e.c,i=e.e,u=e.s;e:if("[object Array]"==({}).toString.call(n)){if((1===u||-1===u)&&i>=-1e9&&i<=1e9&&i===s(i)){if(0===n[0]){if(0===i&&1===n.length)return!0;break e}if((t=(i+1)%14)<1&&(t+=14),String(n[0]).length==t){for(t=0;t<n.length;t++)if((r=n[t])<0||r>=1e14||r!==s(r))break e;if(0!==r)return!0}}}else if(null===n&&null===i&&(null===u||1===u||-1===u))return!0;throw Error(o+"Invalid BigNumber: "+e)},k.maximum=k.max=function(){return G(arguments,-1)},k.minimum=k.min=function(){return G(arguments,1)},y=0x20000000000000*Math.random()&2097151?function(){return s(0x20000000000000*Math.random())}:function(){return 8388608*(0x40000000*Math.random()|0)+(8388608*Math.random()|0)},k.random=function(e){var t,r,n,u,l,c=0,a=[],p=new k(x);if(null==e?e=I:h(e,0,1e9),u=i(e/14),P)if(crypto.getRandomValues){for(t=crypto.getRandomValues(new Uint32Array(u*=2));c<u;)(l=131072*t[c]+(t[c+1]>>>11))>=9e15?(r=crypto.getRandomValues(new Uint32Array(2)),t[c]=r[0],t[c+1]=r[1]):(a.push(l%1e14),c+=2);c=u/2}else{if(!crypto.randomBytes)throw P=!1,Error(o+"crypto unavailable");for(t=crypto.randomBytes(u*=7);c<u;)(l=0x1000000000000*(31&t[c])+0x10000000000*t[c+1]+0x100000000*t[c+2]+0x1000000*t[c+3]+(t[c+4]<<16)+(t[c+5]<<8)+t[c+6])>=9e15?crypto.randomBytes(7).copy(t,c):(a.push(l%1e14),c+=7);c=u/7}if(!P)for(;c<u;)(l=y())<9e15&&(a[c++]=l%1e14);for(u=a[--c],e%=14,u&&e&&(l=f[14-e],a[c]=s(u/l)*l);0===a[c];a.pop(),c--);if(c<0)a=[n=0];else{for(n=-1;0===a[0];a.splice(0,1),n-=14);for(c=1,l=a[0];l>=10;l/=10,c++);c<14&&(n-=14-c)}return p.e=n,p.c=a,p},k.sum=function(){for(var e=1,t=arguments,r=new k(t[0]);e<t.length;)r=r.plus(t[e++]);return r},m=function(){var e="0123456789";function t(e,t,r,n){for(var i,s,o=[0],u=0,f=e.length;u<f;){for(s=o.length;s--;o[s]*=t);for(o[0]+=n.indexOf(e.charAt(u++)),i=0;i<o.length;i++)o[i]>r-1&&(null==o[i+1]&&(o[i+1]=0),o[i+1]+=o[i]/r|0,o[i]%=r)}return o.reverse()}return function(n,i,s,o,u){var f,l,a,h,p,g,m,w,y=n.indexOf("."),b=I,v=_;for(y>=0&&(h=R,R=0,n=n.replace(".",""),g=(w=new k(i)).pow(n.length-y),R=h,w.c=t(d(c(g.c),g.e,"0"),10,s,e),w.e=w.c.length),a=h=(m=t(n,i,s,u?(f=L,e):(f=e,L))).length;0==m[--h];m.pop());if(!m[0])return f.charAt(0);if(y<0?--a:(g.c=m,g.e=a,g.s=o,m=(g=r(g,w,b,v,s)).c,p=g.r,a=g.e),y=m[l=a+b+1],h=s/2,p=p||l<0||null!=m[l+1],p=v<4?(null!=y||p)&&(0==v||v==(g.s<0?3:2)):y>h||y==h&&(4==v||p||6==v&&1&m[l-1]||v==(g.s<0?8:7)),l<1||!m[0])n=p?d(f.charAt(1),-b,f.charAt(0)):f.charAt(0);else{if(m.length=l,p)for(--s;++m[--l]>s;)m[l]=0,l||(++a,m=[1].concat(m));for(h=m.length;!m[--h];);for(y=0,n="";y<=h;n+=f.charAt(m[y++]));n=d(n,a,f.charAt(0))}return n}}(),r=function(){function e(e,t,r){var n,i,s,o,u=0,f=e.length,l=t%1e7,c=t/1e7|0;for(e=e.slice();f--;)u=((i=l*(s=e[f]%1e7)+(n=c*s+(o=e[f]/1e7|0)*l)%1e7*1e7+u)/r|0)+(n/1e7|0)+c*o,e[f]=i%r;return u&&(e=[u].concat(e)),e}function t(e,t,r,n){var i,s;if(r!=n)s=r>n?1:-1;else for(i=s=0;i<r;i++)if(e[i]!=t[i]){s=e[i]>t[i]?1:-1;break}return s}function r(e,t,r,n){for(var i=0;r--;)e[r]-=i,i=+(e[r]<t[r]),e[r]=i*n+e[r]-t[r];for(;!e[0]&&e.length>1;e.splice(0,1));}return function(n,i,o,u,f){var c,a,h,p,g,d,m,w,y,b,v,N,O,E,A,x,I,_=n.s==i.s?1:-1,S=n.c,T=i.c;if(!(S&&S[0]&&T&&T[0]))return new k(n.s&&i.s&&(S?!T||S[0]!=T[0]:T)?S&&0==S[0]||!T?0*_:_/0:NaN);for(y=(w=new k(_)).c=[],_=o+(a=n.e-i.e)+1,f||(f=1e14,a=l(n.e/14)-l(i.e/14),_=_/14|0),h=0;T[h]==(S[h]||0);h++);if(T[h]>(S[h]||0)&&a--,_<0)y.push(1),p=!0;else{for(E=S.length,x=T.length,h=0,_+=2,(g=s(f/(T[0]+1)))>1&&(T=e(T,g,f),S=e(S,g,f),x=T.length,E=S.length),O=x,v=(b=S.slice(0,x)).length;v<x;b[v++]=0);I=[0].concat(I=T.slice()),A=T[0],T[1]>=f/2&&A++;do{if(g=0,(c=t(T,b,x,v))<0){if(N=b[0],x!=v&&(N=N*f+(b[1]||0)),(g=s(N/A))>1)for(g>=f&&(g=f-1),m=(d=e(T,g,f)).length,v=b.length;1==t(d,b,m,v);)g--,r(d,x<m?I:T,m,f),m=d.length,c=1;else 0==g&&(c=g=1),m=(d=T.slice()).length;if(m<v&&(d=[0].concat(d)),r(b,d,v,f),v=b.length,-1==c)for(;1>t(T,b,x,v);)g++,r(b,x<v?I:T,v,f),v=b.length}else 0===c&&(g++,b=[0]);y[h++]=g,b[0]?b[v++]=S[O]||0:(b=[S[O]],v=1)}while((O++<E||null!=b[0])&&_--);p=null!=b[0],y[0]||y.splice(0,1)}if(1e14==f){for(h=1,_=y[0];_>=10;_/=10,h++);q(w,o+(w.e=h+14*a-1)+1,u,p)}else w.e=a,w.r=+p;return w}}(),b=/^(-?)0([xbo])(?=\w[\w.]*$)/i,v=/^([^.]+)\.$/,N=/^\.([^.]+)$/,O=/^-?(Infinity|NaN)$/,E=/^\s*\+(?=[\w.])|^\s+|\s+$/g,w=function(e,t,r,n){var i,s=r?t:t.replace(E,"");if(O.test(s))e.s=isNaN(s)?null:s<0?-1:1;else{if(!r&&(s=s.replace(b,function(e,t,r){return i="x"==(r=r.toLowerCase())?16:"b"==r?2:8,n&&n!=i?e:t}),n&&(i=n,s=s.replace(v,"$1").replace(N,"0.$1")),t!=s))return new k(s,i);if(k.DEBUG)throw Error(o+"Not a"+(n?" base "+n:"")+" number: "+t);e.s=null}e.c=e.e=null},A.absoluteValue=A.abs=function(){var e=new k(this);return e.s<0&&(e.s=1),e},A.comparedTo=function(e,t){return a(this,new k(e,t))},A.decimalPlaces=A.dp=function(e,t){var r,n,i;if(null!=e)return h(e,0,1e9),null==t?t=_:h(t,0,8),q(new k(this),e+this.e+1,t);if(!(r=this.c))return null;if(n=((i=r.length-1)-l(this.e/14))*14,i=r[i])for(;i%10==0;i/=10,n--);return n<0&&(n=0),n},A.dividedBy=A.div=function(e,t){return r(this,new k(e,t),I,_)},A.dividedToIntegerBy=A.idiv=function(e,t){return r(this,new k(e,t),0,1)},A.exponentiatedBy=A.pow=function(e,t){var r,n,u,f,l,c,a,h,g=this;
1if((e=new k(e)).c&&!e.isInteger())throw Error(o+"Exponent not an integer: "+$(e));if(null!=t&&(t=new k(t)),l=e.e>14,!g.c||!g.c[0]||1==g.c[0]&&!g.e&&1==g.c.length||!e.c||!e.c[0])return h=new k(Math.pow(+$(g),l?e.s*(2-p(e)):+$(e))),t?h.mod(t):h;if(c=e.s<0,t){if(t.c?!t.c[0]:!t.s)return new k(NaN);(n=!c&&g.isInteger()&&t.isInteger())&&(g=g.mod(t))}else{if(e.e>9&&(g.e>0||g.e<-1||(0==g.e?g.c[0]>1||l&&g.c[1]>=24e7:g.c[0]<8e13||l&&g.c[0]<=9999975e7)))return f=g.s<0&&p(e)?-0:0,g.e>-1&&(f=1/f),new k(c?1/f:f);R&&(f=i(R/14+2))}for(l?(r=new k(.5),c&&(e.s=1),a=p(e)):a=(u=Math.abs(+$(e)))%2,h=new k(x);;){if(a){if(!(h=h.times(g)).c)break;f?h.c.length>f&&(h.c.length=f):n&&(h=h.mod(t))}if(u){if(0===(u=s(u/2)))break;a=u%2}else if(q(e=e.times(r),e.e+1,1),e.e>14)a=p(e);else{if(0==(u=+$(e)))break;a=u%2}g=g.times(g),f?g.c&&g.c.length>f&&(g.c.length=f):n&&(g=g.mod(t))}return n?h:(c&&(h=x.div(h)),t?h.mod(t):f?q(h,R,_,void 0):h)},A.integerValue=function(e){var t=new k(this);return null==e?e=_:h(e,0,8),q(t,t.e+1,e)},A.isEqualTo=A.eq=function(e,t){return 0===a(this,new k(e,t))},A.isFinite=function(){return!!this.c},A.isGreaterThan=A.gt=function(e,t){return a(this,new k(e,t))>0},A.isGreaterThanOrEqualTo=A.gte=function(e,t){return 1===(t=a(this,new k(e,t)))||0===t},A.isInteger=function(){return!!this.c&&l(this.e/14)>this.c.length-2},A.isLessThan=A.lt=function(e,t){return 0>a(this,new k(e,t))},A.isLessThanOrEqualTo=A.lte=function(e,t){return -1===(t=a(this,new k(e,t)))||0===t},A.isNaN=function(){return!this.s},A.isNegative=function(){return this.s<0},A.isPositive=function(){return this.s>0},A.isZero=function(){return!!this.c&&0==this.c[0]},A.minus=function(e,t){var r,n,i,s,o=this.s;if(t=(e=new k(e,t)).s,!o||!t)return new k(NaN);if(o!=t)return e.s=-t,this.plus(e);var u=this.e/14,f=e.e/14,c=this.c,a=e.c;if(!u||!f){if(!c||!a)return c?(e.s=-t,e):new k(a?this:NaN);if(!c[0]||!a[0])return a[0]?(e.s=-t,e):new k(c[0]?this:3==_?-0:0)}if(u=l(u),f=l(f),c=c.slice(),o=u-f){for((s=o<0)?(o=-o,i=c):(f=u,i=a),i.reverse(),t=o;t--;i.push(0));i.reverse()}else for(n=(s=(o=c.length)<(t=a.length))?o:t,o=t=0;t<n;t++)if(c[t]!=a[t]){s=c[t]<a[t];break}if(s&&(i=c,c=a,a=i,e.s=-e.s),(t=(n=a.length)-(r=c.length))>0)for(;t--;c[r++]=0);for(t=1e14-1;n>o;){if(c[--n]<a[n]){for(r=n;r&&!c[--r];c[r]=t);--c[r],c[n]+=1e14}c[n]-=a[n]}for(;0==c[0];c.splice(0,1),--f);return c[0]?j(e,c,f):(e.s=3==_?-1:1,e.c=[e.e=0],e)},A.modulo=A.mod=function(e,t){var n,i;return e=new k(e,t),this.c&&e.s&&(!e.c||e.c[0])?e.c&&(!this.c||this.c[0])?(9==B?(i=e.s,e.s=1,n=r(this,e,0,3),e.s=i,n.s*=i):n=r(this,e,0,B),(e=this.minus(n.times(e))).c[0]||1!=B||(e.s=this.s),e):new k(this):new k(NaN)},A.multipliedBy=A.times=function(e,t){var r,n,i,s,o,u,f,c,a,h,p,g,d,m=this.c,w=(e=new k(e,t)).c;if(!(m&&w&&m[0]&&w[0]))return this.s&&e.s&&(!m||m[0]||w)&&(!w||w[0]||m)?(e.s*=this.s,m&&w?(e.c=[0],e.e=0):e.c=e.e=null):e.c=e.e=e.s=null,e;for(n=l(this.e/14)+l(e.e/14),e.s*=this.s,(f=m.length)<(h=w.length)&&(d=m,m=w,w=d,i=f,f=h,h=i),i=f+h,d=[];i--;d.push(0));for(i=h;--i>=0;){for(r=0,p=w[i]%1e7,g=w[i]/1e7|0,s=i+(o=f);s>i;)r=((c=p*(c=m[--o]%1e7)+(u=g*c+(a=m[o]/1e7|0)*p)%1e7*1e7+d[s]+r)/1e14|0)+(u/1e7|0)+g*a,d[s--]=c%1e14;d[s]=r}return r?++n:d.splice(0,1),j(e,d,n)},A.negated=function(){var e=new k(this);return e.s=-e.s||null,e},A.plus=function(e,t){var r,n=this.s;if(t=(e=new k(e,t)).s,!n||!t)return new k(NaN);if(n!=t)return e.s=-t,this.minus(e);var i=this.e/14,s=e.e/14,o=this.c,u=e.c;if(!i||!s){if(!o||!u)return new k(n/0);if(!o[0]||!u[0])return u[0]?e:new k(o[0]?this:0*n)}if(i=l(i),s=l(s),o=o.slice(),n=i-s){for(n>0?(s=i,r=u):(n=-n,r=o),r.reverse();n--;r.push(0));r.reverse()}for((n=o.length)-(t=u.length)<0&&(r=u,u=o,o=r,t=n),n=0;t;)n=(o[--t]=o[t]+u[t]+n)/1e14|0,o[t]=1e14===o[t]?0:o[t]%1e14;return n&&(o=[n].concat(o),++s),j(e,o,s)},A.precision=A.sd=function(e,t){var r,n,i;if(null!=e&&!!e!==e)return h(e,1,1e9),null==t?t=_:h(t,0,8),q(new k(this),e,t);if(!(r=this.c))return null;if(n=14*(i=r.length-1)+1,i=r[i]){for(;i%10==0;i/=10,n--);for(i=r[0];i>=10;i/=10,n++);}return e&&this.e+1>n&&(n=this.e+1),n},A.shiftedBy=function(e){return h(e,-0x1fffffffffffff,0x1fffffffffffff),this.times("1e"+e)},A.squareRoot=A.sqrt=function(){var e,t,n,i,s,o=this.c,u=this.s,f=this.e,a=I+4,h=new k("0.5");
1if(1!==u||!o||!o[0])return new k(!u||u<0&&(!o||o[0])?NaN:o?this:1/0);if(0==(u=Math.sqrt(+$(this)))||u==1/0?(((t=c(o)).length+f)%2==0&&(t+="0"),u=Math.sqrt(+t),f=l((f+1)/2)-(f<0||f%2),n=new k(t=u==1/0?"5e"+f:(t=u.toExponential()).slice(0,t.indexOf("e")+1)+f)):n=new k(u+""),n.c[0]){for((u=(f=n.e)+a)<3&&(u=0);;)if(s=n,n=h.times(s.plus(r(this,s,a,1))),c(s.c).slice(0,u)===(t=c(n.c)).slice(0,u)){if(n.e<f&&--u,"9999"!=(t=t.slice(u-3,u+1))&&(i||"4999"!=t)){+t&&(+t.slice(1)||"5"!=t.charAt(0))||(q(n,n.e+I+2,1),e=!n.times(n).eq(this));break}if(!i&&(q(s,s.e+I+2,0),s.times(s).eq(this))){n=s;break}a+=4,u+=4,i=1}}return q(n,n.e+I+1,_,e)},A.toExponential=function(e,t){return null!=e&&(h(e,0,1e9),e++),F(this,e,t,1)},A.toFixed=function(e,t){return null!=e&&(h(e,0,1e9),e=e+this.e+1),F(this,e,t)},A.toFormat=function(e,t,r){var n;if(null==r)null!=e&&t&&"object"==typeof t?(r=t,t=null):e&&"object"==typeof e?(r=e,e=t=null):r=U;else if("object"!=typeof r)throw Error(o+"Argument not an object: "+r);if(n=this.toFixed(e,t),this.c){var i,s=n.split("."),u=+r.groupSize,f=+r.secondaryGroupSize,l=r.groupSeparator||"",c=s[0],a=s[1],h=this.s<0,p=h?c.slice(1):c,g=p.length;if(f&&(i=u,u=f,f=i,g-=i),u>0&&g>0){for(i=g%u||u,c=p.substr(0,i);i<g;i+=u)c+=l+p.substr(i,u);f>0&&(c+=l+p.slice(i)),h&&(c="-"+c)}n=a?c+(r.decimalSeparator||"")+((f=+r.fractionGroupSize)?a.replace(RegExp("\\d{"+f+"}\\B","g"),"$&"+(r.fractionGroupSeparator||"")):a):c}return(r.prefix||"")+n+(r.suffix||"")},A.toFraction=function(e){var t,n,i,s,u,l,a,h,p,g,d,m,w=this.c;if(null!=e&&(!(a=new k(e)).isInteger()&&(a.c||1!==a.s)||a.lt(x)))throw Error(o+"Argument "+(a.isInteger()?"out of range: ":"not an integer: ")+$(a));if(!w)return new k(this);for(t=new k(x),p=n=new k(x),i=h=new k(x),m=c(w),u=t.e=m.length-this.e-1,t.c[0]=f[(l=u%14)<0?14+l:l],e=!e||a.comparedTo(t)>0?u>0?t:p:a,l=C,C=1/0,a=new k(m),h.c[0]=0;g=r(a,t,0,1),1!=(s=n.plus(g.times(i))).comparedTo(e);)n=i,i=s,p=h.plus(g.times(s=p)),h=s,t=a.minus(g.times(s=t)),a=s;return s=r(e.minus(n),i,0,1),h=h.plus(s.times(p)),n=n.plus(s.times(i)),h.s=p.s=this.s,d=1>r(p,i,u*=2,_).minus(this).abs().comparedTo(r(h,n,u,_).minus(this).abs())?[p,i]:[h,n],C=l,d},A.toNumber=function(){return+$(this)},A.toPrecision=function(e,t){return null!=e&&h(e,1,1e9),F(this,e,t,2)},A.toString=function(e){var t,r=this,n=r.s,i=r.e;return null===i?n?(t="Infinity",n<0&&(t="-"+t)):t="NaN":(null==e?t=i<=S||i>=T?g(c(r.c),i):d(c(r.c),i,"0"):10===e&&M?t=d(c((r=q(new k(r),I+i+1,_)).c),r.e,"0"):(h(e,2,L.length,"Base"),t=m(d(c(r.c),i,"0"),10,e,n,!0)),n<0&&r.c[0]&&(t="-"+t)),t},A.valueOf=A.toJSON=function(){return $(this)},A._isBigNumber=!0,A[Symbol.toStringTag]="BigNumber",A[Symbol.for("nodejs.util.inspect.custom")]=A.valueOf,null!=t&&k.set(t),k}()}}]);

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.