PageSourceSearch

https://www.glif.io/_next/static/chunks/0uxygfhqwjz7m.js?dpl=dpl_CCGHr386WERRQLNLPkENQaBQcFze

js glif.io collected 2026-10-03 23:14:23 UTC 45,645 bytes, 4 lines download raw bytes

1;!function(){try { var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof global?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&((e._debugIds|| (e._debugIds={}))[n]="3401c1c8-0421-aff3-6d05-5359eb6b6346")}catch(e){}}();
2(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,187185,e=>{"use strict";var t,r,a=e.i(581053);function l(){return(l=Object.assign.bind()).apply(null,arguments)}e.s(["default",0,function(e){return a.createElement("svg",l({viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),t||(t=a.createElement("path",{opacity:.12,d:"M18.0396 11.1356C17.2764 11.6798 16.3424 11.9998 15.3337 11.9998C12.7563 11.9998 10.667 9.9105 10.667 7.33317C10.667 4.75584 12.7563 2.6665 15.3337 2.6665C17.0043 2.6665 18.4699 3.54439 19.2943 4.86403C20.0576 4.31991 20.9916 3.99984 22.0003 3.99984C24.5777 3.99984 26.667 6.08917 26.667 8.6665C26.667 11.2438 24.5777 13.3332 22.0003 13.3332C20.3297 13.3332 18.8641 12.4553 18.0396 11.1356Z",fill:"currentColor"})),r||(r=a.createElement("path",{d:"M18.0396 11.1356C17.2764 11.6798 16.3424 11.9998 15.3337 11.9998C12.7563 11.9998 10.667 9.9105 10.667 7.33317C10.667 4.75584 12.7563 2.6665 15.3337 2.6665C17.0043 2.6665 18.4699 3.54439 19.2943 4.86403M8.00033 26.7827H11.4807C11.9345 26.7827 12.3855 26.8367 12.8254 26.9447L16.5028 27.8383C17.3008 28.0327 18.132 28.0516 18.9383 27.895L23.0043 27.104C24.0784 26.8947 25.0664 26.3804 25.8408 25.6272L28.7175 22.8288C29.539 22.031 29.539 20.7364 28.7175 19.9373C27.9779 19.2177 26.8066 19.1368 25.9698 19.7469L22.6171 22.193C22.137 22.544 21.5527 22.7329 20.9519 22.7329H17.7143L19.7751 22.7329C20.9366 22.7329 21.8775 21.8176 21.8775 20.6877V20.2787C21.8775 19.3405 21.2211 18.5225 20.2858 18.2957L17.1051 17.5222C16.5875 17.3966 16.0574 17.3332 15.5245 17.3332C14.2381 17.3332 11.9095 18.3983 11.9095 18.3983L8.00033 20.033M26.667 8.6665C26.667 11.2438 24.5777 13.3332 22.0003 13.3332C19.423 13.3332 17.3337 11.2438 17.3337 8.6665C17.3337 6.08917 19.423 3.99984 22.0003 3.99984C24.5777 3.99984 26.667 6.08917 26.667 8.6665ZM2.66699 19.4665L2.66699 27.1998C2.66699 27.9466 2.66699 28.3199 2.81232 28.6052C2.94015 28.856 3.14412 29.06 3.395 29.1878C3.68022 29.3332 4.05359 29.3332 4.80032 29.3332H5.86699C6.61373 29.3332 6.9871 29.3332 7.27231 29.1878C7.5232 29.06 7.72717 28.856 7.855 28.6052C8.00033 28.3199 8.00033 27.9466 8.00033 27.1998V19.4665C8.00033 18.7198 8.00033 18.3464 7.855 18.0612C7.72717 17.8103 7.5232 17.6063 7.27231 17.4785C6.9871 17.3332 6.61373 17.3332 5.86699 17.3332L4.80033 17.3332C4.05359 17.3332 3.68022 17.3332 3.39501 17.4785C3.14412 17.6063 2.94015 17.8103 2.81232 18.0612C2.66699 18.3464 2.66699 18.7198 2.66699 19.4665Z",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"})))}])},91739,(e,t,r)=>{t.exports=function(e,t){for(var r=-1,a=null==e?0:e.length;++r<a;)if(t(e[r],r,e))return!0;return!1}},105729,(e,t,r)=>{var a=e.r(440848),l=e.r(91739),i=e.r(858954);t.exports=function(e,t,r,n,o,s){var d=1&r,c=e.length,u=t.length;if(c!=u&&!(d&&u>c))return!1;var f=s.get(e),m=s.get(t);if(f&&m)return f==t&&m==e;var x=-1,g=!0,h=2&r?new a:void 0;for(s.set(e,t),s.set(t,e);++x<c;){var p=e[x],C=t[x];if(n)var v=d?n(C,p,x,t,e,s):n(p,C,x,e,t,s);if(void 0!==v){if(v)continue;g=!1;break}if(h){if(!l(t,function(e,t){if(!i(h,t)&&(p===e||o(p,e,r,n,s)))return h.push(t)})){g=!1;break}}else if(!(p===C||o(p,C,r,n,s))){g=!1;break}}return s.delete(e),s.delete(t),g}},140048,(e,t,r)=>{t.exports=function(e){var t=-1,r=Array(e.size);return e.forEach(function(e,a){r[++t]=[a,e]}),r}},631829,(e,t,r)=>{var a=e.r(328042),l=e.r(739914),i=e.r(343346),n=e.r(105729),o=e.r(140048),s=e.r(711432),d=a?a.prototype:void 0,c=d?d.valueOf:void 0;t.exports=function(e,t,r,a,d,u,f){switch(r){case"[object DataView]":if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)break;e=e.buffer,t=t.buffer;case"[object ArrayBuffer]":if(e.byteLength!=t.byteLength||!u(new l(e),new l(t)))break;return!0;case"[object Boolean]":case"[object Date]":case"[object Number]":return i(+e,+t);case"[object Error]":return e.name==t.name&&e.message==t.message;case"[object RegExp]":case"[object String]":return e==t+"";case"[object Map]":var m=o;case"[object Set]":var x=1&a;if(m||(m=s),e.size!=t.size&&!x)break;var g=f.get(e);if(g)return g==t;a|=2,f.set(e,t);var h=n(m(e),m(t),a,d,u,f);return f.delete(e),h;case"[object Symbol]":if(c)return c.call(e)==c.call(t)}return!1}},966457,(e,t,r)=>{var a=e.r(124144),l=Object.prototype.hasOwnProperty;t.exports=function(e,t,r,i,n,o){var s=1&r,d=a(e),c=d.length;if(c!=a(t).length&&!s)return!1;for(var u=c;u--;){var f=d[u];if(!(s?f in t:l.call(t,f)))return!1}var m=o.get(e),x=o.get(t);if(m&&x)return m==t&&x==e;var g=!0;o.set(e,t),o.set(t,e);for(var h=s;++u<c;){var p=e[f=d[u]],C=t[f];
2if(i)var v=s?i(C,p,f,t,e,o):i(p,C,f,e,t,o);if(!(void 0===v?p===C||n(p,C,r,i,o):v)){g=!1;break}h||(h="constructor"==f)}if(g&&!h){var b=e.constructor,j=t.constructor;b!=j&&"constructor"in e&&"constructor"in t&&!("function"==typeof b&&b instanceof b&&"function"==typeof j&&j instanceof j)&&(g=!1)}return o.delete(e),o.delete(t),g}},423684,(e,t,r)=>{var a=e.r(911796),l=e.r(105729),i=e.r(631829),n=e.r(966457),o=e.r(354700),s=e.r(778116),d=e.r(432816),c=e.r(905330),u="[object Arguments]",f="[object Array]",m="[object Object]",x=Object.prototype.hasOwnProperty;t.exports=function(e,t,r,g,h,p){var C=s(e),v=s(t),b=C?f:o(e),j=v?f:o(t);b=b==u?m:b,j=j==u?m:j;var w=b==m,y=j==m,L=b==j;if(L&&d(e)){if(!d(t))return!1;C=!0,w=!1}if(L&&!w)return p||(p=new a),C||c(e)?l(e,t,r,g,h,p):i(e,t,b,r,g,h,p);if(!(1&r)){var A=w&&x.call(e,"__wrapped__"),N=y&&x.call(t,"__wrapped__");if(A||N){var k=A?e.value():e,M=N?t.value():t;return p||(p=new a),h(k,M,r,g,p)}}return!!L&&(p||(p=new a),n(e,t,r,g,h,p))}},796847,(e,t,r)=>{var a=e.r(423684),l=e.r(394022);t.exports=function e(t,r,i,n,o){return t===r||(null!=t&&null!=r&&(l(t)||l(r))?a(t,r,i,n,e,o):t!=t&&r!=r)}},11356,(e,t,r)=>{var a=e.r(911796),l=e.r(796847);t.exports=function(e,t,r,i){var n=r.length,o=n,s=!i;if(null==e)return!o;for(e=Object(e);n--;){var d=r[n];if(s&&d[2]?d[1]!==e[d[0]]:!(d[0]in e))return!1}for(;++n<o;){var c=(d=r[n])[0],u=e[c],f=d[1];if(s&&d[2]){if(void 0===u&&!(c in e))return!1}else{var m=new a;if(i)var x=i(u,f,c,e,t,m);if(!(void 0===x?l(f,u,3,i,m):x))return!1}}return!0}},440286,(e,t,r)=>{var a=e.r(878524);t.exports=function(e){return e==e&&!a(e)}},345866,(e,t,r)=>{var a=e.r(440286),l=e.r(953349);t.exports=function(e){for(var t=l(e),r=t.length;r--;){var i=t[r],n=e[i];t[r]=[i,n,a(n)]}return t}},290457,(e,t,r)=>{t.exports=function(e,t){return function(r){return null!=r&&r[e]===t&&(void 0!==t||e in Object(r))}}},732179,(e,t,r)=>{var a=e.r(11356),l=e.r(345866),i=e.r(290457);t.exports=function(e){var t=l(e);return 1==t.length&&t[0][2]?i(t[0][0],t[0][1]):function(r){return r===e||a(r,e,t)}}},375194,(e,t,r)=>{var a=e.r(555902);t.exports=function(e,t,r){var l=null==e?void 0:a(e,t);return void 0===l?r:l}},614435,(e,t,r)=>{t.exports=function(e,t){return null!=e&&t in Object(e)}},232088,(e,t,r)=>{var a=e.r(6205),l=e.r(410090),i=e.r(778116),n=e.r(860059),o=e.r(784800),s=e.r(812232);t.exports=function(e,t,r){t=a(t,e);for(var d=-1,c=t.length,u=!1;++d<c;){var f=s(t[d]);if(!(u=null!=e&&r(e,f)))break;e=e[f]}return u||++d!=c?u:!!(c=null==e?0:e.length)&&o(c)&&n(f,c)&&(i(e)||l(e))}},630272,(e,t,r)=>{var a=e.r(614435),l=e.r(232088);t.exports=function(e,t){return null!=e&&l(e,t,a)}},279218,(e,t,r)=>{var a=e.r(796847),l=e.r(375194),i=e.r(630272),n=e.r(647562),o=e.r(440286),s=e.r(290457),d=e.r(812232);t.exports=function(e,t){return n(e)&&o(t)?s(d(e),t):function(r){var n=l(r,e);return void 0===n&&n===t?i(r,e):a(t,n,3)}}},13419,(e,t,r)=>{var a=e.r(555902);t.exports=function(e){return function(t){return a(t,e)}}},933230,(e,t,r)=>{var a=e.r(343683),l=e.r(13419),i=e.r(647562),n=e.r(812232);t.exports=function(e){return i(e)?a(n(e)):l(e)}},860839,(e,t,r)=>{var a=e.r(732179),l=e.r(279218),i=e.r(240046),n=e.r(778116),o=e.r(933230);t.exports=function(e){return"function"==typeof e?e:null==e?i:"object"==typeof e?n(e)?l(e[0],e[1]):a(e):o(e)}},17486,(e,t,r)=>{t.exports=function(e,t){for(var r,a=-1,l=e.length;++a<l;){var i=t(e[a]);void 0!==i&&(r=void 0===r?i:r+i)}return r}},328522,(e,t,r)=>{var a=e.r(860839),l=e.r(17486);t.exports=function(e,t){return e&&e.length?l(e,a(t,2)):0}},378348,(e,t,r)=>{var a=e.r(240046);t.exports=function(e){return"function"==typeof e?e:a}},706221,(e,t,r)=>{var a=e.r(955337),l=e.r(378348),i=e.r(16379),n=Math.min;t.exports=function(e,t){if((e=i(e))<1||e>0x1fffffffffffff)return[];var r=0xffffffff,o=n(e,0xffffffff);t=l(t),e-=0xffffffff;for(var s=a(o,t);++r<e;)t(r);return s}},219492,479079,558163,e=>{"use strict";var t=e.i(336799),r=e.i(328995),a=e.i(581053),l=e.i(7284),i=e.i(376659),n=e.i(406356),o=e.i(523272),s=e.i(94331),d=e.i(878524),c=e.i(92234);e.i(920404);var u=e.i(328522),f=e.i(706221);let m=new(e.i(80644)).ClientCache(e=>window.getComputedStyle(document.body).getPropertyValue(`--color-${e}`)),x=e=>m.get(e.slice(3))??"";e.s(["getColor",0,x],479079);let g=(e,t,r)=>{let a=(0,d.default)(r)?r:{top:r??0,bottom:r??0,left:r??0,right:r??0};return{width:e-a.left-a.right,height:t-a.top-a.bottom,offset:{x:a.left,y:a.top}}},h=(e,t)=>{let r=e.getBoundingClientRect();return{x:t.clientX-r.left,y:t.clientY-r.top}},p=(e,t)=>{let{width:r,height:a,offset:l}=t;return!e||e.x<l.x||e.x>l.x+r||e.y<l.y||e.y>l.y+a?null:{x:(e.x-l.x)/r,y:(e.y-l.y)/a}},C=e=>{let{width:t,height:r}=e.canvas;
2e.save(),e.scale(1,1),e.clearRect(0,0,t,r),e.restore()},v=(e,t,r,a,l,i,n,o,s,d,c=1,u=!1)=>{let f=a-.05*i*Math.PI,m=l+.05*n*Math.PI,x=Math.max(0,r-o/2+s),g=Math.max(0,r+o/2-s);if(e.save(),e.beginPath(),e.globalAlpha=c,e.fillStyle=d,e.strokeStyle=d,e.lineJoin="round",e.lineWidth=2*s,e.arc(t.x,t.y,g,f,m),e.arc(t.x,t.y,x,l,a,!0),e.closePath(),e.fill(),e.stroke(),e.restore(),u){let r=t.x+Math.cos(l)*x,a=t.y+Math.sin(l)*x,i=t.x+Math.cos(m)*g,n=t.y+Math.sin(m)*g;e.save(),e.beginPath(),e.moveTo(r,a),e.lineTo(i,n),e.strokeStyle="rgb(255, 255, 255)",e.lineCap="square",e.lineWidth=2*s,e.stroke(),e.restore()}},b=(e,t,r,a,l,i="rgba(0, 0, 0, 0)",n=.35,s=.15,d=1)=>{let{width:u,height:f,offset:m}=t,x=(0,o.default)(r),g=(0,c.default)(r);if(!x||!g)return;e.save(),e.beginPath(),j(e,t,r,a),e.lineTo(m.x+u*g.x,m.y+f),e.lineTo(m.x+u*x.x,m.y+f),e.clip();let h=m.y+s*f,p=m.y+d*f,C=e.createLinearGradient(0,h,0,p);C.addColorStop(0,l),C.addColorStop(1,i),e.globalAlpha=n,e.fillStyle=C,e.fillRect(m.x,m.y,u,f),e.restore()},j=(e,t,r,a)=>{let{width:l,height:i,offset:n}=t,o=null;r.forEach(t=>{let r=n.x+l*t.x,d=n.y+i*(1-t.y);(0,s.default)(o)?(a&&e.lineTo(r,o),e.lineTo(r,d)):e.moveTo(r,d),o=d})};e.s(["clearCanvas",0,C,"drawDial",0,(e,t,r,a,l,i=1)=>{C(e);let o=Math.min(t.width,2*t.height)/8,d=o/8,c={x:t.offset.x+t.width/2,y:t.offset.y+t.height-d},u=Math.max(0,Math.min(t.width,(t.height-d)*2)/2-o/2),f=Math.PI-.25,m=-Math.PI,g=m+f*r,h=g+.125,p=h+f*(a-r),b=p+.125;if(v(e,c,u,m,g,0,.0625,o,d,x("bg-turquoise")),v(e,c,u,h,p,.0625,.0625,o,d,x("bg-yellow")),v(e,c,u,b,0,.0625,0,o,d,x("bg-red")),e.save(),e.globalCompositeOperation="source-atop",e.fillStyle="rgba(72, 72, 72, 0.72)",e.fillRect(t.offset.x,t.offset.y,t.width,t.height),e.restore(),(0,s.default)(l)){let t=n.Cubic.easeInOut(i)*l;t>0&&v(e,c,u,m,Math.min(g,m+t/r*(g-m)),0,.0625,o,d,x("bg-turquoise"),1,t<=r),t>r&&v(e,c,u,h,Math.min(p,h+(t-r)/(a-r)*(p-h)),.0625,.0625,o,d,x("bg-yellow"),1,t<=a),t>a&&v(e,c,u,b,Math.min(0,b+(t-a)/(1-a)*(0-b)),.0625,0,o,d,x("bg-red"),1,!0)}},"drawDialLoader",0,(e,t,r)=>{C(e);let a=Math.min(t.width,2*t.height)/8;v(e,{x:t.offset.x+t.width/2,y:t.offset.y+t.height},Math.max(0,Math.min(t.width,2*t.height)/2-a/2),-Math.PI,0,0,0,a,0,x("bg-steel-1100"),1-.4*(1+Math.cos(2*r*Math.PI)))},"drawNFTCursor",0,(e,t,r,a,l)=>{let{width:i,height:o,offset:s}=t;C(e);let d=s.x+i*r.x,c=s.y+o*(1-r.y);(0,f.default)(4,t=>{let r=n.Quart.easeOut((a+t/4)%1);e.save(),e.beginPath(),e.arc(d,c,8+20*r,0,2*Math.PI),e.fillStyle=`rgba(255, 255, 255, ${.5-.5*r})`,e.fill(),e.restore()}),e.save(),e.beginPath(),e.arc(d,c,8,0,2*Math.PI),e.shadowColor="rgba(0, 0, 0, 0.25)",e.shadowBlur=3,e.shadowOffsetY=1,e.fillStyle="rgb(255, 255, 255)",e.fill(),e.restore();let u=e.createLinearGradient(d,c-3,d,c+3);u.addColorStop(0,l.top),u.addColorStop(1,l.bottom),e.save(),e.beginPath(),e.arc(d,c,3,0,2*Math.PI),e.fillStyle=u,e.fill(),e.restore()},"drawNFTGraph",0,(e,t,r,a,l)=>{var i,n,o,s;let{width:d,height:c,offset:u}=t,{bgTop:f,bgBottom:m,fgTop:x,fgBottom:g}=l;if(C(e),!r.length)return;let h=e.createLinearGradient(0,u.y,0,u.y+c);h.addColorStop(0,f),h.addColorStop(1,m),e.save(),e.fillStyle=h,e.fillRect(u.x,u.y,d,c),e.restore();let{point:p,afterIndex:v}=a,w=[...r.slice(0,v),p],y=[p,...r.slice(v)],L=1-p.y,A=1-r.at(-1).y;b(e,t,w,!1,"rgba(255, 255, 255, 0.25)","rgba(255, 255, 255, 0)",1,L,L+.5),b(e,t,y,!1,x,g,1,A),i=e,n=t,o=w,s=!1,i.save(),i.beginPath(),j(i,n,o,s),i.lineCap="round",i.lineJoin="round",i.lineWidth=3,i.strokeStyle="rgb(255, 255, 255)",i.stroke(),i.restore()},"drawPieChart",0,(e,t,r,a=1)=>{C(e);let l=(0,u.default)(r,"value"),i={x:t.offset.x+t.width/2,y:t.offset.y+t.height/2},o=Math.max(0,Math.min(t.width,t.height)/2-12);if(!r?.length)return((e,t,r,a,l,i,n,o=1)=>{e.save(),e.beginPath(),e.globalAlpha=o,e.strokeStyle=n,e.lineWidth=i,e.arc(t.x,t.y,r,a,l),e.stroke(),e.restore()})(e,i,o,0,2*Math.PI,24,x("bg-steel-1100"),1-.4*(1+Math.cos(2*a*Math.PI)));let s=NaN,d=-.5*Math.PI,c=2*Math.PI-.1*r.length,f=n.Cubic.easeInOut(a),m=n.Cubic.easeInOut(Math.min(1,2*a));for(let{color:t,value:a}of r)d=(s=d+(isNaN(s)?.05:.1))+a/l*f*c,v(e,i,o,s,d,.05,.05,24,2,t,m)},"getDrawArea",0,g,"getGraphIntersection",0,(e,t,r=!1)=>{let a=0,l=-1,i=-1;for(let r of e){if(r.x===t)return{beforeIndex:a,afterIndex:a,before:r,after:r,point:r};if(r.x>t){l=a-1,i=a;break}a++}let n=e.at(l),o=e.at(i);return n&&o?{beforeIndex:l,afterIndex:i,before:n,after:o,point:{x:t,y:r?n.y:n.y+(o.y-n.y)*((t-n.x)/(o.x-n.x))}}:null},"getPointer",0,h,"normalizePointer",0,p],558163);let w=({canvas:e,padding:n,className:o,setCanvas:s,setPointerRaw:d,setPointerNorm:c})=>{let[u,f]=(0,a.useState)(null),{width:m,height:x}=(0,i.useElementSize)(e);return(0,a.useEffect)(()=>d?.(u),[d,u]),(0,a.useEffect)(()=>{let e=(0,r.default)(m)||(0,r.default)(x)?null:g(m,x,n);c?.(e?p(u,e):null)},[u,m,x,n,c]),(0,t.jsx)("canvas",{ref:s,className:(0,l.default)("absolute inset-0 h-full w-full touch-none",o),onPointerMove:t=>t.isPrimary&&f(e?h(e,t):null),onPointerLeave:e=>e.isPrimary&&f(null)})};e.s(["Canvas2D",0,({setContext:e,setDrawArea:l,padding:n,...o})=>{let[s,d]=(0,a.useState)(null),{width:c,height:u}=(0,i.useElementSize)(s),f=(()=>{let[e,t]=(0,a.useState)(null);return(0,a.useEffect)(()=>{let e=matchMedia(`(resolution: ${window.devicePixelRatio}dppx)`),r=()=>t(window.devicePixelRatio);return r(),e.addEventListener("change",r),()=>e.removeEventListener("change",r)},[]),e})();return(0,a.useEffect)(()=>{!s||(0,r.default)(c)||(0,r.default)(u)||(0,r.default)(f)||(s.width=Math.round(c*f),s.height=Math.round(u*f),s.getContext("2d")?.scale(f,f))},[s,c,u,f]),(0,a.useEffect)(()=>e(s?.getContext("2d")??null),[s,e]),(0,a.useEffect)(()=>
2{l((0,r.default)(c)||(0,r.default)(u)?null:g(c,u,n))},[c,u,n,l]),(0,t.jsx)(w,{canvas:s,padding:n,setCanvas:d,...o})}],219492)},872798,e=>{"use strict";var t=e.i(336799),r=e.i(270590),a=e.i(324773);e.s(["FormattedTokenToCcy",0,({value:e,isLoading:l,...i})=>{let{ccyValue:n,ccySymbol:o,isLoading:s}=(0,a.useTokenToCcy)(e);return(0,t.jsx)(r.FormattedCurrency,{value:n,symbol:o,isLoading:l||s,...i})}])},898939,e=>{"use strict";var t,r,a=e.i(336799),l=e.i(7284),i=e.i(581053),n=e.i(473666);function o(){return(o=Object.assign.bind()).apply(null,arguments)}let s=function(e){return i.createElement("svg",o({viewBox:"4 4 8 8",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg"},e),t||(t=i.createElement("path",{fillRule:"evenodd",d:"M4 8a.5.5 0 0 1 .5-.5h5.793L8.146 5.354a.5.5 0 1 1 .708-.708l3 3a.5.5 0 0 1 0 .708l-3 3a.5.5 0 0 1-.708-.708L10.293 8.5H4.5A.5.5 0 0 1 4 8"})))};function d(){return(d=Object.assign.bind()).apply(null,arguments)}let c=function(e){return i.createElement("svg",d({viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",xmlns:"http://www.w3.org/2000/svg"},e),r||(r=i.createElement("path",{d:"M20 17H4M4 17L8 13M4 17L8 21M4 7H20M20 7L16 3M20 7L16 11",strokeWidth:2.5,strokeLinecap:"round",strokeLinejoin:"round"})))};var u=e.i(491512),f=e.i(205574),m=e.i(376659);e.s(["TokenPair",0,({children:e,labelIn:t,labelOut:r,options:o,tokenIn:d,tokenOut:x,amountIn:g,amountOut:h,amountOutWarn:p,amountOutError:C,owner:v,vertical:b,isLoading:j,setTokenIn:w,setTokenOut:y,setAmountIn:L,setIsValid:A})=>{let[N,k]=(0,i.useState)(null),{width:M}=(0,m.useElementSize)(N),I=!!b||!!(M&&M<800),T=w&&y&&(()=>{w(x),y(d),L(h)}),E=(0,i.useCallback)(e=>{w&&(w(e),L(null),y&&e===x&&(y(d),L(h)))},[d,x,h,w,y,L]),P=(0,i.useCallback)(e=>{y&&(y(e),w&&e===d&&(w(x),L(h)))},[d,x,h,w,y,L]);return(0,a.jsxs)("div",{ref:k,className:(0,l.default)("flex",I?"flex-col gap-2":"items-start gap-6"),children:[(0,a.jsx)(f.Input.TokenLarge,{label:t,token:d,min:"positive",max:"balance",owner:v,options:o,value:g,onChange:L,setIsValid:A,setToken:w&&E,className:I?"":"flex-1/2"}),!I&&(0,a.jsx)("button",{disabled:!T,onClick:T??void 0,className:(0,l.default)("mt-12 flex h-12 w-12 flex-none items-center justify-center rounded-full drop-shadow-sm/20","glif-interactive bg-white disabled:pointer-events-none dark:bg-steel-1100"),children:T?(0,a.jsx)(c,{width:"1em"}):(0,a.jsx)(s,{width:"1em"})}),(0,a.jsxs)("div",{className:(0,l.default)("relative flex flex-col",I?"gap-2":"flex-1/2 gap-6"),children:[(0,a.jsx)(f.Input.TokenLarge,{readOnly:!0,label:r,token:x,max:"balance",owner:v,options:o,isLoading:j,value:h,warning:p,error:C,setToken:y&&P}),e,I&&(0,a.jsx)("button",{disabled:!T,onClick:T??void 0,className:(0,l.default)("absolute -top-6 left-1/2 flex h-10 w-10 -translate-x-1/2 items-center justify-center rounded-lg","glif-interactive bg-white drop-shadow-sm/20 disabled:pointer-events-none dark:bg-steel-1100"),children:T?(0,a.jsx)(u.default,{width:"1em"}):(0,a.jsx)(n.default,{height:"1em"})})]})]})}],898939)},450566,e=>{e.q("/_next/static/media/bg-audit.0a-m7sbh~xzxn.png")},778446,e=>{e.q("/_next/static/media/bg-tvl.01b8al1w.en8d.png")},473127,e=>{"use strict";var t=e.i(336799),r=e.i(270590),a=e.i(324773);e.s(["FormattedCoinToCcy",0,({value:e,isLoading:l,...i})=>{let{ccyValue:n,ccySymbol:o,isLoading:s}=(0,a.useCoinToCcy)(e);return(0,t.jsx)(r.FormattedCurrency,{value:n,symbol:o,isLoading:l||s,...i})}])},87790,e=>{"use strict";var t,r,a=e.i(581053);function l(){return(l=Object.assign.bind()).apply(null,arguments)}e.s(["default",0,function(e){return a.createElement("svg",l({viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),t||(t=a.createElement("g",{opacity:.12},a.createElement("path",{d:"M25.8667 27.9999C26.6134 27.9999 26.9868 27.9999 27.272 27.8546C27.5229 27.7268 27.7268 27.5228 27.8547 27.2719C28 26.9867 28 26.6133 28 25.8666V24.7999C28 24.0532 28 23.6798 27.8547 23.3946C27.7268 23.1437 27.5229 22.9398 27.272 22.8119C26.9868 22.6666 26.6134 22.6666 25.8667 22.6666L6.13333 22.6666C5.3866 22.6666 5.01323 22.6666 4.72801 22.8119C4.47713 22.9398 4.27316 23.1437 4.14532 23.3946C4 23.6798 4 24.0532 4 24.7999L4 25.8666C4 26.6133 4 26.9867 4.14532 27.2719C4.27316 27.5228 4.47713 27.7268 4.72801 27.8546C5.01323 27.9999 5.3866 27.9999 6.13333 27.9999L25.8667 27.9999Z",fill:"currentColor"}),a.createElement("path",{d:"M25.8667 11.9999C26.6134 11.9999 26.9868 11.9999 27.272 11.8546C27.5229 11.7268 27.7268 11.5228 27.8547 11.2719C28 10.9867 28 10.6133 28 9.86661V8.37791C28 7.76729 28 7.46198 27.8918 7.21003C27.7964 6.98781 27.6423 6.79572 27.446 6.65435C27.2236 6.49407 26.9255 6.42784 26.3295 6.29538L16.4628 4.10279C16.2901 4.06441 16.2037 4.04522 16.1165 4.03757C16.039 4.03077 15.961 4.03077 15.8835 4.03757C15.7963 4.04522 15.7099 4.06441 15.5372 4.10279L5.67055 6.29538C5.07447 6.42784 4.77643 6.49407 4.55395 6.65435C4.35772 6.79572 4.20364 6.98781 4.1082 7.21003C4 7.46198 4 7.76729 4 8.37791L4 9.86661C4 10.6133 4 10.9867 4.14532 11.2719C4.27316 11.5228 4.47713 11.7268 4.72801 11.8546C5.01323 11.9999 5.3866 11.9999 6.13333 11.9999H25.8667Z",fill:"currentColor"}))),r||(r=a.createElement("path",{d:"M6.66667 11.9999V22.6666M12.6667 11.9999V22.6666M19.3333 11.9999V22.6666M25.3333 11.9999V22.6666M4 24.7999L4 25.8666C4 26.6133 4 26.9867 4.14532 27.2719C4.27316 27.5228 4.47713 27.7268 4.72801 27.8546C5.01323 27.9999 5.3866 27.9999 6.13333 27.9999H25.8667C26.6134 27.9999 26.9868 27.9999 27.272 27.8546C27.5229 27.7268 27.7268 27.5228 27.8547 27.2719C28 26.9867 28 26.6134 28 25.8666V24.7999C28 24.0532 28 23.6798 27.8547 23.3946C27.7268 23.1437 27.5229 22.9398 27.272 22.8119C26.9868 22.6666 26.6134 22.6666 25.8667 22.6666H6.13333C5.3866 22.6666 5.01323 22.6666 4.72801 22.8119C4.47713 22.9398 4.27316 23.1437 4.14532 23.3946C4 23.6798 4 24.0532 4 24.7999ZM15.5372 4.10279L5.67055 6.29538C5.07447 6.42784 4.77643 6.49407 4.55395 6.65435C4.35772 6.79572 4.20364 6.98781 4.1082 7.21003C4 7.46198 4 7.76729 4 8.37791L4 9.86661C4 10.6133 4 10.9867 4.14532 11.2719C4.27316 11.5228 4.47713 11.7268 4.72801 11.8546C5.01323 11.9999 5.3866 11.9999 6.13333 11.9999H25.8667C26.6134 11.9999 26.9868 11.9999 27.272 11.8546C27.5229 11.7268 27.7268 11.5228 27.8547 11.2719C28 10.9867 28 10.6133 28 9.86661V8.37791C28 7.76729 28 7.46198 27.8918 7.21003C27.7964 6.98781 27.6423 6.79572 27.446 6.65435C27.2236 6.49407 26.9255 6.42784 26.3295 6.29538L16.4628 4.10279C16.2901 4.06441 16.2037 4.04522 16.1165 4.03757C16.039 4.03077 15.961 4.03077 15.8835 4.03757C15.7963 4.04522 15.7099 4.06441 15.5372 4.10279Z",stroke:"currentColor",strokeWidth:2.66667,strokeLinecap:"round",strokeLinejoin:"round"})))}])},526196,e=>{"use strict";var t=e.i(336799),r=e.i(7284),a=e.i(989089);let l=({bgImage:e,bgImageOpacity:l,bgImageRotated:i,bgImageFlipX:n,bgImageFlipY:o,hasBottom:s,Icon:d})=>(0,t.jsxs)("div",{className:(0,r.default)("absolute inset-0 overflow-hidden",s?"rounded-t-xl":"rounded-xl"),children:[e&&(0,t.jsx)("div",{className:(0,r.default)("absolute inset-0",{"rotate-180":i,"-scale-x-100":n,"-scale-y-100":o}),style:{backgroundImage:`url(${(0,a.default)(e)?e:e.src})`,backgroundSize:"cover",opacity:l}}),(0,t.jsx)("div",{className:"absolute bottom-0 left-0 w-1/4 origin-left translate-y-1/2 -rotate-[65deg] bg-linear-to-r from-accent/30 to-transparent pt-[120%]"}),(0,t.jsx)("div",{className:"absolute top-0 right-0 w-1/4 origin-right -translate-y-1/2 -rotate-[65deg] bg-linear-to-l from-accent-2/15 to-transparent pt-[120%]"}),d&&(0,t.jsx)("div",{className:"absolute top-1/2 right-6 -translate-y-1/2 roun
2ded-full bg-steel-1200 p-4 text-accent sm:right-8",children:(0,t.jsx)(d,{height:"2.5rem"})})]});e.s(["GradientSection",0,({children:e,bottom:a,topGradient:i,noBackground:n,noPadding:o,className:s,bgImage:d,bgImageOpacity:c,bgImageRotated:u,bgImageFlipX:f,bgImageFlipY:m,Icon:x})=>(0,t.jsxs)("section",{className:(0,r.default)("relative flex flex-col",s),children:[i&&(0,t.jsxs)("div",{className:"absolute top-0 left-0 flex h-3 w-full items-start overflow-hidden rounded-t-xl",children:[(0,t.jsx)("div",{className:"h-1.5 w-6 flex-none bg-accent"}),(0,t.jsx)("div",{className:"h-1.5 grow bg-linear-to-r from-accent to-green"}),(0,t.jsx)("div",{className:"h-1.5 w-6 flex-none bg-green"})]}),(0,t.jsxs)("div",{className:(0,r.default)("relative p-6",a?"-mx-6 -mt-6 flex-none":"-m-6 grow",{"text-grayblue":!n}),children:[!n&&(0,t.jsx)(l,{bgImage:d,bgImageOpacity:c,bgImageRotated:u,bgImageFlipX:f,bgImageFlipY:m,hasBottom:!!a,Icon:x}),(0,t.jsx)("div",{className:(0,r.default)("relative",{"-m-6":o}),children:e})]}),a&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("div",{className:"relative -mx-6 -mt-1.5 flex flex-none",children:[(0,t.jsx)("div",{className:"h-1.5 w-6 flex-none rounded-tl-full bg-accent"}),(0,t.jsx)("div",{className:"h-1.5 grow bg-linear-to-r from-accent to-green"}),(0,t.jsx)("div",{className:"h-1.5 w-6 flex-none rounded-tr-full bg-green"})]}),(0,t.jsx)("div",{className:"-mx-6 -mb-6 grow rounded-b-xl bg-accent/50 p-6",children:a})]})]})])},387727,e=>{"use strict";var t,r=e.i(336799),a=e.i(7284),l=e.i(581053),i=e.i(297936),n=e.i(909027),o=e.i(977368),s=e.i(401190),d=e.i(898939),c=e.i(715820),u=e.i(496421),f=e.i(175306),m=e.i(324773),x=e.i(305644),g=e.i(903218),h=e.i(442315),p=e.i(304599),C=e.i(820752),v=e.i(977458),b=e.i(286014),j=((t=j||{})[t.DEPOSIT=0]="DEPOSIT",t[t.WITHDRAW=1]="WITHDRAW",t);e.s(["PoolTxns",0,({pool:e,className:t,setExitReserveError:j})=>{let{tStr:w}=(0,g.useTranslation)(),{setTx:y}=(0,p.useTransaction)(),{setConnectOpen:L}=(0,h.useModal)(),{address:A,connected:N}=(0,C.useWallet)(),k=(0,l.useMemo)(()=>[{option:0,label:w("deposit")},{option:1,label:w("withdraw")}],[w]),[M,I]=(0,l.useState)(0),[T,E]=(0,l.useState)(null),[P,S]=(0,l.useState)(!1),O=0===M,B=1===M,F=e.supportsCoin?v.ethZeroAddress:e.asset,{info:R,isLoading:H}=(0,x.useTokenSelectInfo)(F),D=(0,m.useTokenUnit)(R?.symbol,R?.decimals),V=e.share,{erc20Info:_,isLoading:q}=(0,u.useErc20Info)(V),U=(0,m.useTokenUnit)(_?.symbol,_?.decimals),{data:W,isLoading:Z}=(0,c.useEvmApi)(B?`/pool/${e.slug}/exit-reserve`:null),{assetValue:z,shares:G,isLoading:Q}=(0,f.usePoolAssetsToShares)(O?e:null,O?T:null,6),{shareValueNet:K,assetsNet:Y,isLoading:J}=(0,f.usePoolSharesToAssets)(B?e:null,B?T:null,6),$=!!T?.gt(0)&&!P,X=!!W&&!!Y?.gt(W);return(0,l.useEffect)(()=>j?.(X),[j,X]),(0,l.useEffect)(()=>E(null),[M]),(0,r.jsxs)("section",{className:(0,a.default)("flex flex-col justify-between gap-8 px-4 pt-0 pb-4",t),children:[(0,r.jsxs)("div",{className:"flex flex-col gap-8",children:[(0,r.jsx)(s.Tabs,{noTop:!0,options:k,active:M,setActive:I}),(0,r.jsx)(d.TokenPair,{vertical:!0,labelIn:w("amount"),labelOut:w("receive"),owner:A,amountIn:T,setAmountIn:E,setIsValid:S,tokenIn:O?F:V,tokenOut:O?V:F,amountOut:O?G:Y,amountOutError:!O&&X,isLoading:O?Q:J,children:(0,r.jsxs)("div",{className:"flex justify-between px-3 text-current/50",children:[(0,r.jsx)(n.FormattedToken,{style:"auto",value:O?D:U,isLoading:O?H:q}),(0,r.jsxs)("span",{children:["≈"," ",(0,r.jsx)(n.FormattedToken,{style:"auto",value:O?z:K,isLoading:O?Q:J})]})]})})]}),(0,r.jsxs)(i.Button,{block:!0,size:"lg",variant:"primary",disabled:N&&(O?!P:!P||!W||!Y?.lte(W)),onClick:N?()=>{setTimeout(()=>E(null),300),y(O?e.supportsCoin?b.TxType.POOL_DEPOSIT_COIN:b.TxType.POOL_DEPOSIT:b.TxType.POOL_WITHDRAW,{id:e.slug,amount:T})}:()=>L(!0),children:[(0,r.jsx)("span",{children:N?$?w("balance-token-insufficient",{symbol:O?R?.symbol:_?.symbol}):X?w("exit-reserve-insufficient"):w(O?"deposit":"withdraw"):w("wallet-connect")}),N&&Z&&(0,r.jsx)(o.Spinner,{height:"1.5em"})]})]})}])},505210,e=>{"use strict";var t,r,a,l,i,n,o,s,d=e.i(336799),c=e.i(7284),u=e.i(581053);function f(){return(f=Object.assign.bind()).apply(null,arguments)}let m=function(e){return u.createElement("svg",f({viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),t||(t=u.createElement("path",{opacity:.12,d:"M4.00033 3.3335H28.0003L29.3337 14.0002H29.2864C28.9629 11.7386 27.018 10.0002 24.667 10.0002H7.33366C4.98268 10.0002 3.03774 11.7386 2.71425 14.0002H2.66699L4.00033 3.3335Z",fill:"currentColor"})),r||(r=u.createElement("path",{d:"M29.3337 14.0002L28.7011 8.93967C28.453 6.95485 28.3289 5.96242 27.8619 5.21456C27.4503 4.55565 26.8558 4.03084 26.151 3.70422C25.3509 3.3335 24.3508 3.3335 22.3505 3.3335H9.65013C7.64985 3.3335 6.64971 3.3335 5.84969 3.70422C5.14483 4.03084 4.55033 4.55565 4.1388 5.21456C3.67171 5.96242 3.54766 6.95484 3.29955 8.93967L2.66699 14.0002M7.33366 19.3335H24.667M7.33366 19.3335C4.75633 19.3335 2.66699 17.2442 2.66699 14.6668C2.66699 12.0895 4.75633 10.0002 7.33366 10.0002H24.667C27.2443 10.0002 29.3337 12.0895 29.3337 14.6668C29.3337 17.2442 27.2443 19.3335 24.667 19.3335M7.33366 19.3335C4.75633 19.3335 2.66699 21.4228 2.66699 24.0002C2.66699 26.5775 4.75633 28.6668 7.33366 28.6668H24.667C27.2443 28.6668 29.3337 26.5775 29.3337 24.0002C29.3337 21.4228 27.2443 19.3335 24.667 19.3335M8.00033 14.6668H8.01366M8.00033 24.0002H8.01366M16.0003 14.6668H24.0003M16.0003 24.0002H24.0003",stroke:"currentColor",strokeWidth:2.66667,strokeLinecap:"round",strokeLinejoin:"round"})))};var x=e.i(87790);function g(){return(g=Object.assign.bind()).apply(null,arguments)}let h=function(e){return u.createElement("svg",g({viewBox:"0 0 40 40",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),a||(a=u.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M29.7296 3.3335H10.2678C9.38924 3.33347 8.63126 3.33344 8.00699 3.38445C7.34808 3.43828 6.69272 3.55714 6.06208 3.87847C5.12127 4.35783 4.35637 5.12274 3.877 6.06355C3.55568 6.69418 3.43682 7.34955 3.38298 8.00845C3.33198 8.63273 3.332 9.39064 3.33203 10.2692V29.7311C3.332 30.6096 3.33198 31.3676 3.38298 31.99
219C3.43682 32.6508 3.55568 33.3062 3.877 33.9368C4.35637 34.8776 5.12127 35.6425 6.06208 36.1219C6.69272 36.4432 7.34808 36.562 8.00699 36.6159C8.63127 36.6669 9.38919 36.6669 10.2678 36.6668H29.7296C30.6082 36.6669 31.3661 36.6669 31.9904 36.6159C32.6493 36.562 33.3047 36.4432 33.9353 36.1219C34.8761 35.6425 35.641 34.8776 36.1204 33.9368C36.4417 33.3062 36.5606 32.6508 36.6144 31.9919C36.6654 31.3676 36.6654 30.6097 36.6654 29.7311V10.2692C36.6654 9.39066 36.6654 8.63273 36.6144 8.00845C36.5606 7.34955 36.4417 6.69418 36.1204 6.06355C35.641 5.12274 34.8761 4.35783 33.9353 3.87847C33.3047 3.55714 32.6493 3.43828 31.9904 3.38445C31.3661 3.33344 30.6082 3.33347 29.7296 3.3335ZM22.8846 21.9913L24.4137 26.5785C24.6112 27.171 24.71 27.4673 24.6508 27.7031C24.5989 27.9095 24.4701 28.0883 24.2906 28.2028C24.0856 28.3335 23.7734 28.3335 23.1488 28.3335H16.8486C16.224 28.3335 15.9118 28.3335 15.7068 28.2028C15.5273 28.0883 15.3985 27.9095 15.3466 27.7031C15.2874 27.4673 15.3862 27.171 15.5837 26.5785L17.1128 21.9913C17.2303 21.6386 17.2891 21.4622 17.2861 21.3179C17.2829 21.1662 17.2626 21.0867 17.1927 20.9519C17.1263 20.8238 16.9486 20.6586 16.5934 20.328C15.6123 19.4151 14.9987 18.1126 14.9987 16.6668C14.9987 13.9054 17.2373 11.6668 19.9987 11.6668C22.7601 11.6668 24.9987 13.9054 24.9987 16.6668C24.9987 18.1126 24.3851 19.4151 23.404 20.328C23.0488 20.6586 22.8711 20.8238 22.8047 20.9519C22.7348 21.0867 22.7145 21.1662 22.7113 21.3179C22.7083 21.4622 22.7671 21.6386 22.8846 21.9913Z",fill:"currentColor"})),l||(l=u.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M22.8859 21.991L24.415 26.5782C24.6125 27.1707 24.7113 27.467 24.6521 27.7028C24.6002 27.9092 24.4714 28.088 24.2919 28.2024C24.0869 28.3332 23.7747 28.3332 23.1501 28.3332H16.8499C16.2253 28.3332 15.9131 28.3332 15.7081 28.2024C15.5286 28.088 15.3998 27.9092 15.3479 27.7028C15.2887 27.467 15.3875 27.1707 15.585 26.5782L17.1141 21.991C17.2316 21.6383 17.2904 21.4619 17.2874 21.3176C17.2842 21.1659 17.2639 21.0863 17.194 20.9516C17.1276 20.8235 16.9499 20.6582 16.5947 20.3277C15.6136 19.4148 15 18.1123 15 16.6665C15 13.9051 17.2386 11.6665 20 11.6665C22.7614 11.6665 25 13.9051 25 16.6665C25 18.1123 24.3864 19.4148 23.4053 20.3277C23.0501 20.6582 22.8724 20.8235 22.806 20.9516C22.7361 21.0863 22.7158 21.1659 22.7126 21.3176C22.7096 21.4619 22.7684 21.6383 22.8859 21.991Z",fill:"white"})))};var p=e.i(187185);function C(){return(C=Object.assign.bind()).apply(null,arguments)}let v=function(e){return u.createElement("svg",C({viewBox:"0 0 40 40",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),i||(i=u.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M19.5237 1.81405C19.8399 1.76836 20.161 1.76836 20.4772 1.81405C20.8415 1.8667 21.1806 1.99479 21.4498 2.0965L21.522 2.12369L30.676 5.55623C31.7057 5.94065 32.6099 6.27824 33.3063 6.89194C33.9155 7.42881 34.3848 8.10597 34.6735 8.86488C35.0037 9.73239 35.0023 10.6976 35.0007 11.7967L35.0004 19.9998C35.0004 24.7108 32.4383 28.6385 29.6687 31.5238C26.8805 34.4285 23.6905 36.4801 22.0036 37.4642L21.9353 37.5042C21.6275 37.685 21.2279 37.9196 20.6994 38.0329C20.267 38.1257 19.7339 38.1257 19.3015 38.0329C18.773 37.9196 18.3734 37.685 18.0656 37.5042L17.9973 37.4642C16.3104 36.4801 13.1204 34.4285 10.3322 31.5238C7.56259 28.6385 5.00044 24.7108 5.00044 19.9998L5.00022 11.7967C4.99863 10.6976 4.99723 9.73239 5.32734 8.86488C5.61613 8.10597 6.0854 7.42881 6.69459 6.89194C7.39096 6.27824 8.29519 5.94065 9.32484 5.55623L18.4789 2.12369L18.551 2.09651C18.8203 1.9948 19.1593 1.8667 19.5237 1.81405ZM27.0123 16.1785C27.6631 15.5276 27.6631 14.4724 27.0123 13.8215C26.3614 13.1706 25.3061 13.1706 24.6552 13.8215L18.3337 20.143L16.1789 17.9882C15.528 17.3373 14.4728 17.3373 13.8219 17.9882C13.171 18.639 13.171 19.6943 13.8219 20.3452L17.1552 23.6785C17.8061 24.3294 18.8614 24.3294 19.5123 23.6785L27.0123 16.1785Z",fill:"currentColor"})),n||(n=u.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M27.0105 16.1784C27.6614 15.5276 27.6614 14.4723 27.0105 13.8214C26.3597 13.1705 25.3044 13.1705 24.6535 13.8214L18.332 20.1429L16.1772 17.9881C1
25.5263 17.3372 14.4711 17.3372 13.8202 17.9881C13.1693 18.6389 13.1693 19.6942 13.8202 20.3451L17.1535 23.6784C17.8044 24.3293 18.8597 24.3293 19.5105 23.6784L27.0105 16.1784Z",fill:"white"})))};function b(){return(b=Object.assign.bind()).apply(null,arguments)}let j=function(e){return u.createElement("svg",b({viewBox:"0 0 40 40",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),o||(o=u.createElement("circle",{cx:20,cy:20,r:18,fill:"currentColor"})),s||(s=u.createElement("path",{d:"M19.0489 11.927C19.3483 11.0057 20.6517 11.0057 20.9511 11.9271L22.2451 15.9098C22.379 16.3219 22.763 16.6008 23.1962 16.6008H27.3839C28.3527 16.6008 28.7554 17.8404 27.9717 18.4098L24.5838 20.8713C24.2333 21.126 24.0866 21.5773 24.2205 21.9894L25.5146 25.9721C25.8139 26.8934 24.7595 27.6596 23.9757 27.0902L20.5878 24.6287C20.2373 24.374 19.7627 24.374 19.4122 24.6287L16.0243 27.0902C15.2405 27.6596 14.1861 26.8934 14.4854 25.9721L15.7795 21.9894C15.9134 21.5773 15.7667 21.126 15.4162 20.8713L12.0283 18.4098C11.2446 17.8404 11.6473 16.6008 12.6161 16.6008H16.8038C17.237 16.6008 17.621 16.3219 17.7549 15.9098L19.0489 11.927Z",fill:"white"})))},w={src:e.i(450566).default,width:436,height:120,blurWidth:8,blurHeight:2,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAACCAYAAABllJ3tAAAAOUlEQVR42jWKQQoAMQgDJbEXQRFF///UbQ8bCAzDiNwBEDNDZrKq9P2yPickxd0REfyDmTm7e7pbP0pcArbByogtAAAAAElFTkSuQmCC"},y={src:e.i(778446).default,width:436,height:120,blurWidth:8,blurHeight:2,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAACCAYAAABllJ3tAAAATUlEQVR42gFCAL3/AAAAAAAAAAAAGRkZBHl5eRJlZWUMODg4BSIiIgIfHx8BAAAAAAADAwMBTU1NDVtbWw1JSUkKNDQ0ByEhIQMaGhoBGOQI1
2H+nbhEAAAAASUVORK5CYII="};var L=e.i(732919),A=e.i(406356),N=e.i(376659);let k=({className:e,questions:t})=>(0,d.jsxs)("div",{className:e,children:[(0,d.jsx)("h2",{className:"text-center text-5xl",children:"FAQ"}),(0,d.jsx)("ul",{className:"mx-auto mt-12 max-w-4xl",children:t.map((e,t)=>(0,d.jsx)(M,{...e},t))})]}),M=({q:e,a:t})=>{let[r,a]=(0,u.useState)(null),[l,i]=(0,u.useState)(null),[n,o]=(0,u.useState)(!1),{height:s}=(0,N.useElementSize)(l);return(0,u.useEffect)(()=>{if(!r||!s)return;let e=L.default.context(()=>{L.default.to(r,{height:n?s:0,duration:.5,ease:A.Cubic.easeOut})});return()=>e.kill()},[r,s,n]),(0,d.jsxs)("li",{className:"border-b border-steel-600",children:[(0,d.jsxs)("h3",{className:"flex cursor-pointer items-center justify-between px-2.5 py-5",onClick:()=>o(!n),children:[(0,d.jsx)("span",{children:e}),(0,d.jsx)("span",{className:(0,c.default)("text-3xl text-accent transition-opacity",n&&"opacity-0"),children:"+"})]}),(0,d.jsx)("div",{ref:a,className:"h-0 overflow-hidden",children:(0,d.jsx)("p",{ref:i,className:(0,c.default)("px-2.5 pb-7 transition-opacity",!n&&"opacity-0"),children:t})})]})};var I=e.i(411193),T=e.i(473127),E=e.i(808119),P=e.i(825077),S=e.i(977368),O=e.i(292278);let B=({value:e,mono:t,decimals:r,isLoading:a,className:l})=>{let i=(0,u.useMemo)(()=>e?new O.Token(e,"PiB",r??3).div(1025n**5n/10n**BigInt(r??3)).toFormat({hideSymbol:!0}):null,[e,r]);return(0,d.jsx)("span",{className:l,children:i?(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)("span",{className:(0,c.default)("break-all",{"font-mono text-lg leading-6":t}),children:i}),(0,d.jsx)("span",{className:"text-[0.85em]",children:" PiB"})]}):a?(0,d.jsx)(S.Spinner,{height:"1.25em"}):"..."})};var F=e.i(909027),R=e.i(872798),H=e.i(526196),D=e.i(830612),V=e.i(180793),_=e.i(219492),q=e.i(509697),U=e.i(3034),W=e.i(558163);let Z=e=>!(0,V.default)(e.value),z=({title:e,data:t,symbol:r,decimals:a,className:l})=>{let[i,n]=(0,u.useState)(null),[o,s]=(0,u.useState)(null),[f,m]=(0,u.useState)(0),x=(0,u.useMemo)(()=>t?.every(Z)?t.map(({name:e,color:t,value:l})=>({name:e,color:t,value:new O.Token(l,r,a).toNormNumber()})).filter(({value:e})=>e>0):null,[t,r,a]),g=(0,u.useCallback)(({delta:e})=>m(t=>{let r=!x,a=t+e/1e3*(r?.3:.6);return r?a%1:Math.min(a,1)}),[x]);return(0,u.useEffect)(()=>m(0),[x]),(0,U.useAnimationFrame)(g,f<1),(0,u.useEffect)(()=>{i&&o&&(0,W.drawPieChart)(i,o,x,f)},[i,o,x,f]),(0,d.jsxs)("div",{className:(0,c.default)("flex items-center justify-evenly gap-6 sm:gap-8",l),children:[(0,d.jsxs)("div",{className:"relative h-60 w-60",children:[(0,d.jsx)(_.Canvas2D,{setContext:n,setDrawArea:s}),(0,d.jsx)("h3",{className:"absolute top-1/2 -translate-y-1/2 px-12 text-center",children:e})]}),(0,d.jsx)("div",{className:"grid grid-cols-[repeat(2,auto)] items-center gap-4 whitespace-nowrap md:grid-cols-[repeat(3,auto)]",children:t.map((e,t)=>(0,d.jsx)(G,{symbol:r,decimals:a,...e},t))})]})},G=({name:e,color:t,value:r,symbol:a,decimals:l})=>(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)("div",{className:"h-5 w-5 rounded-xs",style:{backgroundColor:t}}),(0,d.jsxs)("div",{children:[(0,d.jsx)("p",{className:"md:hidden",children:e}),(0,d.jsx)(q.FormattedTokenValue,{style:"auto",value:r,symbol:a,decimals:l,className:"block font-medium text-white md:text-right"})]}),(0,d.jsx)("p",{className:"hidden md:block",children:e})]});var Q=e.i(387727),K=e.i(683208),Y=e.i(314243),J=e.i(184976),$=e.i(715820),X=e.i(496421),ee=e.i(175306),et=e.i(813693),er=e.i(903218),ea=e.i(81969),el=e.i(479079);let ei=Y.pools.INFINITY,en=({className:e})=>{let{t}=(0,er.useTranslation)();return(0,d.jsxs)(H.GradientSection,{className:e,bgImage:w,bgImageOpacity:.6,Icon:v,children:[(0,d.jsx)("h3",{className:"mb-1",children:t("pool-audit-title")}),(0,d.jsx)("p",{className:"pr-20 text-lg text-white",children:t("pool-audit-text")})]})},eo=({className:e})=>{let{t}=(0,er.useTranslation)(),{erc20Info:r}=(0,X.useErc20Info)(ei.share),{shareValueGross:a,isLoading:l}=(0,ee.usePoolShareValue)(ei);return(0,d.jsxs)(H.GradientSection,{className:e,bgImage:y,bgImageOpacity:.5,bgImageRotated:!0,bgImageFlipY:!0,Icon:j,children:[(0,d.jsx)("h3",{className:"mb-1",children:t("redemption-value",{symbol:r?.symbol})}),(0,d.jsx)(F.FormattedToken,{style:"auto",value:a,isLoading:l,className:"block text-2xl font-medium text-white"}),(0,d.jsx)(R.FormattedTokenToCcy,{value:a,isLoading:l,className:"block font-medium"})]})},es=({className:e})=>{let{t}=(0,er.useTranslation)(),{poolMetrics:r,isLoading:a}=(0,et.usePoolMetrics)();return(0,d.jsxs)(H.GradientSection,{className:e,bgImage:y,bgImageOpacity:.5,Icon:h,children:[(0,d.jsx)("h3",{className:"mb-1",children:t("tvl-full")}),(0,d.jsx)(I.FormattedCoin,{style:"auto",value:r?.totalValueLocked,isLoading:a,className:"block text-2xl font-medium text-white"}),(0,d.jsx)(T.FormattedCoinToCcy,{value:r?.totalValueLocked,isLoading:a,className:"block font-medium"})]})},ed=({className:e})=>{let{tStr:t}=(0,er.useTranslation)(),{symbol:r,decimals:a}=(0,ea.useNetworkCoinInfo)(),{poolApy:l,poolMetrics:i,isLoading:n}=(0,et.usePoolMetrics)(),{data:o,isLoading:s}
2=(0,$.useEventsApi)("/pool/infinite/deposit/unique"),[c,f]=(0,u.useState)([]);return(0,u.useEffect)(()=>f([{name:t("available"),color:(0,el.getColor)("bg-chart-blue"),value:i?.poolTotalBorrowableAssets},{name:t("borrowed"),color:(0,el.getColor)("bg-chart-yellow"),value:i?.poolTotalBorrowed},{name:t("fees-accrued"),color:(0,el.getColor)("bg-chart-orange"),value:i?.poolAccruedInterest},{name:t("collateral"),color:(0,el.getColor)("bg-chart-green"),value:i?.totalMinerCollaterals},{name:t("exit-reserve"),color:(0,el.getColor)("bg-chart-pink"),value:i?.poolExitReserve}]),[i,t]),(0,d.jsx)(H.GradientSection,{noPadding:!0,className:e,children:(0,d.jsxs)("div",{className:"grid grid-cols-1 lg:grid-cols-3",children:[(0,d.jsx)(z,{title:t("tvl-breakdown"),data:c,symbol:r,decimals:a,className:"p-6 lg:col-span-2"}),(0,d.jsxs)("div",{className:"grid grid-cols-1 border-t border-current/25 md:grid-cols-3 lg:grid-cols-1 lg:border-t-0 lg:border-l",children:[(0,d.jsx)(ec,{Icon:p.default,title:t("apy-full"),value:(0,d.jsx)(P.FormattedPct,{value:l,isLoading:n})}),(0,d.jsx)(ec,{Icon:m,title:t("assets-total"),value:(0,d.jsx)(I.FormattedCoin,{style:"auto",value:i?.poolTotalAssets,isLoading:n})}),(0,d.jsx)(ec,{Icon:x.default,title:t("depositors"),value:(0,d.jsx)(E.FormattedNr,{value:o?.uniqueDepositors,isLoading:s})})]})]})})},ec=({Icon:e,title:t,value:r})=>(0,d.jsxs)("div",{className:(0,c.default)("flex items-center gap-4 border-current/25 p-6 last:border-none","border-b md:border-r md:border-b-0 lg:border-r-0 lg:border-b"),children:[(0,d.jsx)("div",{className:"rounded-full bg-steel-1100 p-4 text-white",children:(0,d.jsx)(e,{height:"2rem"})}),(0,d.jsxs)("div",{children:[(0,d.jsx)("h6",{className:"mb-1 font-medium",children:t}),(0,d.jsx)("div",{className:"text-2xl font-medium text-white",children:r})]})]}),eu=({className:e})=>{let{t}=(0,er.useTranslation)(),{poolMetrics:r,poolUtilizationRate:a,poolCollateralizationRatio:l,poolYearlyReward:i,isLoading:n}=(0,et.usePoolMetrics)(),{data:o,isLoading:s}=(0,$.useEventsApi)("/pool/infinite/borrow/unique"),{data:c,isLoading:u}=(0,$.useEventsApi)("/pool/infinite/deposit/unique");return(0,d.jsx)(H.GradientSection,{noPadding:!0,className:e,children:(0,d.jsxs)("div",{className:"grid grid-cols-1 sm:grid-cols-2 md:grid-cols-3 lg:grid-cols-4",children:[(0,d.jsx)(ef,{index:0,title:t("pool-average-deposit"),value:(0,d.jsx)(I.FormattedCoin,{style:"auto",value:c?.averageAmount,isLoading:u}),tooltip:t("pool-average-deposit-tip")}),(0,d.jsx)(ef,{index:1,title:t("pool-collateralization"),value:(0,d.jsx)(P.FormattedPct,{decimals:1,value:l,isLoading:n}),tooltip:t("pool-collateralization-tip")}),(0,d.jsx)(ef,{index:2,title:t("pool-utilization"),value:(0,d.jsx)(P.FormattedPct,{decimals:1,value:a,isLoading:n}),tooltip:t("pool-utilization-tip")}),(0,d.jsx)(ef,{index:3,title:t("pool-rewards"),value:(0,d.jsx)(F.FormattedToken,{style:"auto",value:i,isLoading:n}),tooltip:t("pool-rewards-tip")}),(0,d.jsx)(ef,{index:4,title:t("pool-borrow-size"),value:(0,d.jsx)(I.FormattedCoin,{style:"auto",value:o?.averageAmount,isLoading:s}),tooltip:t("pool-borrow-size-tip")}),(0,d.jsx)(ef,{index:5,title:t("pool-miners"),value:(0,d.jsx)(E.FormattedNr,{value:r?.totalMinersCount,isLoading:n}),tooltip:t("pool-miners-tip")}),(0,d.jsx)(ef,{index:6,title:t("qap"),value:(0,d.jsx)(B,{decimals:1,value:r?.totalMinerQAP,isLoading:n}),tooltip:t("pool-qap-tip")}),(0,d.jsx)(ef,{index:7,title:t("rbp"),value:(0,d.jsx)(B,{decimals:1,value:r?.totalMinerRBP,isLoading:n}),tooltip:t("pool-rbp-tip")})]})})},ef=({index:e,title:t,value:r,tooltip:a})=>(0,d.jsxs)("div",{className:(0,c.default)("relative flex flex-col justify-between border-r border-b border-current/25 p-6","max-sm:border-r-0 max-sm:last:border-b-0","sm:max-md:even:border-r-0 sm:max-md:nth-[n+7]:border-b-0","md:max-lg:nth-[3n+3]:border-r-0 md:max-lg:nth-[n+7]:border-b-0","lg:nth-[4n+4]:border-r-0 lg:nth-[n+5]:border-b-0"),children:[(0,d.jsx)("h6",{className:"mb-1 font-medium",children:t}),(0,d.jsx)("div",{className:"text-2xl font-medium text-white",children:r}),(0,d.jsx)("div",{className:"absolute top-0 right-0",children:(0,d.jsx)(K.Tooltip,{content:a,noIcon:!0,children:(0,d.jsx)("span",{className:(0,
2c.default)("flex h-6 w-6 items-center justify-center rounded-es-lg bg-steel-1000 text-white",{"max-sm:rounded-tr-lg":0===e,"sm:max-md:rounded-tr-lg":1===e,"md:max-lg:rounded-tr-lg":2===e,"lg:rounded-tr-lg":3===e}),children:"i"})})})]});e.s(["PoolInfinityPage",0,()=>{let{t:e}=(0,er.useTranslation)();return(0,d.jsxs)("div",{className:"flex flex-col gap-40",children:[(0,d.jsxs)("div",{className:(0,c.default)("grid section-gap",'grid-cols-1 [grid-template-areas:"info1""info2""info3""deposit""stats1""stats2"]','md:grid-cols-2 md:[grid-template-areas:"info1_deposit""info2_deposit""info3_deposit""stats1_stats1""stats2_stats2"]','xl:grid-cols-3 xl:[grid-template-areas:"info1_info2_info3""stats1_stats1_deposit""stats2_stats2_deposit"]'),children:[(0,d.jsx)(es,{className:"[grid-area:info1]"}),(0,d.jsx)(eo,{className:"[grid-area:info2]"}),(0,d.jsx)(en,{className:"[grid-area:info3]"}),(0,d.jsx)(ed,{className:"[grid-area:stats1]"}),(0,d.jsx)(eu,{className:"[grid-area:stats2]"}),(0,d.jsx)(Q.PoolTxns,{pool:ei,className:"[grid-area:deposit]"})]}),(0,d.jsx)(k,{questions:[{q:e("pool-q-1"),a:(0,d.jsxs)(d.Fragment,{children:[e("pool-a-1a"),(0,d.jsx)("br",{}),e("pool-a-1b")]})},{q:e("pool-q-2"),a:e("pool-a-2")},{q:e("pool-q-3"),a:e("pool-a-3")},{q:e("pool-q-4"),a:e("pool-a-4")},{q:e("pool-q-5"),a:(0,d.jsxs)(d.Fragment,{children:[e("pool-a-5"),(0,d.jsx)("br",{}),(0,d.jsx)(D.Link.Base,{href:J.discordUrl,children:e("discord")}),(0,d.jsx)("br",{}),(0,d.jsx)(D.Link.Base,{href:J.telegramUrl,children:e("telegram")}),(0,d.jsx)("br",{}),(0,d.jsx)(D.Link.Base,{href:J.twitterUrl,children:e("twitter")}),(0,d.jsx)("br",{}),(0,d.jsx)(D.Link.Base,{href:`mailto:${J.contactEmail}`,children:e("email")})]})}]})]})}],505210)}]);
3
4//# debugId=3401c1c8-0421-aff3-6d05-5359eb6b6346

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.