(o=>{function s(e){var n=o(".rt-slide-nav");n.is(":visible")||(n.slideDown(200),o("body").addClass("slidemenuon"),e.attr("aria-expanded","true"))}function a(e){var n=o(".rt-slide-nav");n.is(":visible")&&(n.slideUp(200),o("body").removeClass("slidemenuon"),e.attr("aria-expanded","false"))}function l(e){("true"===e.attr("aria-expanded")?a:s)(e)}o(document).ready(function(){o(".scrollToTop").on("click",function(){o("body,html").animate({scrollTop:0},360)}),o(window).on("scroll",function(){200<o(this).scrollTop()?o(".scrollToTop").fadeIn():o(".scrollToTop").fadeOut()}),1==CLClassified.hasStickyMenu&&(e=o('<div class="main-header-sticky-wrapper"></div>'),i=".main-header-sticky-wrapper",o(".main-header").clone(!0).appendTo(e),o("body").append(e),e=o(i).outerHeight()+30,o(i).css("margin-top","-"+e+"px"),o(window).scroll(function(){300<o(this).scrollTop()?o("body").addClass("rdthemeSticky"):o("body").removeClass("rdthemeSticky")}));var e,t=o(".offscreen-navigation .menu"),n=(t.length&&(t.children("li").addClass("menu-item-parent"),t.find(".menu-item-has-children > .rt-submenu-toggle").on("click",function(e){e.preventDefault(),o(this).toggleClass("opened");var e=o(this).next(".sub-menu"),n=o(this).closest(".menu-item-parent").find(".sub-menu");t.find(".sub-menu").not(n).slideUp(250).prev("a").removeClass("opened"),e.slideToggle(250)}),t.find(".menu-item:not(.menu-item-has-children) > a").on("click",function(e){o(".rt-slide-nav").slideUp(),o("body").removeClass("slidemenuon")})),!1),i=(o(".sidebarBtn").on("mousedown",function(){n=!0,setTimeout(()=>n=!1,200)}),o(".sidebarBtn").on("click",function(e){e.preventDefault(),l(o(this))}),o(".sidebarBtn").on("keydown",function(e){"Enter"!==e.key&&" "!==e.key||(e.preventDefault(),l(o(this)))}),o(".sidebarBtn").on("focus",function(){n||s(o(this))}),o(document).on("click focusin",function(e){o(e.target).closest(".rt-slide-nav, .sidebarBtn").length||a(o(".sidebarBtn"))}),document.querySelectorAll('[data-bs-toggle="tooltip"]'));[...i].map(e=>new bootstrap.Tooltip(e))})})(jQuery);