var _____WB$wombat$assign$function_____ = function(name) {return (self._wb_wombat && self._wb_wombat.local_init && self._wb_wombat.local_init(name)) || self[name]; }; if (!self.__WB_pmw) { self.__WB_pmw = function(obj) { this.__WB_source = obj; return this; } } { let window = _____WB$wombat$assign$function_____("window"); let self = _____WB$wombat$assign$function_____("self"); let document = _____WB$wombat$assign$function_____("document"); let location = _____WB$wombat$assign$function_____("location"); let top = _____WB$wombat$assign$function_____("top"); let parent = _____WB$wombat$assign$function_____("parent"); let frames = _____WB$wombat$assign$function_____("frames"); let opener = _____WB$wombat$assign$function_____("opener"); (window.webpackJsonp=window.webpackJsonp||[]).push([[11],{173:function(i,n,e){"use strict";e.d(n,"a",function(){return E}),e(14),e(62);var t=e(13),o=e.n(t),r=e(5),d=e.n(r),h=e(6),l=e.n(h),s=e(7),c=e.n(s),a=e(8),u=e.n(a),g=e(3),m=e.n(g),f=e(9),p=e.n(f),v=e(2),w=e.n(v),y=e(1),b=e.n(y),H=e(218),C=e.n(H);function E(i){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return function(e){var t=function(t){function r(){var n,e;d()(this,r);for(var t=arguments.length,o=new Array(t),h=0;h<t;h++)o[h]=arguments[h];return e=c()(this,(n=u()(r)).call.apply(n,[this].concat(o))),w()(m()(e),"ref",b.a.createRef()),w()(m()(e),"isHighlightScheduled",!1),w()(m()(e),"onScroll",function(){e.checkVisibilityComponent()&&(e.toggleHighlightUpdatedCard(),window.removeEventListener("scroll",e.onScroll))}),w()(m()(e),"onVisibilityChanged",function(){window.highlightWasVisible||document.hidden||(window.highlightWasVisible=!0),!document.hidden&&e.isHighlightScheduled&&(e.checkVisibilityComponent()?e.toggleHighlightUpdatedCard():window.addEventListener("scroll",e.onScroll))}),w()(m()(e),"checkVisibilityComponent",function(){var i=e.ref.current;if(!i)return!1;var n=i.getBoundingClientRect();return n.top<window.innerHeight&&n.bottom>0}),w()(m()(e),"toggleHighlightUpdatedCard",function(){e.ref.current&&(e.ref.current.classList.add(i),e.ref.current.addEventListener("animationend",e.onAnimationEnd)),e.isHighlightScheduled=!1}),w()(m()(e),"onAnimationEnd",function(){e.ref.current&&(e.ref.current.classList.remove(i),e.ref.current.removeEventListener("animationend",e.onAnimationEnd))}),e}return p()(r,t),l()(r,[{key:"componentDidMount",value:function(){document.hidden||(window.highlightWasVisible=!0),this.isHighlightScheduled=window.highlightWasVisible&&document.hidden,document.addEventListener("visibilitychange",this.onVisibilityChanged)}},{key:"componentDidUpdate",value:function(i){var e=this;document.hidden&&!this.isHighlightScheduled&&(this.isHighlightScheduled=this.props.num<i.num,this.isHighlightScheduled||(this.isHighlightScheduled=n.some(function(n){return e.props[n]!==i[n]}))),!document.hidden&&this.isHighlightScheduled&&(this.checkVisibilityComponent()?this.toggleHighlightUpdatedCard():window.addEventListener("scroll",this.onScroll))}},{key:"componentWillUnmount",value:function(){window.removeEventListener("scroll",this.onScroll),document.removeEventListener("visibilitychange",this.onVisibilityChanged),this.ref.current&&this.ref.current.removeEventListener("animationend",this.onAnimationEnd)}},{key:"render",value:function(){return b.a.createElement(e,o()({forwardedRef:this.ref},this.props))}}]),r}(b.a.Component);return t.displayName="WithHighlightUpdates(".concat(e.displayName||e.name||"Component",")"),C()(t,e),t}}}}]); } /* FILE ARCHIVED ON 00:28:16 Aug 14, 2020 AND RETRIEVED FROM THE INTERNET ARCHIVE ON 04:34:43 Nov 19, 2024. JAVASCRIPT APPENDED BY WAYBACK MACHINE, COPYRIGHT INTERNET ARCHIVE. ALL OTHER CONTENT MAY ALSO BE PROTECTED BY COPYRIGHT (17 U.S.C. SECTION 108(a)(3)). */ /* playback timings (ms): captures_list: 0.519 exclusion.robots: 0.028 exclusion.robots.policy: 0.017 esindex: 0.01 cdx.remote: 7.188 LoadShardBlock: 302.556 (3) PetaboxLoader3.datanode: 185.88 (6) PetaboxLoader3.resolve: 200.727 (3) load_resource: 118.748 */