1(function(e){"use strict";e.fn.disableScroll=function(){window.oldScrollPos=e(window).scrollTop(),e(window).on("scroll.scrolldisabler",function(t){e(window).scrollTop(window.oldScrollPos),t.preventDefault()})},e.fn.enableScroll=function(){e(window).off("scroll.scrolldisabler")},e.fn.supposition=function(){var t=e(window),a=function(e){return window["y"===e?"pageYOffset":"pageXOffset"]||document.documentElement&&document.documentElement["y"===e?"scrollTop":"scrollLeft"]||document.body["y"===e?"scrollTop":"scrollLeft"]},o=function(){var t=e("li",this),a=parseInt(t.css("z-index"))+t.length;t.each(function(){e(this).css({zIndex:--a})})},l=function(){this.css({marginTop:"",marginLeft:""})},s=function(){this.each(function(){var o=e(this);o.css("display","block");var l=o.width(),s=o.parents("ul").width(),r=t.width()+a("x"),i=o.offset().left+l;i>r&&o.css("margin-left",(1===o.parents("ul").length?r-i:-(l+s))+"px");var n=t.height(),d=o.offset().top,c=o.height(),h=n+a("y");d+c>h&&o.css("margin-top",h-(c+d))})};return this.each(function(){var t=e(this),a=t.data("sf-options"),r=a.onInit,i=a.onBeforeShow,n=a.onHide;e.extend(t.data("sf-options"),{onInit:function(){o.call(this),r.call(this)},onBeforeShow:function(){s.call(this),i.call(this)},onHide:function(){l.call(this),n.call(this)}})})},e.fn.utvmenu=function(t){var a,o,l=e.extend({speed:200,autostart:!0,autohide:1},t);a=e(this),o=a.find("ul").parent("li").children("a"),o.attr("data-option","off"),o.unbind("click").on("click",function(){var t=e(this);l.autohide&&t.parent().parent().find("a[data-option='on']").parent("li").children("ul").slideUp(l.speed/1.2,function(){e(this).parent("li").children("a").attr("data-option","off")}),"off"===t.attr("data-option")&&t.parent("li").children("ul").slideDown(l.speed,function(){t.attr("data-option","on")}),"on"===t.attr("data-option")&&(t.attr("data-option","off"),t.parent("li").children("ul").slideUp(l.speed))}),l.autostart&&a.find("a").each(function(){e(this).parent("li").parent("ul").slideDown(l.speed,function(){e(this).parent("li").children("a").attr("data-option","on")})})};var t,a={},o=void 0,l=0,s=!1,r=0,i=function(){t={width:window.innerWidth,height:window.innerHeight}};i(),window.addEventListener("resize",i);const n={map:function(e,t,a,o,l){return(e-t)*(l-o)/(a-t)+o},lerp:function(e,t,a){return(1-a)*e+a*t},getRandomFloat:function(e,t){return(Math.random()*(t-e)+e).toFixed(2)}};var d=function(){for(var e=0;e<o.length;e++)c(o[e])},c=function(t){var o=e(t),l=t.getAttribute("data-parallax-factor"),s=void 0,r=o.css("transform");t.factor=parseFloat((l||a.factor,10)),t.rect={top:o.offset().top,left:o.offset().left,width:o.width(),height:o.height()},t.initialOffset=t.rect.top,"none"!==r&&(s=h(r)),t.transforms=s};window._isElementInViewport=function(t){var a=e(window),o=a.scrollTop(),l=t.offset(),s=l.top;return!!(s+t.height()>=o&&s-(t.data("appear-top-offset")||0)<=o+a.height())};var h=function(e){var t=e.split("(")[1];t=t.split(")")[0],t=t.split(",");var a=Math.atan2(t[1],t[0]),o=Math.pow(t[0],2)+Math.pow(t[1],2),l=Math.sqrt(o),s=(t[0]*t[3]-t[2]*t[1])/l,r=Math.atan2(t[0]*t[2]+t[1]*t[3],o);return{rotate:a/(Math.PI/180),scaleX:l,scaleY:s,skewX:r/(Math.PI/180),skewY:0,translateX:t[4],translateY:t[5]}},u=function(a,o){var s=e(a),i=e(a.parentNode),d=s.offset(),c=d.top,h=i.offset(),u=h.top,p=h.top+i.outerHeight(),m=c-l,f=a.factor,g=e(window);""===s.data("parallax-remove-general-offset")&&(m+=r),""===s.data("parallax-remove-initial-offset")&&(m-=a.initialOffset),"bottom"===o&&(f*=-1);var v=m/f,_=0,b=_isElementInViewport(s);!1===b||!s.hasClass("parallax-scroll-container-calculated")||site_settings.scrollDisabled||(s.hasClass("parallax-scroll-container-hide")&&!s.siblings(".mbYTP_wrapper").length&&s.removeClass("parallax-scroll-container-hide"),s.data("parallax-position-x")&&(_=s.data("parallax-position-x")),s.data("parallax-scale")?TweenMax.set(a,{scale:n.map(h.top-l,t.height,-1*i.outerHeight(),l>p?1-(s.data("parallax-scale")-1):1,s.data("parallax-scale"))}):s.data("parallax-scale-move")?TweenMax.set(a,{x:_,y:v,scale:n.map(h.top-l,t.height,-1*i.outerHeight(),l>p?1-(s.data("parallax-scale")-1):1,s.data("parallax-scale-move"))}):TweenMax.set(a,{x:_,y:v}))},p=function(){0>=l&&(s=!1);for(var e=0;e<o.length;e++)u(o[e],"bottom");s=!1},m=function(){return l=window.scrollY||window.pageYOffset,!(!a.mobile&&window.matchMedia&&window.matchMedia(a.mediaQuery).matches)&&void(!s&&window.requestAnimationFrame&&(window.requestAnimationFrame(p),s=!0))},f=function(e,t){r=t},g=function(){0<o.length&&d()};(function(){e(document).on("hongkong:refresh",p).on("hongkong:offset",f),e.hongkong=function(t){a=e.extend({factor:4,mobile:!1,mediaQuery:"(max-width: 42em)",threshold:0,selector:"[data-parallax]",selectorBottom:"[data-parallax-bottom]",
1selectorTop:"[data-parallax-top]"},t),o=e(a.selector),0<o.length&&(g(),m(),e(window).on("scroll",m)),e(window).on("resize load",g)}})()})(jQuery),function(e){"use strict";function t(){site_settings.brooklyn_header_scroll_offset=i.data("line-height"),i.hasClass("ut-header-fixed")&&(site_settings.brooklyn_header_scroll_offset=0),i.hasClass("ut-header-fixed")||(767<e(window).width()&&1024>=e(window).width()&&(i.css("transform","translate3d(0,0,0)"),site_settings.brooklyn_header_scroll_offset=80),767>=e(window).width()&&(i.css("transform","translate3d(0,0,0)"),site_settings.brooklyn_header_scroll_offset=60))}function a(){return window.pageYOffset||document.documentElement.scrollTop}function o(t){"style-9"===i.data("style")&&1===i.data("scrolldepth")&&("down"===t?(e(".site-logo").css({height:i.data("line-height"),"line-height":i.data("line-height")+"px","margin-top":80}),e(".site-logo img").css({"max-height":80})):(e(".site-logo").removeAttr("style"),e(".site-logo img").removeAttr("style")))}function l(){d=r.hasClass("ut-site-border-top")?parseInt(site_settings.siteframe_size):0,c=i.data("total-height"),h=i.data("line-height")-d-c,u=0,p=0,m=r.hasClass("ut-site-border-top")?d:0}function s(){1025>=e(window).width()||(g=!0,a()<p?a()<=m&&(-a()>h&&(e("#ut-header-placeholder").height(c-a()),u=-a(),i.css("transform","translate3d(0,0,0)"),o("up"),f=!1),e("#ut-header-placeholder").length&&0===a()&&(site_settings.brooklyn_header_scroll_offset=Math.abs(h)+i.data("line-height"))):0<a()&&!f&&(e("#ut-header-placeholder").height(i.data("line-height")-d),i.css("transform","translate3d(0,"+h+"px,0)"),o("down"),e("#ut-header-placeholder").length&&(site_settings.brooklyn_header_scroll_offset=i.data("line-height")),f=!0),p=a())}e("html").addClass("js");var r=e("body"),i=e("#header-section"),n=-1<navigator.userAgent.indexOf("Chrome");t(),e(window).utresize(function(){t()});var d="",c="",h="",u="",p="",m="",f=!1,g=!1;e(window).utresize(function(){1025>e(window).width()&&o("up"),e.waypoints("refresh")}),l(),e(".ut-stick-in-parent").ut_require_js({plugin:"stickit",source:"stickit",callback:function(e){e.stickit({screenMinWidth:1025,top:parseInt(h+c+40)})}}),i.hasClass("ut-header-floating")&&!r.hasClass("ut-header-hide-on-hero")&&(0===window.pageYOffset&&e("#ut-header-placeholder").length&&(site_settings.brooklyn_header_scroll_offset=Math.abs(h)+i.data("line-height")),e(window).scroll(function(){window.requestAnimationFrame(s)}),window.requestAnimationFrame(s)),setInterval(function(){g&&(g=!1,e.waypoints("refresh"))},200),e(".parallax-scroll-container:not(.parallax-scroll-container-disabled)").each(function(){var t=e(this),a=e(window).height(),o=t.outerHeight();if(o<a){t.css("height",100+(100-100*o/a)+"%").css("margin-top",-(t.outerHeight()-o)/2+"px").addClass("parallax-scroll-container-calculated")}o>=a&&t.css("height","105%").css("margin-top",-(t.outerHeight()-o)/2+"px").addClass("parallax-scroll-container-calculated")}),e.hongkong({mobile:!0,selector:".parallax-scroll-container:not(.parallax-scroll-container-disabled)"}),e(window).on("load",function(){function t(t,o){o.data("particlestate")||(particlesJS(t,o.data("effect-config")),o.data("particlestate",!0)),o.data("particlestate")&&(typeof pJSDom!==void 0&&o.css("visibility","hidden"),clearTimeout(a),a=setTimeout(function(){typeof pJSDom!==void 0&&pJSDom.forEach(function(e,t){pJSDom[t].pJS.fn.particlesRefresh()}),e(".bklyn-overlay-effect").each(function(){e(this).css("visibility","visible")})},100))}var a="";e(".bklyn-overlay-effect").ut_require_js({plugin:"particlesJS",source:"particlesJS",callback:function(a){a.each(function(){var a=e(this),o=a.attr("id");a.data("particlestate",!1),new ResizeSensor(a,function(){t(o,a)}),t(o,a)})}})}),e(document).ready(function(){function t(){var t=e(window).width(),a=e(window).outerHeight();e("#ut-mobile-nav").css("width",t).height(a),e(".ut-scroll-pane-wrap").css("width",t-20).height(a),e(".ut-scroll-pane").css("width",t).height(a),e("#ut-mobile-menu").css("width",t-40)}function a(){e("#ut-open-mobile-menu").addClass("is-active"),t(),f.removeClass(f.data("primary-skin")).addClass(f.data("secondary-skin")),e("body").addClass("ut-mobile-menu-open"),e("#ut-mobile-nav").delay(250).slideToggle(600),g.each(function(){e(this).attr("src",_)}),site_settings.mobile_nav_open=!0,e(this).one("click",o)}function o(){e("#ut-open-mobile-menu").removeClass("is-active"),e("#ut-mobile-nav").slideToggle(600,function(){(!1===site_settings.mobile_hero_passed||""===site_settings.mobile_hero_passed)&&g.each(function(){e(this).attr("src",v)}),f.removeClass(f.data("secondary-skin")).addClass(f.data("primary-skin")),e("body").removeClass("ut-mobile-menu-open"),e(this).hide()}),site_settings.mobile_nav_open=!1,e(this).one("click",a)}function l(){return navigator.userAgent.match(/IEMobile/i)}function s(e,t){var a=window.open(e,t);a.focus()}function i(){w.css("visibility","hidden"),e(".ut-overlay-footer-icons-wrap","#ut-overlay-menu-footer").css("visibility","hidden"),e(".ut-overlay-copyright","#ut-overlay-menu-footer").css("visibility","hidden"),k.addClass("ut-overlay-menu-visible"),setTimeout(function(){w.each(function(t){var a=e(this);a.delay(75*t).queue(function(){a.css("visibility","visible").addClass("fadeInUp").dequeue()})}),setTimeout(function(){e(".ut-overlay-footer-icons-wrap","#ut-overlay-menu-footer").css("visibility","visible").addClass("fadeIn"),e(".ut-overlay-copyright","#ut-overlay-menu-footer").css("visibility","visible").addClass("fadeIn")},75*w.length+100)},500)}function n(){e(".ut-overlay-menu","#ut-overlay-nav").addClass("fadeOut"),e(".ut-overlay-footer-icons-wrap","#ut-overlay-menu-footer").removeClass("fadeIn").addClass("fadeOut"),e(".ut-overlay-copyright","#ut-overlay-menu-footer").removeClass("fadeIn").addClass("fadeOut"),setTimeout(function(){k.removeClass("ut-overlay-menu-visible"),setTimeout(function(){w.removeClass("fadeInUp"),e(".ut-overlay-menu","#ut-overlay-nav").removeClass("fadeOut"),e(".ut-overlay-copyright","#ut-overlay-menu-footer").removeClass("fadeOut").css("visibility","hidden"),e(".ut-overlay-footer-icons-wrap","#ut-overlay-menu-footer").removeClass("fadeOut").css("visibility","hidden")},500)},400)}function d(t){"undefined"!=typeof t.cart_contents_count&&(e(".ut-header-cart-count").text(t.cart_contents_count),e(".ut-header-mini-cart-total-count").text(t.cart_contents_count)),"undefined"!=typeof t.cart_contents_count&&e(".ut-header-mini-cart-total-price").html(t.cart_total),"undefined"!=typeof t.cart_empty&&e(".ut-header-mini-cart-overflow-container").each(function(){e(this).html(t.cart_empty)})}function c(){e(".ut-header-mini-cart-overflow-container").each(function(){var t=e(this),a=0;e.each(t.children().slice(0,3),function(){a+=e(this).outerHeight(!0)}),t.closest(".ut-header-mini-cart-content").height(a)})}function h(){e(".ut-header-mini-cart-content").each(function(t,a){e(a).hasClass("ut-simplebar-initialized")||(e(a).addClass("ut-simplebar-initialized"),e(
1a).ut_require_js({plugin:"SimpleBar",source:"simplebar",callback:function(e){new SimpleBar(e.get(0))}}))})}function u(){e(".ut-header-mini-cart-overflow-container").each(function(){var t=e(this);t.find(".ut-header-mini-cart-item-empty").length?t.closest("ul").addClass("ut-header-mini-cart-no-content"):t.closest("ul").removeClass("ut-header-mini-cart-no-content")})}function p(){var t=e(window).height();e("body").hasClass("ut-header-display-on-hero")||e("body").hasClass("ut-header-transparent-on-hero")||e("body").hasClass("ut-header-hide-on-hero")||(t-=e("#header-section").height()),e("body").hasClass("ut-site-border-top")&&(1024<e(window).width()?t-=site_settings.siteframe_top:t-=0),e("#ut-custom-hero").height(t),O.hasClass("ut-force-rev-slider-fullscreen")?O.children(".rev_slider").revredraw():(O.parent().addClass("ut-force-rev-slider-fullscreen"),O.addClass("ut-force-rev-slider-fullscreen"),O.siblings(".tp-fullwidth-forcer").addClass("ut-force-rev-slider-fullscreen"))}var m=e("img.utlazy");m.lazyload({effect:"fadeIn",effectspeed:"200",event:"scroll",load:function(){e(this).show(),e.waypoints("refresh")},failure_limit:Math.max(m.length-1,0)}),e(".ut-horizontal-navigation ul.menu").find(".current-menu-ancestor").each(function(){e(this).find("a").first().addClass("active")}).end().find(".current_page_parent").each(function(){e(this).find("a").first().addClass("active")}).end().superfish({autoArrows:!0,delay:15}).supposition(),e("#ut-mobile-menu").find(".current-menu-ancestor").each(function(){e(this).find("a").first().addClass("active")}).end().find(".current_page_parent").each(function(){e(this).find("a").first().addClass("active")}),e("#ut-mobile-menu .sub-menu li:last-child").addClass("last"),e("#ut-mobile-menu li:last-child").addClass("last");var f=e("#header-section"),g=e(".site-logo:not(.ut-overlay-site-logo)").find("img"),v=g.data("original-logo"),_=g.data("alternate-logo");e(window).utresize(function(){979<e(window).width()&&site_settings.mobile_nav_open&&e("#ut-open-mobile-menu").trigger("click")}),e(".ut-mm-trigger").one("click",a),e(".ut-scroll-pane").on("touchstart",function(){}),e(".ut-mobile-menu").data("collapsed")&&(e(".ut-mobile-menu .sub-menu").hide(),e(".ut-mobile-menu .menu-item-has-children > a").click(function(t){var a=e(this).data("clicks");a?(e(this).siblings(".sub-menu").hide(),e(this).data("clicks",!1)):(e(this).siblings(".sub-menu").show(),e(this).data("clicks",!0)),t.stopImmediatePropagation(),t.preventDefault()})),e(".ut-tablet-nav li a").click(function(t){var a=e(this).parent().index();e(".ut-tablet-nav li").removeClass("selected"),e(this).parent().addClass("selected"),e(".ut-tablet").children().hide().removeClass("show"),e(".ut-tablet").children().eq(a).fadeIn("fast").addClass("show"),t.preventDefault()});var b={is_scrolling:!1,scrolleffect:e("body").data("scrolleffect"),scrollspeed:e("body").data("scrollspeed"),init:function(){},scroll_to:function(t,a){self.is_scrolling=!0,e.scrollTo(t,this.scrollspeed,{easing:this.scrolleffect,offset:a,axis:"y",onAfter:function(){self.is_scrolling=!1,"object"==typeof t?t=t.attr("id"):-1<t.indexOf("#")&&(t=t.substring(1)),b.update_navigation(t)}})},update_navigation:function(t){if(!(self.is_scrolling||"main-content"===t))if(b.clean_navigation(),"default"===site_settings.navigation){var a=e(".ut-horizontal-navigation a[href*=\"#"+t+"\"]");a.addClass("selected"),a.closest("ul").hasClass("sub-menu")&&a.closest("ul").siblings("a").addClass("selected")}else"side"===site_settings.navigation&&e("#bklyn-sidenav a[href*=\"#"+t+"\"]").addClass("selected")},update_home:function(){self.is_scrolling||(b.clean_navigation(),"default"===site_settings.navigation?(e(".ut-horizontal-navigation > ul > li").removeClass("sfHover"),e(".ut-horizontal-navigation a").removeClass("selected"),e(".ut-home-link > a").addClass("selected")):"side"===site_settings.navigation&&e("#bklyn-sidenav a[href*=\"#top\"]").addClass("selected"))},clean_navigation:function(){"default"===site_settings.navigation?(e(".ut-horizontal-navigation > ul > li").removeClass("sfHover"),e(".ut-horizontal-navigation a").removeClass("selected")):"side"===site_settings.navigation&&e("#bklyn-sidenav a").removeClass("selected")}};b.init(),e(".logo a[href*=\"#\"], .ut-logo a[href*=\"#\"]").click(function(t){t.preventDefault(),t.stopImmediatePropagation(),b.scroll_to(e(this).attr("href"),-site_settings.brooklyn_header_scroll_offset)}),e(".toTop").click(function(t){t.preventDefault(),t.stopImmediatePropagation(),b.scroll_to(e(this).attr("href"),-site_settings.brooklyn_header_scroll_offset)}),e(".hero-second-btn[href^=\"#\"], .hero-btn[href^=\"#\"], .hero-down-arrow a[href^=\"#\"]").not(".ut-btn-disintegrate").not("#ut-hero-search-submit").click(function(t){t.stopImmediatePropagation(),t.preventDefault();var a=e(this).attr("href");if("#ut-to-first-section"===a){var o="";o=r.hasClass("ut-hero-has-fancy-border")?site_settings.brooklyn_header_scroll_offset+e("#ut-hero .ut-fancy-border").outerHeight()-1:site_settings.brooklyn_header_scroll_offset,b.scroll_to(e(".wrap"),-o)}else b.scroll_to(a,-site_settings.brooklyn_header_scroll_offset)}),e("#ut-hero-search-submit").click(function(t){t.stopImmediatePropagation(),t.preventDefault(),e("#searchform").submit()}),e(".hero-slider-button[href^=\"#\"]").click(function(t){t.stopImmediatePropagation(),t.preventDefault();var a=e(this).attr("href");"#ut-to-first-section"===a?b.scroll_to(e(".wrap"),-site_settings.brooklyn_header_scroll_offset):b.scroll_to(a,-site_settings.brooklyn_header_scroll_offset)}),e(".ut-fancy-image-wrap a[href^=\"#\"]").click(function(t){t.stopImmediatePropagation(),t.preventDefault();var a=e(this).attr("href");"#ut-to-first-section"===a?b.scroll_to(e(".wrap"),-site_settings.brooklyn_header_scroll_offset):b.scroll_to(e(this).attr("href"),-site_settings.brooklyn_header_scroll_offset)}),e(document).on("click",".ut-scroll-to-section, .ut-scroll-to-section a",function(t){var a=e(this).attr("href");if(void 0!==a){var o="#"+a.substring(a.indexOf("#")+1);b.scroll_to(o,-site_settings.brooklyn_header_scroll_offset),e(".ut-horizontal-navigation a[href*=\""+o+"\"]").length&&b.update_navigation(o),e("#bklyn-sidenav a[href*=\""+o+"\"]").length&&b.update_navigation(o),t.preventDefault()}}),e(window).on("load",function(){window.location.hash&&setTimeout(function(){"default"===site_settings.navigation?b.scroll_to(window.location.hash,-site_settings.brooklyn_header_scroll_offset):"side"===site_settings.navigation&&b.scroll_to(window.location.hash,0)},400)}),e(".ut-horizontal-navigation a:not(.ut-header-search-trigger)").click(function(t){this.hash&&!e(this).hasClass("external")&&e(this.hash).length?(b.clean_navigation(),e(this).addClass("selected"),b.scroll_to(this.hash,-site_settings.brooklyn_header_scroll_offset),t.stopImmediatePropagation(),t.preventDefault()):this.hash&&e(this.hash).length&&e(this).parent().hasClass("contact-us")&&(b.scroll_to(this.hash,0),t.stopImmediatePropagation(),t.preventDefault()),"#"===e(this).attr("href")&&(t.stopImmediatePropagation(),t.preventDefault())}),e(".footer ul.menu a").click(function(t){this.hash&&e(this.hash).length&&(b.scroll_to(this.hash,-site_settings.brooklyn_header_scroll_offset),t.stopImmediatePropagation(),t.preventDefault())});var l=l();e("#ut-mobile-menu a").click(function(t){if(this.hash&&!e(this).hasClass("external")&&e(this.hash).length){if(!l)b.scroll_to(this.hash,-site_settings.brooklyn_header_scroll_offset);else{var a=this.hash;e("html, body").animate({scrollTop:e(a).offset().top},ut_scrollspeed)}t.stopImmediatePropagation(),t.preventDefault()}e(".ut-mm-trigger").trigger("click"),"#"===e(this).attr("href")&&(t.stopImmediatePropagation(),t.preventDefault())}),e("#bklyn-sidenav").length&&(e("#bklyn-sidenav").utvmenu({speed:800,autostart:!1,autohide:!0}),e("#bklyn-sidenav a").click(function(t){this.hash&&!e(this).hasClass("external")&&e(this.hash).length?(b.scroll_to(this.hash,0),t.stopImmediatePropagation(),t.preventDefault()):this.hash&&e(this).parent().hasClass("contact-us")&&(b.scroll_to(this.hash,0),t.stopImmediatePropagation(),t.preventDefault()),"#"===e(this).attr("href")&&(t.stopImmediatePropagation(),t.preventDefault())}));var y=!1;e(window).on("load",function(){y=!0}),e(".ut-vc-offset-anchor-top").each(function(){e(this).waypoint(function(t){if(y){var a=e(this).data("id");"down"===t&&e("#navigation a[href*=\"#"+a+"\"]").length?b.update_navigation(a):"down"==t&&!e("#navigation a[href*=\"#"+a+"\"]").length&&b.update_home()}},{offset:site_settings.brooklyn_header_scroll_offset+"px"})}),e(".ut-vc-offset-anchor-bottom").each(function(){e(this).waypoint(function(t){if(y){var a=e(this).data("id");"up"===t&&e(".ut-horizontal-navigation a[href*=\"#"+a+"\"]").length?b.update_navigation(a):"up"==t&&"section-without-id"===a&&b.update_home()}},{offset:site_settings.brooklyn_header_scroll_offset+20+"px"})}),e(".ut-offset-anchor").each(function(){e(this).waypoint(function(t){if("down"===t&&"to-main-content"!==e(this).attr("id")){var a=e(this).attr("id");e(this).data("parent")&&(a=e(this).data("parent")),"default"===site_settings.navigation?"section-contact"==a?(e(".ut-horizontal-navigation a").removeClass("selected"),e(".ut-horizontal-navigation li.contact-us a").addClass("selected")):b.update_navigation(a):"side"===site_settings.navigation&&(e("#bklyn-sidenav a").removeClass("selected"),e("#bklyn-sidenav a[href*=\"#"+a+"\"]").addClass("selected"))}"up"===t&&"to-main-content"===e(this).attr("id")&&("default"===site_settings.navigation?(e(".ut-horizontal-navigation a").removeClass("selected"),e(".ut-home-link > a").addClass("selected")):"side"===site_settings.navigation&&(e("#bklyn-sidenav a").removeClass("selected"),e(".ut-home-link > a").addClass("selected")))},{offset:site_settings.brooklyn_header_scroll_offset+"px"})}),e(".ut-scroll-up-waypoint").each(function(){e(this).waypoint(function(t){if("up"===t){var a=e(this).data("section");e(this).data("parent")&&(a=e(this).data("parent")),b.update_navigation(a)}},{offset:site_settings.brooklyn_header_scroll_offset+10+"px"})}),e(".vc_section:not(.ut-section-with-linking)").each(function(){var t=e(this);t.waypoint(function(t){var a=e(this).attr("id");"down"===t&&e(".ut-horizontal-navigation a[href*=\"#"+a+"\"]").length?b.update_navigation(a):"down"==t&&!e(".ut-horizontal-navigation a[href*=\"#"+a+"\"]").length&&e(".ut-home-link > a").length&&b.update_home()},{offset:site_settings.brooklyn_header_scroll_offset+1+"px"})}),e(document).on("click",".bklyn-btn[href^=\"#\"], .ut-btn[href^=\"#\"], .cta-btn a[href^=\"#\"], .ut-service-column-vert
1ical-link[href^=\"#\"], .ut-custom-link-module[href^=\"#\"]",function(t){this.hash&&e(this.hash).length?(t.stopImmediatePropagation(),t.preventDefault(),e(this).parent().hasClass("ut-btn-no-scroll-offset")?b.scroll_to(e(this).attr("href"),0):b.scroll_to(e(this).attr("href"),-site_settings.brooklyn_header_scroll_offset)):(""===this.hash||"#"===e(this).attr("href"))&&t.preventDefault()});if(e(".ut-btn-disintegrate").ut_require_js({plugin:"Particles",source:"buttonParticles",callback:function(t){t.each(function(t,a){var o=e(a),l=o.data("particle-effect"),r=o.data("particle-color"),i=o.data("particle-direction"),n=site_settings.button_particle_effects[l];n.color=r,n.direction=i,n.complete=function(){var t=o.attr("href").replace(/^.*?(#|$)/,"");t&&e("#"+t).length||"ut-to-first-section"===t?"ut-to-first-section"===t?b.scroll_to(e(".wrap"),-site_settings.brooklyn_header_scroll_offset):b.scroll_to("#"+t,-site_settings.brooklyn_header_scroll_offset):o.hasClass("ut-lightbox")||"#"!==o.attr("href")&&(t=o.attr("target").length?o.attr("target"):"_self",s(o.attr("href"),t)),o.hasClass("ut-btn-integrate")?o.delay(3e3).queue(function(){e(this).data("particle-effect-storage").integrate({complete:function(){o.removeClass("ut-particles-deactivate-transition"),setTimeout(function(){o.parent().removeClass("ut-particles-deactivate-shadow")},400)}}),e(this).dequeue()}):(o.removeClass("ut-particles-deactivate-transition"),o.parent().removeClass("ut-particles-deactivate-shadow"))},o.data("particle-effect-storage",new Particles(o[0],n))}),e(t).click(function(t){e(this).parent().addClass("ut-particles-deactivate-shadow"),e(this).addClass("ut-particles-deactivate-transition"),e(this).data("particle-effect-storage").disintegrate(),t.preventDefault()})}}),e("iframe").each(function(){var t=e(this).attr("src");if(void 0!==t){var a=t.search("youtube"),o=t.split("?");0<a&&o[1]&&e(this).attr("src",t+"&wmode=transparent"),0<a&&!o[1]&&e(this).attr("src",t+"?wmode=transparent")}}),"undefined"!==site_settings&&"lightgallery"===site_settings.lg_type&&(e(".ut-vc-images-lightbox:not(.ut-vc-images-lightbox-group-image)").length&&e(".entry-content").ut_require_js({plugin:"lightGallery",source:"lightGallery",callback:function(e){e.lightGallery({mode:site_settings.lg_mode,selector:".ut-vc-images-lightbox:not(.ut-vc-images-lightbox-group-image)",exThumbImage:"data-exthumbimage",download:site_settings.lg_download,hash:!1})}}),e(document).ajaxComplete(function(){e(".vc_media_grid").ut_require_js({plugin:"lightGallery",source:"lightGallery",callback:function(e){e.lightGallery({mode:site_settings.lg_mode,selector:".ut-vc-ajax-images-lightbox",exThumbImage:"data-exthumbimage",download:site_settings.lg_download,hash:!1})}})})),e(".woocommerce-product-gallery__wrapper a").ut_require_js({plugin:"lightGallery",source:"lightGallery",callback:function(e){e.lightGallery({mode:site_settings.lg_mode,selector:"this",iframeMaxWidth:"80%",download:site_settings.lg_download,hash:!1})}}),e(".ut-lightbox").ut_require_js({plugin:"lightGallery",source:"lightGallery",callback:function(e){e.lightGallery({mode:site_settings.lg_mode,selector:"this",iframeMaxWidth:"80%",download:site_settings.lg_download,hash:!1})}}),e(".ut-show-member-details").click(function(t){t.preventDefault(),e(".ut-overlay").addClass("ut-overlay-show"),e("#member_"+e(this).data("member")).addClass("ut-box-show").animate({top:"15%",opacity:1},1e3,"easeInOutExpo",function(){var t=e(this).offset().top,a=e(this).data("id");e(this).clone().attr("id",a).css({position:"absolute",top:t,"padding-top":0}).appendTo("body").addClass("member-clone"),e(this).removeClass("ut-box-show").css({top:"30%",opacity:"0"})})}),e(document).on("click",".ut-hide-member-details, body",function(t){e(t.target).is(".member-social, .member-social *, .ut-btn, .member-box a")||(e(".ut-modal-box.member-clone").length&&t.preventDefault(),e(".ut-modal-box.member-clone").animate({top:"0%",opacity:0}
1,600,"easeInOutExpo",function(){e(this).remove(),e(".ut-overlay").removeClass("ut-overlay-show")}))}),e(document).on("click",".ut-overlay",function(t){t.preventDefault(),e(".ut-modal-box.member-clone").animate({top:"0%",opacity:0},600,"easeInOutExpo",function(){e(this).remove(),e(".ut-overlay").removeClass("ut-overlay-show")})}),!e("html").hasClass("no-touchevents")){var C;e(document).on("touchend",".member-photo",function(){var t=e(this);!0!==C&&t.hasClass("ut-touch-event")&&t.toggleClass("cs-hover")}).on("touchmove",function(){C=!0}).on("touchstart",function(){C=!1})}e(".nivoSlider").hover(function(){var t=e(this);t.find(".nivo-directionNav .nivo-prevNav").html(""),t.find(".nivo-directionNav .nivo-nextNav").html("")});var k=e("#ut-overlay-menu"),w=e("#ut-overlay-nav li a"),x=e("#ut-open-overlay-menu");if(e(document).on("click","#ut-open-overlay-menu",function(t){var a=e("#ut-open-overlay-menu").offset(),o=e("#header-section .site-logo").offset(),l=e("#ut-overlay-menu").offset();e(this).hasClass("is-active")?(window.requestAnimationFrame(n),x.prependTo("#ut-hamburger-wrap-overlay"),e("#ut-open-overlay-menu").removeAttr("style"),e("#ut-overlay-menu .site-logo").length&&e("#header-section .site-logo").fadeIn(),x.dequeue().delay(100).queue(function(){x.removeClass("is-active")})):(window.requestAnimationFrame(i),e("#ut-open-overlay-menu").css({top:a.top-l.top,left:a.left}),e("#ut-overlay-menu .site-logo").length&&("undefined"==typeof o&&(o={top:40,left:40}),e("#ut-overlay-menu .site-logo").css({top:o.top-l.top,left:o.left}),e("#header-section .site-logo").fadeOut()),x.prependTo("#ut-overlay-menu"),x.dequeue().delay(100).queue(function(){x.addClass("is-active")})),t.preventDefault()}),e(document).on("touchmove","#ut-overlay-menu",function(e){"click"!==e.type&&(e.stopImmediatePropagation(),e.preventDefault())}),document.addEventListener("keyup",function(e){27===e.keyCode&&x.hasClass("is-active")&&x.trigger("click")}),e("#ut-overlay-menu a").click(function(t){this.hash&&!e(this).hasClass("external")&&e(this.hash).length?(b.scroll_to(this.hash,-site_settings.brooklyn_header_scroll_offset),x.hasClass("is-active")&&x.trigger("click"),t.stopImmediatePropagation(),t.preventDefault()):this.hash&&e(this.hash).length&&e(this).parent().hasClass("contact-us")&&(b.scroll_to(this.hash,0),x.hasClass("is-active")&&x.trigger("click"),t.stopImmediatePropagation(),t.preventDefault()),"#"===e(this).attr("href")&&(t.stopImmediatePropagation(),t.preventDefault())}),e(".ut-header-search-trigger, .ut-top-header-search-trigger","#header-section").click(function(t){e("#ut-header-search-close","#ut-header-search").addClass("is-active"),e("#ut-header-search").addClass("ut-show-header-search"),e("#ut-header-searchform input").focus(),t.preventDefault()}),e("#ut-header-search-close","#ut-header-search").click(function(t){e(this).removeClass("is-active"),e("#ut-header-search").removeClass("ut-show-header-search"),t.preventDefault()}),document.addEventListener("keyup",function(t){27===t.keyCode&&e("#ut-header-search").hasClass("ut-show-header-search")&&e("#ut-header-search").removeClass("ut-show-header-search")}),1<window.devicePixelRatio||/chrom(e|ium)/.test(navigator.userAgent.toLowerCase())){e.fn.redraw=function(){return this.stop(!0,!0).hide(0,function(){e(this).show()})},e("#main-content section").each(function(){"fixed"===e(this).css("background-attachment")&&e(this).addClass("ut-has-fixed-background")});var I=e(document);I.scroll(function(){I.find(".ut-has-fixed-background").redraw()})}var D=function(){return window.open("http://twitter.com/intent/tweet?url="+encodeURIComponent(location.href),"Twitter","width=650,height=350"),!1},z=function(){return window.open("https://www.facebook.com/sharer/sharer.php?u="+encodeURIComponent(location.href),"facebook","width=650,height=350"),!1},q=function(){return window.open("https://plus.google.com/share?url="+encodeURIComponent(location.href),"googleWindow","width=500,height=500"),!1},P=function(){return window.open("http://www.linkedin.com/shareArticle?mini=true&url="+encodeURIComponent(location.href)+"$title="+e(".page-title").text(),"linkedinWindow","width=6
150,height=450, resizable=1"),!1},A=function(){return window.open("http://pinterest.com/pin/create/bookmarklet/?media="+e(".entry-content img").first().attr("src")+"&description="+jQuery(".page-title").text()+" "+encodeURIComponent(location.href),"pinterestWindow","width=750,height=430, resizable=1"),!1},T=function(){return window.open("https://www.xing-share.com/app/user?op=share;sc_p=xing-share;url="+encodeURIComponent(location.href),"deliciousWindow","width=550,height=550, resizable=1"),!1};e(document).on("click",".ut-share-link",function(t){var a=e(this).data("social");"utsharetwitter"===a?D():"utsharefacebook"===a?z():"utsharegoogle"===a?q():"utsharelinkedin"===a?P():"utsharepinterest"===a?A():"utsharexing"===a?T():void 0,t.preventDefault()}),e(document).on("click",".ut-remove-header-cart-item",function(t){var a=e(this);a.parent().slideUp(function(){e.ajax({type:"POST",url:utShortcode.ajaxurl,data:{action:"remove_item_from_cart",cart_item_key:a.data("cart-item-key")+""},success:function(e){a.parent().remove(),d(e),u(),c()}})}),t.preventDefault()}),e(window).on("load",function(){c(),h()}),e(document.body).on("added_to_cart",function(){u(),c()}),e(".ut-header-mini-cart-content").mouseenter(function(){site_settings.scrollDisabled=!0,r.disableScroll()}).mouseleave(function(){site_settings.scrollDisabled=!1,r.enableScroll()}),e(document).on("click",".quantity .decrease",function(t){var a=e(this),o=a.siblings(".qty").val(),l=parseFloat(o)-1;1<=l&&a.siblings(".qty").val(l).trigger("change"),t.preventDefault()}),e(document).on("click",".quantity .increase",function(t){var a=e(this),o=a.siblings(".qty").val(),l=parseFloat(o)+1;a.siblings(".qty").val(l).trigger("change"),t.preventDefault()});var O=!1;e("#ut-custom-hero").find(".rev_slider_wrapper").hasClass("fullscreen-container")&&(O=e("#ut-custom-hero").find(".rev_slider_wrapper"),O.one("revolution.slide.onloaded",function(){p()})),e(window).utresize(function(){O&&p()}),e(".ut-portfolio-info-details a").on("click",function(t){"#"===e(this).attr("href")&&t.preventDefault()}),e("#ut-custom-contact-section").appear(),e(document.body).on("appear","#ut-custom-contact-section",function(){}),e(document.body).on("disappear","#ut-custom-contact-section",function(){}),e("#ut-hover-cursor").ut_require_js({plugin:"UT_Animated_Cursor",source:"customcursor",ieblock:!0,callback:function(){new window.UT_Animated_Cursor(document.getElementById("ut-hover-cursor"))}})}),window.UT_Adaptive_Images={image_observer:"",get_responsive_image:function(t,a){var o=e(t).data("adaptive-images"),l=!1;if("undefined"!=typeof o){var s=a?e(t).parent().width():e(t).outerWidth();for(var r in o)if(s<r)return l=!0,o[r]}return!1},load_responsive_background_image:function(e){var t=UT_Adaptive_Images.get_responsive_image(e,!1);t?e.style.backgroundImage="url('"+t+"')":e.getAttribute("data-src")&&(e.style.backgroundImage="url('"+e.getAttribute("data-src")+"')")},load_responsive_image:function(t){var a=UT_Adaptive_Images.get_responsive_image(t,!0);return!e(t).hasClass("ut-lazy-wait")&&void(a?t.src=a:t.getAttribute("data-src")&&(t.src=t.getAttribute("data-src")))},init_observer:function(t){this.image_observer=lozad(t,{rootMargin:"100%",load:function(e){UT_Adaptive_Images.load_responsive_image(e)},loaded:function(t){var a=e(t);a.addClass("ut-image-loaded loaded"),a.hasClass("ut-portfolio-featured-image")&&a.closest(".ut-portfolio-item").addClass("ut-portfolio-featured-image-loaded"),a.closest(".ut-image-gallery-image").length&&(a.closest(".ut-image-gallery-item").addClass("ut-image-loaded"),a.siblings(".ut-box-shadow-lazy").addClass("ut-box-shadow-ready")),a.delay(200).queue(function(){e.force_appear()}),a.hasClass("ut-lazy-wait")&&(a.data("loaded",!1),a.attr("data-loaded","false"),UT_Adaptive_Images.image_observer.observe(t))}}),this.image_observer.observe()},init_images:function(){var e=document.querySelectorAll(".ut-adaptive-image");UT_Adaptive_Images.init_observer(e)}},UT_Adaptive_Images.init_images();var v;e(window).on("resize orientationchange",function(){clearTimeout(v),v=setTimeout(function(){e(".ut-adaptive-image").each(function(t,a){e(a).is(":visible")&&e(a).parent().is(":visible")&&0<e(a).parent().width()+e(a).parent().height()&&UT_Adaptive_Images.load_responsive_image(a)})},250)}),e(".ut-selfvideo-player","#ut-hero").length&&(e(".ut-selfvideo-player","#ut-hero").each(function(){var t=this,a=e(this).attr("volume")/100;t.volume=a,e(".ut-video-control","#ut-hero").not(".youtube").click(function(a){e(this).hasClass("ut-unmute")?(t.muted=!1,e(this).removeClass("ut-unmute").addClass("ut-mute")):(t.muted=!0,e(this).removeClass("ut-mute").addClass("ut-unmute")),e(this).addClass("ut-player-assigned"),a.preventDefault()})}),e(".ut-video-control").not(".youtube").not(".ut-player-assigned").click(function(t){var a=e(this).data("for"),o=e("#"+a)[0];e(this).hasClass("ut-unmute")?(o.muted=!1,e(this).removeClass("ut-unmute").addClass("ut-mute")):(o.muted=!0,e(this).removeClass("ut-mute").addClass("ut-unmute")),t.preventDefault()}))}(jQuery);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.