/*! ET et_shortcodes_frontend.js */
!function($){$.fn.et_shortcodes_switcher=function(options){var defaults={slides:">div",activeClass:"active",linksNav:"",findParent:!0,lengthElement:"li",useArrows:!1,arrowLeft:"a#prev-arrow",arrowRight:"a#next-arrow",auto:!1,autoSpeed:5e3,slidePadding:"",pauseOnHover:!0,fx:"fade",sliderType:""},options=$.extend(defaults,options);return this.each(function(){function changeTab(){""!=linkSwitcherTab&&(linkSwitcherTab.siblings().removeClass("active"),linkSwitcherTab.filter(":eq("+(currentPosition-1)+")").addClass("active"))}function gotoSlide(slideNumber,dir){if(!$slide.filter(":animated").length&&($activeSlide=$slide.parent().find(".et_slidecontent").filter(":eq("+(currentPosition-1)+")"),currentPosition!==slideNumber))return $activeSlide.removeClass("et_shortcode_slide_active"),$nextSlide=$slide.parent().find(".et_slidecontent").filter(":eq("+(slideNumber-1)+")").addClass("et_shortcode_slide_active"),(currentPosition>slideNumber||1===currentPosition)&&-1===dir?("slide"===options.fx&&slideBack(500),"fade"===options.fx&&slideFade(500)):("slide"===options.fx&&slideForward(500),"fade"===options.fx&&slideFade(500)),currentPosition=$nextSlide.prevAll(".et_slidecontent").length+1,""!=options.linksNav&&changeTab(),"images"!==options.sliderType&&"simple"!==options.sliderType||($et_shortcodes_mobile_controls.find("li").removeClass("et_shortcodes_active_control"),$et_shortcodes_mobile_controls.find("li").eq(currentPosition-1).addClass("et_shortcodes_active_control")),!1}function slideFade(speed){$activeSlide.css({display:"none",opacity:"0"}),$nextSlide.css({opacity:"0",display:"block"}).animate({opacity:1},700)}function slideForward(speed){var next_slide_order=$nextSlide.prevAll(".et_slidecontent").length+1,go_to_first_slide=!1;$activeSlide.next(".et_slidecontent_cloned").length&&(next_slide_order=$activeSlide.prevAll().length+1,go_to_first_slide=!0),$slides_wrapper_box.animate({left:-$slides_wrapper.width()*next_slide_order},500,function(){go_to_first_slide&&$slides_wrapper_box.css("left",-$slides_wrapper.width())})}function slideBack(speed){var next_slide_order=$nextSlide.prevAll(".et_slidecontent").length+1,go_to_last_slide=!1;$activeSlide.prev(".et_slidecontent_cloned").length&&(next_slide_order=0,go_to_last_slide=!0),$slides_wrapper_box.animate({left:-$slides_wrapper.width()*next_slide_order},500,function(){go_to_last_slide&&$slides_wrapper_box.css("left",-$slides_wrapper.width()*slidesNum)})}function et_shortcodes_go_to_next_slide(){currentPosition===slidesNum?gotoSlide(1,1):gotoSlide(currentPosition+1),""!=options.linksNav&&changeTab()}function et_shortcodes_go_to_previous_slide(){1===currentPosition?gotoSlide(slidesNum,-1):gotoSlide(currentPosition-1,-1),""!=options.linksNav&&changeTab()}var $activeSlide,$nextSlide,$et_shortcodes_mobile_nav,$et_shortcodes_mobile_controls,slidesContainer=jQuery(this).parent().css("position","relative"),$slides=jQuery(this).css({overflow:"hidden",position:"relative"}),$slides_wrapper_box=slidesContainer.find(".et-tabs-content-wrapper"),$slides_wrapper=$slides_wrapper_box.parent(),$slide=$slides.find(".et-tabs-content-wrapper"+options.slides),slidesNum=$slide.length,currentPosition=1,slides_wrapper_width=$slides_wrapper.width();if("slide"===options.fx&&($slides_wrapper_box.width(200*(slidesNum+2)+"%"),$slide.css({width:slides_wrapper_width,visibility:"visible"}),$slides_wrapper_box.append($slide.filter(":first").clone().removeClass().addClass("et_slidecontent_cloned")),$slides_wrapper_box.prepend($slide.filter(":last").clone().removeClass().addClass("et_slidecontent_cloned")),$slides_wrapper_box.css("left",-slides_wrapper_width)),$slide.filter(":first").css({display:"block"}).addClass("et_shortcode_slide_active"),""!=options.slidePadding&&$slide.css("padding",options.slidePadding),""!=options.linksNav){var linkSwitcher=jQuery(options.linksNav),linkSwitcherTab="";(linkSwitcherTab=options.findParent?linkSwitcher.parent():linkSwitcher).filter(".active").length||linkSwitcherTab.filter(":first").addClass("active"),linkSwitcher.click(function(){var targetElement,orderNum;return targetElement=options.findParent?jQuery(this).parent():jQuery(this),(orderNum=targetElement.prevAll(options.lengthElement).length+1)>currentPosition?gotoSlide(orderNum,1):gotoSlide(orderNum,-1),!1})}if(options.useArrows){var $right_arrow=jQuery(options.arrowRight),$left_arrow=jQuery(options.arrowLeft);$right_arrow.click(function(){return et_shortcodes_go_to_next_slide(),!1}),$left_arrow.click(function(){return et_shortcodes_go_to_previous_slide(),!1})}if(options.auto){interval_shortcodes=setInterval(function(){pauseSlider||(currentPosition===slidesNum?gotoSlide(1,1):gotoSlide(currentPosition+1,1),""!=options.linksNav&&changeTab())},options.autoSpeed);var pauseSlider=!1}options.pauseOnHover&&slidesContainer.hover(function(){pauseSlider=!0},function(){pauseSlider=!1}),"slide"===options.fx&&$(window).resize(function(){$slides_wrapper_box.find(">div").css({width:$slides_wrapper.width()}),$slides_wrapper_box.css("left",-$slides_wrapper.width()*currentPosition)}),function(){var et_shortcodes_slides_num=slidesContainer.find(".et_slidecontent").length,et_shortcodes_controllers_html="";if(et_shortcodes_slides_num>1&&("images"===options.sliderType||"simple"===options.sliderType)){slidesContainer.append('
"),$et_shortcodes_mobile_controls=slidesContainer.find(".et_shortcodes_controls");for(var i=0;i';$et_shortcodes_mobile_controls.prepend(et_shortcodes_controllers_html),$et_shortcodes_mobile_controls.find("li:first").addClass("et_shortcodes_active_control"),$et_shortcodes_mobile_controls.find("a").click(function(){var this_order=$(this).parent("li").prevAll().length+1;return this_order!=currentPosition&&(this_order>currentPosition?gotoSlide(this_order,1):gotoSlide(this_order,-1),!1)}),($et_shortcodes_mobile_nav=slidesContainer.find(".et_shortcodes_controls_arrows")).find("a").click(function(){var et_active_slide_order,$this_link=jQuery(this);return $this_link.hasClass("et_sc_nav_next")&&et_shortcodes_go_to_next_slide(),$this_link.hasClass("et_sc_nav_prev")&&et_shortcodes_go_to_previous_slide(),$et_shortcodes_mobile_controls.find("li").removeClass("et_shortcodes_active_control"),et_active_slide_order=currentPosition-1,$et_shortcodes_mobile_controls.find("li").eq(et_active_slide_order).addClass("et_shortcodes_active_control"),!1})}else"images"!==options.sliderType&&"simple"!==options.sliderType&&(slidesContainer.prepend('"),($et_shortcodes_mobile_nav=slidesContainer.find(".et_shortcodes_mobile_nav")).find("a").click(function(){var $this_link=jQuery(this);return $this_link.hasClass("et_sc_nav_next")&&et_shortcodes_go_to_next_slide(),$this_link.hasClass("et_sc_nav_prev")&&et_shortcodes_go_to_previous_slide(),!1}))}()})},window.et_shortcodes_init=function($container){var $processed_container=void 0!==$container?$container:$("body"),$et_pricing_table_button=$processed_container.find(".pricing-table a.icon-button");$et_tooltip=$processed_container.find(".et-tooltip"),$et_tooltip.on("mouseover mouseout",function(event){"mouseover"==event.type?$(this).find(".et-tooltip-box").stop(!0,!0).animate({opacity:"show",bottom:"25px"},300):$(this).find(".et-tooltip-box").delay(200).animate({opacity:"hide",bottom:"35px"},300)}),$et_learn_more=$processed_container.find(".et-learn-more .heading-more"),$et_learn_more.on("click",function(){$(this).hasClass("open")?$(this).removeClass("open"):$(this).addClass("open"),$(this).parent(".et-learn-more").find(".learn-more-content").animate({opacity:"toggle",height:"toggle"},300)}),$processed_container.find(".et-learn-more").not(".et-open").find(".learn-more-content").css({visibility:"visible",display:"none"}),$et_pricing_table_button.each(function(){var $this_button=$(this),this_button_width=$this_button.width(),this_button_innerwidth=$this_button.innerWidth();$this_button.css({width:this_button_width,marginLeft:"-"+this_button_innerwidth/2+"px",visibility:"visible"})}),$processed_container.find(".et-tabs-container, .tabs-left, .et-simple-slider, .et-image-slider").each(function(i){var et_shortcodes_tab_class=$(this).attr("class"),et_shortcodes_tab_autospeed=/et_sliderauto_speed_(\d+)/g.exec(et_shortcodes_tab_class),et_shortcodes_tab_auto=/et_sliderauto_(\w+)/g.exec(et_shortcodes_tab_class),et_shortcodes_tab_type=/et_slidertype_(\w+)/g.exec(et_shortcodes_tab_class),et_shortcodes_tab_fx=/et_sliderfx_(\w+)/g.exec(et_shortcodes_tab_class),et_shortcodes_tab_apply_to_element=".et-tabs-content",et_shortcodes_tab_settings={};et_shortcodes_tab_settings.linksNav=$(this).find(".et-tabs-control li a"),et_shortcodes_tab_settings.findParent=!0,et_shortcodes_tab_settings.fx=et_shortcodes_tab_fx[1],et_shortcodes_tab_settings.auto="false"!==et_shortcodes_tab_auto[1],et_shortcodes_tab_settings.autoSpeed=et_shortcodes_tab_autospeed[1],"simple"===et_shortcodes_tab_type[1]?((et_shortcodes_tab_settings={}).fx=et_shortcodes_tab_fx[1],et_shortcodes_tab_settings.auto="false"!==et_shortcodes_tab_auto[1],et_shortcodes_tab_settings.autoSpeed=et_shortcodes_tab_autospeed[1],et_shortcodes_tab_settings.sliderType="simple",et_shortcodes_tab_apply_to_element=".et-simple-slides"):"images"===et_shortcodes_tab_type[1]&&(et_shortcodes_tab_settings.sliderType="images",et_shortcodes_tab_settings.linksNav="#"+$(this).attr("id")+" .controllers a.switch",et_shortcodes_tab_settings.findParent=!1,et_shortcodes_tab_settings.lengthElement="#"+$(this).attr("id")+" a.switch",et_shortcodes_tab_apply_to_element=".et-image-slides"),$(this).find(et_shortcodes_tab_apply_to_element).et_shortcodes_switcher(et_shortcodes_tab_settings)})}}(jQuery),jQuery(document).ready(function($){window.et_shortcodes_init()});
/*! ET frontend-builder-scripts.js */
!function($){var $et_window=$(window);window.et_load_event_fired=!1,window.et_is_transparent_nav=$("body").hasClass("et_transparent_nav"),window.et_is_vertical_nav=$("body").hasClass("et_vertical_nav"),window.et_is_fixed_nav=$("body").hasClass("et_fixed_nav"),window.et_is_minified_js=$("body").hasClass("et_minified_js"),window.et_is_minified_css=$("body").hasClass("et_minified_css"),jQuery.fn.reverse=[].reverse,jQuery.fn.closest_descendent=function(selector){for(var $found,$current_children=this.children();$current_children.length&&!($found=$current_children.filter(selector)).length;)$current_children=$current_children.children();return $found},window.et_pb_init_modules=function(){function process_et_hashchange(hash){if(-1!==hash.indexOf(et_hash_module_seperator,0)){modules=hash.split(et_hash_module_seperator);for(var i=0;i1&&!$et_slider.hasClass("et_slider_hovered")&&(et_slider_timer=setTimeout(function(){$et_slider.et_slider_move_to("next")},settings.slideshow_speed))}function et_stop_video(active_slide){var $et_video,et_video_src;active_slide.has("iframe").length?(et_video_src=($et_video=active_slide.find("iframe")).attr("src"),$et_video.attr("src",""),$et_video.attr("src",et_video_src)):active_slide.has("video").length&&(active_slide.find(".et_pb_section_video_bg").length||($et_video=active_slide.find("video"))[0].pause())}function et_fix_slider_content_images(){var $this_slider=$et_slider,$slide_image_container=$this_slider.find(".et-pb-active-slide .et_pb_slide_image"),$slide_video_container=$this_slider.find(".et-pb-active-slide .et_pb_slide_video"),$slide=$slide_image_container.closest(".et_pb_slide"),$slider=$slide.closest(".et_pb_slider"),slide_height=parseFloat($slider.innerHeight()),image_height=parseFloat(.8*slide_height),slide_image_container_height=parseFloat($slide_image_container.height()),slide_video_container_height=parseFloat($slide_video_container.height());isNaN(image_height)||($slide_image_container.find("img").css("maxHeight",image_height+"px"),slide_image_container_height=parseInt($slide_image_container.height())),!isNaN(slide_image_container_height)&&$slide.hasClass("et_pb_media_alignment_center")&&$slide_image_container.css("marginTop","-"+slide_image_container_height/2+"px"),isNaN(slide_video_container_height)||$slide_video_container.css("marginTop","-"+slide_video_container_height/2+"px")}function et_get_bg_layout_color($slide){return $slide.hasClass("et_pb_bg_layout_light")?"et_pb_bg_layout_light":"et_pb_bg_layout_dark"}function et_maybe_set_controls_color($slide){var next_slide_dot_color,$arrows,arrows_color;void 0!==$et_slider_controls&&$et_slider_controls.length&&(""!==(next_slide_dot_color=$slide.attr("data-dots_color")||"")?($et_slider_controls.attr("style","background-color: "+hex_to_rgba(next_slide_dot_color,"0.3")+";"),$et_slider_controls.filter(".et-pb-active-control").attr("style","background-color: "+hex_to_rgba(next_slide_dot_color)+"!important;")):$et_slider_controls.removeAttr("style")),void 0!==$et_slider_arrows&&$et_slider_arrows.length&&($arrows=$et_slider_arrows.find("a"),""!==(arrows_color=$slide.attr("data-arrows_color")||"")?$arrows.attr("style","color: "+arrows_color+"!important;"):$arrows.css("color","inherit"))}function et_fix_builder_content(){is_post_slider&&setTimeout(function(){var $et_pb_circle_counter=$(".et_pb_circle_counter"),$et_pb_number_counter=$(".et_pb_number_counter");window.et_fix_testimonial_inner_width(),$et_pb_circle_counter.length&&window.et_pb_reinit_circle_counters($et_pb_circle_counter),$et_pb_number_counter.length&&window.et_pb_reinit_number_counters($et_pb_number_counter),window.et_reinit_waypoint_modules()},1e3)}function hex_to_rgba(color,alpha){var rgba,color_16=parseInt(color.replace("#",""),16);return rgba=(color_16>>16&255)+","+(color_16>>8&255)+","+(255&color_16)+","+(alpha=alpha||1),rgba="rgba("+rgba+")"}var $et_slider_arrows,$et_slider_controls,$et_slider_carousel_controls,et_slider_timer,settings=$.extend({slide:".et-slide",arrows:".et-pb-slider-arrows",prev_arrow:".et-pb-arrow-prev",next_arrow:".et-pb-arrow-next",controls:".et-pb-controllers a",carousel_controls:".et_pb_carousel_item",control_active_class:"et-pb-active-control",previous_text:et_pb_custom.previous,next_text:et_pb_custom.next,fade_speed:500,use_arrows:!0,use_controls:!0,manual_arrows:"",append_controls_to:"",controls_below:!1,controls_class:"et-pb-controllers",slideshow:!1,slideshow_speed:7e3,show_progress_bar:!1,tabs_animation:!1,use_carousel:!1},options),$et_slider=$(el),$et_slide=$et_slider.closest_descendent(settings.slide),et_slides_number=$et_slide.length,et_fade_speed=settings.fade_speed,et_active_slide=0,controls_html="",carousel_html="",is_post_slider=($et_slider.find(".et_pb_container").width(),$et_slider.hasClass("et_pb_post_slider"));if($et_slider.et_animation_running=!1,$.data(el,"et_pb_simple_slider",$et_slider),$et_slide.eq(0).addClass("et-pb-active-slide"),settings.tabs_animation||$et_slider.hasClass("et_pb_bg_layout_dark")||$et_slider.hasClass("et_pb_bg_layout_light")||$et_slider.addClass(et_get_bg_layout_color($et_slide.eq(0))),settings.use_arrows&&et_slides_number>1&&(""==settings.manual_arrows?$et_slider.append('"):$et_slider.append(settings.manual_arrows),$et_slider_arrows=$et_slider.find(settings.arrows),$et_slider.find(settings.prev_arrow),$et_slider.find(settings.next_arrow),$et_slider.on("click.et_pb_simple_slider",settings.next_arrow,function(){return!$et_slider.et_animation_running&&($et_slider.et_slider_move_to("next"),!1)}),$et_slider.on("click.et_pb_simple_slider",settings.prev_arrow,function(){return!$et_slider.et_animation_running&&($et_slider.et_slider_move_to("previous"),!1)}),$et_slider.on("swipeleft.et_pb_simple_slider",settings.slide,function(event){$(event.target).closest(".et-fb-popover-tinymce").length||$(event.target).closest(".et-fb-editable-element").length||$et_slider.et_slider_move_to("next")}),$et_slider.on("swiperight.et_pb_simple_slider",settings.slide,function(event){$(event.target).closest(".et-fb-popover-tinymce").length||$(event.target).closest(".et-fb-editable-element").length||$et_slider.et_slider_move_to("previous")})),settings.use_controls&&et_slides_number>1){for(i=1;i<=et_slides_number;i++)controls_html+='"+i+"";$et_slider.find("video").length>0&&(settings.controls_class+=" et-pb-controllers-has-video-tag"),controls_html=''+controls_html+"
",""==settings.append_controls_to?$et_slider.append(controls_html):$(settings.append_controls_to).append(controls_html),($et_slider_controls=settings.controls_below?$et_slider.parent().find(settings.controls):$et_slider.find(settings.controls)).on("click.et_pb_simple_slider",function(){return!$et_slider.et_animation_running&&($et_slider.et_slider_move_to($(this).index()),!1)})}if(et_maybe_set_controls_color($et_slide.eq(0)),settings.use_carousel&&et_slides_number>1){for(var i=1;i<=et_slides_number;i++)slide_id=i-1,image_src=void 0!==$et_slide.eq(slide_id).data("image")?"url("+$et_slide.eq(slide_id).data("image")+")":"none",carousel_html+='';carousel_html='",$et_slider.after(carousel_html),($et_slider_carousel_controls=$et_slider.siblings(".et_pb_carousel").find(settings.carousel_controls)).on("click.et_pb_simple_slider",function(){if($et_slider.et_animation_running)return!1;var $this=$(this);return $et_slider.et_slider_move_to($this.data("slide-id")),!1})}settings.slideshow&&et_slides_number>1&&$et_slider.on("mouseenter.et_pb_simple_slider",function(){$et_slider.hasClass("et_slider_auto_ignore_hover")||($et_slider.addClass("et_slider_hovered"),void 0!==et_slider_timer&&clearInterval(et_slider_timer))}).on("mouseleave.et_pb_simple_slider",function(){$et_slider.hasClass("et_slider_auto_ignore_hover")||($et_slider.removeClass("et_slider_hovered"),et_slider_auto_rotate())}),et_slider_auto_rotate(),$et_slider.et_slider_destroy=function(){void 0!==et_slider_timer&&clearInterval(et_slider_timer),$et_slider.off(".et_pb_simple_slider"),$et_slider.find(".et_pb_slide").css({"z-index":"",display:"",opacity:""}),$et_slider.find(".et-pb-active-slide").removeClass("et-pb-active-slide"),$et_slider.find(".et-pb-moved-slide").removeClass("et-pb-moved-slide"),$et_slider.find(".et-pb-slider-arrows, .et-pb-controllers").remove(),$et_slider.siblings(".et_pb_carousel").remove(),$et_slider.removeData("et_pb_simple_slider")},$et_slider.et_fix_slider_content_images=et_fix_slider_content_images,window.et_load_event_fired?et_fix_slider_height($et_slider):$et_window.on("load",function(){et_fix_slider_height($et_slider)}),$et_window.on("resize.et_simple_slider",function(){et_fix_slider_height($et_slider)}),$et_slider.et_slider_move_to=function(direction){var $active_slide=$et_slide.eq(et_active_slide);if($et_slider.et_animation_running=!0,$et_slider.removeClass("et_slide_transition_to_next et_slide_transition_to_previous").addClass("et_slide_transition_to_"+direction),$et_slider.find(".et-pb-moved-slide").removeClass("et-pb-moved-slide"),"next"==direction||"previous"==direction)et_active_slide="next"==direction?et_active_slide+1=0?et_active_slide-1:et_slides_number-1;else{if(et_active_slide==direction)return void($et_slider.et_animation_running=!1);et_active_slide=direction}void 0!==et_slider_timer&&clearInterval(et_slider_timer);var $next_slide=$et_slide.eq(et_active_slide);$et_slider.trigger("slide",{current:$active_slide,next:$next_slide}),void 0!==$active_slide.find("video")[0]&&void 0!==$active_slide.find("video")[0].player&&$active_slide.find("video")[0].player.pause(),void 0!==$next_slide.find("video")[0]&&void 0!==$next_slide.find("video")[0].player&&$next_slide.find("video")[0].player.play();var $active_slide_video=$active_slide.find(".et_pb_video_box iframe");if($active_slide_video.length){var active_slide_video_src=$active_slide_video.attr("src");active_slide_video_src=active_slide_video_src.replace(/\?autoplay=1$/,""),active_slide_video_src=active_slide_video_src.replace(/\?autoplay=1&(amp;)?/,"?"),active_slide_video_src=active_slide_video_src.replace(/&(amp;)?autoplay=1/,""),setTimeout(function(){$active_slide_video.attr({src:active_slide_video_src})},settings.fade_speed),$active_slide_video.parents(".et_pb_video_box").next(".et_pb_video_overlay").css({display:"block",opacity:1})}$et_slider.trigger("simple_slider_before_move_to",{direction:direction,next_slide:$next_slide}),$et_slide.each(function(){$(this).css("zIndex",1)}),$active_slide.css("zIndex",2).removeClass("et-pb-active-slide").addClass("et-pb-moved-slide").data("slide-status","inactive"),$next_slide.css({display:"block",opacity:0}).addClass("et-pb-active-slide").data("slide-status","active"),et_fix_slider_content_images(),et_fix_builder_content(),settings.use_controls&&$et_slider_controls.removeClass(settings.control_active_class).eq(et_active_slide).addClass(settings.control_active_class),settings.use_carousel&&$et_slider_carousel_controls.removeClass(settings.control_active_class).eq(et_active_slide).addClass(settings.control_active_class),settings.tabs_animation?($next_slide.css({display:"none",opacity:0}),$active_slide.addClass("et_slide_transition").css({display:"block",opacity:1}).animate({opacity:0},et_fade_speed,function(){$(this).css("display","none").removeClass("et_slide_transition"),$next_slide.css({display:"block",opacity:0}).animate({opacity:1},et_fade_speed,function(){$et_slider.et_animation_running=!1,$et_slider.trigger("simple_slider_after_move_to",{next_slide:$next_slide})})})):(et_maybe_set_controls_color($next_slide),$next_slide.animate({opacity:1},et_fade_speed),$active_slide.addClass("et_slide_transition").css({display:"list-item",opacity:1}).animate({opacity:0},et_fade_speed,function(){var active_slide_layout_bg_color=et_get_bg_layout_color($active_slide),next_slide_layout_bg_color=et_get_bg_layout_color($next_slide);$(this).css("display","none").removeClass("et_slide_transition"),et_stop_video($active_slide),$et_slider.removeClass(active_slide_layout_bg_color).addClass(next_slide_layout_bg_color),$et_slider.et_animation_running=!1,$et_slider.trigger("simple_slider_after_move_to",{next_slide:$next_slide})})),$next_slide.find(".et_parallax_bg").length&&window.et_pb_parallax_init($next_slide.find(".et_parallax_bg")),et_slider_auto_rotate()}},$.fn.et_pb_simple_slider=function(options){return this.each(function(){var slider=$.data(this,"et_pb_simple_slider");return slider||new $.et_pb_simple_slider(this,options)})};var et_hash_module_seperator="||",et_hash_module_param_seperator="|";$.et_pb_simple_carousel=function(el,options){function set_carousel_height($the_carousel){$the_carousel_items.width();var carousel_items_height=$the_carousel_items.height();$carousel_items.css("height",carousel_items_height+"px")}function set_carousel_columns($the_carousel){var columns,$carousel_parent=$the_carousel.parents(".et_pb_column");$carousel_items.width(),$the_carousel_items.length;if($carousel_parent.hasClass("et_pb_column_4_4")||$carousel_parent.hasClass("et_pb_column_3_4")||$carousel_parent.hasClass("et_pb_column_2_3")?columns=$et_window.width()<768?3:4:$carousel_parent.hasClass("et_pb_column_1_2")||$carousel_parent.hasClass("et_pb_column_3_8")||$carousel_parent.hasClass("et_pb_column_1_3")?columns=3:$carousel_parent.hasClass("et_pb_column_1_4")&&(columns=$et_window.width()>480&&$et_window.width()<980?3:2),columns!==$carousel_items.data("portfolio-columns")&&!$the_carousel.data("columns_setting_up")){$the_carousel.data("columns_setting_up",!0),$carousel_items.removeClass("columns-"+$carousel_items.data("portfolio-columns")),$carousel_items.addClass("columns-"+columns),$carousel_items.data("portfolio-columns",columns),$carousel_items.find(".et-carousel-group").length&&($the_carousel_items.appendTo($carousel_items),$carousel_items.find(".et-carousel-group").remove());var the_carousel_items=$carousel_items.data("items"),$carousel_group=$('').appendTo($carousel_items);for($the_carousel_items.data("position",""),the_carousel_items.length<=columns?$carousel_items.find(".et-pb-slider-arrows").hide():$carousel_items.find(".et-pb-slider-arrows").show(),position=1,x=0;x
'+et_pb_custom.previous+''+et_pb_custom.next+" "),set_carousel_columns($et_carousel),set_carousel_height(),$et_carousel_next=$et_carousel.find(".et-pb-arrow-next"),$et_carousel_prev=$et_carousel.find(".et-pb-arrow-prev"),$et_carousel.on("click",".et-pb-arrow-next",function(){return!$et_carousel.et_animation_running&&($et_carousel.et_carousel_move_to("next"),!1)}),$et_carousel.on("click",".et-pb-arrow-prev",function(){return!$et_carousel.et_animation_running&&($et_carousel.et_carousel_move_to("previous"),!1)}),$et_carousel.on("swipeleft",function(){$et_carousel.et_carousel_move_to("next")}),$et_carousel.on("swiperight",function(){$et_carousel.et_carousel_move_to("previous")}),$et_carousel.et_carousel_move_to=function(direction){var $active_carousel_group=$carousel_items.find(".et-carousel-group.active"),items=$carousel_items.data("items"),columns=$carousel_items.data("portfolio-columns");$et_carousel.et_animation_running=!0;left=0;$active_carousel_group.children().each(function(){$(this).css({position:"absolute",left:left}),left+=$(this).outerWidth(!0)}),$("body").addClass("et-pb-is-sliding-carousel");var carousel_group_item_size=$active_carousel_group.find(".et_pb_carousel_item").size(),carousel_group_item_progress=0;if("next"==direction){var $next_carousel_group,current_position=1,next_position=1,next_items_start=active_items_end=(active_items_start=items.indexOf($active_carousel_group.children().first()[0]))+columns,next_items_end=next_items_start+columns;for(($next_carousel_group=$('').insertAfter($active_carousel_group)).css({width:$active_carousel_group.innerWidth()}).show(),x=0,total=0;total>=active_items_start&&total
=next_items_start&&totalcolumns);x++,total++)x>=items.length-1&&(x=-1);sorted=$carousel_items.find(".container_append, .delayed_container_append_dup").sort(function(a,b){var el_a_position=parseInt($(a).data("next_position")),el_b_position=parseInt($(b).data("next_position"));return el_a_positionel_b_position?1:0});$(sorted).show().appendTo($next_carousel_group);left=0;$next_carousel_group.children().each(function(){$(this).css({position:"absolute",left:left}),left+=$(this).outerWidth(!0)}),$active_carousel_group.animate({left:"-100%"},{duration:settings.slide_duration,progress:function(animation,progress){progress>carousel_group_item_progress/carousel_group_item_size&&(carousel_group_item_progress++,$active_carousel_group.find(".et_pb_carousel_item:nth-child("+carousel_group_item_progress+")").addClass("item-fade-out"),$next_carousel_group.find(".et_pb_carousel_item:nth-child("+carousel_group_item_progress+")").addClass("item-fade-in"))},complete:function(){$carousel_items.find(".delayed_container_append").each(function(){left=$("#"+$(this).attr("id")+"-dup").css("left"),$(this).css({position:"absolute",left:left}),$(this).appendTo($next_carousel_group)}),$active_carousel_group.removeClass("active"),$active_carousel_group.children().each(function(){position=$(this).data("position"),current_position=$(this).data("current_position"),$(this).removeClass("position_"+position+" changing_position current_position current_position_"+current_position),$(this).data("position",""),$(this).data("current_position",""),$(this).hide(),$(this).css({position:"",left:""}),$(this).appendTo($carousel_items)}),$carousel_items.find(".item-fade-out").removeClass("item-fade-out"),$next_carousel_group.find(".item-fade-in").removeClass("item-fade-in"),$("body").removeClass("et-pb-is-sliding-carousel"),$active_carousel_group.remove()}}),next_left=$active_carousel_group.width()+parseInt($the_carousel_items.first().css("marginRight").slice(0,-2)),$next_carousel_group.addClass("active").css({position:"absolute",top:0,left:next_left}),$next_carousel_group.animate({left:"0%"},{duration:settings.slide_duration,complete:function(){$next_carousel_group.removeClass("next").addClass("active").css({position:"",width:"",top:"",left:""}),$next_carousel_group.find(".changing_position").each(function(index){position=$(this).data("position"),current_position=$(this).data("current_position"),next_position=$(this).data("next_position"),$(this).removeClass("container_append delayed_container_append position_"+position+" changing_position current_position current_position_"+current_position+" next_position next_position_"+next_position),$(this).data("current_position",""),$(this).data("next_position",""),$(this).data("position",index+1)}),$next_carousel_group.children().css({position:"",left:""}),$next_carousel_group.find(".delayed_container_append_dup").remove(),$et_carousel.et_animation_running=!1}})}else if("previous"==direction){var $prev_carousel_group,current_position=columns,prev_position=columns,columns_span=columns-1,active_items_start=items.indexOf($active_carousel_group.children().last()[0]),active_items_end=active_items_start-columns_span,prev_items_start=active_items_end-1,prev_items_end=prev_items_start-columns_span;for(($prev_carousel_group=$('').insertBefore($active_carousel_group)).css({left:"-"+$active_carousel_group.innerWidth(),width:$active_carousel_group.innerWidth()}).show(),x=items.length-1,total=items.length-1;total<=active_items_start&&total>=active_items_end&&($(items[x]).addClass("changing_position current_position current_position_"+current_position),$(items[x]).data("current_position",current_position),current_position--),total<=prev_items_start&&total>=prev_items_end&&($(items[x]).data("prev_position",prev_position),$(items[x]).addClass("changing_position prev_position prev_position_"+prev_position),$(items[x]).hasClass("current_position")?($(items[x]).clone(!0).appendTo($active_carousel_group).addClass("delayed_container_append_dup").attr("id",$(items[x]).attr("id")+"-dup"),$(items[x]).addClass("delayed_container_append")):$(items[x]).addClass("container_append"),prev_position--),!(prev_position<=0);x--,total--)0==x&&(x=items.length);var sorted=$carousel_items.find(".container_append, .delayed_container_append_dup").sort(function(a,b){var el_a_position=parseInt($(a).data("prev_position")),el_b_position=parseInt($(b).data("prev_position"));return el_a_position
el_b_position?1:0});$(sorted).show().appendTo($prev_carousel_group);var left=0;$prev_carousel_group.children().each(function(){$(this).css({position:"absolute",left:left}),left+=$(this).outerWidth(!0)}),$active_carousel_group.animate({left:"100%"},{duration:settings.slide_duration,progress:function(animation,progress){if(progress>carousel_group_item_progress/carousel_group_item_size){var group_item_nth=carousel_group_item_size-carousel_group_item_progress;$active_carousel_group.find(".et_pb_carousel_item:nth-child("+group_item_nth+")").addClass("item-fade-out"),$prev_carousel_group.find(".et_pb_carousel_item:nth-child("+group_item_nth+")").addClass("item-fade-in"),carousel_group_item_progress++}},complete:function(){$carousel_items.find(".delayed_container_append").reverse().each(function(){left=$("#"+$(this).attr("id")+"-dup").css("left"),$(this).css({position:"absolute",left:left}),$(this).prependTo($prev_carousel_group)}),$active_carousel_group.removeClass("active"),$active_carousel_group.children().each(function(){position=$(this).data("position"),current_position=$(this).data("current_position"),$(this).removeClass("position_"+position+" changing_position current_position current_position_"+current_position),$(this).data("position",""),$(this).data("current_position",""),$(this).hide(),$(this).css({position:"",left:""}),$(this).appendTo($carousel_items)}),$carousel_items.find(".item-fade-out").removeClass("item-fade-out"),$prev_carousel_group.find(".item-fade-in").removeClass("item-fade-in"),$("body").removeClass("et-pb-is-sliding-carousel"),$active_carousel_group.remove()}}),prev_left=-1*$active_carousel_group.width()-parseInt($the_carousel_items.first().css("marginRight").slice(0,-2)),$prev_carousel_group.addClass("active").css({position:"absolute",top:0,left:prev_left}),$prev_carousel_group.animate({left:"0%"},{duration:settings.slide_duration,complete:function(){$prev_carousel_group.removeClass("prev").addClass("active").css({position:"",width:"",top:"",left:""}),$prev_carousel_group.find(".delayed_container_append_dup").remove(),$prev_carousel_group.find(".changing_position").each(function(index){position=$(this).data("position"),current_position=$(this).data("current_position"),prev_position=$(this).data("prev_position"),$(this).removeClass("container_append delayed_container_append position_"+position+" changing_position current_position current_position_"+current_position+" prev_position prev_position_"+prev_position),$(this).data("current_position",""),$(this).data("prev_position",""),position=index+1,$(this).data("position",position),$(this).addClass("position_"+position)}),$prev_carousel_group.children().css({position:"",left:""}),$et_carousel.et_animation_running=!1}})}}},$.fn.et_pb_simple_carousel=function(options){return this.each(function(){var carousel=$.data(this,"et_pb_simple_carousel");return carousel||new $.et_pb_simple_carousel(this,options)})},$(document).ready(function(){function et_get_column_types($columns){var row_class="";return $columns.length&&($columns.each(function(){var column_type=$(this).attr("class").split("et_pb_column_")[1],column_type_updated=(void 0!==column_type?column_type.split(" ",1)[0]:"4_4").replace("_","-").trim();row_class+="_"+column_type_updated}),row_class="_1-4_1-4_1-4_1-4"===row_class?"_4col":row_class),row_class}function fullwidth_portfolio_carousel_slide($arrow){var $the_portfolio=$arrow.parents(".et_pb_fullwidth_portfolio"),$portfolio_items=$the_portfolio.find(".et_pb_portfolio_items"),$active_carousel_group=($portfolio_items.find(".et_pb_portfolio_item"),$portfolio_items.find(".et_pb_carousel_group.active")),items=$portfolio_items.data("items"),columns=$portfolio_items.data("portfolio-columns"),item_width=$active_carousel_group.innerWidth()/columns,original_item_width=100/columns+"%";if(void 0!==items&&!$the_portfolio.data("carouseling"))if($the_portfolio.data("carouseling",!0),$active_carousel_group.children().each(function(){$(this).css({width:item_width+1,"max-width":item_width,position:"absolute",left:item_width*($(this).data("position")-1)})}),$arrow.hasClass("et-pb-arrow-next")){var $next_carousel_group,current_position=1,next_position=1,next_items_start=active_items_end=(active_items_start=items.indexOf($active_carousel_group.children().first()[0]))+columns,next_items_end=next_items_start+columns,active_carousel_width=$active_carousel_group.innerWidth();for(($next_carousel_group=$('').insertAfter($active_carousel_group)).css({width:active_carousel_width,"max-width":active_carousel_width}).show(),x=0,total=0;total>=active_items_start&&total
=next_items_start&&totalcolumns);x++,total++)x>=items.length-1&&(x=-1);sorted=$portfolio_items.find(".container_append, .delayed_container_append_dup").sort(function(a,b){var el_a_position=parseInt($(a).data("next_position")),el_b_position=parseInt($(b).data("next_position"));return el_a_positionel_b_position?1:0}),$(sorted).show().appendTo($next_carousel_group),$next_carousel_group.children().each(function(){$(this).css({width:item_width,"max-width":item_width,position:"absolute",left:item_width*($(this).data("next_position")-1)})}),$active_carousel_group.animate({left:"-100%"},{duration:700,complete:function(){$portfolio_items.find(".delayed_container_append").each(function(){$(this).css({width:item_width,"max-width":item_width,position:"absolute",left:item_width*($(this).data("next_position")-1)}),$(this).appendTo($next_carousel_group)}),$active_carousel_group.removeClass("active"),$active_carousel_group.children().each(function(){position=$(this).data("position"),current_position=$(this).data("current_position"),$(this).removeClass("position_"+position+" changing_position current_position current_position_"+current_position),$(this).data("position",""),$(this).data("current_position",""),$(this).hide(),$(this).css({position:"",width:"","max-width":"",left:""}),$(this).appendTo($portfolio_items)}),$active_carousel_group.remove(),et_carousel_auto_rotate($the_portfolio)}}),$next_carousel_group.addClass("active").css({position:"absolute",top:0,left:"100%"}),$next_carousel_group.animate({left:"0%"},{duration:700,complete:function(){setTimeout(function(){$next_carousel_group.removeClass("next").addClass("active").css({position:"",width:"","max-width":"",top:"",left:""}),$next_carousel_group.find(".delayed_container_append_dup").remove(),$next_carousel_group.find(".changing_position").each(function(index){position=$(this).data("position"),current_position=$(this).data("current_position"),next_position=$(this).data("next_position"),$(this).removeClass("container_append delayed_container_append position_"+position+" changing_position current_position current_position_"+current_position+" next_position next_position_"+next_position),$(this).data("current_position",""),$(this).data("next_position",""),$(this).data("position",index+1)}),$next_carousel_group.children().css({position:"",width:original_item_width,"max-width":original_item_width,left:""}),$the_portfolio.data("carouseling",!1)},100)}})}else{var $prev_carousel_group,current_position=columns,prev_position=columns,columns_span=columns-1,active_items_start=items.indexOf($active_carousel_group.children().last()[0]),active_items_end=active_items_start-columns_span,prev_items_start=active_items_end-1,prev_items_end=prev_items_start-columns_span,active_carousel_width=$active_carousel_group.innerWidth();for(($prev_carousel_group=$('').insertBefore($active_carousel_group)).css({left:"-"+active_carousel_width,width:active_carousel_width,"max-width":active_carousel_width}).show(),x=items.length-1,total=items.length-1;total<=active_items_start&&total>=active_items_end&&($(items[x]).addClass("changing_position current_position current_position_"+current_position),$(items[x]).data("current_position",current_position),current_position--),total<=prev_items_start&&total>=prev_items_end&&($(items[x]).data("prev_position",prev_position),$(items[x]).addClass("changing_position prev_position prev_position_"+prev_position),$(items[x]).hasClass("current_position")?($(items[x]).clone(!0).appendTo($active_carousel_group).addClass("delayed_container_append_dup").attr("id",$(items[x]).attr("id")+"-dup"),$(items[x]).addClass("delayed_container_append")):$(items[x]).addClass("container_append"),prev_position--),!(prev_position<=0);x--,total--)0==x&&(x=items.length);sorted=$portfolio_items.find(".container_append, .delayed_container_append_dup").sort(function(a,b){var el_a_position=parseInt($(a).data("prev_position")),el_b_position=parseInt($(b).data("prev_position"));return el_a_position
el_b_position?1:0}),$(sorted).show().appendTo($prev_carousel_group),$prev_carousel_group.children().each(function(){$(this).css({width:item_width,"max-width":item_width,position:"absolute",left:item_width*($(this).data("prev_position")-1)})}),$active_carousel_group.animate({left:"100%"},{duration:700,complete:function(){$portfolio_items.find(".delayed_container_append").reverse().each(function(){$(this).css({width:item_width,"max-width":item_width,position:"absolute",left:item_width*($(this).data("prev_position")-1)}),$(this).prependTo($prev_carousel_group)}),$active_carousel_group.removeClass("active"),$active_carousel_group.children().each(function(){position=$(this).data("position"),current_position=$(this).data("current_position"),$(this).removeClass("position_"+position+" changing_position current_position current_position_"+current_position),$(this).data("position",""),$(this).data("current_position",""),$(this).hide(),$(this).css({position:"",width:"","max-width":"",left:""}),$(this).appendTo($portfolio_items)}),$active_carousel_group.remove()}}),$prev_carousel_group.addClass("active").css({position:"absolute",top:0,left:"-100%"}),$prev_carousel_group.animate({left:"0%"},{duration:700,complete:function(){setTimeout(function(){$prev_carousel_group.removeClass("prev").addClass("active").css({position:"",width:"","max-width":"",top:"",left:""}),$prev_carousel_group.find(".delayed_container_append_dup").remove(),$prev_carousel_group.find(".changing_position").each(function(index){position=$(this).data("position"),current_position=$(this).data("current_position"),prev_position=$(this).data("prev_position"),$(this).removeClass("container_append delayed_container_append position_"+position+" changing_position current_position current_position_"+current_position+" prev_position prev_position_"+prev_position),$(this).data("current_position",""),$(this).data("prev_position",""),position=index+1,$(this).data("position",position),$(this).addClass("position_"+position)}),$prev_carousel_group.children().css({position:"",width:original_item_width,"max-width":original_item_width,left:""}),$the_portfolio.data("carouseling",!1)},100)}})}}function set_fullwidth_portfolio_columns($the_portfolio,carousel_mode){var columns,$portfolio_items=$the_portfolio.find(".et_pb_portfolio_items"),portfolio_items_width=$portfolio_items.width(),$the_portfolio_items=$portfolio_items.find(".et_pb_portfolio_item");$the_portfolio_items.length;if(void 0!==$the_portfolio_items&&(columns=portfolio_items_width>=1600?5:portfolio_items_width>=1024?4:portfolio_items_width>=768?3:portfolio_items_width>=480?2:1,portfolio_item_width=portfolio_items_width/columns,portfolio_item_height=.75*portfolio_item_width,carousel_mode&&$portfolio_items.css({height:portfolio_item_height}),$the_portfolio_items.css({height:portfolio_item_height}),columns!==$portfolio_items.data("portfolio-columns")&&!$the_portfolio.data("columns_setting_up"))){$the_portfolio.data("columns_setting_up",!0);var portfolio_item_width_percentage=100/columns+"%";if($the_portfolio_items.css({width:portfolio_item_width_percentage,"max-width":portfolio_item_width_percentage}),$portfolio_items.removeClass("columns-"+$portfolio_items.data("portfolio-columns")),$portfolio_items.addClass("columns-"+columns),$portfolio_items.data("portfolio-columns",columns),!carousel_mode)return $the_portfolio.data("columns_setting_up",!1);$portfolio_items.find(".et_pb_carousel_group").length&&($the_portfolio_items.appendTo($portfolio_items),$portfolio_items.find(".et_pb_carousel_group").remove());var the_portfolio_items=$portfolio_items.data("items"),$carousel_group=$('').appendTo($portfolio_items);if(void 0!==the_portfolio_items){for($the_portfolio_items.data("position",""),the_portfolio_items.length<=columns?$portfolio_items.find(".et-pb-slider-arrows").hide():$portfolio_items.find(".et-pb-slider-arrows").show(),position=1,x=0;x
$carousel.find(".et_pb_carousel_group .et_pb_portfolio_item").length&&!$carousel.hasClass("et_carousel_hovered")&&(et_carousel_timer=setTimeout(function(){fullwidth_portfolio_carousel_slide($carousel.find(".et-pb-arrow-next"))},$carousel.data("auto-rotate-speed")),$carousel.data("et_carousel_timer",et_carousel_timer))}function et_audio_module_set(){($(".et_pb_audio_module .mejs-audio").length||$(".et_audio_content .mejs-audio").length)&&$(".et_audio_container").each(function(){et_pb_audio_module_init($(this))})}function set_filterable_grid_items($the_portfolio){var active_category=$the_portfolio.find(".et_pb_portfolio_filter > a.active").data("category-slug");window.et_pb_set_responsive_grid($the_portfolio.find(".et_pb_portfolio_items"),".et_pb_portfolio_item"),$the_portfolio_visible_items="all"===active_category?$the_portfolio.find(".et_pb_portfolio_item"):$the_portfolio.find(".et_pb_portfolio_item.project_category_"+active_category);var visible_grid_items=$the_portfolio_visible_items.length,posts_number=$the_portfolio.data("posts-number");set_filterable_grid_pages($the_portfolio,0===posts_number?1:Math.ceil(visible_grid_items/posts_number));var visible_grid_items=0,_page=1;$the_portfolio.find(".et_pb_portfolio_item").data("page",""),$the_portfolio_visible_items.each(function(i){visible_grid_items++,0===parseInt(visible_grid_items%posts_number)?($(this).data("page",_page),_page++):$(this).data("page",_page)}),$the_portfolio_visible_items.filter(function(){return 1==$(this).data("page")}).show(),$the_portfolio_visible_items.filter(function(){return 1!=$(this).data("page")}).hide()}function set_filterable_grid_pages($the_portfolio,pages){if($pagination=$the_portfolio.find(".et_pb_portofolio_pagination"),$pagination.length&&($pagination.html(""),!(pages<=1))){$pagination_list=$pagination.children("ul"),$pagination_list.append(''+et_pb_custom.prev+"");for(var page=1;page<=pages;page++){var first_page_class=1===page?" active":"",last_page_class=page===pages?" last-page":"",hidden_page_class=page>=5?' style="display:none;"':"";$pagination_list.append("'+page+"")}$pagination_list.append(''+et_pb_custom.next+"")}}function set_filterable_portfolio_hash($the_portfolio){if($the_portfolio.attr("id")){var this_portfolio_state=[];this_portfolio_state.push($the_portfolio.attr("id")),this_portfolio_state.push($the_portfolio.find(".et_pb_portfolio_filter > a.active").data("category-slug")),$the_portfolio.find(".et_pb_portofolio_pagination a.active").length?this_portfolio_state.push($the_portfolio.find(".et_pb_portofolio_pagination a.active").data("page")):this_portfolio_state.push(1),et_set_hash(this_portfolio_state=this_portfolio_state.join(et_hash_module_param_seperator))}}function et_pb_init_maps(){$et_pb_map.each(function(){et_pb_map_init($(this))})}function et_toggle_animation_callback(initial_toggle_state,$module,$section){"closed"===initial_toggle_state?$module.removeClass("et_pb_toggle_close").addClass("et_pb_toggle_open"):$module.removeClass("et_pb_toggle_open").addClass("et_pb_toggle_close"),$section.hasClass("et_pb_section_parallax")&&!$section.children().hasClass("et_pb_parallax_css")&&$.proxy(et_parallax_set_height,$section)()}function et_fix_nav_direction(){window_width=$(window).width(),$(".nav li.et-reverse-direction-nav").removeClass("et-reverse-direction-nav"),$(".nav li li ul").each(function(){var $dropdown=$(this),dropdown_width=$dropdown.width(),dropdown_offset=$dropdown.offset(),$parents=$dropdown.parents(".nav > li");dropdown_offset.left>window_width-dropdown_width&&$parents.addClass("et-reverse-direction-nav")})}function et_waypoint($element,options,max_instances){max_instances=max_instances||$element.data("et_waypoint_max_instances")||1;var current_instances=$element.data("et_waypoint")||[];if(current_instances.length0&&(current_instances.push(new_instances[0]),$element.data("et_waypoint",current_instances))}else for(var i=0;i0){$("body").css("overflow-x","hidden"),$("#page-container").css("overflow-y","hidden");for(var i=0;i0)for(var i=0;i=0;i--){var el=cookies[i].split("=");ret[el[0]]=el[1]}return ret}function et_pb_set_cookie(expire,cookie_content){cookie_expire=et_pb_set_cookie_expire(expire),document.cookie=cookie_content+cookie_expire+"; path=/"}function et_pb_get_fixed_main_header_height(){if(!window.et_is_fixed_nav)return 0;var fixed_height_onload=void 0===$("#main-header").attr("data-fixed-height-onload")?0:$("#main-header").attr("data-fixed-height-onload");return window.et_is_fixed_nav?parseFloat(fixed_height_onload):0}function et_pb_window_load_scripts(){et_fix_fullscreen_section(),$("section.et_pb_fullscreen").each(function(){var $this_section=$(this);$.proxy(et_calc_fullscreen_section,$this_section)()}),$(".et_pb_fullwidth_header_scroll").on("click","a",et_pb_fullwidth_header_scroll),setTimeout(function(){$(".et_pb_preload").removeClass("et_pb_preload")},500),$.fn.hashchange&&($(window).hashchange(function(){process_et_hashchange(window.location.hash.substring(1))}),$(window).hashchange()),$et_pb_parallax.length&&!et_is_mobile_device&&$et_pb_parallax.each(function(){et_pb_parallax_init($(this))}),et_audio_module_set(),window.et_reinit_waypoint_modules(),$(".et_audio_content").length&&$(window).trigger("resize")}function et_pb_set_paginated_content($current_module,is_cache){void 0!==$current_module.find(".et_pb_salvattore_content").attr("data-columns")&&(is_cache||salvattore.registerGrid($current_module.find(".et_pb_salvattore_content")[0]),salvattore.recreateColumns($current_module.find(".et_pb_salvattore_content")[0]),$current_module.find(".et_pb_post").css({opacity:"1"})),$current_module.find(".et_audio_container").length>0&&"undefined"!=typeof wp&&void 0!==wp.mediaelement&&"function"==typeof wp.mediaelement.initialize&&(wp.mediaelement.initialize(),$(window).trigger("resize")),$current_module.find(".et-waypoint, .et_pb_circle_counter, .et_pb_number_counter").length>0&&$current_module.find(".et-waypoint, .et_pb_circle_counter, .et_pb_number_counter").each(function(){var $waypoint_module=$(this);$waypoint_module.hasClass("et_pb_circle_counter")&&window.et_pb_reinit_circle_counters($waypoint_module),$waypoint_module.hasClass("et_pb_number_counter")&&window.et_pb_reinit_number_counters($waypoint_module),$waypoint_module.find(".et_pb_counter_amount").length>0&&$waypoint_module.find(".et_pb_counter_amount").each(function(){window.et_bar_counters_init($(this))}),$(this).css({opacity:"1"}),window.et_reinit_waypoint_modules()}),$current_module.find(".et_pb_slider").length>0&&$current_module.find(".et_pb_slider").each(function(){et_pb_slider_init($(this))}),$current_module.on("click",".et_pb_video_overlay",function(e){e.preventDefault(),et_pb_play_overlayed_video($(this))}),$current_module.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']"}),$current_module.fadeTo("slow",1),window.et_shortcodes_init($current_module),$("html, body").animate({scrollTop:$current_module.offset().top-($("#main-header").innerHeight()+$("#top-header").innerHeight()+50)})}function et_conditional_check($form,trigger_id){$form.find("[data-conditional-logic]").each(function(){for(var $conditional=$(this),rules=$conditional.data("conditional-logic"),relation=$conditional.data("conditional-relation"),matched_rules=[],i=0;i=maybeNumbericCheckValue||matched_rules.push(!0))}}}}$conditional.hide();var $conditional_input=$conditional.find('input[type="text"]'),conditional_pattern=$conditional_input.attr("pattern");$conditional_input.attr("novalidate","novalidate"),$conditional_input.attr("data-pattern",conditional_pattern),$conditional_input.removeAttr("pattern"),"all"===relation&&rules.length===matched_rules.length&&($conditional.show(),$conditional_input.removeAttr("novalidate"),$conditional_input.attr("pattern",$conditional_input.data("pattern"))),"any"===relation&&0.et_pb_column")))||-1===row_class.indexOf("1-4")&&"_4col"!==row_class||$this_row.addClass("et_pb_row"+row_class),$this_row.find(".et_pb_row_inner").length&&$this_row.find(".et_pb_row_inner").each(function(){var $this_row_inner=$(this);""!==(row_class=et_get_column_types($this_row_inner.find(".et_pb_column")))&&-1!==row_class.indexOf("1-4")&&$this_row_inner.addClass("et_pb_row"+row_class)})}),window.et_pb_init_nav_menu($et_top_menu),$et_sticky_image.each(function(){window.et_pb_apply_sticky_image_effect($(this))}),et_is_mobile_device&&($(".et_pb_section_video_bg").each(function(){var $this_el=$(this);$this_el.closest(".et_pb_preload").removeClass("et_pb_preload"),$this_el.remove()}),$("body").addClass("et_mobile_device"),et_is_ipad||$("body").addClass("et_mobile_device_not_ipad")),et_is_ie9&&$("body").addClass("et_ie9"),($et_pb_video_section.length||is_frontend_builder)&&(window.et_pb_video_section_init=function($et_pb_video_section){$et_pb_video_section.find("video").mediaelementplayer({pauseOtherPlayers:!1,success:function(mediaElement,domObject){mediaElement.addEventListener("loadeddata",function(){et_pb_resize_section_video_bg($(domObject)),et_pb_center_video($(domObject).closest(".mejs-video"))},!1),mediaElement.addEventListener("canplay",function(){$(domObject).closest(".et_pb_preload").removeClass("et_pb_preload")},!1)}})},et_pb_video_section_init($et_pb_video_section)),$et_post_gallery.length){var magnificPopup=$.magnificPopup.instance;$("body").on("swiperight",".mfp-container",function(){magnificPopup.prev()}),$("body").on("swipeleft",".mfp-container",function(){magnificPopup.next()}),$et_post_gallery.each(function(){$(this).magnificPopup({delegate:".et_pb_gallery_image a",type:"image",removalDelay:500,gallery:{enabled:!0,navigateByImgClick:!0},mainClass:"mfp-fade",zoom:{enabled:!et_pb_custom.is_builder_plugin_used,duration:500,opener:function(element){return element.find("img")}},autoFocusLast:!1})}),$et_post_gallery.find("a").unbind("click")}($et_lightbox_image.length||is_frontend_builder)&&($et_lightbox_image.unbind("click"),$et_lightbox_image.bind("click"),window.et_pb_image_lightbox_init=function($et_lightbox_image){$et_lightbox_image.magnificPopup({type:"image",removalDelay:500,mainClass:"mfp-fade",zoom:{enabled:!et_pb_custom.is_builder_plugin_used,duration:500,opener:function(element){return element.find("img")}},autoFocusLast:!1})},et_pb_image_lightbox_init($et_lightbox_image)),($et_pb_slider.length||is_frontend_builder)&&$et_pb_slider.each(function(){$this_slider=$(this),et_pb_slider_init($this_slider)}),(($et_pb_carousel=$(".et_pb_carousel")).length||is_frontend_builder)&&$et_pb_carousel.each(function(){var et_carousel_settings={slide_duration:1e3};$(this).et_pb_simple_carousel(et_carousel_settings)}),($et_pb_fullwidth_portfolio.length||is_frontend_builder)&&(window.et_fullwidth_portfolio_init=function($the_portfolio){var $portfolio_items=$the_portfolio.find(".et_pb_portfolio_items");$portfolio_items.data("items",$portfolio_items.find(".et_pb_portfolio_item").toArray()),$the_portfolio.data("columns_setting_up",!1),$the_portfolio.hasClass("et_pb_fullwidth_portfolio_carousel")?($portfolio_items.prepend('"),set_fullwidth_portfolio_columns($the_portfolio,!0),et_carousel_auto_rotate($the_portfolio),$the_portfolio.on("swiperight",function(){$(this).find(".et-pb-arrow-prev").click()}),$the_portfolio.on("swipeleft",function(){$(this).find(".et-pb-arrow-next").click()}),$the_portfolio.hover(function(){$(this).addClass("et_carousel_hovered"),void 0!==$(this).data("et_carousel_timer")&&clearInterval($(this).data("et_carousel_timer"))},function(){$(this).removeClass("et_carousel_hovered"),et_carousel_auto_rotate($(this))}),$the_portfolio.data("carouseling",!1),$the_portfolio.on("click",".et-pb-slider-arrows a",function(e){return fullwidth_portfolio_carousel_slide($(this)),e.preventDefault(),!1})):set_fullwidth_portfolio_columns($the_portfolio,!1)},$et_pb_fullwidth_portfolio.each(function(){et_fullwidth_portfolio_init($(this))})),window.et_pb_audio_module_init=function($audio_container){var $this_player=$audio_container,$time_rail=$this_player.find(".mejs-time-rail"),$time_slider=$this_player.find(".mejs-time-slider");$time_rail.removeAttr("style"),$time_slider.removeAttr("style");var new_time_rail_width,$count_timer=$this_player.find("div.mejs-currenttime-container"),$count_timer_width_container=$this_player.find(".mejs-duration-container").length?$this_player.find(".mejs-duration-container"):$this_player.find(".mejs-currenttime-container"),player_width=$this_player.width(),controls_play_width=$this_player.find(".mejs-play").outerWidth(),time_width=$count_timer_width_container.outerWidth(),volume_icon_width=$this_player.find(".mejs-volume-button").outerWidth(),volume_bar_width=$this_player.find(".mejs-horizontal-volume-slider").outerWidth();$count_timer.addClass("custom"),$this_player.find(".mejs-controls div.mejs-duration-container").replaceWith($count_timer),0<(new_time_rail_width=player_width-(controls_play_width+time_width+volume_icon_width+volume_bar_width+65))&&($time_rail.attr("style","min-width: "+new_time_rail_width+"px;"),$time_slider.attr("style","min-width: "+new_time_rail_width+"px;"))},$(".et_pb_section_video").length&&(window._wpmejsSettings.pauseOtherPlayers=!1),($et_pb_filterable_portfolio.length||is_frontend_builder)&&(window.et_pb_filterable_portfolio_init=function($selector){void 0!==$selector?set_filterable_portfolio_init($selector):$et_pb_filterable_portfolio.each(function(){set_filterable_portfolio_init($(this))})},window.set_filterable_portfolio_init=function($the_portfolio){var $the_portfolio_items=$the_portfolio.find(".et_pb_portfolio_items"),all_portfolio_items=($the_portfolio.data("rtl"),$the_portfolio_items.clone());$the_portfolio.show(),$the_portfolio.find(".et_pb_portfolio_item").addClass("active"),$the_portfolio.css("display","block"),set_filterable_grid_items($the_portfolio),$the_portfolio.on("click",".et_pb_portfolio_filter a",function(e){e.preventDefault();var category_slug=$(this).data("category-slug"),$the_portfolio=$(this).parents(".et_pb_filterable_portfolio"),$the_portfolio_items=$the_portfolio.find(".et_pb_portfolio_items");"all"==category_slug?($the_portfolio.find(".et_pb_portfolio_filter a").removeClass("active"),$the_portfolio.find(".et_pb_portfolio_filter_all a").addClass("active"),$the_portfolio_items.empty(),$the_portfolio_items.append(all_portfolio_items.find(".et_pb_portfolio_item").clone()),$the_portfolio.find(".et_pb_portfolio_item").addClass("active")):($the_portfolio.find(".et_pb_portfolio_filter_all").removeClass("active"),$the_portfolio.find(".et_pb_portfolio_filter a").removeClass("active"),$the_portfolio.find(".et_pb_portfolio_filter_all a").removeClass("active"),$(this).addClass("active"),$the_portfolio_items.empty(),$the_portfolio_items.append(all_portfolio_items.find(".et_pb_portfolio_item.project_category_"+$(this).data("category-slug")).clone()),$the_portfolio_items.find(".et_pb_portfolio_item").removeClass("active"),$the_portfolio_items.find(".et_pb_portfolio_item.project_category_"+$(this).data("category-slug")).addClass("active").removeClass("inactive")),set_filterable_grid_items($the_portfolio),setTimeout(function(){set_filterable_portfolio_hash($the_portfolio)},500),$the_portfolio.find(".et_pb_portfolio_item").removeClass("first_in_row last_in_row"),et_pb_set_responsive_grid($the_portfolio,".et_pb_portfolio_item:visible")}),$the_portfolio.on("click",".et_pb_portofolio_pagination a",function(e){e.preventDefault();var to_page=$(this).data("page"),$the_portfolio=$(this).parents(".et_pb_filterable_portfolio");$the_portfolio.find(".et_pb_portfolio_items");et_pb_smooth_scroll($the_portfolio,!1,800),$(this).hasClass("page-prev")?to_page=parseInt($(this).parents("ul").find("a.active").data("page"))-1:$(this).hasClass("page-next")&&(to_page=parseInt($(this).parents("ul").find("a.active").data("page"))+1),$(this).parents("ul").find("a").removeClass("active"),$(this).parents("ul").find("a.page-"+to_page).addClass("active");var current_index=$(this).parents("ul").find("a.page-"+to_page).parent().index(),total_pages=$(this).parents("ul").find("li.page").length;$(this).parent().nextUntil(".page-"+(current_index+3)).show(),$(this).parent().prevUntil(".page-"+(current_index-3)).show(),$(this).parents("ul").find("li.page").each(function(i){$(this).hasClass("prev")||$(this).hasClass("next")||(icurrent_index+1?$(this).hide():$(this).show(),total_pages-current_index<=2&&total_pages-i<=5?$(this).show():current_index<=3&&i<=4&&$(this).show())}),to_page>1?$(this).parents("ul").find("li.prev").show():$(this).parents("ul").find("li.prev").hide(),$(this).parents("ul").find("a.active").hasClass("last-page")?$(this).parents("ul").find("li.next").hide():$(this).parents("ul").find("li.next").show(),$the_portfolio.find(".et_pb_portfolio_item").hide(),$the_portfolio.find(".et_pb_portfolio_item").filter(function(index){return $(this).data("page")===to_page}).show(),window.et_pb_set_responsive_grid($the_portfolio.find(".et_pb_portfolio_items"),".et_pb_portfolio_item"),setTimeout(function(){set_filterable_portfolio_hash($the_portfolio)},500),$the_portfolio.find(".et_pb_portfolio_item").removeClass("first_in_row last_in_row"),et_pb_set_responsive_grid($the_portfolio,".et_pb_portfolio_item:visible")}),$(this).on("et_hashchange",function(event){var params=event.params;($the_portfolio=$("#"+event.target.id)).find('.et_pb_portfolio_filter a[data-category-slug="'+params[0]+'"]').hasClass("active")||$the_portfolio.find('.et_pb_portfolio_filter a[data-category-slug="'+params[0]+'"]').click(),params[1]&&setTimeout(function(){$the_portfolio.find(".et_pb_portofolio_pagination a.page-"+params[1]).hasClass("active")||$the_portfolio.find(".et_pb_portofolio_pagination a.page-"+params[1]).addClass("active").click()},300)})},window.et_load_event_fired?et_pb_filterable_portfolio_init():$(window).load(function(){et_pb_filterable_portfolio_init()})),($et_pb_gallery.length||is_frontend_builder)&&(window.set_gallery_grid_items=function($the_gallery){var $the_gallery_items_container=$the_gallery.find(".et_pb_gallery_items"),$the_gallery_items=$the_gallery_items_container.find(".et_pb_gallery_item"),total_grid_items=$the_gallery_items.length,posts_number_original=parseInt($the_gallery_items_container.attr("data-per_page")),posts_number=isNaN(posts_number_original)||0===posts_number_original?4:posts_number_original,pages=Math.ceil(total_grid_items/posts_number);set_gallery_grid_pages($the_gallery,pages);var total_grid_items=0,_page=1;$the_gallery_items_container.find(".et_pb_gallery_filler").remove();var fillers_added=0;$the_gallery_items.data("page",""),$the_gallery_items.each(function(i){total_grid_items++;var $this=$(this);if(0===parseInt(total_grid_items%posts_number)){for($this.data("page",_page),fillers_added=0;fillers_added<4&&"0px"!==$this.css("marginRight");)fillers_added++,$this.before($(''));_page++}else $this.data("page",_page)});$the_gallery_items.filter(function(){return 1==$(this).data("page")}).show();$the_gallery_items.filter(function(){return 1!=$(this).data("page")}).hide()},window.set_gallery_grid_pages=function($the_gallery,pages){if($pagination=$the_gallery.find(".et_pb_gallery_pagination"),$pagination.length)if($pagination.html(""),pages<=1)$pagination.hide();else{$pagination_list=$pagination.children("ul"),$pagination_list.append(''+et_pb_custom.prev+"");for(var page=1;page<=pages;page++){var first_page_class=1===page?" active":"",last_page_class=page===pages?" last-page":"",hidden_page_class=page>=5?' style="display:none;"':"";$pagination_list.append("'+page+"")}$pagination_list.append(''+et_pb_custom.next+"")}},window.set_gallery_hash=function($the_gallery){if($the_gallery.attr("id")){var this_gallery_state=[];this_gallery_state.push($the_gallery.attr("id")),$the_gallery.find(".et_pb_gallery_pagination a.active").length?this_gallery_state.push($the_gallery.find(".et_pb_gallery_pagination a.active").data("page")):this_gallery_state.push(1),et_set_hash(this_gallery_state=this_gallery_state.join(et_hash_module_param_seperator))}},window.et_pb_gallery_init=function($the_gallery){$the_gallery.hasClass("et_pb_gallery_grid")&&($the_gallery.show(),set_gallery_grid_items($the_gallery),$the_gallery.on("et_hashchange",function(event){var params=event.params;$the_gallery=$("#"+event.target.id),(page_to=params[0])&&($the_gallery.find(".et_pb_gallery_pagination a.page-"+page_to).hasClass("active")||$the_gallery.find(".et_pb_gallery_pagination a.page-"+page_to).addClass("active").click())}))},$et_pb_gallery.each(function(){var $the_gallery=$(this);et_pb_gallery_init($the_gallery)}),$et_pb_gallery.data("paginating",!1),window.et_pb_gallery_pagination_nav=function($the_gallery){$the_gallery.on("click",".et_pb_gallery_pagination a",function(e){e.preventDefault();var to_page=$(this).data("page"),$the_gallery=$(this).parents(".et_pb_gallery"),$the_gallery_items_container=$the_gallery.find(".et_pb_gallery_items"),$the_gallery_items=$the_gallery_items_container.find(".et_pb_gallery_item");if(!$the_gallery.data("paginating")){$the_gallery.data("paginating",!0),$(this).hasClass("page-prev")?to_page=parseInt($(this).parents("ul").find("a.active").data("page"))-1:$(this).hasClass("page-next")&&(to_page=parseInt($(this).parents("ul").find("a.active").data("page"))+1),$(this).parents("ul").find("a").removeClass("active"),$(this).parents("ul").find("a.page-"+to_page).addClass("active");var current_index=$(this).parents("ul").find("a.page-"+to_page).parent().index(),total_pages=$(this).parents("ul").find("li.page").length;$(this).parent().nextUntil(".page-"+(current_index+3)).show(),$(this).parent().prevUntil(".page-"+(current_index-3)).show(),$(this).parents("ul").find("li.page").each(function(i){$(this).hasClass("prev")||$(this).hasClass("next")||(icurrent_index+1?$(this).hide():$(this).show(),total_pages-current_index<=2&&total_pages-i<=5?$(this).show():current_index<=3&&i<=4&&$(this).show())}),to_page>1?$(this).parents("ul").find("li.prev").show():$(this).parents("ul").find("li.prev").hide(),$(this).parents("ul").find("a.active").hasClass("last-page")?$(this).parents("ul").find("li.next").hide():$(this).parents("ul").find("li.next").show(),$the_gallery_items.hide();$the_gallery_items.filter(function(index){return $(this).data("page")===to_page}).show();$the_gallery.data("paginating",!1),window.et_pb_set_responsive_grid($the_gallery_items_container,".et_pb_gallery_item"),setTimeout(function(){set_gallery_hash($the_gallery)},100),$("html, body").animate({scrollTop:$the_gallery.offset().top-200},200)}})},et_pb_gallery_pagination_nav($et_pb_gallery),is_frontend_builder&&et_pb_gallery_pagination_nav($("#et-fb-app"))),$et_pb_counter_amount.length&&$et_pb_counter_amount.each(function(){window.et_bar_counters_init($(this))}),window.et_countdown_timer=function(timer){var seconds_left=parseInt(timer.attr("data-end-timestamp"))-(new Date).getTime()/1e3;days=parseInt(seconds_left/86400),days=days>0?days:0,seconds_left%=86400,hours=parseInt(seconds_left/3600),hours=hours>0?hours:0,seconds_left%=3600,minutes=parseInt(seconds_left/60),minutes=minutes>0?minutes:0,seconds=parseInt(seconds_left%60),seconds=seconds>0?seconds:0;var $days_section=timer.find(".days > .value").parent(".section"),$hours_section=timer.find(".hours > .value").parent(".section"),$minutes_section=timer.find(".minutes > .value").parent(".section"),$seconds_section=timer.find(".seconds > .value").parent(".section");0==days?$days_section.hasClass("zero")||timer.find(".days > .value").html("000").parent(".section").addClass("zero").next().addClass("zero"):(days_slice=days.toString().length>=3?days.toString().length:3,timer.find(".days > .value").html(("000"+days).slice(-days_slice)),$days_section.hasClass("zero")&&$days_section.removeClass("zero").next().removeClass("zero")),0==days&&0==hours?$hours_section.hasClass("zero")||timer.find(".hours > .value").html("00").parent(".section").addClass("zero").next().addClass("zero"):(timer.find(".hours > .value").html(("0"+hours).slice(-2)),$hours_section.hasClass("zero")&&$hours_section.removeClass("zero").next().removeClass("zero")),0==days&&0==hours&&0==minutes?$minutes_section.hasClass("zero")||timer.find(".minutes > .value").html("00").parent(".section").addClass("zero").next().addClass("zero"):(timer.find(".minutes > .value").html(("0"+minutes).slice(-2)),$minutes_section.hasClass("zero")&&$minutes_section.removeClass("zero").next().removeClass("zero")),0==days&&0==hours&&0==minutes&&0==seconds?$seconds_section.hasClass("zero")||timer.find(".seconds > .value").html("00").parent(".section").addClass("zero"):(timer.find(".seconds > .value").html(("0"+seconds).slice(-2)),$seconds_section.hasClass("zero")&&$seconds_section.removeClass("zero").next().removeClass("zero"))},window.et_countdown_timer_labels=function(timer){timer.closest(".et_pb_column_3_8").length||timer.closest(".et_pb_column_1_4").length||timer.children(".et_pb_countdown_timer_container").width()<=400?(timer.find(".days .label").html(timer.find(".days").data("short")),timer.find(".hours .label").html(timer.find(".hours").data("short")),timer.find(".minutes .label").html(timer.find(".minutes").data("short")),timer.find(".seconds .label").html(timer.find(".seconds").data("short"))):(timer.find(".days .label").html(timer.find(".days").data("full")),timer.find(".hours .label").html(timer.find(".hours").data("full")),timer.find(".minutes .label").html(timer.find(".minutes").data("full")),timer.find(".seconds .label").html(timer.find(".seconds").data("full")))},($et_pb_countdown_timer.length||is_frontend_builder)&&(window.et_pb_countdown_timer_init=function($et_pb_countdown_timer){$et_pb_countdown_timer.each(function(){var timer=$(this);et_countdown_timer_labels(timer),et_countdown_timer(timer),setInterval(function(){et_countdown_timer(timer)},1e3)})},et_pb_countdown_timer_init($et_pb_countdown_timer)),($et_pb_tabs.length||is_frontend_builder)&&(window.et_pb_tabs_init=function($et_pb_tabs){var $et_pb_tabs_li=$et_pb_tabs.find(".et_pb_tabs_controls li");$et_pb_tabs.et_pb_simple_slider({use_controls:!1,use_arrows:!1,slide:".et_pb_all_tabs > div",tabs_animation:!0}).on("et_hashchange",function(event){var params=event.params,$the_tabs=$("#"+event.target.id),active_tab=params[0];$the_tabs.find(".et_pb_tabs_controls li").eq(active_tab).hasClass("et_pb_tab_active")||$the_tabs.find(".et_pb_tabs_controls li").eq(active_tab).click()}),$et_pb_tabs_li.click(function(){var $this_el=$(this),$tabs_container=$this_el.closest(".et_pb_tabs").data("et_pb_simple_slider");if($tabs_container.et_animation_running)return!1;if($this_el.addClass("et_pb_tab_active").siblings().removeClass("et_pb_tab_active"),$tabs_container.data("et_pb_simple_slider").et_slider_move_to($this_el.index()),$this_el.closest(".et_pb_tabs").attr("id")){var tab_state=[];tab_state.push($this_el.closest(".et_pb_tabs").attr("id")),tab_state.push($this_el.index()),et_set_hash(tab_state=tab_state.join(et_hash_module_param_seperator))}return!1}),window.et_pb_set_tabs_height()},window.et_pb_tabs_init($et_pb_tabs)),($et_pb_map.length||is_frontend_builder)&&(window.et_pb_map_init=function($this_map_container){if("undefined"!=typeof google&&void 0!==google.maps){var infowindow_active,$this_map=$this_map_container.children(".et_pb_map"),this_map_grayscale=$this_map_container.attr("data-grayscale")||0,is_draggable=et_is_mobile_device&&"off"!==$this_map.data("mobile-dragging")||!et_is_mobile_device;0!==this_map_grayscale&&(this_map_grayscale="-"+this_map_grayscale.toString()),$this_map_container.data("map",new google.maps.Map($this_map[0],{zoom:parseInt($this_map.attr("data-zoom")),center:new google.maps.LatLng(parseFloat($this_map.attr("data-center-lat")),parseFloat($this_map.attr("data-center-lng"))),mapTypeId:google.maps.MapTypeId.ROADMAP,scrollwheel:"on"==$this_map.attr("data-mouse-wheel"),draggable:is_draggable,panControlOptions:{position:$this_map_container.is(".et_beneath_transparent_nav")?google.maps.ControlPosition.LEFT_BOTTOM:google.maps.ControlPosition.LEFT_TOP},zoomControlOptions:{position:$this_map_container.is(".et_beneath_transparent_nav")?google.maps.ControlPosition.LEFT_BOTTOM:google.maps.ControlPosition.LEFT_TOP},styles:[{stylers:[{saturation:parseInt(this_map_grayscale)}]}]})),$this_map_container.find(".et_pb_map_pin").each(function(){var $this_marker=$(this),marker=new google.maps.Marker({position:new google.maps.LatLng(parseFloat($this_marker.attr("data-lat")),parseFloat($this_marker.attr("data-lng"))),map:$this_map_container.data("map"),title:$this_marker.attr("data-title"),icon:{url:et_pb_custom.builder_images_uri+"/marker.png",size:new google.maps.Size(46,43),anchor:new google.maps.Point(16,43)},shape:{coord:[1,1,46,43],type:"rect"},anchorPoint:new google.maps.Point(0,-45)});if($this_marker.find(".infowindow").length){var infowindow=new google.maps.InfoWindow({content:$this_marker.html()});google.maps.event.addListener($this_map_container.data("map"),"click",function(){infowindow.close()}),google.maps.event.addListener(marker,"click",function(){infowindow_active&&infowindow_active.close(),infowindow_active=infowindow,infowindow.open($this_map_container.data("map"),marker)})}})}},window.et_load_event_fired?et_pb_init_maps():"undefined"!=typeof google&&void 0!==google.maps&&google.maps.event.addDomListener(window,"load",function(){et_pb_init_maps()})),$et_pb_shop.length&&$et_pb_shop.each(function(){var $this_el=$(this),icon=$this_el.data("icon")||"";if(""===icon)return!0;$this_el.find(".et_overlay").attr("data-icon",icon).addClass("et_pb_inline_icon")}),($et_pb_circle_counter.length||is_frontend_builder||$(".et_pb_ajax_pagination_container").length>0)&&(window.et_pb_circle_counter_init=function($the_counter,animate){$the_counter.width()<=0||$the_counter.easyPieChart({animate:{duration:1800,enabled:!0},size:0!==$the_counter.width()?$the_counter.width():10,barColor:$the_counter.data("bar-bg-color"),trackColor:$the_counter.data("color")||"#000000",trackAlpha:$the_counter.data("alpha")||"0.1",scaleColor:!1,lineWidth:5,onStart:function(){$(this.el).find(".percent p").css({visibility:"visible"})},onStep:function(from,to,percent){$(this.el).find(".percent-value").text(Math.round(parseInt(percent)))},onStop:function(from,to){$(this.el).find(".percent-value").text($(this.el).data("number-value"))}})},window.et_pb_reinit_circle_counters=function($et_pb_circle_counter){$et_pb_circle_counter.each(function(){var $the_counter=$(this);window.et_pb_circle_counter_init($the_counter,!1),$the_counter.on("containerWidthChanged",function(event){($the_counter=$(event.target)).find("canvas").remove(),$the_counter.removeData("easyPieChart"),window.et_pb_circle_counter_init($the_counter,!0)})})},window.et_pb_reinit_circle_counters($et_pb_circle_counter)),($et_pb_number_counter.length||is_frontend_builder||$(".et_pb_ajax_pagination_container").length>0)&&(window.et_pb_reinit_number_counters=function($et_pb_number_counter){function et_format_number(number_value,separator){return number_value.toString().replace(/\B(?=(\d{3})+(?!\d))/g,separator)}var is_firefox=$("body").hasClass("gecko");$.fn.fitText&&$et_pb_number_counter.find(".percent p").fitText(.3),$et_pb_number_counter.each(function(){var $this_counter=$(this),separator=$this_counter.data("number-separator");$this_counter.easyPieChart({animate:{duration:1800,enabled:!0},size:is_firefox?1:0,trackColor:!1,scaleColor:!1,lineWidth:0,onStart:function(){$(this.el).addClass("active")},onStep:function(from,to,percent){percent!=to&&$(this.el).find(".percent-value").text(et_format_number(Math.round(parseInt(percent)),separator))},onStop:function(from,to){$(this.el).find(".percent-value").text(et_format_number($(this.el).data("number-value"),separator))}})})},window.et_pb_reinit_number_counters($et_pb_number_counter)),window.et_apply_parallax=function(){if($(this).length&&void 0!==$(this)&&void 0!==$(this).offset()){var main_position,$this=$(this),element_top=$this.offset().top;main_position="translate(0, "+.3*($et_window.scrollTop()+$et_window.height()-element_top)+"px)",$this.children(".et_parallax_bg").css({"-webkit-transform":main_position,"-moz-transform":main_position,"-ms-transform":main_position,transform:main_position})}},window.et_parallax_set_height=function(){var bg_height,$this=$(this);bg_height=.3*$et_window.height()+$this.innerHeight(),$this.find(".et_parallax_bg").css({height:bg_height})},$("body").on("click",".et_pb_toggle_title, .et_fb_toggle_overlay",function(){var $accordion_active_toggle,module_offset,$module=$(this).closest(".et_pb_toggle"),$section=$module.parents(".et_pb_section"),$content=$module.find(".et_pb_toggle_content"),$accordion=$module.closest(".et_pb_accordion"),is_accordion=$accordion.length,is_accordion_toggling=$accordion.hasClass("et_pb_accordion_toggling"),window_offset_top=$(window).scrollTop(),fixed_header_height=0,initial_toggle_state=$module.hasClass("et_pb_toggle_close")?"closed":"opened";if(is_accordion){if($module.hasClass("et_pb_toggle_open")||is_accordion_toggling)return!1;$accordion.addClass("et_pb_accordion_toggling"),$accordion_active_toggle=$module.siblings(".et_pb_toggle_open")}$content.is(":animated")||($("body").hasClass("safari")?$content.fadeToggle(700,function(){et_toggle_animation_callback(initial_toggle_state,$module,$section)}):$content.slideToggle(700,function(){et_toggle_animation_callback(initial_toggle_state,$module,$section)}),is_accordion&&$accordion_active_toggle.find(".et_pb_toggle_content").slideToggle(700,function(){$accordion_active_toggle.removeClass("et_pb_toggle_open").addClass("et_pb_toggle_close"),$accordion.removeClass("et_pb_accordion_toggling"),module_offset=$module.offset(),$("#wpadminbar").length&&(fixed_header_height+=$("#wpadminbar").height()),$("#top-header").length&&(fixed_header_height+=$("#top-header").height()),$("#main-header").length&&!window.et_is_vertical_nav&&(fixed_header_height+=$("#main-header").height()),window_offset_top+fixed_header_height>module_offset.top&&$("html, body").animate({scrollTop:module_offset.top-fixed_header_height-50})}))});var et_email_reg_html5=/^[a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/,$et_contact_container=$(".et_pb_contact_form_container");$et_contact_container.length&&$et_contact_container.each(function(){var $this_contact_container=$(this),$et_contact_form=$this_contact_container.find("form"),redirect_url=($this_contact_container.find("input.et_pb_contact_submit"),$et_contact_form.find("input[type=text], .et_pb_checkbox_handle, input[type=radio]:checked, textarea, .et_pb_contact_select"),void 0!==$this_contact_container.data("redirect_url")?$this_contact_container.data("redirect_url"):"");$et_contact_form.find("input[type=checkbox]").on("change",function(){var $checkbox=$(this),$checkbox_field=$checkbox.siblings("input[type=text]:first"),is_checked=$checkbox.prop("checked");$checkbox_field.val(is_checked?$checkbox_field.data("checked"):$checkbox_field.data("unchecked"))}),$et_contact_form.on("submit",function(event){var $this_contact_form=$(this),$this_inputs=$this_contact_form.find('input[type=text], .et_pb_checkbox_handle, .et_pb_contact_field[data-type="radio"], textarea, select'),this_et_contact_error=!1,$et_contact_message=$this_contact_form.closest(".et_pb_contact_form_container").find(".et-pb-contact-message"),et_message="",et_fields_message="",$this_contact_container=$this_contact_form.closest(".et_pb_contact_form_container"),$captcha_field=$this_contact_form.find(".et_pb_contact_captcha"),form_unique_id=void 0!==$this_contact_container.data("form_unique_num")?$this_contact_container.data("form_unique_num"):0,inputs_list=[];et_message="",$this_inputs.removeClass("et_contact_error");var hidden_fields=[];if($this_inputs.each(function(){var $this_el=$(this),$this_wrapper=!1;"checkbox"===$this_el.data("field_type")&&($this_wrapper=$this_el.parents(".et_pb_contact_field")).removeClass("et_contact_error"),"radio"===$this_el.data("type")&&($this_wrapper=($this_el=$this_el.find('input[type="radio"]')).parents(".et_pb_contact_field"));var default_value,this_id=$this_el.attr("id"),this_val=$this_el.val(),this_label=$this_el.siblings("label:first").text(),field_type=void 0!==$this_el.data("field_type")?$this_el.data("field_type"):"text",required_mark=void 0!==$this_el.data("required_mark")?$this_el.data("required_mark"):"not_required",original_id=void 0!==$this_el.data("original_id")?$this_el.data("original_id"):"",unchecked=!1;if("radio"===field_type){if(0!==$this_wrapper.find('input[type="radio"]').length){field_type="radio";var $firstRadio=$this_wrapper.find('input[type="radio"]:first');required_mark=void 0!==$firstRadio.data("required_mark")?$firstRadio.data("required_mark"):"not_required",this_val="",$this_wrapper.find('input[type="radio"]:checked')&&(this_val=$this_wrapper.find('input[type="radio"]:checked').val())}this_label=$this_wrapper.find(".et_pb_contact_form_label").text(),this_id=$this_wrapper.find('input[type="radio"]:first').attr("name"),original_id=$this_wrapper.attr("data-id"),0===$this_wrapper.find('input[type="radio"]:checked').length&&(unchecked=!0)}if("checkbox"===field_type){if(this_val="",0!==$this_wrapper.find('input[type="checkbox"]').length){field_type="checkbox";var $checkboxHandle=$this_wrapper.find(".et_pb_checkbox_handle");required_mark=void 0!==$checkboxHandle.data("required_mark")?$checkboxHandle.data("required_mark"):"not_required",$this_wrapper.find('input[type="checked"]:checked')&&(this_val=[],$this_wrapper.find('input[type="checkbox"]:checked').each(function(){this_val.push($(this).val())}),this_val=this_val.join(", "))}$this_wrapper.find(".et_pb_checkbox_handle").val(this_val),this_label=$this_wrapper.find(".et_pb_contact_form_label").text(),this_id=$this_wrapper.find(".et_pb_checkbox_handle").attr("name"),original_id=$this_wrapper.attr("data-id"),0===$this_wrapper.find('input[type="checkbox"]:checked').length&&(unchecked=!0)}if(this_label=this_label.replace(/"/g,"""),$this_el.is(":visible")||"hidden"===$this_el.attr("type")||"radio"===$this_el.attr("type"))if("hidden"!==$this_el.attr("type")&&"radio"!==$this_el.attr("type")||$this_el.parents(".et_pb_contact_field").is(":visible")){if(void 0!==this_id&&inputs_list.push({field_id:this_id,original_id:original_id,required_mark:required_mark,field_type:field_type,field_label:this_label}),"required"!==required_mark||""!==this_val&&!0!==unchecked||(!1===$this_wrapper?$this_el.addClass("et_contact_error"):$this_wrapper.addClass("et_contact_error"),this_et_contact_error=!0,""===(default_value=this_label)&&(default_value=et_pb_custom.captcha),et_fields_message+="- "+default_value+"
"),"email"===field_type){var processed_email=this_val.trim().toLowerCase(),is_valid_email=et_email_reg_html5.test(processed_email);""===processed_email||this_label===processed_email||is_valid_email||($this_el.addClass("et_contact_error"),this_et_contact_error=!0,is_valid_email||(et_message+="- "+et_pb_custom.invalid+"
"))}}else hidden_fields.push(original_id);else hidden_fields.push(original_id)}),$captcha_field.length&&""!==$captcha_field.val()){var first_digit=parseInt($captcha_field.data("first_digit")),second_digit=parseInt($captcha_field.data("second_digit"));parseInt($captcha_field.val())!==first_digit+second_digit&&(et_message+="- "+et_pb_custom.wrong_captcha+"
",this_et_contact_error=!0,first_digit=Math.floor(15*Math.random()+1),second_digit=Math.floor(15*Math.random()+1),$captcha_field.data("first_digit",first_digit),$captcha_field.data("second_digit",second_digit),$this_contact_form.find(".et_pb_contact_captcha_question").empty().append(first_digit+" + "+second_digit))}if(!this_et_contact_error){var $href=$(this).attr("action"),form_data=$(this).serializeArray();form_data.push({name:"et_pb_contact_email_fields_"+form_unique_id,value:JSON.stringify(inputs_list)}),hidden_fields.length>0&&form_data.push({name:"et_pb_contact_email_hidden_fields_"+form_unique_id,value:JSON.stringify(hidden_fields)}),$this_contact_container.removeClass("et_animated").removeAttr("style").fadeTo("fast",.2,function(){$this_contact_container.load($href+" #"+$this_contact_form.closest(".et_pb_contact_form_container").attr("id")+"> *",form_data,function(responseText){$(responseText).find(".et_pb_contact_error_text").length||(et_pb_maybe_log_event($this_contact_container,"con_goal"),""!==redirect_url&&(window.location.href=redirect_url)),$this_contact_container.fadeTo("fast",1)})})}et_message+="
",""!==et_fields_message&&(""!=et_message&&(et_message=''+et_pb_custom.contact_error_message+"
"+et_message),et_fields_message="",et_fields_message=""+et_pb_custom.fill_message+"
"+et_fields_message,et_message=et_fields_message+et_message),""!=et_message&&($et_contact_message.html(et_message),$this_contact_container.parents(".et_pb_section_parallax").length&&$this_contact_container.parents(".et_pb_section_parallax").each(function(){!$(this).children(".et_parallax_bg").hasClass("et_pb_parallax_css")&&$et_window.trigger("resize")})),event.preventDefault()})}),window.et_pb_play_overlayed_video=function($play_video){var video_iframe_src,video_iframe_src_splitted,video_iframe_src_autoplay,$this=$play_video,$video_image=$this.closest(".et_pb_video_overlay"),$wrapper=$this.closest(".et_pb_video, .et_main_video_container, .et_pb_video_wrap"),$video_iframe=$wrapper.find("iframe");if(!!$video_iframe.length){if(video_iframe_src=$video_iframe.attr("src"),video_iframe_src_splitted=video_iframe_src.split("?"),-1!==video_iframe_src.indexOf("autoplay="))return;video_iframe_src_autoplay=void 0!==video_iframe_src_splitted[1]?video_iframe_src_splitted[0]+"?autoplay=1&"+video_iframe_src_splitted[1]:video_iframe_src_splitted[0]+"?autoplay=1",$video_iframe.attr({src:video_iframe_src_autoplay})}else $wrapper.find("video").get(0).play();$video_image.fadeTo(500,0,function(){$(this).css("display","none")})},$(".et_pb_post .et_pb_video_overlay, .et_pb_video .et_pb_video_overlay, .et_pb_video_wrap .et_pb_video_overlay").click(function(){var $this=$(this);return et_pb_play_overlayed_video($this),!1}),window.et_pb_resize_section_video_bg=function($video){$element=void 0!==$video?$video.closest(".et_pb_section_video_bg"):$(".et_pb_section_video_bg"),$element.each(function(){var $this_el=$(this);is_frontend_builder&&($this_el.removeAttr("data-ratio"),$this_el.find("video").removeAttr("style"));var width,height,el_ratio=parseFloat($this_el.attr("data-ratio")),el_width=parseInt($this_el.find("video").attr("width")||$this_el.find("video").width()),el_height=parseInt($this_el.find("video").attr("height")||$this_el.find("video").height()),ratio=isNaN(el_ratio)?el_width/el_height:el_ratio,$video_elements=$this_el.find(".mejs-video, video, object").css("margin",0),$container=$this_el.closest(".et_pb_section_video").length?$this_el.closest(".et_pb_section_video"):$this_el.closest(".et_pb_slides"),body_width=$container.innerWidth(),container_height=$container.innerHeight();void 0!==$this_el.attr("data-ratio")||isNaN(ratio)||$this_el.attr("data-ratio",ratio),body_width/container_height0&&redirect_query.indexOf("name")>-1&&(query.name=$name.val()),$lastname.length>0&&redirect_query.indexOf("last_name")>-1&&(query.last_name=$lastname.val()),redirect_query.indexOf("email")>-1&&(query.email=$email.val()),redirect_query.indexOf("ip_address")>-1&&(query.ip_address=$newsletter_container.data("ip_address")),redirect_query.indexOf("css_id")>-1&&(query.form_id=$newsletter_container.attr("id")),decodeURIComponent($.param(query))):""}if($submit.closest(".et_pb_login_form").length||$submit.closest(".et_pb_feedburner_form").length)et_pb_maybe_log_event($submit.closest(".et_pb_newsletter"),"con_goal");else{void 0!==event&&event.preventDefault();var $newsletter_container=$submit.closest(".et_pb_newsletter"),$name=$newsletter_container.find('input[name="et_pb_signup_firstname"]'),$lastname=$newsletter_container.find('input[name="et_pb_signup_lastname"]'),$email=$newsletter_container.find('input[name="et_pb_signup_email"]'),list_id=$newsletter_container.find('input[name="et_pb_signup_list_id"]').val(),$error_message=$newsletter_container.find(".et_pb_newsletter_error").hide(),provider=$newsletter_container.find('input[name="et_pb_signup_provider"]').val(),account=$newsletter_container.find('input[name="et_pb_signup_account_name"]').val(),$success_message=$newsletter_container.find(".et_pb_newsletter_success"),redirect_url=$newsletter_container.data("redirect_url"),redirect_query=$newsletter_container.data("redirect_query");$name.removeClass("et_pb_signup_error"),$lastname.removeClass("et_pb_signup_error"),$email.removeClass("et_pb_signup_error"),$error_message.html("");var is_valid=!0;$name.length>0&&!$name.val()&&($name.addClass("et_pb_signup_error"),is_valid=!1),$lastname.length>0&&!$lastname.val()&&($lastname.addClass("et_pb_signup_error"),is_valid=!1),et_email_reg_html5.test($email.val())||($email.addClass("et_pb_signup_error"),is_valid=!1),is_valid&&$.ajax({type:"POST",url:et_pb_custom.ajaxurl,dataType:"json",data:{action:"et_pb_submit_subscribe_form",et_frontend_nonce:et_pb_custom.et_frontend_nonce,et_list_id:list_id,et_firstname:$name.val(),et_lastname:$lastname.val(),et_email:$email.val(),et_provider:provider,et_account:account},beforeSend:function(){$newsletter_container.find(".et_pb_newsletter_button").addClass("et_pb_button_text_loading").find(".et_subscribe_loader").show()},complete:function(){$newsletter_container.find(".et_pb_newsletter_button").removeClass("et_pb_button_text_loading").find(".et_subscribe_loader").hide()},success:function(data){data?(data.error&&$error_message.show().append("").text(data.error),data.success&&(redirect_url?et_pb_maybe_log_event($newsletter_container,"con_goal",function(){var query=get_redirect_query();redirect_url.indexOf("?")>-1?redirect_url+="&":redirect_url+="?",window.location=redirect_url+query}):(et_pb_maybe_log_event($newsletter_container,"con_goal"),$newsletter_container.find(".et_pb_newsletter_form > p").hide(),$success_message.show()))):$error_message.html(et_pb_custom.subscription_failed).show()}})}},window.et_fix_testimonial_inner_width=function(){var window_width=$(window).width();window_width>959?$(".et_pb_testimonial").each(function(){if($(this).is(":visible")){var $testimonial=$(this),portrait_width=$testimonial.find(".et_pb_testimonial_portrait").outerWidth(!0),$testimonial_descr=$testimonial.find(".et_pb_testimonial_description"),$outer_column=$testimonial.closest(".et_pb_column"),testimonial_indent=$outer_column.hasClass("et_pb_column_1_3")||$outer_column.hasClass("et_pb_column_1_4")||$outer_column.hasClass("et_pb_column_3_8")?0:portrait_width;$testimonial_descr.css("margin-left",testimonial_indent)}}):window_width>767?$(".et_pb_testimonial").each(function(){if($(this).is(":visible")){var $testimonial=$(this),portrait_width=$testimonial.find(".et_pb_testimonial_portrait").outerWidth(!0),$testimonial_descr=$testimonial.find(".et_pb_testimonial_description"),$outer_column=$testimonial.closest(".et_pb_column"),testimonial_indent=$outer_column.hasClass("et_pb_column_1_4")||$outer_column.hasClass("et_pb_column_3_8")?0:portrait_width;$testimonial_descr.css("margin-left",testimonial_indent)}}):$(".et_pb_testimonial_description").removeAttr("style")},window.et_fix_testimonial_inner_width(),window.et_pb_video_background_init=function($this_video_background,this_video_background){var $video_background_wrapper=$this_video_background.closest(".et_pb_section_video_bg"),onplaying=!1,onpause=!0;this_video_background.onplaying=function(){onplaying=!0,onpause=!1},this_video_background.onpause=function(){onplaying=!1,onpause=!0},et_waypoint($video_background_wrapper,{offset:"100%",handler:function(direction){var is_play_outside_viewport=$video_background_wrapper.hasClass("et_pb_video_play_outside_viewport");$this_video_background.is(":visible")&&"down"===direction?this_video_background.paused&&!onplaying&&this_video_background.play():$this_video_background.is(":visible")&&"up"===direction&&(this_video_background.paused||onpause||is_play_outside_viewport||this_video_background.pause())}},2),et_waypoint($video_background_wrapper,{offset:function(){var video_height=this.element.clientHeight,toggle_offset=Math.ceil(window.innerHeight/2);return video_height>toggle_offset&&(toggle_offset=video_height),-1*toggle_offset},handler:function(direction){var is_play_outside_viewport=$video_background_wrapper.hasClass("et_pb_video_play_outside_viewport");$this_video_background.is(":visible")&&"up"===direction?this_video_background.paused&&!onplaying&&this_video_background.play():$this_video_background.is(":visible")&&"down"===direction&&(this_video_background.paused||onpause||is_play_outside_viewport||this_video_background.pause())}},2)},window.et_reinit_waypoint_modules=et_pb_debounce(function(){var $et_pb_circle_counter=$(".et_pb_circle_counter"),$et_pb_number_counter=$(".et_pb_number_counter"),$et_pb_video_background=$(".et_pb_section_video_bg video");if($.fn.waypoint&&"yes"!==et_pb_custom.ignore_waypoints)et_process_animation_data(!0),$(".et_pb_counter_container, .et-waypoint").each(function(){et_waypoint($(this),{offset:et_get_offset($(this),"100%"),handler:function(){$(this.element).addClass("et-animated")}},2)}),$et_pb_circle_counter.length&&$et_pb_circle_counter.each(function(){var $this_counter=$(this);$this_counter.is(":visible")&&!et_has_animation_data($this_counter)&&et_waypoint($this_counter,{offset:et_get_offset($(this),"100%"),handler:function(){$this_counter.data("PieChartHasLoaded")||void 0===$this_counter.data("easyPieChart")||($this_counter.data("easyPieChart").update($this_counter.data("number-value")),$this_counter.data("PieChartHasLoaded",!0))}},2)}),$et_pb_number_counter.length&&$et_pb_number_counter.each(function(){var $this_counter=$(this);et_has_animation_data($this_counter)||et_waypoint($this_counter,{offset:et_get_offset($(this),"100%"),handler:function(){$this_counter.data("easyPieChart").update($this_counter.data("number-value"))}})}),$(".et_pb_ab_goal").length&&et_waypoint($et_pb_ab_goal=$(".et_pb_ab_goal"),{offset:et_get_offset($(this),"80%"),handler:function(){!et_pb_ab_logged_status.read_goal&&$et_pb_ab_goal.length&&$et_pb_ab_goal.visible(!0)&&(setTimeout(function(){$et_pb_ab_goal.length&&$et_pb_ab_goal.visible(!0)&&!et_pb_ab_logged_status.read_goal&&et_pb_ab_update_stats("read_goal")},3e3),et_pb_maybe_log_event($et_pb_ab_goal,"view_goal"))}});else if(et_process_animation_data(!1),$(".et_pb_counter_container, .et-waypoint").addClass("et-animated"),$et_pb_circle_counter.length&&$et_pb_circle_counter.each(function(){var $this_counter=$(this);$this_counter.is(":visible")&&($this_counter.data("PieChartHasLoaded")||($this_counter.data("easyPieChart").update($this_counter.data("number-value")),$this_counter.data("PieChartHasLoaded",!0)))}),$et_pb_number_counter.length&&$et_pb_number_counter.each(function(){var $this_counter=$(this);$this_counter.data("easyPieChart").update($this_counter.data("number-value"))}),$(".et_pb_ab_goal").length){var $et_pb_ab_goal=$(".et_pb_ab_goal");if(et_pb_ab_logged_status.read_goal||!$et_pb_ab_goal.length||!$et_pb_ab_goal.visible(!0))return;setTimeout(function(){$et_pb_ab_goal.length&&$et_pb_ab_goal.visible(!0)&&!et_pb_ab_logged_status.read_goal&&et_pb_ab_update_stats("read_goal")},3e3),et_pb_maybe_log_event($et_pb_ab_goal,"view_goal")}$et_pb_video_background.length&&$et_pb_video_background.each(function(){var $this_video_background=$(this);et_pb_video_background_init($this_video_background,this)})},100);var fullscreen_section_width={},fullscreen_section_timeout={};if(window.et_calc_fullscreen_section=function(event){var isResizing="object"==typeof event&&"resize"===event.type,$et_window=$(window),$this_section=$(this),section_index=$this_section.index(".et_pb_fullscreen"),timeout=isResizing&&void 0!==fullscreen_section_width[section_index]&&event.target.window_width>fullscreen_section_width[section_index]?800:0;fullscreen_section_width[section_index]=$et_window.width(),void 0!==fullscreen_section_timeout[section_index]&&clearTimeout(fullscreen_section_timeout[section_index]),fullscreen_section_timeout[section_index]=setTimeout(function(){var $body=$("body"),this_section_index=$this_section.index(".et_pb_fullwidth_header"),this_section_offset=$this_section.offset(),$header=$this_section.children(".et_pb_fullwidth_header_container"),$header_content=$header.children(".header-content-container"),$header_image=$header.children(".header-image-container"),sectionHeight=window.innerHeight||$et_window.height(),$wpadminbar=$("#wpadminbar"),has_wpadminbar=$wpadminbar.length,wpadminbar_height=has_wpadminbar?$wpadminbar.height():0,$top_header=$("#top-header"),has_top_header=$top_header.length,top_header_height=has_top_header?$top_header.height():0,$main_header=$("#main-header"),has_main_header=$main_header.length,main_header_height=has_main_header?$main_header.outerHeight():0,fixed_main_header_height=et_pb_get_fixed_main_header_height(),is_wp_relative_admin_bar=(this_section_offset.top,$et_window.width()<782),is_desktop_view=$et_window.width()>980,overall_header_height=($et_window.width()<=980&&$et_window.width(),$et_window.width(),window.et_is_vertical_nav&&is_desktop_view?wpadminbar_height+top_header_height:wpadminbar_height+top_header_height+main_header_height),is_first_module=this_section_offset.top<=overall_header_height;$main_header.attr("data-height-onload")&&(main_header_height=parseFloat($main_header.attr("data-height-onload"))),has_wpadminbar&&(is_wp_relative_admin_bar?is_first_module&&(sectionHeight-=wpadminbar_height):sectionHeight-=wpadminbar_height),has_top_header&&is_desktop_view&&(et_hide_nav&&!window.et_is_vertical_nav?is_first_module||(sectionHeight-=top_header_height):!window.et_is_fixed_nav||window.et_is_vertical_nav?is_first_module&&(sectionHeight-=top_header_height):sectionHeight-=top_header_height),has_main_header&&(is_desktop_view?et_hide_nav&&!window.et_is_vertical_nav?is_first_module||(sectionHeight-=fixed_main_header_height):window.et_is_fixed_nav&&!window.et_is_vertical_nav?sectionHeight-=is_first_module?main_header_height:fixed_main_header_height:window.et_is_fixed_nav||window.et_is_vertical_nav||is_first_module&&(sectionHeight-=main_header_height):is_first_module&&(sectionHeight-=main_header_height)),$body.hasClass("et_transparent_nav")&&$body.hasClass("et_hide_nav")&&0===this_section_index&&$this_section.css("padding-top","");var section_border_top_width=parseInt($this_section.css("borderTopWidth"));section_border_top_width&&(sectionHeight-=section_border_top_width);var section_border_bottom_width=parseInt($this_section.css("borderBottomWidth"));if(section_border_bottom_width&&(sectionHeight-=section_border_bottom_width),$this_section.css("min-height",sectionHeight+"px"),$header.css("min-height",sectionHeight+"px"),$header.hasClass("center")&&$header_content.hasClass("bottom")&&$header_image.hasClass("bottom")&&$header.addClass("bottom-bottom"),$header.hasClass("center")&&$header_content.hasClass("center")&&$header_image.hasClass("center")&&$header.addClass("center-center"),$header.hasClass("center")&&$header_content.hasClass("center")&&$header_image.hasClass("bottom")){$header.addClass("center-bottom");var contentHeight=sectionHeight-$header_image.outerHeight(!0);contentHeight>0&&$header_content.css("min-height",contentHeight+"px")}$header.hasClass("center")&&$header_content.hasClass("bottom")&&$header_image.hasClass("center")&&$header.addClass("bottom-center"),($header.hasClass("left")||$header.hasClass("right"))&&!$header_content.length&&$header_image.length&&$header.css("justify-content","flex-end"),$header.hasClass("center")&&$header_content.hasClass("bottom")&&!$header_image.length&&$header_content.find(".header-content").css("margin-bottom","80px"),$header_content.hasClass("bottom")&&$header_image.hasClass("center")&&($header_image.find(".header-image").css("margin-bottom","80px"),$header_image.css("align-self","flex-end"))},timeout)},window.et_pb_parallax_init=function($this_parallax){if(!$this_parallax.hasClass("et_pb_parallax_css")){var $this_parent=$this_parallax.parent();$.proxy(et_parallax_set_height,$this_parent)(),$.proxy(et_apply_parallax,$this_parent)(),$et_window.on("scroll",$.proxy(et_apply_parallax,$this_parent)),$et_window.on("resize",$.proxy(et_parallax_set_height,$this_parent)),$et_window.on("resize",$.proxy(et_apply_parallax,$this_parent)),$this_parent.find(".et-learn-more .heading-more").click(function(){setTimeout(function(){$.proxy(et_parallax_set_height,$this_parent)()},300)})}},$(window).resize(function(){var window_width=$et_window.width(),et_container_css_width=$et_container.css("width"),et_container_actual_width=(void 0!==et_container_css_width?"%"!==et_container_css_width.substr(-1,1):"")?$et_container.width():$et_container.width()/100*window_width,containerWidthChanged=et_container_width!==et_container_actual_width;if(et_pb_resize_section_video_bg(),et_pb_center_video(),et_fix_slider_height(),et_fix_nav_direction(),$et_pb_fullwidth_portfolio.each(function(){set_container_height=!!$(this).hasClass("et_pb_fullwidth_portfolio_carousel"),set_fullwidth_portfolio_columns($(this),set_container_height)}),containerWidthChanged){$(".container-width-change-notify").trigger("containerWidthChanged"),setTimeout(function(){$et_pb_filterable_portfolio.each(function(){set_filterable_grid_items($(this))}),$et_pb_gallery.each(function(){$(this).hasClass("et_pb_gallery_grid")&&set_gallery_grid_items($(this))})},100),et_container_width=et_container_actual_width,etRecalculateOffset=!0;var $et_pb_circle_counter=$(".et_pb_circle_counter");$et_pb_circle_counter.length&&$et_pb_circle_counter.each(function(){var $this_counter=$(this);$this_counter.is(":visible")&&void 0!==$this_counter.data("easyPieChart")&&$this_counter.data("easyPieChart").update($this_counter.data("number-value"))}),$et_pb_countdown_timer.length&&$et_pb_countdown_timer.each(function(){var timer=$(this);et_countdown_timer_labels(timer)})}window.et_fix_testimonial_inner_width(),et_audio_module_set(),$et_pb_counter_amount.length&&$et_pb_counter_amount.each(function(){window.et_bar_counters_init($(this))})}),$(window).ready(function(){$.fn.fitVids&&($(".et_pb_slide_video").fitVids(),$(".et_pb_module").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']"})),et_fix_slider_height(),$("section.et_pb_fullscreen").each(function(){var $this_section=$(this);$.proxy(et_calc_fullscreen_section,$this_section)(),$et_window.on("resize",$.proxy(et_calc_fullscreen_section,$this_section))})}),window.et_pb_fullwidth_header_scroll=function(event){event.preventDefault();var window_width=$et_window.width(),$body=$("body"),is_wp_relative_admin_bar=window_width<782,is_transparent_main_header=$body.hasClass("et_transparent_nav"),is_hide_nav=$body.hasClass("et_hide_nav"),is_desktop_view=window_width>980,$this_section=$(this).parents("section"),this_section_offset=$this_section.offset(),$wpadminbar=$("#wpadminbar"),$main_header=$("#main-header"),wpadminbar_height=$wpadminbar.length&&!is_wp_relative_admin_bar?$wpadminbar.height():0,top_header_height=window.et_is_fixed_nav&&is_desktop_view?$top_header.height():0,data_height_onload=void 0===$main_header.attr("data-height-onload")?0:$main_header.attr("data-height-onload");if(initial_fixed_difference=$main_header.height()===et_pb_get_fixed_main_header_height()||!is_desktop_view||!window.et_is_fixed_nav||is_transparent_main_header||is_hide_nav?0:et_pb_get_fixed_main_header_height()-parseFloat(data_height_onload),section_bottom=this_section_offset.top+$this_section.outerHeight(!0)+initial_fixed_difference-(wpadminbar_height+top_header_height+et_pb_get_fixed_main_header_height()),animate_modified=!1,$this_section.length){$("html, body").animate({scrollTop:section_bottom},{duration:800})}},window.et_load_event_fired?et_pb_window_load_scripts():$(window).load(function(){et_pb_window_load_scripts()}),$(".et_section_specialty").length&&$(".et_section_specialty").each(function(){$(this).find(".et_pb_row").find(">.et_pb_column:not(.et_pb_specialty_column)").addClass("et_pb_column_single")}),$(".et_pb_section_parallax").length&&$(".et_pb_map").length&&$("body").addClass("parallax-map-support"),$(".et_pb_widget_area "+et_pb_custom.widget_search_selector).each(function(){var $search_wrap=$(this),$search_input_submit=$search_wrap.find('input[type="submit"]'),search_input_submit_text=$search_input_submit.attr("value"),$search_button=$search_wrap.find("button"),search_button_text=$search_button.text(),has_submit_button=!(!$search_input_submit.length&&!$search_button.length);($search_wrap.find('input[type="text"]').length||$search_wrap.find('input[type="search"]').length)&&(has_submit_button||$search_wrap.addClass("et-no-submit-button"),$search_wrap.width()<150&&$search_wrap.addClass("et-narrow-wrapper"),!$search_input_submit.length||void 0!==search_input_submit_text&&""!==search_input_submit_text||($search_input_submit.remove(),$search_wrap.addClass("et-no-submit-button")),!$search_button.length||void 0!==search_button_text&&""!==search_button_text||($search_button.remove(),$search_wrap.addClass("et-no-submit-button")))}),$("body").on("click",".et_pb_ajax_pagination_container .wp-pagenavi a,.et_pb_ajax_pagination_container .pagination a",function(){var $current_module,this_link=$(this),href=this_link.attr("href"),current_href=window.location.href,module_classes=this_link.closest(".et_pb_module").attr("class").split(" "),module_class_processed="",animation_classes=et_get_animation_classes();return window.et_pb_ajax_pagination_cache=window.et_pb_ajax_pagination_cache||[],$.each(module_classes,function(index,value){-1===$.inArray(value,animation_classes)&&""!==value.trim()&&(module_class_processed+="."+value)}),$current_module=$(module_class_processed),et_remove_animation($current_module),void 0!==window.et_pb_ajax_pagination_cache[href+module_class_processed]?$current_module.fadeTo("slow",.2,function(){$current_module.find(".et_pb_ajax_pagination_container").replaceWith(window.et_pb_ajax_pagination_cache[href+module_class_processed]),et_pb_set_paginated_content($current_module,!0)}):(void 0===window.et_pb_ajax_pagination_cache[current_href+module_class_processed]&&(window.et_pb_ajax_pagination_cache[current_href+module_class_processed]=$current_module.find(".et_pb_ajax_pagination_container")),$current_module.fadeTo("slow",.2,function(){jQuery.get(href,function(page){var $page=jQuery(page),$style=$page.filter("#et-builder-module-design-cached-inline-styles"),$content=$page.find(module_class_processed+" .et_pb_ajax_pagination_container").prepend($style);et_remove_animation($content.find(".et_animated")),$current_module.find(".et_pb_ajax_pagination_container").replaceWith($content),window.et_pb_ajax_pagination_cache[href+module_class_processed]=$content,et_pb_set_paginated_content($current_module,!1)})})),!1}),window.et_pb_search_init=function($search){var $input_field=$search.find(".et_pb_s"),$button=$search.find(".et_pb_searchsubmit"),input_padding=$search.hasClass("et_pb_text_align_right")?"paddingLeft":"paddingRight",disabled_button=$search.hasClass("et_pb_hide_search_button"),buttonHeight=$button.outerHeight(),buttonWidth=$button.outerWidth(),inputHeight=$input_field.innerHeight();$button.css({position:"relative"}),buttonHeight>inputHeight&&$input_field.innerHeight(buttonHeight),disabled_button||$input_field.css(input_padding,buttonWidth+10),$button.css({position:""})},window.et_pb_search_percentage_custom_margin_fix=function($search){var inputMargin=$search.find(".et_pb_s").css("margin").split(" "),inputMarginObj={};switch(inputMargin.length){case 4:inputMarginObj={top:inputMargin[0],right:inputMargin[1],bottom:inputMargin[2],left:inputMargin[3]};break;case 2:inputMarginObj={top:inputMargin[0],right:inputMargin[1],bottom:inputMargin[0],left:inputMargin[1]};break;default:inputMarginObj={top:inputMargin[0],right:inputMargin[0],bottom:inputMargin[0],left:inputMargin[0]}}var inputRight=0-parseFloat(inputMarginObj.left)+"px";$search.find(".et_pb_searchsubmit").css({top:inputMarginObj.top,right:inputRight,bottom:inputMarginObj.bottom})},$(".et_pb_search").length&&$(".et_pb_search").each(function(){var $search=$(this);$search.is(".et_pb_search_percentage_custom_margin")&&et_pb_search_percentage_custom_margin_fix($search),et_pb_search_init($search)}),window.et_pb_comments_init=function($comments_module){var $comments_module_button=$comments_module.find(".comment-reply-link, .submit");$comments_module_button.length&&($comments_module_button.addClass("et_pb_button"),void 0!==$comments_module.attr("data-icon")&&""!==$comments_module.attr("data-icon")&&($comments_module_button.attr("data-icon",$comments_module.attr("data-icon")),$comments_module_button.addClass("et_pb_custom_button_icon")))},$(".et_pb_comments_module").length&&$(".et_pb_comments_module").each(function(){var $comments_module=$(this);et_pb_comments_init($comments_module)}),window.et_fix_pricing_currency_position(),$(".et_pb_contact_form_container").each(function(){var $form=$(this);$form.on("change","input, textarea, select",function(){var trigger_id=$(this).closest("[data-id]").data("id");et_conditional_check($form,trigger_id)}),et_conditional_check($form)}),"undefined"!=typeof et_animation_data&&et_animation_data.length>0){for(var maxFullwidthMenuIndex=0,i=0;i=0?timeout=setTimeout(later,wait-last):(timeout=null,immediate||(result=func.apply(context,args),timeout||(context=args=null)))};return function(){context=this,args=arguments,timestamp=now;var callNow=immediate&&!timeout;return timeout||(timeout=setTimeout(later,wait)),callNow&&(result=func.apply(context,args),context=args=null),result}},et_pb_custom.is_ab_testing_active&&"yes"===et_pb_custom.is_cache_plugin_active?($(window).load(function(){window.et_load_event_fired=!0}),$.ajax({type:"POST",url:et_pb_custom.ajaxurl,dataType:"json",data:{action:"et_pb_ab_get_subject_id",et_frontend_nonce:et_pb_custom.et_frontend_nonce,et_pb_ab_test_id:et_pb_custom.page_id},success:function(subject_data){subject_data&&($(".et_pb_subject_placeholder_id_"+subject_data.id).after(subject_data.content),$(".et_pb_subject_placeholder").remove(),window.et_pb_init_modules(),$("body").trigger("et_pb_ab_subject_ready"))}})):window.et_pb_init_modules(),$(document).ready(function(){(et_pb_box_shadow_elements||[]).map(et_pb_box_shadow_apply_overlay)}),$(window).load(function(){var $body=$("body");if($body.hasClass("safari")){var original_display_value=$body.css("display"),different_display_value="initial"===original_display_value?"block":"initial";$body.css({display:different_display_value}),setTimeout(function(){$body.css({display:original_display_value})},0)}})}(jQuery);
/*!
* jQuery Mobile v1.4.5
* Copyright 2010, 2014 jQuery Foundation, Inc.
* jquery.org/license
*/
!function(e,t,n){"function"==typeof define&&define.amd?define(["jquery"],function(r){return n(r,e,t),r.mobile}):n(e.jQuery,e,t)}(this,document,function(e,t,n,r){(function(e,t,n,r){function T(e){for(;e&&void 0!==e.originalEvent;)e=e.originalEvent;return e}function N(t,n){var s,o,a,l,c,h,p,d,v,i=t.type;if(t=e.Event(t),t.type=n,s=t.originalEvent,o=e.event.props,i.search(/^(mouse|click)/)>-1&&(o=f),s)for(p=o.length,l;p;)l=o[--p],t[l]=s[l];if(i.search(/mouse(down|up)|click/)>-1&&!t.which&&(t.which=1),-1!==i.search(/^touch/)&&(a=T(s),i=a.touches,c=a.changedTouches,h=i&&i.length?i[0]:c&&c.length?c[0]:r))for(d=0,v=u.length;di||Math.abs(n.pageY-p)>i)&&!r&&P("vmousecancel",t,s),P("vmousemove",t,s),_()}}function I(e){if(!g){A();var n,r,t=C(e.target);P("vmouseup",e,t),d||(n=P("vclick",e,t))&&n.isDefaultPrevented()&&(r=T(e).changedTouches[0],v.push({touchID:E,x:r.clientX,y:r.clientY}),m=!0),P("vmouseout",e,t),d=!1,_()}}function q(t){var r,n=e.data(t,i);if(n)for(r in n)if(n[r])return!0;return!1}function R(){}var S,x,i="virtualMouseBindings",s="virtualTouchID",o="vmouseover vmousedown vmousemove vmouseup vclick vmouseout vmousecancel".split(" "),u="clientX clientY pageX pageY screenX screenY".split(" "),a=e.event.mouseHooks?e.event.mouseHooks.props:[],f=e.event.props.concat(a),l={},c=0,h=0,p=0,d=!1,v=[],m=!1,g=!1,y="addEventListener"in n,b=e(n),w=1,E=0;for(e.vmouse={moveDistanceThreshold:10,clickDistanceThreshold:10,resetTimerDuration:1500},x=0;xMath.floor(e.pageY)||0===e.pageX&&Math.floor(i)>Math.floor(e.pageX)?(i-=n,s-=r):(se.event.special.swipe.horizontalDistanceThreshold&&Math.abs(t.coords[1]-n.coords[1])n.coords[0]?"swipeleft":"swiperight";return l(r,"swipe",e.Event("swipe",{target:i,swipestart:t,swipestop:n}),!0),l(r,s,e.Event(s,{target:i,swipestart:t,swipestop:n}),!0),!0}return!1},eventInProgress:!1,setup:function(){var t,n=this,r=e(n),s={};(t=e.data(this,"mobile-events"))||(t={length:0},e.data(this,"mobile-events",t)),t.length++,t.swipe=s,s.start=function(t){if(!e.event.special.swipe.eventInProgress){e.event.special.swipe.eventInProgress=!0;var r,o=e.event.special.swipe.start(t),u=t.target,l=!1;s.move=function(t){o&&!t.isDefaultPrevented()&&(r=e.event.special.swipe.stop(t),l||(l=e.event.special.swipe.handleSwipe(o,r,n,u))&&(e.event.special.swipe.eventInProgress=!1),Math.abs(o.coords[0]-r.coords[0])>e.event.special.swipe.scrollSupressionThreshold&&t.preventDefault())},s.stop=function(){l=!0,e.event.special.swipe.eventInProgress=!1,i.off(f,s.move),s.move=null},i.on(f,s.move).one(a,s.stop)}},r.on(u,s.start)},teardown:function(){var t,n;(t=e.data(this,"mobile-events"))&&(n=t.swipe,delete t.swipe,t.length--,0===t.length&&e.removeData(this,"mobile-events")),n&&(n.start&&e(this).off(u,n.start),n.move&&i.off(f,n.move),n.stop&&i.off(a,n.stop))}},e.each({scrollstop:"scrollstart",taphold:"tap",swipeleft:"swipe.left",swiperight:"swipe.right"},function(t,n){e.event.special[t]={setup:function(){e(this).bind(n,e.noop)},teardown:function(){e(this).unbind(n)}}})}(e,this)});
/*! ET frontend-builder-global-functions.js */
!function($){window.et_pb_smooth_scroll=function($target,$top_section,speed,easing){var $window_width=$(window).width();$("body").hasClass("et_fixed_nav")&&$window_width>980?$menu_offset=$("#top-header").outerHeight()+$("#main-header").outerHeight()-1:$menu_offset=-1,$("#wpadminbar").length&&$window_width>600&&($menu_offset+=$("#wpadminbar").outerHeight()),$scroll_position=$top_section?0:$target.offset().top-$menu_offset,void 0===easing&&(easing="swing"),$("html, body").animate({scrollTop:$scroll_position},speed,easing)},window.et_pb_form_placeholders_init=function($form){$form.find('input:text, input[type="email"], input[type="url"], textarea').each(function(index,domEle){var $et_current_input=jQuery(domEle),$et_comment_label=$et_current_input.siblings("label"),et_comment_label_value=$et_current_input.siblings("label").text();$et_comment_label.length&&($et_comment_label.hide(),$et_current_input.siblings("span.required")&&(et_comment_label_value+=$et_current_input.siblings("span.required").text(),$et_current_input.siblings("span.required").hide()),$et_current_input.val(et_comment_label_value))}).bind("focus",function(){var et_label_text=jQuery(this).siblings("label").text();jQuery(this).siblings("span.required").length&&(et_label_text+=jQuery(this).siblings("span.required").text()),jQuery(this).val()===et_label_text&&jQuery(this).val("")}).bind("blur",function(){var et_label_text=jQuery(this).siblings("label").text();jQuery(this).siblings("span.required").length&&(et_label_text+=jQuery(this).siblings("span.required").text()),""===jQuery(this).val()&&jQuery(this).val(et_label_text)})},window.et_duplicate_menu=function(menu,append_to,menu_id,menu_class,menu_click_event){append_to.each(function(){var $cloned_nav,$this_menu=$(this);""!==menu&&menu.clone().attr("id",menu_id).removeClass().attr("class",menu_class).appendTo($this_menu),($cloned_nav=$this_menu.find("> ul")).find(".menu_slide").remove(),$cloned_nav.find("li:first").addClass("et_first_mobile_item"),$cloned_nav.find("a").on("click",function(){$(this).parents(".et_mobile_menu").siblings(".mobile_menu_bar").trigger("click")}),"no_click_event"!==menu_click_event&&$this_menu.on("click",".mobile_menu_bar",function(){return $this_menu.hasClass("closed")?($this_menu.removeClass("closed").addClass("opened"),$cloned_nav.stop().slideDown(500)):($this_menu.removeClass("opened").addClass("closed"),$cloned_nav.stop().slideUp(500)),!1})}),$("#mobile_menu .centered-inline-logo-wrap").remove()},window.et_pb_remove_placeholder_text=function($form){$form.find("input:text, textarea").each(function(index,domEle){var $et_current_input=jQuery(domEle),$et_label=$et_current_input.siblings("label");$et_current_input.siblings("label").text();$et_label.length&&$et_label.is(":hidden")&&$et_label.text()==$et_current_input.val()&&$et_current_input.val("")})},window.et_fix_fullscreen_section=function(){var $et_window=$(window);$("section.et_pb_fullscreen").each(function(){var $this_section=$(this);$.proxy(et_calc_fullscreen_section,$this_section)(),$et_window.on("resize",$.proxy(et_calc_fullscreen_section,$this_section))})},window.et_bar_counters_init=function($bar_item){if($bar_item.length){var $bar_container=$bar_item.closest(".et_pb_counter_container"),bar_item_width=$bar_item.attr("data-width"),$bar_item_text=(Math.ceil(parseFloat($bar_item.css("paddingLeft"))),Math.ceil(parseFloat($bar_item.css("paddingRight"))),$bar_item.children(".et_pb_counter_amount_number")),bar_item_text_width=($bar_container.width()-$bar_item_text.innerWidth())/100*parseFloat(bar_item_width)+$bar_item_text.innerWidth();$bar_item.css({width:bar_item_text_width})}},window.et_fix_pricing_currency_position=function($pricing_table){var $all_pricing_tables=void 0!==$pricing_table?$pricing_table:$(".et_pb_pricing_table");$all_pricing_tables.length&&$all_pricing_tables.each(function(){var $price_container=$(this).find(".et_pb_et_price"),$currency=!!$price_container.length&&$price_container.find(".et_pb_dollar_sign"),$price=!!$price_container.length&&$price_container.find(".et_pb_sum");$currency&&$price&&$currency.css({marginLeft:-$currency.width()+"px"})})},window.et_pb_set_responsive_grid=function($grid_items_container,single_item_selector){setTimeout(function(){var container_width=$grid_items_container.innerWidth(),$grid_items=$grid_items_container.find(single_item_selector),item_width=$grid_items.outerWidth(!0),last_item_margin=item_width-$grid_items.outerWidth(),columns_count=Math.round((container_width+last_item_margin)/item_width),counter=1,first_in_row=1;$grid_items.removeClass("last_in_row first_in_row"),$grid_items.filter(":visible").each(function(){var $this_el=$(this);$this_el.hasClass("inactive")||(first_in_row===counter&&$this_el.addClass("first_in_row"),0==counter%columns_count&&($this_el.addClass("last_in_row"),first_in_row=counter+1),counter++)})},1)},window.et_pb_set_tabs_height=function($tabs_module){void 0===$tabs_module&&($tabs_module=$(".et_pb_tabs")),$tabs_module.length&&$tabs_module.each(function(){var $tab_controls=$(this).find(".et_pb_tabs_controls"),$all_tabs=$tab_controls.find("li"),max_height=0,in_small_column=$(this).parents(".et_pb_column_1_3, .et_pb_column_1_4, .et_pb_column_3_8").length>0,on_small_screen=parseFloat($(window).width())<768,vertically_stacked=in_small_column||on_small_screen;vertically_stacked&&$(this).addClass("et_pb_tabs_vertically_stacked"),$all_tabs.length&&($tab_controls.removeAttr("style"),$all_tabs.each(function(){var tab_height=$(this).outerHeight();vertically_stacked||tab_height>max_height&&(max_height=tab_height)})),0!==max_height&&$tab_controls.css("min-height",max_height)})},window.et_pb_box_shadow_apply_overlay=function(el){void 0!==document.body.style.pointerEvents&&(void 0===document.documentMode||document.documentMode>=11)?$(el).each(function(){$(this).children(".box-shadow-overlay").length||$(this).addClass("has-box-shadow-overlay").prepend('')}):$(el).addClass(".et-box-shadow-no-overlay")},window.et_pb_init_nav_menu=function($et_menus){$et_menus.each(function(){var $et_menu=$(this);$et_menu.data("et-is-menu-ready")||($et_menu.find("li").hover(function(){window.et_pb_toggle_nav_menu($(this),"open")},function(){window.et_pb_toggle_nav_menu($(this),"close")}),$("body").on("touchend",function(event){$(event.target).closest("ul.nav, ul.menu").length<1&&$(".et-hover").length>0&&window.et_pb_toggle_nav_menu($(".et-hover"),"close")}),$et_menu.find("li.menu-item-has-children").on("touchend",function(event){var $closest_li=$(event.target).closest(".menu-item");if($closest_li.hasClass("menu-item-has-children")){var $this_el=$(this),is_mega_menu_opened=$closest_li.closest(".mega-menu-parent.et-touch-hover").length>0;if($this_el.hasClass("et-touch-hover")||is_mega_menu_opened)void 0!==$this_el.find(">a").attr("href")&&(window.location=$this_el.find(">a").attr("href"));else{var $opened_menu=$(event.target),$already_opened_menus=$opened_menu.closest(".menu-item").siblings(".et-touch-hover");if($opened_menu.closest(".et-touch-hover").length<1&&window.et_pb_toggle_nav_menu($(".et-hover"),"close",0),$this_el.addClass("et-touch-hover"),$already_opened_menus.length>0){var $submenus_in_already_opened=$already_opened_menus.find(".et-touch-hover");window.et_pb_toggle_nav_menu($already_opened_menus,"close"),window.et_pb_toggle_nav_menu($submenus_in_already_opened,"close")}window.et_pb_toggle_nav_menu($this_el,"open")}event.preventDefault(),event.stopPropagation()}}),$et_menu.find("li.mega-menu").each(function(){var $li_mega_menu=$(this),li_mega_menu_item_count=$li_mega_menu.children("ul").children("li").length;li_mega_menu_item_count<4&&$li_mega_menu.addClass("mega-menu-parent mega-menu-parent-"+li_mega_menu_item_count)}),$et_menu.data("et-is-menu-ready","ready"))})},window.et_pb_toggle_nav_menu=function($element,state,delay){if("open"===state)$element.closest("li.mega-menu").length&&!$element.hasClass("mega-menu")||($element.addClass("et-show-dropdown"),$element.removeClass("et-hover").addClass("et-hover"));else{var closeDelay=void 0!==delay?delay:200;$element.removeClass("et-show-dropdown"),$element.removeClass("et-touch-hover"),setTimeout(function(){$element.hasClass("et-show-dropdown")||$element.removeClass("et-hover")},closeDelay)}},window.et_pb_apply_sticky_image_effect=function($sticky_image_el){var $row=$sticky_image_el.closest(".et_pb_row"),$section=$row.closest(".et_pb_section"),$column=$sticky_image_el.closest(".et_pb_column"),$lastRowInSection=$section.children(".et_pb_row").last(),$lastColumnInRow=$row.children(".et_pb_column").last(),$lastModuleInColumn=$column.children(".et_pb_module").last();return!$row.is($lastRowInSection)||($lastRowInSection.addClass("et-last-child"),!$sticky_image_el.is($lastModuleInColumn)||($section.hasClass("et_pb_section_sticky")||$section.addClass("et_pb_section_sticky"),$column.addClass("et_pb_row_sticky"),void(!$section.hasClass("et_pb_section_sticky_mobile")&&$column.is($lastColumnInRow)&&$section.addClass("et_pb_section_sticky_mobile"))))}}(jQuery);
/*!
* easyPieChart
* Lightweight plugin to render simple, animated and retina optimized pie charts
*
* @author Robert Fleischmann (http://robert-fleischmann.de)
* @version 2.1.5
*/
!function(root,factory){"object"==typeof exports?module.exports=factory(require("jquery")):"function"==typeof define&&define.amd?define(["jquery"],factory):factory(root.jQuery)}(this,function($){var CanvasRenderer=function(el,options){var cachedBackground,canvas=document.createElement("canvas");el.appendChild(canvas),"undefined"!=typeof G_vmlCanvasManager&&G_vmlCanvasManager.initElement(canvas);var ctx=canvas.getContext("2d");canvas.width=canvas.height=options.size;var scaleBy=1;window.devicePixelRatio>1&&(scaleBy=window.devicePixelRatio,canvas.style.width=canvas.style.height=[options.size,"px"].join(""),canvas.width=canvas.height=options.size*scaleBy,ctx.scale(scaleBy,scaleBy)),ctx.translate(options.size/2,options.size/2),ctx.rotate((options.rotate/180-.5)*Math.PI);var radius=(options.size-options.lineWidth)/2;options.scaleColor&&options.scaleLength&&(radius-=options.scaleLength+2),Date.now=Date.now||function(){return+new Date};var drawCircle=function(color,lineWidth,percent,alpha){var isNegative=(percent=Math.min(Math.max(-1,percent||0),1))<=0;ctx.beginPath(),ctx.arc(0,0,radius,0,2*Math.PI*percent,isNegative),ctx.strokeStyle=color,ctx.globalAlpha=alpha,ctx.lineWidth=lineWidth,ctx.stroke()},drawScale=function(){var offset,length;ctx.lineWidth=1,ctx.fillStyle=options.scaleColor,ctx.save();for(var i=24;i>0;--i)i%6==0?(length=options.scaleLength,offset=0):(length=.6*options.scaleLength,offset=options.scaleLength-length),ctx.fillRect(-options.size/2+offset,0,length,1),ctx.rotate(Math.PI/12);ctx.restore()},reqAnimationFrame=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||function(callback){window.setTimeout(callback,1e3/60)},drawBackground=function(){options.scaleColor&&drawScale(),options.trackColor&&drawCircle(options.trackColor,options.lineWidth,1,options.trackAlpha)};this.getCanvas=function(){return canvas},this.getCtx=function(){return ctx},this.clear=function(){ctx.clearRect(options.size/-2,options.size/-2,options.size,options.size)},this.draw=function(percent){options.scaleColor||options.trackColor?ctx.getImageData&&ctx.putImageData?cachedBackground?ctx.putImageData(cachedBackground,0,0):(drawBackground(),cachedBackground=ctx.getImageData(0,0,options.size*scaleBy,options.size*scaleBy)):(this.clear(),drawBackground()):this.clear(),ctx.lineCap=options.lineCap;var color;color="function"==typeof options.barColor?options.barColor(percent):options.barColor,drawCircle(color,options.lineWidth,percent/100,options.barAlpha)}.bind(this),this.animate=function(from,to){var startTime=Date.now();options.onStart(from,to);var animation=function(){var process=Math.min(Date.now()-startTime,options.animate.duration),currentValue=options.easing(this,process,from,to-from,options.animate.duration);this.draw(currentValue),options.onStep(from,to,currentValue),process>=options.animate.duration?options.onStop(from,to):reqAnimationFrame(animation)}.bind(this);reqAnimationFrame(animation)}.bind(this)},EasyPieChart=function(el,opts){var defaultOptions={barColor:"#ef1e25",barAlpha:1,trackColor:"#f9f9f9",trackAlpha:1,scaleColor:"#dfe0e0",scaleLength:5,lineCap:"round",lineWidth:3,size:110,rotate:0,render:!0,animate:{duration:1e3,enabled:!0},easing:function(x,t,b,c,d){return(t/=d/2)<1?c/2*t*t+b:-c/2*(--t*(t-2)-1)+b},onStart:function(from,to){},onStep:function(from,to,currentValue){},onStop:function(from,to){}};if(void 0!==CanvasRenderer)defaultOptions.renderer=CanvasRenderer;else{if("undefined"==typeof SVGRenderer)throw new Error("Please load either the SVG- or the CanvasRenderer");defaultOptions.renderer=SVGRenderer}var options={},currentValue=0,init=function(){this.el=el,this.options=options;for(var i in defaultOptions)defaultOptions.hasOwnProperty(i)&&(options[i]=opts&&void 0!==opts[i]?opts[i]:defaultOptions[i],"function"==typeof options[i]&&(options[i]=options[i].bind(this)));"string"==typeof options.easing&&"undefined"!=typeof jQuery&&jQuery.isFunction(jQuery.easing[options.easing])?options.easing=jQuery.easing[options.easing]:options.easing=defaultOptions.easing,"number"==typeof options.animate&&(options.animate={duration:options.animate,enabled:!0}),"boolean"!=typeof options.animate||options.animate||(options.animate={duration:1e3,enabled:options.animate}),this.renderer=new options.renderer(el,options),this.renderer.draw(currentValue),el.dataset&&el.dataset.percent?this.update(parseFloat(el.dataset.percent)):el.getAttribute&&el.getAttribute("data-percent")&&this.update(parseFloat(el.getAttribute("data-percent")))}.bind(this);this.update=function(newValue){return newValue=parseFloat(newValue),options.animate.enabled?this.renderer.animate(currentValue,newValue):this.renderer.draw(newValue),currentValue=newValue,this}.bind(this),this.disableAnimation=function(){return options.animate.enabled=!1,this},this.enableAnimation=function(){return options.animate.enabled=!0,this},init()};$.fn.easyPieChart=function(options){return this.each(function(){var instanceOptions;$.data(this,"easyPieChart")||(instanceOptions=$.extend({},options,$(this).data()),$.data(this,"easyPieChart",new EasyPieChart(this,instanceOptions)))})}});
/*!
* Salvattore 1.0.5 by @rnmp and @ppold
* https://github.com/rnmp/salvattore
* Licensed under the MIT license.
* Copyright (c) 2013-2014 Rolando Murillo and Giorgio Leveroni
*/
/*
Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
the Software without restriction, including without limitation the rights to
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
the Software, and to permit persons to whom the Software is furnished to do so,
subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
!function(e,t){"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?module.exports=t():e.salvattore=t()}(this,function(){/*! matchMedia() polyfill - Test a CSS media type/query in JS. Authors & copyright (c) 2012: Scott Jehl, Paul Irish, Nicholas Zakas, David Knight. Dual MIT/BSD license */ /*! matchMedia() polyfill addListener/removeListener extension. Author & copyright (c) 2012: Scott Jehl. Dual MIT/BSD license */return window.matchMedia||(window.matchMedia=function(){"use strict";var e=window.styleMedia||window.media;if(!e){var t=document.createElement("style"),n=document.getElementsByTagName("script")[0],r=null;t.type="text/css",t.id="matchmediajs-test",n.parentNode.insertBefore(t,n),r="getComputedStyle"in window&&window.getComputedStyle(t,null)||t.currentStyle,e={matchMedium:function(e){var n="@media "+e+"{ #matchmediajs-test { width: 1px; } }";return t.styleSheet?t.styleSheet.cssText=n:t.textContent=n,"1px"===r.width}}}return function(t){return{matches:e.matchMedium(t||"all"),media:t||"all"}}}()),function(){"use strict";if(window.matchMedia&&window.matchMedia("all").addListener)return!1;var e=window.matchMedia,t=e("only all").matches,n=!1,r=0,a=[],i=function(){clearTimeout(r),r=setTimeout(function(){for(var t=0,n=a.length;n>t;t++){var r=a[t].mql,i=a[t].listeners||[],o=e(r.media).matches;if(o!==r.matches){r.matches=o;for(var c=0,l=i.length;l>c;c++)i[c].call(window,r)}}},30)};window.matchMedia=function(r){var o=e(r),c=[],l=0;return o.addListener=function(e){t&&(n||(n=!0,window.addEventListener("resize",i,!0)),0===l&&(l=a.push({mql:o,listeners:c})),c.push(e))},o.removeListener=function(e){for(var t=0,n=c.length;n>t;t++)c[t]===e&&c.splice(t,1)},o}}(),function(){"use strict";for(var e=0,t=["ms","moz","webkit","o"],n=0;n *:nth-child("+c+"n-"+d+")",s.push(r.querySelectorAll(a));s.forEach(function(e){var n=t.createElement("div"),r=t.createDocumentFragment();n.className=l.join(" "),Array.prototype.forEach.call(e,function(e){r.appendChild(e)}),n.appendChild(r),u.appendChild(n)}),e.appendChild(u),o(e,"columns",c)},n.removeColumns=function(n){var r=t.createRange();r.selectNodeContents(n);var a=Array.prototype.filter.call(r.extractContents().childNodes,function(t){return t instanceof e.HTMLElement}),i=a.length,c=a[0].childNodes.length,l=new Array(c*i);Array.prototype.forEach.call(a,function(e,t){Array.prototype.forEach.call(e.children,function(e,n){l[n*i+t]=e})});var s=t.createElement("div");return o(s,"columns",0),l.filter(function(e){return!!e}).forEach(function(e){s.appendChild(e)}),s},n.recreateColumns=function(t){e.requestAnimationFrame(function(){n.addColumns(t,n.removeColumns(t));var e=new CustomEvent("columnsChange");t.dispatchEvent(e)})},n.mediaQueryChange=function(e){e.matches&&Array.prototype.forEach.call(r,n.recreateColumns)},n.getCSSRules=function(e){var t;try{t=e.sheet.cssRules||e.sheet.rules}catch(n){return[]}return t||[]},n.getStylesheets=function(){return Array.prototype.concat.call(Array.prototype.slice.call(t.querySelectorAll("style[type='text/css']")),Array.prototype.slice.call(t.querySelectorAll("link[rel='stylesheet']")))},n.mediaRuleHasColumnsSelector=function(e){var t,n;try{t=e.length}catch(r){t=0}for(;t--;)if((n=e[t]).selectorText&&n.selectorText.match(/\[data-columns\](.*)::?before$/))return!0;return!1},n.scanMediaQueries=function(){var t=[];if(e.matchMedia){n.getStylesheets().forEach(function(e){Array.prototype.forEach.call(n.getCSSRules(e),function(e){e.media&&e.cssRules&&n.mediaRuleHasColumnsSelector(e.cssRules)&&t.push(e)})});var r=a.filter(function(e){return-1===t.indexOf(e)});i.filter(function(e){return-1!==r.indexOf(e.rule)}).forEach(function(e){e.mql.removeListener(n.mediaQueryChange)}),i=i.filter(function(e){return-1===r.indexOf(e.rule)}),t.filter(function(e){return-1==a.indexOf(e)}).forEach(function(t){var r=e.matchMedia(t.media.mediaText);r.addListener(n.mediaQueryChange),i.push({rule:t,mql:r})}),a.length=0,a=t}},n.rescanMediaQueries=function(){n.scanMediaQueries(),Array.prototype.forEach.call(r,n.recreateColumns)},n.nextElementColumnIndex=function(e,t){var n,r,a,i=e.children,o=i.length,c=0,l=0;for(a=0;o>a;a++)n=i[a],r=n.children.length+(t[a].children||t[a].childNodes).length,0===c&&(c=r),c>r&&(l=a,c=r);return l},n.createFragmentsList=function(e){for(var n=new Array(e),r=0;r!==e;)n[r]=t.createDocumentFragment(),r++;return n},n.appendElements=function(e,t){var r=e.children,a=r.length,i=n.createFragmentsList(a);Array.prototype.forEach.call(t,function(t){var r=n.nextElementColumnIndex(e,i);i[r].appendChild(t)}),Array.prototype.forEach.call(r,function(e,t){e.appendChild(i[t])})},n.prependElements=function(e,r){var a=e.children,i=a.length,o=n.createFragmentsList(i),c=i-1;r.forEach(function(e){var t=o[c];t.insertBefore(e,t.firstChild),0===c?c=i-1:c--}),Array.prototype.forEach.call(a,function(e,t){e.insertBefore(o[t],e.firstChild)});for(var l=t.createDocumentFragment(),s=r.length%i;0!=s--;)l.appendChild(e.lastChild);e.insertBefore(l,e.firstChild)},n.registerGrid=function(a){if("none"!==e.getComputedStyle(a).display){var i=t.createRange();i.selectNodeContents(a);var c=t.createElement("div");c.appendChild(i.extractContents()),o(c,"columns",0),n.addColumns(a,c),r.push(a)}},n.init=function(){var e=t.createElement("style");e.innerHTML="[data-columns]::before{visibility:hidden;position:absolute;font-size:1px;}",t.head.appendChild(e);var r=t.querySelectorAll("[data-columns]");Array.prototype.forEach.call(r,n.registerGrid),n.scanMediaQueries()},n.init(),{appendElements:n.appendElements,prependElements:n.prependElements,registerGrid:n.registerGrid,recreateColumns:n.recreateColumns,rescanMediaQueries:n.rescanMediaQueries,append_elements:n.appendElements,prepend_elements:n.prependElements,register_grid:n.registerGrid,recreate_columns:n.recreateColumns,rescan_media_queries:n.rescanMediaQueries}}(window,window.document)});
/*!
* jQuery hashchange event - v1.3 - 7/21/2010
* http://benalman.com/projects/jquery-hashchange-plugin/
*
* Copyright (c) 2010 "Cowboy" Ben Alman
* Dual licensed under the MIT and GPL licenses.
* http://benalman.com/about/license/
*/
// Dual licensed under the MIT and GPL licenses.
// http://benalman.com/about/license/
!function($,window,undefined){"$:nomunge";function get_fragment(url){return"#"+(url=url||location.href).replace(/^[^#]*#?(.*)$/,"$1")}var fake_onhashchange,str_hashchange="hashchange",doc=document,special=$.event.special,doc_mode=doc.documentMode,supports_onhashchange="on"+str_hashchange in window&&(void 0===doc_mode||doc_mode>7);$.fn[str_hashchange]=function(fn){return fn?this.bind(str_hashchange,fn):this.trigger(str_hashchange)},$.fn[str_hashchange].delay=50,special[str_hashchange]=$.extend(special[str_hashchange],{setup:function(){if(supports_onhashchange)return!1;$(fake_onhashchange.start)},teardown:function(){if(supports_onhashchange)return!1;$(fake_onhashchange.stop)}}),fake_onhashchange=function(){function poll(){var hash=get_fragment(),history_hash=history_get(last_hash);hash!==last_hash?(history_set(last_hash=hash,history_hash),$(window).trigger(str_hashchange)):history_hash!==last_hash&&(location.href=location.href.replace(/#.*/,"")+history_hash),timeout_id=setTimeout(poll,$.fn[str_hashchange].delay)}var timeout_id,self={},last_hash=get_fragment(),fn_retval=function(val){return val},history_set=fn_retval,history_get=fn_retval;return self.start=function(){timeout_id||poll()},self.stop=function(){timeout_id&&clearTimeout(timeout_id),timeout_id=void 0},void 0!==$.browser&&$.browser.msie&&!supports_onhashchange&&function(){var iframe,iframe_src;self.start=function(){iframe||(iframe_src=$.fn[str_hashchange].src,iframe_src=iframe_src&&iframe_src+get_fragment(),iframe=$('').hide().one("load",function(){iframe_src||history_set(get_fragment()),poll()}).attr("src",iframe_src||"javascript:0").insertAfter("body")[0].contentWindow,doc.onpropertychange=function(){try{"title"===event.propertyName&&(iframe.document.title=doc.title)}catch(e){}})},self.stop=fn_retval,history_get=function(){return get_fragment(iframe.location.href)},history_set=function(hash,history_hash){var iframe_doc=iframe.document,domain=$.fn[str_hashchange].domain;hash!==history_hash&&(iframe_doc.title=doc.title,iframe_doc.open(),domain&&iframe_doc.write('