PageSourceSearch

https://egghead.io/_next/static/chunks/3061-57295dbd858cb020.js

js egghead.io collected 2026-09-24 15:18:54 UTC 28,591 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3061],{10907:(t,e,n)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}return function(e,n,o){return n&&t(e.prototype,n),o&&t(e,o),e}}(),r=a(n(41627)),i=a(n(52623));function a(t){return t&&t.__esModule?t:{default:t}}var s=function(t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function, not "+typeof t);function e(){if(!(this instanceof e))throw TypeError("Cannot call a class as a function");var t=(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments);if(!this)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&("object"==typeof t||"function"==typeof t)?t:this}return e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t),o(e,[{key:"render",value:function(){return r.default.createElement("button",this.props,this.props.children)}}]),e}(r.default.Component);e.default=(0,i.default)(s)},11015:(t,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={defaultEasing:function(t){return t<.5?Math.pow(2*t,2)/2:1-Math.pow((1-t)*2,2)/2},linear:function(t){return t},easeInQuad:function(t){return t*t},easeOutQuad:function(t){return t*(2-t)},easeInOutQuad:function(t){return t<.5?2*t*t:-1+(4-2*t)*t},easeInCubic:function(t){return t*t*t},easeOutCubic:function(t){return--t*t*t+1},easeInOutCubic:function(t){return t<.5?4*t*t*t:(t-1)*(2*t-2)*(2*t-2)+1},easeInQuart:function(t){return t*t*t*t},easeOutQuart:function(t){return 1- --t*t*t*t},easeInOutQuart:function(t){return t<.5?8*t*t*t*t:1-8*--t*t*t*t},easeInQuint:function(t){return t*t*t*t*t},easeOutQuint:function(t){return 1+--t*t*t*t*t},easeInOutQuint:function(t){return t<.5?16*t*t*t*t*t:1+16*--t*t*t*t*t}}},16236:(t,e,n)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=n(97163),r=["mousedown","wheel","touchmove","keydown"];e.default={subscribe:function(t){return"undefined"!=typeof document&&r.forEach(function(e){return(0,o.addPassiveEventListener)(document,e,t)})}}},19943:(t,e,n)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),n(97163);var o=function(t){return t&&t.__esModule?t:{default:t}}(n(80474));e.default={mountFlag:!1,initialized:!1,scroller:null,containers:{},mount:function(t){this.scroller=t,this.handleHashChange=this.handleHashChange.bind(this),window.addEventListener("hashchange",this.handleHashChange),this.initStateFromHash(),this.mountFlag=!0},mapContainer:function(t,e){this.containers[t]=e},isMounted:function(){return this.mountFlag},isInitialized:function(){return this.initialized},initStateFromHash:function(){var t=this,e=this.getHash();e?window.setTimeout(function(){t.scrollTo(e,!0),t.initialized=!0},10):this.initialized=!0},scrollTo:function(t,e){var n=this.scroller;if(n.get(t)&&(e||t!==n.getActiveLink())){var o=this.containers[t]||document;n.scrollTo(t,{container:o})}},getHash:function(){return o.default.getHash()},changeHash:function(t,e){this.isInitialized()&&o.default.getHash()!==t&&o.default.updateHash(t,e)},handleHashChange:function(){this.scrollTo(this.getHash())},unmount:function(){this.scroller=null,this.containers=null,window.removeEventListener("hashchange",this.handleHashChange)}}},20521:(t,e,n)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o])}return t},r=function(){function t(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}return function(e,n,o){return n&&t(e.prototype,n),o&&t(e,o),e}}(),i=u(n(41627)),a=u(n(32365)),s=u(n(50084));function u(t){return t&&t.__esModule?t:{default:t}}var l=function(t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function, not "+typeof t);function e(){if(!(this instanceof e))throw TypeError("Cannot call a class as a function");var t=(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments);if(!this)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&("object"==typeof t||"function"==typeof t)?t:this}return e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t),r(e,[{key:"render",value:function(){var t=this,e=o({},this.props);return delete e.name,e.parentBindings&&delete e.parentBindings,i.default.createElement("div",o({}
1,e,{ref:function(e){t.props.parentBindings.domNode=e}}),this.props.children)}}]),e}(i.default.Component);l.propTypes={name:s.default.string,id:s.default.string},e.default=(0,a.default)(l)},28843:t=>{t.exports=function(t){return t&&t.__esModule?t:{default:t}},t.exports.__esModule=!0,t.exports.default=t.exports},31091:(t,e,n)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(t){return t&&t.__esModule?t:{default:t}}(n(69945)),r=n(97163),i=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:66;return(0,o.default)(t,e)},a={spyCallbacks:[],spySetState:[],scrollSpyContainers:[],mount:function(t,e){if(t){var n=i(function(e){a.scrollHandler(t)},e);return a.scrollSpyContainers.push(t),(0,r.addPassiveEventListener)(t,"scroll",n),function(){(0,r.removePassiveEventListener)(t,"scroll",n),a.scrollSpyContainers.splice(a.scrollSpyContainers.indexOf(t),1)}}return function(){}},isMounted:function(t){return -1!==a.scrollSpyContainers.indexOf(t)},currentPositionX:function(t){if(t!==document)return t.scrollLeft;var e=void 0!==window.scrollY,n="CSS1Compat"===(document.compatMode||"");return e?window.scrollX:n?document.documentElement.scrollLeft:document.body.scrollLeft},currentPositionY:function(t){if(t!==document)return t.scrollTop;var e=void 0!==window.scrollX,n="CSS1Compat"===(document.compatMode||"");return e?window.scrollY:n?document.documentElement.scrollTop:document.body.scrollTop},scrollHandler:function(t){(a.scrollSpyContainers[a.scrollSpyContainers.indexOf(t)].spyCallbacks||[]).forEach(function(e){return e(a.currentPositionX(t),a.currentPositionY(t))})},addStateHandler:function(t){a.spySetState.push(t)},addSpyHandler:function(t,e){var n=a.scrollSpyContainers[a.scrollSpyContainers.indexOf(e)];n.spyCallbacks||(n.spyCallbacks=[]),n.spyCallbacks.push(t)},updateStates:function(){a.spySetState.forEach(function(t){return t()})},unmount:function(t,e){a.scrollSpyContainers.forEach(function(t){return t.spyCallbacks&&t.spyCallbacks.length&&t.spyCallbacks.indexOf(e)>-1&&t.spyCallbacks.splice(t.spyCallbacks.indexOf(e),1)}),a.spySetState&&a.spySetState.length&&a.spySetState.indexOf(t)>-1&&a.spySetState.splice(a.spySetState.indexOf(t),1),document.removeEventListener("scroll",a.scrollHandler)},update:function(){return a.scrollSpyContainers.forEach(function(t){return a.scrollHandler(t)})}};e.default=a},32365:(t,e,n)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o])}return t},r=function(){function t(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}return function(e,n,o){return n&&t(e.prototype,n),o&&t(e,o),e}}(),i=u(n(41627));u(n(74235));var a=u(n(40947)),s=u(n(50084));function u(t){return t&&t.__esModule?t:{default:t}}e.default=function(t){var e=function(e){if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function, not "+typeof e);function n(t){if(!(this instanceof n))throw TypeError("Cannot call a class as a function");var e=function(t,e){if(!t)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&("object"==typeof e||"function"==typeof e)?e:t}(this,(n.__proto__||Object.getPrototypeOf(n)).call(this,t));return e.childBindings={domNode:null},e}return n.prototype=Object.create(e&&e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(n,e):n.__proto__=e),r(n,[{key:"componentDidMount",value:function(){if("undefined"==typeof window)return!1;this.registerElems(this.props.name)}},{key:"componentDidUpdate",value:function(t){this.props.name!==t.name&&this.registerElems(this.props.name)}},{key:"componentWillUnmount",value:function(){if("undefined"==typeof window)return!1;a.default.unregister(this.props.name)}},{key:"registerElems",value:function(t){a.default.register(t,this.childBindings.domNo
1de)}},{key:"render",value:function(){return i.default.createElement(t,o({},this.props,{parentBindings:this.childBindings}))}}]),n}(i.default.Component);return e.propTypes={name:s.default.string,id:s.default.string},e}},40947:(t,e,n)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o])}return t},r=s(n(80474)),i=s(n(67382)),a=s(n(90530));function s(t){return t&&t.__esModule?t:{default:t}}var u={},l=void 0;e.default={unmount:function(){u={}},register:function(t,e){u[t]=e},unregister:function(t){delete u[t]},get:function(t){return u[t]||document.getElementById(t)||document.getElementsByName(t)[0]||document.getElementsByClassName(t)[0]},setActiveLink:function(t){return l=t},getActiveLink:function(){return l},scrollTo:function(t,e){var n=this.get(t);if(!n)return void console.warn("target Element not found");var s=(e=o({},e,{absolute:!1})).containerId,u=e.container,l=void 0;l=s?document.getElementById(s):u&&u.nodeType?u:document,e.absolute=!0;var c=e.horizontal,f=r.default.scrollOffset(l,n,c)+(e.offset||0);if(!e.smooth){a.default.registered.begin&&a.default.registered.begin(t,n),l===document?e.horizontal?window.scrollTo(f,0):window.scrollTo(0,f):l.scrollTop=f,a.default.registered.end&&a.default.registered.end(t,n);return}i.default.animateTopScroll(f,e,t,n)}}},48385:(t,e,n)=>{"use strict";n.d(e,{A:()=>i});var o=n(41627),r=n(78098);let i=function(t){return void 0===t&&(t={laptopL:1440,laptop:1024,tablet:768}),function(){var e=(0,o.useState)(r.Bd?window.innerWidth:0),n=e[0],i=e[1];(0,o.useEffect)(function(){var t=function(){i(window.innerWidth)};return t(),(0,r.on)(window,"resize",t),function(){(0,r.AU)(window,"resize",t)}});var a=(0,o.useMemo)(function(){return Object.entries(t).sort(function(t,e){return t[1]>=e[1]?1:-1})},[t]);return a.reduce(function(t,e){var o=e[0];return n>=e[1]?o:t},a[0][0])}}},52623:(t,e,n)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o])}return t},r=function(){function t(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}return function(e,n,o){return n&&t(e.prototype,n),o&&t(e,o),e}}(),i=c(n(41627)),a=c(n(31091)),s=c(n(40947)),u=c(n(50084)),l=c(n(19943));function c(t){return t&&t.__esModule?t:{default:t}}var f={to:u.default.string.isRequired,containerId:u.default.string,container:u.default.object,activeClass:u.default.string,activeStyle:u.default.object,spy:u.default.bool,horizontal:u.default.bool,smooth:u.default.oneOfType([u.default.bool,u.default.string]),offset:u.default.number,delay:u.default.number,isDynamic:u.default.bool,onClick:u.default.func,duration:u.default.oneOfType([u.default.number,u.default.func]),absolute:u.default.bool,onSetActive:u.default.func,onSetInactive:u.default.func,ignoreCancelEvents:u.default.bool,hashSpy:u.default.bool,saveHashHistory:u.default.bool,spyThrottle:u.default.number};e.default=function(t,e){var n=e||s.default,u=function(e){if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function, not "+typeof e);function s(t){if(!(this instanceof s))throw TypeError("Cannot call a class as a function");var e=function(t,e){if(!t)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&("object"==typeof e||"function"==typeof e)?e:t}(this,(s.__proto__||Object.getPrototypeOf(s)).call(this,t));return c.call(e),e.state={active:!1},e.beforeUnmountCallbacks=[],e}return s.prototype=Object.create(e&&e.prototype,{constructor:{value:s,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(s,e):s.__proto__=e),r(s,[{key:"getScrollSpyContainer",value:function(){var t=this.props.containerId,e=this.props.container;
1return t&&!e?document.getElementById(t):e&&e.nodeType?e:document}},{key:"componentDidMount",value:function(){if(this.props.spy||this.props.hashSpy){var t=this.getScrollSpyContainer();if(!a.default.isMounted(t)){var e=a.default.mount(t,this.props.spyThrottle);this.beforeUnmountCallbacks.push(e)}this.props.hashSpy&&(l.default.isMounted()||l.default.mount(n),l.default.mapContainer(this.props.to,t)),a.default.addSpyHandler(this.spyHandler,t),this.setState({container:t})}}},{key:"componentWillUnmount",value:function(){a.default.unmount(this.stateHandler,this.spyHandler),this.beforeUnmountCallbacks.forEach(function(t){return t()})}},{key:"render",value:function(){var e="";e=this.state&&this.state.active?((this.props.className||"")+" "+(this.props.activeClass||"active")).trim():this.props.className;var n={};n=this.state&&this.state.active?o({},this.props.style,this.props.activeStyle):o({},this.props.style);var r=o({},this.props);for(var a in f)r.hasOwnProperty(a)&&delete r[a];return r.className=e,r.style=n,r.onClick=this.handleClick,i.default.createElement(t,r)}}]),s}(i.default.PureComponent),c=function(){var t=this;this.scrollTo=function(e,r){n.scrollTo(e,o({},t.state,r))},this.handleClick=function(e){t.props.onClick&&t.props.onClick(e),e.stopPropagation&&e.stopPropagation(),e.preventDefault&&e.preventDefault(),t.scrollTo(t.props.to,t.props)},this.spyHandler=function(e,o){var r=t.getScrollSpyContainer();if(!l.default.isMounted()||l.default.isInitialized()){var i=t.props.horizontal,a=t.props.to,s=null,u=void 0,c=void 0;if(i){var f=0,d=0,p=0;if(r.getBoundingClientRect&&(p=r.getBoundingClientRect().left),!s||t.props.isDynamic){if(!(s=n.get(a)))return;var h=s.getBoundingClientRect();d=(f=h.left-p+e)+h.width}var v=e-t.props.offset;u=v>=Math.floor(f)&&v<Math.floor(d),c=v<Math.floor(f)||v>=Math.floor(d)}else{var y=0,m=0,g=0;if(r.getBoundingClientRect&&(g=r.getBoundingClientRect().top),!s||t.props.isDynamic){if(!(s=n.get(a)))return;var b=s.getBoundingClientRect();m=(y=b.top-g+o)+b.height}var w=o-t.props.offset;u=w>=Math.floor(y)&&w<Math.floor(m),c=w<Math.floor(y)||w>=Math.floor(m)}var O=n.getActiveLink();if(c){if(a===O&&n.setActiveLink(void 0),t.props.hashSpy&&l.default.getHash()===a){var S=t.props.saveHashHistory;l.default.changeHash("",void 0!==S&&S)}t.props.spy&&t.state.active&&(t.setState({active:!1}),t.props.onSetInactive&&t.props.onSetInactive(a,s))}if(u&&(O!==a||!1===t.state.active)){n.setActiveLink(a);var _=t.props.saveHashHistory;t.props.hashSpy&&l.default.changeHash(a,void 0!==_&&_),t.props.spy&&(t.setState({active:!0}),t.props.onSetActive&&t.props.onSetActive(a,s))}}}};return u.propTypes=f,u.defaultProps={offset:0},u}},67382:(t,e,n)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o])}return t};s(n(80474));var r=s(n(11015)),i=s(n(16236)),a=s(n(90530));function s(t){return t&&t.__esModule?t:{default:t}}var u=function(t){return r.default[t.smooth]||r.default.defaultEasing},l=function(){if("undefined"!=typeof window)return window.requestAnimationFrame||window.webkitRequestAnimationFrame}()||function(t,e,n){window.setTimeout(t,n||1e3/60,new Date().getTime())},c=function(){return{currentPosition:0,startPosition:0,targetPosition:0,progress:0,duration:0,cancel:!1,target:null,containerElement:null,to:null,start:null,delta:null,percent:null,delayTimeout:null}},f=function(t){var e=t.data.containerElement;if(e&&e!==document&&e!==document.body)return e.scrollLeft;var n=void 0!==window.pageXOffset,o="CSS1Compat"===(document.compatMode||"");return n?window.pageXOffset:o?document.documentElement.scrollLeft:document.body.scrollLeft},d=function(t){var e=t.data.containerElement;if(e&&e!==document&&e!==document.body)return e.scrollTop;var n=void 0!==window.pageXOffset,o="CSS1Compat"===(document.compatMode||"");return n?window.pageYOffset:o?document.documentElement.scrollTop:document.body.scrollTop},p=function(t){var e=t.data.containerElement;if(e&&e!==document&&e!==document.body)return e.scrollWidth-e.offsetWidth;var n=document.body,o=document.documentElement;return Math.max(n.scrollWidth,n.offsetWidth,o.clientWidth,o.scrollWidth,o.offsetWidth)},h=function(t){var e=t.data.containerElement;if(e&&e!==document&&e!==document.body)return e.scrollHeight-e.offsetHeight;var n=document.body,o=document.documentElement;return Math.max(n.scrollHeight,n.offsetHeight,o.clientHeight,o.scrollHeight,o.offsetHeight)},v=function t(e,n,o){var r=n.data;if(!n.ignoreCancelEvents&&r.cancel){a.default.registered.end&&a.default.registered.end(r.to,r.target,r.currentPositionY);return}
1if(r.delta=Math.round(r.targetPosition-r.startPosition),null===r.start&&(r.start=o),r.progress=o-r.start,r.percent=r.progress>=r.duration?1:e(r.progress/r.duration),r.currentPosition=r.startPosition+Math.ceil(r.delta*r.percent),r.containerElement&&r.containerElement!==document&&r.containerElement!==document.body?n.horizontal?r.containerElement.scrollLeft=r.currentPosition:r.containerElement.scrollTop=r.currentPosition:n.horizontal?window.scrollTo(r.currentPosition,0):window.scrollTo(0,r.currentPosition),r.percent<1){var i=t.bind(null,e,n);l.call(window,i);return}a.default.registered.end&&a.default.registered.end(r.to,r.target,r.currentPosition)},y=function(t){t.data.containerElement=t?t.containerId?document.getElementById(t.containerId):t.container&&t.container.nodeType?t.container:document:null},m=function(t,e,n,o){if(e.data=e.data||c(),window.clearTimeout(e.data.delayTimeout),i.default.subscribe(function(){e.data.cancel=!0}),y(e),e.data.start=null,e.data.cancel=!1,e.data.startPosition=e.horizontal?f(e):d(e),e.data.targetPosition=e.absolute?t:t+e.data.startPosition,e.data.startPosition===e.data.targetPosition){a.default.registered.end&&a.default.registered.end(e.data.to,e.data.target,e.data.currentPosition);return}e.data.delta=Math.round(e.data.targetPosition-e.data.startPosition),e.data.duration=("function"==typeof(r=e.duration)?r:function(){return r})(e.data.delta),e.data.duration=isNaN(parseFloat(e.data.duration))?1e3:parseFloat(e.data.duration),e.data.to=n,e.data.target=o;var r,s=u(e),p=v.bind(null,s,e);if(e&&e.delay>0){e.data.delayTimeout=window.setTimeout(function(){a.default.registered.begin&&a.default.registered.begin(e.data.to,e.data.target),l.call(window,p)},e.delay);return}a.default.registered.begin&&a.default.registered.begin(e.data.to,e.data.target),l.call(window,p)},g=function(t){return(t=o({},t)).data=t.data||c(),t.absolute=!0,t};e.default={animateTopScroll:m,getAnimationType:u,scrollToTop:function(t){m(0,g(t))},scrollToBottom:function(t){y(t=g(t)),m(t.horizontal?p(t):h(t),t)},scrollTo:function(t,e){m(t,g(e))},scrollMore:function(t,e){y(e=g(e)),m(t+(e.horizontal?f(e):d(e)),e)}}},68554:(t,e,n)=>{"use strict";e.XG=e.Hg=void 0;var o=p(n(72827)),r=p(n(10907)),i=p(n(20521)),a=p(n(40947)),s=p(n(90530)),u=p(n(31091)),l=p(n(67382)),c=p(n(52623)),f=p(n(32365)),d=p(n(71242));function p(t){return t&&t.__esModule?t:{default:t}}o.default,r.default,e.Hg=i.default,e.XG=a.default,s.default,u.default,l.default,c.default,f.default,d.default,o.default,r.default,i.default,a.default,s.default,u.default,l.default,c.default,f.default,d.default},71242:(t,e,n)=>{"use strict";var o=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o])}return t},r=function(){function t(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}return function(e,n,o){return n&&t(e.prototype,n),o&&t(e,o),e}}();function i(t,e){if(!(t instanceof e))throw TypeError("Cannot call a class as a function")}function a(t,e){if(!t)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&("object"==typeof e||"function"==typeof e)?e:t}function s(t,e){if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var u=n(41627);n(74235),n(80474);var l=n(31091),c=n(40947),f=n(50084),d=n(19943),p={to:f.string.isRequired,containerId:f.string,container:f.object,activeClass:f.string,spy:f.bool,smooth:f.oneOfType([f.bool,f.string]),offset:f.number,delay:f.number,isDynamic:f.bool,onClick:f.func,duration:f.oneOfType([f.number,f.func]),absolute:f.bool,onSetActive:f.func,onSetInactive:f.func,ignoreCancelEvents:f.bool,hashSpy:f.bool,spyThrottle:f.number};t.exports={Scroll:function(t,e){console.warn("Helpers.Scroll is deprecated since v1.7.0");var n=e||c,f=function(e){function c(t){i(this,c);var e=a(this,(c.__proto__||Object.getPrototypeOf(c)).call(this,t));return h.call(e),e.state={active:!1},e}return s(c,e),r(c,[{key:"getScrollSpyContainer",value:function(){var t=this.props.containerId,e=this.props.container;
1return t?document.getElementById(t):e&&e.nodeType?e:document}},{key:"componentDidMount",value:function(){if(this.props.spy||this.props.hashSpy){var t=this.getScrollSpyContainer();l.isMounted(t)||l.mount(t,this.props.spyThrottle),this.props.hashSpy&&(d.isMounted()||d.mount(n),d.mapContainer(this.props.to,t)),this.props.spy&&l.addStateHandler(this.stateHandler),l.addSpyHandler(this.spyHandler,t),this.setState({container:t})}}},{key:"componentWillUnmount",value:function(){l.unmount(this.stateHandler,this.spyHandler)}},{key:"render",value:function(){var e="";e=this.state&&this.state.active?((this.props.className||"")+" "+(this.props.activeClass||"active")).trim():this.props.className;var n=o({},this.props);for(var r in p)n.hasOwnProperty(r)&&delete n[r];return n.className=e,n.onClick=this.handleClick,u.createElement(t,n)}}]),c}(u.Component),h=function(){var t=this;this.scrollTo=function(e,r){n.scrollTo(e,o({},t.state,r))},this.handleClick=function(e){t.props.onClick&&t.props.onClick(e),e.stopPropagation&&e.stopPropagation(),e.preventDefault&&e.preventDefault(),t.scrollTo(t.props.to,t.props)},this.stateHandler=function(){n.getActiveLink()!==t.props.to&&(null!==t.state&&t.state.active&&t.props.onSetInactive&&t.props.onSetInactive(),t.setState({active:!1}))},this.spyHandler=function(e){var o=t.getScrollSpyContainer();if(!d.isMounted()||d.isInitialized()){var r=t.props.to,i=null,a=0,s=0,u=0;if(o.getBoundingClientRect&&(u=o.getBoundingClientRect().top),!i||t.props.isDynamic){if(!(i=n.get(r)))return;var c=i.getBoundingClientRect();s=(a=c.top-u+e)+c.height}var f=e-t.props.offset,p=f>=Math.floor(a)&&f<Math.floor(s),h=f<Math.floor(a)||f>=Math.floor(s),v=n.getActiveLink();if(h)return r===v&&n.setActiveLink(void 0),t.props.hashSpy&&d.getHash()===r&&d.changeHash(),t.props.spy&&t.state.active&&(t.setState({active:!1}),t.props.onSetInactive&&t.props.onSetInactive()),l.updateStates();if(p&&v!==r)return n.setActiveLink(r),t.props.hashSpy&&d.changeHash(r),t.props.spy&&(t.setState({active:!0}),t.props.onSetActive&&t.props.onSetActive(r)),l.updateStates()}}};return f.propTypes=p,f.defaultProps={offset:0},f},Element:function(t){console.warn("Helpers.Element is deprecated since v1.7.0");var e=function(e){function n(t){i(this,n);var e=a(this,(n.__proto__||Object.getPrototypeOf(n)).call(this,t));return e.childBindings={domNode:null},e}return s(n,e),r(n,[{key:"componentDidMount",value:function(){if("undefined"==typeof window)return!1;this.registerElems(this.props.name)}},{key:"componentDidUpdate",value:function(t){this.props.name!==t.name&&this.registerElems(this.props.name)}},{key:"componentWillUnmount",value:function(){if("undefined"==typeof window)return!1;c.unregister(this.props.name)}},{key:"registerElems",value:function(t){c.register(t,this.childBindings.domNode)}},{key:"render",value:function(){return u.createElement(t,o({},this.props,{parentBindings:this.childBindings}))}}]),n}(u.Component);return e.propTypes={name:f.string,id:f.string},e}}},72827:(t,e,n)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=i(n(41627)),r=i(n(52623));function i(t){return t&&t.__esModule?t:{default:t}}function a(t,e){if(!t)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&("object"==typeof e||"function"==typeof e)?e:t}var s=function(t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function, not "+typeof t);function e(){if(!(this instanceof e))throw TypeError("Cannot call a class as a function");for(var t,n,r,i=arguments.length,s=Array(i),u=0;u<i;u++)s[u]=arguments[u];return n=r=a(this,(t=e.__proto__||Object.getPrototypeOf(e)).call.apply(t,[this].concat(s))),r.render=function(){return o.default.createElement("a",r.props,r.props.children)},a(r,n)}return e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t),e}(o.default.Component);e.default=(0,r.default)(s)},80474:(t,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=function(t,e){for(var n=t.offsetTop,o=t.offsetParent;o&&!e(o);)n+=o.offsetTop,o=o.offsetParent;return{offsetTop:n,offsetParent:o}};e.default={updateHash:function(t,e){var n=0===t.indexOf("#")?t.substring(1):t,o=n?"#"+n:"",r=window&&window.location,i=o?r.pathname+r.search+o:r.pathname+r.search;e?history.pushState(history.state,"",i):history.replaceState(history.state,"",i)},getHash:function(){return window.location.hash.replace(/^#/,"")},filterElementInContainer:function(t){return function(e){return t.contains?t!=e&&t.contains(e):!!(16&t.compareDocumentPosition(e))}}
1,scrollOffset:function(t,e,o){if(o)return t===document?e.getBoundingClientRect().left+(window.scrollX||window.pageXOffset):"static"!==getComputedStyle(t).position?e.offsetLeft:e.offsetLeft-t.offsetLeft;if(t===document)return e.getBoundingClientRect().top+(window.scrollY||window.pageYOffset);if("static"!==getComputedStyle(t).position){if(e.offsetParent!==t){var r=n(e,function(e){return e===t||e===document}),i=r.offsetTop;if(r.offsetParent!==t)throw Error("Seems containerElement is not an ancestor of the Element");return i}return e.offsetTop}if(e.offsetParent===t.offsetParent)return e.offsetTop-t.offsetTop;var a=function(t){return t===document};return n(e,a).offsetTop-n(t,a).offsetTop}}},84020:(t,e,n)=>{"use strict";n.d(e,{A:()=>r});var o=n(43526);function r(t,e){if(null==t)return{};var n,r,i=(0,o.A)(t,e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);for(r=0;r<a.length;r++)n=a[r],-1===e.indexOf(n)&&({}).propertyIsEnumerable.call(t,n)&&(i[n]=t[n])}return i}},90530:(t,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n={registered:{},scrollEvent:{register:function(t,e){n.registered[t]=e},remove:function(t){n.registered[t]=null}}};e.default=n},97163:(t,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.addPassiveEventListener=function(t,e,o){var r=o.name;r||(r=e,console.warn("Listener must be a named function.")),n.has(e)||n.set(e,new Set);var i=n.get(e);if(!i.has(r)){var a=function(){var t=!1;try{var e=Object.defineProperty({},"passive",{get:function(){t=!0}});window.addEventListener("test",null,e)}catch(t){}return t}();t.addEventListener(e,o,!!a&&{passive:!0}),i.add(r)}},e.removePassiveEventListener=function(t,e,o){t.removeEventListener(e,o),n.get(e).delete(o.name||e)};var n=new Map}}]);

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.