1/* @license GPL-2.0-or-later https://www.drupal.org/licensing/faq */ 2(function(){const settingsElement=document.querySelector('head > script[type="application/json"][data-drupal-selector="drupal-settings-json"], body > script[type="application/json"][data-drupal-selector="drupal-settings-json"]');window.drupalSettings={};if(settingsElement!==null)window.drupalSettings=JSON.parse(settingsElement.textContent);})();; 3window.Drupal={behaviors:{},locale:{}};(function(Drupal,drupalSettings,drupalTranslations,console,Proxy,Reflect){Drupal.throwError=function(error){setTimeout(()=>{throw error;},0);};Drupal.attachBehaviors=function(context,settings){context=context||document;settings=settings||drupalSettings;const behaviors=Drupal.behaviors;Object.keys(behaviors||{}).forEach((i)=>{if(typeof behaviors[i].attach==='function')try{behaviors[i].attach(context,settings);}catch(e){Drupal.throwError(e);}});};Drupal.detachBehaviors=function(context,settings,trigger){context=context||document;settings=settings||drupalSettings;trigger=trigger||'unload';const behaviors=Drupal.behaviors;Object.keys(behaviors||{}).forEach((i)=>{if(typeof behaviors[i].detach==='function')try{behaviors[i].detach(context,settings,trigger);}catch(e){Drupal.throwError(e);}});};Drupal.checkPlain=function(str){str=str.toString().replace(/&/g,'&').replace(/</g,'<').replace(/>/g,'>').replace(/"/g,'"').replace(/'/g,''');return str;};Drupal.formatString=function(str,args){const processedArgs={};Object.keys(args||{}).forEach((key)=>{switch(key.charAt(0)){case '@':processedArgs[key]=Drupal.checkPlain(args[key]);break;case '!':processedArgs[key]=args[key];break;default:processedArgs[key]=Drupal.theme('placeholder',args[key]);break;}});return Drupal.stringReplace(str,processedArgs,null);};Drupal.stringReplace=function(str,args,keys){if(str.length===0)return str;if(!Array.isArray(keys)){keys=Object.keys(args||{});keys.sort((a,b)=>a.length-b.length);}if(keys.length===0)return str;const key=keys.pop();const fragments=str.split(key);if(keys.length){for(let i=0;i<fragments.length;i++)fragments[i]=Drupal.stringReplace(fragments[i],args,keys.slice(0));}return fragments.join(args[key]);};Drupal.t=function(str,args,options){options=options||{};options.context=options.context||'';if(drupalTranslations?.strings?.[options.context]?.[str])str=drupalTranslations.strings[options.context][str];if(args)str=Drupal.formatString(str,args);return str;};Drupal.url=function(path){return drupalSettings.path.baseUrl+drupalSettings.path.pathPrefix+path;};Drupal.url.toAbsolute=function(url){const urlParsingNode=document.createElement('a');try{url=decodeURIComponent(url);}catch(e){}urlParsingNode.setAttribute('href',url);return urlParsingNode.href;};Drupal.url.isLocal=function(url){let absoluteUrl=Drupal.url.toAbsolute(url);let {protocol}=window.location;if(protocol==='http:'&&absoluteUrl.startsWith('https:'))protocol='https:';let baseUrl=`${protocol}//${window.location.host}${drupalSettings.path.baseUrl.slice(0,-1)}`;try{absoluteUrl=decodeURIComponent(absoluteUrl);}catch(e){}try{baseUrl=decodeURIComponent(baseUrl);}catch(e){}return absoluteUrl===baseUrl||absoluteUrl.startsWith(`${baseUrl}/`);};Drupal.formatPlural=function(count,singular,plural,args,options){args=args||{};args['@count']=count;const pluralDelimiter=drupalSettings.pluralDelimiter;const translations=Drupal.t(singular+pluralDelimiter+plural,args,options).split(pluralDelimiter);let index=0;if(drupalTranslations?.pluralFormula)index=count in drupalTranslations.pluralFormula?drupalTranslations.pluralFormula[count]:drupalTranslations.pluralFormula.default;else{if(args['@count']!==1)index=1;}return translations[index];};Drupal.encodePath=function(item){return window.encodeURIComponent(item).replace(/%2F/g,'/');};Drupal.deprecationError=({message})=>{if(drupalSettings.suppressDeprecationErrors===false&&console?.warn)console.warn(`[Deprecation] ${message}`);};Drupal.deprecatedProperty=({target,deprecatedProperty,message})=>{if(!Proxy||!Reflect)return target;return new Proxy(target,{get:(target,key,...rest)=>{if(key===deprecatedProperty)Drupal.deprecationError({message});return Reflect.get(target,key,...rest);}});};Drupal.theme=function(func,...args){if(typeof Drupal.theme?.[func]==='function')return Drupal.theme[func](...args);Drupal.throwError(new TypeError(`Drupal.theme.${func} must be function type.`));};Drupal.theme.placeholder=function(str){return `<em class="placeholder">${Drupal.checkPlain(str)}</em>`;};Drupal.elementIsVisible=function(elem){return !!(elem.offsetWidth||elem.offsetHeight||elem.getClientRects().length);};Drupal.elementIsHidden=function(elem){return !Drupal.elementIsVisible(elem);};})(Drupal,window.drupalSettings,window.drupalTranslations,window.console,window.Proxy,window.Reflect);; 4if(window.jQuery)jQuery.noConflict();document.documentElement.className+=' js';(function(Drupal,drupalSettings){const domReady=(callback)=>{const listener=()=>{callback();document.removeEventListener('DOMContentLoaded',listener);};if(document.readyState!=='loading')setTimeout(callback,0);else document.addEventListener('DOMContentLoaded',listener);};domReady(()=>{Drupal.attachBehaviors(document,drupalSettings);});})(Drupal,window.drupalSettings);; 5;(function($){'use strict';$.fn.fitVids=function(options){var settings={customSelector:null,ignore:null};if(!document.getElementById('fit-vids-style')){var head=document.head||document.getElementsByTagName('head')[0];var css='.fluid-width-video-wrapper{width:100%;position:relative;padding:0;}.fluid-width-video-wrapper iframe,.fluid-width-video-wrapper object,.fluid-width-video-wrapper embed {position:absolute;top:0;left:0;width:100%;height:100%;}';var div=document.createElement("div");div.innerHTML='<p>x</p><style id="fit-vids-style">'+css+'</style>';head.appendChild(div.childNodes[1]);}if(options)$.extend(settings,options);return this.each(function(){var selectors=['iframe[src*="player.vimeo.com"]','
5iframe[src*="youtube.com"]','iframe[src*="youtube-nocookie.com"]','iframe[src*="kickstarter.com"][src*="video.html"]','object','embed'];if(settings.customSelector)selectors.push(settings.customSelector);var ignoreList='.fitvidsignore';if(settings.ignore)ignoreList=ignoreList+', '+settings.ignore;var $allVideos=$(this).find(selectors.join(','));$allVideos=$allVideos.not('object object');$allVideos=$allVideos.not(ignoreList);$allVideos.each(function(){var $this=$(this);if($this.parents(ignoreList).length>0)return;if(this.tagName.toLowerCase()==='embed'&&$this.parent('object').length||$this.parent('.fluid-width-video-wrapper').length)return;if((!$this.css('height')&&!$this.css('width'))&&(isNaN($this.attr('height'))||isNaN($this.attr('width')))){$this.attr('height',9);$this.attr('width',16);}var height=(this.tagName.toLowerCase()==='object'||($this.attr('height')&&!isNaN(parseInt($this.attr('height'),10))))?parseInt($this.attr('height'),10):$this.height(),width=!isNaN(parseInt($this.attr('width'),10))?parseInt($this.attr('width'),10):$this.width(),aspectRatio=height/width;if(!$this.attr('name')){var videoName='fitvid'+$.fn.fitVids._count;$this.attr('name',videoName);$.fn.fitVids._count++;}$this.wrap('<div class="fluid-width-video-wrapper"></div>').parent('.fluid-width-video-wrapper').css('padding-top',(aspectRatio*100)+'%');$this.removeAttr('height').removeAttr('width');});});};$.fn.fitVids._count=0;})(window.jQuery||window.Zepto);; 6(function($,Drupal,drupalSettings){try{$(drupalSettings.fitvids.selectors).fitVids({customSelector:drupalSettings.fitvids.custom_vendors,ignore:drupalSettings.fitvids.ignore_selectors});}catch(e){window.console&&console.warn('Fitvids stopped with the following exception');window.console&&console.error(e);}})(jQuery,Drupal,drupalSettings);; 7(function($,Drupal,drupalSettings){'use strict';Drupal.google_analytics={};$(document).ready(function(){$(document.body).on('mousedown keyup touchstart',function(event){$(event.target).closest('a,area').each(function(){if(typeof this.href!=="string")return;if(Drupal.google_analytics.isInternal(this.href))if($(this).is('.colorbox')&&(drupalSettings.google_analytics.trackColorbox)){}else if(drupalSettings.google_analytics.trackDownload&&Drupal.google_analytics.isDownload(this.href))gtag('event',Drupal.google_analytics.getDownloadExtension(this.href).toUpperCase(),{event_category:'Downloads',event_label:Drupal.google_analytics.getPageUrl(this.href),transport_type:'beacon'});else{if(Drupal.google_analytics.isInternalSpecial(this.href))gtag('config',drupalSettings.google_analytics.account,{page_path:Drupal.google_analytics.getPageUrl(this.href),transport_type:'beacon'});}else if(drupalSettings.google_analytics.trackMailto&&$(this).is("a[href^='mailto:'],area[href^='mailto:']"))gtag('event','Click',{event_category:'Mails',event_label:this.href.substring(7),transport_type:'beacon'});else if(drupalSettings.google_analytics.trackTel&&$(this).is("a[href^='tel:'],area[href^='tel:']"))gtag('event','Click',{event_category:'Telephone calls',event_label:this.href.substring(4),transport_type:'beacon'});else{if(drupalSettings.google_analytics.trackOutbound&&this.href.match(/^\w+:\/\//i))if(drupalSettings.google_analytics.trackDomainMode!==2||(drupalSettings.google_analytics.trackDomainMode===2&&!Drupal.google_analytics.isCrossDomain(this.hostname,drupalSettings.google_analytics.trackCrossDomains)))gtag('event','Click',{event_category:'Outbound links',event_label:this.href,transport_type:'beacon'});}});});if(drupalSettings.google_analytics.trackUrlFragments)window.onhashchange=function(){gtag('config',drupalSettings.google_analytics.account,{page_path:location.pathname+location.search+location.hash});};if(drupalSettings.google_analytics.trackColorbox)$(document).on('cbox_complete',function(){var href=$.colorbox.element().attr('href');if(href)gtag('config',drupalSettings.google_analytics.account,{page_path:Drupal.google_analytics.getPageUrl(href)});});});Drupal.google_analytics.isCrossDomain=function(hostname,crossDomains){return $.inArray(hostname,crossDomains)>-1?true:false;};Drupal.google_analytics.isDownload=function(url){var isDownload=new RegExp('\\.('+drupalSettings.google_analytics.trackDownloadExtensions+')([\?#].*)?$','i');return isDownload.test(url);};Drupal.google_analytics.isInternal=function(url){var isInternal=new RegExp('^(https?):\/\/'+window.location.host,'i');return isInternal.test(url);};Drupal.google_analytics.isInternalSpecial=function(url){var isInternalSpecial=new RegExp('(\/go\/.*)$','i');return isInternalSpecial.test(url);};Drupal.google_analytics.getPageUrl=function(url){var extractInternalUrl=new RegExp('^(https?):\/\/'+window.location.host,'i');return url.replace(extractInternalUrl,'');};Drupal.google_analytics.getDownloadExtension=function(url){var extractDownloadextension=new RegExp('\\.('+drupalSettings.google_analytics.trackDownloadExtensions+')([\?#].*)?$','i');var extension=extractDownloadextension.exec(url);return (extension===null)?'':extension[1];};})(jQuery,Drupal,drupalSettings);; 8function link_is_external(link_element){return link_element.host!==window.location.host;}function link_is_document(link_element){if(link_element.href.includes(".pdf")||link_element.href.includes(".doc"))return true;else return false;}function isElementFullyInViewport(el,size){if(typeof jQuery==="function"&&el instanceof jQuery)el=el[0];var rect=el.getBoundingClientRect();var elbottom=rect.bottom-size;return (rect.top>=0&&rect.left>=0&&elbottom<=(window.innerHeight||document.documentElement.clientHeight)&&rect.right<=(window.innerWidth||document.documentElement.clientWidth));}function isElementInViewport(el){if(typeof jQuery==="function"&&el instanceof jQuery)el=el[0];var rect=el.getBoundingClientRect();return (rect.bottom>0&&rect.right>0&&rect.left<(window.innerWidth||document.documentElement.clientWidth)&&rect.top<(window.innerHeight||document.documentElement.clientHeight));}(function($){$(document).on('click','a[href^="#"]',function(event){event.preventDefault();if($(this).attr('href')!='#plus'&&$(this).attr('href')!='#minus')$('html, body').animate({scrollTop:$($.attr(this,'href')).offset().top-200},1000);});$(document).ready(function(){$('.menu-search').text('').prepend('<i class="fa-solid fa-magnifying-glass"></i>').attr('aria-label','Search');if($('body .region-webform').length>0)$('.top-footer-curve').addClass('grey');if($('body .vertical-image-chain-background').length>0)$('footer#main').addClass('grey-footer');$('.view-downloads .views-row .ss-title-wrapper').each(function(){var textHeight=$(this).height()+20;$(this).parent().css('max-height',textHeight+'px');});$('.faq-question a').click(function(){if($(this).attr('aria-expanded')=='false'){$(this).attr('aria-expanded',true);$(this).parent().parent().find('section').attr('hidden',false);$(this).find('.toggle-plus').addClass('faq-hide');$(this).find('.toggle-minus').removeClass('faq-hide');}else{$(this).attr('aria-expanded',false);$(this).parent().parent().find('section').attr('hidden',true);$(this).find('.toggle-plus').removeClass('faq-hide');$(this).find('.toggle-minus').addClass('faq-hide');}});if($('body').hasClass('path-frontpage')){$('#block-sunshine-views-block-hoe-block-1-2').detach().prependTo('.view-header_image .header-title-link');$('.region-popup').detach().appendTo('#block-sunshine-homepagevideoheader .field_video_header');$('.alert-close a').on("click",function(){$('.region-popup').addClass('popup-hide');$('#block-sunshine-views-block-hoe-block-1').addClass('popup-hide');$('#block-sunshine-views-block-hoe-block-1-2').addClass('popup-hide');});$('.view-header_image .views-field-nothing-1').addClass('active');}$('.popup-close').click(function(){$('#block-sunshine-views-block-interior-pop-up-block-1').addClass('close');});$('.mobile-toggle').click(function(){$('.region-nav').toggleClass('active');});$('.has-header-image .header-title-link').each(function(){if($(this).height()>150&&!$('body').hasClass('path-frontpage')){$(this).closest('.has-header-image').addClass('tall-title');$('h1').addClass('tall-title');}});$('.input-inline-container .webform-element--title-inline').each(function(){$(this).append('<div class="quantity-control"><a class="quantity-up" href="#plus"><img width="24" src="/sites/default/files/quantity-up.svg"/></a><a class="quantity-down" href="#minus"><img width="24" src="/sites/default/files/quantity-down.svg"/></a><div>');});$('.quantity-up').on('click',function(){var currentQuantityValue=parseInt($(this).parent().parent().find('.form-number').val());$(this).parent().parent().find('.form-number').val(currentQuantityValue+1);var orderTotal=0;$('.order-option-fieldset input').each(function(){var itemPrice=$(this).parent().parent().parent().find('.item-price').text();var totalPrice=$(this).val()*itemPrice;orderTotal=orderTotal+totalPrice;});$('.order-total-num').text(orderTotal);$('input[name="order_total_num"]').val(orderTotal);});$('.quantity-down').on('click',function(){var currentQuantityValue=parseInt($(this).parent().parent().find('.form-number').val());if(currentQuantityValue>0){$(this).parent().parent().find('.form-number').val(currentQuantityValue-1);var orderTotal=0;$('.order-option-fieldset input').each(function(){var itemPrice=$(this).parent().parent().parent().find('.item-price').text();var totalPrice=$(this).val()*itemPrice;orderTotal=orderTotal+totalPrice;});$('.order-total-num').text(orderTotal);$('input[name="order_total_num"]').val(orderTotal);}});$('.order-option-fieldset input').on('change',function(){var orderTotal=0;$('.order-option-fieldset input').each(function(){var itemPrice=$(this).parent().parent().parent().find('.item-price').text();var totalPrice=$(this).val()*itemPrice;orderTotal=orderTotal+totalPrice;});$('.order-total-num').text(orderTotal);$('input[name="order_total_num"]').val(orderTotal);});});$(window).resize(function(){$('.view-downloads .views-row .ss-title-wrapper').each(function(){var textHeight=$(this).height()+20;$(this).parent().css('max-height',textHeight+'px');});});})(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.