PageSourceSearch

https://www.onebullex.com/_next/static/chunks/3-dc30382f87d19077.js

js onebullex.com collected 2026-10-02 15:20:27 UTC 11,431 bytes, 2 lines download raw bytes

1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},s=(new e.Error).stack;s&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[s]="9b25ed03-4966-4cde-ac58-621e2b716ecb",e._sentryDebugIdIdentifier="sentry-dbid-9b25ed03-4966-4cde-ac58-621e2b716ecb")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3],{2956:()=>{},40003:(e,s,a)=>{"use strict";a.d(s,{default:()=>N});var t=a(10176),l=a(33324),r=a(47604),i=a(27910),n=a(49035);a(2956),a(31871);var c=a(75446),o=a(51954),d=a(9192),m=a(76761),h=a(30667),p=a(38516),x=a(18163),u=a(26576),g=a(63574),b=a(53877),j=a(52692),w=a(62742);let f=(0,i.default)(()=>Promise.all([a.e(5398),a.e(3266),a.e(810)]).then(a.bind(a,60810)),{loadableGenerated:{webpack:()=>[60810]},ssr:!0,loading:()=>null}),y=(0,i.default)(()=>a.e(5529).then(a.bind(a,45529)),{loadableGenerated:{webpack:()=>[45529]},ssr:!1,loading:()=>null}),k="/assets/images/blog/arrow-dark-icon.png";function N(e){let{initialDetail:s,initialNews:a=[],initialSpotHotItems:l,marketData:r,type:i,slug:n}=e;return(0,t.jsx)(j.ContentLocaleSwitchProvider,{translations:s?.translations??null,children:(0,t.jsx)(v,{initialDetail:s,initialNews:a,initialSpotHotItems:l,marketData:r,type:i,slug:n})})}function v(e){let{initialDetail:s,initialSpotHotItems:a,marketData:i,type:j,slug:N}=e,{t:v}=(0,r.Bd)(),[I,C]=(0,l.useState)(s),{currentLocale:U,pathnameWithoutLocale:$,replace:S}=(0,h.b)(),D=(0,l.useMemo)(()=>(0,x.K)(U),[U]),{openRegisterModal:_}=(0,d.w)(),{userInfo:T}=(0,p.useUserStore)(),R="news"===j,H=(0,l.useCallback)(()=>{let e=$.includes("/academy")?"academy":$.includes("/question")?"question":"explore";S((0,w.EY)(U,`/${e}`))},[U,$,S]),A=(0,l.useRef)(H);A.current=H;let Y=(0,l.useRef)(!0);(0,l.useEffect)(()=>{if(Y.current){Y.current=!1;return}(async()=>{let e;if($.includes("/explore")?e=await (0,m.zp)(N,D):$.includes("/academy")?e=await (0,m.ah)(N,D):$.includes("/question")&&(e=await (0,m.so)(N,D)),(0,w.GV)(e))A.current();else{let s=e?.tokens&&Array.isArray(e.tokens)?e.tokens:[];e.tokens=[...new Set([...s,"BTC","ETH"])],C(e)}})()},[D,$,N]),(0,l.useEffect)(()=>{if(T?.UUID&&!R){let e=async()=>{let e;if($.includes("/explore")?e=await (0,m.zp)(N,D):$.includes("/academy")?e=await (0,m.ah)(N,D):$.includes("/question")&&(e=await (0,m.so)(N,D)),!(0,w.GV)(e)){let s=e?.tokens&&Array.isArray(e.tokens)?e.tokens:[];e.tokens=[...new Set([...s,"BTC","ETH"])],C(e)}};if(!window.matchMedia("(max-width: 767px)").matches)return void e();let s="requestIdleCallback"in window,a=s?window.requestIdleCallback(()=>e(),{timeout:2500}):window.setTimeout(e,1e3);return()=>{s?window.cancelIdleCallback(a):window.clearTimeout(a)}}},[T?.UUID,R,$,D,N]);let q=function(e){let s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"YYYY-MM-DD HH:mm";if(!e)return"--";let a=new Date(e),t={YYYY:a.getFullYear(),MM:String(a.getMonth()+1).padStart(2,"0"),DD:String(a.getDate()).padStart(2,"0"),HH:String(a.getHours()).padStart(2,"0"),mm:String(a.getMinutes()).padStart(2,"0"),ss:String(a.getSeconds()).padStart(2,"0")};return s.replace(/YYYY|MM|DD|HH|mm|ss/g,e=>t[e])},M=v($.includes("/explore")?"explore.explore":$.includes("/academy")?"explore.academy":"explore.question"),E=$.includes("/explore")?"/explore":$.includes("/academy")?"/academy":"/question",[z,B]=(0,l.useState)("");(0,l.useEffect)(()=>{B(window.location.href)},[]);let G=I?.title+"-OneBullEx",L={twitter:`https://x.com/intent/tweet?text=${encodeURIComponent(`${G} ${z}`)}`,discord:"https://discord.com/channels/@me",telegram:`https://t.me/share/url?url=${encodeURIComponent(z)}&text=${encodeURIComponent(G)}`,medium:`https://medium.com/intent/post?url=${encodeURIComponent(z)}&title=${encodeURIComponent(G)}`,linktree:`https://linktr.ee/share?url=${encodeURIComponent(z)}&text=${encodeURIComponent(G)}`,facebook:`https://www.facebook.com/sharer/sharer.php?u=${encodeURIComponent(z)}`,instagram:`https://www.instagram.com/share?url=${encodeURIComponent(z)}`,reddit:`https://www.reddit.com/submit?url=${encodeURIComponent(z)}&title=${encodeURIComponent(G)}`,linkedin:`https://www.linkedin.com/shareArticle?url=${encodeURIComponent(z)}&title=${encodeURIComponent(G)}`},P=(0,l.useCallback)(async()=>
1{if(!T?.UUID)return void _?.();try{let e;if(await (0,m.io)(String(I?.id),T.UUID?Number(T.UUID):void 0),$.includes("/explore")?e=await (0,m.zp)(N,D):$.includes("/academy")?e=await (0,m.ah)(N,D):$.includes("/question")&&(e=await (0,m.so)(N,D)),!(0,w.GV)(e)){let s=e?.tokens&&Array.isArray(e.tokens)?e.tokens:[],a=[...new Set([...s,"BTC","ETH"])];e.tokens=a,C(e)}}catch(e){console.error("Like failed:",e)}},[I?.id,T?.UUID,_,$,D,N]),V=I?.summary||I?.answer,F=!!V&&V.replace(/<[^>]*>/g,"").trim().length>0,K=Array.isArray(I?.category)&&I.category.length>0,O=Array.isArray(I?.tags)&&I.tags.length>0,W=Array.isArray(I?.tokens)&&I.tokens.length>0;return(0,t.jsx)(n.default,{children:(0,t.jsx)("div",{className:"explore-page",children:(0,t.jsx)("div",{className:"explore-container",children:(0,t.jsxs)("div",{className:"explore-layout",children:[(0,t.jsxs)("div",{className:"explore-main",children:[(0,t.jsxs)("nav",{className:"blog-detail-breadcrumb",children:[(0,t.jsx)(o.c,{href:"/",className:"blog-breadcrumb-cat blog-breadcrumb-link",children:v("navigation.home")}),(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("span",{className:"blog-breadcrumb-sep",children:(0,t.jsx)("img",{src:k,alt:""})}),(0,t.jsx)(o.c,{href:R?"/explore":E,className:"blog-breadcrumb-cat blog-breadcrumb-link",children:R?v("explore.news"):M})]}),(0,t.jsx)("span",{className:"blog-breadcrumb-sep",children:(0,t.jsx)("img",{src:k,alt:""})}),(0,t.jsx)("span",{className:"blog-breadcrumb-current",children:I?.title})]}),(0,t.jsxs)("div",{children:[(0,t.jsx)("div",{className:"news-page-head",children:(0,t.jsx)("h1",{children:I?.title})}),F&&(0,t.jsx)("div",{className:"news-highlight",dangerouslySetInnerHTML:{__html:V}}),(0,t.jsxs)("div",{className:"news-time",children:[(0,t.jsxs)("span",{children:[(0,t.jsx)("img",{src:"/assets/images/explore/time.svg",className:"coin-icon",alt:""})," ",v("explore.createTime"),":",(0,t.jsx)("span",{children:q(I?.created_at)})]}),(0,t.jsxs)("span",{children:[(0,t.jsx)("img",{src:"/assets/images/explore/time.svg",className:"coin-icon",alt:""})," ",v("explore.updateTime"),":",(0,t.jsx)("span",{children:q(I?.updated_at)})]})]}),!R&&(K||W)&&(0,t.jsxs)("div",{className:"news-meta",children:[K&&(0,t.jsxs)("div",{className:"meta-box",children:[(0,t.jsx)("div",{className:"meta-label",children:v("explore.category")}),(0,t.jsx)(o.c,{href:`${E}/categories/${I.category[0].display_slug}`,children:(0,t.jsx)("div",{className:"meta-tags",children:(0,t.jsxs)("span",{className:"tabs check",children:[(0,t.jsx)("img",{src:"/assets/images/explore/grid.svg",className:"coin-icon",alt:""}),I.category[0].name]})})})]}),W&&(0,t.jsxs)("div",{className:"meta-box",children:[(0,t.jsx)("div",{className:"meta-label",children:v("explore.tokens")}),(0,t.jsx)("div",{className:"content-data",children:(0,t.jsx)("div",{className:"content-data-coin",children:I.tokens.map(e=>{let s=(e=>{let s=a?.find(s=>s.symbol===e);if(s)return s;let t=i?.spot,l=i?.futures,r=t?.gainers?.find(s=>s.symbol===e);if(r)return r;let n=t?.hot?.find(s=>
1s.symbol===e);if(n)return n;let c=t?.items?.find(s=>s.symbol===e);if(c)return c;let o=l?.gainers?.find(s=>s.symbol===e);if(o)return o;let d=l?.hot?.find(s=>s.symbol===e);if(d)return d;let m=l?.items?.find(s=>s.symbol===e);return m||`${e}-USDT`})(e),l=s?.quotation?.changePercent?.startsWith?.("-");return(0,t.jsxs)(o.c,{href:`/futures/${(0,g.Hw)((0,u.Kw)(s))}`,className:"coin-data",children:[(0,t.jsxs)("div",{className:"market-row-left",children:[(0,t.jsx)("img",{src:s?.icon||"/assets/images/explore/token-placeholder.svg",alt:s?.name||e,className:"coin-icon",width:20,height:20,loading:"lazy",decoding:"async"}),(0,t.jsx)("span",{className:"pair",children:e})]}),(0,t.jsx)("div",{className:"market-row-price",children:(0,t.jsx)("span",{className:"price",children:(0,b.b0)(s?.quotation?.latestPrice)})}),(0,t.jsx)("div",{className:"market-row-change",children:(0,t.jsx)("span",{className:`change ${l?"negative":"positive"}`,children:s?.quotation?.changePercent||"--"})})]},e)})})})]})]}),!R&&O&&(0,t.jsxs)("div",{style:{margin:"24px 0"},children:[(0,t.jsx)("div",{className:"meta-label",children:v("explore.tags")}),(0,t.jsx)("div",{className:"meta-tags-list",children:I.tags.map(e=>(0,t.jsx)(o.c,{href:`/tags/${decodeURIComponent(e.display_slug)}`,className:"meta-tags",children:(0,t.jsxs)("span",{className:"tabs",children:["#",e.name]})},e.display_slug))})]}),(0,t.jsx)("div",{className:"article-section",dangerouslySetInnerHTML:{__html:function(e){if(!e)return"";let s=0;return e.replace(/<img\b([^>]*?)>/gi,(e,a)=>{let t=a;return 1===(s+=1)?/\bfetchpriority\s*=/i.test(t)||(t+=' fetchpriority="high"'):/\bloading\s*=/i.test(t)||(t+=' loading="lazy"'),/\bdecoding\s*=/i.test(t)||(t+=' decoding="async"'),`<img${t}>`})}(I?.content)}}),(0,t.jsxs)("div",{className:"explore-share",children:[(0,t.jsxs)("div",{className:"explore-share-button",children:[(0,t.jsxs)("div",{className:"explore-share-text",children:[v("explore.shareOn"),":"]}),(0,t.jsx)("div",{className:"explore-share-to",onClick:()=>{window.open(L.twitter,"_blank","noopener,noreferrer")},children:"Twitter/X"}),(0,t.jsx)("div",{className:"explore-share-to",onClick:()=>{window.open(L.telegram,"_blank","noopener,noreferrer")},children:"Telegram"}),(0,t.jsx)("div",{className:"explore-share-to",onClick:()=>{window.open(L.linkedin,"_blank","noopener,noreferrer")},children:"LinkedIn"})]}),(0,t.jsxs)("div",{className:"explore-share-like explore-share-like--desktop",onClick:P,children:[(0,t.jsx)("img",{src:I?.likes?.liked?"/assets/images/explore/heart-check.svg":"/assets/images/explore/heart.svg",className:"explore-shar-icon",alt:""}),v("explore.like")]})]}),(0,t.jsxs)("button",{className:"explore-like-mobile",onClick:P,children:[(0,t.jsx)("img",{src:I?.likes?.liked?"/assets/images/explore/heart-check.svg":"/assets/images/explore/heart.svg",className:"explore-shar-icon",alt:""}),v("explore.like")]}),(0,t.jsx)("div",{className:"limited-time",children:(0,t.jsxs)("div",{className:"limited-inner",children:[(0,t.jsx)("div",{className:"limited-title",children:v("explore.limitedTime")}),(0,t.jsx)("div",{className:"limited-content",children:v("explore.newUser")}),(0,t.jsx)("div",{className:"limited-start",children:v("explore.startTrade")})]})}),!R&&(0,t.jsxs)("div",{className:"explore-related",children:[(0,t.jsx)("div",{className:"explore-related-title",children:v("explore.related")}),(0,t.jsx)("div",{className:"explore-related-list",children:I?.related&&I.related.map(e=>(0,t.jsxs)(o.c,{href:`${E}/${e?.display_slug||e.slug}`,className:"explore-related-box",children:[(0,t.jsx)("img",{src:e?.image||"",alt:"",loading:"lazy",decoding:"async"}),(0,t.jsxs)("div",{className:"explore-related-padding",children:[(0,t.jsx)("div",{className:"explore-related-category",children:e?.category?.name}),(0,t.jsx)("div",{className:"explore-related-title0",children:e?.title}),(0,t.jsx)("div",{className:"explore-related-date",children:e?.date})]})]},e?.slug))})]})]})]}),(0,t.jsxs)("div",{className:"explore-sidebar",children:[(0,t.jsx)(f,{}),(0,t.jsx)(c.A,{children:(0,t.jsx)(y,{initialHotItems:a})})]})]})})})})}}}]);
2//# sourceMappingURL=3-dc30382f87d19077.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.