1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[83824],{83824:function(e,t,o){o.d(t,{h:function(){return _}});var n,r=o(94578),i=!!("undefined"!=typeof window&&window.document&&window.document.createElement),s=void 0;function a(e){e.handlers===e.nextHandlers&&(e.nextHandlers=e.handlers.slice())}function l(e){this.target=e,this.events={}}l.prototype.getEventHandlers=function(e,t){var o=String(e)+" "+String(t?!0===t?100:(t.capture<<0)+(t.passive<<1)+(t.once<<2):0);return this.events[o]||(this.events[o]={handlers:[],handleEvent:void 0},this.events[o].nextHandlers=this.events[o].handlers),this.events[o]},l.prototype.handleEvent=function(e,t,o){var n=this.getEventHandlers(e,t);n.handlers=n.nextHandlers,n.handlers.forEach(function(e){e&&e(o)})},l.prototype.add=function(e,t,o){var n=this,r=this.getEventHandlers(e,o);a(r),0===r.nextHandlers.length&&(r.handleEvent=this.handleEvent.bind(this,e,o),this.target.addEventListener(e,r.handleEvent,o)),r.nextHandlers.push(t);var i=!0;return function(){if(i){i=!1,a(r);var s=r.nextHandlers.indexOf(t);r.nextHandlers.splice(s,1),0===r.nextHandlers.length&&(n.target&&n.target.removeEventListener(e,r.handleEvent,o),r.handleEvent=void 0)}}};var c="__consolidated_events_handlers__";function p(e,t,o,n){e[c]||(e[c]=new l(e));var r=n?(void 0===s&&(s=function(){if(!i||!window.addEventListener||!window.removeEventListener||!Object.defineProperty)return!1;var e=!1;try{var t=Object.defineProperty({},"passive",{get:function(){e=!0}}),o=function(){};window.addEventListener("testPassiveEventSupport",o,t),window.removeEventListener("testPassiveEventSupport",o,t)}catch(e){}return e}()),s)?n:!!n.capture:void 0;return e[c].add(t,o,r)}var f=o(67294),u=o(35834);function d(e,t){var o=!isNaN(parseFloat(e))&&isFinite(e)?parseFloat(e):"px"===e.slice(-2)?parseFloat(e.slice(0,-2)):void 0;if("number"==typeof o)return o;var n=function(e){if("%"===e.slice(-1))return parseFloat(e.slice(0,-1))/100}(e);if("number"==typeof n)return n*t}var v="above",h="inside",w="below",m="invisible";function y(e){return"string"==typeof e.type}var b=[];function g(e){b.push(e),n||(n=setTimeout(function(){var e;for(n=null;e=b.shift();)e()},0));var t=!0;return function(){if(t){t=!1;var o=b.indexOf(e);-1!==o&&(b.splice(o,1),!b.length&&n&&(clearTimeout(n),n=null))}}}var E="undefined"!=typeof window,_=function(e){function t(t){var o;return(o=e.call(this,t)||this).refElement=function(e){o._ref=e},o}(0,r.Z)(t,e);var n=t.prototype;return n.componentDidMount=function(){var e=this;E&&(this.cancelOnNextTick=g(function(){e.cancelOnNextTick=null;var t=e.props,o=t.children;t.debug,function(e,t){if(e&&!y(e)&&!t)throw Error("<Waypoint> needs a DOM element to compute boundaries. The child you passed is neither a DOM element (e.g. <div>) nor does it use the innerRef prop.\n\nSee https://goo.gl/LrBNgw for more info.")}(o,e._ref),e._handleScroll=e._handleScroll.bind(e),e.scrollableAncestor=e._findScrollableAncestor(),e.scrollEventListenerUnsubscribe=p(e.scrollableAncestor,"scroll",e._handleScroll,{passive:!0}),e.resizeEventListenerUnsubscribe=p(window,"resize",e._handleScroll,{passive:!0}),e._handleScroll(null)}))},n.componentDidUpdate=function(){var e=this;E&&this.scrollableAncestor&&!this.cancelOnNextTick&&(this.cancelOnNextTick=g(function(){e.cancelOnNextTick=null,e._handleScroll(null)}))},n.componentWillUnmount=function(){E&&(this.scrollEventListenerUnsubscribe&&this.scrollEventListenerUnsubscribe(),this.resizeEventListenerUnsubscribe&&this.resizeEventListenerUnsubscribe(),this.cancelOnNextTick&&this.cancelOnNextTick())},n._findScrollableAncestor=function(){var e=this.props,t=e.horizontal,n=e.scrollableAncestor;if(n)return"window"===n?o.g.window:n;for(var r=this._ref;r.parentNode&&(r=r.parentNode)!==document.body;){var i=window.getComputedStyle(r),s=(t?i.getPropertyValue("overflow-x"):i.getPropertyValue("overflow-y"))||i.getPropertyValue("overflow");if("auto"===s||"scroll"===s||"overlay"===s)return r}return window},n._handleScroll=function(e){if(this._ref){var t=this._getBounds(),o=t.viewportBottom-t.viewportTop==0?m:t.viewportTop<=t.waypointTop&&t.waypointTop<=t.viewportBottom||t.viewportTop<=t.waypointBottom&&t.waypointBottom<=t.viewportBottom||t.waypointTop<=t.viewportTop&&t.viewportBottom<=t.waypointBottom?h:t.viewportBottom<t.waypointTop?w:t.waypointTop<t.viewportTop?v:m,n=this._previousPosition,r=this.props,i=(r.debug,r.onPositionChange),s=r.onEnter,a=r.onLeave,l=r.fireOnRapidScroll;if(this._previousPosition=o,n!==o){var c={currentPosition:o,previousPosition:n,event:e,waypointTop:t.waypointTop,wayp
1ointBottom:t.waypointBottom,viewportTop:t.viewportTop,viewportBottom:t.viewportBottom};i.call(this,c),o===h?s.call(this,c):n===h&&a.call(this,c);var p=n===w&&o===v,f=n===v&&o===w;l&&(p||f)&&(s.call(this,{currentPosition:h,previousPosition:n,event:e,waypointTop:t.waypointTop,waypointBottom:t.waypointBottom,viewportTop:t.viewportTop,viewportBottom:t.viewportBottom}),a.call(this,{currentPosition:o,previousPosition:h,event:e,waypointTop:t.waypointTop,waypointBottom:t.waypointBottom,viewportTop:t.viewportTop,viewportBottom:t.viewportBottom}))}}},n._getBounds=function(){var e,t,o=this.props,n=o.horizontal;o.debug;var r=this._ref.getBoundingClientRect(),i=r.left,s=r.top,a=r.right,l=r.bottom;this.scrollableAncestor===window?(e=n?window.innerWidth:window.innerHeight,t=0):(e=n?this.scrollableAncestor.offsetWidth:this.scrollableAncestor.offsetHeight,t=n?this.scrollableAncestor.getBoundingClientRect().left:this.scrollableAncestor.getBoundingClientRect().top);var c=this.props,p=c.bottomOffset,f=d(c.topOffset,e),u=d(p,e),v=t+e;return{waypointTop:n?i:s,waypointBottom:n?a:l,viewportTop:t+f,viewportBottom:v-u}},n.render=function(){var e=this,t=this.props.children;return t?y(t)||(0,u.isForwardRef)(t)?f.cloneElement(t,{ref:function(o){e.refElement(o),t.ref&&("function"==typeof t.ref?t.ref(o):t.ref.current=o)}}):f.cloneElement(t,{innerRef:this.refElement}):f.createElement("span",{ref:this.refElement,style:{fontSize:0}})},t}(f.PureComponent);_.above=v,_.below=w,_.inside=h,_.invisible=m,_.defaultProps={debug:!1,scrollableAncestor:void 0,children:void 0,topOffset:"0px",bottomOffset:"0px",horizontal:!1,onEnter:function(){},onLeave:function(){},onPositionChange:function(){},fireOnRapidScroll:!0},_.displayName="Waypoint"},25058:function(e,t){var o=Symbol.for("react.element"),n=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),i=Symbol.for("react.strict_mode"),s=Symbol.for("react.profiler"),a=Symbol.for("react.provider"),l=Symbol.for("react.context"),c=Symbol.for("react.server_context"),p=Symbol.for("react.forward_ref"),f=Symbol.for("react.suspense"),u=Symbol.for("react.suspense_list"),d=Symbol.for("react.memo"),v=Symbol.for("react.lazy");Symbol.for("react.offscreen"),Symbol.for("react.module.reference"),t.isForwardRef=function(e){return function(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case o:switch(e=e.type){case r:case s:case i:case f:case u:return e;default:switch(e=e&&e.$$typeof){case c:case l:case p:case v:case d:case a:return e;default:return t}}case n:return t}}}(e)===p}},35834:function(e,t,o){e.exports=o(25058)},94578:function(e,t,o){o.d(t,{Z:function(){return r}});var n=o(89611);function r(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,(0,n.Z)(e,t)}},89611:function(e,t,o){o.d(t,{Z:function(){return n}});function n(e,t){return(n=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}}}]);
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.