PageSourceSearch

https://www.palomabot.ai/_next/static/chunks/pages/curve-squeeze/[id]-3a6c04c60a4a0207.js

js palomabot.ai collected 2026-10-05 12:35:32 UTC 21,054 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5804],{13191:e=>{e.exports={tokenInfoWrapper:"VolumeInfo_tokenInfoWrapper__yUNuy",tokenHeadInfo:"VolumeInfo_tokenHeadInfo__RL1uM",tokenNameInfo:"VolumeInfo_tokenNameInfo__txpLC",symbol:"VolumeInfo_symbol__0aJst",tokenDexInfos:"VolumeInfo_tokenDexInfos__gTOCb",tokenDexInfo:"VolumeInfo_tokenDexInfo__PLyPT",return:"VolumeInfo_return__vSRXn",divide:"VolumeInfo_divide__lLvMz",divide2:"VolumeInfo_divide2__g8_DB",tokenVolumeInfo:"VolumeInfo_tokenVolumeInfo__He1Yp",tokenVolumeInfo2:"VolumeInfo_tokenVolumeInfo2___MQ0h",tokenVolume:"VolumeInfo_tokenVolume__g22dL",tokenVolumeValue:"VolumeInfo_tokenVolumeValue__4ufpz",returnValue:"VolumeInfo_returnValue__4nFHr",green:"VolumeInfo_green__kmmm6",red:"VolumeInfo_red__NjVIi"}},31259:e=>{e.exports={container:"BuildBot_container__Y5xVp",symbol:"BuildBot_symbol__O2JZp",content:"BuildBot_content__S_5XA",goBack:"BuildBot_goBack__FKsvp",title:"BuildBot_title__8Aj1b",description:"BuildBot_description__mHdzQ",tradingWrapper:"BuildBot_tradingWrapper__N9vSl",squeezeLevel:"BuildBot_squeezeLevel__k_NzB",squeezeLevelLabel:"BuildBot_squeezeLevelLabel__Lnn4I",squeezeLevelValue:"BuildBot_squeezeLevelValue__NZMb4",feesView:"BuildBot_feesView__aO_in",botDetails:"BuildBot_botDetails__9xonJ",divide:"BuildBot_divide__5WPOs",botDetailsInfo:"BuildBot_botDetailsInfo__KnKQf",selectOptions:"BuildBot_selectOptions__qfhmr",walletBalance:"BuildBot_walletBalance__7VqM_",max:"BuildBot_max__Lt05W",toTokenValue:"BuildBot_toTokenValue__hHjpL",maxTo:"BuildBot_maxTo__l_HTX",profit:"BuildBot_profit__lBQWp",mb16:"BuildBot_mb16__RaYe4",intervalTrades:"BuildBot_intervalTrades__3YpT0",collateralToken:"BuildBot_collateralToken__AjL2S",addToken:"BuildBot_addToken__X5Kta",profitInput:"BuildBot_profitInput__7U6pi",tradingInfo:"BuildBot_tradingInfo__Wgwj6",token:"BuildBot_token__df_5J",tokenValue:"BuildBot_tokenValue__jDl0d",tokenAmount:"BuildBot_tokenAmount__9Bxau",usdPrice:"BuildBot_usdPrice__PPvB8",limitRatio:"BuildBot_limitRatio__QKOo_",limitRatioValue:"BuildBot_limitRatioValue__KfyVh",limitRatioPer:"BuildBot_limitRatioPer__TES30",tradesInfo:"BuildBot_tradesInfo__axsvb",trade:"BuildBot_trade__Spnxo",justifyCenter:"BuildBot_justifyCenter__NKdqX",checkbox:"BuildBot_checkbox__3bC8h",switch:"BuildBot_switch__E_x_y",roundSlider:"BuildBot_roundSlider__4UTrQ",disclaimer:"BuildBot_disclaimer__Pvx19",blue:"BuildBot_blue__M16yK","react-datepicker":"BuildBot_react-datepicker__rvYBP",selector:"BuildBot_selector__a_Kze",loanInfos:"BuildBot_loanInfos__pMjK2",loanInfo:"BuildBot_loanInfo__yIAtr",riskMethods:"BuildBot_riskMethods__vNypx",riskMethod:"BuildBot_riskMethod__ZfIdh",selectedMethod:"BuildBot_selectedMethod__vCVu0",errorColor:"BuildBot_errorColor__k7xx_",twapTransaction:"BuildBot_twapTransaction__x0lci",swapButton:"BuildBot_swapButton__rQk59",yellowText:"BuildBot_yellowText__0m6uF",blueText:"BuildBot_blueText__F3IYi",yellowBg:"BuildBot_yellowBg__Mp4NX",accentYellowColor:"BuildBot_accentYellowColor__IELmo",accentBlueColor:"BuildBot_accentBlueColor__p4_mL",yellowClipText:"BuildBot_yellowClipText__5sWcW"}},32487:e=>{e.exports={container:"StartBotButton_container__dBHUZ",cursor:"StartBotButton_cursor___w_Wb",error:"StartBotButton_error__MX0fg",disabled:"StartBotButton_disabled__Gt3Rq",success:"StartBotButton_success__qZsPm",loadingBtn:"StartBotButton_loadingBtn__UNIxz",errorMark:"StartBotButton_errorMark__Izb_Y"}},32999:(e,t,l)=>{"use strict";l.d(t,{A:()=>u});var o=l(37876);l(14232);var a=l(15039),n=l.n(a),s=l(74574),i=l(40887),r=l(13191),d=l.n(r);let u=e=>{var t,l;let{botToken:a}=e;return(0,o.jsxs)("section",{className:d().tokenInfoWrapper,children:[(0,o.jsxs)("div",{className:d().tokenHeadInfo,children:[(0,o.jsxs)("div",{className:d().tokenNameInfo,children:[(0,o.jsx)("img",{src:(null==(t=a.image)?void 0:t.small)?null==(l=a.image)?void 0:l.small:"",width:28,height:28}),(0,o.jsx)("p",{children:a.name}),(0,o.jsxs)("p",{className:d().symbol,children:["(",a.symbol,")"]})]}),(0,o.jsxs)("div",{className:d().tokenDexInfos,children:[(0,o.jsx)("div",{className:d().tokenDexInfo,children:i.aX[a.chain]}),(0,o.jsx)("div",{className:d().tokenDexInfo,children:a.dex})]})]}),(0,o.jsxs)("div",{className:d().tokenVolumeInfo2,children:[(0,o.jsxs)("div",{className:d().tokenVolume,children:[(0,o.jsx)("p",{children:"24 Hour Volume"}),(0,o.jsxs)("p",{className:n()(d().tokenVolumeValue),children:["$",s.A.toFixed(a.best_volume,3)]})]}),(0,o.jsx)("div",{className:d().divide2}),(0,o.jsxs)("div",{className:d().tokenVolume,children:[(0,o.jsx)("p",{children:"Market Cap"}),(0,o.jsxs)("p",{className:n()(d().tokenVolumeValue),children:["$",s.A.toFixed(a["30_day_mean_marketcap"],3)]})]}),(0,o.jsx)("div",{className:d().divide2}),(0,o.jsxs)("div",{className:d().tokenVolume,children:[(0,o.jsx)("p",{children:"Fully Diluted Valuation"}),(0,o.jsxs)("p",{className:n()(d().tokenVolumeValue),children:["$",s.A.toFixed(a.fully_diluted_valuation,3)]})]})]}),(0,o.jsx)("div",{className:d().divide}),(0,o.jsxs)("div",{className:d().tokenVolumeInfo,children:[(0,o.jsxs)("div",{className:d().tokenVolume,children:[(0,o.jsx)("p",{children:"6 Hour"}),(0,o.jsxs)("p",{className:n()(d().returnValue,a["6H Return"]>0?d().green:d().red),children:[s.A.toFixed(a["6H Return"]||0),"%"]})]}),(0,o.jsxs)("div",{className:d().tokenVolume,children:[(0,o.jsx)("p",{children:"12 Hour"}),(0,o.jsxs)("p",{className:n()(d().returnValue,a["12H Return"]>0?d().green:d().red),children:[s.A.toFixed(a["12H Return"]||0),"%"]})]}),(0,o.jsxs)("div",{className:d().tokenVolume,children:[(0,o.jsx)("p",{children:"24 Hour"}),(0,o.jsxs)("p",{className:n()(d().returnValue,a["24H Return"]>0?d().green:d().red),children:[s.A.toFixed(a["24H Return"]||0),"%"]})]}),(0,o.jsxs)("div",{className:d().tokenVolume,children:[(0,o.jsx)("p",{children:"7 Day"}),(0,o.jsxs)("p",{className:n()(d().returnValue,a["7D Return"]>0?d().green:d().red),children:[s.A.toFixed(a["7D Return"]||0),"%"]})]})]})]})}},33284:(e,t,l)=>{"use strict";l.d(t,{A:()=>r});var o=l(37876),a=l(15039),n=l.n(a),s=l(43399),i=l.n(s);let r=e=>{let{header:t,icon:l,className:a,children:s}=e;return(0,o.jsxs)("section",{className:n()(i().container,a),children:[l&&(0,o.jsx)("div",{className:i().circleIcon,children:(0,o.jsx)("img",{src:l,alt:"",width:70,height:70})}),t&&(0,o.jsx)("div",{className:i().header,children:t}),(0,o.jsx)("div",{className:i().body,children:s})]})}},43399:e=>{e.exports={container:"BotViewCard_container__6XXG_",circleIcon:"BotViewCard_circleIcon__SqR7T",header:"BotViewCard_header__NztKv",body:"BotViewCard_body__wSIEQ"}}
1,44960:e=>{e.exports={white:"RowView_white__pC9GD",black:"RowView_black__IYpSF",container:"RowView_container__B9n9g",row:"RowView_row__1WPS9",value:"RowView_value__MDRpG",divider:"RowView_divider__r8Wdo",dividerWhite:"RowView_dividerWhite__G9gTJ",input:"RowView_input__iPSpE"}},50594:(e,t,l)=>{"use strict";l.r(t),l.d(t,{default:()=>O});var o=l(37876),a=l(14232),n=l(89099),s=l(72482),i=l(27952),r=l(19439),d=l(33284),u=l(28239),c=l(7426),_=l(53711),m=l(79632),x=l(40887),B=l(89351),v=l(51757),h=l(37121),k=l(32999),p=l(48670),w=l(13086),f=l(90060),b=l(43804),g=l(10512),j=l(92715),N=l(67329),y=l(19891),V=l(11228),C=l(30941),I=l(73218),T=l(74574),A=l(12448),S=l(2661),E=l(18935),L=l(25763),R=l(15039),H=l.n(R),D=l(48230),P=l.n(D),q=l(53366),M=l(70502),U=l(12566),z=l(32487),W=l.n(z);let F=e=>{let{chainId:t,targetChain:l,botChain:n,full:s,isValidTokenAmount:i,isAmountInputLoading:r,isTxLoading:d,outputAmount:u,health:c,deleveragePercent:_,bandsNumber:B,durationType:v,botDuration:h,leverage:k,leverageZap:p,callbackArgs:w,tradeInterval:f,isBtc:b,depositTokens:g,borrowRate:j,className:y,onClickStartBot:V,buttonText:C="Start Bot"}=e,{openConnectionModal:I,requestSwitchNetwork:T}=(0,N.vT)(),A=x.n7.isDisableDeposit,S=(0,a.useMemo)(()=>t?l&&(null==l?void 0:l.chainId.toString())!==m.E7&&(null==l?void 0:l.chainId.toString())===n?r?{disabled:!0,text:"Fetching Prices",style:W().disabled,isLoading:!0,onClick:()=>{}}:i?!_||0>=+_?{disabled:!0,text:"Enter Deleverage Percentage",style:W().disabled,onClick:()=>{}}:1>+_||+_>100?{disabled:!0,text:"Invalid Repay Percentage",style:W().error,onClick:()=>{}}:h&&0!==h?0>=+k||void 0===p?{disabled:!0,text:"Invalid Leverage",style:W().disabled,onClick:()=>{}}:d?{disabled:!0,text:"Loading...",style:W().disabled,isLoading:!0,onClick:()=>{}}:{disabled:!1,text:C,style:W().success,onClick:V}:{disabled:!0,text:"Enter Bot Duration",style:W().error,onClick:()=>{}}:{disabled:!0,text:"Input token amount",style:W().disabled,onClick:()=>{}}:{disabled:!0,text:"Select Correct Chain",style:W().disabled,onClick:async()=>{await T(n)}}:{disabled:!1,text:"Connect Wallet",style:"",onClick:()=>{I()}},[i,r,d,u,t,l,n,c,_,B,v,h,A,k,p,w,f,b,g,j]);return(0,o.jsx)(U.A,{type:b?"yellow":"blue",className:H()(W().container,y,S.style,S.disabled?void 0:W().cursor),full:s,onClick:()=>S.onClick(),disabled:S.disabled,children:(0,o.jsxs)(o.Fragment,{children:[S.isLoading&&(0,o.jsx)("img",{src:"/assets/images/Loading_circle.svg",alt:"loading",width:40,height:36,style:{marginTop:"6px"}}),(0,o.jsx)("span",{children:S.text})]})})};var Z=l(67691),Q=l(31259),X=l.n(Q);let Y=e=>{var t;let{botType:l}=e,{wallet:n,requestAddNetwork:r,requestSwitchNetwork:R,openConnectionModal:D}=(0,N.vT)(),U=(0,j.A)(n),z=i.gs.filter(e=>E.A.isSameContract(e.address,l.address)),W=z.length>0?z[0]:A.A.getEmptyToken(),Q=s.Uq[s.vi.CURVE_SQUEEZE_ETH].supportNetworks,Y=s.Uq[s.vi.CURVE_SQUEEZE_ETH].defaultChain,[O,K]=(0,a.useState)(),{buildNewBot:G}=(0,f.A)({provider:U,wallet:n}),{createLoanCollateral:J,getQuoteAmount:$,getMaxBorrowableAmount:ee,getHealth:et,getBorrowRate:el}=(0,b.A)(),[eo]=(0,y.dt)(),{getTokenBalance:ea}=(0,w.A)({provider:U}),{getMomentumList:en}=(0,g.A)(),{selectedChainId:es,targetChain:ei}=(0,a.useMemo)(()=>{let e=n.network?m.ex[E.A.parseIntString(n.network)]:A.A.getMockChain();return{selectedChainId:null==e?void 0:e.chainId,targetChain:e}},[n]),[er,ed]=(0,a.useState)([A.A.getEmptySelectToken()]);i.UH;let[eu,ec]=(0,a.useState)(new L.A(1)),[e_,em]=(0,a.useState)({raw:new L.A(0),format:"0"}),[ex,eB]=(0,a.useState)(!1),[ev,eh]=(0,a.useState)(!1),[ek,ep]=(0,a.useState)(!1),[ew,ef]=(0,a.useState)(""),[eb,eg]=(0,a.useState)(""),[ej,eN]=(0,a.useState)(""),[ey,eV]=(0,a.useState)(!1),[eC,eI]=(0,a.useState)("-"),[eT,eA]=(0,a.useState)("-"),[eS,eE]=(0,a.useState)("50"),eL=x.P1.Perpetual,eR=x.Gd,[eH,eD]=(0,a.useState)("-"),[eP,eq]=(0,a.useState)(void 0),[eM,eU]=(0,a.useState)(void 0),[ez,eW]=(0,a.useState)("44"),[eF,eZ]=(0,a.useState)(),eQ=async()=>{let e=W.displayName,t=v.R3[0],l={dex:t.name,lag_return:x.Ud,daily_volume:x.hu,vol_30:x.cf,market_cap:x.si,token:e},o=await en({...l});o&&o[e]&&((o=o[e]).chain=t.chain,o.dex=t.dex,o.dexName=t.name,eZ(o))};(0,a.useEffect)(()=>{eQ()},[W]);let eX=(0,a.useCallback)(()=>(54-Number(ez)).toString(),[ez]),eY=(0,a.useMemo)(()=>er.reduce((e,t)=>
1{var l,o,a,n;return(E.A.isSameContract(t.token.token.address,W.address)?Number(null==t||null==(o=t.swapPath)||null==(l=o.amount)?void 0:l.format):.98*Number(null==t||null==(n=t.swapPath)||null==(a=n.amount)?void 0:a.format))+e},0),[er,W]),eO=(0,a.useCallback)(()=>er.reduce((e,t)=>{var l,o,a;return Number(null!=(a=null==t||null==(o=t.token)||null==(l=o.token)?void 0:l.usdAmount)?a:0)+e},0),[er]);(0,a.useEffect)(()=>{!U||(null==n?void 0:n.account)||(null==n?void 0:n.network)||D()},[U]),(0,a.useEffect)(()=>{U&&(null==n?void 0:n.account)&&(null==n?void 0:n.network)!==Y&&R(Y)},[U,n]),(0,a.useEffect)(()=>{if(n.network){let e=E.A.parseIntString(n.network);e in Q?K(e):K("")}else K("")},[n.network]),(0,a.useEffect)(()=>{W&&(async()=>{let e=setTimeout(async()=>{eA(await el(W.displayName.toLowerCase()))},100);return()=>clearTimeout(e)})()},[W]),(0,a.useEffect)(()=>{let e=setTimeout(async()=>{if(eD("-"),em({raw:new L.A(0),format:""}),eI("-"),eY>0){eB(!0);let e=eX(),t=await ee({llammaId:W.displayName.toLowerCase(),userCollateral:eY,range:e});if(t){let l=t*x.PH;t&&em({raw:T.A.convertToWei(l),format:T.A.toFixed(l,2)});let{leverageZap:o,leverage:a,callback_args:n}=await J({llammaId:W.displayName.toLowerCase(),userCollateral:eY,debt:l,decimals:W.decimals});eD(a.toString()),eq(o),eU(n),eI(await et({llammaId:W.displayName.toLowerCase(),userCollateral:eY,debt:l,range:e}))}eB(!1)}},500);return()=>clearTimeout(e)},[ez,er,W]);let eK=async(e,t,l)=>{if(eB(!0),er[l].amount=e,er[l].token.token.usdAmount=t,er[l].swapPath={routes:[],amount:(0,v.hU)()},ed([...er]),e.raw.comparedTo(0)>0){var o,a,n,s;if(E.A.isSameContract(null==(a=er[l])||null==(o=a.token)?void 0:o.token.address,W.address))er[l].swapPath={routes:[W.address],amount:e};else{let t=await $(null==(s=er[l])||null==(n=s.token)?void 0:n.token,W,e,1);er[l].swapPath={routes:t.routes?t.routes:[],amount:t.amount}}ed([...er])}};(0,a.useEffect)(()=>{em({raw:new L.A(0),format:""}),ec(new L.A(1)),eI("-"),eA("-"),eD("-")},[ei]);let{listedTokens:eG}=(0,V.xl)({},{selectFromResult:e=>({listedTokens:(0,I.C)(e.data,es)})}),eJ=async e=>{let{hash:t}=e;eh(!1),ef(""),ep(!0)},e$=()=>{ep(!1)},e0=e=>{let{txHash:t,txTitle:l,txText:o,txProcessing:a=!1}=e;void 0!==l&&eg(l),void 0!==o&&eN(o),void 0!==t&&ef(t),eV(a)},e1=e=>{(0,S.w)(e),eh(!1)},e3=async e=>{eB(!0);let t=er[e],l=t.token.balance,o=(0,v.hU)(),a="0";if(t.token.token.address===p.R9){let e=0+x.YR;Number(l.format)>e&&(o={raw:T.A.convertToWei(Number(l.format)-e,t.token.token.decimals),format:(Number(l.format)-e).toString()},a=T.A.convertToDollar((Number(l.format)-e).toString(),t.token.exchangeRate))}else o=l,a=T.A.convertToDollar(l.format,t.token.exchangeRate);await eK(o,a,e)},e9=async(e,t)=>{if(isNaN(e))return;eB(!0);let l=er[t],o={raw:T.A.convertToWei(Number(e),l.token.token.decimals),format:e},a=T.A.convertToDollar(e,l.token.exchangeRate);await eK(o,a,t)},e2=async(e,t)=>{let l=await ea(e,n.account);if(""===e.address)er.splice(t,1);else{let o=await eo({network:1,token:e.address===p.R9?p.tb[n.network].weth:e.address}).unwrap();er[t]={token:{token:e,balance:l,exchangeRate:(0,C.h)(o)},amount:{raw:new L.A(0),format:""},swapPath:{routes:[],amount:(0,v.hU)()}}}ed([...er]),eI("-"),eA("-"),eD("-")},e6=(0,a.useMemo)(()=>{for(let e of er)if(!e.amount||0>=Number(e.amount.format))return!1;else if(1===e.amount.raw.comparedTo(e.token.balance.raw))return!1;return!0},[er]),e8=(0,a.useMemo)(()=>[{label:"Total Deposit",values:"$"+Z.A.formatNumber(eO())},{label:"Total Squeeze Power",values:[{value:"$"+Z.A.formatNumber(T.A.convertToDollar(e_.format,eu))}]}],[eH,e_]),e7=(0,a.useMemo)(()=>[{label:"Loan interest rate",values:eT+"%"},{label:"Current Bot Health",values:eC+"%"},{label:"Minimum Bot Health",values:"2%"},{label:"Percentage of Loan to Automatically Repay",values:eS,onChange:e=>eE(e)}],[eT,eC,"2",eS]),e4=async()=>{await r(ei.chainId),eh(!0);try{await G(er,e_,eP,eM,eH,eX(),eS,"2",eR,"30",eJ,e1,e0,W)}catch(e){console.log(e),eh(!1)}};return(0,o.jsx)("div",{className:X().container,children:(0,o.jsxs)("div",{className:X().content,children:[(0,o.jsx)(P(),{href:B.Xc.Home,className:X().goBack,children:(0,o.jsx)("img",{src:"/assets/images/Back.svg",alt:"back",width:25,height:12,className:X().backImage})}),(0,o.jsxs)("h1",{className:H()(X().title,l.isBtc?X().yellowText:X().blueText),children:[l.name," (",l.symbol,")",(0,o.jsx)("br",{}),s.Uq[s.vi.CURVE_SQUEEZE_ETH].buildTitle]}),(0,o.jsx)("p",{className:X().description,children:"Create decentralized Curve Leverage Bot for your ".concat(l.isBtc?"Bitcoin":"Ethereum"," collateral with continuous monitoring and automatic repayments.")}),(0,o.jsxs)("div",{className:X().tradingWrapper,children:[(0,o.jsxs)(d.A,{header:"Select your Bot Details",icon:W.icon,children:[(0,o.jsxs)("p",{style:{textAlign:"center",marginBottom:"16
1px"},children:["for ",l.name," (",l.symbol,") as your collateral token."]}),(0,o.jsxs)("div",{className:"flex-col gap-12",children:[er.map((e,t)=>(0,o.jsx)(M.A,{index:t,label:0===t?"Deposit Token":"",botType:s.vi.CURVE_SQUEEZE_ETH,selectToken:e,listedTokens:eG,onInputAmount:e9,onClickMaxTokenBalance:e3,onSelectToken:e2},t)),er.length>0&&er.length<5&&(0,o.jsx)("div",{className:H()(X().addToken,l.isBtc?X().yellowText:void 0),onClick:()=>{er[er.length]={token:{token:A.A.getEmptyToken(),balance:{raw:new L.A(0),format:""},exchangeRate:new L.A(0)},amount:{raw:new L.A(0),format:""}},ed([...er])},children:"+ Add Token"})]}),(0,o.jsx)("div",{className:"flex-row justify-between",children:(0,o.jsx)("div",{className:"flex-row center gap-4",children:"Select Your Squeeze Level"})}),(0,o.jsxs)("div",{className:"flex-col gap-8",children:[(0,o.jsx)("input",{type:"range",required:!0,value:ez,min:4,max:50,onChange:e=>eW(e.target.value),className:l.isBtc?X().accentYellowColor:X().accentBlueColor}),(0,o.jsxs)("div",{className:"flex-row justify-between",children:[(0,o.jsx)("div",{className:"bold",children:"Low Squeeze"}),(0,o.jsx)("div",{className:H()("bold",l.isBtc?X().yellowText:X().blueText),children:"High Squeeze"})]})]})]}),(0,o.jsxs)(d.A,{header:"Your Curve ".concat(l.name," Squeeze Bot"),children:[(0,o.jsxs)("div",{className:X().squeezeLevel,children:[(0,o.jsx)("p",{className:H()(X().squeezeLevelLabel,l.isBtc?X().yellowClipText:void 0),children:"Squeeze Level"}),(0,o.jsxs)("div",{className:"flex-row gap-4",children:[(0,o.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"9",height:"16",viewBox:"0 0 9 16",fill:"none",children:[(0,o.jsx)("path",{d:"M8.02972 5.7319C7.81593 4.1861 6.56614 2.98564 5.05323 2.75541L5.15189 1.29183L6.81281 1.06161C6.89503 1.04516 6.96081 0.962938 6.94437 0.880714L6.86214 0.321594C6.8457 0.239371 6.76347 0.173592 6.68125 0.190037L4.675 0.469597C4.46122 0.502486 4.29677 0.666933 4.29677 0.880714L4.16521 2.75541C2.60297 2.9363 1.30383 4.15321 1.07361 5.74835V5.76479H8.04616L8.02972 5.7319Z",fill:"#EF9237"}),(0,o.jsx)("path",{d:"M8.6053 6.53711H0.481621C0.26784 6.53711 0.103394 6.70156 0.103394 6.91534V8.00069C0.103394 8.21447 0.26784 8.37892 0.481621 8.37892H1.27097L1.68208 15.2035C1.71497 15.5488 1.99453 15.8119 2.33987 15.8119H6.7635C7.10883 15.8119 7.38839 15.5488 7.42128 15.2035L7.8324 8.37892H8.62175C8.83553 8.37892 8.99998 8.21447 8.99998 8.00069V6.91534C8.98353 6.70156 8.81908 6.53711 8.6053 6.53711Z",fill:"#EF9237"})]}),(0,o.jsxs)("p",{className:H()(X().squeezeLevelLabel,X().squeezeLevelValue,l.isBtc?X().yellowClipText:void 0),children:[Number(eH)>=0?Math.ceil(Number(eH)):eH,"X SQUEEZE"]})]})]}),(0,o.jsx)(_.A,{items:e8}),(0,o.jsx)(_.A,{items:e7,title:"Advance Details",isDroppedDown:!0}),(0,o.jsx)(q.A,{contractAddress:null==(t=p.tb[n.network])?void 0:t.leverage_curve_curve,tokens:er.map(e=>({token:e.token.token,amount:e.amount})),showOnlyTotal:!0,bot:"Squeeze Bot",className:X().feesView}),(0,o.jsx)(F,{chainId:n?n.network:null,targetChain:ei,botChain:O,full:!0,onClickStartBot:()=>e4(),isValidTokenAmount:e6,isAmountInputLoading:ex,isTxLoading:ev,outputAmount:e_,health:eC,deleveragePercent:eS,bandsNumber:ez,durationType:eL,botDuration:eR,leverage:eH,leverageZap:eP,callbackArgs:eM,tradeInterval:"30",isBtc:l.isBtc,depositTokens:er,borrowRate:eT,className:X().swapButton,buttonText:s.Uq[s.vi.CURVE_SQUEEZE_ETH].buttonText})]})]}),eF&&(0,o.jsxs)("div",{children:[(0,o.jsx)(k.A,{botToken:eF}),(0,o.jsx)(h.A,{botToken:eF})]}),(0,o.jsx)(u.A,{show:ev,onClose:()=>eh(!1),title:eb,text:ej,txHash:ew,isProcessing:ey,blockExplorer:(0,B.ND)(null==ei?void 0:ei.chainId)}),(0,o.jsx)(c.A,{show:ek,onClose:()=>e$()})]})})};function O(){let{id:e}=(0,n.useRouter)().query;if(!e)return;let t=i.BB[e]||Object.values(i.BB).find(t=>t.symbol===e);if(!t)return;let l=Object.keys(i.BB).find(t=>i.BB[t].symbol===e);return(0,o.jsx)(r.A,{isHide:s.Uq[s.vi["CURVE_SQUEEZE_".concat(l)]].hide,children:(0,o.jsx)(Y,{botType:t})})}},53711:(e,t,l)=>{"use strict";l.d(t,{A:()=>c});var o=l(37876),a=l(50660),n=l(15039),s=l.n(n),i=l(14232),r=l(20271),d=l(44960),u=l.n(d);let c=e=>{let{items:t,title:l,isDroppedDown:n=!1,bgColor:d="black",className:c,children:_}=e,[m,x]=(0,i.useState)(!1);return(0,o.jsxs)("section",{className:s()(u().container,c,"white"===d?u().white:u().black),children:[(l||n)&&(0,o.jsxs)(o.Fragment,{children:[(0,o.jsxs)("div",{className:"flex-row justify-between cursor",onClick:()=>n&&x(!m),children:[(0,o.jsx)("p",{children:l}),n&&(0,o.jsx)("img",{src:"/assets/images/".concat(m?"Up":"Below",".svg")})]}),(!n||m)&&(0,o.jsx)(r.A,{className:"white"===d?u().dividerWhite:u().divider})]}),(!n||m)&&t.map((e,t)=>(0,o.jsxs)("div",{className:u().row,children:[(0,o.jsx)("p",{children:e.label}),(0,o.jsx)("div",{className:u().value,children:Array.isArray(e.values)?e.values.map((e,t)=>(0,o.jsx)("p",{style:{color:e.color},children:e.value}
1,t)):e.onChange?(0,o.jsx)(a.A,{valueType:"%",value:e.values,minValue:1,maxValue:100,onInputValue:t=>e.onChange(t),className:u().input}):(0,o.jsxs)("div",{className:"flex-row gap-4",children:[e.valueIcon&&(0,o.jsx)("img",{src:e.valueIcon}),e.values]})})]},t)),_]})}},60347:(e,t,l)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/curve-squeeze/[id]",function(){return l(50594)}])}},e=>{var t=t=>e(e.s=t);e.O(0,[5763,9088,1579,6717,2458,1922,691,3366,197,5999,4216,7121,636,6593,8792],()=>t(60347)),_N_E=e.O()}]);

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.