<iframe class%3D"search_iframe_layer">')),e.addClass("autocomplete").attr("id",this.suggestionsId),this.options.autoPosition&&(t.top%3Dn.position().top+n.height()+parseInt(n.css("padding-top"),10)+parseInt(n.css("padding-bottom"),10)+2+"px"),n.after(e.css(t)),this.options.withIframeLayer&&n.before(this.$iframeLayer.css("top",e.css("top"))),this.container%3D$("#"+this.suggestionsId)[0],"input_search"%3D%3D%3D$(this.el).attr("id")&&DM_Events.trigger("search_input_charachter_typed")},onKeyDown:function(e){switch(this.options.withShadow&&-1%3D%3D%3Dthis.shadowEl.value.indexOf(this.el.value+String.fromCharCode(e.keyCode).toLowerCase())&&this.updateShadow(),e.keyCode){case 27:this.el.value%3Dthis.inputValue,this.hide()%3Bbreak%3Bcase 13:this.options.autoSubmit||e.preventDefault(),this.onSelect(this.selectedIndex)%3Bbreak%3Bcase 38:this.moveUp()%3Bbreak%3Bcase 40:this.moveDown()%3Bbreak%3Bcase 8:case 32:return void this.updateShadow()%3Bdefault:return}e.preventDefault()},onKeyUp:function(e){switch(e.keyCode){case 38:case 40:case 13:return}clearInterval(this.onChangeInterval),this.ignoreValueChange%3D!1,this.typedValue!%3D%3Dthis.el.value.toLowerCase()&&(this.options.deferRequestBy>Not flagged
<iframe/>").attr({src:n+"?layout-builder[action]%3Dexport&download%3D1&output%3D"+e,style:"visibility:hidden%3Bdisplay:none"}).ready(function(){clearInterval(o),r.removeAttribute("data-kt-indicator")}).appendTo("body")},3e3)},error:function(e){toastr.error("Please try it again later.","Something went wrong!",{timeOut:0,extendedTimeOut:0,closeButton:!0,closeDuration:0}),r.removeAttribute("data-kt-indicator")}})}),o&&o.addEventListener("click",function(i){i.preventDefault(),o.setAttribute("data-kt-indicator","on"),t.value%3D"reset"%3Bvar r%3D$(e).serialize()%3B$.ajax({type:"POST",dataType:"html",url:n,data:r,success:function(e,t,n){history.scrollRestoration&&(history.scrollRestoration%3D"manual"),location.reload()},error:function(e){toastr.error("Please try it again later.","Something went wrong!",{timeOut:0,extendedTimeOut:0,closeButton:!0,closeDuration:0})},complete:function(){o.removeAttribute("data-kt-indicator")}})}),d%3Ddocument.querySelector("#kt_layout_builder_theme_mode_light"),c%3Ddocument.querySelector("#kt_layout_builder_theme_mode_dark"),m%3Ddocument.querySelector("#kt_layout_builder_theme_mode_"+KTThemeMode.getMode()),d&&d.addEventListener("click",function(){this.checked%3D!0,this.closest('[data-kt-buttons%3D"true"]').querySelector(".form-check-image.active").classList.remove("active"),this.closest(".form-check-image").classList.add("active"),KTThemeMode.setMode("light")}),c&&c.addEventListener("click",function(){this.checked%3D!0,this.closest('[data-kt-buttons%3D"true"]').querySelector(".form-check-image.active").classList.remove("active"),this.closest(".form-check-image").classList.add("active"),KTThemeMode.setMode("dark")}),m&&(m.closest(".form-check-image").classList.add("active"),m.checked%3D!0))}}}()%3BKTUtil.onDOMContentLoaded(function(){KTAppLayoutBuilder.init()})%3Bvar KTLayoutSearch%3Dfunction(){var e,t,n,i,r,o,a,l,s,u,d,c,m%3Dfunction(e){setTimeout(function(){var i%3DKTUtil.getRandomInt(1,3)%3Bt.classList.add("d-none"),3%3D%3D%3Di?(n.classList.add("d-none"),r.classList.remove("d-none")):(n.classList.remove("d-none"),r.classList.add("d-none")),e.complete()},1500)},f%3Dfunction(e){t.classList.remove("d-none"),n.classList.add("d-none"),r.classList.add("d-none")}%3Breturn{init:function(){(e%3Ddocument.querySelector("#kt_header_search"))&&(i%3De.querySelector('[data-kt-search-element%3D"wrapper"]'),e.querySelector('[data-kt-search-element%3D"form"]'),t%3De.querySelector('[data-kt-search-element%3D"main"]'),n%3De.querySelector('[data-kt-search-element%3D"results"]'),r%3De.querySelector('[data-kt-search-element%3D"empty"]'),o%3De.querySelector('[data-kt-search-element%3D"preferences"]'),a%3De.querySelector('[data-kt-search-element%3D"preferences-show"]'),l%3De.querySelector('[data-kt-search-element%3D"preferences-dismiss"]'),s%3De.querySelector('[data-kt-search-element%3D"advanced-options-form"]'),u%3De.querySelector('[data-kt-search-element%3D"advanced-options-form-show"]'),d%3De.querySelector('[data-kt-search-element%3D"advanced-options-form-cancel"]'),e.querySelector('[data-kt-search-element%3D"advanced-options-form-search"]'),(c%3Dnew KTSearch(e)).on("kt.search.process",m),c.on("kt.search.clear",f),o&&(a&&a.addEventListener("click",function(){i.classList.add("d-none"),o.classList.remove("d-none")}),l&&l.addEventListener("click",function(){i.classList.remove("d-none"),o.classList.add("d-none")})),s&&(u&&u.addEventListener("click",function(){i.classList.add("d-none"),s.classList.remove("d-none")}),d&&d.addEventListener("click",function(){i.classList.remove("d-none"),s.classList.add("d-none")})))}}}()%3BKTUtil.onDOMContentLoaded(function(){KTLayoutSearch.init()})%3Bvar KTThemeModeUser%3D{init:function(){KTThemeMode.on("kt.thememode.change",function(){var e%3DKTThemeMode.getMenuMode(),t%3DKTThemeMode.getMode()%3Bconsole.log("user selected theme mode:"+e),console.log("theme mode:"+t)})}}%3BKTUtil.onDOMContentLoaded(function(){KTThemeModeUser.init()}),"undefined"!%3Dtypeof module&&void 0!%3D%3Dmodule.exports&&(module.exports%3DKTThemeModeUser)%3Bvar KTThemeMode%3Dfunction(){var e,t%3Dthis,n%3Dfunction(){return document.documentElement.hasAttribute("data-bs-theme")?document.documentElement.getAttribute("data-bs-theme"):null!%3D%3DlocalStorage.getItem("data-bs-theme")?localStorage.getItem("data-bs-theme"):"system"%3D%3D%3Dr()?o():"light"},i%3Dfunction(i,r){var l%3Dn()%3B"system"%3D%3D%3Dr?o()!%3D%3Di&&(i%3Do()):i!%3D%3Dr&&(r%3Di)%3Bvar s%3De?e.querySelector('[data-kt-element%3D"mode"][data-kt-value%3D"'+r+'"]'):null%3Bdocument.documentElement.setAttribute("data-kt-theme-mode-switching","true"),document.documentElement.setAttribute("data-bs-theme",i),setTimeout(function(){document.documentElement.removeAttribute("data-kt-theme-mode-switching")},300),localStorage.setItem("data-bs-theme",i),s&&(localStorage.setItem("data-bs-theme-mode",r),a(s)),i!%3D%3Dl&&KTEventHandler.trigger(document.documentElement,"kt.thememode.change",t)},r%3Dfunction(){if(!e)return null%3Bvar t%3De?e.querySelector('.active[data-kt-element%3D"mode"]'):null%3Breturn t&&t.getAttribute("data-kt-value")?t.getAttribute("data-kt-value"):document.documentElement.hasAttribute("data-bs-theme-mode")?document.documentElement.getAttribute("data-bs-theme-mode"):null!%3D%3DlocalStorage.getItem("data-bs-theme-mode")?localStorage.getItem("data-bs-theme-mode"):"undefined"!%3Dtypeof defaultThemeMode?defaultThemeMode:"light"},o%3Dfunction(){return window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"},a%3Dfunction(t){var n%3Dt.getAttribute("data-kt-value"),i%3De.querySelector('.active[data-kt-element%3D"mode"]')%3Bi&&i.classList.remove("active"),t.classList.add("active"),localStorage.setItem("data-bs-theme-mode",n)}%3Breturn{init:function(){e%3Ddocument.querySelector('[data-kt-element%3D"theme-mode-menu"]'),i(n(),r()),KTEventHandler.trigger(document.documentElement,"kt.thememode.init",t),e&&[].slice.call(e.querySelectorAll('[data-kt-element%3D"mode"]')).map(function(e){e.addEventListener("click",function(t){t.preventDefault()%3Bvar n%3De.getAttribute("data-kt-value"),r%3Dn%3B"system"%3D%3D%3Dn&&(r%3Do()),i(r,n)})})},getMode:function(){return n()},getMenuMode:function(){return r()},getSystemMode:function(){return o()},setMode:function(e){return i(e)},on:function(e,t){return KTEventHandler.on(document.documentElement,e,t)},off:function(e,t){return KTEventHandler.off(document.documentElement,e,t)}}}()%3BKTUtil.onDOMContentLoaded(function(){KTThemeMode.init()}),"undefined"!%3Dtypeof module&&void 0!%3D%3Dmodule.exports&&(module.exports%3DKTThemeMode)%3Bvar KTAppSidebar%3Dfunction(){var e,t,n%3Breturn{init:function(){var i%3Be%3Ddocument.querySelector("#kt_app_sidebar_secondary_wrapper"),t%3Ddocument.querySelector("#kt_app_sidebar_secondary_tags_collapse"),n%3Ddocument.querySelector('[href%3D"#kt_app_sidebar_secondary_tags_collapse"]'),e&&(i%3De.querySelector(".menu-link.active"))&&!0!%3D%3DKTUtil.isVisibleInContainer(i,e)&&e.scroll({top:KTUtil.getRelativeTopPosition(i,e),behavior:"smooth"}),t&&t.addEventListener("shown.bs.collapse",t%3D>Not flagged