function updateDealTime(){function r(n,t,i){function o(n){n.html(""+i+" "+r+":"+u+":"+f+":"+e+"<\/span>")}n.css("display","inline");var r=Math.floor(t/864e5),u=Math.floor(t%864e5/36e5),f=Math.floor(t%36e5/6e4),e=Math.floor(t%6e4/1e3);r<10&&(r="0"+r);u<10&&(u="0"+u);f<10&&(f="0"+f);e<10&&(e="0"+e);o(n)}function u(){i.hide();dealTimerJson.splice(n,1);n--}var f=(new Date).getTime(),n;if(dealTimerJson.length===0){clearInterval(dealtimer);return}for(n=0;n0){if(o<0||h<=0){u();continue}r(i,o,timerEndsInLabel)}else{if(s<0){u();continue}r(i,s,timerStartsInLabel)}}}function getClaimValue(n){var t,i,r;return n&&(t=$("[data-id='"+n+"']"),t.length===0&&(t=$("#pb-"+n)),t.length>0)?(i=t.next(),r=i.find("span:first"),r.text()):null}var Dell,dealtimer;(function(){"use strict";function e(n){this.time=n.time;this.target=n.target;this.rootBounds=n.rootBounds;this.boundingClientRect=n.boundingClientRect;this.intersectionRect=n.intersectionRect||u();this.isIntersecting=!!n.intersectionRect;var t=this.boundingClientRect,i=t.width*t.height,r=this.intersectionRect,f=r.width*r.height;this.intersectionRatio=i?Number((f/i).toFixed(4)):this.isIntersecting?1:0}function n(n,t){var i=t||{};if(typeof n!="function")throw new Error("callback must be a function");if(i.root&&i.root.nodeType!=1)throw new Error("root must be an Element");this._checkForIntersections=l(this._checkForIntersections.bind(this),this.THROTTLE_TIMEOUT);this._callback=n;this._observationTargets=[];this._queuedEntries=[];this._rootMarginValues=this._parseRootMargin(i.rootMargin);this.thresholds=this._initThresholds(i.threshold);this.root=i.root||null;this.rootMargin=this._rootMarginValues.map(function(n){return n.value+n.unit}).join(" ")}function c(){return window.performance&&performance.now&&performance.now()}function l(n,t){var i=null;return function(){i||(i=setTimeout(function(){n();i=null},t))}}function o(n,t,i,r){typeof n.addEventListener=="function"?n.addEventListener(t,i,r||!1):typeof n.attachEvent=="function"&&n.attachEvent("on"+t,i)}function s(n,t,i,r){typeof n.removeEventListener=="function"?n.removeEventListener(t,i,r||!1):typeof n.detatchEvent=="function"&&n.detatchEvent("on"+t,i)}function a(n,t){var i=Math.max(n.top,t.top),r=Math.min(n.bottom,t.bottom),u=Math.max(n.left,t.left),f=Math.min(n.right,t.right),e=f-u,o=r-i;return e>=0&&o>=0&&{top:i,bottom:r,left:u,right:f,width:e,height:o}}function r(n){var t;try{t=n.getBoundingClientRect()}catch(i){}return t?(t.width&&t.height||(t={top:t.top,right:t.right,bottom:t.bottom,left:t.left,width:t.right-t.left,height:t.bottom-t.top}),t):u()}function u(){return{top:0,bottom:0,left:0,right:0,width:0,height:0}}function h(n,t){for(var i=t;i;){if(i==n)return!0;i=f(i)}return!1}function f(n){var t=n.parentNode;return t&&t.nodeType==11&&t.host?t.host:t&&t.assignedSlot?t.assignedSlot.parentNode:t}if(typeof window=="object"){if("IntersectionObserver"in window&&"IntersectionObserverEntry"in window&&"intersectionRatio"in window.IntersectionObserverEntry.prototype){"isIntersecting"in window.IntersectionObserverEntry.prototype||Object.defineProperty(window.IntersectionObserverEntry.prototype,"isIntersecting",{get:function(){return this.intersectionRatio>0}});return}var t=window.document,i=[];n.prototype.THROTTLE_TIMEOUT=150;n.prototype.POLL_INTERVAL=150;n.prototype.USE_MUTATION_OBSERVER=!1;n.prototype.observe=function(n){var t=this._observationTargets.some(function(t){return t.element==n});if(!t){if(!(n&&n.nodeType==1))throw new Error("target must be an Element");this._registerInstance();this._observationTargets.push({element:n,entry:null});this._monitorIntersections();this._checkForIntersections()}};n.prototype.unobserve=function(n){this._observationTargets=this._observationTargets.filter(function(t){return t.element!=n});this._observationTargets.length||(this._unmonitorIntersections(),this._unregisterInstance())};n.prototype.disconnect=function(){this._observationTargets=[];this._unmonitorIntersections();this._unregisterInstance()};n.prototype.takeRecords=function(){var n=this._queuedEntries.slice();return this._queuedEntries=[],n};n.prototype._initThresholds=function(n){var t=n||[0];return Array.isArray(t)||(t=[t]),t.sort().filter(function(n,t,i){if(typeof n!="number"||isNaN(n)||n<0||n>1)throw new Error("threshold must be a number between 0 and 1 inclusively");return n!==i[t-1]})};n.prototype._parseRootMargin=function(n){var i=n||"0px",t=i.split(/\s+/).map(function(n){var t=/^(-?\d*\.?\d+)(px|%)$/.exec(n);if(!t)throw new Error("rootMargin must be specified in pixels or percent");return{value:parseFloat(t[1]),unit:t[2]}});return t[1]=t[1]||t[0],t[2]=t[2]||t[0],t[3]=t[3]||t[1],t};n.prototype._monitorIntersections=function(){this._monitoringIntersections||(this._monitoringIntersections=!0,this.POLL_INTERVAL?this._monitoringInterval=setInterval(this._checkForIntersections,this.POLL_INTERVAL):(o(window,"resize",this._checkForIntersections,!0),o(t,"scroll",this._checkForIntersections,!0),this.USE_MUTATION_OBSERVER&&"MutationObserver"in window&&(this._domObserver=new MutationObserver(this._checkForIntersections),this._domObserver.observe(t,{attributes:!0,childList:!0,characterData:!0,subtree:!0}))))};n.prototype._unmonitorIntersections=function(){this._monitoringIntersections&&(this._monitoringIntersections=!1,clearInterval(this._monitoringInterval),this._monitoringInterval=null,s(window,"resize",this._checkForIntersections,!0),s(t,"scroll",this._checkForIntersections,!0),this._domObserver&&(this._domObserver.disconnect(),this._domObserver=null))};n.prototype._checkForIntersections=function(){var n=this._rootIsInDom(),t=n?this._getRootRect():u();this._observationTargets.forEach(function(i){var u=i.element,h=r(u),s=this._rootContainsTarget(u),f=i.entry,l=n&&s&&this._computeTargetAndRootIntersection(u,t),o=i.entry=new e({time:c(),target:u,boundingClientRect:h,rootBounds:t,intersectionRect:l});f?n&&s?this._hasCrossedThreshold(f,o)&&this._queuedEntries.push(o):f&&f.isIntersecting&&this._queuedEntries.push(o):this._queuedEntries.push(o)},this);this._queuedEntries.length&&this._callback(this.takeRecords(),this)};n.prototype._computeTargetAndRootIntersection=function(n,i){var e,s;if(window.getComputedStyle(n).display!="none"){for(var c=r(n),o=c,u=f(n),h=!1;!h;){if(e=null,s=u.nodeType==1?window.getComputedStyle(u):{},s.display=="none")return;if(u==this.root||u==t?(h=!0,e=i):u!=t.body&&u!=t.documentElement&&s.overflow!="visible"&&(e=r(u)),e&&(o=a(e,o),!o))break;u=f(u)}return o}};n.prototype._getRootRect=function(){var u,n,i;return this.root?u=r(this.root):(n=t.documentElement,i=t.body,u={top:0,left:0,right:n.clientWidth||i.clientWidth,width:n.clientWidth||i.clientWidth,bottom:n.clientHeight||i.clientHeight,height:n.clientHeight||i.clientHeight}),this._expandRectByRootMargin(u)};n.prototype._expandRectByRootMargin=function(n){var i=this._rootMarginValues.map(function(t,i){return t.unit=="px"?t.value:t.value*(i%2?n.width:n.height)/100}),t={top:n.top-i[0],right:n.right+i[1],bottom:n.bottom+i[2],left:n.left-i[3]};return t.width=t.right-t.left,t.height=t.bottom-t.top,t};n.prototype._hasCrossedThreshold=function(n,t){var u=n&&n.isIntersecting?n.intersectionRatio||0:-1,f=t.isIntersecting?t.intersectionRatio||0:-1,r,i;if(u!==f)for(r=0;rf?(i.addClass("dls-show-arrows"),i.find(".dls-car-next").removeClass("dls-car-disabled"),r(t,o+1,u-e,f)):i.removeClass("dls-show-arrows")}function f(t){var i=t.item.index,u=t.item.count,f=t.page.size,o=parseInt(n(this.$element).attr("ad-count"),10);e(t,i,u,f);r(t,i+1,u-o,f)}function r(t,i,r,u){var e=n(t.target),f=i-1+u>r,o=i===r;e.closest("#dls-carousel-section").find(".dls-car-pagination").html(ViewingText+" "+(o?(f?r:i-1+u)+" "+ViewingOfText+" "+r:''+i+"-<\/span>"+(f?r:i-1+u)+" "+ViewingOfText+" "+r))}function e(t,i,r,u){var f=n(t.target);i===0?f.closest(".dls-car-wrap").find(".dls-car-prev").addClass("dls-car-disabled"):f.closest(".dls-car-wrap").find(".dls-car-prev").removeClass("dls-car-disabled");i>=r-u?f.closest(".dls-car-wrap").find(".dls-car-next").addClass("dls-car-disabled"):f.closest(".dls-car-wrap").find(".dls-car-next").removeClass("dls-car-disabled")}var t=n(".dls-car-row");n("body").on("click.landing-carousel",".dls-car-prev",function(){var t=n(this),i=t.closest(".dls-car-wrap").find(".owl-carousel");i.trigger("prev.owl.carousel")});n("body").on("click.landing-carousel",".dls-car-next",function(){var t=n(this),i=t.closest(".dls-car-wrap").find(".owl-carousel");i.trigger("next.owl.carousel")});observer=new IntersectionObserver(function(t){t.forEach(function(t){if(t.isIntersecting===!0){const r=t.target,i=n(r).attr("id"),f=n("#"+i).find(".inlinerating");u(i);n(f).attr("data-bv-show","inline_rating");observer.unobserve(t.target)}})},{rootMargin:"0px 0px 100% 0px",threshold:0});for(let n=0;n<\/div>','
<\/div>'],tiles=$(".main-tabs .navigation-tabs.se-slider.owl-carousel"),activeTab=tiles.find(".active-tab").index()||0;if((typeof isCategoryPage=="undefined"||isCategoryPage===null)&&(isCategoryPage=!1),(document.referrer.indexOf(location.protocol+"//"+location.host)===0||isCategoryPage)&&$(window).width()<=768&&$body.attr("id")==="dealsLanding"&&($(window).width()<=767&&(updateUrl(noHashUrl+urlSuffix),$body.removeClass(destroyClass).removeClass(filterClass)),$body.removeClass(destroyClass).removeClass(filterClass)),tiles.owlCarousel({dots:!1,nav:!0,mouseDrag:!1,navText:owlArrows,stagePadding:17,responsive:{0:{items:1,touchDrag:!1,mouseDrag:!1,pullDrag:!1},768:{items:4,slideBy:4},992:{items:5,slideBy:5},1200:{items:7,slideBy:7}},margin:0}),tiles.find(".active-tab").parent().hasClass("active")||tiles.trigger("to.owl.carousel",[activeTab,0]),progressBars.init(),"onhashchange"in window&&isMobile()){function n(){location.hash?location.hash.indexOf("#current")!==-1&&showCats():hideCats()}window.onhashchange=n}featuredTabs();showCartButton();$(window).resize(function(){var n=$(window).width();width!==n&&($("body").hasClass("category-page")&&($window.width()<769?(owl.owlCarousel(owlOptions).removeClass(".owl-hide"),$body.removeClass(destroyClass).removeClass(filterClass)):(owl.trigger("destroy.owl.carousel"),$body.addClass(destroyClass).addClass(filterClass))),featuredTabs(),clearTimeout(resizeTimer),resizeTimer=setTimeout(function(){$(window).width()<=767},100),width=n)});dealTypeFilter.on("change",function(){var n=$(this);document.location=n.val()});/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile/i.test(navigator.userAgent)?$(".selectpicker").selectpicker("mobile"):select.selectpicker();seePriceInCart.popover({placement:"bottom",content:ManufacturingMessageText?ManufacturingMessageText:"",html:!0,title:'Why don\'t we show the price? ×<\/span>',container:"body"});$body.on("click",function(n){$(n.target).data("toggle")!=="popover"&&$(n.target).parents(".popover.in").length===0&&seePriceInCart.popover("hide")});seePriceInCart.on("shown.bs.popover",function(){$(".close-popover-x").on("click",function(){seePriceInCart.popover("hide")})});$(".image-wrapper img").on("error",function(){$(this).attr("src",notFoundImage)});$(window).on("load",function(){var n=window.location.href;new RegExp("current|upcoming|expired").test(n)&&showCats();loadClickAds();select.selectpicker("refresh")});currentDealsTab.click(function(){$window.width()<768&&updateUrl(noHashUrl+urlSuffix)}),function(n){"use strict";var t=function(t,i,r){function l(n){if(f.body)return n();setTimeout(function(){l(n)})}function s(){u.addEventListener&&u.removeEventListener("load",s);u.media=r||"all"}var f=n.document,u=f.createElement("link"),e,h,c,o;return i?e=i:(h=(f.body||f.getElementsByTagName("head")[0]).childNodes,e=h[h.length-1]),c=f.styleSheets,u.rel="stylesheet",u.href=t,u.media="only x",l(function(){e.parentNode.insertBefore(u,i?e:e.nextSibling)}),o=function(n){for(var i=u.href,t=c.length;t--;)if(c[t].href===i)return n();setTimeout(function(){o(n)})},u.addEventListener&&u.addEventListener("load",s),u.onloadcssdefined=o,o(s),u};typeof exports!="undefined"?exports.loadCSS=t:n.loadCSS=t}(typeof global!="undefined"?global:this),function(n){var t,i;n.loadCSS&&(t=loadCSS.relpreload={},t.support=function(){try{return n.document.createElement("link").relList.supports("preload")}catch(t){return!1}},t.poly=function(){for(var r=n.document.getElementsByTagName("link"),t,i=0;i=a?i():document.fonts.load(n(s,'"'+s.family+'"'),h).then(function(n){1<=n.length?t():setTimeout(r,25)},function(){i()})}r()}),p=new Promise(function(n,t){l=setTimeout(t,a)});Promise.race([p,y]).then(function(){clearTimeout(l);i(s)},function(){e(s)})}else c(function(){function d(){var n;(n=-1!=c&&-1!=y||-1!=c&&-1!=p||-1!=y&&-1!=p)&&((n=c!=y&&c!=p&&y!=p)||(null===f&&(n=/AppleWebKit\/([0-9]+)(?:\.([0-9]+))/.exec(window.navigator.userAgent),f=!!n&&(536>parseInt(n[1],10)||536===parseInt(n[1],10)&&11>=parseInt(n[2],10))),n=f&&(c==g&&y==g&&p==g||c==nt&&y==nt&&p==nt||c==tt&&y==tt&&p==tt)),n=!n);n&&(null!==o.parentNode&&o.parentNode.removeChild(o),clearTimeout(l),i(s))}function it(){if((new Date).getTime()-v>=a)null!==o.parentNode&&o.parentNode.removeChild(o),e(s);else{var n=document.hidden;(!0===n||void 0===n)&&(c=w.a.offsetWidth,y=b.a.offsetWidth,p=k.a.offsetWidth,d());l=setTimeout(it,50)}}var w=new r(h),b=new r(h),k=new r(h),c=-1,y=-1,p=-1,g=-1,nt=-1,tt=-1,o=document.createElement("div");o.dir="ltr";t(w,n(s,"sans-serif"));t(b,n(s,"serif"));t(k,n(s,"monospace"));o.appendChild(w.a);o.appendChild(b.a);o.appendChild(k.a);document.body.appendChild(o);g=w.a.offsetWidth;nt=b.a.offsetWidth;tt=k.a.offsetWidth;it();u(w,function(n){c=n;d()});t(w,n(s,'"'+s.family+'",sans-serif'));u(b,function(n){y=n;d()});t(b,n(s,'"'+s.family+'",serif'));u(k,function(n){p=n;d()});t(k,n(s,'"'+s.family+'",monospace'))})})};"undefined"!=typeof module?module.exports=i:(window.FontFaceObserver=i,window.FontFaceObserver.prototype.load=i.prototype.load)}();Dell=window.Dell||{};Dell.Services=Dell.Services||{};Dell.Services.fontEvents={},function(n,t){(function(){"use strict";var i=t.getElementsByTagName("body")[0],n;this.init=function(){n("icon-brand","fontLoad-icon-brand");n('"icon-brand"',"fontLoad-icon-brand");n("icon-ui","fontLoad-icon-ui");n('"icon-ui"',"fontLoad-icon-ui");n("icon-small","fontLoad-icon-small");n("icon-large","fontLoad-icon-large")};n=function(n,t){var r=new FontFaceObserver(n);r.load().then(function(){i.className+=" "+t},function(){})};FontFaceObserver&&Dell.Services.fontEvents.init()}).call(Dell.Services.fontEvents)}(window,document);dealtimer=setInterval(updateDealTime,1e3)