jQuery(function(i){var c,o,r,d,n,h=i(document),y=i("#masthead"),e=0;function u(){var t;o=c.height(),i("#page-cover").css("padding-top",""),i("body").hasClass("is-header-transparent")?(t=i("#page-cover").css("padding-top"),t=parseInt(t),(isNaN(t)||t<=0)&&i("#page-cover").css("padding-top",o)):i("#page-cover").css("padding-top","")}function p(){u(),y.removeAttr("style"),y.css("min-height","auto"),r=y.length?(o=y.height(),y.css({"min-height":o,display:"block"}),y.offset()):{top:0,left:0},u();var t=0;i("#wpadminbar").length&&(t=i("#wpadminbar").height()),c.css("top",t)}c=i("#masthead-inner"),y=i("#masthead"),u(),p();function l(t){void 0===t&&(t=i(window).scrollTop()),"object"!=typeof r&&(r={top:0,left:0});var s,e=r.top+o+100;e<t?(s=0,i("#wpadminbar").length&&(s=i("#wpadminbar").height(),"absolute"==i("#wpadminbar").css("position")&&(s=0)),y.removeClass("sticky-hiding"),y.addClass("sticky"),c.css("top",s),n&&(clearTimeout(n),n=!1),y.hasClass("sticky-active")||d||(i(".header--sticky",y).each(function(){i(this).hasClass("header--transparent")&&i(this).removeClass("header--transparent").attr("data-ht",1)}),d=setTimeout(function(){y.addClass("sticky-active"),i(document.body).trigger("customify_sticky_active"),d=!1},50))):(d&&(clearTimeout(d),d=!1),clearTimeout(n),t>=r.top+o&&t<=e?(y.addClass("sticky-hiding"),n=setTimeout(function(){y.css("top",""),y.removeClass("sticky sticky-active sticky-hiding"),i(document.body).trigger("customify_sticky_active"),i(".header--sticky",y).each(function(){!i(this).attr("data-ht")&&1||i(this).addClass("header--transparent")})},300)):(clearTimeout(n),n=!1,c.css("top",""),y.removeClass("sticky sticky-active sticky-hiding"),i(document.body).trigger("customify_sticky_active"),i(".header--sticky",y).each(function(){!i(this).attr("data-ht")&&1||i(this).addClass("header--transparent")})))}function m(t,s){void 0===s&&(s="down");var e,a=r.top+o+100;a<t?(e=0,i("#wpadminbar").length&&(e=i("#wpadminbar").height(),"absolute"==i("#wpadminbar").css("position")&&(e=0)),y.removeClass("sticky-hiding"),y.addClass("sticky"),c.css("top",e),"up"===s?y.hasClass("sticky-active")||d||(d=setTimeout(function(){y.addClass("sticky-active"),d=!1,i(document.body).trigger("customify_sticky_active")},300)):(d&&(clearTimeout(d),d=!1),y.addClass("sticky-hiding"),n=setTimeout(function(){y.css("top",""),y.removeClass("sticky sticky-active sticky-hiding"),i(document.body).trigger("customify_sticky_active"),i(".header--sticky",y).each(function(){!i(this).attr("data-ht")&&1||i(this).addClass("header--transparent")})},300))):(d&&(clearTimeout(d),d=!1),clearTimeout(n),t>=r.top+o&&t<=a?(y.addClass("sticky-hiding"),n=setTimeout(function(){c.css("top",""),y.removeClass("sticky sticky-active sticky-hiding"),i(document.body).trigger("customify_sticky_active"),i(".header--sticky",y).each(function(){!i(this).attr("data-ht")&&1||i(this).addClass("header--transparent")})},300)):(clearTimeout(n),n=!1,c.css("top",""),y.removeClass("sticky sticky-active sticky-hiding"),i(document.body).trigger("customify_sticky_active"),i(".header--sticky",y).each(function(){!i(this).attr("data-ht")&&1||i(this).addClass("header--transparent")})))}h.on("selective-refresh-content-rendered  after_auto_render_css",function(t,s,e){try{if(void 0===e&&(e=""),"customify_customize_render_header"===s&&(0<i("#masthead .header--row.header--transparent").length?i("body").addClass("is-header-transparent"):i("body").removeClass("is-header-transparent")),"after_auto_render_css"===s&&"header_cover_padding_top"===e)return void u();p();var a=h.scrollTop();"1"===Customify_Pro_JS.header_sticky_up||1==Customify_Pro_JS.header_sticky_up?m(a,"down"):l(a),h.scroll()}catch(t){}}),i(window).resize(function(){setTimeout(function(){p();var t=h.scrollTop();"1"===Customify_Pro_JS.header_sticky_up?m(t,"down"):l(t),e=t},50)}),console.log("Customify_Pro_JS.header_sticky_up",Customify_Pro_JS.header_sticky_up),h.scroll(function(){var t=h.scrollTop(),s="",s=e<t?"down":"up";"1"===Customify_Pro_JS.header_sticky_up?m(t,s):l(t),e=t})});
jQuery(document).ready(function(t){var l=Customify_Pro_JS.scrolltop_duration,r=Customify_Pro_JS.scrolltop_offset;function o(){var o=t(document).scrollTop();r<o?t(".scrolltop").removeClass("hide"):t(".scrolltop").addClass("hide")}l=parseInt(l),isNaN(l)&&(l=500),r=parseInt(r),isNaN(r)&&(r=100),t(document).on("click",".scrolltop",function(o){o.preventDefault(),t("html, body").animate({scrollTop:0},l)}),o(),t(document).scroll(function(){o()})});
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):t.Shuffle=e()}(this,function(){"use strict";function t(){}t.prototype={on:function(t,e,i){var n=this.e||(this.e={});return(n[t]||(n[t]=[])).push({fn:e,ctx:i}),this},once:function(t,e,i){var n=this;function s(){n.off(t,s),e.apply(i,arguments)}return s._=e,this.on(t,s,i)},emit:function(t){for(var e=[].slice.call(arguments,1),i=((this.e||(this.e={}))[t]||[]).slice(),n=0,s=i.length;n<s;n++)i[n].fn.apply(i[n].ctx,e);return this},off:function(t,e){var i=this.e||(this.e={}),n=i[t],s=[];if(n&&e)for(var o=0,r=n.length;o<r;o++)n[o].fn!==e&&n[o].fn._!==e&&s.push(n[o]);return s.length?i[t]=s:delete i[t],this}};var e=t,i="undefined"!=typeof Element?Element.prototype:{},s=i.matches||i.matchesSelector||i.webkitMatchesSelector||i.mozMatchesSelector||i.msMatchesSelector||i.oMatchesSelector,n=function(t,e){if(!t||1!==t.nodeType)return!1;if(s)return s.call(t,e);for(var i=t.parentNode.querySelectorAll(e),n=0;n<i.length;n++)if(i[n]==t)return!0;return!1};function o(t,e){var i,n,s,o,r=0;return function(){i=this,n=arguments;var t=new Date-r;return o||(e<=t?l():o=setTimeout(l,e-t)),s};function l(){o=0,r=+new Date,s=t.apply(i,n),n=i=null}}function a(){}function r(t){return parseFloat(t)||0}var l=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")},u=function(t,e,i){return e&&h(t.prototype,e),i&&h(t,i),t};function h(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}var f=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e},p=(u(c,null,[{key:"equals",value:function(t,e){return t.x===e.x&&t.y===e.y}}]),c);function c(t,e){l(this,c),this.x=r(t),this.y=r(e)}var v=(u(d,null,[{key:"intersects",value:function(t,e){return t.left<e.left+e.width&&e.left<t.left+t.width&&t.top<e.top+e.height&&e.top<t.top+t.height}}]),d);function d(t,e,i,n,s){l(this,d),this.id=s,this.left=t,this.top=e,this.width=i,this.height=n}var m={BASE:"shuffle",SHUFFLE_ITEM:"shuffle-item",VISIBLE:"shuffle-item--visible",HIDDEN:"shuffle-item--hidden"},y=0,g=(u(_,[{key:"show",value:function(){this.isVisible=!0,this.element.classList.remove(m.HIDDEN),this.element.classList.add(m.VISIBLE),this.element.removeAttribute("aria-hidden")}},{key:"hide",value:function(){this.isVisible=!1,this.element.classList.remove(m.VISIBLE),this.element.classList.add(m.HIDDEN),this.element.setAttribute("aria-hidden",!0)}},{key:"init",value:function(){this.addClasses([m.SHUFFLE_ITEM,m.VISIBLE]),this.applyCss(_.Css.INITIAL),this.scale=_.Scale.VISIBLE,this.point=new p}},{key:"addClasses",value:function(t){var e=this;t.forEach(function(t){e.element.classList.add(t)})}},{key:"removeClasses",value:function(t){var e=this;t.forEach(function(t){e.element.classList.remove(t)})}},{key:"applyCss",value:function(e){var i=this;Object.keys(e).forEach(function(t){i.element.style[t]=e[t]})}},{key:"dispose",value:function(){this.removeClasses([m.HIDDEN,m.VISIBLE,m.SHUFFLE_ITEM]),this.element.removeAttribute("style"),this.element=null}}]),_);function _(t){l(this,_),y+=1,this.id=y,this.element=t,this.isVisible=!0,this.isHidden=!1}g.Css={INITIAL:{position:"absolute",top:0,left:0,visibility:"visible","will-change":"transform"},VISIBLE:{before:{opacity:1,visibility:"visible"},after:{transitionDelay:""}},HIDDEN:{before:{opacity:0},after:{visibility:"hidden",transitionDelay:""}}},g.Scale={VISIBLE:1,HIDDEN:.001};var E=document.body||document.documentElement,I=document.createElement("div");I.style.cssText="width:10px;padding:2px;box-sizing:border-box;",E.appendChild(I);var b="10px"===window.getComputedStyle(I,null).width;function S(t,e,i){var n=2<arguments.length&&void 0!==i?i:window.getComputedStyle(t,null),s=r(n[e]);return b||"width"!==e?b||"height"!==e||(s+=r(n.paddingTop)+r(n.paddingBottom)+r(n.borderTopWidth)+r(n.borderBottomWidth)):s+=r(n.paddingLeft)+r(n.paddingRight)+r(n.borderLeftWidth)+r(n.borderRightWidth),s}E.removeChild(I);var k={reverse:!1,by:null,compare:null,randomize:!1,key:"element"};function T(t,e){var s=Object.assign({},k,e),i=Array.from(t),o=!1;return t.length?s.randomize?function(t){for(var e=t.length;e;){--e;var i=Math.floor(Math.random()*(e+1)),n=t[i];t[i]=t[e],t[e]=n}return t}(t):("function"==typeof s.by?t.sort(function(t,e){if(o)return 0;var i=s.by(t[s.key]),n=s.by(e[s.key]);return void 0===i&&void 0===n?(o=!0,0):i<n||"sortFirst"===i||"sortLast"===n?-1:n<i||"sortLast"===i||"sortFirst"===n?1:0}):"function"==typeof s.compare&&t.sort(s.compare),o?i:(s.reverse&&t.reverse(),t)):[]}var w={},C="transitionend",L=0;function D(t){return!!w[t]&&(w[t].element.removeEventListener(C,w[t].listener),!(w[t]=null))}function z(t,e){function i(t){t.currentTarget===t.target&&(D(n),e(t))}var n=C+(L+=1);return t.addEventListener(C,i),w[n]={element:t,listener:i},n}function M(t){return Math.max.apply(Math,t)}function A(t,e,i,n){var s=t/e;return Math.abs(Math.round(s)-s)<n&&(s=Math.round(s)),Math.min(Math.ceil(s),i)}function F(t,e,i){if(1===e)return t;for(var n=[],s=0;s<=i-e;s++)n.push(M(t.slice(s,s+e)));return n}function x(t,e){for(var i,n=(i=t,Math.min.apply(Math,i)),s=0,o=t.length;s<o;s++)if(t[s]>=n-e&&t[s]<=n+e)return s;return 0}function N(t,h){var f={};t.forEach(function(t){f[t.top]?f[t.top].push(t):f[t.top]=[t]});var c=[],d=[],m=[];return Object.keys(f).forEach(function(t){var e=f[t];d.push(e);var n,s,i,o=e[e.length-1],r=o.left+o.width,l=Math.round((h-r)/2),a=e,u=!1;0<l&&(n=[],(u=e.every(function(t){var e=new v(t.left+l,t.top,t.width,t.height,t.id),i=!c.some(function(t){return v.intersects(e,t)});return n.push(e),i}))&&(a=n)),u||(s=void 0,e.some(function(i){return c.some(function(t){var e=v.intersects(i,t);return e&&(s=t),e})})&&(i=m.findIndex(function(t){return t.includes(s)}),m.splice(i,1,d[i]))),c=c.concat(a),m.push(a)}),[].concat.apply([],m).sort(function(t,e){return t.id-e.id}).map(function(t){return new p(t.left,t.top)})}function O(t){return Array.from(new Set(t))}var H=0,B=(function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(W,e),u(W,[{key:"_init",value:function(){var e;this.items=this._getItems(),this.options.sizer=this._getElementOption(this.options.sizer),this.element.classList.add(W.Classes.BASE),this._initItems(this.items),this._onResize=this._getResizeFunction(),window.addEventListener("resize",this._onResize),"complete"!==document.readyState&&(e=this.layout.bind(this),window.addEventListener("load",function t(){window.removeEventListener("load",t),e()}));var t=window.getComputedStyle(this.element,null),i=W.getSize(this.element).width;this._validateStyles(t),this._setColumns(i),this.filter(this.options.group,this.options.initialSort),this.element.offsetWidth,this.setItemTransitions(this.items),this.element.style.transition="height "+this.options.speed+"ms "+this.options.easing}},{key:"_getResizeFunction",value:function(){var t=this._handleResize.bind(this);return this.options.throttle?this.options.throttle(t,this.options.throttleTime):t}},{key:"_getElementOption",value:function(t){return"string"==typeof t?this.element.querySelector(t):t&&t.nodeType&&1===t.nodeType?t:t&&t.jquery?t[0]:null}},{key:"_validateStyles",value:function(t){"static"===t.position&&(this.element.style.position="relative"),"hidden"!==t.overflow&&(this.element.style.overflow="hidden")}},{key:"_filter",value:function(t,e){var i=0<arguments.length&&void 0!==t?t:this.lastFilter,n=1<arguments.length&&void 0!==e?e:this.items,s=this._getFilteredSets(i,n);return this._toggleFilterClasses(s),"string"==typeof(this.lastFilter=i)&&(this.group=i),s}},{key:"_getFilteredSets",value:function(e,t){var i=this,n=[],s=[];return e===W.ALL_ITEMS?n=t:t.forEach(function(t){i._doesPassFilter(e,t.element)?n.push(t):s.push(t)}),{visible:n,hidden:s}}},{key:"_doesPassFilter",value:function(t,e){if("function"==typeof t)return t.call(e,e,this);var i=e.getAttribute("data-"+W.FILTER_ATTRIBUTE_KEY),n=this.options.delimiter?i.split(this.options.delimiter):JSON.parse(i);function s(t){return n.includes(t)}return Array.isArray(t)?this.options.filterMode===W.FilterMode.ANY?t.some(s):t.every(s):n.includes(t)}},{key:"_toggleFilterClasses",value:function(t){var e=t.visible,i=t.hidden;e.forEach(function(t){t.show()}),i.forEach(function(t){t.hide()})}},{key:"_initItems",value:function(t){t.forEach(function(t){t.init()})}},{key:"_disposeItems",value:function(t){t.forEach(function(t){t.dispose()})}},{key:"_updateItemCount",value:function(){this.visibleItems=this._getFilteredItems().length}},{key:"setItemTransitions",value:function(t){var e=this.options,i=e.speed,n=e.easing,s=this.options.useTransforms?["transform"]:["top","left"],o=Object.keys(g.Css.HIDDEN.before).map(function(t){return t.replace(/([A-Z])/g,function(t,e){return"-"+e.toLowerCase()})}),r=s.concat(o).join();t.forEach(function(t){t.element.style.transitionDuration=i+"ms",t.element.style.transitionTimingFunction=n,t.element.style.transitionProperty=r})}},{key:"_getItems",value:function(){var e=this;return Array.from(this.element.children).filter(function(t){return n(t,e.options.itemSelector)}).map(function(t){return new g(t)})}},{key:"_mergeNewItems",value:function(t){var e=Array.from(this.element.children);return T(this.items.concat(t),{by:function(t){return e.indexOf(t)}})}},{key:"_getFilteredItems",value:function(){return this.items.filter(function(t){return t.isVisible})}},{key:"_getConcealedItems",value:function(){return this.items.filter(function(t){return!t.isVisible})}},{key:"_getColumnSize",value:function(t,e){var i=void 0;return 0===(i="function"==typeof this.options.columnWidth?this.options.columnWidth(t):this.options.sizer?W.getSize(this.options.sizer).width:this.options.columnWidth?this.options.columnWidth:0<this.items.length?W.getSize(this.items[0].element,!0).width:t)&&(i=t),i+e}},{key:"_getGutterSize",value:function(t){return"function"==typeof this.options.gutterWidth?this.options.gutterWidth(t):this.options.sizer?S(this.options.sizer,"marginLeft"):this.options.gutterWidth}},{key:"_setColumns",value:function(t){var e=0<arguments.length&&void 0!==t?t:W.getSize(this.element).width,i=this._getGutterSize(e),n=this._getColumnSize(e,i),s=(e+i)/n;Math.abs(Math.round(s)-s)<this.options.columnThreshold&&(s=Math.round(s)),this.cols=Math.max(Math.floor(s),1),this.containerWidth=e,this.colWidth=n}},{key:"_setContainerSize",value:function(){this.element.style.height=this._getContainerSize()+"px"}},{key:"_getContainerSize",value:function(){return M(this.positions)}},{key:"_getStaggerAmount",value:function(t){return Math.min(t*this.options.staggerAmount,this.options.staggerAmountMax)}},{key:"_dispatch",value:function(t,e){var i=1<arguments.length&&void 0!==e?e:{};this.isDestroyed||(i.shuffle=this).emit(t,i)}},{key:"_resetCols",value:function(){var t=this.cols;for(this.positions=[];t;)--t,this.positions.push(0)}},{key:"_layout",value:function(t){var s=this,o=this._getNextPositions(t),r=0;t.forEach(function(t,e){function i(){t.applyCss(g.Css.VISIBLE.after)}if(p.equals(t.point,o[e])&&!t.isHidden)return t.applyCss(g.Css.VISIBLE.before),void i();t.point=o[e],t.scale=g.Scale.VISIBLE,t.isHidden=!1;var n=s.getStylesForTransition(t,g.Css.VISIBLE.before);n.transitionDelay=s._getStaggerAmount(r)+"ms",s._queue.push({item:t,styles:n,callback:i}),r+=1})}},{key:"_getNextPositions",value:function(t){var s=this;if(this.options.isCentered){var e=t.map(function(t,e){var i=W.getSize(t.element,!0),n=s._getItemPosition(i);return new v(n.x,n.y,i.width,i.height,e)});return this.getTransformedPositions(e,this.containerWidth)}return t.map(function(t){return s._getItemPosition(W.getSize(t.element,!0))})}},{key:"_getItemPosition",value:function(t){return function(t){for(var e=t.itemSize,i=t.positions,n=t.gridSize,s=t.total,o=t.threshold,r=t.buffer,l=A(e.width,n,s,o),a=F(i,l,s),u=x(a,r),h=new p(n*u,a[u]),f=a[u]+e.height,c=0;c<l;c++)i[u+c]=f;return h}({itemSize:t,positions:this.positions,gridSize:this.colWidth,total:this.cols,threshold:this.options.columnThreshold,buffer:this.options.buffer})}},{key:"getTransformedPositions",value:N},{key:"_shrink",value:function(t){var n=this,e=0<arguments.length&&void 0!==t?t:this._getConcealedItems(),s=0;e.forEach(function(t){function e(){t.applyCss(g.Css.HIDDEN.after)}if(t.isHidden)return t.applyCss(g.Css.HIDDEN.before),void e();t.scale=g.Scale.HIDDEN,t.isHidden=!0;var i=n.getStylesForTransition(t,g.Css.HIDDEN.before);i.transitionDelay=n._getStaggerAmount(s)+"ms",n._queue.push({item:t,styles:i,callback:e}),s+=1})}},{key:"_handleResize",value:function(){this.isEnabled&&!this.isDestroyed&&this.update()}},{key:"getStylesForTransition",value:function(t,e){var i,n,s=Object.assign({},e);return this.options.useTransforms?(i=this.options.roundTransforms?Math.round(t.point.x):t.point.x,n=this.options.roundTransforms?Math.round(t.point.y):t.point.y,s.transform="translate("+i+"px, "+n+"px) scale("+t.scale+")"):(s.left=t.point.x+"px",s.top=t.point.y+"px"),s}},{key:"_whenTransitionDone",value:function(t,e,i){var n=z(t,function(t){e(),i(null,t)});this._transitions.push(n)}},{key:"_getTransitionFunction",value:function(e){var i=this;return function(t){e.item.applyCss(e.styles),i._whenTransitionDone(e.item.element,e.callback,t)}}},{key:"_processQueue",value:function(){this.isTransitioning&&this._cancelMovement();var t=0<this.options.speed,e=0<this._queue.length;e&&t&&this.isInitialized?this._startTransitions(this._queue):(e&&this._styleImmediately(this._queue),this._dispatch(W.EventType.LAYOUT)),this._queue.length=0}},{key:"_startTransitions",value:function(t){var e=this;this.isTransitioning=!0,function(t,i,n){n||("function"==typeof i?(n=i,i=null):n=a);var s=t&&t.length;if(!s)return n(null,[]);var o=!1,r=new Array(s);function l(i){return function(t,e){if(!o){if(t)return n(t,r),void(o=!0);r[i]=e,--s||n(null,r)}}}t.forEach(i?function(t,e){t.call(i,l(e))}:function(t,e){t(l(e))})}(t.map(function(t){return e._getTransitionFunction(t)}),this._movementFinished.bind(this))}},{key:"_cancelMovement",value:function(){this._transitions.forEach(D),this._transitions.length=0,this.isTransitioning=!1}},{key:"_styleImmediately",value:function(t){var e;t.length&&(e=t.map(function(t){return t.item.element}),W._skipTransitions(e,function(){t.forEach(function(t){t.item.applyCss(t.styles),t.callback()})}))}},{key:"_movementFinished",value:function(){this._transitions.length=0,this.isTransitioning=!1,this._dispatch(W.EventType.LAYOUT)}},{key:"filter",value:function(t,e){this.isEnabled&&((!t||t&&0===t.length)&&(t=W.ALL_ITEMS),this._filter(t),this._shrink(),this._updateItemCount(),this.sort(e))}},{key:"sort",value:function(t){var e,i=0<arguments.length&&void 0!==t?t:this.lastSort;this.isEnabled&&(this._resetCols(),e=T(this._getFilteredItems(),i),this._layout(e),this._processQueue(),this._setContainerSize(),this.lastSort=i)}},{key:"update",value:function(t){var e=0<arguments.length&&void 0!==t&&t;this.isEnabled&&(e||this._setColumns(),this.sort())}},{key:"layout",value:function(){this.update(!0)}},{key:"add",value:function(t){var i=this,e=O(t).map(function(t){return new g(t)});this._initItems(e),this._resetCols();function n(t){return e.includes(t)}function s(t){t.scale=g.Scale.HIDDEN,t.isHidden=!0,t.applyCss(g.Css.HIDDEN.before),t.applyCss(g.Css.HIDDEN.after)}var o=T(this._mergeNewItems(e),this.lastSort),r=this._filter(this.lastFilter,o),l=this._getNextPositions(r.visible);r.visible.forEach(function(t,e){n(t)&&(t.point=l[e],s(t),t.applyCss(i.getStylesForTransition(t,{})))}),r.hidden.forEach(function(t){n(t)&&s(t)}),this.element.offsetWidth,this.setItemTransitions(e),this.items=this._mergeNewItems(e),this.filter(this.lastFilter)}},{key:"disable",value:function(){this.isEnabled=!1}},{key:"enable",value:function(t){var e=!(0<arguments.length&&void 0!==t)||t;this.isEnabled=!0,e&&this.update()}},{key:"remove",value:function(t){var e,i,n=this;t.length&&(e=O(t),i=e.map(function(t){return n.getItemByElement(t)}).filter(function(t){return!!t}),this._toggleFilterClasses({visible:[],hidden:i}),this._shrink(i),this.sort(),this.items=this.items.filter(function(t){return!i.includes(t)}),this._updateItemCount(),this.once(W.EventType.LAYOUT,function(){n._disposeItems(i),e.forEach(function(t){t.parentNode.removeChild(t)}),n._dispatch(W.EventType.REMOVED,{collection:e})}))}},{key:"getItemByElement",value:function(e){return this.items.find(function(t){return t.element===e})}},{key:"resetItems",value:function(){var t=this;this._disposeItems(this.items),this.isInitialized=!1,this.items=this._getItems(),this._initItems(this.items),this.once(W.EventType.LAYOUT,function(){t.setItemTransitions(t.items),t.isInitialized=!0}),this.filter(this.lastFilter)}},{key:"destroy",value:function(){this._cancelMovement(),window.removeEventListener("resize",this._onResize),this.element.classList.remove("shuffle"),this.element.removeAttribute("style"),this._disposeItems(this.items),this.items.length=0,this._transitions.length=0,this.options.sizer=null,this.element=null,this.isDestroyed=!0,this.isEnabled=!1}}],[{key:"getSize",value:function(t,e){var i=1<arguments.length&&void 0!==e&&e,n=window.getComputedStyle(t,null),s=S(t,"width",n),o=S(t,"height",n);return i&&(s+=S(t,"marginLeft",n)+S(t,"marginRight",n),o+=S(t,"marginTop",n)+S(t,"marginBottom",n)),{width:s,height:o}}},{key:"_skipTransitions",value:function(t,e){var i=t.map(function(t){var e=t.style,i=e.transitionDuration,n=e.transitionDelay;return e.transitionDuration="0ms",e.transitionDelay="0ms",{duration:i,delay:n}});e(),t[0].offsetWidth,t.forEach(function(t,e){t.style.transitionDuration=i[e].duration,t.style.transitionDelay=i[e].delay})}}]),W);function W(t){var e=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{};l(this,W);var i=f(this,(W.__proto__||Object.getPrototypeOf(W)).call(this));i.options=Object.assign({},W.options,e),i.options.delimeter&&(i.options.delimiter=i.options.delimeter),i.lastSort={},i.group=W.ALL_ITEMS,i.lastFilter=W.ALL_ITEMS,i.isEnabled=!0,i.isDestroyed=!1,i.isInitialized=!1,i._transitions=[],i.isTransitioning=!1,i._queue=[];var n=i._getElementOption(t);if(!n)throw new TypeError("Shuffle needs to be initialized with an element.");return i.element=n,i.id="shuffle_"+H,H+=1,i._init(),i.isInitialized=!0,i}return B.ShuffleItem=g,B.ALL_ITEMS="all",B.FILTER_ATTRIBUTE_KEY="groups",B.EventType={LAYOUT:"shuffle:layout",REMOVED:"shuffle:removed"},B.Classes=m,B.FilterMode={ANY:"any",ALL:"all"},B.options={group:B.ALL_ITEMS,speed:250,easing:"cubic-bezier(0.4, 0.0, 0.2, 1)",itemSelector:"*",sizer:null,gutterWidth:0,columnWidth:0,delimiter:null,buffer:0,columnThreshold:.01,initialSort:null,throttle:o,throttleTime:300,staggerAmount:15,staggerAmountMax:150,useTransforms:!0,filterMode:B.FilterMode.ANY,isCentered:!1,roundTransforms:!0},B.Point=p,B.Rect=v,B.__sorter=T,B.__getColumnSpan=A,B.__getAvailablePositions=F,B.__getShortColumn=x,B.__getCenteredPositions=N,B});
window.Shuffle&&(window.posts_shuffleInstance=null,jQuery(document).ready(function(){var e=window.Shuffle,n=document.querySelector(".posts-layout.layout--blog_masonry");n&&(window.posts_shuffleInstance=new e(n,{itemSelector:"article"})),jQuery(document).on("selective-refresh-content-rendered",function(e,n){try{var o,t;"customify_blog_posts"===n&&(window.posts_shuffleInstance&&(window.posts_shuffleInstance.destroy(),window.posts_shuffleInstance=null),o=window.Shuffle,(t=document.querySelector(".posts-layout.layout--blog_masonry"))&&(window.posts_shuffleInstance=new o(t,{itemSelector:"article"})))}catch(e){}}),jQuery(document).on("after_auto_render_css",function(e,n){window.posts_shuffleInstance&&window.posts_shuffleInstance.update()})}));
!function(t){"use strict";"function"==typeof define&&define.amd?define(["jquery"],t):jQuery&&!jQuery.fn.hoverIntent&&t(jQuery)}(function(d){"use strict";function u(t){s=t.pageX,n=t.pageY}var s,n,o={interval:100,sensitivity:6,timeout:0},c=0,h=function(t,e,i,a){if(Math.sqrt((i.pX-s)*(i.pX-s)+(i.pY-n)*(i.pY-n))<a.sensitivity)return e.off(i.event,u),delete i.timeoutId,i.isActive=!0,t.pageX=s,t.pageY=n,delete i.pX,delete i.pY,a.over.apply(e[0],[t]);i.pX=s,i.pY=n,i.timeoutId=setTimeout(function(){h(t,e,i,a)},a.interval)};d.fn.hoverIntent=function(t,e,i){var a=c++,r=d.extend({},o);d.isPlainObject(t)?(r=d.extend(r,t),d.isFunction(r.out)||(r.out=r.over)):r=d.isFunction(e)?d.extend(r,{over:t,out:e,selector:i}):d.extend(r,{over:t,out:t,selector:e});function s(t){var s=d.extend({},t),n=d(this),e=n.data("hoverIntent");e||n.data("hoverIntent",e={});var o=e[a];o||(e[a]=o={id:a}),o.timeoutId&&(o.timeoutId=clearTimeout(o.timeoutId));var i=o.event="mousemove.hoverIntent.hoverIntent"+a;if("mouseenter"===t.type){if(o.isActive)return;o.pX=s.pageX,o.pY=s.pageY,n.off(i,u).on(i,u),o.timeoutId=setTimeout(function(){h(s,n,o,r)},r.interval)}else{if(!o.isActive)return;n.off(i,u),o.timeoutId=setTimeout(function(){var t,e,i,a;t=s,e=n,i=o,a=r.out,delete e.data("hoverIntent")[i.id],a.apply(e[0],[t])},r.timeout)}}return this.on({"mouseenter.hoverIntent":s,"mouseleave.hoverIntent":s},r.selector)}}),jQuery(document).ready(function(v){var n=v(window),t=0,r=!1;function e(){v(".mega-tab-posts").removeAttr("style"),r=t>=n.width()?(v("body").addClass("megamenu-wp-mobile").removeClass("megamenu-wp-desktop"),!0):(v("body").removeClass("megamenu-wp-mobile").addClass("megamenu-wp-desktop"),!1)}function i(t){this.margin=0,this.position="left",this.left=0,this.contentWidth=0,this.offset=null,this.rightPos=0;var e,s=t,i=s.attr("id")||"";i||(i="_mg-"+(new Date).getTime(),s.attr("id",i)),s.addClass("megamenu-nav-parent"),this.cssId=i,this.setupData=function(){this._getNavMenuPost();var t=n.width(),e=0;return isNaN(e)&&(e=0),(e>t-2*this.margin||0==e)&&(e=t-2*this.margin),t<e&&(e=t),this.contentWidth=e,"right"==this.position?this.rightPos=this.navWidth+this.offset.left:this.rightPos=this.contentWidth+this.offset.left,this.contentWidth},this._getNavMenuPost=function(){var t=n.width();s.css({display:"block",opacity:0}),this.offset=s.offset(),this.navWidth=s.outerWidth();var e=Math.round(this.offset.left);this.left=this.offset.left;var i=s.outerWidth(),a=Math.round(t-(e+i));return s.css({display:"",opacity:""}),a<e?(this.position="right",this.margin=a):(this.position="left",this.margin=e),this.position},this.setupContentPos=function(){},this.setMegaTop=function(){var m,l,f=s.closest(".customify-grid");f.length&&(f.css("position","relative"),m=f.offset(),l="",v(".mega-item .mega-content",s).each(function(){var t,e,i,a=v(this),s=a.closest(".mega-item"),n=s.find("> .mega-link"),o=n.innerHeight(),r=n.innerWidth(),d=n.offset().top-m.top+o-2,u={},c=a.attr("data-width")||"",c=parseInt(c);isNaN(c)&&(c=0),s.hasClass("mega-default-width")||s.hasClass("mega-full")?u.top=d:(0<c?u.width=c:c=f.innerWidth(),u.width=c,s.hasClass("mega-p-center")&&(t=(u.width-r)/2,u.left=-t)),s.hasClass("mega-full")&&(s.hasClass("mega-content-boxed")&&a.find(".mega-inner").css({width:0<c?c:f.innerWidth(),marginLeft:"auto",marginRight:"auto"}),(e=f.closest(".header--row").width())>f.innerWidth()&&(i=(e-f.innerWidth())/2,u.width=e,u.marginLeft=-i));var h=a.attr("data-style")||"";h&&(l+=h),a.css(u)}),v("style#cusstomify-mega-custom-css").html(""),l&&(v("style#cusstomify-mega-custom-css").length||v("head").append('<style type="text/css" id="cusstomify-mega-custom-css"></style>'),v("style#cusstomify-mega-custom-css").html(l)))},this.init=function(){var a=this;a.setMegaTop(),v(window).resize(function(){a.setMegaTop()}),v(document.body).on("customify_sticky_active",function(){setTimeout(function(){a.setMegaTop()},50)}),v(document).on("selective-refresh-content-rendered  after_auto_render_css",function(t,e,i){a.setMegaTop()})},this.init(),!top.megamenu_live_previewing||(e=v(".nav-menu-desktop .menu-item-"+top.megamenu_live_previewing)).length&&e.addClass("focus")}t<=0&&(t=720),n.resize(function(){e()}),e(),v(".mega-item").parent().addClass("megamenu-wp"),v(".header--row .megamenu-wp").each(function(){new i(v(this))});function a(){v(".mega-tab-posts").each(function(){var t,n=v(this),o=v(".mega-tab-post-nav",n),e=v(Customify_Pro_JS.megaMenu.loading_icon),s=n.data("show-when")||"hover";"click"!=s&&(s="hover"),n.css({"min-height":n.height()}),0==v(".li.active",o).length&&(v(".li",o).eq(0).addClass("active"),t=v(".li.active",o).eq(0).data("query"),n.data("last-query",t),v(".mega-tab-post-cont .nav-posts-tab",n).eq(0).addClass("active animation")),v(".mega-tab-post-cont",n).append(e),v(".li",o).on(s,function(t){"hover"!=s&&t.preventDefault();var e=v(this);if(r&&"hover"!=s){var i=v("a",e).attr("href")||"";if(i)return void(window.location=i)}v(".li",o).removeClass("active"),e.addClass("active");var a=e.attr("data-id")||"";a&&(v(".mega-tab-post-cont .nav-posts-tab",n).removeClass("animation"),v(".mega-tab-post-cont .nav-posts-tab",n).removeClass("active"),v('.mega-tab-post-cont .nav-posts-tab[data-id="'+a+'"]',n).addClass("active"),setTimeout(function(){v('.mega-tab-post-cont .nav-posts-tab[data-id="'+a+'"]',n).addClass("animation")},10))}),n.on("click",".tab-paging",function(t){t.preventDefault();var e,i,a,s=v(this);s.hasClass("active")&&(e=null,0<v(".li.active",o).eq(0).length&&(e=e||v(".li.active",o).eq(0).data("query"),v(".li.active",o)),e=e||(s.closest(".mega-tab-post-cont").data("query")||null),i=s.attr("data-paged")||0,i=parseInt(i),a=s.closest(".nav-posts-tab"),0<i&&(e.paged=i,e.action="megamneu_wp_load_posts",n.addClass("loading"),n._xhr&&n._xhr.abort(),n._xhr=v.ajax({url:Customify_Pro_JS.megaMenu.ajax_url,data:e,success:function(t){n.css({height:"auto"}),n.css({height:"auto"}),a.removeClass("animation"),t.data?a.html(t.data):s.removeClass("active").addClass("disable"),setTimeout(function(){n.removeClass("loading"),a.addClass("animation")},20),n._xhr=null}}).fail(function(){n.removeClass("loading"),n._xhr=null})))})})}a(),v(document).on("selective-refresh-content-rendered",function(t,e){try{-1<e.indexOf("nav_menu_instance")&&(v(".mega-item").parent().addClass("megamenu-wp"),v(".header--row .megamenu-wp").each(function(){new i(v(this))}),a())}catch(t){}}),"undefined"!=typeof wp&&wp.customize&&wp.customize.selectiveRefresh&&wp.customize.selectiveRefresh.bind("partial-content-rendered",function(t){})});
!function(m,i,_){"use strict";m.fn.customifyInfinityLoad=function(t){function o(t){var r,c,f,u,y,d,e;m(this).length&&(r=m.extend({type:"auto",nextSelector:!1,navSelector:!1,itemSelector:!1,parentSelector:!1,contentSelector:!1,maxPage:!1,loader:!1,button:!1,is_shop:!1,loadingText:"",loadMoreText:""},t),f=c=!1,u=m(r.nextSelector).attr("href"),y=r.parentSelector?m(r.parentSelector):m(_),d=!1,m(r.nextSelector,y).length&&m(r.navSelector,y).length&&m(r.itemSelector,y).length&&m(r.contentSelector,y).length?(m(r.navSelector,y).hide(),"click"===r.type&&r.button&&m(r.navSelector,y).after('<div class="customify-infinity-loader">'+r.button+"</div>")):(m(".customify-infinity-loader",y).remove(),f=!0),e=function(){var t,a,l=m(r.contentSelector,y).find(r.itemSelector).last();r.loader&&"click"!==r.type?r.loader&&m(r.navSelector,y).after('<div class="customify-infinity-loader">'+r.loader+"</div>"):m(".customify-infinity-loader .customify-infinity-button",y).addClass("loading"),m(".customify-infinity-loader .customify-infinity-button",y).html(r.loadingText),c=!0,t=u,i.history.pushState&&history.pushState(null,null,t),u=(u=decodeURIComponent(u)).replace(/^(?:\/\/|[^\/]+)*\//,"/"),i.Shuffle&&(m(r.contentSelector).hasClass("layout--blog_masonry")?a=i.posts_shuffleInstance||!1:m(r.contentSelector).hasClass("layout--product_masonry")&&(a=i.products_shuffleInstance||!1),a&&(d=!0)),m.ajax({url:u,dataType:"html",success:function(t){var o=m(t),e=r.parentSelector&&m(r.parentSelector,o).length?m(r.parentSelector,o):o,i=e.find(r.itemSelector),n=e.find(r.nextSelector),s=u;n.length?u=n.attr("href"):(f=!0,"click"===r.type&&r.button&&m(".customify-infinity-loader",y).remove(),m(_).trigger("customify_infinity_scroll_finished")),d?i.each(function(t){var o=this;setTimeout(function(){a.element.appendChild(o),a.add([o])},150*t)}):l.after(i),"click"!==r.type?m(".customify-infinity-loader",y).remove():m(".customify-infinity-loader .customify-infinity-button",y).removeClass("loading").html(r.loadMoreText),m(_).trigger("customify_infinity_adding_item",[i,s]),i.addClass("customify-infinity-animated"),setTimeout(function(){c=!1,i.removeClass("customify-infinity-animated")},1e3)}})},"click"===r.type?y.on("click",".customify-infinity-button",function(t){t.preventDefault(),e()}):(m(i).on("scroll touchstart",function(){m(this).trigger("customify_infinity_start")}),m(i).on("customify_infinity_start",function(){var t=m(this),o=m(r.itemSelector,y).last();void 0!==o&&!c&&!f&&t.scrollTop()+t.height()>=o.offset().top+o.height()&&e()})))}return this.each(function(){return new o(t)})}}(jQuery,window,document),jQuery(document).ready(function(e){var i={},n={};Customify_Pro_JS.infinity_load.products.enable&&(n={type:Customify_Pro_JS.infinity_load.products.load_type,nextSelector:".next",navSelector:".navigation",itemSelector:"li.product",parentSelector:".woocommerce-listing",contentSelector:".products",loadingText:Customify_Pro_JS.infinity_load.products.loading_text,loadMoreText:Customify_Pro_JS.infinity_load.products.load_more_text,loader:'<span class="customify-infinity-button loading">'+Customify_Pro_JS.infinity_load.products.loading_text+"</span>",button:'<span class="customify-infinity-button button">'+Customify_Pro_JS.infinity_load.products.load_more_text+"</span>",is_shop:!1},e(".woocommerce-listing").customifyInfinityLoad(n)),Customify_Pro_JS.infinity_load.posts.enable&&(i={type:Customify_Pro_JS.infinity_load.posts.load_type,nextSelector:".next",navSelector:".navigation",itemSelector:"article.entry",parentSelector:".posts-layout-wrapper",contentSelector:".posts-layout",loadingText:Customify_Pro_JS.infinity_load.posts.loading_text,loadMoreText:Customify_Pro_JS.infinity_load.posts.load_more_text,loader:'<span class="customify-infinity-button loading">'+Customify_Pro_JS.infinity_load.posts.loading_text+"</span>",button:'<span class="customify-infinity-button button">'+Customify_Pro_JS.infinity_load.posts.load_more_text+"</span>",is_shop:!1},e(".posts-layout-wrapper .posts-layout").customifyInfinityLoad(i)),e(document).on("selective-refresh-content-rendered",function(t,o){try{Customify_Pro_JS.infinity_load.posts.enable&&("customify_blog_posts"===o&&e(".posts-layout-wrapper .posts-layout").customifyInfinityLoad(i),"woocommerce_content"===o&&e(".woocommerce-listing").customifyInfinityLoad(n))}catch(t){}})});
!function(){var e={7090:function(e){!function(t,n){var a=function(e,t,n){"use strict";var a,i;if(function(){var t,n={lazyClass:"lazyload",loadedClass:"lazyloaded",loadingClass:"lazyloading",preloadClass:"lazypreload",errorClass:"lazyerror",autosizesClass:"lazyautosizes",fastLoadedClass:"ls-is-cached",iframeLoadMode:0,srcAttr:"data-src",srcsetAttr:"data-srcset",sizesAttr:"data-sizes",minSize:40,customMedia:{},init:!0,expFactor:1.5,hFac:.8,loadMode:2,loadHidden:!0,ricTimeout:0,throttleDelay:125};for(t in i=e.lazySizesConfig||e.lazysizesConfig||{},n)t in i||(i[t]=n[t])}(),!t||!t.getElementsByClassName)return{init:function(){},cfg:i,noSupport:!0};var r=t.documentElement,o=e.HTMLPictureElement,s="addEventListener",l="getAttribute",c=e[s].bind(e),d=e.setTimeout,u=e.requestAnimationFrame||d,f=e.requestIdleCallback,m=/^picture$/i,v=["load","error","lazyincluded","_lazyloaded"],y={},h=Array.prototype.forEach,z=function(e,t){return y[t]||(y[t]=new RegExp("(\\s|^)"+t+"(\\s|$)")),y[t].test(e[l]("class")||"")&&y[t]},p=function(e,t){z(e,t)||e.setAttribute("class",(e[l]("class")||"").trim()+" "+t)},g=function(e,t){var n;(n=z(e,t))&&e.setAttribute("class",(e[l]("class")||"").replace(n," "))},C=function(e,t,n){var a=n?s:"removeEventListener";n&&C(e,t),v.forEach((function(n){e[a](n,t)}))},b=function(e,n,i,r,o){var s=t.createEvent("Event");return i||(i={}),i.instance=a,s.initEvent(n,!r,!o),s.detail=i,e.dispatchEvent(s),s},A=function(t,n){var a;!o&&(a=e.picturefill||i.pf)?(n&&n.src&&!t[l]("srcset")&&t.setAttribute("srcset",n.src),a({reevaluate:!0,elements:[t]})):n&&n.src&&(t.src=n.src)},E=function(e,t){return(getComputedStyle(e,null)||{})[t]},_=function(e,t,n){for(n=n||e.offsetWidth;n<i.minSize&&t&&!e._lazysizesWidth;)n=t.offsetWidth,t=t.parentNode;return n},w=(pe=[],ge=[],Ce=pe,be=function(){var e=Ce;for(Ce=pe.length?ge:pe,he=!0,ze=!1;e.length;)e.shift()();he=!1},Ae=function(e,n){he&&!n?e.apply(this,arguments):(Ce.push(e),ze||(ze=!0,(t.hidden?d:u)(be)))},Ae._lsFlush=be,Ae),M=function(e,t){return t?function(){w(e)}:function(){var t=this,n=arguments;w((function(){e.apply(t,n)}))}},N=function(e){var t,a=0,r=i.throttleDelay,o=i.ricTimeout,s=function(){t=!1,a=n.now(),e()},l=f&&o>49?function(){f(s,{timeout:o}),o!==i.ricTimeout&&(o=i.ricTimeout)}:M((function(){d(s)}),!0);return function(e){var i;(e=!0===e)&&(o=33),t||(t=!0,(i=r-(n.now()-a))<0&&(i=0),e||i<9?l():d(l,i))}},x=function(e){var t,a,i=99,r=function(){t=null,e()},o=function(){var e=n.now()-a;e<i?d(o,i-e):(f||r)(r)};return function(){a=n.now(),t||(t=d(o,i))}},L=(K=/^img$/i,Q=/^iframe$/i,V="onscroll"in e&&!/(gle|ing)bot/.test(navigator.userAgent),X=0,Y=0,Z=0,ee=-1,te=function(e){Z--,(!e||Z<0||!e.target)&&(Z=0)},ne=function(e){return null==J&&(J="hidden"==E(t.body,"visibility")),J||!("hidden"==E(e.parentNode,"visibility")&&"hidden"==E(e,"visibility"))},ae=function(e,n){var a,i=e,o=ne(e);for(I-=n,G+=n,j-=n,U+=n;o&&(i=i.offsetParent)&&i!=t.body&&i!=r;)(o=(E(i,"opacity")||1)>0)&&"visible"!=E(i,"overflow")&&(a=i.getBoundingClientRect(),o=U>a.left&&j<a.right&&G>a.top-1&&I<a.bottom+1);return o},ie=function(){var e,n,o,s,c,d,u,f,m,v,y,h,z=a.elements;if((k=i.loadMode)&&Z<8&&(e=z.length)){for(n=0,ee++;n<e;n++)if(z[n]&&!z[n]._lazyRace)if(!V||a.prematureUnveil&&a.prematureUnveil(z[n]))fe(z[n]);else if((f=z[n][l]("data-expand"))&&(d=1*f)||(d=Y),v||(v=!i.expand||i.expand<1?r.clientHeight>500&&r.clientWidth>500?500:370:i.expand,a._defEx=v,y=v*i.expFactor,h=i.hFac,J=null,Y<y&&Z<1&&ee>2&&k>2&&!t.hidden?(Y=y,ee=0):Y=k>1&&ee>1&&Z<6?v:X),m!==d&&($=innerWidth+d*h,q=innerHeight+d,u=-1*d,m=d),o=z[n].getBoundingClientRect(),(G=o.bottom)>=u&&(I=o.top)<=q&&(U=o.right)>=u*h&&(j=o.left)<=$&&(G||U||j||I)&&(i.loadHidden||ne(z[n]))&&(P&&Z<3&&!f&&(k<3||ee<4)||ae(z[n],d))){if(fe(z[n]),c=!0,Z>9)break}else!c&&P&&!s&&Z<4&&ee<4&&k>2&&(R[0]||i.preloadAfterLoad)&&(R[0]||!f&&(G||U||j||I||"auto"!=z[n][l](i.sizesAttr)))&&(s=R[0]||z[n]);s&&!c&&fe(s)}},re=N(ie),oe=function(e){var t=e.target;t._lazyCache?delete t._lazyCache:(te(e),p(t,i.loadedClass),g(t,i.loadingClass),C(t,le),b(t,"lazyloaded"))},se=M(oe),le=function(e){se({target:e.target})},ce=function(e,t){var n=e.getAttribute("data-load-mode")||i.iframeLoadMode;0==n?e.contentWindow.location.replace(t):1==n&&(e.src=t)},de=function(e){var t,n=e[l](i.srcsetAttr);(t=i.customMedia[e[l]("data-media")||e[l]("media")])&&e.setAttribute("media",t),n&&e.setAttribute("srcset",n)},ue=M((function(e,t,n,a,r){var o,s,c,u,f,v;(f=b(e,"lazybeforeunveil",t)).defaultPrevented||(a&&(n?p(e,i.autosizesClass):e.setAttribute("sizes",a)),s=e[l](i.srcsetAttr),o=e[l](i.srcAttr),r&&(u=(c=e.parentNode)&&m.test(c.nodeName||"")),v=t.firesLoad||"src"in e&&(s||o||u),f={target:e},p(e,i.loadingClass),v&&(clearTimeout(D),D=d(te,2500),C(e,le,!0)),u&&h.call(c.getElementsByTagName("source"),de),s?e.setAttribute("srcset",s):o&&!u&&(Q.test(e.nodeName)?ce(e,o):e.src=o),r&&(s||u)&&A(e,{src:o})),e._lazyRace&&delete e._lazyRace,g(e,i.lazyClass),w((function(){var t=e.complete&&e.naturalWidth>1;v&&!t||(t&&p(e,i.fastLoadedClass),oe(f),e._lazyCache=!0,d((function(){"_lazyCache"in e&&delete e._lazyCache}),9)),"lazy"==e.loading&&Z--}),!0)})),fe=function(e){if(!e._lazyRace){var t,n=K.test(e.nodeName),a=n&&(e[l](i.sizesAttr)||e[l]("sizes")),r="auto"==a;(!r&&P||!n||!e[l]("src")&&!e.srcset||e.complete||z(e,i.errorClass)||!z(e,i.lazyClass))&&(t=b(e,"lazyunveilread").detail,r&&W.updateElem(e,!0,e.offsetWidth),e._lazyRace=!0,Z++,ue(e,t,r,a,n))}},me=x((function(){i.loadMode=3,re()})),ve=function(){3==i.loadMode&&(i.loadMode=2),me()},ye=function(){P||(n.now()-H<999?d(ye,999):(P=!0,i.loadMode=3,re(),c("scroll",ve,!0)))},{_:function(){H=n.now(),a.elements=t.getElementsByClassName(i.lazyClass),R=t.getElementsByClassName(i.lazyClass+" "+i.preloadClass),c("scroll",re,!0),c("resize",re,!0),c("pageshow",(function(e){if(e.persisted){var n=t.querySelectorAll("."+i.loadingClass);n.length&&n.forEach&&u((function(){n.forEach((function(e){e.complete&&fe(e)}))}))}})),e.MutationObserver?new MutationObserver(re).observe(r,{childList:!0,subtree:!0,attributes:!0}):(r[s]("DOMNodeInserted",re,!0),r[s]("DOMAttrModified",re,!0),setInterval(re,999)),c("hashchange",re,!0),["focus","mouseover","click","load","transitionend","animationend"].forEach((function(e){t[s](e,re,!0)})),/d$|^c/.test(t.readyState)?ye():(c("load",ye),t[s]("DOMContentLoaded",re),d(ye,2e4)),a.elements.length?(ie(),w._lsFlush()):re()},checkElems:re,unveil:fe,_aLSL:ve}),W=(T=M((function(e,t,n,a){var i,r,o;if(e._lazysizesWidth=a,a+="px",e.setAttribute("sizes",a),m.test(t.nodeName||""))for(r=0,o=(i=t.getElementsByTagName("source")).length;r<o;r++)i[r].setAttribute("sizes",a);n.detail.dataAttr||A(e,n.detail)})),F=function(e,t,n){var a,i=e.parentNode;i&&(n=_(e,i,n),(a=b(e,"lazybeforesizes",{width:n,dataAttr:!!t})).defaultPrevented||(n=a.detail.width)&&n!==e._lazysizesWidth&&T(e,i,a,n))},O=x((function(){var e,t=B.length;if(t)for(e=0;e<t;e++)F(B[e])})),{_:function(){B=t.getElementsByClassName(i.autosizesClass),c("resize",O)},checkElems:O,updateElem:F}),S=function(){!S.i&&t.getElementsByClassName&&(S.i=!0,W._(),L._())};var B,T,F,O;var R,P,D,k,H,$,q,I,j,U,G,J,K,Q,V,X,Y,Z,ee,te,ne,ae,ie,re,oe,se,le,ce,de,ue,fe,me,ve,ye;var he,ze,pe,ge,Ce,be,Ae;return d((function(){i.init&&S()})),a={cfg:i,autoSizer:W,loader:L,init:S,uP:A,aC:p,rC:g,hC:z,fire:b,gW:_,rAF:w}}(t,t.document,Date);t.lazySizes=a,e.exports&&(e.exports=a)}("undefined"!=typeof window?window:{})}},t={};function n(a){var i=t[a];if(void 0!==i)return i.exports;var r=t[a]={exports:{}};return e[a](r,r.exports,n),r.exports}n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,{a:t}),t},n.d=function(e,t){for(var a in t)n.o(t,a)&&!n.o(e,a)&&Object.defineProperty(e,a,{enumerable:!0,get:t[a]})},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},function(){"use strict";var e=n(7090);n.n(e)().init()}()}();