PageSourceSearch

https://coinness.com/static/StockBreakingNewsDetailPage-CrZkKx5P.js

js coinness.com collected 2026-09-24 10:11:26 UTC 4,383 bytes, 1 lines download raw bytes

1import{r as x,j as e,x as B}from"./vendor-react-BAPsjU3S.js";import{a1 as d,l as g,cQ as C,cR as A,a3 as j,cS as v,cO as I,cT as O,cU as P,ac as b,cV as k,cW as f,cX as q,cY as E,cZ as F,F as m,c_ as T,c$ as w,d0 as D,cP as y,_ as K,$ as _,d1 as M,aj as R,x as L,T as V,d2 as W,cJ as $,a7 as J}from"./main-CmsJgsAj.js";import{S as Q}from"./StockBreakingNewsDetailErrorBoundary-BO5NLrQx.js";import{u as h}from"./vendor-query-CEq1LORh.js";import{u as G,c as U,d as Y}from"./vendor-router-CShG477X.js";import{u as N}from"./vendor-i18n-BvsFtJyE.js";import{S as H}from"./StockPoll-BEtMCmaB.js";import"./vendor-date-CNncarj5.js";import"./vendor-utils-qhgP5WXb.js";import"./vendor-firebase-8ZGSFgHZ.js";import"./vendor-charts-BqSOdzsP.js";import"./vendor-editor-CBbJ40fq.js";import"./vendor-virtualized-DTebAlVP.js";import"./vendor-ui-CVkLAbry.js";import"./vendor-table-C-3wtMGU.js";import"./vendor-lottie-C1U3bXqh.js";import"./vendor-select-Bd6lB9cE.js";import"./vendor-tradingview-BCsEWulr.js";import"./vendor-webgl-8MiK7BZ-.js";function X({newsId:s,currLanguage:r}){const n=G(),a=window.location.origin+n.pathname,{t:o}=N(),[c,i]=x.useState(!1),l=x.useRef(null),{data:t}=h({queryKey:d["stock-breaking-news"].detail(s).queryKey,queryFn:()=>y(s,{languageCode:r}),throwOnError:!0});if(g({ref:l,callback:()=>i(!1)}),!t)return e.jsx(e.Fragment,{});const u=C({title:t.title,url:a,description:t.content,image:null,keywords:[],publishAt:t.publishAt,updatedAt:t.publishAt}),p={...t,originCodes:[],categoryId:0,contentImage:null,link:null,linkTitle:null,isObserve:!1,quickOrderCode:null,commentCount:0,isTranslated:!1};return e.jsxs(A,{children:[e.jsx(j,{title:`${t.title} - CoinNess`,description:t.content}),e.jsx("script",{type:"application/ld+json",children:JSON.stringify(u)}),e.jsx(v,{children:e.jsx(I,{link:"/stock-news",isMobile:!0,children:o("economic_breaking_news")})}),e.jsxs("div",{className:"px-[16px]",children:[e.jsx(O,{isImportant:t.isImportant,children:t.title}),e.jsx(P,{children:b(r,{en:f(t.publishAt,!0),ja:k(t.publishAt,!0)})}),e.jsx(q,{children:t.content}),e.jsxs(E,{children:[e.jsx(F,{news:{...t,commentCount:0},isGlobal:!0,hideInteraction:!0}),e.jsx(m,{children:e.jsxs(T,{ref:l,children:[e.jsx("button",{onClick:()=>i(!0),children:e.jsx(w,{width:"20",height:"20"})}),c&&e.jsx(D,{setShowShareBox:i,news:p,basePath:"/stock-news"})]})})]})]})]})}function Z({newsId:s,currLanguage:r}){K(_.ECONOMY_DETAIL);const n=x.useRef(null),{popoverOpen:a,closePopover:o,togglePopover:c}=M(),{t:i}=N(),{isLoggedIn:l}=R(),{data:t}=h({queryKey:d["stock-breaking-news"].detail(s).queryKey,queryFn:()=>y(s,{languageCode:r}),throwOnError:!0}),{data:u}=h({queryKey:d["stock-breaking-news"].bulls(s).queryKey,queryFn:()=>$(s),enabled:l,select:S=>S.status});if(g({ref:n,callback:o}),!t)return e.jsx(e.Fragment,{});const p={...t,originCodes:[],categoryId:0,contentImage:null,link:null,linkTitle:null,quickOrderCode:null,commentCount:0};return e.jsxs("section",{className:"mt-[40px] box-border w-full",children:[e.jsx(j,{title:`${t.title} - CoinNess`,description:t.content}),e.jsxs("article",{className:"px-[32px]",children:[e.jsx("h1",{className:L("mb-[16px] text-[36px] leading-[44px] font-semibold break-all",t.isImportant?"text-keycolor-system-orange":"text-text-txt-06"),children:t.title}),e.jsx("div",{className:"mb-[24px] flex items-center border-b border-line-line-02 py-[8px] text-[14px] leading-[22px] font-normal text-text-txt-03",children:e.jsx("span",{children:t.publishAt&&b(r,{en:f(t.publishAt,!0),ja:k(t.publishAt,!0)})})}),e.jsx("div",{className:"mb-[20px] flex flex-col gap-[16px] text-[16px] leading-[24px] font-normal whitespace-pre-wrap text-text-txt-05",children:t.content}),e.jsxs("div",{className:"mt-[24px] flex items-center justify-between border-b border-line-line-02 pr-[8px] pb-[12px]",children:[e.jsx(m,{children:e.jsx(H,{news:t,pollStatus:u})}),e.jsx(m,{children:e.jsxs("div",{className:"relative flex items-center",ref:n,children:[e.jsx(V,{className:"h-[24px] w-[24px]",onClick:c,tooltip:i("share_title"),children:e.jsx(w,{width:"24",height:"24"})}),a&&e.jsx(W,{closePopover:o,news:p,basePath:"/stock-news"})]})})]})]})]})}function be(){const{currMainPage:s,currLanguage:r}=J(),{id:n}=U(),a=Number(n);return isNaN(a)?e.jsx(Y,{to:s,replace:!0}):e.jsx(Q,{children:B.isMobile?e.jsx(X,{newsId:a,currLanguage:r}):e.jsx(Z,{newsId:a,currLanguage:r})})}
1export{be as default};

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.