PageSourceSearch

https://cache.exmo.com/202917/_next/static/chunks/pages/wallet/Analytics-6738f929919a501b.js

js exmo.com collected 2026-10-02 03:14:04 UTC 41,383 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8714],{21693:function(e,n){"use strict";n.Z={controls:"controlsLayout___gjNU6",contentWrap:"contentWrapLayout___OdqPJ",separatingLine:"separatingLineLayout___vb86V"}},25295:function(e,n){"use strict";n.Z={menu:"menuindex___GqhMN",menuItem:"menuItemindex___tpwBz",me:"meindex___tYvTh",menuItemActive:"menuItemActiveindex___e4Fzl",com:"comindex___Tgjkq"}},2253:function(e,n,l){(window.__NEXT_P=window.__NEXT_P||[]).push(["/wallet/Analytics",function(){return l(95040)}])},52973:function(e,n,l){"use strict";l.d(n,{P:function(){return s}});var t=l(85893);l(67294);var i=l(94184),a=l.n(i),r=l(61872),c=l(66861),o={root:"rootEmptyResult___IBWUI",message:"messageEmptyResult___mwPAW",me:"meEmptyResult___tNu_Z"};let s=e=>{let{message:n=(0,t.jsx)(r.Trans,{namespaces:[r.LOCALIZATION_NAMESPACES.blockContents],children:"No records found"}),rootClassName:l="",messageClassName:i="",imgNoResult:s=null}=e,d=(0,c.YZ)(),u=d===c.E6.me?"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNjAiIGhlaWdodD0iNjAiIHZpZXdCb3g9IjAgMCA2MCA2MCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICA8cGF0aCBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGNsaXAtcnVsZT0iZXZlbm9kZCIgZD0iTTYgM0gyOC4yNzUzVjE0LjA0NjZDMjguMjc1MyAxOC4xODg3IDMxLjYzMzEgMjEuNTQ2NiAzNS43NzUzIDIxLjU0NjZINDdWMjguNDk2NkM0OC4wNjU3IDI4LjgwNjggNDkuMDcyNiAyOS4yNTUxIDUwIDI5LjgyMDhWMjAuMDQ2N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cmVjdCB3aWR0aD0iNjAiIGhlaWdodD0iNjAiIGZpbGw9IndoaXRlIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgwLjUpIi8+CiAgICA8L2NsaXBQYXRoPgogIDwvZGVmcz4KPC9zdmc+Cg==";return(0,t.jsxs)("div",{className:a()("rootEmptyResult___IBWUI",o[d],l),children:[s||(0,t.jsx)("img",{src:u,alt:"No records",width:60,height:60}),(0,t.jsx)("div",{className:a()("messageEmptyResult___mwPAW",o[d],i),children:n})]})}},2871:function(e,n,l){"use strict";l.d(n,{j:function(){return _}});var t=l(85893),i=l(67294),a=l(45697),r=l.n(a),c=l(94184),o=l.n(c),s=l(31004),d=l(52973),u={table:"tableTableRegular___mAsnD",rowHead:"rowHeadTableRegular___feL2x",cell:"cellTableRegular___yLHdv",rowBody:"rowBodyTableRegular___DXjAk"};let _=e=>{let{isPending:n,columnsLayout:l,head:a,body:r,emptyResultMessage:c,classNameHeadRow:_,classNameHeadCell:N,classNameBodyRow:M,classNameBodyCell:j,ComponentRowBody:C,TableEmptyElement:m}=e,x=r.length>=1,p=!n&&"function"==typeof C,g=o()(u.rowBody,M),D=(0,i.useCallback)(e=>o()((0,s.f)(e),u.cell,j),[j]),I=m||(0,t.jsx)(d.P,{message:c});return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("table",{className:u.table,children:[a?(0,t.jsx)("thead",{children:(0,t.jsx)("tr",{className:o()(u.rowHead,_),children:l.map((e,n)=>{let l=a[n],i=o()((0,s.f)(e),u.cell,N);return(0,t.jsx)("th",{className:i,children:l||" "},n)})})}):null,x?(0,t.jsx)("tbody",{children:p?r.map((e,n)=>(0,t.jsx)(C,{rowData:e,rowIndex:n,classNameRow:g,getCellClassName:D},n)):r.map((e,n)=>(0,t.jsx)("tr",{className:g,children:l.map((n,l)=>{let i=e[l],a=D(n);return(0,t.jsx)("td",{className:a,children:i||" "},l)})},n))}):null]}),x?null:I]})};_.propTypes={isPending:r().bool,columnsLayout:r().arrayOf(r().number),head:r().arrayOf(r().node,r().string),body:r().arrayOf(r().arrayOf(r().node,r().string)),emptyResultMessage:r().oneOfType([r().node,r().string]),TableEmptyElement:r().node,ComponentRowBody:r().oneOfType([r().func,r().string]),classNameHeadRow:r().string,classNameHeadCell:r().string,classNameBodyRow:r().string,classNameBodyCell:r().string},_.defaultProps={isPending:!1,columnsLayout:void 0,head:void 0,body:void 0,emptyResultMessage:void 0,TableEmptyElement:void 0,ComponentRowBody:void 0,classNameHeadRow:void 0,classNameHeadCell:void 0,classNameBodyRow:void 0,classNameBodyCell:void 0}},20788:function(e,n,l){"use strict";l.d(n,{IO:function(){return r},PK:function(){return j.P},uy:function(){return M},jF:function(){return t.j},ZZ:function(){return _}});var t=l(2871),i=l(45697),a=l.n(i);let r={rowIndex:a().number,rowData:a().node};var c=l(85893),o=l(67294),s=l(61872),d=l(63527),u=l(66037);function _(e){let{rowsCount:n=5,columnsLayout:l,columnsLayoutPending:t=[],tableBodyItems:i,isPending:a,isPendingShowMore:r=!1}=e,s=(0,o.useMemo)(()=>(function(e){let{rowsCount:n,columnsLayout:l,columnsLayoutPending:t=[]}=e,i=Array.from({length:n});return i.map(()=>l.map((e,n)=>{let l=t[n];return(0,c.jsx)(u.O,{width:l})}))})({rowsCount:n,columnsLayout:l,columnsLayoutPending:t}),[n]),d=a?r?[...i,...s]:s:i;return d}var N={paginationShowMore:"paginationShowMoreTablePaginated___oGNPi"};let M=e=>{let{columnsLayout:n,columnsLayoutPending:l,classNameHeadRow:i,classNameHeadCell:a,classNameBodyRow:r,classNameBodyCell:o,itemsAtPage:u=5,isPending:M,isPendingShowMore:j,head:C,body:m,emptyResultMessage:x,pagination:p,ComponentRowBody:g}=e,D=p.pageCount>1?u:5,I=_({rowsCount:D,columnsLayout:n,columnsLayoutPending:l,tableBodyItems:m,isPending:M,isPendingShowMore:j});return(0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)(t.j,{columnsLayout:n,head:C,body:I,classNameHeadRow:i,classNameHeadCell:a,classNameBodyRow:r,classNameBodyCell:o,emptyResultMessage:x,ComponentRowBody:M?void 0:g}),p.isVisiblePagination?(0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)("div",{className:N.paginationShowMore,children:p.isVisibleShowMore?(0,c.jsx)(d.m2,{disabled:M,onClick:p.onShowMore,children:(0,c.jsx)(s.Trans,{namespaces:[s.LOCALIZATION_NAMESPACES.blockContents],children:"pagination_show_more"})}):null}),(0,c.jsx)(d.pO,{isDisabled:M,model:p.model,onPageSelect:p.onPageSelect,isPageCurrentClickable:p.isPageCurrentClickable})]}):null]})};M.propTypes={columnsLayout:t.j.propTypes.columnsLayout,columnsLayoutPending:a().arrayOf(a().number),head:t.j.propTypes.head,body:t.j.propTypes.body,classNameHeadRow:t.j.propTypes.classNameHeadRow,classNameHeadCell:t.j.propTypes.classNameHeadCell,classNameBodyRow:t.j.propTypes.classNameBodyRow,classNameBodyCell:t.
1j.propTypes.classNameBodyCell,itemsAtPage:a().number,pagination:a().shape(d.ru),isPending:a().bool,isPendingShowMore:a().bool,emptyResultMessage:a().oneOfType([a().node,a().string]),ComponentRowBody:a().oneOfType([a().func,a().string])},M.defaultProps={columnsLayout:void 0,columnsLayoutPending:void 0,head:void 0,body:void 0,classNameHeadRow:void 0,classNameHeadCell:void 0,classNameBodyRow:void 0,classNameBodyCell:void 0,itemsAtPage:void 0,pagination:void 0,isPending:void 0,isPendingShowMore:void 0,emptyResultMessage:void 0,ComponentRowBody:void 0};var j=l(52973)},66037:function(e,n,l){"use strict";l.d(n,{O:function(){return u},i:function(){return s}});var t=l(85893),i=l(67294),a=l(45697),r=l.n(a),c=l(94184),o=l.n(c),s={root:"rootSkeleton___jai4U",content:"contentSkeleton___mvwID",icon:"iconSkeleton___oNmiO"};function d(e){return"string"==typeof e?e:"".concat(e,"%")}let u=e=>{let{children:n,className:l,width:a,height:r}=e,c=(0,i.useMemo)(()=>o()(s.root,l),[l]),u=(0,i.useMemo)(()=>({width:d(a),height:d(r)}),[a,r]);return(0,t.jsx)("span",{className:c,style:u,children:(0,t.jsx)("span",{className:s.content,children:n})})};u.defaultProps={children:"...",width:50,height:void 0,className:void 0},u.propTypes={children:r().node,className:r().string,width:r().number,height:r().number}},83811:function(e,n,l){"use strict";l.d(n,{p:function(){return o}});var t=l(85893);l(67294);var i=l(94184),a=l.n(i),r=l(66861),c={buttonTab:"buttonTabindex___e_m_o",buttonTabActive:"buttonTabActiveindex___xl2TW",com:"comindex___jhnTz"};let o=e=>{let{onClick:n,isActive:l,children:i}=e,o=(0,r.YZ)();return(0,t.jsx)("div",{onClick:n,className:a()("buttonTabindex___e_m_o",{buttonTabActiveindex___xl2TW:l},c[o]),children:i})}},7447:function(e,n,l){"use strict";l.d(n,{A:function(){return u}});var t=l(85893);l(67294);var i=l(45697),a=l.n(i),r=l(61872),c=l(73197),o=l(99374),s=l(66861),d={currency:"currencyindex___xY0N2",ticker:"tickerindex___OoCx9",currencyName:"currencyNameindex___FgV5P",me:"meindex___Trvgh"};let u=e=>{let{name:n,description:l="",width:i,icon:a}=e,u=(0,s.YZ)();return(0,t.jsxs)(o.b,{width:i,className:d[u],children:[(0,t.jsx)(c.A,{name:a,width:34,keepEmpty:!0}),(0,t.jsxs)("div",{className:"currencyindex___xY0N2",children:[(0,t.jsx)("div",{className:"tickerindex___OoCx9",children:n}),(0,t.jsx)("div",{className:"currencyNameindex___FgV5P",children:(0,t.jsx)(r.Trans,{children:l})})]})]})};u.propTypes={name:a().string.isRequired,width:a().number.isRequired,icon:a().string.isRequired,description:a().string},u.defaultProps={description:""}},17421:function(e,n,l){"use strict";l.d(n,{Z:function(){return _}});var t=l(85893);l(67294);var i=l(94184),a=l.n(i),r=l(45697),c=l.n(r),o=l(91730),s=l(64832),d=l(42684);let u=e=>{let{className:n="",isInteractive:l=!0,children:i,...r}=e,c=a()("tableRowindex___VVo1_",n),u=l?d.gN.regular:d.gN.notInteractive;return(0,t.jsx)(d.X2,{className:c,textSize:s.JB.m,textColor:o.r$.regular,preset:u,...r,children:i})};u.propTypes={isInteractive:c().bool},u.defaultProps={isInteractive:void 0};var _=u},85655:function(e,n,l){"use strict";l.d(n,{bL:function(){return t.bL},X2:function(){return i.Z},yD:function(){return u},ZP:function(){return _}});var t=l(42684),i=l(17421),a=l(85893);l(67294);var r=l(94184),c=l.n(r),o=l(91730),s=l(64832),d=l(31680),u=e=>{let{children:n,...l}=e,{className:t,...i}=l,r=c()("rowHeaderindex____8z5u",t);return(0,a.jsx)(d.y,{isHeightAuto:!1,className:r,textColor:o.r$.gray,textSize:s.JB.f13,...i,children:n})},_=t.ZP},97567:function(e,n,l){"use strict";l.d(n,{N:function(){return i}});var t=l(79839);let i=e=>(0,t.Ry)("wallet_analytic",e)},16021:function(e,n,l){"use strict";l.d(n,{N:function(){return i}});var t=l(79839);let i=e=>(0,t.Ry)("wallet_balance",e)},46073:function(e,n,l){"use strict";l.d(n,{N:function(){return i}});var t=l(79839);let i=e=>(0,t.Ry)("wallet_template",e)},99409:function(e,n,l){"use strict";l.d(n,{N:function(){return i}});var t=l(79839);let i=e=>(0,t.Ry)("wallet_transaction",e)},91325:function(e,n,l){"use strict";l.d(n,{Z:function(){return j}});var t=l(85893),i=l(67294),a=l(94184),r=l.n(a),c=l(45697),o=l.n(c),s=l(65164),d=l(30920),u=l(77821),_=l(66861),N={hintIcon:"hintIconindex___mUcmb",hintIconHovered:"hintIconHoveredindex___LwrBt",popupContainer:"popupContainerindex___pUXXi",popup:"popupindex___bF6KY",com:"comindex___F2n02",closeIcon:"closeIconindex___pNF2J"};let M=e=>{let{content:n}=e,[l,a]=(0,i.useState)(!1),c=(0,i.useCallback)(()=>l?null:a(!0),[l]),o=(0,i.useCallback)(()=>a(!1),[]),M=(0,_.YZ)();return(0,t.jsxs)("div",{onMouseEnter:c,onMouseLeave:o,onClick:c,children:[(0,t.jsx)(u.ZP,{color:null,cursorPointer:!0,name:u.UZ.question2,className:r()(N.hintIcon,{[N.hintIconHovered]:l})}),l?(0,t.jsx)("div",{className:N.popupContainer,children:(0,t.jsxs)(d.ZP,{shaddow:d.kO.regular,className:r()(N.popup,N[[M]]),children:[(0,s.nI)()?null:(0,t.jsx)(u.ZP,{name:u.UZ.close,pointerHover:!0,onClick:o,className:N.closeIcon}),n]})}):null]})};M.propTypes={content:o().node.isRequired,className:o().string},M.defaultProps={className:""};var j=M},37662:function(e,n,l){"use strict";var t=l(85893);l(67294);var i=l(94184),a=l.n(i),r=l(30920),c=l(21693);let o=e=>{let{children:n,className:l,...i}=e,o=a()(c.Z.controls,l);return(0,t.jsx)(r.ZP,{...i,className:o,children:n})};o.propTypes={...r.DF},o.defaultProps={justifyContent:r.XQ.end},n.Z=o},30957:function(e,n,l){"use strict";l.d(n,{Z:function(){return P}});var t=l(85893),i=l(67294),a=l(94184),r=l.n(a),c=l(45697),o=l.n(c),s=l(74555),d=l(61872),u=l(73965),_=l(76369),N=l(30064),M=l(79394),j=l(30920),C=l(96831),m=l(11765),x=l(4892),p=l(17894);let g=(e,n)=>{let l=n?parseInt(n):void 0,t=(0,x.BF)((0,m.Y4)(e,{decimalMax:l,round:!1}));return t};async function D(e){let{decimalBtcLength:n,decimalUsdLength:l}=e,{total:t={}}=await (0,C.EG)(),i=g(t.btc,n),a=g(t.usdEquivalent,l),r="USD ".concat(a," / ~ BTC ").concat(i);return r}let I=()=>{let e=(0,s.v9)(e=>({decimalBtcLength:(0,p.pv)(e).getIn(["BTC","decimal_length"]),decimalUsdLength:(0,p.pv)(e).getIn(["USD","decimal_length"])}),s.wU),[n,l]=(0,i.useState)("");return(0,i.useEffect)(()=>{D(e).then(l)},[]),{totalBalance:n}};var A=()=>{let{totalBalance:e}=I();return(0,t.jsxs)(j.ZP,{flexDirectionColumn:!0,display:M.bA.flex,children:[(0,t.jsx)("span",{className:"estimateBalanceWidget___VqUtu",children:(0,t.jsx)(N.ZP,{color:M.r$.light,className:"labelBalanceWidget___yTHeb",weight:N.kx.bold,children:(0,t.jsx)(d.Trans,{children:"Estimated Value"})})}),(0,t.jsx)("span",{className:"balanceBalanceWidget___U4xTj",children:e})]})}
1,h=l(3115),z=l(2910),y=l(49065),T=l(21693);let L=e=>{let{children:n,...l}=e,{title:i,classNameContentWrap:a,...c}=l,o=(0,s.v9)(e=>e.getIn(["User","authorized"])),N=o?(0,t.jsx)(d.Trans,{children:"Wallet"}):i;return(0,t.jsx)(y.t,{children:(0,t.jsxs)(_.ZP,{...c,viewType:u.sB.desktop,classNameContentWrap:r()(T.Z.contentWrap,a),initialScale:.1,autoUpdateMetaContent:!0,children:[(0,t.jsx)(_.lA,{title:N,children:o?(0,t.jsx)(A,{}):null}),o?(0,t.jsx)(h.o,{walletType:z.tO}):null,(0,t.jsx)("div",{className:T.Z.separatingLine}),n]})})};L.propTypes={..._.Dl,title:o().object},L.defaultProps=_.ef;var P=L},69070:function(e,n,l){"use strict";l.d(n,{KW:function(){return a.NE},ad:function(){return i.Z},g:function(){return t.Z}});var t=l(30957),i=l(37662),a=l(76369)},98536:function(e,n,l){"use strict";l.d(n,{G:function(){return s}});var t=l(85893);l(67294);var i=l(94184),a=l.n(i),r=l(4096),c=l(66861),o=l(25295);let s=e=>{let{className:n,...l}=e,i=(0,c.YZ)();return(0,t.jsx)(r.sN,{...l,className:a()(o.Z.menuItem,n,o.Z[i]),classNameActive:o.Z.menuItemActive})};s.defaultProps={className:""}},2910:function(e,n,l){"use strict";l.d(n,{UJ:function(){return N},Vr:function(){return _},XW:function(){return M},ps:function(){return j},tO:function(){return d},vp:function(){return u}});var t=l(85893);l(67294);var i=l(61872),a=l(46073),r=l(16021),c=l(99409),o=l(97567),s=l(78558);let d=1,u=2,_=3,N={balance:{label:(0,t.jsx)(i.Trans,{children:"Balance_wallet"}),target:"/".concat(s.WALLET_CATEGORY),onClickHandler:()=>{(0,r.N)("click_tab_balance_in_wallet")}},transactions:{label:(0,t.jsx)(i.Trans,{children:"Transactions"}),target:"/".concat(s.WALLET_CATEGORY,"/transactions"),onClickHandler:()=>{(0,c.N)("click_tab_transaction_in_wallet")}},templates:{label:(0,t.jsx)(i.Trans,{children:"Templates"}),target:"/".concat(s.WALLET_CATEGORY,"/templates"),onClickHandler:()=>{(0,a.N)("click_tab_templates_in_wallet")}},analytics:{label:(0,t.jsx)(i.Trans,{children:"Analytics"}),target:"/".concat(s.WALLET_CATEGORY,"/analytics"),onClickHandler:()=>{(0,o.N)("click_tab_analytic_in_wallet")}}},M={balance:{label:(0,t.jsx)(i.Trans,{children:"Balance"}),target:"/".concat(s.WALLET_MARGIN_CATEGORY)},history:{label:(0,t.jsx)(i.Trans,{children:"Wallet history"}),target:"/".concat(s.WALLET_MARGIN_CATEGORY,"/history")},position:{label:(0,t.jsx)(i.Trans,{children:"Positions"}),target:"/".concat(s.WALLET_MARGIN_CATEGORY,"/positions")}},j={balance:{label:(0,t.jsx)(i.Trans,{children:"Balance"}),target:"/".concat(s.MARGIN_CATEGORY,"/wallet")},history:{label:(0,t.jsx)(i.Trans,{children:"Wallet History"}),target:"/".concat(s.MARGIN_CATEGORY,"/wallet/history")}}},3115:function(e,n,l){"use strict";l.d(n,{o:function(){return u}});var t=l(85893),i=l(67294),a=l(4096),r=l(98536),c=l(25295),o=l(16343),s=l(2910);let d=e=>{let n=(0,o.S)(),l=e===s.tO?s.UJ:e===s.vp?s.ps:e===s.Vr?s.XW:[],t=(0,i.useMemo)(()=>Object.values(l).map(e=>{let{target:l,...t}=e;return{...t,target:"string"==typeof l?"".concat(n).concat(l):l}}),[n,l]);return t},u=e=>{let{isTabsHidden:n,walletType:l}=e,i=d(l);return(0,t.jsx)(a.ZP,{className:c.Z.menu,isHorisontal:!0,itemComponent:r.G,items:n?[]:i})};u.defaultProps={isTabsHidden:!1}},33141:function(e,n,l){"use strict";l.d(n,{Xc:function(){return C},Ce:function(){return A},RY:function(){return g},uR:function(){return j},x:function(){return m},Y_:function(){return D},K3:function(){return p},a4:function(){return I},Xu:function(){return x}});var t=l(20640),i=l(39244),a=l(35451),r=l(27361),c=l.n(r);let o=function(e){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return c()((n||[]).find(n=>{let{name:l}=n;return l===e}),"description")},s=function(e){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return Number(c()((n||[]).find(n=>{let{name:l}=n;return l===e}),"decimal_length"))},d=function(e){let{items:n,providers:l}=e,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return n.map(e=>{let{id:n,name:i,key:a,cname:r,pr_enabled:s,provider:d}=e;return{id:n,currencyTicker:r,currencyName:o(r,t),templateName:i,walletNumber:a,paymentSystemLogoUrl:"/ctrl/providerImage?id=".concat(c()((l[r]||[]).find(e=>{let{name:n}=e;return n===d}),"id")),disableWithdraw:!Number(s)}})},u=e=>{let{forms:n}=e;return n},_=function(e){let{items:n,total:{closed_amount:l,closed_timestamp:t,deposit_amount:i,deposit_trade_amount:a,opened_amount:r,opened_timestamp:c,pnl_percent:d,pnl_value:u,withdraw_amount:_,withdraw_trade_amount:N}}=e,M=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return{items:n.map(e=>{let{amount:n,closed_amount:l,closed_price:t,currency_name:i,deposit_amount:a,deposit_trade_amount:r,opened_amount:c,opened_price:d,pnl_percent:u,pnl_value:_,withdraw_amount:N,withdraw_trade_amount:j}=e;return{amount:n,closedAmount:l,closedPrice:t,currencyName:i,depositAmount:a,depositTradeAmount:r,openedAmount:c,openedPrice:d,pnlPercent:u,pnlValue:_,withdrawAmount:N,withdrawTradeAmount:j,currencyDescription:o(i,M),currencyDecimalLength:s(i,M)}}),total:{closedAmount:l,closedTimestamp:t,depositAmount:i,depositTradeAmount:a,openedAmount:r,openedTimestamp:c,pnlPercent:d,pnlValue:u,withdrawAmount:_,withdrawTradeAmount:N}}},N=function(e){let{items:n,total:{current_amount:l,deposit_amount:t,deposit_trade_amount:i,pnl_percent:a,pnl_value:r,withdraw_amount:c,withdraw_trade_amount:d}}=e,u=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return{items:n.map(e=>{let{amount:n,currency_name:l,current_amount:t,current_price:i,deposit_amount:a,deposit_trade_amount:r,pnl_percent:c,pnl_value:d,withdraw_amount:_,withdraw_trade_amount:N}=e;return{amount:n,currencyName:l,currentAmount:t,currentPrice:i,depositAmount:a,depositTradeAmount:r,pnlPercent:c,pnlValue:d,withdrawAmount:_,withdrawTradeAmount:N,currencyDescription:o(l,u),currencyDecimalLength:s(l,u)}}),total:{currentAmount:l,depositAmount:t,depositTradeAmount:i,pnlPercent:a,pnlValue:r,withdrawAmount:c,withdrawTradeAmount:d}}},M=function(e){let{items:n,total:{acquisition_amount:l,current_amount:t,pnl_percent:i,pnl_value:a}}=e,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return{items:n.map(e=>{let{amount:n,acquisition_amount:l,acquisition_price:t,currency_name:i,current_amount:a,current_price:c,pnl_percent:d,pnl_value:u}=e;return{amount:n,acquisitionAmount:l,acquisitionPrice:t,currencyName:i,currentAmount:a,currentPrice:c,pnlPercent:d,pnlValue:u,currencyDescription:o(i,r),currencyDecimalLength:s(i,r)}}),total:{acquisitionAmount:l,currentAmount:t,pnlPercent:i,pnlValue:a}}},j=async()=>Promise.all([(0,t.a8)("wallet_address_book",{method:"post",body:{action:"init"}}),(0,i.Y)()]).then(e=>{let[n,l]=e;return d(n,l)}),C=e=>(0,t.a8)("wallet_address_book",{method:"post",body:{id:e,action:"del"}}),m=async()=>(0,t.a8)("wallet_address_book",{method:"post",body:{action:"init"}}).then(e=>u(e)),x=async function(e,n,l,i,r){let c=arguments.length>5&&void 0!==arguments[5]?arguments[5]:null;return(0,t.a8)("wallet_address_book",{method:"post",body:{name:e,curr:n,provider:l,ke
1y:i,fields:r,id:c,action:"save"}}).then(e=>{let{items:n,cancel:l}=e;return l?{cancel:l,items:[]}:{items:(0,a.zN)(n)}})},p=()=>Promise.all([(0,t.a8)("walletAnalytics/unrealizedPnlWeek",{method:"post"}),(0,i.Y)()]).then(e=>{let[n,l]=e;return _(n,l)}),g=()=>Promise.all([(0,t.a8)("walletAnalytics/pnlAllTime",{method:"post"}),(0,i.Y)()]).then(e=>{let[n,l]=e;return N(n,l)}),D=()=>Promise.all([(0,t.a8)("walletAnalytics/unrealizedPnlAll",{method:"post"}),(0,i.Y)()]).then(e=>{let[n,l]=e;return M(n,l)}),I=async e=>(0,t.a8)("withdrawInfo",{method:"post",body:{id:e}}),A=()=>{let e="127.0.0.1",n={"x-real-ip":e,"x-forwarded-for":e};return(0,t.DE)("generalSettings/currency",300,()=>(0,i.Y)({headers:n}))}},95040:function(e,n,l){"use strict";l.r(n),l.d(n,{default:function(){return eN}});var t=l(85893),i=l(67294),a=l(30957),r=l(69070),c=l(74555),o=l(61872),s=l(79394),d=l(30920),u=l(54836),_=l(17894),N=(l(83811),l(91325)),M=l(33141),j=l(914);let C={all:"all",week:"week"};var m=l(97567);let x={data:{items:[],total:{}},dataMode:null,mode:C.week,error:null},p=()=>{let[{data:e,dataMode:n,mode:l,error:t},a]=(0,j.U)(x),r=(e,n)=>e.then(e=>a({dataMode:n,data:e}),e=>a({error:e})),o=(0,c.v9)(_.Hs);return(0,i.useEffect)(()=>{l===C.all?r((0,M.RY)(),C.all):l===C.week&&r((0,M.K3)(),C.week)},[o,l]),{data:e,dataMode:n,error:t,mode:l,loadWeek:(0,i.useCallback)(()=>{a({mode:C.week}),(0,m.N)("click_last_week")},[]),loadAll:(0,i.useCallback)(()=>{a({mode:C.all}),(0,m.N)("click_last_all_time")},[]),clearError:(0,i.useCallback)(()=>{a({error:null})},[])}},g={data:{items:[],total:{}},error:null},D=()=>{let[{data:e,mode:n,error:l},t]=(0,j.U)(g),a=e=>e.then(e=>t({data:e}),e=>t({error:e})),r=(0,c.v9)(_.Hs);return(0,i.useEffect)(()=>{a((0,M.Y_)())},[r]),{data:e,error:l,mode:n,clearError:(0,i.useCallback)(()=>{t({error:null})},[])}};var I=l(94184),A=l.n(I),h=l(22447),z=l(85655),y=l(30064),T=l(11765),L=l(4892);let P=function(e){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:2;return(0,T.Y4)(e,{decimalMax:n,round:!1,nonZero:!0})},w=e=>0===Number(e),O=e=>"+".concat(e),H=e=>"-"===e[0],b=(e,n)=>e[n]||e[h.LANGS_CODE.en],E=e=>"".concat(e,"%"),S=e=>""===e||H(e)||w(e)?e:O((0,L.BF)(e)),v=e=>H(e)?s.r$.danger:w(e)?void 0:s.r$.success,k=e=>e?(0,L.BF)(P(e)):"-";var f=l(7447),U=l(45697),V=l.n(U),Z=l(70522),Q=l.n(Z);let G=e=>{let{value:n,transformResult:l}=e;return(0,t.jsx)("div",{children:(0,t.jsx)(y.ZP,{textColor:v(n),display:s.bA.inline,children:l(S(n))})})};G.propTypes={value:V().string,transformResult:V().func},G.defaultProps={value:"",transformResult:Q()};var R=l(20788),Y=l(66861),B={acquisitionPriceCellHead:"acquisitionPriceCellHeadindex___g2NNZ",acquisitionPriceCellHeadRo:"acquisitionPriceCellHeadRoindex___fXeMO",acquisitionPriceCellHeadUk:"acquisitionPriceCellHeadUkindex___zJc72",acquisitionPriceCellHeadRu:"acquisitionPriceCellHeadRuindex___qRVA6",acquisitionPriceCellHeadEs:"acquisitionPriceCellHeadEsindex___JI4Ds",acquisitionPriceCellHeadFr:"acquisitionPriceCellHeadFrindex___POAfP",acquisitionPriceCellHeadIt:"acquisitionPriceCellHeadItindex___E33uN",acquisitionPriceCellHeadTr:"acquisitionPriceCellHeadTrindex___anNTh",acquisitionVolumeCellHead:"acquisitionVolumeCellHeadindex___Nx3WJ",acquisitionVolumeCellHeadRu:"acquisitionVolumeCellHeadRuindex___Wilj2",acquisitionVolumeCellHeadDe:"acquisitionVolumeCellHeadDeindex___V2ZMW",acquisitionVolumeCellHeadUk:"acquisitionVolumeCellHeadUkindex___zg8tA",currentPriceCellHead:"currentPriceCellHeadindex___pj1Ba",currentPriceCellHeadPt:"currentPriceCellHeadPtindex___end43",currentPriceCellHeadTr:"currentPriceCellHeadTrindex___V9M5r",currentPriceCellHeadRu:"currentPriceCellHeadRuindex___jMzN2",currentPriceCellHeadEs:"currentPriceCellHeadEsindex___dxgI8",currentPriceCellHeadIt:"currentPriceCellHeadItindex___ZvGfK",currentPriceCellHeadZh:"currentPriceCellHeadZhindex___QiBU4",currentVolumeCellHead:"currentVolumeCellHeadindex___AA5fX",currentVolumeCellHeadRu:"currentVolumeCellHeadRuindex___mBp2z",currentVolumeCellHeadEs:"currentVolumeCellHeadEsindex___JDn8P",currentVolumeCellHeadFr:"currentVolumeCellHeadFrindex___QqKvg",currentVolumeCellHeadIt:"currentVolumeCellHeadItindex___GJSZp",currentVolumeCellHeadRo:"currentVolumeCellHeadRoindex___LqML7",currentVolumeCellHeadZh:"currentVolumeCellHeadZhindex___SobLR",currentVolumeCellHeadUk:"currentVolumeCellHeadUkindex___FOBfs",currentVolumeCellHeadPl:"currentVolumeCellHeadPlindex___tgFir",pnlValueCellHead:"pnlValueCellHeadindex___B95jk",pnlValueCellHeadDe:"pnlValueCellHeadDeindex___ACw7h",pnlValueCellHeadRu:"pnlValueCellHeadRuindex___fQeVs",pnlValueCellHeadUk:"pnlValueCellHeadUkindex___tZPhB",pnlValueCellHeadFr:"pnlValueCellHeadFrindex___nrcYs",pnlValueCellHeadIt:"pnlValueCellHeadItindex___nfvIm",pnlValueCellHeadPt:"pnlValueCellHeadPtindex___xcK3t",pnlValueCellHeadRo:"pnlValueCellHeadRoindex___xqSAN",pnlValueCellHeadZh:"pnlValueCellHeadZhindex___GrUFs",pnlValueCellHeadPl:"pnlValueCellHeadPlindex___RCs4G",pnlValueCellHeadTr:"pnlValueCellHeadTrindex___tbG3p",pnlValueCellHeadEs:"pnlValueCellHeadEsindex___VylD5",pnlPercentCellHead:"pnlPercentCellHeadindex___NBIsr",pnlPercentCellHeadDe:"pnlPercentCellHeadDeindex___fSB4x",pnlPercentCellHeadFr:"pnlPercentCellHeadFrindex___J1oDh",pnlPercentCellHeadRu:"pnlPercentCellHeadRuindex___plq9Y",pnlPercentCellHeadUk:"pnlPercentCellHeadUkindex___SX06V",pnlPercentCellHeadIt:"pnlPercentCellHeadItindex___V9dOe",pnlPercentCellHeadPt:"pnlPercentCellHeadPtindex___lozlp",pnlPercentCellHeadRo:"pnlPercentCellHeadRoindex___z0AWq",pnlPercentCellHeadZh:"pnlPercentCellHeadZhindex___mUk3h",pnlPercentCellHeadPl:"pnlPercentCellHeadPlindex___YUY08",pnlPercentCellHeadTr:"pnlPercentCellHeadTrindex___KUdrq",pnlPercentCellHeadEs:"pnlPercentCellHeadEsindex___oicCR",totalCell:"totalCellindex___XCU1i",headerCell:"headerCellindex___BPCsJ",com:"comindex___OrXvL",rowTotal:"rowTotalindex___okWtf"};let W={acquisitionPrice:{[h.LANGS_CODE.en]:B.acquisitionPriceCellHead,[h.LANGS_CODE.ro]:B.acquisitionPriceCellHeadRo,[h.LANGS_CODE.uk]:B.acquisitionPriceCellHeadUk,[h.LANGS_CODE.ru]:B.acquisitionPriceCellHeadRu,[h.LANGS_CODE.es]:B.acquisitionPriceCellHeadEs,[h.LANGS_CODE.fr]:B.acquisitionPriceCellHeadFr,[h.LANGS_CODE.it]:B.acquisitionPriceCellHeadIt,[h.LANGS_CODE.tr]:B.acquisitionPriceCellHeadTr},acquisitionVolume:{[h.LANGS_CODE.en]:B.acquisitionVolumeCellHead,[h.LANGS_CODE.ru]:B.acquisitionVolumeCellHeadRu,[h.LANGS_CODE.de]:B.acquisitionVolumeCellHeadDe,[h.LANGS_CODE.uk]:B.acquisitionVolumeCellHeadUk},currentPrice:{[h.LANGS_CODE.en]:B.currentPriceCellHead,[h.LANGS_CODE.pt]:B.currentPriceCellHeadPt,[h.LANGS_CODE.tr]:B.currentPriceCellHeadTr,[h.LANGS_CODE.ru]:B.currentPriceCellHeadRu,[h.LANGS_CODE.es]:B.currentPriceCellHeadEs,[h.LANGS_CODE.it]:B.currentPriceCellHeadIt,[h.LANGS_CODE.zh]:B.currentPriceCellHeadZh},currentVolume:{[h.LANGS_CODE.en]:B.currentVolumeCellHead,[h.LANGS_CODE.es]:B.currentVolumeCellHeadEs,[h.LANGS_CODE.ru]:B.currentVolumeCellHeadRu,[h.LANGS_CODE.fr]:B.currentVolumeCellHeadFr,[h.LANGS_CODE.it]:B.currentVolumeCellHeadIt,[h.LANGS_CODE.ro]:B.currentVolumeCellHeadRo,[h.LANGS_CODE.zh]:B.currentVolumeCellHeadZh,[h.LANGS_CODE.uk]:B.currentVolumeCellHeadUk,[h.LANGS_CODE.pl]:B.currentVolumeCellHeadPl},pnlValue:{[h.LANGS_CODE.en]:B.pnlValueCellHead,[h.LANGS_CODE.de]:B.pnlValueCellHeadDe,[h.LANGS_CODE.ru]:B.pnlValueCellHeadRu,[h.LANGS_CODE.uk]:B.pnlValueCellHeadUk,[h.LANGS_CODE.fr]:B.pnlValueCellHeadFr,[h.LANGS_CODE.it]:B.pnlValueCellHeadIt,[h.LANGS_CODE.pt]:B.pnlValueCellHeadPt,[h.LANGS_CODE.ro]:B.pnlValueCellHeadRo,[h.LANGS_CODE.zh]:B.pnlValueCellHeadZh,[h.LANGS_CODE.pl]:B.pnlValueCellHeadPl,[h.LANGS_CODE.tr]:B.pnlValueCellHeadTr,[h.LANGS_CODE.es]:B.pnlValueCellHeadEs},pnlPercent:{[h.LANGS_CODE.en]:B.pnlPercentCellHead,[h.LANGS_CODE.de]:B.pnlPercentCellHeadDe,[h.LANGS_CODE.fr]:B.pnlPercentCellHeadFr,[h.LANGS_CODE.ru]:B.pnlPercentCellHeadRu,[h.LANGS_CODE.uk]:B.pnlPercentCellHeadUk,[h.LANGS_CODE.it]:B.pnlPercentCellHeadIt,[h.LANGS_CODE.pt]:B.pnlPercentCellHeadPt,[h.LANGS_CODE.ro]:B.pnlPercentCellHeadRo,[h.LANGS_CODE.zh]:B.pnlPercentCellHeadZh,[h.LANGS_CODE.pl]:B.pnlPercentCellHeadPl,[h.LANGS_CODE.tr]:B.pnlPercentCellHeadTr,[h.LANGS_CODE.es]:B.pnlPercentCellHeadEs}},q=e=>{let{data:n,total:{acquisitionAmount:l,currentAmount:i,pnlPercent:a,pnlValue:r}}=e,s=(0,c.v9)(_.Hs),u=(0,Y.YZ)();return(0,t.jsxs)(z.ZP,{children:[(0,t.jsxs)(z.yD,{className:B[u],children:[(0,t.jsx)(z.bL,{width:14,className:B.headerCell,children:(0,t.jsx)("span",{children:(0,t.jsx)(o.Trans,{children:"wallet_pnl_currency"})})}),(0,t.jsx)(z.bL,{width:10,className:B.headerCell,children:(0,t.jsx)("span",{children:(0,t.jsx)(o.Trans,{children:"wallet_pnl_amount"})})}),(0,t.jsx)(z.bL,{width:12,justifyContent:d.XQ.end,textAlign:d.I8.right,className:A()(B.headerCell,b(W.acquisitionPrice,s)),children:(0,t.jsx)("span",{children:(0,t.jsx)(o.Trans,{children:"Acquisition Price, $"})})}),(0,t.jsx)(z.bL,{width:12,justifyContent:d.XQ.end,textAlign:d.I8.right,className:A()(B.headerCell,b(W.acquisitionVolume,s)),children:(0,t.jsx)("span",{children:(0,t.jsx)(o.Trans,{children:"Acquisition Value, $"})})}),(0,t.jsx)(z.bL,{width:13,justifyContent:d.XQ.end,textAlign:d.I8.right,className:A()(B.headerCell,b(W.currentPrice,s)),children:(0,t.jsx)("span",{children:(0,t.jsx)(o.Trans,{children:"Current Price, $"})})}),(0,t.jsx)(z.bL,{width:13,justifyContent:d.XQ.end,textAlign:d.I8.right,className:A()(B.headerCell,b(W.currentVolume,s)),children:(0,t.jsx)("span",{children:(0,t.jsx)(o.Trans,{children:"Current Value, $"})})}),(0,t.jsx)(z.bL,{width:13,justifyContent:d.XQ.end,textAlign:d.I8.right,className:A()(B.headerCell,b(W.pnlValue,s)),children:(0,t.jsx)("span",{children:(0,t.jsx)(o.Trans,{children:"Unrealized PnL, $"})})}),(0,t.jsx)(z.bL,{width:13,justifyContent:d.XQ.end,textAlign:d.I8.right,className:A()(B.headerCell,b(W.pnlPercent,s)),children:(0,t.jsx)("span",{children:(0,t.jsx)(o.Trans,{children:"Unrealized PnL, %"})})})]}),n.map(e=>{let{amount:n,acquisitionAmount:l,acquisitionPrice:i,currencyName:a,currentAmount:r,currentPrice:c,pnlPercent:o,pnlValue:s,
1currencyDescription:u,currencyDecimalLength:_}=e;return(0,t.jsxs)(z.X2,{isInteractive:!1,children:[(0,t.jsx)(f.A,{name:a,description:u,icon:a,width:14}),(0,t.jsx)(z.bL,{width:10,children:(0,t.jsx)(y.ZP,{children:(0,L.BF)((0,T.Y4)(n,{decimalMax:"string"==typeof _?Number(_):void 0,round:!1}))})}),(0,t.jsx)(z.bL,{width:12,justifyContent:d.XQ.end,textAlign:d.I8.right,children:(0,t.jsx)(y.ZP,{children:(0,L.BF)(P(i))})}),(0,t.jsx)(z.bL,{width:12,justifyContent:d.XQ.end,textAlign:d.I8.right,children:(0,t.jsx)(y.ZP,{children:(0,L.BF)(P(l))})}),(0,t.jsx)(z.bL,{width:13,justifyContent:d.XQ.end,textAlign:d.I8.right,children:(0,t.jsx)(y.ZP,{children:(0,L.BF)(P(c,Number(_)))})}),(0,t.jsx)(z.bL,{width:13,justifyContent:d.XQ.end,textAlign:d.I8.right,children:(0,t.jsx)(y.ZP,{children:(0,L.BF)(P(r))})}),(0,t.jsx)(z.bL,{width:13,justifyContent:d.XQ.end,textAlign:d.I8.right,children:(0,t.jsx)(G,{value:(0,L.BF)(P(s))})}),(0,t.jsx)(z.bL,{width:13,justifyContent:d.XQ.end,textAlign:d.I8.right,children:(0,t.jsx)(G,{value:o,transformResult:E})})]},a)}),n.length?(0,t.jsxs)(z.X2,{textWeight:d.kx.bold,className:B.rowTotal,isInteractive:!1,children:[(0,t.jsx)(z.bL,{width:14,className:B.totalCell,children:(0,t.jsx)(y.ZP,{children:(0,t.jsx)(o.Trans,{children:"wallet_pnl_total"})})}),(0,t.jsx)(z.bL,{width:10}),(0,t.jsx)(z.bL,{width:12}),(0,t.jsx)(z.bL,{width:12,justifyContent:d.XQ.end,textAlign:d.I8.right,children:(0,t.jsx)(y.ZP,{children:P(l)})}),(0,t.jsx)(z.bL,{width:13}),(0,t.jsx)(z.bL,{width:13,justifyContent:d.XQ.end,textAlign:d.I8.right,children:(0,t.jsx)(y.ZP,{children:P(i)})}),(0,t.jsx)(z.bL,{width:13,justifyContent:d.XQ.end,textAlign:d.I8.right,children:(0,t.jsx)(G,{value:P(r)})}),(0,t.jsx)(z.bL,{width:13,justifyContent:d.XQ.end,textAlign:d.I8.right,children:(0,t.jsx)(G,{value:a,transformResult:E})})]}):null,n.length?null:(0,t.jsx)(R.PK,{message:(0,t.jsx)(o.Trans,{children:"Unrealized PnL will be displayed after the first deposit"})})]})};var X=l(99374),F=l(77821),J={root:"rootindex___lpGg1",selectionCell:"selectionCellindex___ct7EX",isActive:"isActiveindex___tVLnu",me:"meindex____K8On"};let K=e=>{let{isActive:n,width:l,onClick:i}=e,a=(0,Y.YZ)(),r=A()("selectionCellindex___ct7EX",{isActiveindex___tVLnu:n},J[a]);return(0,t.jsx)(X.b,{className:"rootindex___lpGg1",width:l,onClick:i,children:(0,t.jsx)(F.ZP,{pointerHover:!0,size:F.ZG.l,name:n?F.UZ.arrowUp:F.UZ.arrowDown,className:r})})};var $={selectedRow:"selectedRowindex___jbjUC",topContainer:"topContainerindex___BKmf6",isTotal:"isTotalindex___hesMQ",row:"rowindex___Oupgc",bottomContainer:"bottomContainerindex___bv6_S",param:"paramindex___tzTbp",paramName:"paramNameindex___viaeC",paramValue:"paramValueindex___REyO2",totalCell:"totalCellindex___oxw2c",me:"meindex___mimUs"},ee={openPriceCellHead:"openPriceCellHeadindex___FmUtv",openPriceCellHeadRu:"openPriceCellHeadRuindex___AJNuu",openPriceCellHeadUk:"openPriceCellHeadUkindex____Da2V",openPriceCellHeadPl:"openPriceCellHeadPlindex___b1Df6",openPriceCellHeadRo:"openPriceCellHeadRoindex___GOzTY",openPriceCellHeadTr:"openPriceCellHeadTrindex___eSG1h",currentPriceCellHead:"currentPriceCellHeadindex___p68j3"};h.LANGS_CODE.en,h.LANGS_CODE.ru,h.LANGS_CODE.uk,h.LANGS_CODE.pl,h.LANGS_CODE.ro,h.LANGS_CODE.tr,h.LANGS_CODE.en;var en=l(30381),el=l.n(en);let et=e=>e?"$".concat((0,L.BF)(P(e))):"-",ei=e=>"-"===e[0],ea=e=>0===Number(e),er=e=>e?ei(e)||ea(e)?"".concat(e,"%"):"+".concat(e,"%"):"",ec=e=>e?ea(e)?e:ei(e)?"-\xa0$".concat((0,L.BF)(e.slice(1))):"+\xa0$".concat((0,L.BF)(e)):"",eo=e=>ei(e)?s.r$.danger:ea(e)?void 0:s.r$.success,es=e=>{let{pnlPercent:n,pnlValue:l}=e;return(0,t.jsx)(y.ZP,{textColor:eo(l),children:ea(l)?"0":(0,t.jsxs)(t.Fragment,{children:[er(n)," (",ec(P(l)),")"]})})};var ed={page:"pageindex___C1blh",outerWrap:"outerWrapindex___DHBW2",contentWrapper:"contentWrapperindex___IXSym",contentWrap:"contentWrapindex___bjO8W",desktop:"desktopindex___lSWT8",isContentPaddingMax:"isContentPaddingMaxindex___ewOxk",noPadding:"noPaddingindex___GUPC3",content:"contentindex___PUI3o",contentWide:"contentWideindex___hCSyk",contentSection:"contentSectionindex___rwtPM",aside:"asideindex___b1iim",tablet:"tabletindex___uSZHt",ph
1one:"phoneindex___v5pYx",header:"headerindex___lw5K4",totals:"totalsindex___QGVId",totalBlock:"totalBlockindex____H19I",totalBlockLabel:"totalBlockLabelindex___wcDJQ",totalBlockValue:"totalBlockValueindex___zyXFS",me:"meindex___ymc90"};V().shape({closedAmount:V().string,closedTimestamp:V().number,currentAmount:V().string,openedAmount:V().string,openedTimestamp:V().number,pnlPercent:V().string,pnlValue:V().string}).isRequired,V().bool.isRequired;let eu=e=>{let{data:{acquisitionAmount:n,currentAmount:l,pnlPercent:i,pnlValue:a}}=e,r=(0,Y.YZ)();return(0,t.jsxs)("div",{className:A()(ed.totals,ed[r]),children:[(0,t.jsxs)("div",{className:ed.totalBlock,children:[(0,t.jsx)("div",{className:ed.totalBlockLabel,children:(0,t.jsx)(o.Trans,{children:"Portfolio’s Unrealized PnL:"})}),(0,t.jsx)("div",{className:ed.totalBlockValue,children:a&&i?(0,t.jsx)(es,{pnlPercent:i,pnlValue:a}):null})]}),(0,t.jsxs)("div",{className:ed.totalBlock,children:[(0,t.jsx)("div",{className:ed.totalBlockLabel,children:(0,t.jsx)(o.Trans,{children:"Total Acquisition Value:"})}),(0,t.jsx)("div",{className:ed.totalBlockValue,children:et(n)})]}),(0,t.jsxs)("div",{className:ed.totalBlock,children:[(0,t.jsx)("div",{className:ed.totalBlockLabel,children:(0,t.jsx)(o.Trans,{children:"Total Current Value:"})}),(0,t.jsx)("div",{className:ed.totalBlockValue,children:et(l)})]})]})},e_=()=>{let{data:{items:e,total:n},dataMode:l,error:i,mode:a,clearError:r,loadAll:M,loadWeek:j}=p(),{data:{items:C,total:m},error:x,clearError:g}=D(),I=(Object.keys(n).length,!!Object.keys(m).length);return(0,c.v9)(_.Hs),(0,t.jsxs)("div",{className:"rootindex___pCmH0",children:[(0,t.jsx)("div",{className:"headerindex____HFP0",children:(0,t.jsx)("div",{children:(0,t.jsxs)(d.ZP,{display:s.bA.flex,alignItems:d.LT.center,position:d.Vr.relative,children:[(0,t.jsx)("h2",{children:(0,t.jsx)(o.Trans,{children:"Unrealized PnL"})}),(0,t.jsx)(N.Z,{content:(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("h3",{children:(0,t.jsx)(o.Trans,{children:"What does this table display?_2"})}),(0,t.jsx)("p",{children:(0,t.jsx)(o.Trans,{children:"This block displays the unrealized PnL of your portfolio and each asset in it separately. Unrealized PnL (Unrealized Profitability) is a comparison of the asset's current value with its purchase price."})})]})})]})})}),(0,t.jsx)(eu,{data:m}),I?(0,t.jsx)(q,{data:C,total:m}):null,null,null,null,null,x?(0,t.jsx)(u.Z,{...(0,u.V)(x.message),onClose:g}):null]})};var eN=()=>(0,t.jsx)(a.Z,{isContentPaddingMax:!1,children:(0,t.jsx)(r.KW,{children:(0,t.jsx)(e_,{})})})},30149:function(e){"use strict";e.exports=net}},function(e){e.O(0,[3347,4963,2679,373,6726,4048,332,2042,1429,6369,3527,9774,2888,179],function(){return e(e.s=2253)}),_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.