!function(t){t.fn.hoverIntent=function(e,i,s){var o={interval:100,sensitivity:6,timeout:0};o="object"==typeof e?t.extend(o,e):t.isFunction(i)?t.extend(o,{over:e,out:i,selector:s}):t.extend(o,{over:e,out:e,selector:i});var n,r,a,l,h=function(t){n=t.pageX,r=t.pageY},c=function(e,i){return i.hoverIntent_t=clearTimeout(i.hoverIntent_t),Math.sqrt((a-n)*(a-n)+(l-r)*(l-r))@media (transform-3d),(-webkit-transform-3d){#modernizr{height:3px}}").appendTo("head"),s=e('
').appendTo("html");t=3===s.height(),s.remove(),i.remove()}return t},csstransitions:function(){return!!u}};if(r)for(s in d)r.hasOwnProperty(s)||r.addTest(s,d[s]);else{r=t.Modernizr={_version:"1.6ish: miniModernizr for Isotope"};var f,p=" ";for(s in d)f=d[s](),r[s]=f,p+=" "+(f?"":"no-")+s;e("html").addClass(p)}if(r.csstransforms){var m=r.csstransforms3d?{translate:function(t){return"translate3d("+t[0]+"px, "+t[1]+"px, 0) "},scale:function(t){return"scale3d("+t+", "+t+", 1) "}}:{translate:function(t){return"translate("+t[0]+"px, "+t[1]+"px) "},scale:function(t){return"scale("+t+") "}},v=function(t,i,s){var o,n,r=e.data(t,"isoTransform")||{},a={},l={};a[i]=s,e.extend(r,a);for(o in r)n=r[o],l[o]=m[o](n);var h=l.translate||"",u=l.scale||"",d=h+u;e.data(t,"isoTransform",r),t.style[c]=d};e.cssNumber.scale=!0,e.cssHooks.scale={set:function(t,e){v(t,"scale",e)},get:function(t,i){var s=e.data(t,"isoTransform");return s&&s.scale?s.scale:1}},e.fx.step.scale=function(t){e.cssHooks.scale.set(t.elem,t.now+t.unit)},e.cssNumber.translate=!0,e.cssHooks.translate={set:function(t,e){v(t,"translate",e)},get:function(t,i){var s=e.data(t,"isoTransform");return s&&s.translate?s.translate:[0,0]}}}var y,g;r.csstransitions&&(y={WebkitTransitionProperty:"webkitTransitionEnd",MozTransitionProperty:"transitionend",OTransitionProperty:"oTransitionEnd otransitionend",transitionProperty:"transitionend"}[u],g=h("transitionDuration"));var _,w=e.event,C="dispatch";w.special.smartresize={setup:function(){e(this).bind("resize",w.special.smartresize.handler)},teardown:function(){e(this).unbind("resize",w.special.smartresize.handler)},handler:function(t,e){var i=this,s=arguments;t.type="smartresize",_&&clearTimeout(_),_=setTimeout(function(){w[C].apply(i,s)},"execAsap"===e?0:100)}},e.fn.smartresize=function(t){return t?this.bind("smartresize",t):this.trigger("smartresize",["execAsap"])},e.Isotope=function(t,i,s){this.element=e(i),this._create(t),this._init(s)};var x=["width","height"],b=e(t);e.Isotope.settings={resizable:!0,layoutMode:"masonry",containerClass:"isotope",itemClass:"isotope-item",hiddenClass:"isotope-hidden",hiddenStyle:{opacity:0,scale:.001},visibleStyle:{opacity:1,scale:1},containerStyle:{position:"relative",overflow:"hidden"},animationEngine:"best-available",animationOptions:{queue:!1,duration:800},sortBy:"original-order",sortAscending:!0,resizesContainer:!0,transformsEnabled:!0,itemPositionDataEnabled:!1},e.Isotope.prototype={_create:function(t){this.options=e.extend({},e.Isotope.settings,t),this.styleQueue=[],this.elemCount=0;var i=this.element[0].style;this.originalStyle={};var s=x.slice(0);for(var o in this.options.containerStyle)s.push(o);for(var n=0,r=s.length;nr?1:n0&&(o=function(t,e){e.$el[l](e.style,h).one(y,a)},n=!1)}}e.each(this.styleQueue,o),n&&a(),this.styleQueue=[]},resize:function(){this["_"+this.options.layoutMode+"ResizeChanged"]()&&this.reLayout()},reLayout:function(t){this["_"+this.options.layoutMode+"Reset"](),this.layout(this.$filteredAtoms,t)},addItems:function(t,e){var i=this._getAtoms(t);this.$allAtoms=this.$allAtoms.add(i),e&&e(i)},insert:function(t,e){this.element.append(t);var i=this;this.addItems(t,function(t){var s=i._filter(t);i._addHideAppended(s),i._sort(),i.reLayout(),i._revealAppended(s,e)})},appended:function(t,e){var i=this;this.addItems(t,function(t){i._addHideAppended(t),i.layout(t),i._revealAppended(t,e)})},_addHideAppended:function(t){this.$filteredAtoms=this.$filteredAtoms.add(t),t.addClass("no-transition"),this._isInserting=!0,this.styleQueue.push({$el:t,style:this.options.hiddenStyle})},_revealAppended:function(t,e){var i=this;setTimeout(function(){t.removeClass("no-transition"),i.styleQueue.push({$el:t,style:i.options.visibleStyle}),i._isInserting=!1,i._processStyleQueue(t,e)},10)},reloadItems:function(){this.$allAtoms=this._getAtoms(this.element.children())},remove:function(t,e){this.$allAtoms=this.$allAtoms.not(t),this.$filteredAtoms=this.$filteredAtoms.not(t);var i=this,s=function(){t.remove(),e&&e.call(i.element)};t.filter(":not(."+this.options.hiddenClass+")").length?(this.styleQueue.push({$el:t,style:this.options.hiddenStyle}),this._sort(),this.reLayout(s)):s()},shuffle:function(t){this.updateSortData(this.$allAtoms),this.options.sortBy="random",this._sort(),this.reLayout(t)},destroy:function(){var t=this.usingTransforms,e=this.options;this.$allAtoms.removeClass(e.hiddenClass+" "+e.itemClass).each(function(){var e=this.style;e.position="",e.top="",e.left="",e.opacity="",t&&(e[c]="")});var i=this.element[0].style;for(var s in this.originalStyle)i[s]=this.originalStyle[s];this.element.unbind(".isotope").undelegate("."+e.hiddenClass,"click").removeClass(e.containerClass).removeData("isotope"),b.unbind(".isotope")},_getSegments:function(t){var e,i=this.options.layoutMode,s=t?"rowHeight":"columnWidth",o=t?"height":"width",n=t?"rows":"cols",r=this.element[o](),l=this.options[i]&&this.options[i][s]||this.$filteredAtoms["outer"+a(o)](!0)||r;e=Math.floor(r/l),e=Math.max(e,1),this[i][n]=e,this[i][s]=l},_checkIfSegmentsChanged:function(t){var e=this.options.layoutMode,i=t?"rows":"cols",s=this[e][i];return this._getSegments(t),this[e][i]!==s},_masonryReset:function(){this.masonry={},this._getSegments();var t=this.masonry.cols;for(this.masonry.colYs=[];t--;)this.masonry.colYs.push(0)},_masonryLayout:function(t){var i=this,s=i.masonry;t.each(function(){var t=e(this),o=Math.ceil(t.outerWidth(!0)/s.columnWidth);if(o=Math.min(o,s.cols),1===o)i._masonryPlaceBrick(t,s.colYs);else{var n,r,a=s.cols+1-o,l=[];for(r=0;rs&&(o.x=0,o.y=o.height),i._pushPosition(t,o.x,o.y),o.height=Math.max(o.y+r,o.height),o.x+=n})},_fitRowsGetContainerSize:function(){return{height:this.fitRows.height}},_fitRowsResizeChanged:function(){return!0},_cellsByRowReset:function(){this.cellsByRow={index:0},this._getSegments(),this._getSegments(!0)},_cellsByRowLayout:function(t){var i=this,s=this.cellsByRow;t.each(function(){var t=e(this),o=s.index%s.cols,n=Math.floor(s.index/s.cols),r=(o+.5)*s.columnWidth-t.outerWidth(!0)/2,a=(n+.5)*s.rowHeight-t.outerHeight(!0)/2;i._pushPosition(t,r,a),s.index++})},_cellsByRowGetContainerSize:function(){return{height:Math.ceil(this.$filteredAtoms.length/this.cellsByRow.cols)*this.cellsByRow.rowHeight+this.offset.top}},_cellsByRowResizeChanged:function(){return this._checkIfSegmentsChanged()},_straightDownReset:function(){this.straightDown={y:0}},_straightDownLayout:function(t){var i=this;t.each(function(t){var s=e(this);i._pushPosition(s,0,i.straightDown.y),i.straightDown.y+=s.outerHeight(!0)})},_straightDownGetContainerSize:function(){return{height:this.straightDown.y}},_straightDownResizeChanged:function(){return!0},_masonryHorizontalReset:function(){this.masonryHorizontal={},this._getSegments(!0);var t=this.masonryHorizontal.rows;for(this.masonryHorizontal.rowXs=[];t--;)this.masonryHorizontal.rowXs.push(0)},_masonryHorizontalLayout:function(t){var i=this,s=i.masonryHorizontal;t.each(function(){var t=e(this),o=Math.ceil(t.outerHeight(!0)/s.rowHeight);if(o=Math.min(o,s.rows),1===o)i._masonryHorizontalPlaceBrick(t,s.rowXs);else{var n,r,a=s.rows+1-o,l=[];for(r=0;rs&&(o.x=o.width,o.y=0),i._pushPosition(t,o.x,o.y),o.width=Math.max(o.x+n,o.width),o.y+=r})},_fitColumnsGetContainerSize:function(){return{width:this.fitColumns.width}},_fitColumnsResizeChanged:function(){return!0},_cellsByColumnReset:function(){this.cellsByColumn={index:0},this._getSegments(),this._getSegments(!0)},_cellsByColumnLayout:function(t){var i=this,s=this.cellsByColumn;t.each(function(){var t=e(this),o=Math.floor(s.index/s.rows),n=s.index%s.rows,r=(o+.5)*s.columnWidth-t.outerWidth(!0)/2,a=(n+.5)*s.rowHeight-t.outerHeight(!0)/2;i._pushPosition(t,r,a),s.index++})},_cellsByColumnGetContainerSize:function(){return{width:Math.ceil(this.$filteredAtoms.length/this.cellsByColumn.rows)*this.cellsByColumn.columnWidth}},_cellsByColumnResizeChanged:function(){return this._checkIfSegmentsChanged(!0)},_straightAcrossReset:function(){this.straightAcross={x:0}},_straightAcrossLayout:function(t){var i=this;t.each(function(t){var s=e(this);i._pushPosition(s,i.straightAcross.x,0),i.straightAcross.x+=s.outerWidth(!0)})},_straightAcrossGetContainerSize:function(){return{width:this.straightAcross.x}},_straightAcrossResizeChanged:function(){return!0}},e.fn.imagesLoaded=function(t){function i(){t.call(o,n)}function s(t){var o=t.target;o.src!==a&&e.inArray(o,l)===-1&&(l.push(o),--r<=0&&(setTimeout(i),n.unbind(".imagesLoaded",s)))}var o=this,n=o.find("img").add(o.filter("img")),r=n.length,a="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///ywAAAAAAQABAAACAUwAOw==",l=[];return r||i(),n.bind("load.imagesLoaded error.imagesLoaded",s).each(function(){var t=this.src;this.src=a,this.src=t}),o};var A=function(e){t.console&&t.console.error(e)};e.fn.isotope=function(t,i){if("string"==typeof t){var s=Array.prototype.slice.call(arguments,1);this.each(function(){var i=e.data(this,"isotope");return i?e.isFunction(i[t])&&"_"!==t.charAt(0)?void i[t].apply(i,s):void A("no such method '"+t+"' for isotope instance"):void A("cannot call methods on isotope prior to initialization; attempted to call method '"+t+"'")})}else this.each(function(){var s=e.data(this,"isotope");s?(s.option(t),s._init(i)):e.data(this,"isotope",new e.Isotope(t,this,i))});return this}}(window,jQuery),function(t,e,i){function s(t){var e={},s=/^jQuery\d+$/;return i.each(t.attributes,function(t,i){i.specified&&!s.test(i.name)&&(e[i.name]=i.value)}),e}function o(t,e){var s=this,o=i(s);if(s.value==o.attr("placeholder")&&o.hasClass("placeholder"))if(o.data("placeholder-password")){if(o=o.hide().next().show().attr("id",o.removeAttr("id").data("placeholder-id")),t===!0)return o[0].value=e;o.focus()}else s.value="",o.removeClass("placeholder"),s==r()&&s.select()}function n(){var t,e=this,n=i(e),r=this.id;if(""==e.value){if("password"==e.type){if(!n.data("placeholder-textinput")){try{t=n.clone().attr({type:"text"})}catch(e){t=i("").attr(i.extend(s(this),{type:"text"}))}t.removeAttr("name").data({"placeholder-password":n,"placeholder-id":r}).bind("focus.placeholder",o),n.data({"placeholder-textinput":t,"placeholder-id":r}).before(t)}n=n.removeAttr("id").hide().prev().attr("id",r).show()}n.addClass("placeholder"),n[0].value=n.attr("placeholder")}else n.removeClass("placeholder")}function r(){try{return e.activeElement}catch(t){}}var a,l,h="[object OperaMini]"==Object.prototype.toString.call(t.operamini),c="placeholder"in e.createElement("input")&&!h,u="placeholder"in e.createElement("textarea")&&!h,d=i.fn,f=i.valHooks,p=i.propHooks;c&&u?(l=d.placeholder=function(){return this},l.input=l.textarea=!0):(l=d.placeholder=function(){var t=this;return t.filter((c?"textarea":":input")+"[placeholder]").not(".placeholder").bind({"focus.placeholder":o,"blur.placeholder":n}).data("placeholder-enabled",!0).trigger("blur.placeholder"),t},l.input=c,l.textarea=u,a={get:function(t){var e=i(t),s=e.data("placeholder-password");return s?s[0].value:e.data("placeholder-enabled")&&e.hasClass("placeholder")?"":t.value},set:function(t,e){var s=i(t),a=s.data("placeholder-password");return a?a[0].value=e:s.data("placeholder-enabled")?(""==e?(t.value=e,t!=r()&&n.call(t)):s.hasClass("placeholder")?o.call(t,!0,e)||(t.value=e):t.value=e,s):t.value=e}},c||(f.input=a,p.value=a),u||(f.textarea=a,p.value=a),i(function(){i(e).delegate("form","submit.placeholder",function(){var t=i(".placeholder",this).each(o);setTimeout(function(){t.each(n)},10)})}),i(t).bind("beforeunload.placeholder",function(){i(".placeholder").each(function(){this.value=""})}))}(this,document,jQuery),jQuery(document).ready(function(t){t("input, textarea").placeholder()}),+function(t){"use strict";function e(i,s){var o,n=t.proxy(this.process,this);this.$element=t(t(i).is("body")?window:i),this.$body=t("body"),this.$scrollElement=this.$element.on("scroll.bs.scroll-spy.data-api",n),this.options=t.extend({},e.DEFAULTS,s),this.selector=(this.options.target||(o=t(i).attr("href"))&&o.replace(/.*(?=#[^\s]+$)/,"")||"")+" .x-nav li > a",this.offsets=t([]),this.targets=t([]),this.activeTarget=null,this.refresh(),this.process()}e.DEFAULTS={offset:10},e.prototype.refresh=function(){var e=this.$element[0]==window?"offset":"position";this.offsets=t([]),this.targets=t([]);var i=this;this.$body.find(this.selector).map(function(){var s=t(this),o=s.data("target")||s.attr("href"),n=/^#\w/.test(o)&&t(o);return n&&n.length&&[[n[e]().top+(!t.isWindow(i.$scrollElement.get(0))&&i.$scrollElement.scrollTop()),o]]||null}).sort(function(t,e){return t[0]-e[0]}).each(function(){i.offsets.push(this[0]),i.targets.push(this[1])})},e.prototype.process=function(){var t,e=this.$scrollElement.scrollTop()+this.options.offset,i=this.$scrollElement[0].scrollHeight||this.$body[0].scrollHeight,s=i-this.$scrollElement.height(),o=this.offsets,n=this.targets,r=this.activeTarget;if(e>=s)return r!=(t=n.last()[0])&&this.activate(t);for(t=o.length;t--;)r!=n[t]&&e>=o[t]&&(!o[t+1]||e<=o[t+1])&&this.activate(n[t])},e.prototype.activate=function(e){this.activeTarget=e,t(this.selector).parents(".current-menu-item").removeClass("current-menu-item");var i=this.selector+'[data-target="'+e+'"],'+this.selector+'[href="'+e+'"]',s=t(i).parents("li").addClass("current-menu-item");s.parent(".dropdown-menu").length&&(s=s.closest("li.dropdown").addClass("current-menu-item")),s.trigger("activate.bs.scrollspy")};var i=t.fn.scrollspy;t.fn.scrollspy=function(i){return this.each(function(){var s=t(this),o=s.data("bs.scrollspy"),n="object"==typeof i&&i;o||s.data("bs.scrollspy",o=new e(this,n)),"string"==typeof i&&o[i]()})},t.fn.scrollspy.Constructor=e,t.fn.scrollspy.noConflict=function(){return t.fn.scrollspy=i,this},t(window).on("load",function(){t('[data-spy="scroll"]').each(function(){var e=t(this);e.scrollspy(e.data())})})}(jQuery),jQuery(document).ready(function(t){function e(e,i,s){t("html, body").animate({scrollTop:t(e).offset().top-o-n+1},i,s)}var i=t("body"),s=i.outerHeight(),o=t("#wpadminbar").outerHeight(),n=t(".x-navbar-fixed-top-active .x-navbar").outerHeight(),r=location.href,a=r.indexOf("#"),l=r.substr(a),h=!1;if(i.on("touchmove",function(){h=!0}),i.on("touchstart",function(){h=!1}),t(window).load(function(){a!==-1&&t(l).length&&e(l,1,"linear")}),t('a[href*="#"]').on("touchend click",function(i){if(href=t(this).attr("href"),notComments=href.indexOf("#comments")===-1,"#"!==href&¬Comments){var s=href.split("#").pop(),o=t("#"+s);if(o.length>0){if(i.preventDefault(),h)return;e(o,850,"easeInOutExpo")}}}),i.hasClass("x-one-page-navigation-active")){i.scrollspy({target:".x-nav-wrap.desktop",offset:o+n}),t(window).resize(function(){i.scrollspy("refresh")});var c=0,u=setInterval(function(){c+=1;var t=i.outerHeight();t!==s&&i.scrollspy("refresh"),10===c&&clearInterval(u)},500)}}),jQuery(function(t){t(".x-slider-container.above .x-slider-scroll-bottom").on("touchstart click",function(e){e.preventDefault(),t("html, body").animate({scrollTop:t(".x-slider-container.above").outerHeight()},850,"easeInOutExpo")}),t(".x-slider-container.below .x-slider-scroll-bottom").on("touchstart click",function(e){e.preventDefault();var i=t(".masthead").outerHeight(),s=t(".x-navbar-fixed-top-active .x-navbar").outerHeight(),o=t(".x-slider-container.above").outerHeight(),n=t(".x-slider-container.below").outerHeight(),r=i+o+n-s;t("html, body").animate({scrollTop:r},850,"easeInOutExpo")})}),jQuery(document).ready(function(t){function e(t){n.hasClass("selected")?n.find("a.active").nextAll("a").removeClass("x-active"):r.removeClass("x-active")}function i(e){t(this).nextAll("a").removeClass("x-active")}function s(i){e(),t(this).addClass("x-active").prevAll("a").addClass("x-active")}var o=t(".x-cart-notification");o.length>0&&(t(".add_to_cart_button.product_type_simple").on("click",function(t){o.addClass("bring-forward appear loading")}),t("body").on("added_to_cart",function(t,e,i){setTimeout(function(){o.removeClass("loading").addClass("added"),setTimeout(function(){o.removeClass("appear"),setTimeout(function(){o.removeClass("added bring-forward")},650)},1e3)},650)}));var n=t("p.stars"),r=n.find("a");n.on("mouseleave",e),r.on("click",i),r.on("mouseover",s)});