PageSourceSearch

https://new.pingi.co/_next/static/chunks/pages/markets/components/TopVolumeMarket-cb4fc77050ff45df.js

js pingi.co collected 2026-09-24 11:39:23 UTC 7,077 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5817],{36863:function(e,t,a){(window.__NEXT_P=window.__NEXT_P||[]).push(["/markets/components/TopVolumeMarket",function(){return a(10654)}])},93917:function(e,t,a){"use strict";a.r(t),a.d(t,{default:function(){return l}});var r=a(85893);a(67294);var m=a(39327),s=a(2353),o=a(28904);function l(e){var t=e.title,a=e.coin,l=e.price,i=e.change,c=(e.href,e.as,e.platform);return(0,r.jsxs)("div",{className:"p-4 w-80 bg-white dark:bg-[var(--color-layer-one)] rounded-[8px]",children:[(0,r.jsxs)("div",{className:"flex items-center justify-between",children:[(0,r.jsx)("div",{className:"font-semibold text-black dark:text-[var(--text-color)]",children:t}),(0,r.jsxs)("div",{className:"flex items-center",children:[(0,r.jsxs)("div",{className:"text-left ml-2",children:[(0,r.jsx)("div",{className:"text-uxs font-medium",children:a.from[0]}),(0,r.jsx)("div",{className:"text-uxs text-[#959595] dark:text-[var(--text-color-scondary)]",children:a.from[1]})]}),(0,r.jsx)("div",{children:(0,r.jsx)("img",{className:"w-8 h-8",src:"".concat(o.Z.ICON_URL,"/crypto/").concat(a.from[1].toLowerCase(),".png"),alt:"آیکون ".concat(a.from[0])})})]})]}),(0,r.jsxs)("div",{className:"flex items-center justify-between pt-4",children:[(0,r.jsx)("div",{className:"flex items-center font-semibold text-xs ".concat(i>0?"buy-color":"sell-color"),children:c===s.K.platformType.P2P&&(0,r.jsxs)("div",{children:[Math.abs(i),"%",i>0?(0,r.jsx)(m.qwl,{}):(0,r.jsx)(m.dbR,{})]})}),(0,r.jsx)("div",{className:"flex items-center",children:(0,r.jsx)("div",{className:"text-left ml-2",children:(0,r.jsxs)("div",{className:"text-xs font-medium",children:[l,(0,r.jsx)("span",{className:"mr-1 text-[#959595] dark:text-[var(--text-color-scondary)]",children:a.to[0]})]})})})]})]})}},60928:function(e,t,a){"use strict";a.r(t),a.d(t,{default:function(){return s}});var r=a(85893);a(67294);var m=a(50549);function s(e){var t=e.mobile;return t?(0,r.jsx)(m.Z,{baseColor:"var(--place-holder-one)",highlightColor:"var(--place-holder-two)",style:{width:"280px",borderRadius:0,height:"92px"},count:1}):(0,r.jsx)(m.Z,{baseColor:"var(--place-holder-one)",highlightColor:"var(--place-holder-two)",style:{maxWidth:t?"280px":"100%",borderRadius:0,height:t?"92px":"160px"},count:1})}},10654:function(e,t,a){"use strict";a.r(t);var r=a(85893),m=a(67294),s=a(60928);a(41664);var o=a(2353),l=a(9473),i=a(93917);a(50338);var c=a(96486),n=a.n(c),k=a(60912),d=a.n(k),p=a(39327),h=a(28904),$=function(e){var t,a=e.markets,c=e.marketsState,k=(0,m.useState)({}),$=k[0],x=k[1],u=(0,m.useState)(!0),f=u[0],b=u[1],v=(0,m.useState)(!0),g=v[0],j=v[1],y=(0,l.v9)(function(e){return e.Theme});return(0,m.useEffect)(function(){if(!n().isEmpty(a)&&!n().isEmpty(c)){var e=$;a.map(function(t){(n().isEmpty(e)||e.market_volume<t.market_volume&&t.market_platform===o.K.platformType.P2P)&&(e=t)}),n().isEmpty(e)||(x(e),j(e.pk),b(o.K.isFiatMarket(c[e.pk])))}},[a,c]),n().isEmpty($)||void 0===c[g]?(0,r.jsx)(s.default,{mobile:y.mobileView}):(0,r.jsx)(r.Fragment,{children:y.mobileView?(0,r.jsx)(i.default,{href:1===c[g].platform_type?"/quick-trade/".concat(c[g].from[1].toLowerCase()):"/market/[marketInfo]",as:1===c[g].platform_type?"/quick-trade/".concat(c[g].from[1].toLowerCase()):"/market/".concat(c[g].from[1].toLowerCase(),"-").concat(c[g].to[1].toLowerCase(),"-").concat(g),title:"بیشترین حجم معاملات",platform:c[g].platform_type,change:c[g].platform_type===o.K.platformType.P2P&&$.market_change.toFixed(3),coin:c[g],price:o.K.localNumberFormat($.market_price,f)}):(0,r.jsxs)("a",{title:"بازار ".concat(c[g].market),children:[(0,r.jsxs)("div",{children:[(0,r.jsx)("p",{className:d().markets__tops__title,children:"بیشترین حجم معاملات"}),(0,r.jsx)("p",{className:"".concat(d().markets__tops__change," ").concat($.market_change>=0?"positive":"negative"),children:c[g].platform_type===o.K.platformType.P2P&&(t=Number($.market_change.toFixed(3)),(0,r.jsxs)("span",{className:"persian-number-mono",children:[Math.abs(t),"٪",t>0?(0,r.jsx)(p.qwl,{}):(0,r.jsx)(p.dbR,{})]}))})]}),(0,r.jsxs)("div",{children:[(0,r.jsxs)("p",{className:d().markets__tops__pair,children:[(0,r.jsx)("img",{src:"".concat(h.Z.ICON_URL,"/crypto/").concat(c[g].from[1].toLowerCase(),".png"),alt:"آیکون ".concat(c[g].from[0])}),(0,r.jsxs)("div",{children:[(0,r.jsx)("span",{children:c[g].from[0]}),(0,r.jsx)("span",{children:c[g].from[1]})]})]}),(0,r.jsxs)("p",{className:d().markets__tops__price,children:[(0,r.jsx)("span",{children:o.K.localNumberFormat($.market_price,f)})," ",(0,r.jsx)("small",{children:c[g].to[0]})]})]})]})})};t.default=$}
1,60912:function(e){e.exports={"modal-without-padding-content":"markets_modal-without-padding-content__pdlFH",market_mobile__category__modal:"markets_market_mobile__category__modal__vZ1Xd","modal-full-area-content":"markets_modal-full-area-content__78Jld",markets:"markets_markets__pJehI",markets__tops:"markets_markets__tops__iZBH0",markets__tops__title:"markets_markets__tops__title__uQ7ve",markets__tops__pair:"markets_markets__tops__pair__PCvJO",markets__tops__change:"markets_markets__tops__change__txe7U",markets__tops__price:"markets_markets__tops__price__e4vxM",markets__mobile__tops:"markets_markets__mobile__tops__NhA3j","ant-typography":"markets_ant-typography__dV3sl",markets__more:"markets_markets__more__FYm6g",market:"markets_market__2Y_QW",market__controls:"markets_market__controls__nzLVX",market__tags:"markets_market__tags__ymCx6",market__sort:"markets_market__sort__pUZgD",market__search:"markets_market__search__wCgzZ",market__switch:"markets_market__switch__lzg9U",market__head:"markets_market__head__nyqoy",market__head__sort:"markets_market__head__sort__9hk62",market__item:"markets_market__item__ku1o3",market__change:"markets_market__change__9xPkj",market__volume:"markets_market__volume__YUiaX",market__link:"markets_market__link__gsV6O",market__exchange_load:"markets_market__exchange_load__ovuNS",market__soon:"markets_market__soon__OAGYM",market_mobile:"markets_market_mobile___dny3",market_mobile__controls:"markets_market_mobile__controls__qCd8v",market_mobile__tags:"markets_market_mobile__tags__4z12M",market_mobile__sort:"markets_market_mobile__sort__TCbXJ",market_mobile__sort__overlay:"markets_market_mobile__sort__overlay__94ET6","ant-space":"markets_ant-space__n0Tgm",market_mobile__search:"markets_market_mobile__search__kC0n_",market_mobile__switch:"markets_market_mobile__switch__kYeel",market_mobile__table:"markets_market_mobile__table__C0Luh",market_mobile__head:"markets_market_mobile__head__8WSJe",market_mobile__item_link:"markets_market_mobile__item_link__JStuO",market_mobile__item:"markets_market_mobile__item__17LaJ",market_mobile__change:"markets_market_mobile__change__NbS_y",market_mobile__exchange_load:"markets_market_mobile__exchange_load__eWf0j",market_mobile__dashboard_load:"markets_market_mobile__dashboard_load__Dzu31",market_mobile__category:"markets_market_mobile__category__2E9qo"}}},function(e){e.O(0,[4090,9774,2888,179],function(){return e(e.s=36863)}),_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.