PageSourceSearch

https://jidipi.com/_next/static/chunks/4781.d4a67ef826b742ed.js

js jidipi.com collected 2026-10-02 12:14:07 UTC 10,942 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4781],{4781:(t,e,r)=>{r.d(e,{Y1:()=>O,_m:()=>x});var n=r(44501),o=r(1584),i=r(74767),l=Number.isNaN||function(t){return"number"==typeof t&&t!=t};function a(t,e){if(t.length!==e.length)return!1;for(var r,n,o=0;o<t.length;o++)if(!((r=t[o])===(n=e[o])||l(r)&&l(n))&&1)return!1;return!0}let s=function(t,e){void 0===e&&(e=a);var r,n,o=[],i=!1;return function(){for(var l=[],a=0;a<arguments.length;a++)l[a]=arguments[a];return i&&r===this&&e(l,o)||(n=t.apply(this,l),i=!0,r=this,o=l),n}};var c=r(14232),u="object"==typeof performance&&"function"==typeof performance.now?function(){return performance.now()}:function(){return Date.now()};function f(t){cancelAnimationFrame(t.id)}var d=-1;function h(t){if(void 0===t&&(t=!1),-1===d||t){var e=document.createElement("div"),r=e.style;r.width="50px",r.height="50px",r.overflow="scroll",document.body.appendChild(e),d=e.offsetWidth-e.clientWidth,document.body.removeChild(e)}return d}var m=null;function p(t){if(void 0===t&&(t=!1),null===m||t){var e=document.createElement("div"),r=e.style;r.width="50px",r.height="50px",r.overflow="scroll",r.direction="rtl";var n=document.createElement("div"),o=n.style;o.width="100px",o.height="100px",e.appendChild(n),document.body.appendChild(e),e.scrollLeft>0?m="positive-descending":(e.scrollLeft=1,m=0===e.scrollLeft?"negative":"positive-ascending"),document.body.removeChild(e)}return m}var v=function(t,e){return t};function g(t){var e,r=t.getItemOffset,l=t.getEstimatedTotalSize,a=t.getItemSize,d=t.getOffsetForIndexAndAlignment,m=t.getStartIndexForOffset,g=t.getStopIndexForStartIndex,I=t.initInstanceProps,_=t.shouldResetStyleCacheOnItemSizeChange,y=t.validateProps;return(e=function(t){function e(e){var n;return(n=t.call(this,e)||this)._instanceProps=I(n.props,(0,o.A)(n)),n._outerRef=void 0,n._resetIsScrollingTimeoutId=null,n.state={instance:(0,o.A)(n),isScrolling:!1,scrollDirection:"forward",scrollOffset:"number"==typeof n.props.initialScrollOffset?n.props.initialScrollOffset:0,scrollUpdateWasRequested:!1},n._callOnItemsRendered=void 0,n._callOnItemsRendered=s(function(t,e,r,o){return n.props.onItemsRendered({overscanStartIndex:t,overscanStopIndex:e,visibleStartIndex:r,visibleStopIndex:o})}),n._callOnScroll=void 0,n._callOnScroll=s(function(t,e,r){return n.props.onScroll({scrollDirection:t,scrollOffset:e,scrollUpdateWasRequested:r})}),n._getItemStyle=void 0,n._getItemStyle=function(t){var e,o=n.props,i=o.direction,l=o.itemSize,s=o.layout,c=n._getItemStyleCache(_&&l,_&&s,_&&i);if(c.hasOwnProperty(t))e=c[t];else{var u=r(n.props,t,n._instanceProps),f=a(n.props,t,n._instanceProps),d="horizontal"===i||"horizontal"===s,h="rtl"===i,m=d?u:0;c[t]=e={position:"absolute",left:h?void 0:m,right:h?m:void 0,top:d?0:u,height:d?"100%":f,width:d?f:"100%"}}return e},n._getItemStyleCache=void 0,n._getItemStyleCache=s(function(t,e,r){return{}}),n._onScrollHorizontal=function(t){var e=t.currentTarget,r=e.clientWidth,o=e.scrollLeft,i=e.scrollWidth;n.setState(function(t){if(t.scrollOffset===o)return null;var e=n.props.direction,l=o;if("rtl"===e)switch(p()){case"negative":l=-o;break;case"positive-descending":l=i-r-o}return l=Math.max(0,Math.min(l,i-r)),{isScrolling:!0,scrollDirection:t.scrollOffset<l?"forward":"backward",scrollOffset:l,scrollUpdateWasRequested:!1}},n._resetIsScrollingDebounced)},n._onScrollVertical=function(t){var e=t.currentTarget,r=e.clientHeight,o=e.scrollHeight,i=e.scrollTop;n.setState(function(t){if(t.scrollOffset===i)return null;var e=Math.max(0,Math.min(i,o-r));return{isScrolling:!0,scrollDirection:t.scrollOffset<e?"forward":"backward",scrollOffset:e,scrollUpdateWasRequested:!1}},n._resetIsScrollingDebounced)},n._outerRefSetter=function(t){var e=n.props.outerRef;n._outerRef=t,"function"==typeof e?e(t):null!=e&&"object"==typeof e&&e.hasOwnProperty("current")&&(e.current=t)},n._resetIsScrollingDebounced=function(){var t,e,r;null!==n._resetIsScrollingTimeoutId&&f(n._resetIsScrollingTimeoutId),t=n._resetIsScrolling,e=u(),n._resetIsScrollingTimeoutId=r={id:requestAnimationFrame(function n(){u()-e>=150?t.call(null):r.id=requestAnimationFrame(n)})}},n._resetIsScrolling=function(){n._resetIsScrollingTimeoutId=null,n.setState({isScrolling:!1},function(){n._getItemStyleCache(-1,null)})},n}(M=e).prototype=Object.create((z=t).prototype),M.prototype.constructor=M,(0,i.A)(M,z),e.getDerivedStateFromProps=function(t,e){return S(t,e),y(t),null};var M,z,x=e.prototype;return x.scrollTo=function(t){t=Math.max(0,t),this.setState(function(e){return e.scrollOffset===t?null:{scrollDirection:e.scrollOffset<t?"forward":"backward",scrollOffset:t,scrollUpdateWasRequested:!0}},this._resetIsScrollingDebounced)},x.scrollToItem=function(t,e){void 0===e&&(e="auto");var r=this.props,n=r.itemCount,o=r.layout,i=this.state.scrollOffset;t=Math.max(0,Math.min(t,n-1));var l=0;if(this._outerRef){var a=this._outerRef;l="vertical"===o?a.scrollWidth>a.clientWidth?h():0:a.scrollHeight>a.clientHeight?h():0}this.scrollTo(d(this.props,t,e,i,this._instanceProps,l))},x.componentDidMount=function(){var t=this.props,e=t.direction,r=t.initialScrollOffset,n=t.layout;if("number"==typeof r&&null!=this._outerRef){var o=this._outerRef;"horizontal"===e||"horizontal"===n?o.scrollLeft=r:o.scrollTop=r}this._callPropsCallbacks()},x.componentDidUpdate=function(){var t=this.props,e=t.direction,r=t.layout,n=this.state,o=n.scrollOffset;if(n.scrollUpdateWasRequested&&null!=this._outerRef){var i=this._outerRef;if("horizontal"===e||"horizontal"===r)if("rtl"===e)switch(p()){case"negative":i.scrollLeft=-o;break;case"positive-ascending":i.scrollLeft=o;break;default:var l=i.clientWidth,a=i.scrollWidth;i.scrollLeft=a-l-o}else i.scrollLeft=o;else i.scrollTop=o}this._callPropsCallbacks()},x.componentWillUnmount=function(){null!==this._resetIsScrollingTimeoutId&&f(this._resetIsScrollingTimeoutId)},x.render=function(){var t=this.props,e=t.children,r=t.className,o=t.direction,i=t.height,a=t.innerRef,s=t.innerElementType,u=t.innerTagName,f=t.itemCount,d=t.itemData,h=t.itemKey,m=void 0===h?v:h,p=t.layout,g=t.outerElementType,S=t.outerTagName,I=t.style,_=t.useIsScrolling,y=t.width,M=this.state.isScrolling,z="horizontal"===o||"horizontal"===p,x=z?this._onScrollHorizontal:this._onScrollVertical,O=this._getRangeToRender(),w=O[0],C=O[1],R=[];if(f>0)for(var b=w;b<=C;
1b++)R.push((0,c.createElement)(e,{data:d,key:m(b,d),index:b,isScrolling:_?M:void 0,style:this._getItemStyle(b)}));var T=l(this.props,this._instanceProps);return(0,c.createElement)(g||S||"div",{className:r,onScroll:x,ref:this._outerRefSetter,style:(0,n.A)({position:"relative",height:i,width:y,overflow:"auto",WebkitOverflowScrolling:"touch",willChange:"transform",direction:o},I)},(0,c.createElement)(s||u||"div",{children:R,ref:a,style:{height:z?"100%":T,pointerEvents:M?"none":void 0,width:z?T:"100%"}}))},x._callPropsCallbacks=function(){if("function"==typeof this.props.onItemsRendered&&this.props.itemCount>0){var t=this._getRangeToRender(),e=t[0],r=t[1],n=t[2],o=t[3];this._callOnItemsRendered(e,r,n,o)}if("function"==typeof this.props.onScroll){var i=this.state,l=i.scrollDirection,a=i.scrollOffset,s=i.scrollUpdateWasRequested;this._callOnScroll(l,a,s)}},x._getRangeToRender=function(){var t=this.props,e=t.itemCount,r=t.overscanCount,n=this.state,o=n.isScrolling,i=n.scrollDirection,l=n.scrollOffset;if(0===e)return[0,0,0,0];var a=m(this.props,l,this._instanceProps),s=g(this.props,a,l,this._instanceProps);return[Math.max(0,a-(o&&"backward"!==i?1:Math.max(1,r))),Math.max(0,Math.min(e-1,s+(o&&"forward"!==i?1:Math.max(1,r)))),a,s]},e}(c.PureComponent)).defaultProps={direction:"ltr",itemData:void 0,layout:"vertical",overscanCount:2,useIsScrolling:!1},e}var S=function(t,e){t.children,t.direction,t.height,t.layout,t.innerTagName,t.outerTagName,t.width,e.instance},I=function(t,e,r){var n=t.itemSize,o=r.itemMetadataMap,i=r.lastMeasuredIndex;if(e>i){var l=0;if(i>=0){var a=o[i];l=a.offset+a.size}for(var s=i+1;s<=e;s++){var c=n(s);o[s]={offset:l,size:c},l+=c}r.lastMeasuredIndex=e}return o[e]},_=function(t,e,r){var n=e.itemMetadataMap,o=e.lastMeasuredIndex;return(o>0?n[o].offset:0)>=r?y(t,e,o,0,r):M(t,e,Math.max(0,o),r)},y=function(t,e,r,n,o){for(;n<=r;){var i=n+Math.floor((r-n)/2),l=I(t,i,e).offset;if(l===o)return i;l<o?n=i+1:l>o&&(r=i-1)}return n>0?n-1:0},M=function(t,e,r,n){for(var o=t.itemCount,i=1;r<o&&I(t,r,e).offset<n;)r+=i,i*=2;return y(t,e,Math.min(r,o-1),Math.floor(r/2),n)},z=function(t,e){var r=t.itemCount,n=e.itemMetadataMap,o=e.estimatedItemSize,i=e.lastMeasuredIndex,l=0;if(i>=r&&(i=r-1),i>=0){var a=n[i];l=a.offset+a.size}return l+(r-i-1)*o},x=g({getItemOffset:function(t,e,r){return I(t,e,r).offset},getItemSize:function(t,e,r){return r.itemMetadataMap[e].size},getEstimatedTotalSize:z,getOffsetForIndexAndAlignment:function(t,e,r,n,o,i){var l=t.direction,a=t.height,s=t.layout,c=t.width,u="horizontal"===l||"horizontal"===s?c:a,f=I(t,e,o),d=Math.max(0,Math.min(z(t,o)-u,f.offset)),h=Math.max(0,f.offset-u+f.size+i);switch("smart"===r&&(r=n>=h-u&&n<=d+u?"auto":"center"),r){case"start":return d;case"end":return h;case"center":return Math.round(h+(d-h)/2);default:if(n>=h&&n<=d)return n;if(n<h)return h;return d}},getStartIndexForOffset:function(t,e,r){return _(t,r,e)},getStopIndexForStartIndex:function(t,e,r,n){for(var o=t.direction,i=t.height,l=t.itemCount,a=t.layout,s=t.width,c=I(t,e,n),u=r+("horizontal"===o||"horizontal"===a?s:i),f=c.offset+c.size,d=e;d<l-1&&f<u;)f+=I(t,++d,n).size;return d},initInstanceProps:function(t,e){var r={itemMetadataMap:{},estimatedItemSize:t.estimatedItemSize||50,lastMeasuredIndex:-1};return e.resetAfterIndex=function(t,n){void 0===n&&(n=!0),r.lastMeasuredIndex=Math.min(r.lastMeasuredIndex,t-1),e._getItemStyleCache(-1),n&&e.forceUpdate()},r},shouldResetStyleCacheOnItemSizeChange:!1,validateProps:function(t){t.itemSize}}),O=g({getItemOffset:function(t,e){return e*t.itemSize},getItemSize:function(t,e){return t.itemSize},getEstimatedTotalSize:function(t){var e=t.itemCount;return t.itemSize*e},getOffsetForIndexAndAlignment:function(t,e,r,n,o,i){var l=t.direction,a=t.height,s=t.itemCount,c=t.itemSize,u=t.layout,f=t.width,d="horizontal"===l||"horizontal"===u?f:a,h=Math.max(0,s*c-d),m=Math.min(h,e*c),p=Math.max(0,e*c-d+c+i);switch("smart"===r&&(r=n>=p-d&&n<=m+d?"auto":"center"),r){case"start":return m;case"end":return p;case"center":var v=Math.round(p+(m-p)/2);if(v<Math.ceil(d/2))return 0;if(v>h+Math.floor(d/2))return h;return v;default:if(n>=p&&n<=m)return n;if(n<p)return p;return m}},getStartIndexForOffset:function(t,e){return Math.max(0,Math.min(t.itemCount-1,Math.floor(e/t.itemSize)))},getStopIndexForStartIndex:function(t,e,r){var n=t.direction,o=t.height,i=t.itemCount,l=t.itemSize,a=t.layout,s=t.width,c=Math.ceil((("horizontal"===n||"horizontal"===a?s:o)+r-e*l)/l);return Math.max(0,Math.min(i-1,e+c-1))},initInstanceProps:function(t){},shouldResetStyleCacheOnItemSizeChange:!0,validateProps:function(t){t.itemSize}})}}]);

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.