PageSourceSearch

https://www.rtacabinetstore.com/blog/src/layout.js?v=6

js rtacabinetstore.com collected 2026-10-02 06:13:35 UTC 34,691 bytes, 524 lines download raw bytes

vendor: 4,322 bytes, lines 1-17
1/*
2setTimeout(function() {
3	try {
4		if (isHeaderVariation)
5			location.reload(false);
6	}
7	catch(e) { }
8}, 500);
9*/
10
11// WebFontConfig = { google: { families: [ 'Open+Sans+Condensed:300,700:latin', 'Mulish:400,600,700:latin' ] }  }; (function() { var wf = document.createElement('script'); wf.src = ('https:' == document.location.protocol ? 'https' : 'http') + '://ajax.googleapis.com/ajax/libs/webfont/1/webfont.js'; wf.type = 'text/javascript'; wf.async = 'true'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(wf, s); })();
12
13/*! Lazy Load 1.9.3 - MIT license - Copyright 2010-2013 Mika Tuupola */
14!function(a,b,c,d){var e=a(b);a.fn.lazyload=function(f){function g(){var b=0;i.each(function(){var c=a(this);if(!j.skip_invisible||c.is(":visible"))if(a.abovethetop(this,j)||a.leftofbegin(this,j));else if(a.belowthefold(this,j)||a.rightoffold(this,j)){if(++b>j.failure_limit)return!1}else c.trigger("appear"),b=0})}var h,i=this,j={threshold:0,failure_limit:0,event:"scroll",effect:"show",container:b,data_attribute:"original",skip_invisible:!0,appear:null,load:null,placeholder:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsQAAA7EAZUrDhsAAAANSURBVBhXYzh8+PB/AAffA0nNPuCLAAAAAElFTkSuQmCC"};return f&&(d!==f.failurelimit&&(f.failure_limit=f.failurelimit,delete f.failurelimit),d!==f.effectspeed&&(f.effect_speed=f.effectspeed,delete f.effectspeed),a.extend(j,f)),h=j.container===d||j.container===b?e:a(j.container),0===j.event.indexOf("scroll")&&h.bind(j.event,function(){return g()}),this.each(function(){var b=this,c=a(b);b.loaded=!1,(c.attr("src")===d||c.attr("src")===!1)&&c.is("img")&&c.attr("src",j.placeholder),c.one("appear",function(){if(!this.loaded){if(j.appear){var d=i.length;j.appear.call(b,d,j)}a("<img />").bind("load",function(){var d=c.attr("data-"+j.data_attribute);c.hide(),c.is("img")?c.attr("src",d):c.css("background-image","url('"+d+"')"),c[j.effect](j.effect_speed),b.loaded=!0;var e=a.grep(i,function(a){return!a.loaded});if(i=a(e),j.load){var f=i.length;j.load.call(b,f,j)}}).attr("src",c.attr("data-"+j.data_attribute))}}),0!==j.event.indexOf("scroll")&&c.bind(j.event,function(){b.loaded||c.trigger("appear")})}),e.bind("resize",function(){g()}),/(?:iphone|ipod|ipad).*os 5/gi.test(navigator.appVersion)&&e.bind("pageshow",function(b){b.originalEvent&&b.originalEvent.persisted&&i.each(function(){a(this).trigger("appear")})}),a(c).ready(function(){g()}),this},a.belowthefold=function(c,f){var g;return g=f.container===d||f.container===b?(b.innerHeight?b.innerHeight:e.height())+e.scrollTop():a(f.container).offset().top+a(f.container).height(),g<=a(c).offset().top-f.threshold},a.rightoffold=function(c,f){var g;return g=f.container===d||f.container===b?e.width()+e.scrollLeft():a(f.container).offset().left+a(f.container).width(),g<=a(c).offset().left-f.threshold},a.abovethetop=function(c,f){var g;return g=f.container===d||f.container===b?e.scrollTop():a(f.container).offset().top,g>=a(c).offset().top+f.threshold+a(c).height()},a.leftofbegin=function(c,f){var g;return g=f.container===d||f.container===b?e.scrollLeft():a(f.container).offset().left,g>=a(c).offset().left+f.threshold+a(c).width()},a.inviewport=function(b,c){return!(a.rightoffold(b,c)||a.leftofbegin(b,c)||a.belowthefold(b,c)||a.abovethetop(b,c))},a.extend(a.expr[":"],{"below-the-fold":function(b){return a.belowthefold(b,{threshold:0})},"above-the-top":function(b){return!a.belowthefold(b,{threshold:0})},"right-of-screen":function(b){return a.rightoffold(b,{threshold:0})},"left-of-screen":function(b){return!a.rightoffold(b,{threshold:0})},"in-viewport":function(b){return a.inviewport(b,{threshold:0})},"above-the-fold":function(b){return!a.belowthefold(b,{threshold:0})},"right-of-fold":function(b){return a.rightoffold(b,{threshold:0})},"left-of-fold":function(b){return!a.rightoffold(b,{threshold:0})}})}(jQuery,window,document);
15
16/*
17LazyLoad=function(e){function u(t,n){var r=e.createElement(t),i;for(i in n){if(n.hasOwnProperty(i)){r.setAttribute(i,n[i])}}return r}function a(e){var t=r[e],n,o;if(t){n=t.callback;o=t.urls;o.shift();i=0;if(!o.length){n&&n.call(t.context,t.obj);r[e]=null;s[e].length&&l(e)}}}function f(){var n=navigator.userAgent;t={async:e.createElement("script").async===true};
17(t.webkit=/AppleWebKit\//.test(n))||(t.ie=/MSIE|Trident/.test(n))||(t.opera=/Opera/.test(n))||(t.gecko=/Gecko\//.test(n))||(t.unknown=true)}function l(i,o,l,p,d){var v=function(){a(i)},m=i==="css",g=[],y,b,w,E,S,x;t||f();if(o){o=typeof o==="string"?[o]:o.concat();if(m||t.async||t.gecko||t.opera){s[i].push({urls:o,callback:l,obj:p,context:d})}else{for(y=0,b=o.length;y<b;++y){s[i].push({urls:[o[y]],callback:y===b-1?l:null,obj:p,context:d})}}}if(r[i]||!(E=r[i]=s[i].shift())){return}n||(n=e.head||e.getElementsByTagName("head")[0]);S=E.urls.concat();for(y=0,b=S.length;y<b;++y){x=S[y];if(m){w=t.gecko?u("style"):u("link",{href:x,rel:"stylesheet"})}else{w=u("script",{src:x});w.async=false}w.className="lazyload";w.setAttribute("charset","utf-8");if(t.ie&&!m&&"onreadystatechange"in w&&!("draggable"in w)){w.onreadystatechange=function(){if(/loaded|complete/.test(w.readyState)){w.onreadystatechange=null;v()}}}else if(m&&(t.gecko||t.webkit)){if(t.webkit){E.urls[y]=w.href;h()}else{w.innerHTML='@import "'+x+'";';c(w)}}else{w.onload=w.onerror=v}g.push(w)}for(y=0,b=g.length;y<b;++y){n.appendChild(g[y])}}function c(e){var t;try{t=!!e.sheet.cssRules}catch(n){i+=1;if(i<200){setTimeout(function(){c(e)},50)}else{t&&a("css")}return}a("css")}function h(){var e=r.css,t;if(e){t=o.length;while(--t>=0){if(o[t].href===e.urls[0]){a("css");break}}i+=1;if(e){if(i<200){setTimeout(h,50)}else{a("css")}}}}var t,n,r={},i=0,s={css:[],js:[]},o=e.styleSheets;return{css:function(e,t,n,r){l("css",e,t,n,r)},js:function(e,t,n,r){l("js",e,t,n,r)}}}(this.document)
18LazyLoad.css('https://use.fontawesome.com/releases/v5.2.0/css/all.css');
19*/
20
21/*! jQuery ColorBox v1.4.6 - 2013-03-19 (c) 2013 Jack Moore - jacklmoore.com/colorbox license: http://www.opensource.org/licenses/mit-license.php */
22(function(e,t,i){function o(i,o,n){var r=t.createElement(i);return o&&(r.id=et+o),n&&(r.style.cssText=n),e(r)}function n(){return i.innerHeight?i.innerHeight:e(i).height()}function r(e){var t=E.length,i=(j+e)%t;return 0>i?t+i:i}function h(e,t){return Math.round((/%/.test(e)?("x"===t?H.width():n())/100:1)*parseInt(e,10))}function s(e,t){return e.photo||e.photoRegex.test(t)}function l(e,t){return e.retinaUrl&&i.devicePixelRatio>1?t.replace(e.photoRegex,e.retinaSuffix):t}function a(e){"contains"in v[0]&&!v[0].contains(e.target)&&(e.stopPropagation(),v.focus())}function d(){var t,i=e.data(O,Z);null==i?(z=e.extend({},Y),console&&console.log&&console.log("Error: cboxElement missing settings object")):z=e.extend({},i);for(t in z)e.isFunction(z[t])&&"on"!==t.slice(0,2)&&(z[t]=z[t].call(O));z.rel=z.rel||O.rel||e(O).data("rel")||"nofollow",z.href=z.href||e(O).attr("href"),z.title=z.title||O.title,"string"==typeof z.href&&(z.href=e.trim(z.href))}function c(i,o){e(t).trigger(i),ct.trigger(i),e.isFunction(o)&&o.call(O)}function u(){var e,t,i,o,n,r=et+"Slideshow_",h="click."+et;z.slideshow&&E[1]?(t=function(){clearTimeout(e)},i=function(){(z.loop||E[j+1])&&(e=setTimeout(X.next,z.slideshowSpeed))},o=function(){F.html(z.slideshowStop).unbind(h).one(h,n),ct.bind(nt,i).bind(ot,t).bind(rt,n),v.removeClass(r+"off").addClass(r+"on")},n=function(){t(),ct.unbind(nt,i).unbind(ot,t).unbind(rt,n),F.html(z.slideshowStart).unbind(h).one(h,function(){X.next(),o()}),v.removeClass(r+"on").addClass(r+"off")},z.slideshowAuto?o():n()):v.removeClass(r+"off "+r+"on")}function f(i){G||(O=i,d(),E=e(O),j=0,"nofollow"!==z.rel&&(E=e("."+tt).filter(function(){var t,i=e.data(this,Z);return i&&(t=e(this).data("rel")||i.rel||this.rel),t===z.rel}),j=E.index(O),-1===j&&(E=E.add(O),j=E.length-1)),g.css({opacity:parseFloat(z.opacity),cursor:z.overlayClose?"pointer":"auto",visibility:"visible"}).show(),J&&v.add(g).removeClass(J),z.className&&v.add(g).addClass(z.className),J=z.className,K.html(z.close).show(),U||(U=$=!0,v.css({visibility:"hidden",display:"block"}),I=o(ut,"LoadedContent","width:0; height:0; overflow:hidden").appendTo(y),D=b.height()+k.height()+y.outerHeight(!0)-y.height(),B=C.width()+T.width()+y.outerWidth(!0)-y.width(),N=I.outerHeight(!0),A=I.outerWidth(!0),z.w=h(z.initialWidth,"x"),z.h=h(z.initialHeight,"y"),X.position(),at&&H.bind("resize."+dt+" scroll."+dt,function(){g.css({width:H.width(),height:n(),top:H.scrollTop(),left:H.scrollLeft()})}).trigger("resize."+dt),u(),c(it,z.onOpen),_.add(M).hide(),v.focus(),t.addEventListener&&(t.addEventListener("focus",a,!0),ct.one(ht,function(){t.removeEventListener("focus",a,!0)})),z.returnFocus&&ct.one(ht,function(){e(O).focus()})),w())}function p(){!v&&t.body&&(V=!1,H=e(i),v=o(ut).attr({id:Z,"class":lt?et+(at?"IE6":"IE"):"",role:"dialog",tabindex:"-1"}).hide(),g=o(ut,"Overlay",at?"position:absolute":"").hide(),W=o(ut,"LoadingOverlay").add(o(ut,"LoadingGraphic")),x=o(ut,"Wrapper"),y=o(ut,"Content").append(M=o(ut,"Title"),S=o(ut,"Current"),P=o("button","Previous"),R=o("button","Next"),F=o("button","Slideshow"),W,K=o("button","Close")),x.append(o(ut).append(o(ut,"TopLeft"),b=o(ut,"TopCenter"),o(ut,"TopRight")),o(ut,!1,"clear:left").append(C=o(ut,"MiddleLeft"),y,T=o(ut,"MiddleRight")),o(ut,!1,"clear:left").append(o(ut,"BottomLeft"),k=o(ut,"BottomCenter"),o(ut,"BottomRight"))).find("div div").css({"float":"left"}),L=o(ut,!1,"position:absolute; width:9999px; visibility:hidden; display:none"),_=R.add(P).add(S).add(F),e(t.body).append(g,v.append(x,L)))}function m(){function i(e){e.which>1||e.shiftKey||e.altKey||e.metaKey||(e.preventDefault(),f(this))}return v?(V||(V=!0,R.click(function(){X.next()}),P.click(function(){X.prev()}),K.click(function(){X.close()}),g.click(function(){z.overlayClose&&X.close()}),e(t).bind("keydown."+et,function(e){var t=e.keyCode;U&&z.escKey&&27===t&&(e.preventDefault(),X.close()),U&&z.arrowKey&&E[1]&&
22!e.altKey&&(37===t?(e.preventDefault(),P.click()):39===t&&(e.preventDefault(),R.click()))}),e.isFunction(e.fn.on)?e(t).on("click."+et,"."+tt,i):e("."+tt).live("click."+et,i)),!0):!1}function w(){var t,n,r,a=X.prep,u=++ft;$=!0,q=!1,O=E[j],d(),c(st),c(ot,z.onLoad),z.h=z.height?h(z.height,"y")-N-D:z.innerHeight&&h(z.innerHeight,"y"),z.w=z.width?h(z.width,"x")-A-B:z.innerWidth&&h(z.innerWidth,"x"),z.mw=z.w,z.mh=z.h,z.maxWidth&&(z.mw=h(z.maxWidth,"x")-A-B,z.mw=z.w&&z.w<z.mw?z.w:z.mw),z.maxHeight&&(z.mh=h(z.maxHeight,"y")-N-D,z.mh=z.h&&z.h<z.mh?z.h:z.mh),t=z.href,Q=setTimeout(function(){W.show()},100),z.inline?(r=o(ut).hide().insertBefore(e(t)[0]),ct.one(st,function(){r.replaceWith(I.children())}),a(e(t))):z.iframe?a(" "):z.html?a(z.html):s(z,t)?(t=l(z,t),e(q=new Image).addClass(et+"Photo").bind("error",function(){z.title=!1,a(o(ut,"Error").html(z.imgError))}).one("load",function(){var e;u===ft&&(z.retinaImage&&i.devicePixelRatio>1&&(q.height=q.height/i.devicePixelRatio,q.width=q.width/i.devicePixelRatio),z.scalePhotos&&(n=function(){q.height-=q.height*e,q.width-=q.width*e},z.mw&&q.width>z.mw&&(e=(q.width-z.mw)/q.width,n()),z.mh&&q.height>z.mh&&(e=(q.height-z.mh)/q.height,n())),z.h&&(q.style.marginTop=Math.max(z.mh-q.height,0)/2+"px"),E[1]&&(z.loop||E[j+1])&&(q.style.cursor="pointer",q.onclick=function(){X.next()}),lt&&(q.style.msInterpolationMode="bicubic"),setTimeout(function(){a(q)},1))}),setTimeout(function(){q.src=t},1)):t&&L.load(t,z.data,function(t,i){u===ft&&a("error"===i?o(ut,"Error").html(z.xhrError):e(this).contents())})}var g,v,x,y,b,C,T,k,E,H,I,L,W,M,S,F,R,P,K,_,z,D,B,N,A,O,j,q,U,$,G,Q,X,J,V,Y={transition:"elastic",speed:300,width:!1,initialWidth:"600",innerWidth:!1,maxWidth:!1,height:!1,initialHeight:"450",innerHeight:!1,maxHeight:!1,scalePhotos:!0,scrolling:!0,inline:!1,html:!1,iframe:!1,fastIframe:!0,photo:!1,href:!1,title:!1,rel:!1,opacity:.9,preloading:!0,className:!1,retinaImage:!1,retinaUrl:!1,retinaSuffix:"@2x.$1",current:"image {current} of {total}",previous:"previous",next:"next",close:"close",xhrError:"This content failed to load.",imgError:"This image failed to load.",open:!1,returnFocus:!0,reposition:!0,loop:!0,slideshow:!1,slideshowAuto:!0,slideshowSpeed:2500,slideshowStart:"start slideshow",slideshowStop:"stop slideshow",photoRegex:/\.(gif|png|jp(e|g|eg)|bmp|ico)((#|\?).*)?$/i,onOpen:!1,onLoad:!1,onComplete:!1,onCleanup:!1,onClosed:!1,overlayClose:!0,escKey:!0,arrowKey:!0,top:!1,bottom:!1,left:!1,right:!1,fixed:!1,data:void 0},Z="colorbox",et="cbox",tt=et+"Element",it=et+"_open",ot=et+"_load",nt=et+"_complete",rt=et+"_cleanup",ht=et+"_closed",st=et+"_purge",lt=!e.support.leadingWhitespace,at=lt&&!i.XMLHttpRequest,dt=et+"_IE6",ct=e("<a/>"),ut="div",ft=0;e.colorbox||(e(p),X=e.fn[Z]=e[Z]=function(t,i){var o=this;if(t=t||{},p(),m()){if(e.isFunction(o))o=e("<a/>"),t.open=!0;else if(!o[0])return o;i&&(t.onComplete=i),o.each(function(){e.data(this,Z,e.extend({},e.data(this,Z)||Y,t))}).addClass(tt),(e.isFunction(t.open)&&t.open.call(o)||t.open)&&f(o[0])}return o},X.position=function(e,t){function i(e){b[0].style.width=k[0].style.width=y[0].style.width=parseInt(e.style.width,10)-B+"px",y[0].style.height=C[0].style.height=T[0].style.height=parseInt(e.style.height,10)-D+"px"}var o,r,s,l=0,a=0,d=v.offset();H.unbind("resize."+et),v.css({top:-9e4,left:-9e4}),r=H.scrollTop(),s=H.scrollLeft(),z.fixed&&!at?(d.top-=r,d.left-=s,v.css({position:"fixed"})):(l=r,a=s,v.css({position:"absolute"})),a+=z.right!==!1?Math.max(H.width()-z.w-A-B-h(z.right,"x"),0):z.left!==!1?h(z.left,"x"):Math.round(Math.max(H.width()-z.w-A-B,0)/2),l+=z.bottom!==!1?Math.max(n()-z.h-N-D-h(z.bottom,"y"),0):z.top!==!1?h(z.top,"y"):Math.round(Math.max(n()-z.h-N-D,0)/2),v.css({top:d.top,left:d.left,visibility:"visible"}),e=v.width()===z.w+A&&v.height()===z.h+N?0:e||0,x[0].style.width=x[0].style.height="9999px",o={width:z.w+A+B,height:z.h+N+D,top:l,left:a},0===e&&v.css(o),v.dequeue().animate(o,{duration:e,complete:function(){i(this),$=!1,x[0].style.width=z.w+A+B+"px",x[0].style.height=z.h+N+D+"px",z.reposition&&setTimeout(function(){H.bind("resize."+et,X.position)},1),t&&t()},step:function(){i(this)}})},X.resize=function(e){U&&(e=e||{},e.width&&(z.w=h(e.width,"x")-A-B),e.innerWidth&&(z.w=h(e.innerWidth,"x")),I.css({width:z.w}
22),e.height&&(z.h=h(e.height,"y")-N-D),e.innerHeight&&(z.h=h(e.innerHeight,"y")),e.innerHeight||e.height||(I.css({height:"auto"}),z.h=I.height()),I.css({height:z.h}),X.position("none"===z.transition?0:z.speed))},X.prep=function(t){function i(){return z.w=z.w||I.width(),z.w=z.mw&&z.mw<z.w?z.mw:z.w,z.w}function n(){return z.h=z.h||I.height(),z.h=z.mh&&z.mh<z.h?z.mh:z.h,z.h}if(U){var h,a="none"===z.transition?0:z.speed;I.empty().remove(),I=o(ut,"LoadedContent").append(t),I.hide().appendTo(L.show()).css({width:i(),overflow:z.scrolling?"auto":"hidden"}).css({height:n()}).prependTo(y),L.hide(),e(q).css({"float":"none"}),h=function(){function t(){lt&&v[0].style.removeAttribute("filter")}var i,n,h=E.length,d="frameBorder",u="allowTransparency";U&&(n=function(){clearTimeout(Q),W.hide(),c(nt,z.onComplete)},lt&&q&&I.fadeIn(100),M.html(z.title).add(I).show(),h>1?("string"==typeof z.current&&S.html(z.current.replace("{current}",j+1).replace("{total}",h)).show(),R[z.loop||h-1>j?"show":"hide"]().html(z.next),P[z.loop||j?"show":"hide"]().html(z.previous),z.slideshow&&F.show(),z.preloading&&e.each([r(-1),r(1)],function(){var t,i,o=E[this],n=e.data(o,Z);n&&n.href?(t=n.href,e.isFunction(t)&&(t=t.call(o))):t=e(o).attr("href"),t&&s(n,t)&&(t=l(n,t),i=new Image,i.src=t)})):_.hide(),z.iframe?(i=o("iframe")[0],d in i&&(i[d]=0),u in i&&(i[u]="true"),z.scrolling||(i.scrolling="no"),e(i).attr({src:z.href,name:(new Date).getTime(),"class":et+"Iframe",title:(z.titleattr ? z.titleattr : ''),allowFullScreen:!0,webkitAllowFullScreen:!0,mozallowfullscreen:!0}).one("load",n).appendTo(I),ct.one(st,function(){i.src="//about:blank"}),z.fastIframe&&e(i).trigger("load")):n(),"fade"===z.transition?v.fadeTo(a,1,t):t())},"fade"===z.transition?v.fadeTo(a,0,function(){X.position(0,h)}):X.position(a,h)}},X.next=function(){!$&&E[1]&&(z.loop||E[j+1])&&(j=r(1),f(E[j]))},X.prev=function(){!$&&E[1]&&(z.loop||j)&&(j=r(-1),f(E[j]))},X.close=function(){U&&!G&&(G=!0,U=!1,c(rt,z.onCleanup),H.unbind("."+et+" ."+dt),g.fadeTo(200,0),v.stop().fadeTo(300,0,function(){v.add(g).css({opacity:1,cursor:"auto"}).hide(),c(st),I.empty().remove(),setTimeout(function(){G=!1,c(ht,z.onClosed)},1)}))},X.remove=function(){e([]).add(v).add(g).remove(),v=null,e("."+tt).removeData(Z).removeClass(tt),e(t).unbind("click."+et)},X.element=function(){return e(O)},X.settings=Y)})(jQuery,document,window);
23
24/*!
25 * The Final Countdown for jQuery v2.2.0 (http://hilios.github.io/jQuery.countdown/) */
26!function(a){"use strict";"function"==typeof define&&define.amd?define(["jquery"],a):a(jQuery)}(function(a){"use strict";function b(a){if(a instanceof Date)return a;
26if(String(a).match(g))return String(a).match(/^[0-9]*$/)&&(a=Number(a)),String(a).match(/\-/)&&(a=String(a).replace(/\-/g,"/")),new Date(a);throw new Error("Couldn't cast `"+a+"` to a date object.")}function c(a){var b=a.toString().replace(/([.?*+^$[\]\\(){}|-])/g,"\\$1");return new RegExp(b)}function d(a){return function(b){var d=b.match(/%(-|!)?[A-Z]{1}(:[^;]+;)?/gi);if(d)for(var f=0,g=d.length;f<g;++f){var h=d[f].match(/%(-|!)?([a-zA-Z]{1})(:[^;]+;)?/),j=c(h[0]),k=h[1]||"",l=h[3]||"",m=null;h=h[2],i.hasOwnProperty(h)&&(m=i[h],m=Number(a[m])),null!==m&&("!"===k&&(m=e(l,m)),""===k&&m<10&&(m="0"+m.toString()),b=b.replace(j,m.toString()))}return b=b.replace(/%%/,"%")}}function e(a,b){var c="s",d="";return a&&(a=a.replace(/(:|;|\s)/gi,"").split(/\,/),1===a.length?c=a[0]:(d=a[0],c=a[1])),Math.abs(b)>1?c:d}var f=[],g=[],h={precision:100,elapse:!1,defer:!1};g.push(/^[0-9]*$/.source),g.push(/([0-9]{1,2}\/){2}[0-9]{4}( [0-9]{1,2}(:[0-9]{2}){2})?/.source),g.push(/[0-9]{4}([\/\-][0-9]{1,2}){2}( [0-9]{1,2}(:[0-9]{2}){2})?/.source),g=new RegExp(g.join("|"));var i={Y:"years",m:"months",n:"daysToMonth",d:"daysToWeek",w:"weeks",W:"weeksToMonth",H:"hours",M:"minutes",S:"seconds",D:"totalDays",I:"totalHours",N:"totalMinutes",T:"totalSeconds"},j=function(b,c,d){this.el=b,this.$el=a(b),this.interval=null,this.offset={},this.options=a.extend({},h),this.instanceNumber=f.length,f.push(this),this.$el.data("countdown-instance",this.instanceNumber),d&&("function"==typeof d?(this.$el.on("update.countdown",d),this.$el.on("stoped.countdown",d),this.$el.on("finish.countdown",d)):this.options=a.extend({},h,d)),this.setFinalDate(c),this.options.defer===!1&&this.start()};a.extend(j.prototype,{start:function(){null!==this.interval&&clearInterval(this.interval);var a=this;this.update(),this.interval=setInterval(function(){a.update.call(a)},this.options.precision)},stop:function(){clearInterval(this.interval),this.interval=null,this.dispatchEvent("stoped")},toggle:function(){this.interval?this.stop():this.start()},pause:function(){this.stop()},resume:function(){this.start()},remove:function(){this.stop.call(this),f[this.instanceNumber]=null,delete this.$el.data().countdownInstance},setFinalDate:function(a){this.finalDate=b(a)},update:function(){if(0===this.$el.closest("html").length)return void this.remove();var b,c=void 0!==a._data(this.el,"events"),d=new Date;b=this.finalDate.getTime()-d.getTime(),b=Math.ceil(b/1e3),b=!this.options.elapse&&b<0?0:Math.abs(b),this.totalSecsLeft!==b&&c&&(this.totalSecsLeft=b,this.elapsed=d>=this.finalDate,this.offset={seconds:this.totalSecsLeft%60,minutes:Math.floor(this.totalSecsLeft/60)%60,hours:Math.floor(this.totalSecsLeft/60/60)%24,days:Math.floor(this.totalSecsLeft/60/60/24)%7,daysToWeek:Math.floor(this.totalSecsLeft/60/60/24)%7,daysToMonth:Math.floor(this.totalSecsLeft/60/60/24%30.4368),weeks:Math.floor(this.totalSecsLeft/60/60/24/7),weeksToMonth:Math.floor(this.totalSecsLeft/60/60/24/7)%4,months:Math.floor(this.totalSecsLeft/60/60/24/30.4368),years:Math.abs(this.finalDate.getFullYear()-d.getFullYear()),totalDays:Math.floor(this.totalSecsLeft/60/60/24),totalHours:Math.floor(this.totalSecsLeft/60/60),totalMinutes:Math.floor(this.totalSecsLeft/60),totalSeconds:this.totalSecsLeft},this.options.elapse||0!==this.totalSecsLeft?this.dispatchEvent("update"):(this.stop(),this.dispatchEvent("finish")))},dispatchEvent:function(b){var c=a.Event(b+".countdown");c.finalDate=this.finalDate,c.elapsed=this.elapsed,c.offset=a.extend({},this.offset),c.strftime=d(this.offset),this.$el.trigger(c)}}),a.fn.countdown=function(){var b=Array.prototype.slice.call(arguments,0);return this.each(function(){var c=a(this).data("countdown-instance");if(void 0!==c){var d=f[c],e=b[0];j.prototype.hasOwnProperty(e)?d[e].apply(d,b.slice(1)):null===String(e).match(/^[$A-Z_][0-9A-Z_$]*$/i)?(d.setFinalDate.call(d,e),d.start()):a.error("Method %s does not exist on jQuery.countdown".replace(/\%s/gi,e))}else new j(this,b[0],b[1])})}});
27
28(function() {
29	if ($('.countdown').length) {
30		var countdownDate = $('.countdown').data('ends');
31		var today = new Date();
32		var forceTimer = false;
33		var daysUntil = 172800;
34
35		/*
36		if (today.getFullYear() == 2022 && today.getMonth() == 10) { 
37			forceTimer = true;
38			countdownDate = '2022-12-03 03:00:00';
39			daysUntil = 345600;
40		}
41		*/
42		
43		var ends = new Date(countdownDate);
44		var seconds = (ends - today) / 1000;
45		var format = '<b>%-D</b> day%!D <b>%H</b> hr <b>%M</b> min <b>%S</b> sec';
46		if (seconds < 86400)
47			format = '<b>%H</b> hr <b>%M</b> min <b>%S</b> sec';
48		
49		
50		if (location.search.indexOf('notimer') === -1 && (seconds < daysUntil || forceTimer)) {
51			$('.nav-timer').removeClass('no-timer');
52
53			if ($(window).width() > 900) {
54				$('.nav-sale-learn').remove();
55				$('.nav-sale-code-left').show();
56				$('.nav-sale-code-right').remove();
57			}
58			
59			$('.countdown').countdown(countdownDate, function(event) {
60				today = new Date();
61				seconds = Math.round((ends - today) / 1000);
62				
63			    $(this).html(event.strftime('Sale ends in: ' + format));			    
64			});
65
66		    var percent = (100 - (seconds / daysUntil * 100));
67		    var currentPercent = 0;
68		    var countdownTimeout = setInterval(function() {
69		    	if (currentPercent >= percent)
70		    		clearTimeout(countdownTimeout);
71		    		
72		    	currentPercent += .3;	
73
74			    $('.countdown-wrapper').css('background', 'linear-gradient(to right, #103e50 0%, #103e50 ' + currentPercent + '%, #6096AA ' + currentPercent + '%, #6096AA ' + (100 - percent) + '%)');
75			}, 10); 
76			
77		}
78	}
79})();
80
81if ($('.home-counter').length) {
82	var countdownDate = $('.home-counter').data('ends');
83	$('.home-counter').countdown(countdownDate).on('update.countdown', function(event) {
84		var $this = $(this).html(event.strftime(''
85		+ '<div class="flex counter-box"><div class="counter-number">0%-D</div><div class="counter-desc">Day%!d</div></div>'
86		+ '<div class="flex counter-box"><div class="counter-number">%H</div><div class="counter-desc">Hour</div></div>'
87		+ '<div class="flex counter-box"><div class="counter-number">%M</div><div class="counter-desc">Min</div></div>'
88		+ '<div class="flex counter-box"><div class="counter-number">%S</div><div class="counter-desc">Sec</div></div>'));
89	});
90}
91
92function getParameterByName(name) {
93    name = name.replace(/[\[]/, "\\\[").replace(/[\]]/, "\\\]");
94    var regex = new RegExp("[\\?&]" + name + "=([^&#]*)"),
95        results = regex.exec(location.search);
96    return results == null ? "" : decodeURIComponent(results[1].replace(/\+/g, " "));
97}
98
99
100// $(window).scroll(function() {
101// 	if ($(window).width() < 1024)
102// 		return;
103
104// 	var wScroll = $(window).scrollTop();
105	
106// 	if (wScroll > 100) {
107		
108// 		$('.nav-new').addClass('reduced');
109// 		if ($('.topbar .search.reduced-only-inline').length === 0) {
110// 			$('.topbar').append('<li class="search reduced-only-inline"><a href="/search_form" class="noredir"><span class="fas fa-search"></span> Search</a><form action="/search" method="GET"><input name="SearchableText" type="search" placeholder="Search" aria-label="Search Website"><button type="submit" title="Submit"><span class="fas fa-search"></span></button></form></li>');
111// 		}		
112		
113		
114// 	}
115// 	else {
116// 		$('.nav-new').removeClass('reduced');
117// 	}
118// });
119
120
121$('.chat').click(function(e) {
122	e.preventDefault();
123	$('.chat-bubble').click();
124});
125$('.chat-bubble').on('click', function() {
126	$(this).remove();
127	!function(e,t,n){function a(){var e=t.getElementsByTagName("script")[0],n=t.createElement("script");n.type="text/javascript",n.async=1,n.src="https://beacon-v2.helpscout.net",e.parentNode.insertBefore(n,e)}if(e.Beacon=n=function(t,n,a){e.Beacon.readyQueue.push({method:t,options:n,data:a})},n.readyQueue=[],"complete"===t.readyState)return a();e.attachEvent?e.attachEvent("onload",a):e.addEventListener("load",a,!1)}(window,document,window.Beacon||function(){});
128	window.Beacon('init', '3f0810f3-ace8-4afb-b4b5-9e4cfefe8487');	
129	Beacon("open", { type: "modal" });
130});
131
132
133
134$('img[data-original]').lazyload({
135    effect : 'fadeIn', threshold: 300
136});	
137
138$(window).keydown(function(e) {
139	if(e.which === 116) {
140		e.preventDefault();
141		location.reload();
142	}	
143});
144
145
146/* $(window).load(function() { */
147$('ul.navigation li').hover(function(){
148	$(this).find('.drop').stop(1,1).slideUp(100).delay(200).slideDown('fast', function() { $(window).scroll(); }); 
149}, function(){
150	$(this).find('.drop').stop(1,1).slideUp('fast');
151});
152/* }); */
153
154if ($(window).width() <= 750) {
155	// mobile
156	$('#search-btn a').attr('href', '/search_form');
157}
158else {
159	$('#search-btn a').click(function() {
160		$('.search-container').slideToggle();
161	});	
162}
163
164$('footer .brands img').on('mouseover', function() {
165	$(this).attr('src', $(this).attr('src').replace('.png', '-color.png'));
166}).on('mouseout', function() {
167	$(this).attr('src', $(this).attr('src').replace('-color', ''));
168});
169
170$('p.message').not('.error').not('.stay').fadeIn().delay(8000).slideUp();
171
172
173if (typeof bread !== 'undefined') {
174	bread.events.subscribe('onCustomerOpen', function(err, data, callback) {
175
176		if (data.opts.buttonId === 'bread-promo-0') {
177			var eventParams = {
178				'hitType': 'event',
179				'eventCategory': 'Financing',
180				'eventAction': 'click',
181				'eventLabel': 'Get Rate',
182				nonInteraction: false
183			}
184	
185			ga.getAll()[0].send(eventParams);
186		}
187		else if  (data.opts.buttonId === 'bread-checkout-btn') {
188			var eventParams = {
189				'hitType': 'event',
190				'eventCategory': 'Financing',
191				'eventAction': 'click',
192				'eventLabel': (location.href.indexOf('/cart') !== -1 ? 'Cart' : 'PDP'),
193				nonInteraction: false
194			}
195			
196			ga.getAll()[0].send(eventParams);
197		}
198		
199		callback(true);
200	});
201}
202
203$('body').on('click', '.event-track', function(e) {
204
205	var eventParams = {
206		'hitType': 'event',
207		'eventCategory': $(this).data('event_category'),
208		'eventAction': $(this).data('event_action'),
209		'eventLabel': $(this).data('event_label'),
210		nonInteraction: true
211	}
212	
213	if ($(this).attr('type') === 'submit' && !$(this).hasClass('nocallback')) {
214		
215		e.preventDefault();
216		$parentForm = $(this).parents('form');
217		
218		eventParams['hitCallback'] = function() {
219			$parentForm.submit();
220		}
221		
222		setTimeout(function() {
223			$parentForm.submit();  // in case event tracking fails
224		}, 1000);		
225
226	}
227	else if ($(this).attr('href') && !$(this).hasClass('nocallback')) {
228
229		e.preventDefault();
230		var href = $(this).attr('href');
231		
232		eventParams['hitCallback'] = function() {
233			location.href = href;
234		}
235		
236		setTimeout(function() {
237			location.href = href;  // in case event tracking fails
238		}, 1500);
239		
240	}
241	
242	if (typeof ga !== 'undefined')
243		ga.getAll()[0].send(eventParams);	
244
245
246});
247
248/* new nav 2021 */
249$('.nav-new').on('click', '.search a',  function(e) {
250	e.preventDefault();
251	$(this).hide();
252	$(this).next('form').fadeIn().children('input').focus();
253});
254$('.nav-new .mobile-menu-toggle').on('click', function() {
255	$('.mobile-nav-popout').before('<div class="mobile-nav-popout-overlay"></div>');
256	$('.mobile-nav-popout').animate( { left: 0 } );
257});
258$('.nav-new .close').on('click', function() {
259	$('.mobile-nav-popout-overlay').remove();
260	$('.mobile-nav-popout').animate( { left: '-450px' } );
261});
262$('.nav-new .parent').addClass('inactive').on('click', function(e) {
263	$(this).toggleClass('inactive');
264});
265
266
267if (typeof sessionStorage !== 'undefined') {
268	if (sessionStorage.getItem('cart_qty')) {
269		$('.nav-cart').append('<span class="cart-bubble">' + sessionStorage.getItem('cart_qty') + '</span>'); 
270	}
271}
272
273$('.nav-new').on('click.gaevent', 'a', function(e) {
274
275	console.log('event');
276
277	if ($(this).hasClass('nav-cart'))
278		$(this).children('.cart-bubble').remove();	
279
280	var eventParams = {
281		'hitType': 'event',
282		'eventCategory': 'Navigation',
283		'eventAction': 'click',
284		'eventLabel': $(this).text(),
285		nonInteraction: true
286	}
287	
288	e.preventDefault();
289	var href = $(this).attr('href');
290	var allowRedir = !$(this).hasClass('noredir');
291	
292	if ($('.mobile-nav-popout-overlay').length) {
293		if ($(this).parent().hasClass('parent'))
294			allowRedir = false;
295	}
296	
297	
298	if (allowRedir) {
299		eventParams['hitCallback'] = function() {
300			location.href = href;
301		}
302		
303		setTimeout(function() {
304			if (href !== '#')
305				location.href = href;  // in case event tracking fails
306		}, 500);
307	}
308		
309	if (typeof ga !== 'undefined')
310		ga.getAll()[0].send(eventParams);	
311
312});
313
314$(window).on('scroll', function () {
315	if ($(window).width() < 1024) return;
316		var wScroll = $(window).scrollTop();
317	if (wScroll > 100) {
318		$(".mini-header").addClass("mini-header--shown");
319	} else {
320		$(".mini-header").removeClass("mini-header--shown");
321	}
322});
323
324setTimeout(function () {
325	$(window).scroll();
326}, 500);
327
328$(".mini-header .searchMediumBtn").on('click', function () {
329	$(this).addClass('hide');
330	$('.mini-header .searchMediumForm').addClass('show');
331});
332
333$('.header-variation li.parent li a').on('click', function(e) {
334
335	e.preventDefault();
336
337	console.log('event li 3');
338
339	if ($(this).hasClass('nav-cart'))
340		$(this).children('.cart-bubble').remove();	
341
342	var eventParams = {
343		'hitType': 'event',
344		'eventCategory': 'Navigation',
345		'eventAction': 'click',
346		'eventLabel': $(this).text(),
347		nonInteraction: true
348	}
349	
350	var href = $(this).attr('href');
351	var allowRedir = !$(this).hasClass('noredir');
352	
353	if ($('.mobile-nav-popout-overlay').length) {
354		if ($(this).parent().hasClass('parent'))
355			allowRedir = false;
356	}
357	
358	
359	if (allowRedir) {
360		eventParams['hitCallback'] = function() {
361			location.href = href;
362		}
363		
364		setTimeout(function() {
365			if (href !== '#')
366				location.href = href;  // in case event tracking fails
367		}, 500);
368	}
369		
370	if (typeof ga !== 'undefined')
371		ga.getAll()[0].send(eventParams);	
372
373});
374
375/*
376$(window).on('load', function() {
377
378	$('.nav-new').off('click.gaevent', 'a');
379	$('.nav-new').on('click.gaevent', 'a', function(e) {
380	
381		console.log('event 2');
382
383		if ($(this).hasClass('nav-cart'))
384			$(this).children('.cart-bubble').remove();	
385	
386		var eventParams = {
387			'hitType': 'event',
388			'eventCategory': 'Navigation',
389			'eventAction': 'click',
390			'eventLabel': $(this).text(),
391			nonInteraction: true
392		}
393		
394		e.preventDefault();
395		var href = $(this).attr('href');
396		var allowRedir = !$(this).hasClass('noredir');
397		
398		if ($('.mobile-nav-popout-overlay').length) {
399			if ($(this).parent().hasClass('parent'))
400				allowRedir = false;
401		}
402		
403		
404		if (allowRedir) {
405			eventParams['hitCallback'] = function() {
406				location.href = href;
407			}
408			
409			setTimeout(function() {
410				if (href !== '#')
411					location.href = href;  // in case event tracking fails
412			}, 500);
413		}
414			
415		if (typeof ga !== 'undefined')
416			ga.getAll()[0].send(eventParams);	
417	
418	});
419	
420});
421*/
422
423
424if ($(window).width() <= 960) {
425	$('#rtaFooterNavNew .expandable').on('click', function() {
426		$(this).toggleClass('expanded').next().slideToggle();
427	});
428}
429
430if ($(window).width() > 1200)
431	$('#rtaFooterNavNew .tablet').remove();
432else
433	$('#rtaFooterNavNew .desktop').remove();
434	
435$('.nav-new').unbind().on('click', '.search a',  function(e) {
436	e.preventDefault();
437	$(this).hide();
438	$('.mobile-nav-popout form').fadeIn().children('input').focus();
439});
440
441$('.nav-new .mobile-menu-toggle').unbind().on('click', function() {
442	$('.mobile-nav-popout').before('<div class="mobile-nav-popout-overlay"></div>').fadeIn();
443	$('.mean-container').css('overflow', 'hidden');
444	$('.mobile-nav-popout').animate( { left: 0 } );
445});
446$('.nav-new .close').unbind().on('click', function() {
447	$('.mobile-nav-popout-overlay').fadeOut();
448	$('.mean-container').css('overflow', 'initial');
449	$('.mobile-nav-popout').animate( { left: '-330px' } );
450});
451$('.nav-new .search-back').unbind().on('click', function() {
452	$('.mobile-nav-popout form').fadeOut();
453	$('.search a').fadeIn();
454});
455
456if (!$('.nav-new .parent').first().hasClass('inactive')) {
457	$('.nav-new .parent').addClass('inactive').unbind().on('click', function(e) {
458		e.preventDefault();
459	
460		console.log('clicked???');
461	
462	//	$(this).toggleClass('inactive');
463		$(this).toggleClass('subnav-active');
464		$(this).children('ul').toggle();
465	
466	});
467}
468
469$('.nav-new .parent ul').on('click', function(e) {
470    e.stopPropagation();
471});
472
473
474/* device type cookie */
475function getCookie(name) {
476    var dc = document.cookie;
477    var prefix = name + "=";
478    var begin = dc.indexOf("; " + prefix);
479    if (begin == -1) {
480        begin = dc.indexOf(prefix);
481        if (begin != 0) return null;
482    }
483    else
484    {
485        begin += 2;
486        var end = document.cookie.indexOf(";", begin);
487        if (end == -1) {
488        end = dc.length;
489        }
490    }
491    return decodeURI(dc.substring(begin + prefix.length, end));
492}
493function setCookie(name,value,days) {
494    var expires = "";
495    if (days) {
496        var date = new Date();
497        date.setTime(date.getTime() + (days*24*60*60*1000));
498        expires = "; expires=" + date.toUTCString();
499    }
500    document.cookie = name + "=" + (value || "")  + expires + "; path=/";
501}
502
503function detectDeviceType() {
504    if (/Mobi|Android/i.test(navigator.userAgent)) {
505        return 'mobile';
506    } else {
507        return 'desktop';
508    }
509}
510
511
512var rta_device_type = detectDeviceType();
513
514if (screen.width <= 480)
515	rta_device_type = 'mobile';
516
517if (screen.width >= 1280)
518	rta_device_type = 'desktop';
519	
520setCookie('device_type', rta_device_type, 120); // last touch
521if (!getCookie('device_type_first')) {
522	// first touch
523	setCookie('device_type_first', rta_device_type, 120);
524}

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.