(window.webpackJsonpLIS=window.webpackJsonpLIS||[]).push([[22],{669:function(t,e,o){"use strict";o.r(e),o.d(e,"default",(function(){return p}));var n=o(150),r=function(t,e,o,n){return(t/=n/2)<1?o/2*t*t+e:-o/2*(--t*(t-2)-1)+e},i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},u=function(){var t=void 0,e=void 0,o=void 0,n=void 0,u=void 0,c=void 0,f=void 0,a=void 0,l=void 0,s=void 0,d=void 0,y=void 0;function p(){return window.scrollY||window.pageYOffset}function b(t){return t.getBoundingClientRect().top+e}function v(o){l||(l=o),d=u(s=o-l,e,f,a),window.scrollTo(0,d),s<a?window.requestAnimationFrame(v):function(){window.scrollTo(0,e+f),t&&c&&(t.setAttribute("tabindex","-1"),t.focus());"function"==typeof y&&y();l=!1}()}return function(l){var s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};switch(a=s.duration||1e3,n=s.offset||0,y=s.callback,u=s.easing||r,c=s.a11y||!1,e=p(),void 0===l?"undefined":i(l)){case"number":t=void 0,c=!1,o=e+l;break;case"object":o=b(t=l);break;case"string":t=document.querySelector(l),o=b(t)}switch(f=o-e+n,i(s.duration)){case"number":a=s.duration;break;case"function":a=s.duration(f)}window.requestAnimationFrame(v)}}();function c(t){return(c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function f(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function a(t,e){for(var o=0;o<e.length;o++){var n=e[o];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,l(n.key),n)}}function l(t){var e=function(t,e){if("object"!=c(t)||!t)return t;var o=t[Symbol.toPrimitive];if(void 0!==o){var n=o.call(t,e||"default");if("object"!=c(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==c(e)?e:e+""}function s(t,e,o){return e=d(e),function(t,e){if(e&&("object"==c(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(t,function(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return function(){return!!t}()}()?Reflect.construct(e,o||[],d(t).constructor):e.apply(t,o))}function d(t){return(d=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function y(t,e){return(y=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}var p=function(t){function e(){return f(this,e),s(this,e,arguments)}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&y(t,e)}(e,t),o=e,(n=[{key:"initialize",value:function(t,e){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};(o=o||{}).duration=o.duration||1e3,o.overrideScrollBehavior=o.overrideScrollBehavior||!1,t.addEventListener("target-enhancement.toggle",(function(){o.overrideScrollBehavior?(document.documentElement.style.scrollBehavior="unset",setTimeout((function(){u(e[0],o)}),100),setTimeout((function(){document.documentElement.style.scrollBehavior="smooth"}),3e3)):u(e[0],o)}))}}])&&a(o.prototype,n),r&&a(o,r),Object.defineProperty(o,"prototype",{writable:!1}),o;var o,n,r}(n.a)}}]);