PageSourceSearch

https://www.yohohongkong.com/_next/static/chunks/6261-b595e270434b3428.js

js yohohongkong.com collected 2026-09-24 10:38:03 UTC 29,595 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6261],{93096:function(t,e,n){var o="Expected a function",r=0/0,i=/^\s+|\s+$/g,a=/^[-+]0x[0-9a-f]+$/i,u=/^0b[01]+$/i,s=/^0o[0-7]+$/i,l=parseInt,c="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,f="object"==typeof self&&self&&self.Object===Object&&self,d=c||f||Function("return this")(),p=Object.prototype.toString,h=Math.max,v=Math.min,y=function(){return d.Date.now()};function m(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}function g(t){if("number"==typeof t)return t;if("symbol"==typeof(e=t)||(n=e)&&"object"==typeof n&&"[object Symbol]"==p.call(e))return r;if(m(t)){var e,n,o="function"==typeof t.valueOf?t.valueOf():t;t=m(o)?o+"":o}if("string"!=typeof t)return 0===t?t:+t;t=t.replace(i,"");var c=u.test(t);return c||s.test(t)?l(t.slice(2),c?2:8):a.test(t)?r:+t}t.exports=function(t,e,n){var r=!0,i=!0;if("function"!=typeof t)throw TypeError(o);return m(n)&&(r="leading"in n?!!n.leading:r,i="trailing"in n?!!n.trailing:i),function(t,e,n){var r,i,a,u,s,l,c=0,f=!1,d=!1,p=!0;if("function"!=typeof t)throw TypeError(o);function b(e){var n=r,o=i;return r=i=void 0,c=e,u=t.apply(o,n)}function w(t){var n=t-l,o=t-c;return void 0===l||n>=e||n<0||d&&o>=a}function O(){var t,n,o,r,i=y();if(w(i))return S(i);s=setTimeout(O,(n=i-l,o=i-c,r=e-n,d?v(r,a-o):r))}function S(t){return(s=void 0,p&&r)?b(t):(r=i=void 0,u)}function _(){var t,n=y(),o=w(n);if(r=arguments,i=this,l=n,o){if(void 0===s)return c=t=l,s=setTimeout(O,e),f?b(t):u;if(d)return s=setTimeout(O,e),b(l)}return void 0===s&&(s=setTimeout(O,e)),u}return e=g(e)||0,m(n)&&(f=!!n.leading,a=(d="maxWait"in n)?h(g(n.maxWait)||0,e):a,p="trailing"in n?!!n.trailing:p),_.cancel=function(){void 0!==s&&clearTimeout(s),c=0,r=l=i=s=void 0},_.flush=function(){return void 0===s?u:S(y())},_}(t,e,{leading:r,maxWait:e,trailing:i})}},48477:function(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=n(67294),i=s(r),a=n(31093),u=s(a);function s(t){return t&&t.__esModule?t:{default:t}}var l=function(t){function e(){return!function(t,e){if(!(t instanceof e))throw TypeError("Cannot call a class as a function")}(this,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,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return!function(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)}(e,t),o(e,[{key:"render",value:function(){return i.default.createElement("input",this.props,this.props.children)}}]),e}(i.default.Component);e.default=(0,u.default)(l)},35343:function(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=n(67294),a=f(i),u=n(18e3),s=f(u),l=n(45697),c=f(l);function f(t){return t&&t.__esModule?t:{default:t}}var d=function(t){function e(){return!function(t,e){if(!(t instanceof e))throw TypeError("Cannot call a class as a function")}(this,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,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return!function(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)}(e,t),r(e,[{key:"render",value:function(){var t=this,e=o({},this.props);return e.parentBindings&&delete e.parentBindings,a.default.createElement("div",o({}
1,e,{ref:function(e){t.props.parentBindings.domNode=e}}),this.props.children)}}]),e}(a.default.Component);d.propTypes={name:c.default.string,id:c.default.string},e.default=(0,s.default)(d)},68939:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=n(67294),r=u(o),i=n(31093),a=u(i);function u(t){return t&&t.__esModule?t:{default:t}}function s(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 l=function(t){function e(){!function(t,e){if(!(t instanceof e))throw TypeError("Cannot call a class as a function")}(this,e);for(var t,n,o,i=arguments.length,a=Array(i),u=0;u<i;u++)a[u]=arguments[u];return n=o=s(this,(t=e.__proto__||Object.getPrototypeOf(e)).call.apply(t,[this].concat(a))),o.render=function(){return r.default.createElement("a",o.props,o.props.children)},s(o,n)}return!function(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)}(e,t),e}(r.default.Component);e.default=(0,a.default)(l)},66261:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Helpers=e.ScrollElement=e.ScrollLink=e.animateScroll=e.scrollSpy=e.Events=e.scroller=e.Element=e.Button=e.Link=void 0;var o=n(68939),r=_(o),i=n(48477),a=_(i),u=n(35343),s=_(u),l=n(82628),c=_(l),f=n(64592),d=_(f),p=n(87606),h=_(p),v=n(53200),y=_(v),m=n(31093),g=_(m),b=n(18e3),w=_(b),O=n(98482),S=_(O);function _(t){return t&&t.__esModule?t:{default:t}}e.Link=r.default,e.Button=a.default,e.Element=s.default,e.scroller=c.default,e.Events=d.default,e.scrollSpy=h.default,e.animateScroll=y.default,e.ScrollLink=g.default,e.ScrollElement=w.default,e.Helpers=S.default,e.default={Link:r.default,Button:a.default,Element:s.default,scroller:c.default,Events:d.default,scrollSpy:h.default,animateScroll:y.default,ScrollLink:g.default,ScrollElement:w.default,Helpers:S.default}},98482:function(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 u(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 s=n(67294);n(73935),n(54259);var l=n(87606),c=n(82628),f=n(45697),d=n(29678),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 u(c,e),r(c,[{key:"getScrollSpyContainer",value:function(){var t=this.props.containerId,e=this.props.container;return 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.addSpyH
1andler(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,s.createElement(t,n)}}]),c}(s.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,u=0,s=0;if(o.getBoundingClientRect&&(s=o.getBoundingClientRect().top),!i||t.props.isDynamic){if(!(i=n.get(r)))return;var c=i.getBoundingClientRect();u=(a=c.top-s+e)+c.height}var f=e-t.props.offset,p=f>=Math.floor(a)&&f<Math.floor(u),h=f<Math.floor(a)||f>=Math.floor(u),v=n.getActiveLink();return h?(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()):p&&v!==r?(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()):void 0}}};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 u(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 s.createElement(t,o({},this.props,{parentBindings:this.childBindings}))}}]),n}(s.Component);return e.propTypes={name:f.string,id:f.string},e}}},53200:function(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=n(54259);f(r);var i=n(89765),a=f(i),u=n(50140),s=f(u),l=n(64592),c=f(l);function f(t){return t&&t.__esModule?t:{default:t}}var d=function(t){return a.default[t.smooth]||a.default.defaultEasing},p=function(){if("undefined"!=typeof window)return window.requestAnimationFrame||window.webkitRequestAnimationFrame}()||function(t,e,n){window.setTimeout(t,n||1e3/60,new Date().getTime())},h=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}},v=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},y=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},m=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)},g=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)},b=function t(e,n,o){var r=n.data;if(!n.ignoreCancelEvents&&r.cancel){c.default.registered.end&&c.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);p.call(window,i);return}c.default.registered.end&&c.default.registered.end(r.to,r.target,r.currentPosition)},w=function(t){t.data.containerElement=t?t.containerId?document.getElementById(t.containerId):t.container&&t.container.nodeType?t.container:document:null},O=function(t,e,n,o){if(e.data=e.data||h(),window.clearTimeout(e.data.delayTimeout),s.default.subscribe(function(){e.data.cancel=!0}),w(e),e.data.start=null,e.data.cancel=!1,e.data.startPosition=e.horizontal?v(e):y(e),e.data.targetPosition=e.absolute?t:t+e.data.startPosition,e.data.startPosition===e.data.targetPosition){c.default.registered.end&&c.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,i=d(e),a=b.bind(null,i,e);if(e&&e.delay>0){e.data.delayTimeout=window.setTimeout(function(){c.default.registered.begin&&c.default.registered.begin(e.data.to,e.data.target),p.call(window,a)},e.delay);return}c.default.registered.begin&&c.default.registered.begin(e.data.to,e.data.target),p.call(window,a)},S=function(t){return(t=o({},t)).data=t.data||h(),t.absolute=!0,t},_=function(t){O(0,S(t))},E=function(t,e){O(t,S(e))},P=function(t){t=S(t),w(t),O(t.horizontal?m(t):g(t),t)},C=function(t,e){e=S(e),w(e);var n=e.horizontal?v(e):y(e);O(t+n,e)};e.default={animateTopScroll:O,getAnimationType:d,scrollToTop:_,scrollToBottom:P,scrollTo:E,scrollMore:C}},50140:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=n(55236),r=["mousedown","mousewheel","touchmove","keydown"];e.default={subscribe:function(t){return"undefined"!=typeof document&&r.forEach(function(e){return(0,o.addPassiveEventListener)(document,e,t)})}}},55236:function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.addPassiveEventListener=function(t,e,n){var o=function(){var t=!1;try{var e=Object.defineProperty({},"passive",{get:function(){t=!0}});window.addEventListener("test",null,e)}catch(n){}return t}();t.addEventListener(e,n,!!o&&{passive:!0})},e.removePassiveEventListener=function(t,e,n){t.removeEventListener(e,n)}},18e3:function(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=n(67294),a=d(i),u=n(73935);d(u);var s=n(82628),l=d(s),c=n(45697),f=d(c);function d(t){return t&&t.__esModule?t:{default:t}}e.default=function(t){var e=function(e){function n(t){!function(t,e){if(!(t instanceof e))throw TypeError("Cannot call a class as a function")}(this,n);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!function(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)}
1(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;l.default.unregister(this.props.name)}},{key:"registerElems",value:function(t){l.default.register(t,this.childBindings.domNode)}},{key:"render",value:function(){return a.default.createElement(t,o({},this.props,{parentBindings:this.childBindings}))}}]),n}(a.default.Component);return e.propTypes={name:f.default.string,id:f.default.string},e}},64592:function(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},29678:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),n(55236);var o,r,i=(o=n(54259),o&&o.__esModule?o:{default:o});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 i.default.getHash()},changeHash:function(t,e){this.isInitialized()&&i.default.getHash()!==t&&i.default.updateHash(t,e)},handleHashChange:function(){this.scrollTo(this.getHash())},unmount:function(){this.scroller=null,this.containers=null,window.removeEventListener("hashchange",this.handleHashChange)}}},31093:function(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=n(67294),a=v(i),u=n(87606),s=v(u),l=n(82628),c=v(l),f=n(45697),d=v(f),p=n(29678),h=v(p);function v(t){return t&&t.__esModule?t:{default:t}}var y={to:d.default.string.isRequired,containerId:d.default.string,container:d.default.object,activeClass:d.default.string,spy:d.default.bool,horizontal:d.default.bool,smooth:d.default.oneOfType([d.default.bool,d.default.string]),offset:d.default.number,delay:d.default.number,isDynamic:d.default.bool,onClick:d.default.func,duration:d.default.oneOfType([d.default.number,d.default.func]),absolute:d.default.bool,onSetActive:d.default.func,onSetInactive:d.default.func,ignoreCancelEvents:d.default.bool,hashSpy:d.default.bool,saveHashHistory:d.default.bool,spyThrottle:d.default.number};e.default=function(t,e){var n=e||c.default,i=function(e){function i(t){!function(t,e){if(!(t instanceof e))throw TypeError("Cannot call a class as a function")}(this,i);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,(i.__proto__||Object.getPrototypeOf(i)).call(this,t));return u.call(e),e.state={active:!1},e}return!function(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)}(i,e),r(i,[{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();s.default.isMounted(t)||s.default.mount(t,this.props.spyThrottle),this.props.hashSpy&&(h.default.isMounted()||h.default.mount(n),h.default.mapContainer(this.props.to,t)),s.default.addSpyHandler(this.spyHandler,t),this.setState({container:t})}}},{key:"componentWillUnmount",value:function(){s.default.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 y)n.hasOwnProperty(r)&&delete n[r];return n.className=e,n.onClick=this.handleClick,a.default.createElement(t,n)}}]),i}(a.default.PureComponent),u=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(!h.default.isMounted()||h.default.isInitialized()){var i=t.props.horizontal,a=t.props.to,u=null,s=void 0,l=void 0;if(i){var c=0,f=0,d=0;if(r.getBoundingClientRect&&(d=r.getBoundingClientRect().left),!u||t.props.isDynamic){if(!(u=n.get(a)))return;var p=u.getBoundingClientRect();f=(c=p.left-d+e)+p.width}var v=e-t.props.offset;s=v>=Math.floor(c)&&v<Math.floor(f),l=v<Math.floor(c)||v>=Math.floor(f)}else{var y=0,m=0,g=0;if(r.getBoundingClientRect&&(g=r.getBoundingClientRect().top),!u||t.props.isDynamic){if(!(u=n.get(a)))return;var b=u.getBoundingClientRect();m=(y=b.top-g+o)+b.height}var w=o-t.props.offset;s=w>=Math.floor(y)&&w<Math.floor(m),l=w<Math.floor(y)||w>=Math.floor(m)}var O=n.getActiveLink();if(l){if(a===O&&n.setActiveLink(void 0),t.props.hashSpy&&h.default.getHash()===a){var S=t.props.saveHashHistory;h.default.changeHash("",void 0!==S&&S)}t.props.spy&&t.state.active&&(t.setState({active:!1}),t.props.onSetInactive&&t.props.onSetInactive(a,u))}if(s&&(O!==a||!1===t.state.active)){n.setActiveLink(a);var _=t.props.saveHashHistory;t.props.hashSpy&&h.default.changeHash(a,void 0!==_&&_),t.props.spy&&(t.setState({active:!0}),t.props.onSetActive&&t.props.onSetActive(a,u))}}}};return i.propTypes=y,i.defaultProps={offset:0},i}},87606:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o,r,i=(o=n(93096),o&&o.__esModule?o:{default:o}),a=n(55236),u=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:66;return(0,i.default)(t,e)},s={spyCallbacks:[],spySetState:[],scrollSpyContainers:[],mount:function(t,e){if(t){var n=u(function(e){s.scrollHandler(t)},e);s.scrollSpyContainers.push(t),(0,a.addPassiveEventListener)(t,"scroll",n)}},isMounted:function(t){return -1!==s.scrollSpyContainers.indexOf(t)},currentPositionX:function(t){if(t!==document)return t.scrollLeft;var e=void 0!==window.pageYOffset,n="CSS1Compat"===(document.compatMode||"");return e?window.pageXOffset:n?document.documentElement.scrollLeft:document.body.scrollLeft},currentPositionY:function(t){if(t!==document)return t.scrollTop;var e=void 0!==window.pageXOffset,n="CSS1Compat"===(document.compatMode||"");return e?window.pageYOffset:n?document.documentElement.scrollTop:document.body.scrollTop},scrollHandler:function(t){(s.scrollSpyContainers[s.scrollSpyContainers.indexOf(t)].spyCallbacks||[]).forEach(function(e){return e(s.currentPositionX(t),s.currentPositionY(t))})},addStateHandler:function(t){s.spySetState.push(t)},addSpyHandler:function(t,e){var n=s.scrollSpyContainers[s.scrollSpyContainers.indexOf(e)];n.spyCallbacks||(n.spyCallbacks=[]),n.spyCallbacks.push(t),t(s.currentPositionX(e),s.currentPositionY(e))},updateStates:function(){s.spySetState.forEach(function(t){return t()})},unmount:function(t,e){s.scrollSpyContainers.forEach(function(t){return t.spyCallbacks&&t.spyCallbacks.length&&t.spyCallbacks.splice(t.spyCallbacks.indexOf(e),1)}),s.spySetState&&s.spySetState.length&&s.spySetState.splice(s.spySetState.indexOf(t),1),document.removeEventListener("scroll",s.scrollHandler)}
1,update:function(){return s.scrollSpyContainers.forEach(function(t){return s.scrollHandler(t)})}};e.default=s},82628:function(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=n(54259),i=c(r),a=n(53200),u=c(a),s=n(64592),l=c(s);function c(t){return t&&t.__esModule?t:{default:t}}var f={},d=void 0;e.default={unmount:function(){f={}},register:function(t,e){f[t]=e},unregister:function(t){delete f[t]},get:function(t){return f[t]||document.getElementById(t)||document.getElementsByName(t)[0]||document.getElementsByClassName(t)[0]},setActiveLink:function(t){return d=t},getActiveLink:function(){return d},scrollTo:function(t,e){var n=this.get(t);if(!n){console.warn("target Element not found");return}var r=(e=o({},e,{absolute:!1})).containerId,a=e.container,s=void 0;s=r?document.getElementById(r):a&&a.nodeType?a:document,e.absolute=!0;var c=e.horizontal,f=i.default.scrollOffset(s,n,c)+(e.offset||0);if(!e.smooth){l.default.registered.begin&&l.default.registered.begin(t,n),s===document?e.horizontal?window.scrollTo(f,0):window.scrollTo(0,f):s.scrollTop=f,l.default.registered.end&&l.default.registered.end(t,n);return}u.default.animateTopScroll(f,e,t,n)}}},89765:function(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}}},54259:function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=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(null,"",i):history.replaceState(null,"",i)},o=function(){return window.location.hash.replace(/^#/,"")},r=function(t){return function(e){return t.contains?t!=e&&t.contains(e):!!(16&t.compareDocumentPosition(e))}},i=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}},a=function(t,e,n){if(n)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(o=t).position){if(e.offsetParent!==t){var o,r=i(e,function(e){return e===t||e===document}),a=r.offsetTop;if(r.offsetParent!==t)throw Error("Seems containerElement is not an ancestor of the Element");return a}return e.offsetTop}if(e.offsetParent===t.offsetParent)return e.offsetTop-t.offsetTop;var u=function(t){return t===document};return i(e,u).offsetTop-i(t,u).offsetTop};e.default={updateHash:n,getHash:o,filterElementInContainer:r,scrollOffset:a}}}]);

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.