PageSourceSearch

https://news.cnyes.com/_next/static/chunks/9609.34ddac1f1b15b4d1.js

js cnyes.com collected 2026-09-24 08:54:52 UTC 2,605 bytes, 2 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9609],{78560:function(s,e,r){"use strict";r.d(e,{Z:function(){return d}});var t=r(30748),l=r(74193),n=r(90275);let o=(0,l.z)("div")({name:"Container",class:"cgwevlv",propsAsIs:!1}),i=(0,l.z)("h3")({name:"Title",class:"t1mmzjbz",propsAsIs:!1}),c=(0,l.z)("div")({name:"TitleInfo",class:"t1thwy6j",propsAsIs:!1});var u=(0,n.memo)(s=>{let{title:e,RightContent:r}=s;return(0,t.jsxs)(o,{children:[(0,t.jsx)(i,{children:(0,t.jsx)(c,{children:e})}),r&&r]})});r(97789);var d=u},43890:function(s,e,r){"use strict";var t=r(30748),l=r(74193),n=r(90275);let o=(0,l.z)("div")({name:"SliderBox",class:"s1kkel3d",propsAsIs:!1}),i=(0,l.z)("div")({name:"Container",class:"c1952db0",propsAsIs:!1,vars:{"c1952db0-0":[s=>s.gap||8,"px"]}}),c=(0,l.z)("button")({name:"LeftArrow",class:"l10dsz9g",propsAsIs:!1,vars:{"l10dsz9g-0":[s=>{let{buttonPadding:e}=s;return e||0},"px"]}}),u=(0,l.z)("button")({name:"RightArrow",class:"r18vu9xh",propsAsIs:!1,vars:{"r18vu9xh-0":[s=>{let{buttonPadding:e}=s;return e||0},"px"]}});e.default=(0,n.memo)(function(s){let{children:e,gap:r,buttonPadding:l}=s,[d,a]=(0,n.useState)(0),[v,f]=(0,n.useState)(!1),[h,p]=(0,n.useState)(!1),[m,x]=(0,n.useState)(!1),g=(0,n.useRef)(null),z=function(){let s=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;if(g.current){var e;let{offsetWidth:r,scrollWidth:t}=g.current,l=null===(e=g.current.childNodes[s])||void 0===e?void 0:e.offsetLeft;f(t>r),p(l>0),x(l+r<t)}};return(0,n.useEffect)(()=>{g.current&&z()},[g.current]),(0,t.jsxs)(o,{children:[v&&h&&(0,t.jsx)(c,{onClick:()=>{if(d-1>=0){var s,e,r;a(d-1),null===(r=g.current)||void 0===r||r.scrollTo({left:null===(e=g.current)||void 0===e?void 0:null===(s=e.childNodes[d-1])||void 0===s?void 0:s.offsetLeft,behavior:"smooth"}),z(d-1)}},buttonPadding:l,children:(0,t.jsx)("img",{src:"/assets/icons/arrows/arrow-simple-prev.svg",alt:"left-arrow"})}),(0,t.jsx)(i,{ref:g,gap:r,children:e}),v&&m&&(0,t.jsx)(u,{onClick:()=>{if(g.current&&d+1<g.current.childNodes.length){var s,e,r;a(d+1),null===(r=g.current)||void 0===r||r.scrollTo({left:null===(e=g.current)||void 0===e?void 0:null===(s=e.childNodes[d+1])||void 0===s?void 0:s.offsetLeft,behavior:"smooth"}),z(d+1)}},buttonPadding:l,children:(0,t.jsx)("img",{src:"/assets/icons/arrows/arrow-simple-next.svg",alt:"right-arrow"})})]})}),r(81540)},97789:function(s){s.exports={cgwevlv:"cgwevlv",t1mmzjbz:"t1mmzjbz",t1thwy6j:"t1thwy6j"}},81540:function(s){s.exports={s1kkel3d:"s1kkel3d",c1952db0:"c1952db0",l10dsz9g:"l10dsz9g",r18vu9xh:"r18vu9xh"}}}]);
2//# sourceMappingURL=9609.34ddac1f1b15b4d1.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.