(function($){
$(document).ready(function(){
$(document).on('click', 'a.gofollow', function(){
$.post(click_object.ajax_url, {'action':'adrotate_click','track':$(this).attr("data-track")});
});
});
}(jQuery));
!function(t){var e={};function o(n){if(e[n])return e[n].exports;var r=e[n]={i:n,l:!1,exports:{}};return t[n].call(r.exports,r,r.exports,o),r.l=!0,r.exports}o.m=t,o.c=e,o.d=function(t,e,n){o.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},o.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},o.t=function(t,e){if(1&e&&(t=o(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(o.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)o.d(n,r,function(e){return t[e]}.bind(null,r));return n},o.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return o.d(e,"a",e),e},o.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},o.p="",o(o.s=87)}({87:function(t,e){function o(t){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var n,r,i,s;n=jQuery,r="object"===o(window.ET_Builder)?ET_Builder.Frames.top:window,i="ontouchstart"in window||navigator.maxTouchPoints,s=n(window),document.addEventListener("DOMContentLoaded",(function(){n((function(){n.fn.fitVids&&n("#main-content").fitVids({customSelector:"iframe[src^='http://www.hulu.com'], iframe[src^='http://www.dailymotion.com'], iframe[src^='http://www.funnyordie.com'], iframe[src^='https://embed-ssl.ted.com'], iframe[src^='http://embed.revision3.com'], iframe[src^='https://flickr.com'], iframe[src^='http://blip.tv'], iframe[src^='http://www.collegehumor.com']"})})),n(".comment-reply-link").length&&n(".comment-reply-link").addClass("et_pb_button"),n(".footer-widget").each((function(){var t=n(this),e=t.width(),o=t.find(".widget_adsensewidget ins");o.length&&o.width(e)})),window.addEventListener("load",(function(){window.hasOwnProperty("et_location_hash")&&""!==window.et_location_hash&&function(){var t=window.et_location_hash.replace(/(\|)/g,"\\$1"),e=n();try{e=n(t)}catch(t){e=n()}if(0!==e.length){var o=n(t+" .et_pb_map_container"),r=o.children(".et_pb_map");void 0!==window.et_location_hash_style&&e.css("display",window.et_location_hash_style);var i=void 0!==e.offset().top?e.offset().top:0,s=n("body").hasClass("et_smooth_scroll"),c=s?i>4e3?1600:800:0;o.length&&google.maps.event.trigger(r[0],"resize"),e.parents().hasClass("commentlist")&&n(".reviews_tab").trigger("click").animate({scrollTop:e.offset().top},700),setTimeout((function(){window.et_pb_smooth_scroll(e,!1,c,"swing"),s&&setTimeout((function(){window.et_pb_smooth_scroll(e,!1,150,"linear")}),c+25)}),s?700:0)}}(),n("p.demo_store").length&&n("p.demo_store").is(":visible")&&(n("#footer-bottom").css("margin-bottom",n("p.demo_store").innerHeight()+"px"),n(".woocommerce-store-notice__dismiss-link").on("click",(function(){n("#footer-bottom").css("margin-bottom","")})))}))})),i&&(s.on("swipeleft",(function(t){30>=parseInt(s.width())-parseInt(t.swipestart.coords[0])&&et_toggle_slide_menu("open")})),s.on("swiperight",(function(t){n("body").hasClass("et_pb_slide_menu_active")&&et_toggle_slide_menu("close")}))),s.on("et_fb_init",(function(){var t=r.wp;if(t&&t.hooks&&t.hooks.addFilter){var e=window.DIVI.row_selector;t.hooks.addFilter("et.pb.row.css.selector","divi.et.pb.row.css.selector",(function(t){return t.replace("%%row_selector%%",e)}))}}))}});
!function(){"use strict";var e={6611:function(e,t,n){n.d(t,{top_window:function(){return s}});let o,s=window,i=!1;try{o=!!window.top.document&&window.top}catch(e){o=!1}o&&o.__Cypress__?window.parent===o?(s=window,i=!1):(s=window.parent,i=!0):o&&(s=o,i=o!==window.self)}},t={};function n(o){var s=t[o];if(void 0!==s)return s.exports;var i=t[o]={exports:{}};return e[o](i,i.exports,n),i.exports}n.d=function(e,t){for(var o in t)n.o(t,o)&&!n.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var o={};!function(){n.r(o);var e=n(6611);!function(t){const n=t("body").hasClass("et-block-layout-preview"),o="object"==typeof window.ET_Builder,s=t(".et-l--header").first();let i=0;if(window.et_pb_debounce=function(e,t,n){let o,s,i,l,a;const r=Date.now||(new Date).getTime();var c=function(){const d=r-l;d<t&&d>=0?o=setTimeout(c,t-d):(o=null,n||(a=e.apply(i,s),o||(i=s=null)))};return function(){i=this,s=arguments,l=r;const d=n&&!o;return o||(o=setTimeout(c,t)),d&&(a=e.apply(i,s),i=s=null),a}},s.length){const e=s.find(".et_builder_inner_content").children(".et_pb_section--fixed"),n=et_pb_debounce((n=>{i=0,t.each(e,(function(e,n){let o=t(n).outerHeight(!0);i+=o;let s=t(n).offset().top;s<0&&Math.abs(s)>i?i=0:s<0&&(i+=s)}))}),300);t(window).on("load resize",n)}window.et_pb_smooth_scroll=function(e,n,o,l){const a=e.offset().top,r=t(window).width();let c=0,d=0,_="",h="",u=s.find(".et_pb_section");if("function"==typeof window.isTargetStickyState&&window.isTargetStickyState(e))return;if(t("body").hasClass("et_fixed_nav")&&r>980){c=(t("#top-header").outerHeight()||0)+(t("#main-header").outerHeight()||0)-1}else c=0;if(t("#wpadminbar").length&&r>600){c+=t("#wpadminbar").outerHeight()||0}s.length&&(u.hasClass("et_pb_section--fixed")&&(_=Math.ceil(parseFloat(u.css("left"))),h=Math.ceil(parseFloat(u.css("right")))),0===_+h&&(c+=i));const p="function"==typeof window.getClosestStickyModuleOffsetTop?window.getClosestStickyModuleOffsetTop(e):null;p&&(c+=p),d=n?0:Math.round(a)-c,void 0===l&&(l="swing"),t("html, body").animate({scrollTop:d},o,l)},window.et_duplicate_menu=function(e,n,s,i,l){n.each((function(){const n=t(this);let a;if(!n.find(`#${s}`).length&&(""!==e&&e.clone().attr("id",s).removeClass().attr("class",i).appendTo(n),a=n.find("> ul"),a.find(".menu_slide").remove(),a.find(".et_pb_menu__logo-slot").remove(),a.find("li").first().addClass("et_first_mobile_item"),a.find("a").on("click",(function(){t(this).parents(".et_mobile_menu").siblings(".mobile_menu_bar").trigger("click")})),"no_click_event"!==l)){o&&n.off("click");const e=n.closest(".et_pb_section"),s=n.closest(".et_pb_row"),i="0px"!==e.css("border-radius"),l="0px"!==s.css("border-radius");n.on("click",".mobile_menu_bar",(function(){return t(".mobile_nav.opened .mobile_menu_bar").not(t(this)).trigger("click"),n.hasClass("closed")?(n.removeClass("closed").addClass("opened"),(i||l)&&(e.css("overflow","visible"),s.css("overflow","visible")),a.stop().slideDown(500)):(n.removeClass("opened").addClass("closed"),a.stop().slideUp(500),(i||l)&&setTimeout((()=>{e.css("overflow","hidden"),s.css("overflow","hidden")}),500)),!1}))}})),t("#mobile_menu .centered-inline-logo-wrap").remove()},window.et_pb_remove_placeholder_text=function(e){e.find("input:text, textarea").each(((e,t)=>{const n=jQuery(t),o=n.siblings("label");n.siblings("label").text();o.length&&o.is(":hidden")&&o.text()==n.val()&&n.val("")}))},window.et_fix_fullscreen_section=function(){const o=t(n?e.top_window:window);t("section.et_pb_fullscreen").each((function(){const e=t(this);et_calc_fullscreen_section.bind(e),o.on("resize",et_calc_fullscreen_section.bind(e))}))},window.et_bar_counters_init=function(e){e.length&&e.css({width:`${parseFloat(e.attr("data-width"))}%`})},window.et_fix_pricing_currency_position=function(e){setTimeout((()=>{const n=void 0!==e?e:t(".et_pb_pricing_table");n.length&&n.each((function(){const e=t(this).find(".et_pb_et_price"),n=!!e.length&&e.find(".et_pb_dollar_sign"),o=!!e.length&&e.find(".et_pb_sum");n&&o&&n.css({marginLeft:-n.width()+"px"})}))}),1)},window.et_pb_set_responsive_grid=function(e,n){setTimeout((()=>{const o=e.innerWidth(),s=e.find(n),i=s.outerWidth(!0),l=i-s.outerWidth(),a=Math.round((o+l)/i);let r=1,c=1,d=t();if(s.removeClass("last_in_row first_in_row on_last_row"),s.filter(":visible").each((function(){const e=t(this);e.hasClass("inactive")||(c===r?(e.addClass("first_in_row"),d=e):0==r%a&&(e.addClass("last_in_row"),c=r+1),r++)})),d.length){const e=d.parents(".et_pb_module");if(e.is(":last-child")){const n=d.parents(".et_pb_column")[0];t(n).find(".et_pb_grid_item").removeClass("on_last_row");let o=e.find(".et_pb_gallery_pagination");0===o.length&&(o=e.find(".et_pb_portofolio_pagination")),(0===o.length||o.length>0&&!o.is(":visible"))&&(a>1&&d.addClass("on_last_row"),d.nextAll().addClass("on_last_row"))}}}),1)},window.et_pb_box_shadow_apply_overlay=function(e){void 0!==document.body.style.pointerEvents&&(void 0===document.documentMode||document.documentMode>=11)?t(e).each((function(){t(this).children(".box-shadow-overlay").length||t(this).addClass("has-box-shadow-overlay").prepend('<div class="box-shadow-overlay"></div>')})):t(e).addClass(".et-box-shadow-no-overlay")},window.et_pb_init_nav_menu=function(e){e.each((function(){const e=t(this);e.data("et-is-menu-ready")||(e.find("li").on("mouseenter",(function(){window.et_pb_toggle_nav_menu(t(this),"open")})).on("mouseleave",(function(){window.et_pb_toggle_nav_menu(t(this),"close",0)})),t("body").on("touchend",(e=>{t(e.target).closest("ul.nav, ul.menu").length<1&&t(".et-hover").length>0&&window.et_pb_toggle_nav_menu(t(".et-hover"),"close")})),e.find("li.menu-item-has-children").on("touchend",(function(e){const n=t(e.target).closest(".menu-item");if(!n.hasClass("menu-item-has-children"))return;const o=t(this),s=n.closest(".mega-menu-parent.et-touch-hover").length>0;if(o.hasClass("et-touch-hover")||s){void 0!==o.find(">a").attr("href")&&(window.location=o.find(">a").attr("href"))}else{const n=t(e.target),s=n.closest(".menu-item").siblings(".et-touch-hover");if(n.closest(".et-touch-hover").length<1&&window.et_pb_toggle_nav_menu(t(".et-hover"),"close",0),o.addClass("et-touch-hover"),s.length>0){const e=s.find(".et-touch-hover");window.et_pb_toggle_nav_menu(s,"close"),window.et_pb_toggle_nav_menu(e,"close")}window.et_pb_toggle_nav_menu(o,"open")}e.preventDefault(),e.stopPropagation()})),e.find("li.mega-menu").each((function(){const e=t(this),n=e.children("ul").children("li").length;n<4&&e.addClass(`mega-menu-parent mega-menu-parent-${n}`)})),e.data("et-is-menu-ready","ready"))}))},window.et_pb_toggle_nav_menu=function(e,t,n){if("open"===t)e.closest("li.mega-menu").length&&!e.hasClass("mega-menu")||(e.addClass("et-show-dropdown"),e.removeClass("et-hover").addClass("et-hover"));else{const t=void 0!==n?n:200;e.removeClass("et-show-dropdown"),e.removeClass("et-touch-hover"),setTimeout((()=>{e.hasClass("et-show-dropdown")||e.removeClass("et-hover")}),t)}},window.et_pb_apply_sticky_image_effect=function(e){const t=e.closest(".et_pb_row"),n=t.closest(".et_pb_section"),o=e.closest(".et_pb_column"),s="et_pb_section_sticky",i="et_pb_section_sticky_mobile",l=n.children(".et_pb_row").last(),a=t.children(".et_pb_column").last(),r=o.children(".et_pb_module").last();return!t.is(l)||(l.addClass("et-last-child"),!e.is(r)||(n.hasClass(s)||n.addClass(s),o.addClass("et_pb_row_sticky"),void(!n.hasClass(i)&&o.is(a)&&n.addClass(i))))},window.et_pb_menu_inject_inline_centered_logo=function(e){const n=t(e).find("nav > ul > li"),o=Math.round(n.length/2),s=window.et_pb_menu_inject_item(e,o,!0);return s&&t(s).addClass("et_pb_menu__logo-slot"),s},window.et_pb_menu_inject_item=function(e,n,o){o=void 0===o||o,n=Math.max(n,0);const s=t(e).find("nav > ul").first();if(0===s.length)return null;const i=s.find("> li"),l=t("<li></li>");if(0===i.length)s.append(l);else{let e=o?"before":"after",t=o?i.eq(n):i.eq(i.length-1-n);0===t.length&&(e=o?"after":"before",t=o?i.last():i.first()),t[e](l)}return l.get(0)},t('a[href*="#"]:not([href="#"]), .mobile_nav').on("click",(function(e){var n=t(this),o=n.closest(".et_smooth_scroll_disabled").length,s=n.closest(".woocommerce-tabs").length&&n.closest(".tabs").length,i=n.closest(".tt_tabs_navigation").length,l=n.closest(".eab-shortcode_calendar-navigation-link").length,a=n.closest(".view-cart-lnk").length,r=n.hasClass("acomment-reply"),c=n.closest(".hustle-ui").length,d=n.hasClass("woocommerce-review-link"),_=o||a||s||l||r||d||i||c;if((n.hasClass("mobile_nav")||location.pathname.replace(/^\//,"")==this.pathname.replace(/^\//,"")&&location.hostname==this.hostname)&&!_){if(this.hash&&this.hash.startsWith("#")&&this.hash.slice(1).includes("#"))return e.preventDefault(),!1;var h;try{h=t(this.hash)}catch{h=t()}if(n.hasClass("mobile_nav")){if(e.target.hash)try{h=t("#"+e.target.hash.slice(1))}catch{h=t()}if(t(e.target).parent().hasClass("pum-trigger")){e.preventDefault();var u=t(e.target).parent().attr("class").split(" ").filter((function(e){return e.includes("popmake")}))[0].split("-")[1];t("#pum-".concat(u)).css({opacity:"1",display:"block"}),t("#popmake-".concat(u)).css({opacity:"1",display:"block"})}}if(!h.length&&this.hash)try{h=t("[name="+this.hash.slice(1)+"]")}catch{h=t()}if(h.length){t(this).parents().hasClass("widget_recent_reviews")&&t(".reviews_tab").trigger("click").animate({scrollTop:h.offset().top},700);const e=t("body").hasClass("et_smooth_scroll"),n=e?800:0;if(setTimeout((function(){et_pb_smooth_scroll(h,!1,n)}),0),!t("#main-header").hasClass("et-fixed-header")&&t("body").hasClass("et_fixed_nav")&&t(window).width()>980){const t=e?40:0;setTimeout((function(){et_pb_smooth_scroll(h,!1,t,"linear")}),e?780:0)}return!1}}})),window.et_pb_reposition_menu_module_dropdowns=et_pb_debounce((e=>{t(e||".et_pb_menu, .et_pb_fullwidth_menu").each((function(){const e=t(this).find(".et_pb_row").first();if(0===e.length)return!0;const n=e.offset().top,o=t(this).attr("class").replace(/^.*?(et_pb(?:_fullwidth)?_menu_\d+[^\s]*).*$/i,"$1"),s=t(this).find(".et_pb_menu__menu ul").first().hasClass("upwards");let i="";t(this).find(".et_pb_menu__menu > nav > ul > li.mega-menu.menu-item-has-children").each((function(){const l=t(this),a=l.attr("class").replace(/^.*?(menu-item-\d+).*$/i,"$1"),r=`.${o} li.${a} > .sub-menu`;if(s){var c=Math.floor(n+e.outerHeight()-l.offset().top)-1;i+=`${r}{ bottom: ${c.toString()}px !important; }`}else{c=Math.floor(l.offset().top+l.outerHeight()-n)-1;i+=`${r}{ top: ${c.toString()}px !important; }`}}));let l=t(`style.et-menu-style-${o}`).first();0===l.length&&(l=t("<style></style>"),l.addClass("et-menu-style"),l.addClass(`et-menu-style-${o}`),l.appendTo(t("head")));const a=l.html();i!==a&&l.html(i)}))}),200)}(jQuery)}(),((window.divi=window.divi||{}).scriptLibrary=window.divi.scriptLibrary||{}).scriptLibraryFrontendGlobalFunctions=o}();
!function(){"use strict";function t(o){if(!o)throw new Error("No options passed to Waypoint constructor");if(!o.element)throw new Error("No element option passed to Waypoint constructor");if(!o.handler)throw new Error("No handler option passed to Waypoint constructor");this.key="waypoint-"+e,this.decoration=t.Adapter.extend({},t.defaults,o),this.element=this.decoration.element,this.adapter=new t.Adapter(this.element),this.callback=o.handler,this.axis=this.decoration.horizontal?"horizontal":"vertical",this.enabled=this.decoration.enabled,this.triggerPoint=null,this.group=t.Group.findOrCreate({name:this.decoration.group,axis:this.axis}),this.context=t.Context.findOrCreateByElement(this.decoration.context),t.offsetAliases[this.decoration.offset]&&(this.decoration.offset=t.offsetAliases[this.decoration.offset]),this.group.add(this),this.context.add(this),i[this.key]=this,e+=1}var e=0,i={};t.prototype.queueTrigger=function(t){this.group.queueTrigger(this,t)},t.prototype.trigger=function(t){this.enabled&&this.callback&&this.callback.apply(this,t)},t.prototype.destroy=function(){this.context.remove(this),this.group.remove(this),delete i[this.key]},t.prototype.disable=function(){return this.enabled=!1,this},t.prototype.enable=function(){return this.context.refresh(),this.enabled=!0,this},t.prototype.next=function(){return this.group.next(this)},t.prototype.previous=function(){return this.group.previous(this)},t.invokeAll=function(t){var e=[];for(var o in i)e.push(i[o]);for(var n=0,r=e.length;r>n;n++)e[n][t]()},t.destroyAll=function(){t.invokeAll("destroy")},t.disableAll=function(){t.invokeAll("disable")},t.enableAll=function(){t.invokeAll("enable")},t.refreshAll=function(){t.Context.refreshAll()},t.viewportHeight=function(){return window.innerHeight||document.documentElement.clientHeight},t.viewportWidth=function(){return document.documentElement.clientWidth},t.adapters=[],t.defaults={context:window,continuous:!0,enabled:!0,group:"default",horizontal:!1,offset:0},t.offsetAliases={"bottom-in-view":function(){return this.context.innerHeight()-this.adapter.outerHeight()},"right-in-view":function(){return this.context.innerWidth()-this.adapter.outerWidth()}},window.Waypoint=t}(),function(){"use strict";function t(t){window.setTimeout(t,1e3/60)}function e(t){this.element=t,this.Adapter=n.Adapter,this.adapter=new this.Adapter(t),this.key="waypoint-context-"+i,this.didScroll=!1,this.didResize=!1,this.oldScroll={x:this.adapter.scrollLeft(),y:this.adapter.scrollTop()},this.waypoints={vertical:{},horizontal:{}},t.waypointContextKey=this.key,o[t.waypointContextKey]=this,i+=1,this.createThrottledScrollHandler(),this.createThrottledResizeHandler()}var i=0,o={},n=window.Waypoint,r=window.onload;e.prototype.add=function(t){var e=t.decoration.horizontal?"horizontal":"vertical";this.waypoints[e][t.key]=t,this.refresh()},e.prototype.checkEmpty=function(){var t=this.Adapter.isEmptyObject(this.waypoints.horizontal),e=this.Adapter.isEmptyObject(this.waypoints.vertical);t&&e&&(this.adapter.off(".waypoints"),delete o[this.key])},e.prototype.createThrottledResizeHandler=function(){function t(){e.handleResize(),e.didResize=!1}var e=this;this.adapter.on("resize.waypoints",(function(){e.didResize||(e.didResize=!0,n.requestAnimationFrame(t))}))},e.prototype.createThrottledScrollHandler=function(){function t(){e.handleScroll(),e.didScroll=!1}var e=this;this.adapter.on("scroll.waypoints",(function(){(!e.didScroll||n.isTouch)&&(e.didScroll=!0,n.requestAnimationFrame(t))}))},e.prototype.handleResize=function(){n.Context.refreshAll()},e.prototype.handleScroll=function(){var t={},e={horizontal:{newScroll:this.adapter.scrollLeft(),oldScroll:this.oldScroll.x,forward:"right",backward:"left"},vertical:{newScroll:this.adapter.scrollTop(),oldScroll:this.oldScroll.y,forward:"down",backward:"up"}};for(var i in e){var o=e[i],n=o.newScroll>o.oldScroll?o.forward:o.backward;for(var r in this.waypoints[i]){var s=this.waypoints[i][r],a=o.oldScroll<s.triggerPoint,l=o.newScroll>=s.triggerPoint;(a&&l||!a&&!l)&&(s.queueTrigger(n),t[s.group.id]=s.group)}}for(var h in t)t[h].flushTriggers();this.oldScroll={x:e.horizontal.newScroll,y:e.vertical.newScroll}},e.prototype.innerHeight=function(){return this.element==this.element.window?n.viewportHeight():this.adapter.innerHeight()},e.prototype.remove=function(t){delete this.waypoints[t.axis][t.key],this.checkEmpty()},e.prototype.innerWidth=function(){return this.element==this.element.window?n.viewportWidth():this.adapter.innerWidth()},e.prototype.destroy=function(){var t=[];for(var e in this.waypoints)for(var i in this.waypoints[e])t.push(this.waypoints[e][i]);for(var o=0,n=t.length;n>o;o++)t[o].destroy()},e.prototype.refresh=function(){var t,e=this.element==this.element.window,i=e?void 0:this.adapter.offset(),o={};for(var r in this.handleScroll(),t={horizontal:{contextOffset:e?0:i.left,contextScroll:e?0:this.oldScroll.x,contextDimension:this.innerWidth(),oldScroll:this.oldScroll.x,forward:"right",backward:"left",offsetProp:"left"},vertical:{contextOffset:e?0:i.top,contextScroll:e?0:this.oldScroll.y,contextDimension:this.innerHeight(),oldScroll:this.oldScroll.y,forward:"down",backward:"up",offsetProp:"top"}}){var s=t[r];for(var a in this.waypoints[r]){var l,h,c,p,d=this.waypoints[r][a],u=d.decoration.offset,f=d.triggerPoint,w=0,y=null==f;d.element!==d.element.window&&(w=d.adapter.offset()[s.offsetProp]),"function"==typeof u?u=u.apply(d):"string"==typeof u&&(u=parseFloat(u),d.decoration.offset.indexOf("%")>-1&&(u=Math.ceil(s.contextDimension*u/100))),l=s.contextScroll-s.contextOffset,d.triggerPoint=w+l-u,h=f<s.oldScroll,c=d.triggerPoint>=s.oldScroll,p=!h&&!c,!y&&h&&c?(d.queueTrigger(s.backward),o[d.group.id]=d.group):(!y&&p||y&&s.oldScroll>=d.triggerPoint)&&(d.queueTrigger(s.forward),o[d.group.id]=d.group)}}return n.requestAnimationFrame((function(){for(var t in o)o[t].flushTriggers()})),this},e.findOrCreateByElement=function(t){return e.findByElement(t)||new e(t)},e.refreshAll=function(){for(var t in o)o[t].refresh()},e.findByElement=function(t){return o[t.waypointContextKey]},window.onload=function(){r&&r(),e.refreshAll()},n.requestAnimationFrame=function(e){(window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||t).call(window,e)},n.Context=e}(),function(){"use strict";function t(t,e){return t.triggerPoint-e.triggerPoint}function e(t,e){return e.triggerPoint-t.triggerPoint}function i(t){this.name=t.name,this.axis=t.axis,this.id=this.name+"-"+this.axis,this.waypoints=[],this.clearTriggerQueues(),o[this.axis][this.name]=this}var o={vertical:{},horizontal:{}},n=window.Waypoint;i.prototype.add=function(t){this.waypoints.push(t)},i.prototype.clearTriggerQueues=function(){this.triggerQueues={up:[],down:[],left:[],right:[]}},i.prototype.flushTriggers=function(){for(var i in this.triggerQueues){var o=this.triggerQueues[i],n="up"===i||"left"===i;o.sort(n?e:t);for(var r=0,s=o.length;s>r;r+=1){var a=o[r];(a.decoration.continuous||r===o.length-1)&&a.trigger([i])}}this.clearTriggerQueues()},i.prototype.next=function(e){this.waypoints.sort(t);var i=n.Adapter.inArray(e,this.waypoints);return i===this.waypoints.length-1?null:this.waypoints[i+1]},i.prototype.previous=function(e){this.waypoints.sort(t);var i=n.Adapter.inArray(e,this.waypoints);return i?this.waypoints[i-1]:null},i.prototype.queueTrigger=function(t,e){this.triggerQueues[e].push(t)},i.prototype.remove=function(t){var e=n.Adapter.inArray(t,this.waypoints);e>-1&&this.waypoints.splice(e,1)},i.prototype.first=function(){return this.waypoints[0]},i.prototype.last=function(){return this.waypoints[this.waypoints.length-1]},i.findOrCreate=function(t){return o[t.axis][t.name]||new i(t)},n.Group=i}(),function(){"use strict";function t(t){this.$element=e(t)}var e=window.jQuery,i=window.Waypoint;e.each(["innerHeight","innerWidth","off","offset","on","outerHeight","outerWidth","scrollLeft","scrollTop"],(function(e,i){t.prototype[i]=function(){var t=Array.prototype.slice.call(arguments);return this.$element[i].apply(this.$element,t)}})),e.each(["extend","inArray","isEmptyObject"],(function(i,o){t[o]=e[o]})),i.adapters.push({name:"jquery",Adapter:t}),i.Adapter=t}(),function(){"use strict";function t(t){return function(){var i=[],o=arguments[0];return"function"==typeof arguments[0]&&((o=t.extend({},arguments[1])).handler=arguments[0]),this.each((function(){var n=t.extend({},o,{element:this});"string"==typeof n.context&&(n.context=t(this).closest(n.context)[0]),i.push(new e(n))})),i}}var e=window.Waypoint;window.jQuery&&(window.jQuery.fn.waypoint=t(window.jQuery)),window.Zepto&&(window.Zepto.fn.waypoint=t(window.Zepto))}(),((window.divi=window.divi||{}).scriptLibrary=window.divi.scriptLibrary||{}).scriptLibraryExtWaypoint={};
!function(){var e;(e=jQuery)(window).on("et_pb_init_modules",(function(){window.et_pb_init_menu_modules=function(){function n(e){const n=e.find(".et_pb_menu__wrap").first(),t=e.find(".et_pb_menu__search-container").first(),i=e.find(".et_pb_menu__search-input").first();t.hasClass("et_pb_is_animating")||(n.removeClass("et_pb_menu__wrap--hidden").addClass("et_pb_menu__wrap--visible"),t.removeClass("et_pb_menu__search-container--visible").addClass("et_pb_menu__search-container--hidden et_pb_is_animating"),i.trigger("blur"),setTimeout((()=>{t.removeClass("et_pb_is_animating").addClass("et_pb_menu__search-container--disabled")}),1e3))}e(".et-menu").find("li.current-cat, li.current_page_item").addClass("current-menu-item"),e(document).on("click",".et_pb_menu__search-button",(function(){!function(n){const t=n.find(".et_pb_menu__wrap").first(),i=n.find(".et_pb_menu__search-container").first(),_=n.find(".et_pb_menu__search-input").first(),s=n.find(".et_pb_row > .et_pb_menu__logo-wrap").first(),a=n.find(".et_pb_menu_inner_container > .et_pb_menu__logo-wrap").first(),o=s.add(a),d=e(window).width()<=980;if(!i.hasClass("et_pb_is_animating")){if(t.find(".mobile_nav.opened").removeClass("opened").addClass("closed"),t.find(".et_mobile_menu").hide(),t.removeClass("et_pb_menu__wrap--visible").addClass("et_pb_menu__wrap--hidden"),i.removeClass("et_pb_menu__search-container--hidden et_pb_menu__search-container--disabled").addClass("et_pb_menu__search-container--visible et_pb_is_animating"),i.css("padding-top","0px"),n.hasClass("et_pb_menu--style-left_aligned")||n.hasClass("et_pb_fullwidth_menu--style-left_aligned"))i.css("padding-left",`${o.width()}px`);else{const e=o.height();i.css("padding-left","0px"),(d||n.hasClass("et_pb_menu--style-centered")||n.hasClass("et_pb_fullwidth_menu--style-centered"))&&i.css("padding-top",`${e>0?e+30:0}px`)}_.css("font-size",n.find(".et-menu-nav li a").first().css("font-size")),setTimeout((()=>_.trigger("focus")),0),setTimeout((()=>{t.addClass("et_pb_no_animation"),i.addClass("et_pb_no_animation").removeClass("et_pb_is_animating")}),1e3)}}(e(this).closest(".et_pb_module"))})),e(document).on("click",".et_pb_menu__close-search-button",(function(){n(e(this).closest(".et_pb_module"))})),e(document).on("blur",".et_pb_menu__search-input",(function(){n(e(this).closest(".et_pb_module"))})),e("#et_top_search").on("click",(function(){const n=e(".et_search_form_container");n.hasClass("et_pb_is_animating")||(e(".et_menu_container").removeClass("et_pb_menu_visible et_pb_no_animation").addClass("et_pb_menu_hidden"),n.removeClass("et_pb_search_form_hidden et_pb_no_animation").addClass("et_pb_search_visible et_pb_is_animating"),setTimeout((()=>{e(".et_menu_container").addClass("et_pb_no_animation"),n.addClass("et_pb_no_animation").removeClass("et_pb_is_animating")}),1e3),n.find("input").trigger("focus"),function(){const n=e(".et_search_form_container"),t=e("body");if(n.hasClass("et_pb_search_visible")){const i=e("#main-header").innerHeight(),_=e("#top-menu").width(),s=e("#top-menu li a").css("font-size");n.css({height:`${i}px`}),n.find("input").css("font-size",s),t.hasClass("et_header_style_left")?n.find("form").css("max-width",`${_+60}px`):n.css("max-width",`${_+60}px`)}}())})),e(".et_close_search_field").on("click",(function(){e(".et_search_form_container").hasClass("et_pb_is_animating")||(e(".et_menu_container").removeClass("et_pb_menu_hidden et_pb_no_animation").addClass("et_pb_menu_visible"),e(".et_search_form_container").removeClass("et_pb_search_visible et_pb_no_animation").addClass("et_pb_search_form_hidden et_pb_is_animating"),setTimeout((()=>{e(".et_menu_container").addClass("et_pb_no_animation"),e(".et_search_form_container").addClass("et_pb_no_animation").removeClass("et_pb_is_animating")}),1e3))})),et_duplicate_menu(e("#et-top-navigation ul.nav"),e("#et-top-navigation .mobile_nav"),"mobile_menu","et_mobile_menu"),et_duplicate_menu("",e(".et_pb_fullscreen_nav_container"),"mobile_menu_slide","et_mobile_menu","no_click_event"),e((()=>{if(e(".et_pb_menu--style-inline_centered_logo, .et_pb_fullwidth_menu--style-inline_centered_logo").each((function(){!function(n){const t=n.find(".et_pb_menu__logo-wrap").first();if(!t.length)return;const i=n.find(".et_pb_menu__menu").first();if(!i.length||i.find(".et_pb_menu__logo").length>0)return;const _=window.et_pb_menu_inject_inline_centered_logo(i.get(0));null!==_&&e(_).empty().append(t.clone())}(e(this))})),void 0!==window.lazySizes&&e(document).on("lazyloaded",(n=>{const t=e(n.target),i=t.attr("name");t.is("iframe")&&(i.includes("fitvid")||void 0===i)&&(t.attr("src",t.attr("data-src")),t.parent().fitVids())})),e(".et-menu-nav ul.nav").each((function(n){et_duplicate_menu(e(this),e(this).closest(".et_pb_module").find("div .mobile_nav"),`mobile_menu${n+1}`,"et_mobile_menu")})),e(".et_pb_menu, .et_pb_fullwidth_menu").each((function(){const n=e(this),t=n.data("bg_color");t&&n.find("ul").css({"background-color":t})})),"undefined"!=typeof diviElementAnimationData&&diviElementAnimationData.length>0){let n=0;for(let t=0;t<diviElementAnimationData.length;t++){const i=diviElementAnimationData[t];if(!i.class)continue;const _=e(`.${i.class}`);(_.hasClass("et_pb_menu")||_.hasClass("et_pb_fullwidth_menu"))&&n++}e(".et_pb_menu, .et_pb_fullwidth_menu").each((function(){const t=e(this);t.on("webkitAnimationEnd oanimationend msAnimationEnd animationend",(()=>{t.css("z-index",n-t.index(".et_pb_menu, .et_pb_fullwidth_menu"))}))}))}function n(){const n=e(window).width();e(".nav li.et-reverse-direction-nav").removeClass("et-reverse-direction-nav"),e(".nav li[data-reverse-reason]").removeAttr("data-reverse-reason");const t=new Set,i=new Set;e(".nav li li ul").each((function(){const i=e(this),_=i.width(),s=i.offset(),a=i.parents(".nav > li");if(s.left>n-_){const e=a.first()[0];t.add(e)}})),e(".nav li > ul").each((function(){const t=e(this),_=e(this).parent(".nav > li"),s=t.width();if(t.offset().left>n-s){const e=_[0];i.add(e)}})),e(".nav > li").each((function(){const n=e(this),_=n[0],s=t.has(_),a=i.has(_);(s||a)&&(n.addClass("et-reverse-direction-nav"),s&&a?n.attr("data-reverse-reason","both"):s?n.attr("data-reverse-reason","nested"):n.attr("data-reverse-reason","first-level"))}))}n(),e(".et_pb_menu .sub-menu, .et_pb_fullwidth_menu .sub-menu").each((function(){const n=e(this),t=n.closest(".et_pb_column"),i=n.closest(".et_pb_row"),_=n.closest(".et_pb_section");t.length&&t.addClass("et_pb_column--with-menu"),i.length&&i.addClass("et_pb_row--with-menu"),_.length&&_.addClass("et_pb_section--with-menu")})),e(".et_pb_row--with-menu").css({"z-index":"999",position:"relative"}),e(window).on("resize",n),e(window).on("resize",window.et_pb_reposition_menu_module_dropdowns)})),document.addEventListener("DOMContentLoaded",window.et_pb_reposition_menu_module_dropdowns)},window.et_pb_init_menu_modules()})),((window.divi=window.divi||{}).scriptLibrary=window.divi.scriptLibrary||{}).scriptLibraryMenu={}}();
!function(){var t;(t=jQuery)(window).on("et_pb_init_modules",(function(){window.et_pb_init_link=function(){t((()=>{const e=window.location.origin+window.location.pathname,n=window.location.href.split("#")[0];function i(t){return t?t.toLowerCase().replace(/\/+$/,""):""}function o(t){let e=!1;const n=[".et_pb_toggle_title",".mejs-container *",".et_pb_contact_field input",".et_pb_contact_field textarea",".et_pb_contact_field_checkbox *",".et_pb_contact_field_radio *",".et_pb_contact_captcha",".et_pb_tabs_controls a",".flex-control-nav *",".et_pb_menu__search-button",".et_pb_menu__close-search-button",".et_pb_menu__search-container *",".et_pb_fullwidth_header_scroll *"];for(let i=0;i<n.length;i++)if(t.is(n[i])){e=!0;break}return e}!function(){const c=[].concat(window?.diviElementLinkData??[],window?.et_link_options_data??[]);void 0!==c&&c.length>0&&t.each(c,((c,r)=>{if(!r.class||!r.url||!r.target)return;const a=t(`.${r.class}`);a.on("click",(c=>{if(c.target!==c.currentTarget&&!o(t(c.target))||c.target===c.currentTarget){c.stopPropagation();let{url:o}=r;if(o=o.replace(/&#91;/g,"["),o=o.replace(/&#93;/g,"]"),"_blank"===r.target)return void window.open(o);if("#product_reviews_tab"===o){const e=t(".reviews_tab a");if(e.length>0){e.trigger("click");const n=t("body").hasClass("et_smooth_scroll");et_pb_smooth_scroll(e,void 0,n?800:0),history.pushState(null,"",o)}}else if(o&&o.includes("#")){const r=o.indexOf("#"),a=o.substring(0,r),l=o.substring(r),_=i(a),s=i(e),d=i(n),p=!a||_===s||_===d,u=l.startsWith("#")&&l.slice(1).includes("#");if(p&&u)return void c.preventDefault();let b;try{b=t(l)}catch{b=t()}if(p&&b.length){const e=t("body").hasClass("et_smooth_scroll");et_pb_smooth_scroll(b,void 0,e?800:0),history.pushState(null,"",l)}else window.location=o}else window.location=o}})),a.on("click","a, button",(function(e){o(t(this))||e.stopPropagation()}))}))}()}))},window.et_pb_init_link()})),((window.divi=window.divi||{}).scriptLibrary=window.divi.scriptLibrary||{}).scriptLibraryLink={}}();
!function(t){"use strict";t.fn.fitVids=function(i){var e={customSelector:null,ignore:null};if(!document.getElementById("fit-vids-style")){var r=document.head||document.getElementsByTagName("head")[0],d=document.createElement("div");d.innerHTML='<p>x</p><style id="fit-vids-style">.fluid-width-video-wrapper{width:100%;position:relative;padding:0;}.fluid-width-video-wrapper iframe,.fluid-width-video-wrapper object,.fluid-width-video-wrapper embed {position:absolute;top:0;left:0;width:100%;height:100%;}</style>',r.appendChild(d.childNodes[1])}return i&&t.extend(e,i),this.each((function(){var i=['iframe[src*="player.vimeo.com"]','iframe[src*="youtube.com"]','iframe[src*="youtube-nocookie.com"]','iframe[src*="kickstarter.com"][src*="video.html"]',"object","embed"];e.customSelector&&i.push(e.customSelector);var r=".fitvidsignore";e.ignore&&(r=r+", "+e.ignore);var d=t(this).find(i.join(","));(d=(d=d.not("object object")).not(r)).each((function(){var i=t(this);if(!(i.parents(r).length>0||"embed"===this.tagName.toLowerCase()&&i.parent("object").length||i.parent(".fluid-width-video-wrapper").length)){i.css("height")||i.css("width")||!isNaN(i.attr("height"))&&!isNaN(i.attr("width"))||(i.attr("height",9),i.attr("width",16));var e=("object"===this.tagName.toLowerCase()||i.attr("height")&&!isNaN(parseInt(i.attr("height"),10))?parseInt(i.attr("height"),10):i.height())/(isNaN(parseInt(i.attr("width"),10))?i.width():parseInt(i.attr("width"),10));if(!i.attr("name")){var d="fitvid"+t.fn.fitVids._count;i.attr("name",d),t.fn.fitVids._count++}i.wrap('<div class="fluid-width-video-wrapper"></div>').parent(".fluid-width-video-wrapper").css("padding-top",100*e+"%"),i.removeAttr("height").removeAttr("width")}}))}))},t.fn.fitVids._count=0}(window.jQuery||window.Zepto),((window.divi=window.divi||{}).scriptLibrary=window.divi.scriptLibrary||{})["scriptLibraryJquery.fitvids"]={};
!function(){var i;(i=jQuery)(window).on("et_pb_init_modules",(function(){window.et_pb_init_fitvids_functions=function(){const t="object"==typeof window.ET_Builder,e=i(".et_pb_slide").length>0,o=i(".et_pb_fullscreen").length>0;i((()=>{function n(){if(i.fn.fitVids){let t="iframe[src^='http://www.hulu.com'], iframe[src^='http://www.dailymotion.com'], iframe[src^='http://www.funnyordie.com'], iframe[src^='https://embed-ssl.ted.com'], iframe[src^='http://embed.revision3.com'], iframe[src^='https://flickr.com'], iframe[src^='http://blip.tv'], iframe[src^='http://www.collegehumor.com']",e="";void 0!==window.lazySizes&&(t+=", iframe[src^='data:image']",e+=".lazyloading"),i(".et_pb_slide_video").fitVids(),i(".et_pb_module").fitVids({customSelector:t,ignore:e})}e&&window.et_fix_slider_height(),o&&window.et_calculate_fullscreen_section_size()}t?i(window).one("et_fb_init_app_after",n):n()}))},window.et_pb_init_fitvids_functions()})),((window.divi=window.divi||{}).scriptLibrary=window.divi.scriptLibrary||{}).scriptLibraryFitvidsFunctions={}}();
(function($){
$(function(){
var user_agent=navigator.userAgent;
var is_opera_edge;
var browser=user_agent.match(/(opera|chrome|safari|firefox|msie|trident(?=\/))/i)||[];
var browser_name='';
var browser_class='';
if(/trident/i.test(browser[0]) ){
browser_name='ie';
}else if(browser[0]==='Chrome'){
is_opera_edge=user_agent.match(/\b(OPR|Edge)/);
if(is_opera_edge!==null){
browser_name=is_opera_edge[0].replace('OPR', 'opera');
}}
if(''===browser_name){
if('standalone' in window.navigator&&!window.navigator.standalone){
browser_name='uiwebview';
}else{
browser_name=browser[0]&&''!==browser[0] ? browser[0]:navigator.appName;
}}
browser_name=browser_name.toLowerCase();
switch(browser_name){
case 'msie' :
browser_class='ie';
break;
case 'firefox' :
browser_class='gecko';
break;
default :
browser_class=browser_name;
break;
}
if(user_agent.match(/iPhone/)){
browser_class +=' iphone';
}
$('body').addClass(browser_class);
});
})(jQuery);