\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n '},setUserId=function(e){var t;null!=e&&null!=e&&(localStorage.setItem("userid",e),t=ojEncode(e=decodeURIComponent(e)),localStorage.setItem("ud",t))},ojEncode=function(e){if(null==e)return null;var t=""+e;for(t=encodeURIComponent(t);t.indexOf("%")>=0;)t=t.replace("%","~");return t},getReferrerPath=function(){if(""===document.referrer)return"";var e=document.referrer,t=new URL(e);return t.hostname.endsWith("ojcommerce.com")?encodeURIComponent(t.pathname):encodeURIComponent(e)},cmSaveTraffic=function(){var e=new URLSearchParams(window.location.search),t=e.get("utm_referrer"),n={source:e.get("utm_source"),medium:e.get("utm_medium"),campaign:e.get("utm_campaign"),term:e.get("utm_term"),content:e.get("utm_content"),referrer:t&&""!==t.trim()?t:getReferrerPath(),affiliate:e.get("ref"),uniqueId:getUniqueId(),click_identifier:e.get("gclid")||e.get("FBCLID")||e.get("MSCLKID")||e.get("epik")};fetch("/Metrics/SaveTraffic",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(n)})},cmSaveUrlParameters=function(){e="undefined"==typeof activeitemid?0:activeitemid;var e,t=JSON.parse(JSON.stringify(performance.getEntriesByType("navigation")[0]));t.uniqueId=getUniqueId(),t.url=location.pathname,t.name="",t.itemid=null!=e?e:0,fetch("/Metrics/SaveUrlMetrics",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(t)})},trimByWords=function(e){var t=e.trim().split(" ");return t.length<=10?e:"".concat(t.slice(0,9).join(" "),"...")},isShowMoreNeeded=function(){var e=document.getElementById("productWarranty_panel");if(null!=e){for(var t=0,n=e.children,s=0;s168?"block":"none"}},checkFontLoad=function(){document.fonts.ready&&document.fonts.ready.then?document.fonts.ready.then((function(){document.body.style.fontFamily="Open Sans",document.querySelector("header")&&(document.querySelector("header").style.display="block"),document.querySelector("main#pdpPage")&&(document.querySelector("main#pdpPage").style.display="block"),document.getElementById("homePage")&&(document.getElementById("homePage").style.display="block",new ojcRelatedSlider(carouselData,"","carouselBanners",window.innerWidth<769)),document.getElementById("searchPage")&&(document.getElementById("searchPage").style.display="block"),document.querySelector(".product-details-container")&&(document.querySelector(".product-details-container").style.display="flex",isShowMoreNeeded()),document.querySelector(".about-us-rootlayout")&&(document.querySelector(".about-us-rootlayout").style.display="grid"),document.querySelector("footer")&&(document.querySelector("footer").style.display="block")})):console.warn("Font loading API not supported")},success=function(){var e=document.getElementById("submitButton"),t=document.getElementById("useremail"),n=document.getElementById("successmsg"),s=document.getElementById("messageInput");if(document.getElementById("username"),n.style.display="none",0==s.value.length||0==isValidEmail(t.value))return e.disabled=!0,void e.classList.add("submitDisabled");e.disabled=!1,e.classList.remove("submitDisabled")},checkEmailNotify=function(){var e=document.getElementById("submitNotify"),t=document.getElementById("notifyuserEmail");document.getElementById("successNotifymsg").style.display="none",isValidEmail(t.value)?e.classList.remove("disabled"):e.classList.add("disabled")},isJSONObject=function(e){try{var t=JSON.parse(e);if(t&&"object"==typeof t)return!0}catch(e){}return!1},appStore={},showElement=function(e){e.style.display="block",e.classList.contains("d-none")&&e.classList.remove("d-none")},hideElement=function(e){e.style.display="none"},hideElements=function(){for(var e=arguments.length,t=Array(e),n=0;n()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/.test(String(e).toLowerCase())},validatePassword=function(e){if(""==e.trim())return{valid:!1,errorMessage:"Password should not be empty"};var t=!0,n=!1,s=void 0;try{for(var a,r=[{regex:/[0-9]+/,message:"Password should contain at least one numeric value"},{regex:/[A-Z]+/,message:"Password should contain at least one upper case letter"},{regex:/[a-z]+/,message:"Password should contain at least one lower case letter"},{regex:/.{8,20}/,message:"Password should not be lesser than 8 or greater than 20 characters"},{regex:/[!@#$%^&*()_+\[\]{};:<>|./?,-]/,message:"Password should contain at least one special case character"}][Symbol.iterator]();!(t=(a=r.next()).done);t=!0){var i=a.value;if(!i.regex.test(e))return{valid:!1,errorMessage:i.message}}}catch(e){n=!0,s=e}finally{try{t||null==r.return||r.return()}finally{if(n)throw s}}return{valid:!0}};window.addEventListener("load",(function(){cmSaveUrlParameters(),cmSaveTraffic(),document.getElementById("showMainmenu")&&document.getElementById("showMainmenu").addEventListener("animationend",(function(){document.getElementById("showMainmenu").style.display=document.getElementById("showMainmenu").classList.contains("animate__bounceInLeft")?"block":"none"}),{once:!0}),document.getElementById("burger")&&(document.getElementById("burger").onclick=function(){document.body.style.overflow="hidden",document.getElementById("showMainmenu").style.display="block",document.getElementById("showMainmenu").classList.remove("animate__animated","animate__bounceOutLeft"),document.getElementById("showMainmenu").classList.add("animate__animated","animate__bounceInLeft"),document.body.classList.add("hidescroll")}),document.getElementById("closebtn")&&(document.getElementById("closebtn").onclick=function(){var e=document.querySelectorAll("#showMainmenu li.active"),t=document.querySelectorAll("#showMainmenu .main-menu"),n=document.querySelectorAll(".main-menu .menucolumn");t.forEach((function(e){e.classList.remove("menu-fade-up"),e.style.display="block",e.style.marginLeft="0px"})),n.forEach((function(e){e.classList.remove("menu-fade-up"),e.style.display="block",e.style.marginLeft="0px"})),document.body.style.overflow="",e&&(document.getElementById("showMainmenu").classList.remove("animate__animated","animate__bounceInLeft"),document.getElementById("showMainmenu").classList.add("animate__animated","animate__bounceOutLeft"),setTimeout((function(){document.getElementById("showMainmenu").style.display="none"}),900),e.forEach((function(e){e.classList.remove("active"),e.firstElementChild.setAttribute("aria-expanded","false")}))),document.body.classList.remove("hidescroll")}),document.getElementById("address-overlay")&&(document.getElementById("address-overlay").onclick=function(){document.getElementById("addressOverlay").classList.remove("close-popup"),document.body.classList.add("hidescroll"),document.getElementById("addressOverlay").classList.add("open-popup")}),document.getElementById("addclose")&&(document.getElementById("addclose").onclick=function(){document.getElementById("addressOverlay").classList.remove("open-popup"),document.getElementById("addressOverlay").classList.add("close-popup"),document.body.classList.remove("hidescroll"),Modalclose()}),document.addEventListener("click",(function(e){var t=document.querySelector(".main-menu.active"),n=document.querySelector("#showMainmenu");t&&!n.contains(e.target)&&t.classList.remove("active")}));var e=document.querySelector("#showMainmenu");e&&e.addEventListener("click",(function(e){document.querySelector(".suggestionbox")&&(document.querySelector(".suggestionbox").style.display="none")}))})),document.addEventListener("DOMContentLoaded",(function(){document.querySelectorAll(".prod-title").forEach((function(e){return e.innerText=trimByWords(e.innerText)}))}));var OverlayCont=document.getElementById("lightboxOverlay"),overlay=document.getElementById("lightbox");function handleUserInfo(e){return _handleUserInfo.apply(this,arguments)}function _handleUserInfo(){return(_handleUserInfo=_async_to_generator((function(e){var t,n,s,a,r,i,o,d,c;return _ts_generator(this,(function(e){switch(e.label){case 0:return t=document.getElementById("messageInput"),n=document.getElementById("useremail"),s=document.getElementById("username"),a=document.getElementById("submitButton"),r=document.getElementById("emailCheck"),i=document.getElementById("successmsg"),t.value,o=n.value,s.value,(d=document.createElement("div")).id="cartProgress",d.classList.add("progress-bar"),a.classList.add("submitDisabled"),a.appendChild(d),[4,fetch("/Account/ValidateEmailAddress",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({email:o,source:"customersupport"})}).then((function(e){return e.json()})).catch((function(e){}))];case 1:return null===(c=e.sent()).message?(handleSaveQa(),i.style.display="block",a.classList.add("submitDisabled")):(document.getElementById("emailCheck").textContent=c.message,r.style.display="block",n.addEventListener("input",(function(e){o!==e.target.value&&(document.getElementById("submitButton").style.display="block",r.style.display="none",document.getElementById("continueAcceptBtn").style.display="none")})),document.getElementById("submitButton").style.display="none",document.getElementById("continueAcceptBtn").style.display="block",a.classList.add("submitDisabled")),!0===c.isSuccess&&(null===c.message&&document.getElementById("rootForm").reset(),o=""),d.classList.remove("progress-bar"),a.classList.remove("submitDisabled"),[2]}}))}))).apply(this,arguments)}null!=OverlayCont&&OverlayCont.addEventListener("click",(function(){event.target===this&&(document.getElementById("lightboxOverlay").classList.remove("open-popup"),document.getElementById("lightboxOverlay").classList.add("close-popup"),document.body.classList.remove("hidescroll"))})),null!=overlay&&overlay.addEventListener("click",(function(e){e.stopPropagation()}));var openSansFont=new FontFace("Open Sans",'url(https://fonts.gstatic.com/s/opensans/v34/memSYaGs126MiZpBA-UvWbX2vVnXBbObj2OVZyOOSr4dVJWUgsjZ0B4gaVIUx6EQ.woff2) format("woff2")');function handleSaveQa(e){return _handleSaveQa.apply(this,arguments)}function _handleSaveQa(){return(_handleSaveQa=_async_to_generator((function(e){var t,n,s,a,r,i,o,d,c;return _ts_generator(this,(function(e){switch(e.label){case 0:t=document.getElementById("messageInput"),n=document.getElementById("useremail"),s=document.getElementById("username"),a=document.getElementById("continueAcceptBtn"),r=document.getElementById("emailCheck"),i=document.getElementById("successmsg"),o=document.getElementById("submitButton"),(d=document.createElement("div")).id="cartProgress",d.classList.add("progress-bar"),a.classList.add("submitDisabled"),a.appendChild(d),c={question:t.value,questionby:n.value,questionname:s.value,helpCode:localStorage.getItem("refid"),itemid:activeitemid,pid:productEntity.productID},e.label=1;case 1:return e.trys.push([1,3,,4]),[4,fetch("/product/SaveQA",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(c)})];case 2:if(!e.sent().ok)throw Error("Network response was not ok.");return i.style.display="block",o.classList.add("submitDisabled"),r.style.display="none",[3,4];case 3:return e.sent(),[3,4];case 4:return document.getElementById("rootForm").reset(),o.style.display="block",a.style.display="none",d.remove(),a.classList.remove("submitDisabled"),[2]}}))}))).apply(this,arguments)}function handleNotifyMeApi(){return _handleNotifyMeApi.apply(this,arguments)}function _handleNotifyMeApi(){return(_handleNotifyMeApi=_async_to_generator((function(){var e,t,n,s,a,r,i,o;return _ts_generator(this,(function(d){switch(d.label){case 0:e=document.getElementById("notifyuserEmail"),t=document.getElementById("submitNotify-continueAccept"),n=document.getElementById("checkNotifyEmail"),s=document.getElementById("successNotifymsg"),a=document.getElementById("submitNotify"),(r=document.createElement("div")).id="cartProgress",r.classList.add("progress-bar"),t.classList.add("disabled"),t.appendChild(r),i=e.value,o={Url:window.location.href.replace(window.location.origin,""),Email:i},d.label=1;case 1:return d.trys.push([1,3,,4]),[4,fetch("/Product/NotifyMe",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(o)})];case 2:if(!d.sent().ok)throw Error("Network response was not ok.");return s.style.display="block",n.style.display="none",[3,4];case 3:return d.sent(),[3,4];case 4:return a.style.display="block",t.style.display="none",r.remove(),document.getElementById("notifyuserEmail").innerHTML="",t.classList.remove("disabled"),[2]}}))}))).apply(this,arguments)}function handleValidateEmailAddress(e,t){return _handleValidateEmailAddress.apply(this,arguments)}function _handleValidateEmailAddress(){return(_handleValidateEmailAddress=_async_to_generator((function(e,t){var n,s,a,r,i,o,d,c;return _ts_generator(this,(function(e){switch(e.label){case 0:return s=(n=document.getElementById("notifyuserEmail")).value,a=document.getElementById("submitNotify"),r=document.getElementById("checkNotifyEmail"),i=document.getElementById("successNotifymsg"),(o=document.createElement("div")).id="cartProgress",o.classList.add("progress-bar"),a.classList.add("disabled"),a.appendChild(o),[4,fetch("/Account/ValidateEmailAddress",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({email:s,source:"notifyme"})})];case 1:return[4,e.sent().json()];case 2:return(d=e.sent()).isSuccess?(c={Url:window.location.href.replace(window.location.origin,""),Email:s},[4,fetch("/Product/NotifyMe",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(c)})]):[3,4];case 3:return e.sent(),i.style.display="block",a.classList.add("disabled"),[3,5];case 4:document.getElementById("checkNotifyEmail").textContent=d.message,r.style.display="block",n.addEventListener("input",(function(e){s!==e.target.value&&(document.getElementById("submitNotify").style.display="block",r.style.display="none",document.getElementById("submitNotify-continueAccept").style.display="none")})),document.getElementById("submitNotify").style.display="none",document.getElementById("submitNotify-continueAccept").style.display="block",a.classList.add("disabled"),e.label=5;case 5:return o.classList.remove("progress-bar"),a.classList.remove("disabled"),[2]}}))}))).apply(this,arguments)}document.fonts.add(openSansFont),openSansFont.load().then(checkFontLoad).catch((function(e){console.log("Open Sans font failed to load",e)}));var createTextField=function(e,t,n,s,a,r,i,o){var d=document.createElement("label");d.style.marginBottom="0px",d.className="matter-textfield-filled",d.id="".concat(t,"Label");var c=document.createElement("input");c.id="".concat(t,"Input"),c.type=o||"text",c.placeholder="",c.setAttribute("value",n),c.required=a||!1,c.readOnly=r||!1,c.addEventListener("input",s),d.appendChild(c);var l=document.createElement("span");return l.innerText=e,d.appendChild(l),d};function _class_call_check(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}function _defineProperties(e,t){for(var n=0;n8)||void 0===arguments[8]||arguments[8],c=arguments.length>9&&void 0!==arguments[9]?arguments[9]:null,l=arguments.length>10&&void 0!==arguments[10]&&arguments[10],u=document.createElement("label");u.style.marginBottom="0px",u.className=d?"matter-textfield-filled":"matter-textfield-outlined",u.id="".concat(t,"Label");var h=document.createElement("input");h.id="".concat(t,"Input"),h.type=o||"text",h.placeholder="",n&&h.setAttribute("value",n),h.required=a||!1,h.readOnly=r||!1,h.disabled=l||!1,h.addEventListener("input",s),u.appendChild(h);var p=document.createElement("span");if(p.innerText=e,u.appendChild(p),c){var m=document.createElement("section");m.id="couponSVG",m.innerHTML="".concat(c),u.appendChild(m)}return u}},{key:"createCheckboxElement",value:function(e,t,n,s,a,r,i){var o=document.createElement("span");o.id=e;var d=document.createElement("input");d.id="cb"+e,d.type=t||"checkbox",d.className=n||"",d.checked=""!=s&&null!=s,d.setAttribute("aria-label",a||""),d.onchange=i;var c=document.createElement("label");return c.className="",c.textContent=r||"",o.appendChild(d),o.appendChild(c),o}},{key:"createButtonElement",value:function(e,t,n,s){var a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:null,r=arguments.length>5&&void 0!==arguments[5]?arguments[5]:null,i=document.createElement("button");return i.id=e,i.type=t,i.innerText=s,i.className=n,a&&"function"==typeof a&&i.addEventListener("click",a),r&&i.classList.add(r),i}},{key:"createElement",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",s=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[],a=document.createElement(e);return""!==t&&(a.className=t),""!==n&&(a.id=n),Array.isArray(s)&&s.length>0&&s.forEach((function(e){e&&"object"==typeof e&&e.eventName&&"function"==typeof e.eventHandler&&a.addEventListener(e.eventName,e.eventHandler)})),a}}]),e}();function _class_call_check(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}function _defineProperties(e,t){for(var n=0;n