(self.webpackChunklib=self.webpackChunklib||[]).push([[6526],{6526:(n,e,i)=>{"use strict";i.r(e),i.d(e,{initSlicknav:()=>o,checkUserAgent:()=>r,initMainMenuSlideDownEffect:()=>l,initNavbarVertical:()=>u,initBackToTopBtn:()=>c,initEqualContentAndSidebar:()=>d,initScrollOnClickMenuItem:()=>p});var t=i(9755);function a(n,e,i,t,a,s,o){try{var r=n[s](o),l=r.value}catch(n){return void i(n)}r.done?e(l):Promise.resolve(l).then(t,a)}function s(n){return function(){var e=this,i=arguments;return new Promise((function(t,s){var o=n.apply(e,i);function r(n){a(o,t,s,r,l,"next",n)}function l(n){a(o,t,s,r,l,"throw",n)}r(void 0)}))}}var o=function(){var n=s((function*(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};yield i.e(8135).then(i.t.bind(i,8135,23)),t("#responsive-menu").slicknav({duration:500,easingOpen:"easeInExpo",easingClose:"easeOutExpo",closedSymbol:'',openedSymbol:'',prependTo:"#slicknav-mobile",allowParentLinks:!0,label:""}),n.firstInit&&t("#responsive-menu").slicknav("open"),t("#responsive-menu-dashboard").slicknav({duration:500,easingOpen:"easeInExpo",easingClose:"easeOutExpo",closedSymbol:'',openedSymbol:'',prependTo:"#slicknav-mobile-dashboard",allowParentLinks:!0,label:"Dashboard Menu"})}));return function(){return n.apply(this,arguments)}}(),r=function(){var n=s((function*(){var n=function(){var n=s((function*(){yield i.e(9401).then(i.t.bind(i,9401,23)),travel.isTablet()||t("#sticky-sidebar").stickit({top:55,bottom:200}),t(window).on("scroll",(()=>{t(".js-navigation").hasClass("fixed")?t("#sticky-sidebar").css("padding-top","70px"):t("#sticky-sidebar").css("padding-top","30px")}))}));return function(){return n.apply(this,arguments)}}();!1===(()=>{var n=window.navigator.userAgent,e=n.indexOf("MSIE ");if(e>0)return parseInt(n.substring(e+5,n.indexOf(".",e)),10);if(n.indexOf("Trident/")>0){var i=n.indexOf("rv:");return parseInt(n.substring(i+3,n.indexOf(".",i)),10)}var t=n.indexOf("Edge/");return t>0&&parseInt(n.substring(t+5,n.indexOf(".",t)),10)})()&&n()}));return function(){return n.apply(this,arguments)}}(),l=function(){var n=s((function*(){t("#navbar li").on("mouseenter",(function(){t(this).find("ul").first().stop(!0,!0).delay(350).slideDown(500,"easeInOutQuad")})),t("#navbar li").on("mouseleave",(function(){t(this).find("ul").first().stop(!0,!0).delay(100).slideUp(150,"easeInOutQuad")}))}));return function(){return n.apply(this,arguments)}}(),u=()=>{t(".navbar-vertical li").on("mouseenter",(function(){t(this).find("ul").first().stop(!0,!0).delay(450).slideDown(500,"easeInOutQuad")})),t(".navbar-vertical li").on("mouseleave",(function(){t(this).find("ul").first().stop(!0,!0).delay(0).slideUp(150,"easeInOutQuad")}))},c=()=>{t(window).on("scroll",(()=>{t(window).scrollTop()>t(window).height()/2?t("#back-to-top").fadeIn(200):t("#back-to-top").fadeOut(200)})),t("#back-to-top, .back-to-top").on("click",(()=>(t("html, body").animate({scrollTop:0},800),!1)))},d=()=>{var n=t(".equal-content-sidebar-by-js .content-wrapper"),e=t(".equal-content-sidebar-by-js .sidebar-wrapper"),i=n.outerHeight(),a=e.outerHeight();i>a&&e.css("min-height",i),a>i&&n.css("min-height",a)},p=()=>{t('a.anchor[href*="#"]:not([href="#"])').on("click",(function(){if(location.pathname.replace(/^\//,"")==this.pathname.replace(/^\//,"")&&location.hostname==this.hostname){var n=t(this.hash);if((n=n.length?n:t("[name="+this.hash.slice(1)+"]")).length)return t("html,body").animate({scrollTop:n.offset().top-70},1e3),!1}}))}}}]);