// source --> https://fort.md/wp-content/plugins/woocommerce/assets/js/frontend/woocommerce.min.js?ver=10.8.1 
function on_keydown_remove_from_cart(e){" "===e.key&&(e.preventDefault(),e.currentTarget.click())}function focus_populate_live_region(){var e=["woocommerce-message","woocommerce-error","wc-block-components-notice-banner"].map(function(e){return"."+e+'[role="alert"]'}).join(", "),o=document.querySelectorAll(e);if(0!==o.length){var t=o[0];t.setAttribute("tabindex","-1");var n=setTimeout(function(){t.focus(),clearTimeout(n)},500)}}function refresh_sorted_by_live_region(){var e=document.querySelector(".woocommerce-result-count"),o=document.querySelector('[data-wp-interactive="woocommerce/product-filters"]');if(e&&window.location.search&&!o){var t=e.innerHTML;e.setAttribute("role","alert"),e.setAttribute("aria-hidden","true");var n=setTimeout(function(){e.setAttribute("aria-hidden","false"),e.innerHTML="",e.innerHTML=t,clearTimeout(n)},2e3)}}function on_document_ready(){focus_populate_live_region(),refresh_sorted_by_live_region()}jQuery(function(e){e(".woocommerce-ordering").on("change","select.orderby",function(){e(this).closest("form").trigger("submit")}),e("input.qty:not(.product-quantity input.qty)").each(function(){var o=parseFloat(e(this).attr("min"));o>=0&&parseFloat(e(this).val())<o&&e(this).val(o)});var o="store_notice"+(e(".woocommerce-store-notice").data("noticeId")||"");if("hidden"===Cookies.get(o))e(".woocommerce-store-notice").hide();else{function t(o){["Enter"," "].includes(o.key)&&(o.preventDefault(),e(".woocommerce-store-notice__dismiss-link").click())}e(".woocommerce-store-notice").show(),e(".woocommerce-store-notice__dismiss-link").on("click",function n(r){Cookies.set(o,"hidden",{path:"/"}),e(".woocommerce-store-notice").hide(),r.preventDefault(),e(".woocommerce-store-notice__dismiss-link").off("click",n).off("keydown",t)}).on("keydown",t)}e(".woocommerce-input-wrapper span.description").length&&e(document.body).on("click",function(){e(".woocommerce-input-wrapper span.description:visible").prop("aria-hidden",!0).slideUp(250)}),e(".woocommerce-input-wrapper").on("click",function(e){e.stopPropagation()}),e(".woocommerce-input-wrapper :input").on("keydown",function(o){var t=e(this).parent().find("span.description");if(27===o.which&&t.length&&t.is(":visible"))return t.prop("aria-hidden",!0).slideUp(250),o.preventDefault(),!1}).on("click focus",function(){var o=e(this).parent(),t=o.find("span.description");o.addClass("currentTarget"),e(".woocommerce-input-wrapper:not(.currentTarget) span.description:visible").prop("aria-hidden",!0).slideUp(250),t.length&&t.is(":hidden")&&t.prop("aria-hidden",!1).slideDown(250),o.removeClass("currentTarget")}),e.scroll_to_notices=function(o){o.length&&e("html, body").animate({scrollTop:o.offset().top-100},1e3)},e('.woocommerce form .woocommerce-Input[type="password"]').wrap('<span class="password-input"></span>'),e(".woocommerce form input").filter(":password").parent("span").addClass("password-input"),e(".password-input").each(function(){const o=e(this).find("input").attr("id");e(this).append('<button type="button" class="show-password-input" aria-label="'+woocommerce_params.i18n_password_show+'" aria-describedBy="'+o+'"></button>')}),e(".show-password-input").on("click",function(o){o.preventDefault(),e(this).hasClass("display-password")?(e(this).removeClass("display-password"),e(this).attr("aria-label",woocommerce_params.i18n_password_show)):(e(this).addClass("display-password"),e(this).attr("aria-label",woocommerce_params.i18n_password_hide)),e(this).hasClass("display-password")?e(this).siblings(['input[type="password"]']).prop("type","text"):e(this).siblings('input[type="text"]').prop("type","password"),e(this).siblings("input").focus()}),e("a.coming-soon-footer-banner-dismiss").on("click",function(o){var t=e(o.target);e.ajax({type:"post",url:t.data("rest-url"),data:{woocommerce_meta:{coming_soon_banner_dismissed:"yes"}},beforeSend:function(e){e.setRequestHeader("X-WP-Nonce",t.data("rest-nonce"))},complete:function(){e("#coming-soon-footer-banner").hide()}})}),"undefined"==typeof wc_add_to_cart_params&&e(document.body).on("keydown",".remove_from_cart_button",on_keydown_remove_from_cart),e(document.body).on("item_removed_from_classic_cart updated_wc_div",focus_populate_live_region)}),document.addEventListener("DOMContentLoaded",on_document_ready);
// source --> https://fort.md/wp-content/themes/woodmart/js/libs/device.min.js?ver=8.5.1 
!function(s){var n="";screen.width&&(width=screen.width?screen.width:"",height=screen.height?screen.height:"",n+=width+" x "+height);var i,r,e,o=navigator.appVersion,a=navigator.userAgent,d=navigator.appName,t=""+parseFloat(navigator.appVersion),w=parseInt(navigator.appVersion,10);-1!=(r=a.indexOf("Opera"))&&(d="Opera",t=a.substring(r+6),-1!=(r=a.indexOf("Version"))&&(t=a.substring(r+8))),-1!=(r=a.indexOf("OPR"))?(d="Opera",t=a.substring(r+4)):-1!=(r=a.indexOf("Edge"))?(d="Edge",t=a.substring(r+5)):-1!=(r=a.indexOf("Edg"))?(d="Microsoft Edge",t=a.substring(r+4)):-1!=(r=a.indexOf("MSIE"))?(d="Internet",t=a.substring(r+5)):-1!=(r=a.indexOf("Chrome"))?(d="Chrome",t=a.substring(r+7)):-1!=(r=a.indexOf("Safari"))?(d="Safari",t=a.substring(r+7),-1!=(r=a.indexOf("Version"))&&(t=a.substring(r+8))):-1!=(r=a.indexOf("Firefox"))?(d="Firefox",t=a.substring(r+8)):-1!=a.indexOf("Trident/")?(d="Internet",t=a.substring(a.indexOf("rv:")+3)):(i=a.lastIndexOf(" ")+1)<(r=a.lastIndexOf("/"))&&(d=a.substring(i,r),t=a.substring(r+1),d.toLowerCase()==d.toUpperCase()&&(d=navigator.appName)),-1!=(e=t.indexOf(";"))&&(t=t.substring(0,e)),-1!=(e=t.indexOf(" "))&&(t=t.substring(0,e)),-1!=(e=t.indexOf(")"))&&(t=t.substring(0,e)),w=parseInt(""+t,10),isNaN(w)&&(t=""+parseFloat(navigator.appVersion),w=parseInt(navigator.appVersion,10));var c=/Mobile|mini|Fennec|Android|iP(ad|od|hone)/.test(o),O="-",W=[{s:"Windows 10",r:/(Windows 10.0|Windows NT 10.0)/},{s:"Windows 8.1",r:/(Windows 8.1|Windows NT 6.3)/},{s:"Windows 8",r:/(Windows 8|Windows NT 6.2)/},{s:"Windows 7",r:/(Windows 7|Windows NT 6.1)/},{s:"Windows Vista",r:/Windows NT 6.0/},{s:"Windows Server 2003",r:/Windows NT 5.2/},{s:"Windows XP",r:/(Windows NT 5.1|Windows XP)/},{s:"Windows 2000",r:/(Windows NT 5.0|Windows 2000)/},{s:"Windows ME",r:/(Win 9x 4.90|Windows ME)/},{s:"Windows 98",r:/(Windows 98|Win98)/},{s:"Windows 95",r:/(Windows 95|Win95|Windows_95)/},{s:"Windows NT 4.0",r:/(Windows NT 4.0|WinNT4.0|WinNT|Windows NT)/},{s:"Windows CE",r:/Windows CE/},{s:"Windows 3.11",r:/Win16/},{s:"Android",r:/Android/},{s:"Open BSD",r:/OpenBSD/},{s:"Sun OS",r:/SunOS/},{s:"Chrome OS",r:/CrOS/},{s:"Linux",r:/(Linux|X11(?!.*CrOS))/},{s:"iOS",r:/(iPhone|iPad|iPod)/},{s:"Mac OS X",r:/Mac OS X/},{s:"Mac OS",r:/(Mac OS|MacPPC|MacIntel|Mac_PowerPC|Macintosh)/},{s:"QNX",r:/QNX/},{s:"UNIX",r:/UNIX/},{s:"BeOS",r:/BeOS/},{s:"OS/2",r:/OS\/2/},{s:"Search Bot",r:/(nuhk|Googlebot|Yammybot|Openbot|Slurp|MSNBot|Ask Jeeves\/Teoma|ia_archiver)/}];for(var g in W){var f=W[g];if(f.r.test(a)){O=f.s;break}}var p="-";switch(/Windows/.test(O)&&(p=/Windows (.*)/.exec(O)[1],O="Windows"),O){case"Mac OS":case"Mac OS X":case"Android":p=/(?:Android|Mac OS|Mac OS X|MacPPC|MacIntel|Mac_PowerPC|Macintosh) ([\.\_\d]+)/.exec(a)[1];break;case"iOS":p=(p=/OS (\d+)_(\d+)_?(\d+)?/.exec(o))[1]+"."+p[2]+"."+(0|p[3])}var S="no check";if("undefined"!=typeof swfobject){var b=swfobject.getFlashPlayerVersion();S=b.major>0?b.major+"."+b.minor+" r"+b.release:"-"}s.jscd={screen:n,browser:d,browserVersion:t,browserMajorVersion:w,mobile:c,os:O,osVersion:p,flashVersion:S}}(this),function(){var s=jQuery("html");s.addClass("browser-"+jscd.browser.replaceAll(" ","-")),s.addClass("platform-"+jscd.os)}();
// source --> https://fort.md/wp-content/themes/woodmart/js/scripts/global/scrollBar.min.js?ver=8.5.1 
const htmlElement=document.getElementsByTagName("html")[0],windowWidth=window.innerWidth,htmlOffsetWidth=htmlElement.offsetWidth,userAgent=navigator.userAgent;let shouldCalculateScrollbar=windowWidth>1024&&windowWidth>htmlOffsetWidth;if(userAgent.includes("Chrome")){const t=userAgent.match(/Chrome\/(\d+)/);t&&parseInt(t[1],10)>=145&&(shouldCalculateScrollbar=!1)}if(shouldCalculateScrollbar){const t=windowWidth-htmlOffsetWidth,e=document.createElement("style");e.textContent=`:root {--wd-scroll-w: ${t}px;}`,document.head.appendChild(e)};