1(function($){"use strict";$(document).on('ready',function(){if($.fn.lsvrTownpressGoogleMap){$('.c-gmap').each(function(){$(this).lsvrTownpressGoogleMap()})}$('.header-navbar--sticky').each(function(){if($.fn.lsvrTownpressGetMediaQueryBreakpoint()>991){var $navbar=$(this),$placeholder=$('.header-navbar__placeholder'),navbarHeight=$navbar.outerHeight();$placeholder.css('height',navbarHeight)}});$('.header-map').each(function(){var $this=$(this),$canvas=$this.find('.header-map__canvas'),$close=$this.find('.header-map__close'),$toggle=$('.header-map-toggle'),$spinner=$this.find('.c-spinner'),mapType=$canvas.data('maptype')?$canvas.data('maptype'):'terrain',zoom=$canvas.data('zoom')?$canvas.data('zoom'):17,elementId=$canvas.attr('id'),address=$canvas.data('address')?$canvas.data('address'):false,latLong=$canvas.data('latlong')?$canvas.data('latlong'):false,latitude=false,longitude=false,mapOptions,map;if(false!==latLong){var latLongArr=latLong.split(',');if(latLongArr.length==2){latitude=latLongArr[0].trim();longitude=latLongArr[1].trim()}}$toggle.on('click',function(){$this.slideToggle(200,function(){if($this.hasClass('header-map--loading')){loadMap()}else if($this.is(':visible')){google.maps.event.trigger(map,'resize')}$toggle.toggleClass('header-map-toggle--active')})});$close.on('click',function(){$this.slideUp(200);$toggle.removeClass('header-map-toggle--active')});var loadMap=function(){if($.fn.lsvrTownpressLoadGoogleMapsApi){$.fn.lsvrTownpressLoadGoogleMapsApi()}var apiSetup=function(){switch(mapType){case 'roadmap':mapType=google.maps.MapTypeId.ROADMAP;break;case 'satellite':mapType=google.maps.MapTypeId.SATELLITE;break;case 'hybrid':mapType=google.maps.MapTypeId.HYBRID;break;default:mapType=google.maps.MapTypeId.TERRAIN}mapOptions={'zoom':zoom,'mapTypeId':mapType,'scrollwheel':true};if('undefined'!==typeof lsvr_townpress_google_maps_style_json){mapOptions.styles=JSON.parse(lsvr_townpress_google_maps_style_json)}else if('undefined'!==typeof lsvr_townpress_google_maps_style){mapOptions.styles=lsvr_townpress_google_maps_style}map=new google.maps.Map(document.getElementById(elementId),mapOptions);$this.data('map',map);if((false===latitude||false===longitude)&&false!==address){var apiKey=typeof lsvr_townpress_google_api_key!=='undefined'?lsvr_townpress_google_api_key:false;if(false!==apiKey){var encodedAddress=encodeURI(address);jQuery.ajax({type:'post',dataType:'JSON',url:'https://maps.googleapis.com/maps/api/geocode/json?address='+encodedAddress+'&key='+apiKey,success:function(response){map.setCenter(response.results[0].geometry.location);var marker=new google.maps.Marker({position:response.results[0].geometry.location,map:map});$this.removeClass('header-map--loading');$spinner.hide()}})}}else if(false!==latitude&&false!==longitude){var location=new google.maps.LatLng(latitude,longitude);map.setCenter(location);var marker=new google.maps.Marker({position:location,map:map});$this.removeClass('header-map--loading');$spinner.hide()}else{$this.hide()}};if('object'===typeof google&&'object'===typeof google.maps){apiSetup()}else{$(document).on('lsvrTownpressGoogleMapsApiLoaded',function(){apiSetup()})}}});$('.header-menu__item--dropdown .header-menu__submenu--level-0, .header-menu__item--dropdown .header-menu__submenu--level-1, .header-menu__item--megamenu .header-menu__submenu--level-0').each(function(){var $submenu=$(this),$parent=$(this).parent(),$link=$parent.find('> .header-menu__item-link');$parent.hover(function(){$parent.addClass('header-menu__item--hover');$submenu.show()},function(){$parent.removeClass('header-menu__item--hover');$submenu.hide()});$link.on('click touchstart',function(){if(!$parent.hasClass('header-menu__item--hover')){if($submenu.parents('.header-menu__submenu').length<1){$('.header-menu__item--hover').each(function(){$(this).removeClass('header-menu__item--hover');$(this).find('> .header-menu__submenu').hide()})}$parent.addClass('header-menu__item--hover');$submenu.show();$('html').on('touchstart',function(e){$parent.removeClass('header-menu__item--hover');$submenu.hide()});$parent.on('click touchstart',function(e){e.stopPropagation()});return false}})});$('.header-toolbar-toggle__menu-button').each(function(){$(this).on('click',function(){$('.header-toolbar-toggle').toggleClass('header-toolbar-toggle--active');$(this).toggleClass('header-toolbar-toggle__menu-button--active');$('.header-toolbar').slideToggle(200)})});$('.header-mobile-menu__toggle').each(function(){var $toggle=$(this),$parent=$toggle.parent(),$submenu=$parent.find('> .header-mobile-menu__submenu');$toggle.on('click',function(){$submenu.slideToggle(200);$toggle.toggleClass('header-mobile-menu__toggle--active')})});$(document).on('lsvrTownpressScreenTransition',function(){$('.header-toolbar-toggle').removeClass('header-toolbar-toggle--active');$('.header-toolbar-toggle__menu-button').removeClass('header-toolbar-toggle__menu-button--active');$('.header-toolbar, .header-mobile-menu__submenu').removeAttr('style');$('.header-mobile-menu__toggle--active').removeClass('header-mobile-menu__toggle--active')});$('.header-background--slideshow, .header-background--slideshow-home').each(function(){var $this=$(this),$images=$this.find('.header-background__image'),slideshowSpeed=$this.data('slideshow-s
1peed')?parseInt($this.data('slideshow-speed'))*1000:10,animationSpeed=2000;if($images.length>1){$images.filter('.header-background__image--default').addClass('header-background__image--active');var $active=$images.filter('.header-background__image--active'),$next;var changeImage=function(){if($active.next().length>0){$next=$active.next()}else{$next=$images.first()}$active.fadeOut(animationSpeed,function(){$(this).removeClass('header-background__image--active')});$next.fadeIn(animationSpeed,function(){$(this).addClass('header-background__image--active');$active=$(this)});setTimeout(function(){changeImage()},slideshowSpeed)};if($.fn.lsvrTownpressGetMediaQueryBreakpoint()>1199){setTimeout(function(){changeImage()},slideshowSpeed)}}});if($.fn.masonry&&$.fn.imagesLoaded){$('.lsvr_gallery-post-archive .lsvr-grid--masonry, .lsvr_gallery-post-single .post__image-list').each(function(){var $this=$(this),isRTL=$('html').attr('dir')&&'rtl'===$('html').attr('dir')?true:false;$this.imagesLoaded(function(){$this.masonry({isRTL:isRTL})})})}$('.lsvr_document-post-archive--categorized-attachments .post-tree__item--folder').each(function(){var $this=$(this),$holder=$this.find('> .post-tree__item-link-holder'),$children=$this.find('> .post-tree__children');if($children.length>0){$holder.append('<button type="button" class="post-tree__item-toggle"></button>')}var $toggle=$holder.find('> .post-tree__item-toggle');$toggle.on('click',function(){$(this).toggleClass('post-tree__item-toggle--active');$children.slideToggle(150)})});if($.fn.lsvrTownpressGetMediaQueryBreakpoint()>991){$('.lsvr-townpress-menu-widget__submenu--level-0, .lsvr-townpress-menu-widget__submenu--level-1').not(':visible').each(function(){var $submenu=$(this),$parent=$(this).parent(),$link=$parent.find('> .lsvr-townpress-menu-widget__item-link');$parent.hover(function(){$parent.addClass('lsvr-townpress-menu-widget__item--hover');$submenu.show()},function(){$parent.removeClass('lsvr-townpress-menu-widget__item--hover');$submenu.hide()});$link.on('click touchstart',function(){if(!$parent.hasClass('lsvr-townpress-menu-widget__item--hover')){if($submenu.parents('.lsvr-townpress-menu-widget__submenu').length<1){$('.lsvr-townpress-menu-widget__item--hover').each(function(){$(this).removeClass('lsvr-townpress-menu-widget__item--hover');$(this).find('> .lsvr-townpress-menu-widget__submenu').hide()})}$parent.addClass('lsvr-townpress-menu-widget__item--hover');$submenu.show();$('html').on('touchstart',function(e){$parent.removeClass('lsvr-townpress-menu-widget__item--hover');$submenu.hide()});$parent.on('click touchstart',function(e){e.stopPropagation()});return false}})})}$('.lsvr-townpress-menu-widget--show-on-mobile .lsvr-townpress-menu-widget__submenu').not(':visible').each(function(){var $submenu=$(this),$parent=$(this).parent(),$link=$parent.find('> .lsvr-townpress-menu-widget__item-link'),$toggle=$parent.find('> .lsvr-townpress-menu-widget__toggle');$toggle.on('click',function(){$toggle.toggleClass('lsvr-townpress-menu-widget__toggle--active');$submenu.slideToggle(200)})});if($.fn.owlCarousel){$('.lsvr-townpress-post-slider').each(function(){var $this=$(this),$sliderInner=$this.find('.lsvr-townpress-post-slider__inner'),$slideList=$this.find('.lsvr-townpress-post-slider__list'),$slides=$this.find('.lsvr-townpress-post-slider__post'),$indicator=$this.find('.lsvr-townpress-post-slider__indicator-inner'),slideCount=$slides.length,autoplay=$this.data('autoplay')&&parseInt($this.data('autoplay'))>0?true:false,autoplayTimeout=$this.data('autoplay')&&parseInt($this.data('autoplay'))>0?parseInt($this.data('autoplay'))*1000:0,rtl=$('html').attr('dir')&&$('html').attr('dir')=='rtl'?true:false;if(slideCount>1){$slideList.owlCarousel({rtl:rtl,autoHeight:true,loop:true,nav:true,navText:['<i class="lsvr-townpress-post-slider__indicator-icon lsvr-townpress-post-slider__indicator-icon--left icon-angle-left"></i>','<i class="lsvr-townpress-post-slider__indicator-icon lsvr-townpress-post-slider__indicator-icon--right icon-angle-right"></i>'],navRewind:true,dots:false,autoplay:autoplay,autoplayTimeout:autoplayTimeout,autoplayHoverPause:true,responsive:{0:{items:1}}
1,onTranslated:function(){if(autoplay){$indicator.stop(0,0)}if(autoplay&&$.fn.lsvrTownpressGetMediaQueryBreakpoint()>991){$indicator.css('width',0);if(!$this.hasClass('lsvr-townpress-post-slider--paused')){$indicator.stop(0,0).animate({width:"100%"},autoplayTimeout)}}}});if(true===autoplay){$this.addClass('lsvr-townpress-post-slider--has-indicator');$indicator.animate({width:"100%"},autoplayTimeout,'linear');var sliderPause=function(){$this.addClass('lsvr-townpress-post-slider--paused');$indicator.stop(0,0)};var sliderResume=function(){$this.removeClass('lsvr-townpress-post-slider--paused');$indicator.stop(0,0).animate({width:"100%"},autoplayTimeout,'linear')};$this.hover(function(){sliderPause()},function(){sliderResume()});$(document).on('lsvrTownpressScreenTransition',function(){if($.fn.lsvrTownpressGetMediaQueryBreakpoint()<=991){sliderPause()}});if($.fn.lsvrTownpressGetMediaQueryBreakpoint()<=991){sliderPause()}}}})}$('.back-to-top__link').each(function(){$(this).on('click',function(){$('html, body').animate({scrollTop:0},100);return false})});if($.fn.magnificPopup){if('undefined'!==typeof lsvr_townpress_js_labels&&lsvr_townpress_js_labels.hasOwnProperty('magnific_popup')){var js_strings=lsvr_townpress_js_labels.magnific_popup;$.extend(true,$.magnificPopup.defaults,{tClose:js_strings.mp_tClose,tLoading:js_strings.mp_tLoading,gallery:{tPrev:js_strings.mp_tPrev,tNext:js_strings.mp_tNext,tCounter:'%curr% / %total%'},image:{tError:js_strings.mp_image_tError},ajax:{tError:js_strings.mp_ajax_tError}})}$('.lsvr-open-in-lightbox, body:not( .elementor-page ) .gallery .gallery-item a, .wp-block-gallery .blocks-gallery-item a').magnificPopup({type:'image',removalDelay:300,mainClass:'mfp-fade',gallery:{enabled:true}})}})})(jQuery);(function($){"use strict";if(!$.fn.lsvrTownpressGetMediaQueryBreakpoint){$.fn.lsvrTownpressGetMediaQueryBreakpoint=function(){if($('#lsvr-media-query-breakpoint').length<1){$('body').append('<span id="lsvr-media-query-breakpoint" style="display: none;"></span>')}var value=$('#lsvr-media-query-breakpoint').css('font-family');if(typeof value!=='undefined'){value=value.replace("\"","").replace("\"","").replace("\'","").replace("\'","")}if(isNaN(value)){return $(window).width()}else{return parseInt(value)}}}var lsvrTownpressMediaQueryBreakpoint;if($.fn.lsvrTownpressGetMediaQueryBreakpoint){lsvrTownpressMediaQueryBreakpoint=$.fn.lsvrTownpressGetMediaQueryBreakpoint();$(window).resize(function(){if($.fn.lsvrTownpressGetMediaQueryBreakpoint()!==lsvrTownpressMediaQueryBreakpoint){lsvrTownpressMediaQueryBreakpoint=$.fn.lsvrTownpressGetMediaQueryBreakpoint();$.event.trigger({type:'lsvrTownpressScreenTransition',message:'Screen transition completed.',time:new Date()})}})}else{lsvrTownpressMediaQueryBreakpoint=$(document).width()}if(!$.fn.lsvrTownpressGoogleMap){$.fn.lsvrTownpressGoogleMap=function(){var $this=$(this).find('.c-gmap__canvas'),mapType=$this.data('maptype')?$this.data('maptype'):'terrain',zoom=$this.data('zoom')?$this.data('zoom'):17,enableMouseWheel=$this.data('mousewheel')&&true===String($this.data('mousewheel'))?true:false,elementId=$this.attr('id'),address=$this.data('address')?$this.data('address'):false,latLong=$this.data('latlong')?$this.data('latlong'):false,latitude=false,longitude=false;if(false!==latLong){var latLongArr=latLong.split(',');if(latLongArr.length==2){latitude=latLongArr[0].trim();longitude=latLongArr[1].trim()}}if($.fn.lsvrTownpressLoadGoogleMapsApi){$.fn.lsvrTownpressLoadGoogleMapsApi()}var apiSetup=function(){switch(mapType){case 'roadmap':mapType=google.maps.MapTypeId.ROADMAP;break;case 'satellite':mapType=google.maps.MapTypeId.SATELLITE;break;case 'hybrid':mapType=google.maps.MapTypeId.HYBRID;break;default:mapType=google.maps.MapTypeId.TERRAIN}var mapOptions={'zoom':zoom,'mapTypeId':mapType,'scrollwheel':enableMouseWheel};if('undefined'!==typeof lsvr_townpress_google_maps_style_json){mapOptions.styles=JSON.parse(lsvr_townpress_google_maps_style_json)}else if('undefined'!==typeof lsvr_townpress_google_maps_style){mapOptions.styles=lsvr_townpress_google_maps_style}var map=new google.maps.Map(document.getElementById(elementId),mapOptions);$this.data('map',map);if((false===latitude||false===longitude)&&false!==address){var apiKey=typeof lsvr_townpress_google_api_key!=='undefined'?lsvr_townpress_google_api_key:false;if(false!==apiKey){var encodedAddress=encodeURI(address);jQuery.ajax({type:'post',dataType:'JSON',url:'https://maps.googleapis.com/ma
1ps/api/geocode/json?address='+encodedAddress+'&key='+apiKey,success:function(response){map.setCenter(response.results[0].geometry.location);var marker=new google.maps.Marker({position:response.results[0].geometry.location,map:map});$this.removeClass('c-gmap__canvas--loading')}})}}else if(false!==latitude&&false!==longitude){var location=new google.maps.LatLng(latitude,longitude);map.setCenter(location);var marker=new google.maps.Marker({position:location,map:map});$this.removeClass('c-gmap__canvas--loading')}else{$this.hide()}};if('object'===typeof google&&'object'===typeof google.maps){apiSetup()}else{$(document).on('lsvrTownpressGoogleMapsApiLoaded',function(){apiSetup()})}}}if(!$.fn.lsvrTownpressLoadGoogleMapsApi){$.fn.lsvrTownpressLoadGoogleMapsApi=function(){if(!$('body').hasClass('lsvr-google-maps-api-loaded')){if('object'===typeof google&&'object'===typeof google.maps){$.fn.lsvrTownpressGoogleMapsApiLoaded()}else if(!$('body').hasClass('lsvr-google-maps-api-being-loaded')){$('body').addClass('lsvr-google-maps-api-being-loaded');var script=document.createElement('script'),apiKey=typeof lsvr_townpress_google_api_key!=='undefined'?lsvr_townpress_google_api_key:false,language=$('html').attr('lang')?$('html').attr('lang'):'en';language=language.indexOf('-')>0?language.substring(0,language.indexOf('-')):language;if(apiKey!==false){script.type='text/javascript';script.src='https://maps.googleapis.com/maps/api/js?language='+encodeURIComponent(language)+'&key='+encodeURIComponent(apiKey)+'&callback=jQuery.fn.lsvrTownpressGoogleMapsApiLoaded';document.body.appendChild(script)}}}}}if(!$.fn.lsvrTownpressGoogleMapsApiLoaded){$.fn.lsvrTownpressGoogleMapsApiLoaded=function(){if('object'===typeof google&&'object'===typeof google.maps){$.event.trigger({type:'lsvrTownpressGoogleMapsApiLoaded',message:'Google Maps API is ready.',time:new Date()});$('body').removeClass('lsvr-google-maps-api-being-loaded');$('body').addClass('lsvr-google-maps-api-loaded')}}}})(jQuery);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.