Files

33 lines
162 KiB
Plaintext
Raw Normal View History

2026-11-06 08:29:11 +08:00
0\r§mûüTïNhttps://now.bdstatic.com/store/v2/e8a15f8/fe-cms/46416aa/js/6428.a51a3d6765a9a66b.js"use strict";(self.webpackChunkFeReactApp=self.webpackChunkFeReactApp||[]).push([["6428"],{349833:function(e,t,n){var i=n(728359),a=n.n(i);t.A=(0,n(490289).A)("BjhBasicGengduoSmall",()=>a().createElement("svg",{height:"1em",width:"1em",fill:"none",viewBox:"0 0 48 48",xmlns:"http://www.w3.org/2000/svg"},a().createElement("path",{d:"M32.5 14.501 42 24l-9.5 10.499",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"4"})))},955644:function(e,t,n){n.d(t,{A:function(){return p}}),n(695856),n(201405),n(428995);var i=n(491188),a=n(728359),r=n(730681),d=n(100113),o=n.n(d),l=n(696157),c=n(945091);function s(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=Array(t);n<t;n++)i[n]=e[n];return i}function m(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=Array(t);n<t;n++)i[n]=e[n];return i}function y(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n,i,a=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=a){var r=[],d=!0,o=!1;try{for(a=a.call(e);!(d=(n=a.next()).done)&&(r.push(n.value),!t||r.length!==t);d=!0);}catch(e){o=!0,i=e}finally{try{d||null==a.return||a.return()}finally{if(o)throw i}}return r}}(e,t)||function(e,t){if(e){if("string"==typeof e)return m(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return m(e,t)}}(e,t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var p=e=>{var t=e||{},n=t.data,d=n.url,m=n.course_id,p=n.cover,u=n.type,h=n.level,_=n.title,x=n.view_count,b=n.duration,k=n.iscollected,f=t.needExposure,v=t.onClickCallback,g=void 0===v?()=>{}:v,w=t.onCollectCallback,I=void 0===w?()=>{}:w,j=t.itemExposeCb,N=void 0===j?()=>{}:j,D=t.completeCourseAPI,A=void 0===D?"/activity/bjhcollege/completeCourse":D,S=t.needCollect,T=t.className,P=y((0,a.useState)("0px"),2),O=P[0],C=P[1],F=y((0,a.useState)(null),2),Y=F[0];F[1];var z=(0,a.useRef)(null),M=()=>{m&&l.request.get(A,{course_id:m}),g&&g()};(0,a.useEffect)(()=>{var e;e=0,h&&Y&&(e=Y.clientWidth+4),C("".concat(e,"px")),f&&((e,t)=>{if(window.IntersectionObserver){var n=(null==t?void 0:t.observerOptions)||{threshold:[0,.5,1]},i=null;(i=new IntersectionObserver(a=>{var r=(function(e){if(Array.isArray(e))return e}(a)||function(e,t){var n,i,a=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=a){var r=[],d=!0,o=!1;try{for(a=a.call(e);!(d=(n=a.next()).done)&&(r.push(n.value),1!==r.length);d=!0);}catch(e){o=!0,i=e}finally{try{d||null==a.return||a.return()}finally{if(o)throw i}}return r}}(a,1)||function(e,t){if(e){if("string"==typeof e)return s(e,1);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return s(e,1)}}(a,1)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}())[0];r.isIntersecting?r.intersectionRatio>=n.threshold[1]&&("expose"!==e.expose&&t.onExpose(e),e.expose="expose",!t.always&&"function"!=typeof t.onHide&&i&&i.unobserve(e)):"function"==typeof t.onHide&&"expose"===e.expose&&(t.onHide(e),e.expose=void 0,!t.always&&i&&i.unobserve(e))},n)).observe(e)}})(z.current,{onExpose(){N&&N(m)},onHide(){}})},[]);var R=(0,a.useCallback)(()=>{window.open(d,"_blank"),M()},[d,M]),E=(0,a.useCallback)(()=>{var e=k?c.kV.cancelcollection:c.kV.collection;l.request.get(e,{course_id:m}).then(e=>{0===e.errno?I():r.message.error(e.errmsg)}).catch()},[k,m]);return(0,i.jsx)("div",{className:o()("client_components_courseItem component-course-item",void 0===T?"":T),ref:z,childre
//# sourceMappingURL=6428.a51a3d6765a9a66b.js.mapØA
—Eoúô*TD€
GET (Ý È"
accept-rangesbytes"(
access-control-allow-credentialstrue"
access-control-allow-origin*"
age3644"G
cache-control6public, max-age=31536000, s-maxage=31536000, immutable"
content-encodingbr"'
content-md5hrHZYEPbiTEqSwewVT0gLA=="5
content-type%application/javascript; charset=utf-8"%
dateThu, 05 Nov 2026 09:11:34 GMT"*
etag""86b1d96043db89312a4b07b0553d202c""(
expiresSun, 08 Nov 2026 07:55:28 GMT".
last-modifiedThu, 05 Nov 2026 06:18:38 GMT")
ohc-cache-hitcz7cm51 [2], cdix105 [2]"
ohc-file-size31660"6
ohc-global-saved-timeThu, 05 Nov 2026 07:55:28 GMT"
server JSP3/2.0.14"+
strict-transport-securitymax-age=259200"
timing-allow-origin*"!
x-bce-content-crc32
2151961642""
x-bce-content-crc32c
3216153357".
x-bce-content-crc64ecma8068645159753223856"j