1/*! 2 * in-view 0.4.3 - Get notified when a DOM element enters or exits the viewport. 3 * Copyright (c) 2016 Cam Wiegert <[email protected]> - https://camwiegert.github.io/in-view 4 * License: MIT 5 */ 6!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.inView=e():t.inView=e()}(this,function(){return function(t){function e(r){if(n[r])return n[r].exports;var o=n[r]={exports:{},id:r,loaded:!1};return t[r].call(o.exports,o,o.exports,e),o.loaded=!0,o.exports}var n={};return e.m=t,e.c=n,e.p="",e(0)}([function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}var o=n(3),i=r(o);t.exports=i["default"]},function(t,e){"use strict";function n(t,e){var n=t.getBoundingClientRect(),r=n.top,o=n.right,i=n.bottom,u=n.left,f={t:i,r:window.innerWidth-u,b:window.innerHeight-r,l:o};return f.t>e.top&&f.r>e.right&&f.b>e.bottom&&f.l>e.left}Object.defineProperty(e,"__esModule",{value:!0}),e.inViewport=n},function(t,e){function n(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}t.exports=n},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}function o(t){return"object"===("undefined"==typeof Node?"undefined":f(Node))?t instanceof Node:t&&"object"===("undefined"==typeof t?"undefined":f(t))&&"number"==typeof t.nodeType&&"string"==typeof t.nodeName}Object.defineProperty(e,"__esModule",{value:!0});var i=n(9),u=r(i),f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol?"symbol":typeof t},c=n(4),s=r(c),a=n(1),l=function(){var t=100,e=["scroll","resize","load"],n={history:[]},r={}
vendor: 3,555 bytes, line 6
6,i=(0,u["default"])(function(){n.history.forEach(function(t){n[t].check()})},t);e.forEach(function(t){return addEventListener(t,i)}),window.MutationObserver&&new MutationObserver(i).observe(document.body,{attributes:!0,childList:!0,subtree:!0});var f=function(t){return o(t)&&(t=[t]),t=[].slice.call(t),n.history.indexOf("singelton")>-1?n.singelton.elements=t:(n.singelton=(0,s["default"])(t,r),n.history.push("singelton")),n.singelton};return f.offset=function(t){if(void 0===t)return r;var e=function(t){return"number"==typeof t};return["top","right","bottom","left"].forEach(e(t)?function(e){return r[e]=t}:function(n){return e(t[n])?r[n]=t[n]:null}),r},f.is=function(t){return(0,a.inViewport)(t,r)},f.offset(0),f};e["default"]=l},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),i=n(1),u=function(){function t(e,n){r(this,t),this.offset=n,this.current=[],this.elements=e,this.handlers={enter:[],exit:[]},this.singles={enter:[],exit:[]}}return o(t,[{key:"check",value:function(){var t=this;return this.elements.forEach(function(e){var n=(0,i.inViewport)(e,t.offset),r=t.current.indexOf(e),o=r>-1,u=n&&!o,f=!n&&o;u&&(t.current.push(e),t.emit("enter",e)),f&&(t.current.splice(r,1),t.emit("exit",e))}),this}},{key:"on",value:function(t,e){return this.handlers[t].push(e),this}},{key:"once",value:function(t,e){return this.singles[t].unshift(e),this}},{key:"emit",value:function(t,e){for(;this.singles[t].length;)this.singles[t].pop()(e);for(var n=this.handlers[t].length;--n>-1;)this.handlers[t][n](e);return this}}]),t}();e["default"]=function(t,e){return new u(t,e)}},function(t,e){(function(e){var n="object"==typeof e&&e&&e.Object===Object&&e;t.exports=n}).call(e,function(){return this}())},function(t,e,n){var r=n(5),o="object"==typeof self&&self&&self.Object===Object&&self,i=r||o||Function("return this")();t.exports=i},function(t,e,n){function r(t,e,n){function r(e){var n=m,r=g;return m=g=void 0,E=e,w=t.apply(r,n)}function a(t){return E=t,j=setTimeout(p,e),_?r(t):w}function l(t){var n=t-O,r=t-E,o=e-n;return M?s(o,x-r):o}function d(t){var n=t-O,r=t-E;return void 0===O||n>=e||n<0||M&&r>=x}function p(){var t=i();return d(t)?h(t):void(j=setTimeout(p,l(t)))}function h(t){return j=void 0,T&&m?r(t):(m=g=void 0,w)}function v(){void 0!==j&&clearTimeout(j),E=0,m=O=g=j=void 0}function y(){return void 0===j?w:h(i())}function b(){var t=i(),n=d(t);if(m=arguments,g=this,O=t,n){if(void 0===j)return a(O);if(M)return j=setTimeout(p,e),r(O)}return void 0===j&&(j=setTimeout(p,e)),w}var m,g,x,w,j,O,E=0,_=!1,M=!1,T=!0;if("function"!=typeof t)throw new TypeError(f);return e=u(e)||0,o(n)&&(_=!!n.leading,M="maxWait"in n,x=M?c(u(n.maxWait)||0,e):x,T="trailing"in n?!!n.trailing:T),b.cancel=v,b.flush=y,b}var o=n(2),i=n(8),u=n(10),f="Expected a function",c=Math.max,s=Math.min;t.exports=r},function(t,e,n){var r=n(6),o=function(){return r.Date.now()};t.exports=o},function(t,e,n){function r(t,e,n){var r=!0,f=!0;if("function"!=typeof t)throw new TypeError(u);return i(n)&&(r="leading"in n?!!n.leading:r,f="trailing"in n?!!n.trailing:f),o(t,e,{leading:r,maxWait:e,trailing:f})}var o=n(7),i=n(2),u="Expected a function";t.exports=r},function(t,e){function n(t){return t}t.exports=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.