1"use strict";(self.webpackChunktinyman_web_frontend=self.webpackChunktinyman_web_frontend||[]).push([[597],{43562:(e,t,s)=>{s.d(t,{h:()=>d});var i,n,a=s(65043);const o=["title","titleId"];function r(){return r=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var s=arguments[t];for(var i in s)Object.prototype.hasOwnProperty.call(s,i)&&(e[i]=s[i])}return e},r.apply(this,arguments)}function l(e,t){if(null==e)return{};var s,i,n=function(e,t){if(null==e)return{};var s,i,n={},a=Object.keys(e);for(i=0;i<a.length;i++)s=a[i],t.indexOf(s)>=0||(n[s]=e[s]);return n}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(i=0;i<a.length;i++)s=a[i],t.indexOf(s)>=0||Object.prototype.propertyIsEnumerable.call(e,s)&&(n[s]=e[s])}return n}function c(e,t){let{title:s,titleId:c}=e,d=l(e,o);return a.createElement("svg",r({className:"wrap-icon",width:16,height:16,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,"aria-labelledby":c},d),s?a.createElement("title",{id:c},s):null,i||(i=a.createElement("g",{clipPath:"url(#clip0_10678_135398)"},a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 2H4C2.89543 2 2 2.89543 2 4V12C2 13.1046 2.89543 14 4 14H12C13.1046 14 14 13.1046 14 12V4C14 2.89543 13.1046 2 12 2ZM4 0C1.79086 0 0 1.79086 0 4V12C0 14.2091 1.79086 16 4 16H12C14.2091 16 16 14.2091 16 12V4C16 1.79086 14.2091 0 12 0H4Z",fill:"currentColor"}),a.createElement("path",{d:"M9 0L9 16L7 16L7 -8.74227e-08L9 0Z",fill:"currentColor"}),a.createElement("path",{d:"M16 9L0 9L1.74845e-07 7L16 7L16 9Z",fill:"currentColor"}))),n||(n=a.createElement("defs",null,a.createElement("clipPath",{id:"clip0_10678_135398"},a.createElement("rect",{width:16,height:16,fill:"white"})))))}const d=a.forwardRef(c);s.p},52900:(e,t,s)=>{s.d(t,{W:()=>a});var i=s(31387),n=s(76374);function a(e,t){return(0,i.tW)(n.A.ANALYTICS.SUB_PAGES[e].FULL_PATH,{filter:t})}},59374:(e,t,s)=>{s.r(t),s.d(t,{default:()=>nt});var i=s(73216),n=s(65043),a=s(98139),o=s.n(a),r=s(24210),l=s(89379),c=s(1721),d=s(31387),u=s(8939),h=s(52359),m=s(50589),p=s(10066),g=s(23587),y=s(25409),f=s(21809),v=s(64695),b=s(17517),A=s(7770),x=s(98217),_=s(36827),C=s(60355),j=s(44067),S=s(87141),N=s(76374),F=s(66566),O=s(79184),w=s(53925),P=s(70579);const D=function(e){var t,s,i;let{perPage:a=h.b,params:r,initialOrderingState:D,customClassName:E,sectionTitle:k,columnOptions:T,shouldDisplaySortSettings:I=!0,shouldDisplayFilterSettings:L=!0}=e;const R=(0,n.useRef)(null),B=(0,n.useRef)(null),{isSmallScreen:V}=(0,x.c1)(),W=(0,F.A)(),{pools:U,hasPagination:q,requestState:G,ordering:[H,M],verifiedAssetsFilter:[z,Z],govPoolsFilter:[Y,K],lendingPoolsFilter:[Q,$],hideV1Pools:[J,X],filterFarmingPools:[ee,te],pagination:[se,ie]}=(0,f.A)({itemCountPerPage:a,initialOrderingState:V?null!==D&&void 0!==D?D:{by:y.r.Liquidity,direction:"desc"}:D,params:r,shouldResetOrderOnThirdClick:!V}),[ne,ae]=(0,n.useState)(!1),oe=(0,n.useRef)(),re=(0,S.M)(z,J,ee,Y,Q);return(0,n.useEffect)((()=>{oe.current=void 0}),[z,J,ee,Y,Q]),(0,P.jsxs)(p.A,{ref:R,customClassName:o()("analytics-home-page-pool-table-section",E,{"analytics-home-page-pool-table-section--has-pagination":q}),style:{height:oe.current&&"".concat(oe.current,"px")},titleRow:(0,P.jsxs)(n.Fragment,{children:[null!==k&&void 0!==k?k:(0,P.jsx)(u.A,{title:"Pools",icon:(0,P.jsx)(c.h,{}),typography:"secondary-subtitle",isBold:!0}),V?(0,P.jsxs)(n.Fragment,{children:[(0,P.jsx)(O.A,{size:"small",typography:"secondary-body",onClick:function(){ae(!0)},children:"Sort and filter"}),ne&&(0,P.jsx)(A.A,{isOpen:ne,onClose:function(){ae(!1)},radioSettingsGroupProps:I?{items:_.ab,onSelect:function(e){M(e)},selectedItem:function(){var e;return null!==(e=_.ab.find((e=>e.id===(null===H||void 0===H?void 0:H.by))))&&void 0!==e?e:null}(),title:"Sort pools by"}:void 0,multiselectSettingsGroupProps:{options:_.wj,onSelect:le,selectedOptions:re,title:"Settings"}})]}):(0,P.jsxs)("div",{className:"is-vertically-centered",children:[(0,P.jsx)(g.A,{id:"AnalyticsHomePagePoolTableSection.verified-assets-checkbox",customClassName:"analytics-home-page-pool-table-section__verified-assets-checkbox",content:"Hide unverified asset pairs",hasReversedContentOrder:!0,onSelect:function(){Z(j.ze)},isSelected:z}),L&&(0,P.jsx)(w.A,{filterOptions:_.wj.filter((e=>e.id!==C.w.onlyVerified)),selectedFilterOptions:re,onFilterSelect:le})]})]}),children:[(0,P.jsx)(m.A,{children:(0,P.jsx)(b.A,{pools:U||[],requestState:G,errorMessage:null!==r&&void 0!==r&&r.asset?"Pairs of this asset couldn\u2019t be loaded.Please try again.":void 0,hasActionButtons:!0,ordering:{state:H,onChange:function(e){var t;oe.current=null===(t=R.current)||void 0===t?void 0:t.getBoundingClientRect().height,M(e)}},columnOptions:(0,l.A)((0,l.A)({},T),{},{typography:null!==(t=null===T||void 0===T?void 0:T.typography)&&void 0!==t?t:"overline"}),onRowClick:function(e){W((0,d.tW)(N.A.POOL_HOME_PAGE.POOL_DETAIL.FULL_PATH,{poolAddress:e.address}))}})}),q&&(0,P.jsx)(v.A,{ref:B,next:null===(s=G.data)||void 0===s?void 0:s.next,previous:null===(i=G.data)||void 0===i?void 0:i.previous,onChange:function(e){var t;oe.current=null===(t=R.current)||void 0===t?void 0:t.getBoundingClientRect().height,ie(e)}})]});function le(e){var t;if(e)switch(oe.current=null===(t=R.current)||void 0===t?void 0:t.getBoundingClientRect().height,e.i
1d){case C.w.hideV1Pools:X(j.ze);break;case C.w.onlyVerified:Z(j.ze);break;case C.w.onlyWithFarming:te(j.ze);break;case C.w.onlyGovPools:K(j.ze);break;case C.w.onlyLendingPools:$(j.ze)}}};var E=s(78597),k=s(74179),T=s(71780),I=s(53078),L=s(19651),R=s(63264),B=s(15008);const V=function(e){let{asset:t}=e;return(0,P.jsxs)(k.A,{customClassName:"is-flex-column has-default-border-radius asset-detail-page-price-history-card",type:"layer-1",children:[(0,P.jsxs)("header",{className:"asset-detail-page-price-history-card__header",children:[(0,P.jsx)("h2",{className:"typography--caption color--text-gray-lighter",children:"$".concat(t.unit_name," Price")}),(0,P.jsxs)("div",{className:"is-vertically-centered asset-detail-page-price-history-card__price-container",children:[t.price_in_usd&&(0,P.jsx)("h3",{className:"typography--h3 color--text-main asset-detail-page-price-history-card__price",children:(0,B.nc)(Number(t.price_in_usd))}),(0,P.jsx)(L.A,{type:"no-underline",content:(0,P.jsx)(I.A,{children:"Rate of price change over the last 24 hours"}),children:(0,P.jsx)(T.A,{customClassName:"is-semi-bold-text",percentage:Number(t.last_day_price_change),shouldDisplayIcon:!1,typography:"body"})})]})]}),(0,P.jsx)(R.A,{targetAssetId:t.id})]})};var W=s(3056),U=s(39917),q=s(79564),G=s(35598),H=s(3429),M=s(94709),z=s(69357),Z=s(24952),Y=s(85298);const K=function(e){let{asset1ID:t,asset2ID:s,poolAddress:i}=e;const n=(0,q.H)(),a=(0,U.zG)(n,Number(t))||(0,U.zG)(n,Number(s))?"helper-danger":"secondary";return(0,P.jsxs)("div",{className:o()("analytics-page-internal-links","is-flex-column"),children:[(0,P.jsxs)("div",{className:"analytics-page-internal-links__swap-and-stake-container",children:[(0,U.WV)(Number(t))&&!i&&(0,P.jsx)(G.A,{customClassName:"analytics-page-internal-links__link",to:{pathname:N.A.LIQUID_STAKE.ROOT.FULL_PATH,search:(0,H.i)({view:Z.E.Stake})},buttonType:"helper-peace",tooltipProps:{placement:"top",content:(0,P.jsx)(I.A,{children:"Secure the network and earn rewards"})},children:"Stake"}),(0,P.jsx)(Y.A,{customClassName:"analytics-page-internal-links__link",asset1ID:t,asset2ID:s,buttonType:a,children:"SWAP"})]}),i?(0,P.jsx)(z.A,{customClassName:"analytics-page-internal-links__link",poolAddress:i,buttonType:"".concat(a,"-light"),children:"ADD LIQUIDITY"}):(0,P.jsx)(G.A,{buttonType:"".concat(a,"-light"),customClassName:"analytics-page-internal-links__link",to:{pathname:N.A.POOL_HOME_PAGE.ROOT.TABS.ALL_POOLS.FULL_PATH,search:(0,H.i)({[M.k.ASSET]:t})},children:"ADD LIQUIDITY"})]})};var Q=s(92112),$=s(95035),J=s(68851);const X=function(e){let{asset:t}=e;const s=(0,q.H)(),i=t&&s[(0,U.Gc)(t)];return(0,P.jsxs)("section",{className:"is-vertically-centered has-space-between asset-detail-page-info-section",children:[(0,P.jsxs)("div",{children:[(0,P.jsx)(Q.A,{asset:t,size:32}),(0,P.jsx)(J.A,{asset:t,nameType:"unit",typography:"secondary-subtitle",shouldDisplayAssetId:!(0,U.WV)((0,U.Gc)(t)),shouldDisplayClawbackBadge:!0,customClassName:"asset-detail-page-info-section__asset-unit-name"}),(0,P.jsx)("h2",{className:"typography--secondary-subtitle",children:t.name})]}),(0,P.jsx)($.A,{customClassName:o()({"hide-on-sm":(0,U.zG)(s,(0,U.Gc)(t))}),mode:"verbose",verificationTier:(null===i||void 0===i?void 0:i.verification_tier)||"unverified",assetId:t.id})]})};var ee=s(37962);function te(e){return[{title:"Total liquidity",content:(0,P.jsx)(ee.A,{typography:"body",usdValue:Number(e.liquidity_in_usd),textColor:"text-main",prefix:null})},{title:"24h Volume",content:(0,P.jsx)(ee.A,{typography:"body",usdValue:Number(e.last_day_volume_in_usd),textColor:"text-main",prefix:null})},{title:"7d Volume",content:(0,P.jsx)(ee.A,{typography:"body",usdValue:Number(e.last_week_volume_in_usd),textColor:"text-main",prefix:null})},{title:"24h Fees",content:(0,P.jsx)(ee.A,{typography:"body",usdValue:Number(e.last_day_fees_in_usd),textColor:"text-main",prefix:null})}]}var se=s(47170),ie=s(14213),ne=s(81185),ae=s(69744),oe=s(39583),re=s(35475),le=s(29357),ce=s(91693),de=s(3294),ue=function(e){return e.OVERVIEW="overview",e.ASSETS="assets",e.POOLS="pools",e.TRANSACTIONS="transactions",e}(ue||{});const he=[{id:ue.OVERVIEW,content:ue.OVERVIEW,icon:(0,P.jsx)(de.h,{})},{id:ue.ASSETS,content:ue.ASSETS,icon:(0,P.jsx)(le.h,{})},{id:ue.POOLS,content:ue.POOLS,icon:(0,P.jsx)(c.h,{})},{id:ue.TRANSACTIONS,content:ue.TRANSACTIONS,icon:(0,P.jsx)(ce.h,{})}],me=Object.values(ue);const pe=function(){const[e,t]=(0,re.ok)({[h.Z.VIEW]:ue.OVERVIEW});return{view:e.get(h.Z.VIEW),setView:(0,n.useCallback)((e=>{me.includes(e)&&t({view:e})}),[t])}};const ge=function(e){let{children:t,customClassName:s}=e;const{view:i}=pe();return(0,P.jsx)(oe.A,{customClassName:o()("analytics-layout",s),asideIllustration:{src:ne,alt:"Tinyman Analytics Illustration"},children:(0,P.jsx)(ae.A,{customClassName:o()("is-horizontally-centered","analytics-layout__content","analytics-layout__content--".concat(i)),children:t})})};const ye=function(e){let{children:t,customClassName:s}=e;return(0,P.jsx)(ge,{customClassName:o()("analytics-sub-page-layout",s),children:(0,P.jsxs)("div",{className:"analytics-sub-page-layout__content-wrapper is-flex-column",children:[(0,P.jsx)(ie.A,{title:"Go Back",fallbackLocation:N.A.ANALYTICS.ROOT.FULL_PATH}),t]})})};var fe=s(45522),ve=s(20729);const be=function(){const{assetId:e}=(0,i.g)(),t=(0,r.A)(e),{data:s}=t,a=(0,q.H)(),l=s&&(0,U.zG)(a,(0,U.Gc)(s)),c=s&&a[(0,U.Gc)(s)];return(0,P.jsx)(ye,{customClassName:o()("asset-detail-page",{"asset-detail-page--is-suspicious":l,"asset-detail-page--has-verification-data":c,"asset-detail-page--has-not-verification-data":c,"asset-detail-page--is-algo":s&&(0,U.WV)((0,U.Gc)(s))}),children:(0,P.jsx)(W.A,{requestStates:[t],content:function(t){let i=(0,P.jsx)(n.Fragment,{});switch(t){case W.W.SUCCESS:s&&(i=(0,P.jsxs)("div",{className:"asset-detail-page__body",children:[(0,P.jsx)(X,{asset:s}),(0,P.jsxs)("section",{className:"asset-detail-page__content",children:[(0,P.jsxs)("div",{className:"asset-detail-page__content__chart-container",children:[(0,P.jsx)(V,{asset:s}),(0,P.jsx)(se.A,{items:te(s)})]}),(0,P.jsxs)("div",{className:"asset-detail-page__links-wrapper",children:[(0,P.jsx)(K,{asset1ID:s.id}),l&&(0,P.jsxs)(k.A,{customClassName:"typography--secondary-body asset-detail-page__suspicious-asset-card",type:"helper-danger",children:[(0,P.jsx)($.A,{customClassName:"asset-detail-page__suspicious-asset-card__badge",mode:"verbose",verificationTier:(null===c||void 0===c?void 0:c.verification_tier)||"unverified",assetId:s.id}),"This asset is marked as \u201cSuspicious\u201d by Pera Wallet. Please be careful while making any transactions."]}),(0,P.jsx)(fe.A,{assetID:s.id})]})]}),(0,P.jsx)(D,{params:{asset:e}}),(0,P.jsx)(E.A,{params:{asset:e}})]}));break;case W.W.PENDING:i=(0,P.jsx)(ve.A,{message:"Asset detail is loading..."})}return i}})})};var Ae=s(38065),xe=s(17224),_e=s(56550),Ce=s(23056),je=s(681),Se=s(64551),Ne=s(78593),Fe=s(15696);const Oe=function(e){var t,s,i;let{itemCountPerPage:a,params:o,initialOrderingState:r,shouldResetOrderOnThirdClick:c}=e;const[d,u]=(0,_e.A)(),{state:h,runAsyncProcess:m,setState:p}=(0,Ce.A)({shouldResetDataWhenPending:!1}
1),[g,y]=(0,n.useState)(),{orderingState:f,orderingRequestParameterValue:v,setNewOrderingState:b}=(0,Se.A)(r,c),A=(0,n.useRef)((0,Ne.uD)((0,l.A)({limit:a,is_pool_member:!0,with_statistics:!0,verified_only:d},o)));return(0,n.useEffect)((()=>{if(g){const e=new URL(g);A.current=(0,H.jr)(e.search),m(xe.A.listAssets({params:A.current}))}}),[g,m]),(0,n.useEffect)((()=>{A.current=(0,Ne.uD)((0,l.A)({limit:a,is_pool_member:!0,with_statistics:!0,verified_only:d,ordering:v},o)),y(void 0),m(xe.A.listAssets({params:A.current}))}),[d,a,v,m,o]),(0,je.A)((()=>{xe.A.listAssets({params:A.current}).then((e=>{p((0,l.A)((0,l.A)({},h),{},{data:e}))}))}),Fe.Zj),{assets:(null===(t=h.data)||void 0===t?void 0:t.results)||[],hasPagination:Boolean((null===(s=h.data)||void 0===s?void 0:s.next)||(null===(i=h.data)||void 0===i?void 0:i.previous)),paginationRequestUrl:g,setPaginationRequestUrl:y,shouldDisplayOnlyVerifiedAssets:d,requestState:h,setShouldDisplayOnlyVerifiedAssets:u,orderingState:f,setNewOrderingState:b}};var we=s(74865),Pe=s(34983);const De=function(e){var t,s;let{perPage:i=h.b,params:a,initialOrderingState:r,customClassName:l,shouldDisplay7DVolumeColumn:c,sectionTitle:y,shouldDisplaySortSettings:f=!0}=e;const{isSmallScreen:b}=(0,x.c1)(),_=(0,F.A)(),C=(0,n.useRef)(null),S=(0,n.useRef)(null),{assets:w,hasPagination:D,requestState:E,setPaginationRequestUrl:k,setShouldDisplayOnlyVerifiedAssets:T,shouldDisplayOnlyVerifiedAssets:I,orderingState:L,setNewOrderingState:R}=Oe({itemCountPerPage:i,params:a,initialOrderingState:b?null!==r&&void 0!==r?r:{by:"liquidity_in_usd",direction:"desc"}:r,shouldResetOrderOnThirdClick:!b}),B=(0,n.useRef)(),[V,W]=(0,n.useState)(!1);return(0,n.useEffect)((()=>{B.current=void 0}),[I]),(0,P.jsxs)(p.A,{ref:C,customClassName:o()("analytics-home-page-asset-table-section",l,{"analytics-home-page-asset-table-section--has-pagination":D}),style:{height:B.current&&"".concat(B.current,"px")},titleRow:(0,P.jsxs)(n.Fragment,{children:[null!==y&&void 0!==y?y:(0,P.jsx)(u.A,{title:"Assets",icon:(0,P.jsx)(le.h,{}),typography:"secondary-subtitle",isBold:!0}),b?(0,P.jsxs)(n.Fragment,{children:[(0,P.jsx)(O.A,{size:"small",typography:"secondary-body",onClick:function(){W(!0)},children:"Sort and filter"}),V&&(0,P.jsx)(A.A,{isOpen:V,onClose:function(){W(!1)},radioSettingsGroupProps:f?{items:Pe.Ob,onSelect:function(e){R(e)},selectedItem:function(){var e;return null!==(e=Pe.Ob.find((e=>e.id===(null===L||void 0===L?void 0:L.by))))&&void 0!==e?e:null}(),title:"Sort assets by"}:void 0,multiselectSettingsGroupProps:{options:Pe.W2,onSelect:function(e){if(!e)return;if("only-verified-assets"===e.id)T(j.ze)},selectedOptions:I?Pe.W2:[],title:"Settings"}})]}):(0,P.jsx)(g.A,{customClassName:"analytics-home-page-asset-table-section__verified-assets-checkbox",id:"AnalyticsHomePageAssetTableSection.verified-assets-checkbox",content:"Hide unverified assets",hasReversedContentOrder:!0,onSelect:function(){T((e=>!e))},isSelected:I})]}),children:[(0,P.jsx)(m.A,{children:(0,P.jsx)(we.A,{customClassName:"analytics-homepage-asset-table",assets:w,requestState:E,ordering:{state:L,onChange:R},columnOptions:{shouldDisplay7DVolumeColumn:c,shouldDisplayActionButton:!0},onRowClick:function(e){_((0,d.tW)(N.A.ANALYTICS.ASSET_DETAIL.FULL_PATH,{assetId:e.id}))}})}),D&&(0,P.jsx)(v.A,{ref:S,next:null===(t=E.data)||void 0===t?void 0:t.next,previous:null===(s=E.data)||void 0===s?void 0:s.previous,onChange:function(e){var t;B.current=null===(t=C.current)||void 0===t?void 0:t.getBoundingClientRect().height,k(e)}})]})};const Ee=function(e){let{title:t,value:s,change:i,fractionDigits:n={minimumFractionDigits:2,maximumFractionDigits:2}}=e;const a=(0,B.ZV)(n);return(0,P.jsxs)(k.A,{type:"layer-1",customClassName:"has-space-between is-flex-column analytics-home-page-general-statistics",children:[(0,P.jsx)("h3",{className:"typography--caption color--text-gray-lighter",children:t}),(0,P.jsxs)("div",{className:"analytics-home-page-general-statistics__value-row is-vertically-centered",children:[(0,P.jsxs)("p",{className:"analytics-home-page-general-statistics__value-container typography--subtitle",children:[(0,P.jsx)("span",{className:"color--text-gray-lighter",children:"$"}),(0,P.jsx)("span",{className:"color--text-main analytics-home-page-general-statistics__value",children:a(s)})]}),"number"===typeof i&&(0,P.jsx)(T.A,{percentage:i,shouldDisplayZeroPercentageWithIcon:!0,shouldDisplayIcon:!1,customClassName:"analytics-home-page-general-statistics__price-change is-semi-bold-text"})]})]})};var ke=s(40340),Te=s(85200);const Ie=function(){var e,t,s;const{state:i,runAsyncProcess:a,setState:o}=(0,Ce.A)({shouldResetDataWhenPending:!1}),r=(0,Te.Y)();return(0,n.useEffect)((()=>{a(ke.A.fetchGeneralStatistics())}),[a]),(0,je.A)((()=>{ke.A.fetchGeneralStatistics().then((e=>{o({data:e,isRequestFetched:!0,isRequestPending:!1,error:null})}))}),Fe.Zj),(0,P.jsxs)("div",{className:"analytics-home-page-general-statistics-section",children:[(0,P.jsx)(Ee,{title:"Total Liquidity",value:parseFloat((null===(e=i.data)||void 0===e?void 0:e.total_liquidity_in_usd)||"0")}),(0,P.jsx)(Ee,{title:"Volume (24h)",value:parseFloat((null===(t=i.data)||void 0===t?void 0:t.last_day_total_volume_in_usd)||"0")}),(0,P.jsx)(Ee,{title:"$ALGO Price (24h)",value:(0,U.O2)(r)||0,change:parseFloat((null===(s=i.data)||void 0===s?void 0:s.last_day_algo_price_change)||"0"),fractionDigits:{maximumFractionDigits:6}})]})};var Le=s(39808);const Re=function(e){let{view:t,items:s}=e;return(0,P.jsx)(Ae.B8,{customClassName:o()("analytics-home-page-sub-page-navigation","analytics-home-page-sub-page-navigation--view--".concat(t)),items:s,children:e=>{let{title:s,icon:i,to:n,id:a}=e;return(0,P.jsx)(Ae.ck,{customClassName:o()("analytics-home-page-sub-page-navigation__list-item","analytics-home-page-sub-page-navigation__list-item--".concat(a)),children:(0,P.jsx)(Le.A,{className:"analytics-home-page-sub-page-navigation__link",to:n,children:(0,P.jsxs)(k.A,{type:t===ue.POOLS?"helper-blue":"helper-orange",children:[i,(0,P.jsx)("p",{className:"typography--body is-semi-bold-text analytics-home-page-sub-page-navigation__navigation-card__title",children:s})]})})},a)}})};var Be,Ve,We,Ue=s(64969);const qe=["title","titleId"];function Ge(){return Ge=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var s=arguments[t];for(var i in s)Object.prototype.hasOwnProperty.call(s,i)&&(e[i]=s[i])}return e},Ge.apply(this,arguments)}function He(e,t){if(null==e)return{};var s,i,n=function(e,t){if(null==e)return{};var s,i,n={},a=Object.keys(e);for(i=0;i<a.length;i++)s=a[i],t.indexOf(s)>=0||(n[s]=e[s]);return n}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(i=0;i<a.length;i++)s=a[i],t.indexOf(s)>=0||Object.prototype.propertyIsEnumerable.call(e,s)&&(n[s]=e[s])}return n}function Me(e,t){let{title:s,titleId:i}=e,a=He(e,qe);return n.createElement("svg",Ge({className:"percentage-icon",width:16,height:16,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,"aria-labelledby":i},a),s?n.createElement("title",{id:i},s):null,Be||(Be=n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.5 5C4.32843 5 5 4.32843 5 3.5C5 2.67157 4.32843 2 3.5 2C2.67157 2 2 2.67157 2 3.5C2 4.32843 2.67157 5 3.5 5ZM3.5 7C5.433 7 7 5.433 7 3.5C7 1.567 5.433 0 3.5 0C1.567 0 0 1.567 0 3.5C0 5.433 1.567 7 3.5 7Z",fill:"currentColor"})),Ve||(Ve=n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12.5 14C13.3284 14 14 13.3284 14 12.5C14 11.6716 13.3284 11 12.5 11C11.6716 11 11 11.6716 11 12.5C11 13.3284 11.6716 14 12.5 14ZM12.5 16C14.433 16 16 14.433 16 12.5C16 10.567 14.433 9 12.5 9C10.567 9 9 10.567 9 12.5C9 14.433 10.567 16 12.5 16Z",fill:"currentColor"})),We||(We=n.createElement("path",{d:"M13.5889 0L4.70003 16H2.41211L11.301 0H13.5889Z",fill:"currentColor"})))}const ze=n.forwardRef(Me);s.p;var Ze=s(5105),Ye=s(43562),Ke=s(14152),Qe=s(52900);const $e={[ue.POOLS]:[{id:"liquid-staking-pools",title:"Liquid staking pools",icon:(0,P.jsx)(Ue.h,{}),to:(0,Qe.W)("POOL","liquid-staking-pools")},{id:"highest-fees",title:"The highest fees",icon:(0,P.jsx)(le.h,{}),to:(0,Qe.W)("POOL","highest-fees")},{id:"highest-aprs",title:"The highest APYs",icon:(0,P.jsx)(ze,{}),to:(0,Qe.W)("POOL","highest-aprs")},{id:"top-stable",title:"Top stable pools",icon:(0,P.jsx)(Ze.h,{}),to:(0,Qe.W)("POOL","top-stable")}
1],[ue.ASSETS]:[{id:"wrapped-assets",title:"Wrapped assets",icon:(0,P.jsx)(Ye.h,{}),to:(0,Qe.W)("ASSET","wrapped-assets")},{id:"highest-volume",title:"The highest volume",icon:(0,P.jsx)(Ke.h,{}),to:(0,Qe.W)("ASSET","highest-volume")},{id:"highest-volatility",title:"The highest price change",icon:(0,P.jsx)(ze,{}),to:(0,Qe.W)("ASSET","highest-volatility")},{id:"stable-assets",title:"Stable assets",icon:(0,P.jsx)(Ze.h,{}),to:(0,Qe.W)("ASSET","stable-assets")}]};const Je=function(){const{view:e,setView:t}=pe(),[s,i]=(0,re.ok)();return(0,P.jsx)(Ae.oz,{customClassName:o()("analytics-home-page-tab-view","analytics-home-page-tab-view--".concat(e)),activeTabIndex:(a=s.get("view"),a?Math.max(me.findIndex((e=>e===a)),0):0),onTabChange:function(e){t(he[e].id)},items:he,children:[(0,P.jsxs)(n.Fragment,{children:[(0,P.jsx)(Ie,{}),(0,P.jsx)(De,{customClassName:"analytics-home-page-tab-view--overview__asset-table-section"}),(0,P.jsx)(D,{customClassName:"analytics-home-page-tab-view--overview__pool-table-section",shouldDisplayFilterSettings:!1}),(0,P.jsx)(E.A,{})]},ue.OVERVIEW),(0,P.jsxs)(n.Fragment,{children:[(0,P.jsx)(Re,{view:ue.ASSETS,items:$e.assets}),(0,P.jsx)(De,{shouldDisplay7DVolumeColumn:!0,perPage:30})]},ue.ASSETS),(0,P.jsxs)(n.Fragment,{children:[(0,P.jsx)(Re,{view:ue.POOLS,items:$e.pools}),(0,P.jsx)(D,{customClassName:"analytics-home-page-tab-view--pools__pool-table-section",columnOptions:{shouldDisplay7DVolumeColumn:!0},perPage:30})]},ue.POOLS),(0,P.jsx)(E.A,{perPage:30},ue.TRANSACTIONS)]});var a};const Xe=function(){return(0,P.jsx)(ge,{children:(0,P.jsx)(Je,{})})};var et=s(49289),tt=s(51533);const st=function(){const{filter:e}=(0,i.g)(),t=$e.pools.find((t=>t.id===e)),{isSmallScreen:s}=(0,x.c1)();return(0,P.jsx)(ye,{customClassName:o()("analytics-pool-sub-page","analytics-pool-sub-page--".concat(e)),children:(0,P.jsx)("div",{className:"is-flex-column",children:(0,P.jsx)(D,(0,l.A)((0,l.A)({perPage:30,customClassName:o()("analytics-pool-sub-page__pool-table-section","analytics-pool-sub-page__pool-table-section--filter--".concat(e)),sectionTitle:t?(0,P.jsx)(u.A,{title:null===t||void 0===t?void 0:t.title,customClassName:"analytics-pool-sub-page__section-title",icon:(0,P.jsx)(et.A,{icon:t.icon,backgroundColor:s?void 0:"helper-blue-100"}),typography:"h2",isUppercased:!0,textColor:"helper-blue"}):(0,P.jsx)(n.Fragment,{}),columnOptions:{shouldDisplay7DVolumeColumn:!0}},function(){let t;switch(e){case"liquid-staking-pools":case"highest-aprs":t={initialOrderingState:{by:y.r.TotalAnnualPercentageRate,direction:"desc"}};break;case"highest-fees":t={initialOrderingState:{by:y.r.LastDayFeesInUsd,direction:"desc"}};break;case"top-stable":t={params:{is_stable:!0}}}return t}()),{},{shouldDisplaySortSettings:!1,params:"liquid-staking-pools"===e?{asset:tt.v.id}:void 0}))})})};const it=function(){const{filter:e}=(0,i.g)(),t=$e.assets.find((t=>t.id===e)),{isSmallScreen:s}=(0,x.c1)();return(0,P.jsx)(ye,{customClassName:"analytics-asset-sub-page",children:(0,P.jsx)(De,(0,l.A)({perPage:30,customClassName:"analytics-asset-sub-page__asset-table-section",shouldDisplay7DVolumeColumn:!0,shouldDisplaySortSettings:!1,sectionTitle:t?(0,P.jsx)(u.A,{customClassName:"analytics-asset-sub-page__section-title",title:t.title,icon:(0,P.jsx)(et.A,{icon:t.icon,backgroundColor:s?void 0:"helper-orange-100"}),typography:"h2",isUppercased:!0,textColor:"helper-orange"}):(0,P.jsx)(n.Fragment,{})},function(){let t;switch(e){case"wrapped-assets":t={params:{is_wrapped:!0}};break;case"highest-volume":t={initialOrderingState:{by:"last_week_volume_in_usd",direction:"desc"}};break;case"highest-volatility":t={initialOrderingState:{by:"last_day_price_change",direction:"desc"}};break;case"stable-assets":t={params:{is_stable:!0}}}return t}()))})};const nt=function(){return(0,P.jsxs)(i.BV,{children:[(0,P.jsx)(i.qh,{path:"/",children:(0,P.jsx)(i.qh,{index:!0,element:(0,P.jsx)(Xe,{})})}),(0,P.jsx)(i.qh,{path:N.A.ANALYTICS.ASSET_DETAIL.ROUTE,element:(0,P.jsx)(be,{})}),(0,P.jsx)(i.qh,{path:N.A.ANALYTICS.SUB_PAGES.POOL.ROUTE,element:(0,P.jsx)(st,{})}),(0,P.jsx)(i.qh,{path:N.A.ANALYTICS.SUB_PAGES.ASSET.ROUTE,element:(0,P.jsx)(it,{})})]})}},24210:(e,t,s)=>{s.d(t,{A:()=>
1o});var i=s(65043),n=s(23056),a=s(17224);const o=function(e){const{state:t,runAsyncProcess:s}=(0,n.A)();return(0,i.useEffect)((()=>{e&&s(a.A.fetchAssetDetail(e))}),[e,s]),t}},56550:(e,t,s)=>{s.d(t,{A:()=>a});var i=s(65043),n=s(35909);const a=function(){const e=(0,n.hg)(),[t,s]=(0,i.useState)(e);return(0,i.useEffect)((()=>{s(e)}),[e]),[t,s]}},23587:(e,t,s)=>{s.d(t,{A:()=>l});var i=s(38065),n=s(98139),a=s.n(n),o=(s(65043),s(81698)),r=s(70579);const l=function(e){let{isSelected:t,id:s,content:n,value:l,onSelect:c,variant:d="default",customClassName:u,hasReversedContentOrder:h}=e;return(0,r.jsx)(i.Oc,{isSelected:t||"indeterminate"===d,item:{id:s,content:n,inputProps:{htmlFor:s,name:s,value:"string"!==typeof n||l?l||"":n}},onSelect:c,customClassName:a()("tinyman-checkbox",u,{"checkbox-input-label--reversed-content-order":h}),customIcon:"indeterminate"===d?(0,r.jsx)("span",{className:"tinyman-checkbox__indeterminate-icon has-default-border-radius"}):(0,r.jsx)(o.A,{})})}},49289:(e,t,s)=>{s.d(t,{A:()=>o});var i=s(98139),n=s.n(i),a=s(70579);const o=function(e){let{icon:t,customClassName:s,backgroundColor:i,width:o,height:r}=e;return(0,a.jsx)("div",{className:n()("is-centered","outlined-icon",s),style:{width:o,height:r,"--outlined-icon-background-color":i},children:t})}},79184:(e,t,s)=>{s.d(t,{A:()=>d});var i=s(89379),n=s(80045),a=s(98139),o=s.n(a),r=s(30657),l=s(70579);const c=["label","children","customClassName"];const d=function(e){let{label:t,children:s,customClassName:a}=e,d=(0,n.A)(e,c);return(0,l.jsxs)(r.A,(0,i.A)((0,i.A)({customClassName:o()("select-box",{"select-box--with-label":Boolean(t)},a)},d),{},{children:[t&&(0,l.jsx)("p",{className:o()("select-box__label","color--text-gray","typography--tiny"),children:t}),s]}))}},7770:(e,t,s)=>{s.d(t,{A:()=>u});var i=s(89379),n=s(98139),a=s.n(n),o=s(16082),r=s(64188),l=s(38065),c=s(70579);const d=function(e){let{items:t,selectedItem:s,onSelect:i,customClassName:n}=e;return(0,c.jsx)(l.z6,{customClassName:a()("table-settings-radio-group",n),items:t,selectedItem:s,onSelect:function(e){i(e.id)}})};const u=function(e){let{isOpen:t,onClose:s,radioSettingsGroupProps:n,multiselectSettingsGroupProps:l}=e;return(0,c.jsxs)(r.A,{customClassName:"table-settings-modal",isOpen:t,onClose:s,contentLabel:"Filter settings",shouldCloseOnOverlayClick:!0,shouldDisplayMobileSwipeDownIndicator:!0,children:[n&&(0,c.jsxs)("div",{className:"is-flex-column table-settings-modal-group",children:[(0,c.jsx)("p",{className:a()("color--text-gray","typography--caption"),children:n.title}),(0,c.jsx)(d,(0,i.A)({},n))]}),l&&(0,c.jsxs)("div",{className:"is-flex-column table-settings-modal-group",children:[(0,c.jsx)("p",{className:a()("color--text-gray","typography--caption"),children:l.title}),(0,c.jsx)(o.A,(0,i.A)({},l))]})]})}},16082:(e,t,s)=>{s.d(t,{A:()=>l});var i=s(38065),n=s(91681),a=s(23587),o=s(70579);const r=function(e){let{option:t,isSelected:s,onSelect:i}=e;return(0,o.jsx)(a.A,{customClassName:"table-settings-multi-select-group-item",isSelected:s,id:t.id,onSelect:function(){i(t)},content:(0,o.jsxs)("div",{className:"is-flex-column color--text-gray",children:[(0,o.jsx)("h1",{className:"typography--secondary-body is-semi-bold-text",children:t.title}),t.description&&(0,o.jsx)("p",{className:"typography--caption",children:t.description})]})})};const l=function(e){let{options:t,onSelect:s,selectedOptions:a}=e;return(0,o.jsx)(i.B8,{items:t,customClassName:"is-flex-column",children:e=>(0,o.jsx)(r,{option:e,onSelect:s,isSelected:(0,n.p1)(a,"id",e.id)})})}},63264:(e,t,s)=>{s.d(t,{A:()=>F});var i=s(89379),n=s(65043),a=s(35909),o=s(97141);const r=new Map;var l=s(38412),c=s(85200),d=s(39917),u=s(15008);const h=function(e){let{assetIn:t,assetOut:s,onCurrentPairPriceChange:a,fetchHistoricAssetPriceData:h}=e;const m=(0,n.useRef)(t),p=(0,n.useRef)(s),g=(0,c.Y)(),y=(0,d.O7)(g,t,1),f=(0,d.O7)(g,s,1),v=y&&f?f/y:null,b=v?function(e){let t=6;if(e>0&&e<1){const s=(0,u._q)(e);t=Math.min(12,Math.abs(s)+3)}else e>1&&(t=2);return t}(Number(v)):8,A=(0,n.useRef)(b);return(0,n.useEffect)((()=>{m.current=t,p.current=s,A.current=b}),[t,s,b]),{onReady:e=>{setTimeout((()=>{e(l.zx)}))},searchSymbols:()=>{console.log("Currently symbol search is not supported")},resolveSymbol:(e,t,s)=>{if(!m.current||!p.current)return void s("Cannot resolve the asset information");const[n,a]=e.split("/");n===m.current&&a===p.current||(m.current=n,p.current=a);const o=(0,i.A)((0,i.A)({},l.GC),{},{ticker:e,name:e,description:e,base_name:[e],minmov:1});o.pricescale=Math.pow(10,A.current),setTimeout((()=>{t(o)}))},getBars:async(e,t,s,n,a)=>{const{from:r,to:c,firstDataRequest:d}=s;try{l.dU.clear();const s=await h({asset_id:Number(p.current),target_asset_id:m.current?Number(m.current):void 0,resolution:t,start_time:r,end_time:c}
1);if(!s.length)return void n([],{noData:!0});let a=[];s.forEach((e=>{e.time>=r&&e.time<c&&(a=[...a,{high:Number(e.high),low:Number(e.low),close:Number(e.close),open:Number(e.open),volume:Number(e.volume),time:e.time*o.KF}])})),d&&a.length&&l.dU.set(e.name,(0,i.A)({},a[a.length-1])),n(a,{noData:!a.length})}catch(u){a("An error occurred while retrieving the bars. Adjusting the interval may resolve the issue.")}},subscribeBars:(e,t,s,n)=>{if(!l.dU.has(e.name))return;const c=setInterval((()=>async function(e){let{symbolInfo:t,resolution:s,onRealtimeCallback:n,onFetchNextBar:a,onCurrentPairPriceChange:l,subscriberUID:c,lastBarsCache:d}=e;const u=d.get(t.name);if(!u)return;const[h,m]=t.name.split("/"),p=await a({asset_id:Number(m),target_asset_id:Number(h),resolution:s,start_time:Math.floor(u.time/o.KF)});if(!p.length)return;let g=r.get(t.name);const y={id:c,callback:n};let f;var v;g&&g.handlers.push(y),p[0].time===u.time/o.KF&&(f={high:Math.max(Number(u.high),Number(p[0].high)),low:Math.min(Number(u.low),Number(p[0].low)),close:Number(p[0].close),open:Number(p[0].open),time:p[0].time*o.KF,volume:Number(p[0].volume)},n(f),p.length>1&&(f={high:Number(p[p.length-1].high),low:Number(p[p.length-1].low),close:Number(p[p.length-1].close),open:Number(p[p.length-1].open),time:p[p.length-1].time*o.KF,volume:Number(p[p.length-1].volume)}),l&&l(f.close),d.set(t.name,(0,i.A)({},f)),g={subscriberUID:c,resolution:s,lastBar:f,handlers:[y]},r.set(t.name,(0,i.A)({},g)),null===(v=r.get(t.name))||void 0===v||v.handlers.forEach((e=>e.callback(f))))}({symbolInfo:e,resolution:t,subscriberUID:n,lastBarsCache:l.dU,onRealtimeCallback:s,onFetchNextBar:h,onCurrentPairPriceChange:a})),o.Kv/3);window[n]=c},unsubscribeBars:e=>{!function(e){for(const t of r.keys()){const s=r.get(t);if(!s)return;const i=s?s.handlers.findIndex((t=>t.id===e)):-1;if(-1!==i&&(null===s||void 0===s||s.handlers.splice(i,1),0===(null===s||void 0===s?void 0:s.handlers.length))){r.delete(t);break}}}(e),clearInterval(window[e])}}};var m=s(23056),p=s(20305);const g={fetchHistoricAssetPriceData:e=>p.A.fetcher.default.run({method:"GET",params:e},"/assets/price-charts/")};const y=function(){const{state:e,runAsyncProcess:t}=(0,m.A)();return{state:e,fetchHistoricAssetPriceData:(0,n.useCallback)((e=>t(g.fetchHistoricAssetPriceData(e))),[t])}},f=["#E3E9FF","#C8D3FF","#ADBDFF","#92A7FF","#7892FF","#5E7CFF","#4567FF","#2F56FF","#2958FF","#244FEB","#1F46D7","#1A3DC3","#1534AF","#102B9B","#0B2387","#061A73","#02125F","#00094B","#000137"],v=["#F2F2F2","#E6E6E6","#D9D9D9","#CCCCCC","#BFBF
1BF","#B3B3B3","#A6A6A6","#999999","#8D8D8D","#808080","#737373","#666666","#595959","#4D4D4D","#404040","#333333","#262626","#1A1A1A","#0D0D0D"],b=["#FFECE6","#FFD9CC","#FFB8A3","#FF987A","#FF7851","#FF5A35","#F54822","#E0411F","#CB3A1C","#B63419","#A02E17","#8B2814","#762211","#611C0E","#4D160B","#3A1008","#270A06","#140503","#0A0201"],A=["#D8C6FF","#C0A8FF","#A88CFF","#9A6EFF","#8B52FF","#7C36FF","#6D1AFF","#5C19E6","#4A18CC","#3917B3","#28169A","#170782","#06066A","#05055C","#04054E","#030440","#020332","#010224","#000116"],x=["#E6FAF1","#CCF5E3","#A3ECCC","#7AE3B5","#51DA9E","#35D28B","#0EBC73","#0DAA68","#0B985D","#0A8652","#097448","#08623D","#065033","#053E28","#042C1D","#031A12","#020F0A","#010705","#000302"],_=["#FFEDE5","#FFDCCB","#FFCAB2","#FFB899","#FFA780","#FF9566","#FF8B4A","#E77D42","#CF6F3A","#B76132","#9F532A","#874522","#6F371A","#572912","#3F1B0A","#270D02","#1A0801","#100400","#080200"],C=["#fefff2","#fcffd7","#f9ffbc","#f7fea2","#f7fea2","#f2fe6c","#f0fe52","#eefe37","#ecfe1c","#e9fd02","#d1e301","#b8c801","#a0ad01","#879301","#6f7801","#565d01","#3d4300","#252800","#0c0d00"],j={overrides:{"paneProperties.legendProperties.showSeriesTitle":!1,"paneProperties.backgroundType":"solid","paneProperties.legendProperties.backgroundTransparency":100,"mainSeriesProperties.highLowAvgPrice.highLowPriceLinesVisible":!0,"mainSeriesProperties.highLowAvgPrice.highLowPriceLabelsVisible":!0,"mainSeriesProperties.highLowAvgPrice.highLowPriceLinesColor":"#2958FF"},interval:"1D",library_path:"https://staging.tinyman.org/static/tradingview/charting_library/",locale:"en",disabled_features:["use_localstorage_for_settings","header_symbol_search","symbol_search_hot_key","left_toolbar","symbol_info_price_source","edit_buttons_in_legend","study_templates","header_compare","display_market_status","popup_hints"],enabled_features:["chart_style_hilo_last_price"],fullscreen:!1,autosize:!0,custom_themes:{light:{color1:f,color2:v,color3:b,color4:x,color5:_,color6:A,color7:C,white:"#FFFFFF",black:"#363636"},dark:{color1:f,color2:v,color3:b,color4:x,color5:_,color6:A,color7:C,white:"#FFFFFF",black:"#242424"}},loading_screen:{foregroundColor:v[9]}};var S=s(51533),N=s(70579);const F=(0,n.memo)((e=>{let{assetId:t,targetAssetId:s,onCurrentPairPriceChange:o}=e;const r=(0,a.DP)(),{fetchHistoricAssetPriceData:l}=y(),c=(0,n.useRef)(null),d=null!==t&&void 0!==t?t:S.t7.id,u=h({assetIn:d,assetOut:s,onCurrentPairPriceChange:o,fetchHistoricAssetPriceData:l}),m=(0,n.useRef)((0,i.A)((0,i.A)({},j),{},{container:"",datafeed:u,symbol:"".concat(d,"/").concat(s),theme:"dark-theme"===r?"dark":"light"})),p=(0,n.useRef)();return(0,n.useEffect)((()=>(window.TradingView&&c.current&&(window.TradingView&&c.current?(m.current=(0,i.A)((0,i.A)({},m.current),{},{container:c.current}),p.current=new window.TradingView.widget(m.current),p.current.onChartReady((()=>{p.current.setSymbol(m.current.symbol,m.current.interval)}))):console.error("TradingView library is not loaded")),()=>{p.current&&(p.current.remove(),p.current=null)})),[]),(0,n.useEffect)((()=>{p.current&&p.current.onChartReady((()=>{m.current=(0,i.A)((0,i.A)({},m.current),{},{symbol:"".concat(d,"/").concat(s),theme:"dark-theme"===r?"dark":"light"}),p.current.activeChart().setSymbol(m.current.symbol,m.current.interval),p.current.changeTheme(m.current.theme)}))}),[s,d,r]),(0,N.jsx)("div",{ref:c,className:"trading-view-chart",id:"trading-view-chart"})}))},38412:(e,t,s)=>{s.d(t,{GC:()=>n,dU:()=>a,zx:()=>i});const i={supported_resolutions:["1","2","3","5","60","120","240","1D","1W"],supports_marks:!0,supports_time:!0,symbols_types:[{name:"crypto",value:"crypto"}]},n={format:"price",session:"24x7",timezone:"Etc/UTC",minmov:1,pricescale:1e7,has_intraday:!0,visible_plots_set:"ohlc",has_weekly_and_monthly:!1,supported_resolutions:i.supported_resolutions,volume_precision:2,data_status:"streaming",type:"crypto",exchange:"Tinyman",listed_exchange:"Tinyman"},a=new Map},91681:(e,t,s)=>{function i(e,t,s){const i=[...e];return i.splice(t,0,s),i}function n(e){return JSON.parse(JSON.stringify(e))}function a(e,t,s){return e.some((e=>e[t]===s))}s.d(t,{OL:()=>i,hf:()=>n,p1:()=>a})},64551:(e,t,s)=>{s.d(t,{A:()=>a});var i=s(65043),n=s(62323);const a=function(e,t){const[s,a]=(0,i.useState)(e),o=(0,i.useCallback)((e=>{let i;e&&((null===s||void 0===s?void 0:s.by)!==e?i={by:e,direction:"desc"}:"desc"===s.direction?i={by:e,direction:"asc"}:"asc"!==s.direction||t||(i={by:e,direction:"desc"})),a(i)}),[null===s||void 0===s?void 0:s.by,null===s||void 0===s?void 0:s.direction,t]);return{orderingState:s,setNewOrderingState:o,orderingRequestParameterValue:(0,n.r)(s)}}},62323:(e,t,s)=>{function i(e){let t;return"asc"===(null===e||void 0===e?void 0:e.direction)?t=e.by:"desc"===(null===e||void 0===e?void 0:e.direction)&&(t="-".concat(e.by)),t}s.d(t,{r:()=>i})},53925:(e,t,s)=>{s.d(t,{A:()=>c});var i=s(80611),n=s(38065),a=s(98139),o=s.n(a),r=s(16082),l=s(70579);const c=function(e){let{filterOptions:t,selectedFilterOptions:s,onFilterSelect:a}=e;return(0,l.jsxs)(n.l6,{options:t,value:s,onSelect:function(e){a(e)},shouldCloseOnSelect:!1,customClassName:"pool-table-filter-settings",children:[(0,l.jsxs)(n.l6.Trigger,{customClassName:o()("is-vertically-centered","
1select-box","pool-table-filter-settings__select-trigger"),children:[(0,l.jsx)("p",{className:"typography--secondary-body",children:"Filter settings"}),(0,l.jsx)(i.h,{})]}),(0,l.jsx)(n.l6.Content,{customClassName:"pool-table-filter-settings__content",children:(0,l.jsx)(r.A,{onSelect:a,options:t,selectedOptions:s})})]})}}}]); 2//# sourceMappingURL=AnalyticsFlow.44494239.chunk.js.map
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.