PageSourceSearch

https://info.avtovaz.ru/_next/static/chunks/5105.fe5fe3b581ecbde348b1.js

js avtovaz.ru collected 2026-10-02 11:13:35 UTC 12,758 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5105],{86010:function(e,t,n){"use strict";function r(e){var t,n,o="";if("string"==typeof e||"number"==typeof e)o+=e;else if("object"==typeof e)if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(n=r(e[t]))&&(o&&(o+=" "),o+=n);else for(t in e)e[t]&&(o&&(o+=" "),o+=t);return o}t.Z=function(){for(var e,t,n=0,o="";n<arguments.length;)(e=arguments[n++])&&(t=r(e))&&(o&&(o+=" "),o+=t);return o}},38347:function(e,t,n){"use strict";function r(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}n.d(t,{Z:function(){return r}})},78850:function(e,t,n){!function(e,t,n){"use strict";var r="default"in t?t.default:t;function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function u(e,t,n){return t&&i(e.prototype,t),n&&i(e,n),e}function l(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&c(e,t)}function s(e){return(s=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function c(e,t){return(c=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function f(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}function p(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function h(e,t){return!t||"object"!==typeof t&&"function"!==typeof t?p(e):t}function y(e){var t=f();return function(){var n,r=s(e);if(t){var o=s(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return h(this,n)}}function d(e){return"translateX(".concat(e,"px)")}n=n&&Object.prototype.hasOwnProperty.call(n,"default")?n.default:n;var _={always:0,overflow:100},v=function(e){a(n,e);var t=y(n);function n(e){var r;return o(this,n),l(p(r=t.call(this,e)),"_animationState",{lastRequestId:null,lastTickTime:null}),l(p(r),"_pos",{x:null}),l(p(r),"_refs",{container:null,inner:null}),r.state={disableScroll:void 0},r._setContainerRef=r._setContainerRef.bind(p(r)),r._setInnerRef=r._setInnerRef.bind(p(r)),r._tick=r._tick.bind(p(r)),r._hasRefs=r._hasRefs.bind(p(r)),r._shouldAnimate=r._shouldAnimate.bind(p(r)),r._getMarqueeFillPercent=r._getMarqueeFillPercent.bind(p(r)),r}return u(n,[{key:"componentDidMount",value:function(){this._resetPosition(),this._requestAnimationWithDelay()}},{key:"componentDidUpdate",value:function(){this._resetPosition(),this._requestAnimationWithDelay()}},{key:"componentWillUnmount",value:function(){window.cancelAnimationFrame(this._animationState.lastRequestId)}},{key:"_setContainerRef",value:function(e){this._refs.container=e}},{key:"_setInnerRef",value:function(e){this._refs.inner=e}},{key:"_updateScrollState",value:function(){var e=this.state.disableScroll;if(this._hasRefs()){var t=!this._shouldAnimate();e!==t&&(this.setState({disableScroll:t}),this._refs.inner.style.transform=d(0))}}},{key:"_resetPosition",value:function(){this._pos.x=this._getInitialPosition(),this._shouldAnimate()&&(this._refs.inner.style.transform=d(this._pos.x)),this._updateScrollState()}},{key:"_requestAnimationWithDelay",value:function(){var e=this.props.delay;setTimeout(this._requestAnimationIfNeeded.bind(this),e)}},{key:"_requestAnimationIfNeeded",value:function(){this._animationState.lastRequestId=window.requestAnimationFrame(this._tick)}},{key:"_getMarqueeFillPercent",value:function(){return this._hasRefs()&&this._refs.container.clientWidth>0?this._refs.inner.scrollWidth/2*100/this._refs.container.clientWidth:0}},{key:"_hasRefs",value:function(){return this._refs.container&&this._refs.inner}},{key:"_shouldAnimate",value:function(){var e=this.props.scrollWhen;return this._hasRefs()&&this._refs.inner.scrollWidth>this._refs.container.clientWidth&&this._getMarqueeFillPercent()>_[e]}},{key:"_tick",value:function(e){var t=this._animationState.lastTickTime;t&&this._updateInnerPosition(e-t),this._animationState.lastTickTime=e,this._requestAnimationIfNeeded(),this._updateScrollState()}},{key:"_updateInnerPosition",value:function(e){var t=this,n=this.props,r=n.direction,o=n.speed,i=n.childMargin,u=function(){if("r
1ight"===r){var n=t._pos.x+e*o;return n>-i?t._getInitialPosition():n}if("left"===r){var u=t._pos.x-e*o;return u<-t._getWidthSafely()/2-i?t._getInitialPosition():u}return t._pos.x}();this._pos.x=u,this._shouldAnimate()&&(this._refs.inner.style.transform=d(this._pos.x))}},{key:"_getInitialPosition",value:function(){var e=this.props,t=e.direction,n=e.childMargin;return"right"===t?-this._getWidthSafely()/2-n:-n}},{key:"_getWidthSafely",value:function(){return this._refs&&this._refs.inner?this._refs.inner.clientWidth:0}},{key:"_getStyleSafely",value:function(){return this._refs&&this._refs.inner?this._refs.inner.style:null}},{key:"render",value:function(){var e=this.props,t=e.childMargin,n=e.children,o=this.state.disableScroll,i=function(e){var i=e.invisible;return r.createElement("span",{style:{margin:o?"0":"0 ".concat(t,"px"),visibility:i?"hidden":""}},n)};return r.createElement("div",{ref:this._setContainerRef,style:{overflowX:"hidden"}},r.createElement("div",{ref:this._setInnerRef,style:{display:"inline-block"}},r.createElement(i,null),r.createElement(i,{invisible:o})))}}]),n}(t.Component);l(v,"propTypes",{speed:n.number,direction:n.oneOf(["left","right"]),delay:n.number,childMargin:n.number,children:n.node,scrollWhen:n.oneOf(Object.keys(_))}),l(v,"defaultProps",{speed:.04,delay:3e3,direction:"right",childMargin:15,children:null,scrollWhen:"always"}),e.ScrollWhen=_,e.default=v,Object.defineProperty(e,"__esModule",{value:!0})}(t,n(9173),n(45697))},38461:function(e,t,n){"use strict";var r=n(96086),o="function"===typeof Symbol&&Symbol.for,i=o?Symbol.for("react.element"):60103,u=o?Symbol.for("react.portal"):60106,l=o?Symbol.for("react.fragment"):60107,a=o?Symbol.for("react.strict_mode"):60108,s=o?Symbol.for("react.profiler"):60114,c=o?Symbol.for("react.provider"):60109,f=o?Symbol.for("react.context"):60110,p=o?Symbol.for("react.forward_ref"):60112,h=o?Symbol.for("react.suspense"):60113,y=o?Symbol.for("react.memo"):60115,d=o?Symbol.for("react.lazy"):60116,_="function"===typeof Symbol&&Symbol.iterator;function v(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var m={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},b={};function g(e,t,n){this.props=e,this.context=t,this.refs=b,this.updater=n||m}function k(){}function S(e,t,n){this.props=e,this.context=t,this.refs=b,this.updater=n||m}g.prototype.isReactComponent={},g.prototype.setState=function(e,t){if("object"!==typeof e&&"function"!==typeof e&&null!=e)throw Error(v(85));this.updater.enqueueSetState(this,e,t,"setState")},g.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},k.prototype=g.prototype;var w=S.prototype=new k;w.constructor=S,r(w,g.prototype),w.isPureReactComponent=!0;var R={current:null},P=Object.prototype.hasOwnProperty,O={key:!0,ref:!0,__self:!0,__source:!0};function x(e,t,n){var r,o={},u=null,l=null;if(null!=t)for(r in void 0!==t.ref&&(l=t.ref),void 0!==t.key&&(u=""+t.key),t)P.call(t,r)&&!O.hasOwnProperty(r)&&(o[r]=t[r]);var a=arguments.length-2;if(1===a)o.children=n;else if(1<a){for(var s=Array(a),c=0;c<a;c++)s[c]=arguments[c+2];o.children=s}if(e&&e.defaultProps)for(r in a=e.defaultProps)void 0===o[r]&&(o[r]=a[r]);return{$$typeof:i,type:e,key:u,ref:l,props:o,_owner:R.current}}function E(e){return"object"===typeof e&&null!==e&&e.$$typeof===i}var j=/\/+/g,C=[];function A(e,t,n,r){if(C.length){var o=C.pop();return o.result=e,o.keyPrefix=t,o.func=n,o.context=r,o.count=0,o}return{result:e,keyPrefix:t,func:n,context:r,count:0}}function I(e){e.result=null,e.keyPrefix=null,e.func=null,e.context=null,e.count=0,10>C.length&&C.push(e)}function $(e,t,n,r){var o=typeof e;"undefined"!==o&&"boolean"!==o||(e=null);var l=!1;if(null===e)l=!0;else switch(o){case"string":case"number":l=!0;break;case"object":switch(e.$$typeof){case i:case u:l=!0}}
vendor: 3,627 bytes, line 1
1if(l)return n(r,e,""===t?"."+W(e,0):t),1;if(l=0,t=""===t?".":t+":",Array.isArray(e))for(var a=0;a<e.length;a++){var s=t+W(o=e[a],a);l+=$(o,s,n,r)}else if(null===e||"object"!==typeof e?s=null:s="function"===typeof(s=_&&e[_]||e["@@iterator"])?s:null,"function"===typeof s)for(e=s.call(e),a=0;!(o=e.next()).done;)l+=$(o=o.value,s=t+W(o,a++),n,r);else if("object"===o)throw n=""+e,Error(v(31,"[object Object]"===n?"object with keys {"+Object.keys(e).join(", ")+"}":n,""));return l}function q(e,t,n){return null==e?0:$(e,"",t,n)}function W(e,t){return"object"===typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+(""+e).replace(/[=:]/g,(function(e){return t[e]}))}(e.key):t.toString(36)}function M(e,t){e.func.call(e.context,t,e.count++)}function T(e,t,n){var r=e.result,o=e.keyPrefix;e=e.func.call(e.context,t,e.count++),Array.isArray(e)?D(e,r,n,(function(e){return e})):null!=e&&(E(e)&&(e=function(e,t){return{$$typeof:i,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(e,o+(!e.key||t&&t.key===e.key?"":(""+e.key).replace(j,"$&/")+"/")+n)),r.push(e))}function D(e,t,n,r,o){var i="";null!=n&&(i=(""+n).replace(j,"$&/")+"/"),q(e,T,t=A(t,i,r,o)),I(t)}var F={current:null};function U(){var e=F.current;if(null===e)throw Error(v(321));return e}var N={ReactCurrentDispatcher:F,ReactCurrentBatchConfig:{suspense:null},ReactCurrentOwner:R,IsSomeRendererActing:{current:!1},assign:r};t.Children={map:function(e,t,n){if(null==e)return e;var r=[];return D(e,r,null,t,n),r},forEach:function(e,t,n){if(null==e)return e;q(e,M,t=A(null,null,t,n)),I(t)},count:function(e){return q(e,(function(){return null}),null)},toArray:function(e){var t=[];return D(e,t,null,(function(e){return e})),t},only:function(e){if(!E(e))throw Error(v(143));return e}},t.Component=g,t.Fragment=l,t.Profiler=s,t.PureComponent=S,t.StrictMode=a,t.Suspense=h,t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=N,t.cloneElement=function(e,t,n){if(null===e||void 0===e)throw Error(v(267,e));var o=r({},e.props),u=e.key,l=e.ref,a=e._owner;if(null!=t){if(void 0!==t.ref&&(l=t.ref,a=R.current),void 0!==t.key&&(u=""+t.key),e.type&&e.type.defaultProps)var s=e.type.defaultProps;for(c in t)P.call(t,c)&&!O.hasOwnProperty(c)&&(o[c]=void 0===t[c]&&void 0!==s?s[c]:t[c])}var c=arguments.length-2;if(1===c)o.children=n;else if(1<c){s=Array(c);for(var f=0;f<c;f++)s[f]=arguments[f+2];o.children=s}return{$$typeof:i,type:e.type,key:u,ref:l,props:o,_owner:a}},t.createContext=function(e,t){return void 0===t&&(t=null),(e={$$typeof:f,_calculateChangedBits:t,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null}).Provider={$$typeof:c,_context:e},e.Consumer=e},t.createElement=x,t.createFactory=function(e){var t=x.bind(null,e);return t.type=e,t},t.createRef=function(){return{current:null}},t.forwardRef=function(e){return{$$typeof:p,render:e}},t.isValidElement=E,t.lazy=function(e){return{$$typeof:d,_ctor:e,_status:-1,_result:null}},t.memo=function(e,t){return{$$typeof:y,type:e,compare:void 0===t?null:t}},t.useCallback=function(e,t){return U().useCallback(e,t)},t.useContext=function(e,t){return U().useContext(e,t)},t.useDebugValue=function(){},t.useEffect=function(e,t){return U().useEffect(e,t)},t.useImperativeHandle=function(e,t,n){return U().useImperativeHandle(e,t,n)},t.useLayoutEffect=function(e,t){return U().useLayoutEffect(e,t)},t.useMemo=function(e,t){return U().useMemo(e,t)},t.useReducer=function(e,t,n){return U().useReducer(e,t,n)},t.useRef=function(e){return U().useRef(e)},t.useState=function(e){return U().useState(e)},t.version="16.14.0"},9173:function(e,t,n){"use strict";e.exports=n(38461)}}]);

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.