PageSourceSearch

https://r2.drom.ru/js/bundles/62412.222307f9b89f6e04.1.chunk.js

js drom.ru collected 2026-10-02 03:31:18 UTC 9,402 bytes, 1 lines download raw bytes

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

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.