1/* @license GPL-2.0-or-later https://www.drupal.org/licensing/faq */ 2(function($,Drupal,window,document){'use strict';$('.responsive-table--horizontal').not(".table-desktop").addClass("responsive-table--vertical--horizontal");$('.responsive-table--vertical--horizontal tbody td').each(function(){$(this).wrap('<td></td>');$(this).wrap('<tr class="table--row"></tr>');$(this).before("<th></th>");var tablehead=$(this).attr('data-label');$(this).prev("th").html(tablehead);});})(jQuery,Drupal,this,this.document);(function($,Drupal,window,document){'use strict';var livestreams=document.getElementsByClassName('live-stream'),n=livestreams.length;while(n--)livestreams[n].innerHTML="Watch it live";})(jQuery,Drupal,this,this.document);(function($,Drupal,window,document){'use strict';if($('.drawer').length){$('.drawer-trigger').click(function(){if($(this).hasClass('active')){$(this).toggleClass('active').next('.active').toggleClass('active').slideUp(400);$('#query').blur();}else{$(this).toggleClass('active').next('.drawer').toggleClass('active').slideDown(400);$(this).parent('.drawer-wrapper').siblings('.drawer-wrapper').children('.drawer').removeClass('active').slideUp(400);$(this).parent('.drawer-wrapper').siblings('.drawer-wrapper').children('.drawer-trigger').removeClass('active');if($(this).hasClass('search-trigger')){$('#query').focus();$('input[name=search_block_form]').focus();}}});$('.drawer-close-button').click(function(){$(this).closest('.drawer.active').toggleClass('active').slideUp(400).prev('.drawer-trigger.active').toggleClass('active');$('#query').blur();});}if($('.drawer.mobile-only').length)$(window).resize(function(){$('.active').removeClass('active');if($(window).width()>980)$('.drawer.mobile-only').css('display','');});$(document).on("keydown",function(e){if(e.keyCode==70&&(e.ctrlKey||e.metaKey))$('.dr-h').each(function(){if(!$(this).hasClass('expanded')){$(this).click();$(this).addClass('expanded');}});if(e.keyCode==27)$('.dr-h').each(function(){if($(this).hasClass('expanded')){$(this).click();$(this).removeClass('expanded');}});});$('.dr-h').click(function(){if($(this).hasClass('expanded'))$(this).removeClass('expanded');else $(this).addClass('expanded');});if($('.drawer-trigger').length){$('.drawer-wrapper div.drawer-trigger').attr("tabindex","0");$('div.drawer-trigger').attr("tabindex","0");$('.drawer-trigger').keydown(function(e){if(e.keyCode==13){e.preventDefault();this.click();}});}})(jQuery,Drupal,this,this.document);(function($,Drupal,window,document){'use strict';if($('.dr').length){$('.dr__content').hide().attr('aria-hidden',true);$('.dr__header').click(function(){var el=$(this);var isActive=el.hasClass('dr__header--active');var content=el.siblings('.dr__content');el.toggleClass('dr__header--active');if(isActive)content.slideUp().attr('aria-hidden',true);else content.slideDown().attr('aria-hidden',false);});}})(jQuery,Drupal,this,this.document);(function($,Drupal,window,document){'use strict';$(window).on('load resize',function(){if($(window).width()>980){var colHeight=$('.featured-item-details').outerHeight();
2$('.featured-item-thumb').css('height',colHeight+'px');}});})(jQuery,Drupal,this,this.document);(function($,Drupal,window,document){'use strict';window.circle_count=0;$(document).on('click','.vote-button',function(){var text=$(this).prev('.choice_text').text();$('label:contains("'+text+'")').prev('input[type=radio]').prop("checked",true).change();});$(document).on('change','input[type=radio]',function(){var form=$(this).closest('form');$('input[type=submit]',form).mousedown();});if($('.node-advpoll').length||$('.paragraphs-item-feedback').length){Drupal.behaviors.renderRawPoll={attach:function(context,settings){$('.poll-stub').once('poll-stub').each(function(){var nid=$(this).data('poll-id');var element_settings={url:window.location.protocol+'//'+window.location.hostname+settings.basePath+settings.pathPrefix+'ajax/poll/'+nid,event:'click',progress:{type:'throbber'}};$.ajax(element_settings.url).done(function(result){result=JSON.parse(result);$(result.selector).html(result.html);Drupal.attachBehaviors(context,settings);});});}};Drupal.behaviors.pollConvertForm={attach:function(context,settings){$.fn.createBosCircle=function(){$(this).each(function(){var circle_id='circle-container-'+circle_count++;$(this).attr('id',circle_id);var percent=$(this).data('percent');var text=$(this).data('text');Circles.create({id:circle_id,radius:66,value:percent,maxValue:100,width:12,text:percent+'%',colors:['#ececec','#091f2f'],duration:200,wrpClass:'circles-wrp',textClass:'circles-text',valueStrokeClass:'circles-valueStroke',maxValueStrokeClass:'circles-maxValueStroke',styleWrapper:true,styleText:false});$('#'+circle_id).find('.circles-wrp').after('<div class="choice_text">'+text+'</div>');});};$('div.circles_container').once('circle-generate').createBosCircle();if(Drupal.settings.bos_content_type_advpoll!==null){var pollOptions=Drupal.settings.bos_content_type_advpoll;pollOptions.forEach(function(myOptions){var regex=new RegExp("(advpoll"+myOptions.poll_options.poll_id+"=vote)","g");$('#advpoll-form-'+myOptions.poll_options.poll_id+' .circles_container').each(function(){if(!document.cookie.match(regex))$(this).once('vote-button-add').append('<button class="vote-button button-sm" type="button">'+myOptions.poll_options.vote_button_text+'</button>');});});}}};}})(jQuery,Drupal,this,this.document);(function($,Drupal,window,document){'use strict';Drupal.behaviors.photoComponent={attach:function(context,settings){$('.paragraphs-item-photo').each(function(){if($(this).find('.photo-detail
2s').length>0)$(this).addClass('with-details');else $(this).addClass('without-details');});}};})(jQuery,Drupal,this,this.document);(function($,Drupal,window,document){'use strict';var fadeSpeed=100;$('.translate-trigger').on('click',function(e){e.preventDefault();$('.popover').fadeToggle(fadeSpeed);});$(document).click(function(e){e.stopPropagation();if($(e.target).is('.popover, .translate-trigger'))return false;else $('.popover').fadeOut(fadeSpeed);});})(jQuery,Drupal,this,this.document);(function($,Drupal,window,document){'use strict';if($('.node-type-tabbed-content').length)$('#breadcrumb').prependTo('article');})(jQuery,Drupal,this,this.document);;(function(window,document,undefined){var classes=[];var tests=[];var ModernizrProto={_version:'3.3.1',_config:{'classPrefix':'','enableClasses':true,'enableJSClass':true,'usePrefixes':true},_q:[],on:function(test,cb){var self=this;setTimeout(function(){cb(self[test]);},0);},addTest:function(name,fn,options){tests.push({name,fn,options});},addAsyncTest:function(fn){tests.push({name:null,fn});}};var Modernizr=function(){};Modernizr.prototype=ModernizrProto;Modernizr=new Modernizr();function is(obj,type){return typeof obj===type;};function testRunner(){var featureNames;var feature;var aliasIdx;var result;var nameIdx;var featureName;var featureNameSplit;for(var featureIdx in tests)if(tests.hasOwnProperty(featureIdx)){featureNames=[];feature=tests[featureIdx];if(feature.name){featureNames.push(feature.name.toLowerCase());if(feature.options&&feature.options.aliases&&feature.options.aliases.length)for(aliasIdx=0;aliasIdx<feature.options.aliases.length;aliasIdx++)featureNames.push(feature.options.aliases[aliasIdx].toLowerCase());}result=is(feature.fn,'function')?feature.fn():feature.fn;for(nameIdx=0;nameIdx<featureNames.length;nameIdx++){featureName=featureNames[nameIdx];featureNameSplit=featureName.split('.');if(featureNameSplit.length===1)Modernizr[featureNameSplit[0]]=result;else{if(Modernizr[featureNameSplit[0]]&&!(Modernizr[featureNameSplit[0]] instanceof Boolean))Modernizr[featureNameSplit[0]]=new Boolean(Modernizr[featureNameSplit[0]]);Modernizr[featureNameSplit[0]][featureNameSplit[1]]=result;}classes.push((result?'':'no-')+featureNameSplit.join('-'));}}};var docElement=document.documentElement;var isSVG=docElement.nodeName.toLowerCase()==='svg';function setClasses(classes){var className=docElement.className;var classPrefix=Modernizr._config.classPrefix||'';if(isSVG)className=className.baseVal;if(Modernizr._config.enableJSClass){var reJS=new RegExp('(^|\\s)'+classPrefix+'no-js(\\s|$)');className=className.replace(reJS,'$1'+classPrefix+'js$2');}if(Modernizr._config.enableClasses){className+=' '+classPrefix+classes.join(' '+classPrefix);isSVG?docElement.className.baseVal=className:docElement.className=className;}};function contains(str,substr){return !!~(''+str).indexOf(substr);};function createElement(){if(typeof document.createElement!=='function')return document.createElement(arguments[0]);else if(isSVG)return document.createElementNS.call(document,'http://www.w3.org/2000/svg',arguments[0]);else return document.createElement.apply(document,arguments);};function cssToDOM(name){return name.replace(/([a-z])-([a-z])/g,function(str,m1,m2){return m1+m2.toUpperCase();}).replace(/^-/,'');};var omPrefixes='Moz O ms Webkit';var domPrefixes=(ModernizrProto._config.usePrefixes?omPrefixes.toLowerCase().split(' '):[]);ModernizrProto._domPrefixes=domPrefixes;var cssomPrefixes=(ModernizrProto._config.usePrefixes?omPrefixes.split(' '):[]);ModernizrProto._cssomPrefixes=cssomPrefixes;function fnBind(fn,that){return function(){return fn.apply(that,arguments);};};function testDOMProps(props,obj,elem){var item;for(var i in props)if(props[i] in obj){if(elem===false)return props[i];item=obj[props[i]];if(is(item,'function'))return fnBind(item,elem||obj);return item;}return false;};var modElem={elem:createElement('modernizr')};Modernizr._q.push(function(){delete modElem.elem;});var mStyle={style:modElem.elem.style};Modernizr._q.unshift(function(){delete mStyle.style;});function domToCSS(name){return name.replace(/([A-Z])/g,function(str,m1){return '-'+m1.toLowerCase();}).replace(/^ms-/,'-ms-');};function getBody(){var body=document.body;if(!body){body=createElement(isSVG?'svg':'body');body.fake=true;}return body;};function injectElementWithStyles(rule,callback,nodes,testnames){var mod='modernizr';var style;var ret;var node;var docOverflow;var div=createElement('div');var body=getBody();if(parseInt(nodes,10))while(nodes--){node=createElement('div');node.id=testnames?testnames[nodes]:mod+(nodes+1);div.appendChild(node);}style=createElement('style');style.type='text/css';style.id='s'+mod;(!body.fake?div:body).appendChild(style);body.appendChild(div);if(style.styleSheet)style.styleSheet.cssText=rule;else style.appendChild(document.createTextNode(rule));div.id=mod;if(body.fake){body.style.background='';body.style.overflow='hidden';docOverflow=docElement.style.overflow;docElement.style.overflow='hidden';docElement.appendChild(body);}ret=callback(div,rule);
2if(body.fake){body.parentNode.removeChild(body);docElement.style.overflow=docOverflow;docElement.offsetHeight;}else div.parentNode.removeChild(div);return !!ret;};function nativeTestProps(props,value){var i=props.length;if('CSS' in window&&'supports' in window.CSS){while(i--)if(window.CSS.supports(domToCSS(props[i]),value))return true;return false;}else{if('CSSSupportsRule' in window){var conditionText=[];while(i--)conditionText.push('('+domToCSS(props[i])+':'+value+')');conditionText=conditionText.join(' or ');return injectElementWithStyles('@supports ('+conditionText+') { #modernizr { position: absolute; } }',function(node){return getComputedStyle(node,null).position=='absolute';});}}return undefined;};function testProps(props,prefixed,value,skipValueTest){skipValueTest=is(skipValueTest,'undefined')?false:skipValueTest;if(!is(value,'undefined')){var result=nativeTestProps(props,value);if(!is(result,'undefined'))return result;}var afterInit,i,propsLength,prop,before;var elems=['modernizr','tspan'];while(!mStyle.style){afterInit=true;mStyle.modElem=createElement(elems.shift());mStyle.style=mStyle.modElem.style;}function cleanElems(){if(afterInit){delete mStyle.style;delete mStyle.modElem;}}propsLength=props.length;for(i=0;i<propsLength;i++){prop=props[i];before=mStyle.style[prop];if(contains(prop,'-'))prop=cssToDOM(prop);if(mStyle.style[prop]!==undefined)if(!skipValueTest&&!is(value,'undefined')){try{mStyle.style[prop]=value;}catch(e){}if(mStyle.style[prop]!=before){cleanElems();return prefixed=='pfx'?prop:true;}}else{cleanElems();return prefixed=='pfx'?prop:true;}}cleanElems();return false;};function testPropsAll(prop,prefixed,elem,value,skipValueTest){var ucProp=prop.charAt(0).toUpperCase()+prop.slice(1),props=(prop+' '+cssomPrefixes.join(ucProp+' ')+ucProp).split(' ');if(is(prefixed,'string')||is(prefixed,'undefined'))return testProps(props,prefixed,value,skipValueTest);else{props=(prop+' '+(domPrefixes).join(ucProp+' ')+ucProp).split(' ');return testDOMProps(props,prefixed,elem);}}ModernizrProto.testAllProps=testPropsAll;function testAllProps(prop,value,skipValueTest){return testPropsAll(prop,undefined,undefined,value,skipValueTest);}ModernizrProto.testAllProps=testAllProps;Modernizr.addTest('flexbox',testAllProps('flexBasis','1px',true));testRunner();setClasses(classes);delete ModernizrProto.addTest;delete ModernizrProto.addAsyncTest;for(var i=0;i<Modernizr._q.length;i++)Modernizr._q[i]();window.Modernizr=Modernizr;;})(window,document);(function($,window,document){if(Modernizr!==undefined)if(Modernizr.flexbox!==true)$('.grid-card').addClass('no-flex');})(jQuery,this,this.document);window.matchMedia||(window.matchMedia=function(c){var a=c.document,w=a.documentElement,l=[],t=0,x="",h={},G=/\s*(only|not)?\s*(screen|print|[a-z\-]+)\s*(and)?\s*/i,H=/^\s*\(\s*(-[a-z]+-)?(min-|max-)?([a-z\-]+)\s*(:?\s*([0-9]+(\.[0-9]+)?|portrait|landscape)(px|em|dppx|dpcm|rem|%|in|cm|mm|ex|pt|pc|\/([0-9]+(\.[0-9]+)?))?)?\s*\)\s*$/,y=0,A=function(b){var z=-1!==b.indexOf(",")&&b.split(",")||[b],e=z.length-1,j=e,g=null,d=null,c="",a=0,l=!1,m="",f="",g=null,d=0,f=null,k="",p="",q="",n="",r="",k=!1;if(""===b)return !0;do{g=z[j-e];l=!1;if(d=g.match(G))c=d[0],a=d.index;if(!d||-1===g.substring(0,a).indexOf("(")&&(a||!d[3]&&c!==d.input))k=!1;else{f=g;l="not"===d[1];a||(m=d[2],f=g.substring(c.length));k=m===x||"all"===m||""===m;g=-1!==f.indexOf(" and ")&&f.split(" and ")||[f];d=g.length-1;if(k&&0<=d&&""!==f)do{f=g[d].match(H);if(!f||!h[f[3]]){k=!1;break;}k=f[2];n=p=f[5];q=f[7];r=h[f[3]];q&&(n="px"===q?Number(p):"em"===q||"rem"===q?16*p:f[8]?(p/f[8]).toFixed(2):"dppx"===q?96*p:"dpcm"===q?0.3937*p:Number(p));k="min-"===k&&n?r>=n:"max-"===k&&n?r<=n:n?r===n:!!r;if(!k)break;}while(d--);if(k)break;}}while(e--);return l?!k:k;},B=function(){var b=c.innerWidth||w.clientWidth,a=c.innerHeight||w.clientHeight,e=c.screen.width,j=c.screen.height,g=c.screen.colorDepth,d=c.devicePixelRatio;h.width=b;h.height=a;h["aspect-ratio"]=(b/a).toFixed(2);h["device-width"]=e;h["device-height"]=j;h["device-aspect-ratio"]=(e/j).toFixed(2);h.color=g;h["color-index"]=Math.pow(2,g);h.orientation=a>=b?"portrait":"landscape";h.resolution=d&&96*d||c.screen.deviceXDPI||96;h["device-pixel-ratio"]=d||1;},C=function(){clearTimeout(y);y=setTimeout(function(){var b=null,a=t-1,e=a,j=!1;if(0<=a){B();do if(b=l[e-a])if((j=A(b.mql.media))&&!b.mql.matches||!j&&b.mql.matches)if(b.mql.matches=j,b.listeners)for(var j=0,g=b.listeners.length;j<g;j++)b.listeners[j]&&b.listeners[j].call(c,b.mql);while(a--);}},10);},D=a.getElementsByTagName("head")[0],a=a.createElement("style"),E=null,u="screen print speech projection handheld tv braille embossed tty".split(" "),m=0,I=u.length,s="#mediamatchjs { position: relative; z-index: 0; }",v="",F=c.addEventListener||(v="on")&&c.attachEvent;a.type="text/css";a.id="mediamatchjs";D.appendChild(a);for(E=c.getComputedStyle&&c.getComputedStyle(a)||a.currentStyle;m<I;m++)s+="@media "+u[m]+" { #mediamatchjs { position: relative; z-index: "+m+" } }";a.styleSheet?a.styleSheet.cssText=s:a.textContent=s;
2x=u[1*E.zIndex||0];D.removeChild(a);B();F(v+"resize",C);F(v+"orientationchange",C);return function(a){var c=t,e={matches:!1,media:a,addListener:function(a){l[c].listeners||(l[c].listeners=[]);a&&l[c].listeners.push(a);},removeListener:function(a){var b=l[c],d=0,e=0;if(b)for(e=b.listeners.length;d<e;d++)b.listeners[d]===a&&b.listeners.splice(d,1);}};if(""===a)return e.matches=!0,e;e.matches=A(a);t=l.push({mql:e,listeners:null});return e;};}(window));!function(a,b,c){var d=window.matchMedia;"undefined"!=typeof module&&module.exports?module.exports=c(d):"function"==typeof define&&define.amd?define(function(){return b[a]=c(d);}):b[a]=c(d);}("enquire",this,function(a){"use strict";function b(a,b){var c,d=0,e=a.length;for(d;e>d&&(c=b(a[d],d),c!==!1);d++);}function c(a){return "[object Array]"===Object.prototype.toString.apply(a);}function d(a){return "function"==typeof a;}function e(a){this.options=a,!a.deferSetup&&this.setup();}function f(b,c){this.query=b,this.isUnconditional=c,this.handlers=[],this.mql=a(b);var d=this;this.listener=function(a){d.mql=a,d.assess();},this.mql.addListener(this.listener);}
2function g(){if(!a)throw new Error("matchMedia not present, legacy browsers require a polyfill");this.queries={},this.browserIsIncapable=!a("only all").matches;}return e.prototype={setup:function(){this.options.setup&&this.options.setup(),this.initialised=!0;},on:function(){!this.initialised&&this.setup(),this.options.match&&this.options.match();},off:function(){this.options.unmatch&&this.options.unmatch();},destroy:function(){this.options.destroy?this.options.destroy():this.off();},equals:function(a){return this.options===a||this.options.match===a;}},f.prototype={addHandler:function(a){var b=new e(a);this.handlers.push(b),this.matches()&&b.on();},removeHandler:function(a){var c=this.handlers;b(c,function(b,d){return b.equals(a)?(b.destroy(),!c.splice(d,1)):void 0;});},matches:function(){return this.mql.matches||this.isUnconditional;},clear:function(){b(this.handlers,function(a){a.destroy();}),this.mql.removeListener(this.listener),this.handlers.length=0;},assess:function(){var a=this.matches()?"on":"off";b(this.handlers,function(b){b[a]();});}},g.prototype={register:function(a,e,g){var h=this.queries,i=g&&this.browserIsIncapable;return h[a]||(h[a]=new f(a,i)),d(e)&&(e={match:e}),c(e)||(e=[e]),b(e,function(b){d(b)&&(b={match:b}),h[a].addHandler(b);}),this;},unregister:function(a,b){var c=this.queries[a];return c&&(b?c.removeHandler(b):(c.clear(),delete this.queries[a])),this;}},new g();});(function($,Drupal,window,document){if(window.enquire!==undefined){$.fn.transposeHorizontal=function(){var $this=$(this),table=$('<table><thead><tr></tr></thead><tbody></tbody></table>'),newRows=[];$('th',this).each(function(){$('thead > tr',table).append('<th>'+this.innerHTML+'</th>');});$this.find('tbody > tr').each(function(){var i=0;$(this).find('td').each(function(){if(newRows[i]===undefined)newRows[i]=$("<tr></tr>");newRows[i++].append($(this));});});$.each(newRows,function(){$('tbody',table).append(this);});$this.addClass('responsive-table responsive-table--vertical transposed');$this.html(table.html());};$.fn.transposeVertical=function(){var $this=$(this),table=$('<table><tbody></tbody></table>'),newRows=[];$this.find('tbody > tr').each(function(){var i=0;$(this).find('td').each(function(){if(newRows[i]===undefined)newRows[i]=$("<tr></tr>");newRows[i++].append($(this));});});$this.find('th').each(function(index,value){newRows[index].prepend(this);});$.each(newRows,function(){$('tbody',table).append(this);});$this.removeClass('transposed');$this.addClass('responsive-table responsive-table--vertical');$this.html(table.html());};}})(jQuery,Drupal,this,this.document);!function(){"use strict";var a=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||function(a){setTimeout(a,1e3/60);},b=window.Circles=function(a){var b=a.id;if(this._el=document.getElementById(b),null!==this._el){this._radius=a.radius||10,this._duration=void 0===a.duration?500:a.duration,this._value=0,this._maxValue=a.maxValue||100,this._text=void 0===a.text?function(a){return this.htmlifyNumber(a);}:a.text,this._strokeWidth=a.width||10,this._colors=a.colors||["#EEE","#F00"],this._svg=null,this._movingPath=null,this._wrapContainer=null,this._textContainer=null,this._wrpClass=a.wrpClass||"circles-wrp",this._textClass=a.textClass||"circles-text",this._valClass=a.valueStrokeClass||"circles-valueStroke",this._maxValClass=a.maxValueStrokeClass||"circles-maxValueStroke",this._styleWrapper=a.styleWrapper===!1?!1:!0,this._styleText=a.styleText===!1?!1:!0;var c=Math.PI/180*270;this._start=-Math.PI/180*90,this._startPrecise=this._precise(this._start),this._circ=c-this._start,this._generate().update(a.value||0);}};b.prototype={VERSION:"0.0.6",_generate:function(){return this._svgSize=2*this._radius,this._radiusAdjusted=this._radius-this._strokeWidth/2,this._generateSvg()._generateText()._generateWrapper(),this._el.innerHTML="",this._el.appendChild(this._wrapContainer),this;},_setPercentage:function(a){this._movingPath.setAttribute("d",this._calculatePath(a,!0)),this._textContainer.innerHTML=this._getText(this.getValueFromPercent(a));},_generateWrapper:function(){return this._wrapContainer=document.createElement("div"),this._wrapContainer.className=this._wrpClass,this._styleWrapper&&(this._wrapContainer.style.position="relative",this._wrapContainer.style.display="inline-block"),this._wrapContainer.appendChild(this._svg),this._wrapContainer.appendChild(this._textContainer),this;},_generateText:function(){if(this._textContainer=document.createElement("div"),this._textContainer.className=this._textClass,this._styleText){var a={position:"absolute",top:0,left:0,textAlign:"center",width:"100%",fontSize:.7*this._radius+"px",height:this._svgSize+"px",lineHeight:this._svgSize+"px"};for(var b in a)this._textContainer.style[b]=a[b];}return this._textContainer.innerHTML=this._getText(0),this;},_getText:function(a){return this._text?(void 0===a&&(a=this._value),a=parseFloat(a.toFixed(2)),"function"==typeof this._text?this._text.call(this,a):this._text):"";},_generateSvg:function(){return this._svg=document.createElementNS("http://www.w3.org/2000/svg","svg"),this._svg.setAttribute("xmlns","http://www.w3.org/2000/svg"),this._svg.setAttribute("width",this._svgSize),this._svg.setAttribute("height",this._svgSize),this._generatePath(100,!1,this._colors[0],this._maxValClass)._generatePath(1,!0,this._colors[1],this._valClass),this._movingPath=this._svg.getElementsByTagName("path")[1],this;},_generatePath:function(a,b,c,d){var e=document.createElementNS("http://www.w3.org/2000/svg","path");return e.setAttribute("fill","transparent"),e.setAttribute("stroke",c),e.setAttribute("stroke-width",this._strokeWidth),e.setAttribute("d",this._calculatePath(a,b)),e.setAttribute("class",d),this._svg.appendChild(e),this;},_calculatePath:function(a,b){var c=this._start+a/100*this._circ,d=this._precise(c);return this._arc(d,b);},_arc:function(a,b){var c=a-.001,d=a-this._startPrecise<Math.PI?0:1;return ["M",this._radius+this._radiusAdjusted*Math.cos(this._startPrecise),this._radius+this._radiusAdjusted*Math.sin(this._startPrecise),"A",this._radiusAdjusted,this._radiusAdjusted,0,d,1,this._radius+this._radiusAdjusted*Math.cos(c),this._radius+this._radiusAdjusted*Math.sin(c),b?"":"Z"].join(" ");},_precise:function(a){return Math.round(1e3*a)/1e3;},htmlifyNumber:function(a,b,c){b=b||"circles-integer",c=c||"circles-decimals";var d=(a+"").split("."),e='<span class="'+b+'">'+d[0]+"</span>";return d.length>1&&(e+='.<span class="'+c+'">'+d[1].substring(0,2)+"</span>"),e;},updateRadius:function(a){return this._radius=a,this._generate().update(!0);},updateWidth:function(a){return this._strokeWidth=a,this._generate().update(!0);},updateColors:function(a){this._colors=a;var b=this._svg.getElementsByTagName("path");return b[0].setAttribute("stroke",a[0]),b[1].setAttribute("stroke",a[1]),this;},getPercent:function(){return 100*this._value/this._maxValue;},getValueFromPercent:function(a){return this._maxValue*a/100;},getValue:function(){return this._value;},getMaxValue:function(){return this._maxValue;},update:function(b,c){if(b===!0)return this._setPercentage(this.getPercent()),this;if(this._value==b||isNaN(b))return this;void 0===c&&(c=this._duration);var d,e,f,g,h=this,i=h.getPercent(),j=1;return this._value=Math.min(this._maxValue,Math.max(0,b)),c?(d=h.getPercent(),e=d>i,j+=d%1,f=Math.floor(Math.abs(d-i)/j),g=c/f,function k(b){if(e?i+=j:i-=j,e&&i>=d||!e&&d>=i)return void a(function(){h._setPercentage(d);});a(function(){h._setPercentage(i);});var c=Date.now(),f=c-b;f>=g?k(c):setTimeout(function(){k(Date.now());},g-f);}(Date.now()),this):(this._setPercentage(this.getPercent()),this);}},b.create=function(a){return new b(a);};}();(function(d){function e(){this.isField=!0;this.keyboardMode=this.hasLabel=this.cutOff=this.disabled=this.inFocus=this.down=!1;this.nativeTouch=!0;this.wrapperClass="dropdown";this.onChange=null;}e.prototype={constructor:e,instances:{},init:function(a,c){var b=this;d.extend(b,c);b.$select=d(a);b.id=a.id;b.options=[];b.$options=b.$select.find("option");b.isTouch="ontouchend" in document;b.$select.removeClass(b.wrapperClass+" dropdown");
2b.$select.is(":disabled")&&(b.disabled=!0);b.$options.length&&(b.$options.each(function(a){var c=d(this);c.is(":selected")&&(b.selected={index:a,title:c.text()},b.focusIndex=a);c.hasClass("label")&&0==a?(b.hasLabel=!0,b.label=c.text(),c.attr("value","")):b.options.push({domNode:c[0],title:c.text(),value:c.val(),selected:c.is(":selected")});}),b.selected||(b.selected={index:0,title:b.$options.eq(0).text()},b.focusIndex=0),b.render());},render:function(){var a=this;a.$container=a.$select.wrap('<div class="'+a.wrapperClass+(a.isTouch&&a.nativeTouch?" touch":"")+(a.disabled?" disabled":"")+'"><span class="old"/></div>').parent().parent();a.$active=d('<span class="selected">'+a.selected.title+"</span>").appendTo(a.$container);a.$carat=d('<span class="carat"/>').appendTo(a.$container);a.$scrollWrapper=d("<div><ul/></div>").appendTo(a.$container);a.$dropDown=a.$scrollWrapper.find("ul");a.$form=a.$container.closest("form");d.each(a.options,function(){a.$dropDown.append("<li"+(this.selected?' class="active"':"")+">"+this.title+"</li>");});a.$items=a.$dropDown.find("li");a.cutOff&&a.$items.length>a.cutOff&&a.$container.addClass("scrollable");a.getMaxHeight();a.isTouch&&a.nativeTouch?a.bindTouchHandlers():a.bindHandlers();},getMaxHeight:function(){for(i=this.maxHeight=0;i<this.$items.length;i++){var a=this.$items.eq(i);this.maxHeight+=a.outerHeight();if(this.cutOff==i+1)break;}},bindTouchHandlers:function(){var a=this;a.$container.on("click.easyDropDown",function(){a.$select.focus();});a.$select.on({change:function(){var c=d(this).find("option:selected"),b=c.text(),c=c.val();a.$active.text(b);"function"===typeof a.onChange&&a.onChange.call(a.$select[0],{title:b,value:c});},focus:function(){a.$container.addClass("focus");},blur:function(){a.$container.removeClass("focus");}});},bindHandlers:function(){var a=this;a.query="";a.$container.on({"click.easyDropDown":function(){a.down||a.disabled?a.close():a.open();},"mousemove.easyDropDown":function(){a.keyboardMode&&(a.keyboardMode=!1);}});d("body").on("click.easyDropDown."+a.id,function(c){c=d(c.target);var b=a.wrapperClass.split(" ").join(".");!c.closest("."+b).length&&a.down&&a.close();});a.$items.on({"click.easyDropDown":function(){var c=d(this).index();a.select(c);a.$select.focus();},"mouseover.easyDropDown":function(){if(!a.keyboardMode){var c=d(this);c.addClass("focus").siblings().removeClass("focus");a.focusIndex=c.index();}},"mouseout.easyDropDown":function(){a.keyboardMode||d(this).removeClass("focus");}});a.$select.on({"focus.easyDropDown":function(){a.$container.addClass("focus");a.inFocus=!0;},"blur.easyDropDown":function(){a.$container.removeClass("focus");a.inFocus=!1;},"keydown.easyDropDown":function(c){if(a.inFocus){a.keyboardMode=!0;var b=c.keyCode;if(38==b||40==b||32==b)c.preventDefault(),38==b?(a.focusIndex--,a.focusIndex=0>a.focusIndex?a.$items.length-1:a.focusIndex):40==b&&(a.focusIndex++,a.focusIndex=a.focusIndex>
2a.$items.length-1?0:a.focusIndex),a.down||a.open(),a.$items.removeClass("focus").eq(a.focusIndex).addClass("focus"),a.cutOff&&a.scrollToView(),a.query="";if(a.down)if(9==b||27==b)a.close();else{if(13==b)return c.preventDefault(),a.select(a.focusIndex),a.close(),!1;if(8==b)return c.preventDefault(),a.query=a.query.slice(0,-1),a.search(),clearTimeout(a.resetQuery),!1;38!=b&&40!=b&&(c=String.fromCharCode(b),a.query+=c,a.search(),clearTimeout(a.resetQuery));}}},"keyup.easyDropDown":function(){a.resetQuery=setTimeout(function(){a.query="";},1200);}});a.$dropDown.on("scroll.easyDropDown",function(c){a.$dropDown[0].scrollTop>=a.$dropDown[0].scrollHeight-a.maxHeight?a.$container.addClass("bottom"):a.$container.removeClass("bottom");});if(a.$form.length)a.$form.on("reset.easyDropDown",function(){a.$active.text(a.hasLabel?a.label:a.options[0].title);});},unbindHandlers:function(){this.$container.add(this.$select).add(this.$items).add(this.$form).add(this.$dropDown).off(".easyDropDown");d("body").off("."+this.id);},open:function(){var a=window.scrollY||document.documentElement.scrollTop,c=window.scrollX||document.documentElement.scrollLeft,b=this.notInViewport(a);this.closeAll();this.getMaxHeight();this.$select.focus();window.scrollTo(c,a+b);this.$container.addClass("open");this.$scrollWrapper.css("height",this.maxHeight+"px");this.down=!0;},close:function(){this.$container.removeClass("open");this.$scrollWrapper.css("height","0px");this.focusIndex=this.selected.index;this.query="";this.down=!1;},closeAll:function(){var a=Object.getPrototypeOf(this).instances,c;for(c in a)a[c].close();},select:function(a){"string"===typeof a&&(a=this.$select.find("option[value="+a+"]").index()-1);var c=this.options[a],b=this.hasLabel?a+1:a;this.$items.removeClass("active").eq(a).addClass("active");this.$active.text(c.title);this.$select.find("option").removeAttr("selected").eq(b).prop("selected",!0).parent().trigger("change");this.selected={index:a,title:c.title};this.focusIndex=i;"function"===typeof this.onChange&&this.onChange.call(this.$select[0],{title:c.title,value:c.value});},search:function(){var a=this,c=function(b){a.focusIndex=b;a.$items.removeClass("focus").eq(a.focusIndex).addClass("focus");a.scrollToView();};for(i=0;i<a.options.length;i++){var b=a.options[i].title.toUpperCase();if(0==b.indexOf(a.query)){c(i);return;}}for(i=0;i<a.options.length;i++)if(b=a.options[i].title.toUpperCase(),-1<b.indexOf(a.query)){c(i);break;}},scrollToView:function(){if(this.focusIndex>=this.cutOff){var a=this.$items.eq(this.focusIndex).outerHeight()*(this.focusIndex+1)-this.maxHeight;this.$dropDown.scrollTop(a);}},notInViewport:function(a){var c=a+(window.innerHeight||document.documentElement.clientHeight),b=this.$dropDown.offset().top+this.maxHeight;return b>=a&&b<=c?0:b-c+5;},destroy:function(){this.unbindHandlers();this.$select.unwrap().siblings().remove();this.$select.unwrap();delete Object.getPrototypeOf(this).instances[this.$select[0].id];},disable:function(){this.disabled=!0;this.$container.addClass("disabled");this.$select.attr("disabled",!0);this.down||this.close();},enable:function(){this.disabled=!1;this.$container.removeClass("disabled");this.$select.attr("disabled",!1);}};var f=function(a,c){a.id=a.id?a.id:"EasyDropDown"+("00000"+(16777216*Math.random()<<0).toString(16)).substr(-6).toUpperCase();var b=new e();b.instances[a.id]||(b.instances[a.id]=b,b.init(a,c));};d.fn.easyDropDown=function(){var a=arguments,c=[],b;b=this.each(function(){if(a&&"string"===typeof a[0]){var b=e.prototype.instances[this.id][a[0]](a[1],a[2]);b&&c.push(b);}else f(this,a[0]);});return c.length?1<c.length?c:c[0]:b;};d(function(){"function"!==typeof Object.getPrototypeOf&&(Object.getPrototypeOf="object"===typeof "test".__proto__?function(a){return a.__proto__;}:function(a){return a.constructor.prototype;});d("select.dropdown").each(function(){var a=d(this).attr("data-settings");settings=a?d.parseJSON(a):{};f(this,settings);});});})(jQuery);(function($,Drupal,window,document){$(document).ready(function(){$(document).on('focus','#skipLink',function(){var burger=document.getElementById('brg-tr');burger.checked=false;$("div.sw-skipnav-outerbar").animate({marginTop:"0px"},500);});$(document).on('blur','#skipLink',function(){$("div.sw-skipnav-outerbar").animate({marginTop:"-40px"},500);});$("label.dr-h").each(function(index,element){$(".dr-h").attr("tabindex","0");
2$(this).keydown(function(e){if(e.keyCode==13){e.preventDefault();this.click();}});});$(".form-checkboxes label").each(function(index,element){$(this).attr("tabindex","0");$(this).keydown(function(e){if(e.keyCode==13){e.preventDefault();this.click();}});});$(document).on('focusin','.post-featured-item-wrapper',function(){$(this).css("background-color","#1871bd");$(this).find('.di .di-tt').attr("tabindex","-1");});$(document).on('focusout','.post-featured-item-wrapper',function(){$(this).css("background-color","#ffffff");});$(document).on('mouseover','.post-featured-item-wrapper',function(){$(this).css("background-color","#1871bd");});$(document).on('mouseout','.post-featured-item-wrapper',function(){$(this).css("background-color","#ffffff");});$('a[href^="mailto:"]').on('click',function(e){$('button.md-cb').focus();});$(document).on('keydown',function(e){var target=e.target;var shiftPressed=e.shiftKey;if(e.keyCode==9){$("#web-app .mnl button.dl-i").addClass("focus-active");$("a").addClass("focus-active");$(".dr").addClass("focus-active");$(".dr-h").addClass("focus-active");$(".field-grid-links, .component-section, .topic-highlight-area").addClass("focus-active");$(".cd").addClass("focus-active");$(".news-item").addClass("focus-active");if($(target).parents('[role=dialog]').length){var borderElem=shiftPressed?$(target).closest('[role=dialog]').find('input:visible,select:visible,button:visible,textarea:visible').first():$(target).closest('[role=dialog]').find('input:visible,select:visible,button:visible,textarea:visible').last();if($(borderElem).length)if($(target).is($(borderElem)))return false;else return true;}}return true;});$(document).on('mousemove',function(e){$("#web-app .mnl button.dl-i").removeClass("focus-active");$("a").removeClass("focus-active");$(".dr").removeClass("focus-active");$(".dr-h").removeClass("focus-active");$(".field-grid-links, .component-section, .topic-highlight-area").removeClass("focus-active");$(".cd").removeClass("focus-active");$(".news-item").removeClass("focus-active");});$('svg').each(function(){$(this).removeAttr("id");$(this).removeAttr("data-name");});$('a[href^="https://"],a[href^="http://"]').attr('target',function(){if(this.host!=location.host)return '_blank';});var scrollToTopBtn=document.querySelector(".scrollToTopBtn");var rootElement=document.documentElement;function handleScroll(){var scrollTotal=rootElement.scrollHeight-rootElement.clientHeight;if((rootElement.scrollTop/scrollTotal)>0.30)scrollToTopBtn.classList.add("showBtn");else scrollToTopBtn.classList.remove("showBtn");}function scrollToTop(){rootElement.scrollTo({top:0,behavior:"smooth"});}scrollToTopBtn.addEventListener("click",scrollToTop);document.addEventListener("scroll",handleScroll);iFrameResize({log:false,scrolling:true,sizeHeight:true,autoResize:true});});})(jQuery,Drupal,this,this.document);;
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.