Files

32 lines
3.7 KiB
Plaintext
Raw Normal View History

2026-11-06 08:29:11 +08:00
0\r§mûüT-Þîhttps://now.bdstatic.com/store/v2/e8a15f8/fe-cms/46416aa/js/9311.fdfd91f3ca9fb38e.js"use strict";(self.webpackChunkFeReactApp=self.webpackChunkFeReactApp||[]).push([["9311"],{486914:function(e,t,r){r.r(t);var n=r(491188),l=r(728359),a=r.n(l);function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function u(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r,n,l=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=l){var a=[],o=!0,u=!1;try{for(l=l.call(e);!(o=(r=l.next()).done)&&(a.push(r.value),!t||a.length!==t);o=!0);}catch(e){u=!0,n=e}finally{try{o||null==l.return||l.return()}finally{if(u)throw n}}return a}}(e,t)||function(e,t){if(e){if("string"==typeof e)return o(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if("Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r)return Array.from(r);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return o(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 i={height:"0px"},c=e=>{var t=e.onClick,r=e.isfold,l=e.foldText,a=e.unfoldText;return(0,n.jsx)("div",{className:"toggle-btn",onClick:t,children:r?l:a})};t.default=e=>{let t,r,o,s;var f=e.UnfoldBtn,d=e.children,h=e.maxLineCount,p=void 0===h?2:h,v=e.foldText,y=e.unfoldText,m=u((0,l.useState)(!0),2),x=m[0],g=m[1],b=u((0,l.useState)(!1),2),j=b[0],S=b[1],A=u((0,l.useState)(i),2),C=A[0],k=A[1],w=(0,l.useRef)(null),T=(0,l.useRef)(null);return(0,l.useEffect)(()=>{var e,t,r,n;e=T.current,r=parseInt((t=window.getComputedStyle(e,null)).lineHeight,10),w.current=[Math.round((n=parseInt(t.height,10))/r),r,n],u(w.current,1)[0]>p?(S(!0),g(!0)):g(!1)},[d,p]),(0,l.useEffect)(()=>{var e=u(w.current,3),t=e[1],r=e[2];x?k({maxHeight:t*p}):k({maxHeight:r})},[j,x,p]),(0,n.jsxs)("div",{className:"client_layouts_header_unfold",children:[(0,n.jsx)("div",{className:"delay",style:C,children:a().cloneElement(d,{ref:T})}),j&&(0,n.jsxs)("div",{className:"btn-wrapper",children:[x&&(0,n.jsx)("span",{children:"..."}),(t=void 0===f?c:f,r=()=>{g(!x)},o=void 0===v?"\u5C55\u5F00\u5168\u90E8":v,s=void 0===y?"\u6536\u8D77\u5168\u90E8":y,(0,n.jsx)(t,{isfold:x,onClick:r,foldText:o,unfoldText:s}))]})]})}}}]);
//# sourceMappingURL=9311.fdfd91f3ca9fb38e.js.mapØA
—Eoúônµ‚'
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-md5bU36+PaB2SPTleHBIp3zzg=="5
content-type%application/javascript; charset=utf-8"%
dateThu, 05 Nov 2026 09:11:35 GMT"*
etag""6d4dfaf8f681d923d395e1c1229df3ce""(
expiresSun, 08 Nov 2026 07:55:34 GMT".
last-modifiedThu, 05 Nov 2026 06:18:38 GMT"*
ohc-cache-hitcz7cm66 [2], sz2ix110 [2]"
ohc-file-size1255"6
ohc-global-saved-timeThu, 05 Nov 2026 07:55:34 GMT"
server JSP3/2.0.14"+
strict-transport-securitymax-age=259200"
timing-allow-origin*"
x-bce-content-crc32 662877550""
x-bce-content-crc32c
2244221246"/
x-bce-content-crc64ecma11849021245416430241"j