1/* @license GPL-2.0-or-later https://www.drupal.org/licensing/faq */ 2function showMenu(){if(window.innerWidth>767){jQuery('div.tln').each(function(key,value){if(jQuery(this).hasClass('intent')){jQuery('.meta-menu',this).addClass('hide').removeClass('show');jQuery(this).removeClass('intent');}});jQuery('.meta-menu',this).removeClass('hide').addClass('show');var menuPos=jQuery(this).position().left-30;var headerPad=(jQuery('header').width()-jQuery('#global-nav').width())/2;var maxPos=jQuery('#global-nav').width()-jQuery('.meta-menu',this).width()+headerPad;if(menuPos>maxPos)menuPos=maxPos;if(!jQuery(this).hasClass('no-children')){jQuery(this).addClass('intent');jQuery('#navblackout').fadeIn();}jQuery('.meta-menu',this).css('left',menuPos);}}function hideMenu(){if(window.innerWidth>767){jQuery('.meta-menu',this).addClass('hide').removeClass('show');jQuery(this).removeClass('intent');if(!jQuery('#global-nav>div').hasClass('intent'))jQuery('#navblackout').fadeOut();}}jQuery(document).ready(function(){jQuery('div.tln').each(function(key,value){jQuery(this).hoverIntent({over:showMenu,out:hideMenu,timeout:500});});jQuery('div.tln>a').click(function(e){if(!jQuery(e.target).parent().hasClass('no-children'))if(window.innerWidth>767){e.preventDefault();e.stopPropagation();if(!jQuery(e.target).parent().hasClass('intent'))showMenu(jQuery(e.target).parent());else window.location=jQuery(e.target).attr('href');}else{e.preventDefault();e.stopPropagation();jQuery(e.target).parent().toggleClass('active');jQuery(e.target).parent().children('.meta-menu').removeAttr('style');jQuery('#global-nav-2').toggleClass('sub-open');}});});var trackOutboundLink=function(url){ga('send','event','outbound',url,window.location.pathname,{'hitCallback':function(){document.location=url;}});};var trackMobileLink=function(url){ga('send','event','mobile',url,window.location.pathname,{'hitCallback':function(){document.location=url;}});};var trackArticleLink=function(url){ga('send','event','article',url,window.location.pathname,{'hitCallback':function(){document.location=url;}});};jQuery(function($){$.fn.jPushMenu=function(customOptions){var o=$.extend({},$.fn.jPushMenu.defaultOptions,customOptions);$('body').addClass(o.bodyClass);$(this).addClass('jPushMenuBtn');$(this).click(function(){var target='',push_direction='';if($(this).is('.'+o.showLeftClass)){target='.cbp-spmenu-left';push_direction='toright';}else if($(this).is('.'+o.showRightClass)){target='.cbp-spmenu-right';push_direction='toleft';}else if($(this).is('.'+o.showTopClass))target='.cbp-spmenu-top';else{if($(this).is('.'+o.showBottomClass))target='.cbp-spmenu-bottom';}$(this).toggleClass(o.activeClass);$(target).toggleClass(o.menuOpenClass);$('#cp-main-menu').show();if($(this).is('.'+o.pushBodyClass))$('body').toggleClass('cbp-spmenu-push-'+push_direction);$('.jPushMenuBtn').not($(this)).toggleClass('disabled');$('#global-nav-2').removeClass('sub-open');$('.tln').removeClass('active');return false;});var jPushMenu={close:function(o){$('.jPushMenuBtn,body,.cbp-spmenu').removeClass('disabled active cbp-spmenu-open cbp-spmenu-push-toleft cbp-spmenu-push-toright menu-active');}};if(o.closeOnClickOutside){$(document).click(function(){jPushMenu.close();});$(document).on('click touchstart',function(){jPushMenu.close();});$('.cbp-spmenu,.toggle-menu').click(function(e){e.stopPropagation();});$('.cbp-spmenu,.toggle-menu').on('click touchstart',function(e){e.stopPropagation();});}if(o.closeOnClickLink)$('.cbp-spmenu a').on('click',function(){jPushMenu.close();});};$.fn.jPushMenu.defaultOptions={bodyClass:'cbp-spmenu-push',activeClass:'menu-active',showLeftClass:'menu-left',showRightClass:'menu-right',showTopClass:'menu-top',showBottomClass:'menu-bottom',menuOpenClass:'cbp-spmenu-open',pushBodyClass:'push-body',closeOnClickOutside:true,closeOnClickInside:true,closeOnClickLink:true};});; 3;(function(factory){var registeredInModuleLoader=false;if(typeof define==='function'&&define.amd){define(factory);registeredInModuleLoader=true;}if(typeof exports==='object'){module.exports=factory();registeredInModuleLoader=true;}if(!registeredInModuleLoader){var OldCookies=window.Cookies;var api=window.Cookies=factory();api.noConflict=function(){window.Cookies=OldCookies;return api;};}}(function(){function extend(){var i=0;var result={};for(;i<arguments.length;i++){var attributes=arguments[i];for(var key in attributes)result[key]=attributes[key];}return result;}function init(converter){function api(key,value,attributes){var result;if(typeof document==='undefined')return;if(arguments.length>1){attributes=extend({path:'/'},api.defaults,attributes);if(typeof attributes.expires==='number'){var expires=new Date();expires.setMilliseconds(expires.getMilliseconds()+attributes.expires*864e+5);attributes.expires=expires;}try{result=JSON.stringify(value);if(/^[\{\[]/.test(result))value=result;}catch(e){}if(!converter.write)value=encodeURIComponent(String(value)).replace(/%(23|24|26|2B|3A|3C|3E|3D|2F|3F|40|5B|5D|5E|60|7B|7D|7C)/g,decode
3URIComponent);else value=converter.write(value,key);key=encodeURIComponent(String(key));key=key.replace(/%(23|24|26|2B|5E|60|7C)/g,decodeURIComponent);key=key.replace(/[\(\)]/g,escape);return (document.cookie=[key,'=',value,attributes.expires?'; expires='+attributes.expires.toUTCString():'',attributes.path?'; path='+attributes.path:'',attributes.domain?'; domain='+attributes.domain:'',attributes.secure?'; secure':''].join(''));}if(!key)result={};var cookies=document.cookie?document.cookie.split('; '):[];var rdecode=/(%[0-9A-Z]{2})+/g;var i=0;for(;i<cookies.length;i++){var parts=cookies[i].split('=');var cookie=parts.slice(1).join('=');if(cookie.charAt(0)==='"')cookie=cookie.slice(1,-1);try{var name=parts[0].replace(rdecode,decodeURIComponent);cookie=converter.read?converter.read(cookie,name):converter(cookie,name)||cookie.replace(rdecode,decodeURIComponent);if(this.json)try{cookie=JSON.parse(cookie);}catch(e){}if(key===name){result=cookie;break;}if(!key)result[name]=cookie;}catch(e){}}return result;}api.set=api;api.get=function(key){return api.call(api,key);};api.getJSON=function(){return api.apply({json:true},[].slice.call(arguments));};api.defaults={};api.remove=function(key,attributes){api(key,'',extend(attributes,{expires:-1}));};api.withConverter=init;return api;}return init(function(){});}));; 4jQuery.easing['jswing']=jQuery.easing['swing'];jQuery.extend(jQuery.easing,{def:'easeOutQuad',swing:function(x,t,b,c,d){return jQuery.easing[jQuery.easing.def](x,t,b,c,d);},easeInQuad:function(x,t,b,c,d){return c*(t/=d)*t+b;},easeOutQuad:function(x,t,b,c,d){return -c*(t/=d)*(t-2)+b;},easeInOutQuad:function(x,t,b,c,d){if((t/=d/2)<1)return c/2*t*t+b;return -c/2*((--t)*(t-2)-1)+b;},easeInCubic:function(x,t,b,c,d){return c*(t/=d)*t*t+b;},easeOutCubic:function(x,t,b,c,d){return c*((t=t/d-1)*t*t+1)+b;},easeInOutCubic:function(x,t,b,c,d){if((t/=d/2)<1)return c/2*t*t*t+b;return c/2*((t-=2)*t*t+2)+b;},easeInQuart:function(x,t,b,c,d){return c*(t/=d)*t*t*t+b;},easeOutQuart:function(x,t,b,c,d){return -c*((t=t/d-1)*t*t*t-1)+b;},easeInOutQuart:function(x,t,b,c,d){if((t/=d/2)<1)return c/2*t*t*t*t+b;return -c/2*((t-=2)*t*t*t-2)+b;},easeInQuint:function(x,t,b,c,d){return c*(t/=d)*t*t*t*t+b;},easeOutQuint:function(x,t,b,c,d){return c*((t=t/d-1)*t*t*t*t+1)+b;},easeInOutQuint:function(x,t,b,c,d){if((t/=d/2)<1)return c/2*t*t*t*t*t+b;return c/2*((t-=2)*t*t*t*t+2)+b;},easeInSine:function(x,t,b,c,d){return -c*Math.cos(t/d*(Math.PI/2))+c+b;},easeOutSine:function(x,t,b,c,d){return c*Math.sin(t/d*(Math.PI/2))+b;},easeInOutSine:function(x,t,b,c,d){return -c/2*(Math.cos(Math.PI*t/d)-1)+b;},easeInExpo:function(x,t,b,c,d){return (t==0)?b:c*Math.pow(2,10*(t/d-1))+b;},easeOutExpo:function(x,t,b,c,d){return (t==d)?b+c:c*(-Math.pow(2,-10*t/d)+1)+b;},easeInOutExpo:function(x,t,b,c,d){if(t==0)return b;if(t==d)return b+c;if((t/=d/2)<1)return c/2*Math.pow(2,10*(t-1))+b;return c/2*(-Math.pow(2,-10*--t)+2)+b;},easeInCirc:function(x,t,b,c,d){return -c*(Math.sqrt(1-(t/=d)*t)-1)+b;},easeOutCirc:function(x,t,b,c,d){return c*Math.sqrt(1-(t=t/d-1)*t)+b;},easeInOutCirc:function(x,t,b,c,d){if((t/=d/2)<1)return -c/2*(Math.sqrt(1-t*t)-1)+b;return c/2*(Math.sqrt(1-(t-=2)*t)+1)+b;},easeInElastic:function(x,t,b,c,d){var s=1.70158;var p=0;var a=c;if(t==0)return b;if((t/=d)==1)return b+c;if(!p)p=d*.3;if(a<Math.abs(c)){a=c;var s=p/4;}else var s=p/(2*Math.PI)*Math.asin(c/a);return -(a*Math.pow(2,10*(t-=1))*Math.sin((t*d-s)*(2*Math.PI)/p))+b;},easeOutElastic:function(x,t,b,c,d){var s=1.70158;var p=0;var a=c;if(t==0)return b;if((t/=d)==1)return b+c;if(!p)p=d*.3;if(a<Math.abs(c)){a=c;var s=p/4;}else var s=p/(2*Math.PI)*Math.asin(c/a);return a*Math.pow(2,-10*t)*Math.sin((t*d-s)*(2*Math.PI)/p)+c+b;},easeInOutElastic:function(x,t,b,c,d){var s=1.70158;var p=0;var a=c;if(t==0)return b;if((t/=d/2)==2)return b+c;if(!p)p=d*(.3*1.5);if(a<Math.abs(c)){a=c;var s=p/4;}else var s=p/(2*Math.PI)*Math.asin(c/a);if(t<1)return -.5*(a*Math.pow(2,10*(t-=1))*Math.sin((t*d-s)*(2*Math.PI)/p))+b;return a*Math.pow(2,-10*(t-=1))*Math.sin((t*d-s)*(2*Math.PI)/p)*.5+c+b;},easeInBack:function(x,t,b,c,d,s){if(s==undefined)s=1.70158;return c*(t/=d)*t*((s+1)*t-s)+b;}
4,easeOutBack:function(x,t,b,c,d,s){if(s==undefined)s=1.70158;return c*((t=t/d-1)*t*((s+1)*t+s)+1)+b;},easeInOutBack:function(x,t,b,c,d,s){if(s==undefined)s=1.70158;if((t/=d/2)<1)return c/2*(t*t*(((s*=(1.525))+1)*t-s))+b;return c/2*((t-=2)*t*(((s*=(1.525))+1)*t+s)+2)+b;},easeInBounce:function(x,t,b,c,d){return c-jQuery.easing.easeOutBounce(x,d-t,0,c,d)+b;},easeOutBounce:function(x,t,b,c,d){if((t/=d)<(1/2.75))return c*(7.5625*t*t)+b;else if(t<(2/2.75))return c*(7.5625*(t-=(1.5/2.75))*t+.75)+b;else if(t<(2.5/2.75))return c*(7.5625*(t-=(2.25/2.75))*t+.9375)+b;else return c*(7.5625*(t-=(2.625/2.75))*t+.984375)+b;},easeInOutBounce:function(x,t,b,c,d){if(t<d/2)return jQuery.easing.easeInBounce(x,t*2,0,c,d)*.5+b;return jQuery.easing.easeOutBounce(x,t*2-d,0,c,d)*.5+c*.5+b;}});; 5(function(a){a.extend(a.fn,{validate:function(b){if(!this.length){b&&b.debug&&window.console&&console.warn("nothing selected, can't validate, returning nothing");return;}var c=a.data(this[0],"validator");return c?c:(this.attr("novalidate","novalidate"),c=new a.validator(b,this[0]),a.data(this[0],"validator",c),c.settings.onsubmit&&(this.validateDelegate(":submit","click",function(b){c.settings.submitHandler&&(c.submitButton=b.target),a(b.target).hasClass("cancel")&&(c.cancelSubmit=!0);}),this.submit(function(b){function d(){var d;return c.settings.submitHandler?(c.submitButton&&(d=a("<input type='hidden'/>").attr("name",c.submitButton.name).val(c.submitButton.value).appendTo(c.currentForm)),c.settings.submitHandler.call(c,c.currentForm,b),c.submitButton&&d.remove(),!1):!0;}return c.settings.debug&&b.preventDefault(),c.cancelSubmit?(c.cancelSubmit=!1,d()):c.form()?c.pendingRequest?(c.formSubmitted=!0,!1):d():(c.focusInvalid(),!1);})),c);},valid:function(){if(a(this[0]).is("form"))return this.validate().form();var b=!0,c=a(this[0].form).validate();return this.each(function(){b&=c.element(this);}),b;},removeAttrs:function(b){var c={},d=this;return a.each(b.split(/\s/),function(a,b){c[b]=d.attr(b),d.removeAttr(b);}),c;},rules:function(b,c){var d=this[0];if(b){var e=a.data(d.form,"validator").settings,f=e.rules,g=a.validator.staticRules(d);switch(b){case "add":a.extend(g,a.validator.normalizeRule(c)),f[d.name]=g,c.messages&&(e.messages[d.name]=a.extend(e.messages[d.name],c.messages));break;case "remove":if(!c)return delete f[d.name],g;var h={};return a.each(c.split(/\s/),function(a,b){h[b]=g[b],delete g[b];}),h;}}var i=a.validator.normalizeRules(a.extend({},a.validator.metadataRules(d),a.validator.classRules(d),a.validator.attributeRules(d),a.validator.staticRules(d)),d);if(i.required){var j=i.required;delete i.required,i=a.extend({required:j},i);}return i;}}),a.extend(a.expr[":"],{blank:function(b){return !a.trim(""+b.value);},filled:function(b){return !!a.trim(""+b.value);},unchecked:function(a){return !a.checked;}}),a.validator=function(b,c){this.settings=a.extend(!0,{},a.validator.defaults,b),this.currentForm=c,this.init();},a.validator.format=function(b,c){return arguments.length===1?function(){var c=a.makeArray(arguments);return c.unshift(b),a.validator.format.apply(this,c);}:(arguments.length>2&&c.constructor!==Array&&(c=a.makeArray(arguments).slice(1)),c.constructor!==Array&&(c=[c]),a.each(c,function(a,c){b=b.replace(new RegExp("\\{"+a+"\\}","g"),c);}),b);},a.extend(a.validator,{defaults:{messages:{},groups:{},rules:{},errorClass:"error",validClass:"valid",errorElement:"label",focusInvalid:!0,errorContainer:a([]),errorLabelContainer:a([]),onsubmit:!0,ignore:":hidden",ignoreTitle:!1,onfocusin:function(a,b){this.lastActive=a,this.settings.focusCleanup&&!this.blockFocusCleanup&&(this.settings.unhighlight&&this.settings.unhighlight.call(this,a,this.settings.errorClass,this.settings.validClass),this.addWrapper(this.errorsFor(a)).hide());},onfocusout:function(a,b){!this.checkable(a)&&(a.name in this.submitted||!this.optional(a))&&this.element(a);},onkeyup:function(a,b){if(b.which===9&&this.elementValue(a)==="")return;(a.name in this.submitted||a===this.lastActive)&&this.element(a);},onclick:function(a,b){a.name in this.submitted?this.element(a):a.parentNode.name in this.submitted&&this.element
5(a.parentNode);},highlight:function(b,c,d){b.type==="radio"?this.findByName(b.name).addClass(c).removeClass(d):a(b).addClass(c).removeClass(d);},unhighlight:function(b,c,d){b.type==="radio"?this.findByName(b.name).removeClass(c).addClass(d):a(b).removeClass(c).addClass(d);}},setDefaults:function(b){a.extend(a.validator.defaults,b);},messages:{required:"This field is required.",remote:"Please fix this field.",email:"Please enter a valid email address.",url:"Please enter a valid URL.",date:"Please enter a valid date.",dateISO:"Please enter a valid date (ISO).",number:"Please enter a valid number.",digits:"Please enter only digits.",creditcard:"Please enter a valid credit card number.",equalTo:"Please enter the same value again.",maxlength:a.validator.format("Please enter no more than {0} characters."),minlength:a.validator.format("Please enter at least {0} characters."),rangelength:a.validator.format("Please enter a value between {0} and {1} characters long."),range:a.validator.format("Please enter a value between {0} and {1}."),max:a.validator.format("Please enter a value less than or equal to {0}."),min:a.validator.format("Please enter a value greater than or equal to {0}.")},autoCreateRanges:!1,prototype:{init:function(){function d(b){var c=a.data(this[0].form,"validator"),d="on"+b.type.replace(/^validate/,"");c.settings[d]&&c.settings[d].call(c,this[0],b);}this.labelContainer=a(this.settings.errorLabelContainer),this.errorContext=this.labelContainer.length&&this.labelContainer||a(this.currentForm),this.containers=a(this.settings.errorContainer).add(this.settings.errorLabelContainer),this.submitted={},this.valueCache={},this.pendingRequest=0,this.pending={},this.invalid={},this.reset();var b=this.groups={};a.each(this.settings.groups,function(c,d){a.each(d.split(/\s/),function(a,d){b[d]=c;});});var c=this.settings.rules;a.each(c,function(b,d){c[b]=a.validator.normalizeRule(d);}),a(this.currentForm).validateDelegate(":text, [type='password'], [type='file'], select, textarea, [type='number'], [type='search'] ,[type='tel'], [type='url'], [type='email'], [type='datetime'], [type='date'], [type='month'], [type='week'], [type='time'], [type='datetime-local'], [type='range'], [type='color'] ","focusin focusout keyup",d).validateDelegate("[type='radio'], [type='checkbox'], select, option","click",d),this.settings.invalidHandler&&a(this.currentForm).bind("invalid-form.validate",this.settings.invalidHandler);},form:function(){return this.checkForm(),a.extend(this.submitted,this.errorMap),this.invalid=a.extend({},this.errorMap),this.valid()||a(this.currentForm).triggerHandler("invalid-form",[this]),this.showErrors(),this.valid();},checkForm:function(){this.prepareForm();for(var a=0,b=this.currentElements=this.elements();b[a];a++)this.check(b[a]);return this.valid();},element:function(b){b=this.validationTargetFor(this.clean(b)),this.lastElement=b,this.prepareElement(b),this.currentElements=a(b);var c=this.check(b)!==!1;return c?delete this.invalid[b.name]:this.invalid[b.name]=!0,this.numberOfInvalids()||(this.toHide=this.toHide.add(this.containers)),this.showErrors(),c;},showErrors:function(b){if(b){a.extend(this.errorMap,b),this.errorList=[];for(var c in b)this.errorList.push({message:b[c],element:this.findByName(c)[0]});this.successList=a.grep(this.successList,function(a){return !(a.name in b);});}this.settings.showErrors?this.settings.showErrors.call(this,this.errorMap,this.errorList):this.defaultShowErrors();},resetForm:function(){a.fn.resetForm&&a(this.currentForm).resetForm(),this.submitted={},this.lastElement=null,this.prepareForm(),this.hideErrors(),this.elements().removeClass(this.settings.errorClass).removeData("previousValue");},numberOfInvalids:function(){return this.objectLength(this.invalid);},objectLength:function(a){var b=0;for(var c in a)b++;return b;},hideErrors:function(){this.addWrapper(this.toHide).hide();},valid:function(){return this.size()===0;},size:function(){return this.errorList.length;},focusInvalid:function(){if(this.settings.focusInvalid)try{a(this.findLastActive()||this.errorList.length&&this.errorList[0].element||[]).filter(":visible").focus().trigger("focusin");}catch(b){}},findLastActive:function(){var b=this.lastActive;return b&&a.grep(this.errorList,function(a){return a.element.name===b.name;}).length===1&&b;},elements:function(){var b=this,c={};return a(this.currentForm).find("input, select, textarea").not(":submit, :reset, :image, [disabled]").not(this.settings.ignore).filter(function(){return !this.name&&b.settings.debug&&window.console&&console.error("%o has no name assigned",this),this.name in c||
5!b.objectLength(a(this).rules())?!1:(c[this.name]=!0,!0);});},clean:function(b){return a(b)[0];},errors:function(){var b=this.settings.errorClass.replace(" ",".");return a(this.settings.errorElement+"."+b,this.errorContext);},reset:function(){this.successList=[],this.errorList=[],this.errorMap={},this.toShow=a([]),this.toHide=a([]),this.currentElements=a([]);},prepareForm:function(){this.reset(),this.toHide=this.errors().add(this.containers);},prepareElement:function(a){this.reset(),this.toHide=this.errorsFor(a);},elementValue:function(b){var c=a(b).attr("type"),d=a(b).val();return c==="radio"||c==="checkbox"?a('input[name="'+a(b).attr("name")+'"]:checked').val():typeof d=="string"?d.replace(/\r/g,""):d;},check:function(b){b=this.validationTargetFor(this.clean(b));var c=a(b).rules(),d=!1,e=this.elementValue(b),f;for(var g in c){var h={method:g,parameters:c[g]};try{f=a.validator.methods[g].call(this,e,b,h.parameters);if(f==="dependency-mismatch"){d=!0;continue;}d=!1;if(f==="pending"){this.toHide=this.toHide.not(this.errorsFor(b));return;}if(!f)return this.formatAndAdd(b,h),!1;}catch(i){throw this.settings.debug&&window.console&&console.log("exception occured when checking element "+b.id+", check the '"+h.method+"' method",i),i;}}if(d)return;return this.objectLength(c)&&this.successList.push(b),!0;},customMetaMessage:function(b,c){if(!a.metadata)return;var d=this.settings.meta?a(b).metadata()[this.settings.meta]:a(b).metadata();return d&&d.messages&&d.messages[c];},customDataMessage:function(b,c){return a(b).data("msg-"+c.toLowerCase())||b.attributes&&a(b).attr("data-msg-"+c.toLowerCase());},customMessage:function(a,b){var c=this.settings.messages[a];return c&&(c.constructor===String?c:c[b]);},findDefined:function(){for(var a=0;a<arguments.length;a++)if(arguments[a]!==undefined)return arguments[a];return undefined;},defaultMessage:function(b,c){return this.findDefined(this.customMessage(b.name,c),this.customDataMessage(b,c),this.customMetaMessage(b,c),!this.settings.ignoreTitle&&b.title||undefined,a.validator.messages[c],"<strong>Warning: No message defined for "+b.name+"</strong>");},formatAndAdd:function(b,c){var d=this.defaultMessage(b,c.method),e=/\$?\{(\d+)\}/g;typeof d=="function"?d=d.call(this,c.parameters,b):e.test(d)&&(d=a.validator.format(d.replace(e,"{$1}"),c.parameters)),this.errorList.push({message:d,element:b}),this.errorMap[b.name]=d,this.submitted[b.name]=d;},addWrapper:function(a){return this.settings.wrapper&&(a=a.add(a.parent(this.settings.wrapper))),a;},defaultShowErrors:function(){var a,b;for(a=0;this.errorList[a];a++){var c=this.errorList[a];this.settings.highlight&&this.settings.highlight.call(this,c.element,this.settings.errorClass,this.settings.validClass),this.showLabel(c.element,c.message);}this.errorList.length&&(this.toShow=this.toShow.add(this.containers));if(this.settings.success)for(a=0;this.successList[a];a++)this.showLabel(this.successList[a]);if(this.settings.unhighlight)for(a=0,b=this.validElements();b[a];a++)this.settings.unhighlight.call(this,b[a],this.settings.errorClass,this.settings.validClass);this.toHide=this.toHide.not(this.toShow),this.hideErrors(),this.addWrapper(this.toShow).show();},validElements:function(){return this.currentElements.not(this.invalidElements());},invalidElements:function(){return a(this.errorList).map(function(){return this.element;});},showLabel:function(b,c){var d=this.errorsFor(b);d.length?(d.removeClass(this.settings.validClass).addClass(this.settings.errorClass),d.attr("generated")&&d.html(c)):(d=a("<"+this.settings.errorElement+"/>").attr({"for":this.idOrName(b),generated:!0}).addClass(this.settings.errorClass).html(c||""),this.settings.wrapper&&(d=d.hide().show().wrap("<"+this.settings.wrapper+"/>").parent()),this.labelContainer.append(d).length||(this.settings.errorPlacement?this.settings.errorPlacement(d,a(b)):d.insertAfter(b))),!c&&this.settings.success&&(d.text(""),typeof this.settings.success=="string"?d.addClass(this.settings.success):this.settings.success(d,b)),this.toShow=this.toShow.add(d);},errorsFor:function(b){var c=this.idOrName(b);return this.errors().filter(function(){return a(this).attr("for")===c;});},idOrName:function(a){return this.groups[a.name]||(this.checkable(a)?a.name:a.id||a.name);},validationTargetFor:function(a){return this.checkable(a)&&(a=this.findByName(a.name).not(this.settings.ignore)[0]),a;},checkable:function(a){return /radio|checkbox/i.test(a.type);},findByName:function(b){return a(this.currentForm).find('[name="'+b+'"]');},getLength:function(b,c){switch(c.nodeName.toLowerCase()){case "select":return a("option:selected",c).length;case "input":if(this.checkable(c))return this.findByName(c.name).filter(":checked").length;}return b.length;},depend:function(a,b){return this.dependTypes[typeof a]?this.dependTypes[typeof a](a,b):!0;},dependTypes:{"boolean":function(a,b){return a;},string:function(b,c){return !!a(b,c.form).length;},"function":function(a,b){return a(b);}},optional:function(b){var c=this.elementValue(b);
5return !a.validator.methods.required.call(this,c,b)&&"dependency-mismatch";},startRequest:function(a){this.pending[a.name]||(this.pendingRequest++,this.pending[a.name]=!0);},stopRequest:function(b,c){this.pendingRequest--,this.pendingRequest<0&&(this.pendingRequest=0),delete this.pending[b.name],c&&this.pendingRequest===0&&this.formSubmitted&&this.form()?(a(this.currentForm).submit(),this.formSubmitted=!1):!c&&this.pendingRequest===0&&this.formSubmitted&&(a(this.currentForm).triggerHandler("invalid-form",[this]),this.formSubmitted=!1);},previousValue:function(b){return a.data(b,"previousValue")||a.data(b,"previousValue",{old:null,valid:!0,message:this.defaultMessage(b,"remote")});}},classRuleSettings:{required:{required:!0},email:{email:!0},url:{url:!0},date:{date:!0},dateISO:{dateISO:!0},number:{number:!0},digits:{digits:!0},creditcard:{creditcard:!0}},addClassRules:function(b,c){b.constructor===String?this.classRuleSettings[b]=c:a.extend(this.classRuleSettings,b);},classRules:function(b){var c={},d=a(b).attr("class");return d&&a.each(d.split(" "),function(){this in a.validator.classRuleSettings&&a.extend(c,a.validator.classRuleSettings[this]);}),c;},attributeRules:function(b){var c={},d=a(b);for(var e in a.validator.methods){var f;e==="required"?(f=d.get(0).getAttribute(e),f===""&&(f=!0),f=!!f):f=d.attr(e),f?c[e]=f:d[0].getAttribute("type")===e&&(c[e]=!0);}return c.maxlength&&/-1|2147483647|524288/.test(c.maxlength)&&delete c.maxlength,c;},metadataRules:function(b){if(!a.metadata)return {};var c=a.data(b.form,"validator").settings.meta;return c?a(b).metadata()[c]:a(b).metadata();},staticRules:function(b){var c={},d=a.data(b.form,"validator");return d.settings.rules&&(c=a.validator.normalizeRule(d.settings.rules[b.name])||{}),c;},normalizeRules:function(b,c){return a.each(b,function(d,e){if(e===!1){delete b[d];return;}if(e.param||e.depends){var f=!0;switch(typeof e.depends){case "string":f=!!a(e.depends,c.form).length;break;case "function":f=e.depends.call(c,c);}f?b[d]=e.param!==undefined?e.param:!0:delete b[d];}}),a.each(b,function(d,e){b[d]=a.isFunction(e)?e(c):e;}),a.each(["minlength","maxlength","min","max"],function(){b[this]&&(b[this]=Number(b[this]));}),a.each(["rangelength","range"],function(){b[this]&&(b[this]=[Number(b[this][0]),Number(b[this][1])]);}),a.validator.autoCreateRanges&&(b.min&&b.max&&(b.range=[b.min,b.max],delete b.min,delete b.max),b.minlength&&b.maxlength&&(b.rangelength=[b.minlength,b.maxlength],delete b.minlength,delete b.maxlength)),b.messages&&delete b.messages,b;},normalizeRule:function(b){if(typeof b=="string"){var c={};a.each(b.split(/\s/),function(){c[this]=!0;}),b=c;}return b;},addMethod:function(b,c,d){a.validator.methods[b]=c,a.validator.messages[b]=d!==undefined?d:a.val
5idator.messages[b],c.length<3&&a.validator.addClassRules(b,a.validator.normalizeRule(b));},methods:{required:function(b,c,d){if(!this.depend(d,c))return "dependency-mismatch";if(c.nodeName.toLowerCase()==="select"){var e=a(c).val();return e&&e.length>0;}return this.checkable(c)?this.getLength(b,c)>0:a.trim(b).length>0;},remote:function(b,c,d){if(this.optional(c))return "dependency-mismatch";var e=this.previousValue(c);this.settings.messages[c.name]||(this.settings.messages[c.name]={}),e.originalMessage=this.settings.messages[c.name].remote,this.settings.messages[c.name].remote=e.message,d=typeof d=="string"&&{url:d}||d;if(this.pending[c.name])return "pending";if(e.old===b)return e.valid;e.old=b;var f=this;this.startRequest(c);var g={};return g[c.name]=b,a.ajax(a.extend(!0,{url:d,mode:"abort",port:"validate"+c.name,dataType:"json",data:g,success:function(d){f.settings.messages[c.name].remote=e.originalMessage;var g=d===!0||d==="true";if(g){var h=f.formSubmitted;f.prepareElement(c),f.formSubmitted=h,f.successList.push(c),delete f.invalid[c.name],f.showErrors();}else{var i={},j=d||f.defaultMessage(c,"remote");i[c.name]=e.message=a.isFunction(j)?j(b):j,f.invalid[c.name]=!0,f.showErrors(i);}e.valid=g,f.stopRequest(c,g);}},d)),"pending";},minlength:function(b,c,d){var e=a.isArray(b)?b.length:this.getLength(a.trim(b),c);return this.optional(c)||e>=d;},maxlength:function(b,c,d){var e=a.isArray(b)?b.length:this.getLength(a.trim(b),c);return this.optional(c)||e<=d;},rangelength:function(b,c,d){var e=a.isArray(b)?b.length:this.getLength(a.trim(b),c);return this.optional(c)||e>=d[0]&&e<=d[1];},min:function(a,b,c){return this.optional(b)||a>=c;},max:function(a,b,c){return this.optional(b)||a<=c;},range:function(a,b,c){return this.optional(b)||a>=c[0]&&a<=c[1];},email:function(a,b){return this.optional(b)||/^((([a-z]|\d|[!#\$%&'\*\+\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+(\.([a-z]|\d|[!#\$%&'\*\+\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+)*)|((\x22)((((\x20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(([\x01-\x08\x0b\x0c\x0e-\x1f\x7f]|\x21|[\x23-\x5b]|[\x5d-\x7e]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(\\([\x01-\x09\x0b\x0c\x0d-\x7f]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]))))*(((\x20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(\x22)))@((([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))$/i.test(a);},url:function(a,b){return this.optional(b)||/^(https?|ftp):\/\/(((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:)*@)?(((\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5]))|((([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.?)(:\d*)?)(\/((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)+(\/(([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)*)*)?)?(\?((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|[\uE000-\uF8FF]|\/|\?)*)?(\#((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|\/|\?)*)?$/i.test(a);},date:function(a,b){return this.optional(b)||!/Invalid|NaN/.test(new Date(a));},dateISO:function(a,b){return this.optional(b)||/^\d{4}[\/\-]\d{1,2}[\/\-]\d{1,2}$/.test(a);},number:function(a,b){return this.optional(b)||/^-?(?:\d+|\d{1,3}(?:,\d{3})+)?(?:\.\d+)?$/.test(a);},digits:function(a,b){return this.optional(b)||/^\d+$/.test(a);},creditcard:function(a,b){if(this.optional(b))return "dependency-mismatch";if(/[^0-9 \-]+/.test(a))return !1;var c=0,d=0,e=!1;a=a.replace(/\D/g,"");for(var f=a.length-1;f>=0;f--){var g=a.charAt(f);d=parseInt(g,10),e&&(d*=2)>9&&(d-=9),c+=d,e=!e;}return c%10===0;},equalTo:function(b,c,d){var e=a(d);return this.settings.onfocusout&&e.unbind(".validate-equalTo").bind("blur.validate-equalTo",function(){a(c).valid();}),b===e.val();}}}),a.format=a.validator.format;})(jQuery),function(a){var b={};if(a.ajaxPrefilter)a.ajaxPrefilter(function(a,c,d){var e=a.port;a.mode==="abort"&&(b[e]&&b[e].abort(),b[e]=d);});else{var c=a.ajax;a.ajax=function(d){var e=("mode" in d?d:a.ajaxSettings).mode,f=("port" in d?d:a.ajaxSettings).port;return e==="abort"?(b[f]&&b[f].abort(),b[f]=c.apply(this,arguments)):c.apply(this,arguments);};}}
5(jQuery),function(a){!jQuery.event.special.focusin&&!jQuery.event.special.focusout&&document.addEventListener&&a.each({focus:"focusin",blur:"focusout"},function(b,c){function d(b){return b=a.event.fix(b),b.type=c,a.event.handle.call(this,b);}a.event.special[c]={setup:function(){this.addEventListener(b,d,!0);},teardown:function(){this.removeEventListener(b,d,!0);},handler:function(b){var d=arguments;return d[0]=a.event.fix(b),d[0].type=c,a.event.handle.apply(this,d);}};}),a.extend(a.fn,{validateDelegate:function(b,c,d){return this.bind(c,function(c){var e=a(c.target);if(e.is(b))return d.apply(e,arguments);});}});}(jQuery);; 6;(function(factory){'use strict';if(typeof define==='function'&&define.amd)define(['jquery'],factory);else{if(jQuery&&!jQuery.fn.hoverIntent)factory(jQuery);}})(function($){'use strict';var _cfg={interval:100,sensitivity:6,timeout:0};var INSTANCE_COUNT=0;var cX,cY;var track=function(ev){cX=ev.pageX;cY=ev.pageY;};var compare=function(ev,$el,s,cfg){if(Math.sqrt((s.pX-cX)*(s.pX-cX)+(s.pY-cY)*(s.pY-cY))<cfg.sensitivity){$el.off(s.event,track);delete s.timeoutId;s.isActive=true;ev.pageX=cX;ev.pageY=cY;delete s.pX;delete s.pY;return cfg.over.apply($el[0],[ev]);}else{s.pX=cX;s.pY=cY;s.timeoutId=setTimeout(function(){compare(ev,$el,s,cfg);},cfg.interval);}};var delay=function(ev,$el,s,out){delete $el.data('hoverIntent')[s.id];return out.apply($el[0],[ev]);};$.fn.hoverIntent=function(handlerIn,handlerOut,selector){var instanceId=INSTANCE_COUNT++;var cfg=$.extend({},_cfg);if($.isPlainObject(handlerIn)){cfg=$.extend(cfg,handlerIn);if(!$.isFunction(cfg.out))cfg.out=cfg.over;}else if($.isFunction(handlerOut))cfg=$.extend(cfg,{over:handlerIn,out:handlerOut,selector});else cfg=$.extend(cfg,{over:handlerIn,out:handlerIn,selector:handlerOut});var handleHover=function(e){var ev=$.extend({},e);var $el=$(this);var hoverIntentData=$el.data('hoverIntent');if(!hoverIntentData)$el.data('hoverIntent',(hoverIntentData={}));var state=hoverIntentData[instanceId];if(!state)hoverIntentData[instanceId]=state={id:instanceId};if(state.timeoutId)state.timeoutId=clearTimeout(state.timeoutId);var mousemove=state.event='mousemove.hoverIntent.hoverIntent'+instanceId;if(e.type==='mouseenter'){if(state.isActive)return;state.pX=ev.pageX;state.pY=ev.pageY;$el.off(mousemove,track).on(mousemove,track);state.timeoutId=setTimeout(function(){compare(ev,$el,state,cfg);},cfg.interval);}else{if(!state.isActive)return;$el.off(mousemove,track);state.timeoutId=setTimeout(function(){delay(ev,$el,state,cfg.out);},cfg.timeout);}};return this.on({'mouseenter.hoverIntent':handleHover,'mouseleave.hoverIntent':handleHover},cfg.selector);};});; 7jQuery(document).ready(function(){if(jQuery('#stats-panel').length>0){var cliptop;jQuery(document).scroll(function(){jQuery('#stats-panel').offset({top:100});cliptop=(jQuery('#stats-panel').position().top-100)*-1;jQuery('#stats-panel').css('clip','rect('+cliptop+'px 500px 500px 0px)');});}jQuery('.toggle-menu').jPushMenu({closeOnClickLink:false});var hoffset=50;jQuery('.jumplink').click(function(e){e.preventDefault();var headerHeight=160;jQuery('html, body').animate({scrollTop:jQuery(jQuery.attr(this,'href')).offset().top-headerHeight},500);});jQuery(".mainStat").click(function(a){jQuery(".extraStat").slideToggle(),jQuery(".mainStat").toggleClass("up");});jQuery(".trick4onetrust").click(function(e){e.preventDefault();jQuery('#ot-sdk-btn').click();});var _urlParam=function(name){var results=new RegExp('[\?&]'+name+'=([^&#]*)').exec(window.location.href);if(jQuery(results).length>0)return true;else return false;};if(_urlParam('onetrust'))jQuery('#ot-sdk-btn').ready(function(){setTimeout(function(){jQuery('#ot-sdk-btn').click();console.log('onetrust');},1000);});jQuery('.video-embed-vidyard').click(function(e){var img=jQuery(this).find('img');var uuid=img.attr('data-uuid');img.hide();vidyardEmbed.api.renderPlayer({uuid,container:jQuery(this).get(0),type:'inline',autoplay:'1'});});if(jQuery('.embedded-entity')){if(jQuery('.embedded-entity').next('br'))jQuery('.embedded-entity').next('br').remove();if(jQuery('.embedded-entity').next('p').text().length==0)jQuery('.embedded-entity').next('p').remove();}const $tabbedSections=jQuery(".section.container.tabbed-content");
7if($tabbedSections.length)jQuery('.tabbed-content .grid-row').each(function(){var $gridRow=jQuery(this);$gridRow.find('.tab-nav__link').on('click',function(e){e.preventDefault();var $link=jQuery(this);var targetId=$link.data('target');$gridRow.find('.tab-content').removeClass('active');jQuery('#'+targetId).addClass('active');$gridRow.find('.tab-nav__link--active').removeClass('tab-nav__link--active');$link.addClass('tab-nav__link--active');});});const imgGrid=document.getElementById('imageGrid');if(imgGrid){const observer=new IntersectionObserver((entries)=>{entries.forEach((entry)=>{if(entry.isIntersecting){imgGrid.classList.add('visible');observer.unobserve(imgGrid);}});},{threshold:0.3});observer.observe(imgGrid);}jQuery('.pr-index .form-select').on('change',function(){jQuery('.pr-index form').submit();});jQuery('.media-coverage-index .form-select').on('change',function(){jQuery('.media-coverage-index form').submit();});const categoryButtons=document.querySelectorAll('.category-btn');const expandAllBtn=document.getElementById('expandAllBtn');const collapseAllBtn=document.getElementById('collapseAllBtn');const diffBtn=document.getElementById('diffBtn');const searchInput=document.getElementById('searchInput');if(!categoryButtons.length||!expandAllBtn||!collapseAllBtn||!diffBtn||!searchInput)console.warn('Feature comparison table elements not found. Skipping feature comparison JS.');else{let diffMode=false;function setCategoryState(categoryEl,open){categoryEl.classList.toggle('open',open);const btn=categoryEl.querySelector('.category-btn');if(btn)btn.setAttribute('aria-expanded',open?'true':'false');categoryEl.querySelectorAll('.feature-row').forEach((row)=>row.classList.toggle('hidden',!open));}categoryButtons.forEach((btn)=>btn.addEventListener('click',()=>{const tbody=btn.closest('.category');const open=!tbody.classList.contains('open');setCategoryState(tbody,open);applyFilters();}));expandAllBtn.addEventListener('click',()=>{document.querySelectorAll('.category').forEach((cat)=>setCategoryState(cat,true));applyFilters();});collapseAllBtn.addEventListener('click',()=>{document.querySelectorAll('.category').forEach((cat)=>setCategoryState(cat,false));applyFilters();});diffBtn.addEventListener('click',()=>{diffMode=!diffMode;diffBtn.classList.toggle('active',diffMode);diffBtn.textContent=diffMode?'Showing differences only':'Show differences only';applyFilters();});searchInput.addEventListener('input',applyFilters);function applyFilters(){const q=searchInput.value.trim().toLowerCase();document.querySelectorAll('.category').forEach((cat)=>{const featureRows=[...cat.querySelectorAll('.feature-row')];let anyVisible=false;featureRows.forEach((row)=>{const matchesSearch=!q||(row.dataset.search||'').includes(q);const matchesDiff=!diffMode||row.dataset.diff==='1';const shouldShow=matchesSearch&&matchesDiff;row.classList.toggle('hidden-by-filter',!shouldShow);if(shouldShow)anyVisible=true;});cat.classList.toggle('hidden-by-filter',!anyVisible);});}const isMobile=window.matchMedia('(max-width: 767px)').matches;if(isMobile)document.querySelectorAll('.category').forEach((cat)=>setCategoryState(cat,false));applyFilters();}const track=document.getElementById('scroll-track');const leftArrow=document.getElementById('left-arrow');const rightArrow=document.getElementById('right-arrow');const scrollDistance=track.offsetWidth;const checkScrollPosition=()=>{const scrollLeft=track.scrollLeft;const maxScroll=track.scrollWidth-track.clientWidth;console.log(`Scroll Left: ${scrollLeft}, Max Scroll: ${maxScroll}`);if(scrollLeft<5)leftArrow.classList.remove('visible');else leftArrow.classList.add('visible');if(maxScroll-scrollLeft<5)rightArrow.classList.remove('visible');else rightArrow.classList.add('visible');};leftArrow.addEventListener('click',()=>{track.scrollBy({left:-scrollDistance,behavior:'smooth'});});rightArrow.addEventListener('click',()=>{track.scrollBy({left:scrollDistance,behavior:'smooth'});});window.addEventListener('load',()=>{setTimeout(checkScrollPosition,100);});track.addEventListener('scroll',checkScrollPosition);window.addEventListener('resize',checkScrollPosition);});; 8+function($){'use strict';var Carousel=function(element,options){this.$element=$(element);this.$indicators=this.$element.find('.carousel-indicators');this.options=options;this.paused=null;this.sliding=null;this.interval=null;this.$active=null;this.$items=null;this.options.keyboard&&this.$element.on('keydown.bs.carousel',$.proxy(this.keydown,this));this.options.pause=='hover'&&!('ontouchstart' in document.documentElement)&&this.$element.on('mouseenter.bs.carousel',$.proxy(this.pause,this)).on('mouseleave.bs.carousel',$.proxy(this.cycle,this));};Carousel.VERSION='3.3.7';Carousel.TRANSITION_DURATION=600;Carousel.DEFAULTS={interval:5000,pause:'hover',wrap:true,keyboard:true};Carousel.prototype.keydown=function(e){if(/input|textarea/i.test(e.target.tagName))return;switch(e.which){case 37:this.prev();break;case 39:this.next();break;default:return;}e.preventDefault();};Carousel.prototype.cycle=function(e){e||(this.paused=false);this.interval&&clearInterval(this.interval);this.options.interval&&!this.paused&&(this.interval=setInterval($.proxy(this.next,this),this.options.interval));return this;};Carousel.prototype.getItemIndex=function(item){this.$items=item.parent().children('.item');return this.$items.index(item||this.$active);};Carousel.prototype.getItemForDirection=function(direction,active){var activeIndex=this.getItemIndex(active);var willWrap=(direction=='prev'&&activeIndex===0)||(direction=='next'&&activeIndex==(this.$items.length-1));if(willWrap&&!this.options.wrap)return active;var delta=direction=='prev'?-1:1;var itemIndex=(activeIndex+delta)%this.$items.length;return this.$items.eq(itemIndex);};Carousel.prototype.to=function(pos){var that=this;var activeIndex=this.getItemIndex(this.$active=this.$element.find('.item.active'));if(pos>(this.$items.length-1)||pos<0)return;if(this.sliding)return this.$element.one('slid.bs.carousel',function(){that.to(pos);});if(activeIndex==pos)return this.pause().cycle();return this.slide(pos>activeIndex?'next':'prev',this.$items.eq(pos));};Carousel.prototype.pause=function(e){e||(this.paused=true);if(this.$element.find('.next, .prev').length&&$.support.transition){this.$element.trigger($.support.transition.end);this.cycle(true);}this.interval=clearInterval(this.interval);return this;};Carousel.prototype.next=function(){if(this.sliding)return;return this.slide('next');};Carousel.prototype.prev=function(){if(this.sliding)return;return this.slide('prev');};Carousel.prototype.slide=function(type,next){var $active=this.$element.find('.item.active');var $next=next||this.getItemForDirection(type,$active);var isCycling=this.interval;var direction=type=='next'?'left':'right';var that=this;if($next.hasClass('active'))return (this.sliding=false);var relatedTarget=$next[0];var slideEvent=$.Event('slide.bs.carousel',{relatedTarget,direction});this.$element.trigger(slideEvent);if(slideEvent.isDefaultPrevented())return;this.sliding=true;isCycling&&this.pause();if(this.$indicators.length){this.$indicators.find('.active').removeClass('active');var $nextIndicator=$(this.$indicators.children()[this.getItemIndex($next)]);$nextIndicator&&$nextIndicator.addClass('active');}var slidEvent=$.Event('slid.bs.carousel',{relatedTarget,direction});
8if($.support.transition&&this.$element.hasClass('slide')){$next.addClass(type);$next[0].offsetWidth;$active.addClass(direction);$next.addClass(direction);$active.one('bsTransitionEnd',function(){$next.removeClass([type,direction].join(' ')).addClass('active');$active.removeClass(['active',direction].join(' '));that.sliding=false;setTimeout(function(){that.$element.trigger(slidEvent);},0);}).emulateTransitionEnd(Carousel.TRANSITION_DURATION);}else{$active.removeClass('active');$next.addClass('active');this.sliding=false;this.$element.trigger(slidEvent);}isCycling&&this.cycle();return this;};function Plugin(option){return this.each(function(){var $this=$(this);var data=$this.data('bs.carousel');var options=$.extend({},Carousel.DEFAULTS,$this.data(),typeof option=='object'&&option);var action=typeof option=='string'?option:options.slide;if(!data)$this.data('bs.carousel',(data=new Carousel(this,options)));if(typeof option=='number')data.to(option);else if(action)data[action]();else{if(options.interval)data.pause().cycle();}});}var old=$.fn.carousel;$.fn.carousel=Plugin;$.fn.carousel.Constructor=Carousel;$.fn.carousel.noConflict=function(){$.fn.carousel=old;return this;};var clickHandler=function(e){var href;var $this=$(this);var $target=$($this.attr('data-target')||(href=$this.attr('href'))&&href.replace(/.*(?=#[^\s]+$)/,''));if(!$target.hasClass('carousel'))return;var options=$.extend({},$target.data(),$this.data());var slideIndex=$this.attr('data-slide-to');if(slideIndex)options.interval=false;Plugin.call($target,options);if(slideIndex)$target.data('bs.carousel').to(slideIndex);e.preventDefault();};$(document).on('click.bs.carousel.data-api','[data-slide]',clickHandler).on('click.bs.carousel.data-api','[data-slide-to]',clickHandler);$(window).on('load',function(){$('[data-ride="carousel"]').each(function(){var $carousel=$(this);Plugin.call($carousel,$carousel.data());});});}(jQuery);+function($){'use strict';var Modal=function(element,options){this.options=options;this.$body=$(document.body);this.$element=$(element);this.$dialog=this.$element.find('.modal-dialog');this.$backdrop=null;this.isShown=null;this.originalBodyPad=null;this.scrollbarWidth=0;this.ignoreBackdropClick=false;if(this.options.remote)this.$element.find('.modal-content').load(this.options.remote,$.proxy(function(){this.$element.trigger('loaded.bs.modal');},this));};Modal.VERSION='3.3.7';Modal.TRANSITION_DURATION=300;Modal.BACKDROP_TRANSITION_DURATION=150;Modal.DEFAULTS={backdrop:true,keyboard:true,show:true};Modal.prototype.toggle=function(_relatedTarget){return this.isShown?this.hide():this.show(_relatedTarget);};Modal.prototype.show=function(_relatedTarget){var that=this;var e=$.Event('show.bs.modal',{relatedTarget:_relatedTarget});this.$element.trigger(e);if(this.isShown||e.isDefaultPrevented())return;this.isShown=true;this.checkScrollbar();this.setScrollbar();this.$body.addClass('modal-open');this.escape();this.resize();this.$element.on('click.dismiss.bs.modal','[data-dismiss="modal"]',$.proxy(this.hide,this));this.$dialog.on('mousedown.dismiss.bs.modal',function(){that.$element.one('mouseup.dismiss.bs.modal',function(e){if($(e.target).is(that.$element))that.ignoreBackdropClick=true;});});this.backdrop(function(){var transition=$.support.transition&&that.$element.hasClass('fade');if(!that.$element.parent().length)that.$element.appendTo(that.$body);that.$element.show().scrollTop(0);that.adjustDialog();if(transition)that.$element[0].offsetWidth;that.$element.addClass('in');that.enforceFocus();var e=$.Event('shown.bs.modal',{relatedTarget:_relatedTarget});transition?that.$dialog.one('bsTransitionEnd',function(){that.$element.trigger('focus').trigger(e);}).emulateTransitionEnd(Modal.TRANSITION_DURATION):that.$element.trigger('focus').trigger(e);});};Modal.prototype.hide=function(e){if(e)e.preventDefault();e=$.Event('hide.bs.modal');this.$element.trigger(e);if(!this.isShown||e.isDefaultPrevented())return;this.isShown=false;this.escape();this.resize();$(document).off('focusin.bs.modal');this.$element.removeClass('in').off('click.dismiss.bs.modal').off('mouseup.dismiss.bs.modal');this.$dialog.off('mousedown.dismiss.bs.modal');$.support.transition&&this.$element.hasClass('fade')?this.$element.one('bsTransitionEnd',$.proxy(this.hideModal,this)).emulateTransitionEnd(Modal.TRANSITION_DURATION):this.hideModal();};Modal.prototype.enforceFocus=function(){$(document).off('focusin.bs.modal').on('focusin.bs.modal',$.proxy(function(e){if(document!==e.target&&this.$element[0]!==e.target&&!this.$element.has(e.target).length)this.$element.trigger('focus');},this));};Modal.prototype.escape=function(){if(this.isShown&&this.options.keyboard)this.$element.on('keydown.dismiss.bs.modal',$.proxy(function(e){e.which==27&&this.hide();},this));else{if(!this.isShown)this.$element.off('keydown.dismiss.bs.modal');}};Modal.prototype.resize=function(){if(this.isShown)$(window).on('resize.bs.modal',$.proxy(this.handleUpdate,this));else $(window).off('resize.bs.modal');};Modal.prototype.hideModal=function(){var that=this;this.$element.hide();this.backdrop(function(){that.$body.removeClass('modal-open');that.resetAdjustments();that.resetScrollbar();that.$element.trigger('hidden.bs.modal');});};Modal.prototype.removeBackdrop=function(){this.$backdrop&&this.$backdrop.remove();this.$backdrop=null;};Modal.prototype.backdrop=function(callback){var that=this;var animate=this.$element.hasClass('fade')?'fade':'';if(this.isShown&&this.options.backdrop){var doAnimate=$.support.transition&&animate;this.$backdrop=$(document.createElement('div')).addClass('modal-backdrop '+animate).appendTo(this.$body);this.$element.on('click.dismiss.bs.modal',$.proxy(function(e){if(this.ignoreBackdropClick){this.ignoreBackdropClick=false;return;}if(e.target!==e.currentTarget)return;this.options.backdrop=='static'?this.$element[0].focus():this.hide();},this));if(doAnimate)this.$backdrop[0].offsetWidth;this.$backdrop.addClass('in');if(!callback)return;doAnimate?this.$backdrop.one('bsTransitionEnd',callback).emulateTransitionEnd(Modal.BACKDROP_TRANSITION_DURATION):callback();}else if(!this.isShown&&this.$backdrop){this.$backdrop.removeClass('in');var callbackRemove=function(){that.removeBackdrop();callback&&callback();};$.support.transition&&this.$element.hasClass('fade')?this.$backdrop.one('bsTransitionEnd',callbackRemove).emulateTransitionEnd(Modal.BACKDROP_TRANSITION_DURATION):callbackRemove();}else{if(callback)callback();}};Modal.prototype.handleUpdate=function(){this.adjustDialog();};Modal.prototype.adjustDialog=function(){var modalIsOverflowing=this.$element[0].scrollHeight>document.documentElement.clientHeight;this.$element.css({paddingLeft:!this.bodyIsOverflowing&&modalIsOverflowing?this.scrollbarWidth:'',paddingRight:this.bodyIsOverflowing&&!modalIsOverflowing?this.scrollbarWidth:''});};Modal.prototype.resetAdjustments=function(){this.$element.css({paddingLeft:'',paddingRight:''});};Modal.prototype.checkScrollbar=function(){var fullWindowWidth=window.innerWidth;if(!fullWindowWidth){var documentElementRect=document.documentElement.getBoundingClientRect();fullWindowWidth=documentElementRect.right-Math.abs(documentElementRect.left);}this.bodyIsOverflowing=document.body.clientWidth<fullWindowWidth;this.scrollbarWidth=this.measureScrollbar();};Modal.prototype.setScrollbar=function(){var bodyPad=parseInt((this.$body.css('padding-right')||0),10);this.originalBodyPad=document.body.style.paddingRight||'';if(this.bodyIsOverflowing)this.$body.css('padding-right',bodyPad+this.scrollbarWidth);};Modal.prototype.resetScrollbar=function(){this.$body.css('padding-right',this.originalBodyPad);};Modal.prototype.measureScrollbar=function(){var scrollDiv=document.createElement('div');scrollDiv.className='modal-scrollbar-measure';this.$body.append(scrollDiv);var scrollbarWidth=scrollDiv.offsetWidth-scrollDiv.clientWidth;this.$body[0].removeChild(scrollDiv);return scrollbarWidth;};function Plugin(option,_relatedTarget){return this.each(function(){var $this=$(this);var data=$this.data('bs.modal');var options=$.extend({},Modal.DEFAULTS,$this.data(),typeof option=='object'&&option);if(!data)$this.data('bs.modal',(data=new Modal(this,options)));if(typeof option=='string')data[option](_relatedTarget);else{if(options.show)data.show(_relatedTarget);}});}var old=$.fn.modal;$.fn.modal=Plugin;$.fn.modal.Constructor=Modal;$.fn.modal.noConflict=function(){$.fn.modal=old;return this;};$(document).on('click.bs.modal.data-api','[data-toggle="modal"]',function(e){var $this=$(this);var href=$this.attr('href');var $target=$($this.attr('data-target')||(href&&href.replace(/.*(?=#[^\s]+$)/,'')));var option=$target.data('bs.modal')?'toggle':$.extend({remote:!/#/.test(href)&&href},$target.data(),$this.data());if($this.is('a'))e.preventDefault();$target.one('show.bs.modal',function(showEvent){if(showEvent.isDefaultPrevented())return;$target.one('hidden.bs.modal',function(){$this.is(':visible')&&$this.trigger('focus');});});Plugin.call($target,option,this);});}(jQuery);+function($){'use strict';function transitionEnd(){var el=document.createElement('bootstrap');var transEndEventNames={WebkitTransition:'webkitTransitionEnd',MozTransition:'transitionend',OTransition:'oTransitionEnd otransitionend',transition:'transitionend'};for(var name in transEndEventNames)if(el.style[name]!==undefined)return {end:transEndEventNames[name]};return false;}$.fn.emulateTransitionEnd=function(duration){var called=false;var $el=this;$(this).one('bsTransitionEnd',function(){called=true;});var callback=function(){if(!called)$($el).trigger($.support.transition.end);};setTimeout(callback,duration);return this;};$(function(){$.support.transition=transitionEnd();if(!$.support.transition)return;
8$.event.special.bsTransitionEnd={bindType:$.support.transition.end,delegateType:$.support.transition.end,handle:function(e){if($(e.target).is(this))return e.handleObj.handler.apply(this,arguments);}};});}(jQuery);; 9(function($,document,window){var defaults={transition:"elastic",speed:300,width:false,initialWidth:"600",innerWidth:false,maxWidth:false,height:false,initialHeight:"450",innerHeight:false,maxHeight:false,scalePhotos:true,scrolling:true,inline:false,html:false,iframe:false,fastIframe:true,photo:false,href:false,title:false,rel:false,opacity:0.9,preloading:true,className:false,retinaImage:false,retinaUrl:false,retinaSuffix:'@2x.$1',current:"image {current} of {total}",previous:"previous",next:"next",close:"close",xhrError:"This content failed to load.",imgError:"This image failed to load.",open:false,returnFocus:true,reposition:true,loop:true,slideshow:false,slideshowAuto:true,slideshowSpeed:2500,slideshowStart:"start slideshow",slideshowStop:"stop slideshow",photoRegex:/\.(gif|png|jp(e|g|eg)|bmp|ico)((#|\?).*)?$/i,onOpen:false,onLoad:false,onComplete:false,onCleanup:false,onClosed:false,overlayClose:true,escKey:true,arrowKey:true,top:false,bottom:false,left:false,right:false,fixed:false,data:undefined},colorbox='colorbox',prefix='cbox',boxElement=prefix+'Element',event_open=prefix+'_open',event_load=prefix+'_load',event_complete=prefix+'_complete',event_cleanup=prefix+'_cleanup',event_closed=prefix+'_closed',event_purge=prefix+'_purge',$overlay,$box,$wrap,$content,$topBorder,$leftBorder,$rightBorder,$bottomBorder,$related,$window,$loaded,$loadingBay,$loadingOverlay,$title,$current,$slideshow,$next,$prev,$close,$groupControls,$events=$('<a/>'),settings,interfaceHeight,interfaceWidth,loadedHeight,loadedWidth,element,index,photo,open,active,closing,loadingTimer,publicMethod,div="div",className,requests=0,init;function $tag(tag,id,css){var element=document.createElement(tag);if(id)element.id=prefix+id;if(css)element.style.cssText=css;return $(element);}function winheight(){return window.innerHeight?window.innerHeight:$(window).height();}function getIndex(increment){var max=$related.length,newIndex=(index+increment)%max;return (newIndex<0)?max+newIndex:newIndex;}function setSize(size,dimension){return Math.round((/%/.test(size)?((dimension==='x'?$window.width():winheight())/100):1)*parseInt(size,10));}function isImage(settings,url){return settings.photo||settings.photoRegex.test(url);}function retinaUrl(settings,url){return settings.retinaUrl&&window.devicePixelRatio>1?url.replace(settings.photoRegex,settings.retinaSuffix):url;}function trapFocus(e){if('contains' in $box[0]&&!$box[0].contains(e.target)){e.stopPropagation();$box.focus();}}function makeSettings(){var i,data=$.data(element,colorbox);if(data==null){settings=$.extend({},defaults);if(console&&console.log)console.log('Error: cboxElement missing settings object');}else settings=$.extend({},data);for(i in settings)if($.isFunction(settings[i])&&i.slice(0,2)!=='on')settings[i]=settings[i].call(element);settings.rel=settings.rel||element.rel||$(element).data('rel')||'nofollow';settings.href=settings.href||$(element).attr('href');settings.title=settings.title||element.title;if(typeof settings.href==="string")settings.href=$.trim(settings.href);}function trigger(event,callback){$(document).trigger(event);$events.trigger(event);if($.isFunction(callback))callback.call(element);}function slideshow(){var timeOut,className=prefix+"Slideshow_",click="click."+prefix,clear,set,start,stop;if(settings.slideshow&&$related[1]){clear=function(){clearTimeout(timeOut);};set=function(){if(settings.loop||$related[index+1])timeOut=setTimeout(publicMethod.next,settings.slideshowSpeed);};start=function(){$slideshow.html(settings.slideshowStop).unbind(click).one(click,stop);$events.bind(event_complete,set).bind(event_load,clear).bind(event_cleanup,stop);$box.removeClass(className+"off").addClass(className+"on");};stop=function(){clear();$events.unbind(event_complete,set).unbind(event_load,clear).unbind(event_cleanup,stop);$slideshow.html(settings.slideshowStart).unbind(click).one(click,function(){publicMethod.next();start();});$box.removeClass(className+"on").addClass(className+"off");};if(settings.slideshowAuto)start();else stop();}else $box.removeClass(className+"off "+className+"on");}function launch(target){if(!closing){element=target;makeSettings();$related=$(element);index=0;
9if(settings.rel!=='nofollow'){$related=$('.'+boxElement).filter(function(){var data=$.data(this,colorbox),relRelated;if(data)relRelated=$(this).data('rel')||data.rel||this.rel;return (relRelated===settings.rel);});index=$related.index(element);if(index===-1){$related=$related.add(element);index=$related.length-1;}}$overlay.css({opacity:parseFloat(settings.opacity),cursor:settings.overlayClose?"pointer":"auto",visibility:'visible'}).show();if(className)$box.add($overlay).removeClass(className);if(settings.className)$box.add($overlay).addClass(settings.className);className=settings.className;$close.html(settings.close).show();if(!open){open=active=true;$box.css({visibility:'hidden',display:'block'});$loaded=$tag(div,'LoadedContent','width:0; height:0; overflow:hidden').appendTo($content);interfaceHeight=$topBorder.height()+$bottomBorder.height()+$content.outerHeight(true)-$content.height();interfaceWidth=$leftBorder.width()+$rightBorder.width()+$content.outerWidth(true)-$content.width();loadedHeight=$loaded.outerHeight(true);loadedWidth=$loaded.outerWidth(true);settings.w=setSize(settings.initialWidth,'x');settings.h=setSize(settings.initialHeight,'y');publicMethod.position();slideshow();trigger(event_open,settings.onOpen);$groupControls.add($title).hide();$box.focus();if(document.addEventListener){document.addEventListener('focus',trapFocus,true);$events.one(event_closed,function(){document.removeEventListener('focus',trapFocus,true);});}if(settings.returnFocus)$events.one(event_closed,function(){$(element).focus();});}load();}}function appendHTML(){if(!$box&&document.body){init=false;$window=$(window);$box=$tag(div).attr({id:colorbox,'class':$.support.opacity===false?prefix+'IE':'',role:'dialog',tabindex:'-1'}).hide();$overlay=$tag(div,"Overlay").hide();$loadingOverlay=$tag(div,"LoadingOverlay").add($tag(div,"LoadingGraphic"));$wrap=$tag(div,"Wrapper");$content=$tag(div,"Content").append($title=$tag(div,"Title"),$current=$tag(div,"Current"),$prev=$tag('button',"Previous"),$next=$tag('button',"Next"),$slideshow=$tag('button',"Slideshow"),$loadingOverlay,$close=$tag('button',"Close"));$wrap.append($tag(div).append($tag(div,"TopLeft"),$topBorder=$tag(div,"TopCenter"),$tag(div,"TopRight")),$tag(div,false,'clear:left').append($leftBorder=$tag(div,"MiddleLeft"),$content,$rightBorder=$tag(div,"MiddleRight")),$tag(div,false,'clear:left').append($tag(div,"BottomLeft"),$bottomBorder=$tag(div,"BottomCenter"),$tag(div,"BottomRight"))).find('div div').css({'float':'left'});$loadingBay=$tag(div,false,'position:absolute; width:9999px; visibility:hidden; display:none');$groupControls=$next.add($prev).add($current).add($slideshow);$(document.body).append($overlay,$box.append($wrap,$loadingBay));}}function addBindings(){function clickHandler(e){if(!(e.which>1||e.shiftKey||e.altKey||e.metaKey||e.control)){e.preventDefault();launch(this);}}if($box){if(!init){init=true;$next.click(function(){publicMethod.next();});$prev.click(function(){publicMethod.prev();});$close.click(function(){publicMethod.close();});$overlay.click(function(){if(settings.overlayClose)publicMethod.close();});$(document).bind('keydown.'+prefix,function(e){var key=e.keyCode;if(open&&settings.escKey&&key===27){e.preventDefault();publicMethod.close();}if(open&&settings.arrowKey&&$related[1]&&!e.altKey)if(key===37){e.preventDefault();$prev.click();}else{if(key===39){e.preventDefault();$next.click();}}});if($.isFunction($.fn.on))$(document).on('click.'+prefix,'.'+boxElement,clickHandler);else $('.'+boxElement).live('click.'+prefix,clickHandler);}return true;}return false;}if($.colorbox)return;$(appendHTML);publicMethod=$.fn[colorbox]=$[colorbox]=function(options,callback){var $this=this;options=options||{};appendHTML();if(addBindings()){if($.isFunction($this)){$this=$('<a/>');options.open=true;}else{if(!$this[0])return $this;}if(callback)options.onComplete=callback;$this.each(function(){$.data(this,colorbox,$.extend({},$.data(this,colorbox)||defaults,options));}).addClass(boxElement);if(($.isFunction(options.open)&&options.open.call($this))||options.open)launch($this[0]);}return $this;};publicMethod.position=function(speed,loadedCallback){var css,top=0,left=0,offset=$box.offset(),scrollTop,scrollLeft;$window.unbind('resize.'+prefix);$box.css({top:-9e4,left:-9e4});scrollTop=$window.scrollTop();scrollLeft=$window.scrollLeft();if(settings.fixed){offset.top-=scrollTop;offset.left-=scrollLeft;$box.css({position:'fixed'});}else{top=scrollTop;left=scrollLeft;$box.css({position:'absolute'});}
9if(settings.right!==false)left+=Math.max($window.width()-settings.w-loadedWidth-interfaceWidth-setSize(settings.right,'x'),0);else if(settings.left!==false)left+=setSize(settings.left,'x');else left+=Math.round(Math.max($window.width()-settings.w-loadedWidth-interfaceWidth,0)/2);if(settings.bottom!==false)top+=Math.max(winheight()-settings.h-loadedHeight-interfaceHeight-setSize(settings.bottom,'y'),0);else if(settings.top!==false)top+=setSize(settings.top,'y');else top+=Math.round(Math.max(winheight()-settings.h-loadedHeight-interfaceHeight,0)/2);$box.css({top:offset.top,left:offset.left,visibility:'visible'});speed=($box.width()===settings.w+loadedWidth&&$box.height()===settings.h+loadedHeight)?0:speed||0;$wrap[0].style.width=$wrap[0].style.height="9999px";function modalDimensions(that){$topBorder[0].style.width=$bottomBorder[0].style.width=$content[0].style.width=(parseInt(that.style.width,10)-interfaceWidth)+'px';$content[0].style.height=$leftBorder[0].style.height=$rightBorder[0].style.height=(parseInt(that.style.height,10)-interfaceHeight)+'px';}css={width:settings.w+loadedWidth+interfaceWidth,height:settings.h+loadedHeight+interfaceHeight,top,left};if(speed===0)$box.css(css);$box.dequeue().animate(css,{duration:speed,complete:function(){modalDimensions(this);active=false;$wrap[0].style.width=(settings.w+loadedWidth+interfaceWidth)+"px";$wrap[0].style.height=(settings.h+loadedHeight+interfaceHeight)+"px";if(settings.reposition)setTimeout(function(){$window.bind('resize.'+prefix,publicMethod.position);},1);if(loadedCallback)loadedCallback();},step:function(){modalDimensions(this);}});};publicMethod.resize=function(options){if(open){options=options||{};if(options.width)settings.w=setSize(options.width,'x')-loadedWidth-interfaceWidth;if(options.innerWidth)settings.w=setSize(options.innerWidth,'x');$loaded.css({width:settings.w});if(options.height)settings.h=setSize(options.height,'y')-loadedHeight-interfaceHeight;if(options.innerHeight)settings.h=setSize(options.innerHeight,'y');if(!options.innerHeight&&!options.height){$loaded.css({height:"auto"});settings.h=$loaded.height();}$loaded.css({height:settings.h});publicMethod.position(settings.transition==="none"?0:settings.speed);}};publicMethod.prep=function(object){if(!open)return;var callback,speed=settings.transition==="none"?0:settings.speed;$loaded.empty().remove();$loaded=$tag(div,'LoadedContent').append(object);function getWidth(){settings.w=settings.w||$loaded.width();settings.w=settings.mw&&settings.mw<settings.w?settings.mw:settings.w;return settings.w;}function getHeight(){settings.h=settings.h||$loaded.height();settings.h=settings.mh&&settings.mh<settings.h?settings.mh:settings.h;return settings.h;}$loaded.hide().appendTo($loadingBay.show()).css({width:getWidth(),overflow:settings.scrolling?'auto':'hidden'}).css({height:getHeight()}).prependTo($content);$loadingBay.hide();$(photo).css({'float':'none'});callback=function(){var total=$related.length,iframe,frameBorder='frameBorder',allowTransparency='allowTransparency',complete;if(!open)return;function removeFilter(){if($.support.opacity===false)$box[0].style.removeAttribute('filter');}complete=function(){clearTimeout(loadingTimer);$loadingOverlay.hide();trigger(event_complete,settings.onComplete);};$title.html(settings.title).add($loaded).show();if(total>1){if(typeof settings.current==="string")$current.html(settings.current.replace('{current}',index+1).replace('{total}',total)).show();
9$next[(settings.loop||index<total-1)?"show":"hide"]().html(settings.next);$prev[(settings.loop||index)?"show":"hide"]().html(settings.previous);if(settings.slideshow)$slideshow.show();if(settings.preloading)$.each([getIndex(-1),getIndex(1)],function(){var src,img,i=$related[this],data=$.data(i,colorbox);if(data&&data.href){src=data.href;if($.isFunction(src))src=src.call(i);}else src=$(i).attr('href');if(src&&isImage(data,src)){src=retinaUrl(data,src);img=new Image();img.src=src;}});}else $groupControls.hide();if(settings.iframe){iframe=$tag('iframe')[0];if(frameBorder in iframe)iframe[frameBorder]=0;if(allowTransparency in iframe)iframe[allowTransparency]="true";if(!settings.scrolling)iframe.scrolling="no";$(iframe).attr({src:settings.href,name:(new Date()).getTime(),'class':prefix+'Iframe',allowFullScreen:true,webkitAllowFullScreen:true,mozallowfullscreen:true}).one('load',complete).appendTo($loaded);$events.one(event_purge,function(){iframe.src="//about:blank";});if(settings.fastIframe)$(iframe).trigger('load');}else complete();if(settings.transition==='fade')$box.fadeTo(speed,1,removeFilter);else removeFilter();};if(settings.transition==='fade')$box.fadeTo(speed,0,function(){publicMethod.position(0,callback);});else publicMethod.position(speed,callback);};function load(){var href,setResize,prep=publicMethod.prep,$inline,request=++requests;active=true;photo=false;element=$related[index];makeSettings();trigger(event_purge);trigger(event_load,settings.onLoad);settings.h=settings.height?setSize(settings.height,'y')-loadedHeight-interfaceHeight:settings.innerHeight&&setSize(settings.innerHeight,'y');settings.w=settings.width?setSize(settings.width,'x')-loadedWidth-interfaceWidth:settings.innerWidth&&setSize(settings.innerWidth,'x');settings.mw=settings.w;settings.mh=settings.h;if(settings.maxWidth){settings.mw=setSize(settings.maxWidth,'x')-loadedWidth-interfaceWidth;settings.mw=settings.w&&settings.w<settings.mw?settings.w:settings.mw;}if(settings.maxHeight){settings.mh=setSize(settings.maxHeight,'y')-loadedHeight-interfaceHeight;settings.mh=settings.h&&settings.h<settings.mh?settings.h:settings.mh;}href=settings.href;loadingTimer=setTimeout(function(){$loadingOverlay.show();},100);if(settings.inline){$inline=$tag(div).hide().insertBefore($(href)[0]);$events.one(event_purge,function(){$inline.replaceWith($loaded.children());});prep($(href));}else if(settings.iframe)prep(" ");else if(settings.html)prep(settings.html);else if(isImage(settings,href)){href=retinaUrl(settings,href);$(photo=new Image()).addClass(prefix+'Photo').bind('error',function(){settings.title=false;prep($tag(div,'Error').html(settings.imgError));}).one('load',function(){var percent;if(request!==requests)return;if(settings.retinaImage&&window.devicePixelRatio>1){photo.height=photo.height/window.devicePixelRatio;photo.width=photo.width/window.devicePixelRatio;}if(settings.scalePhotos){setResize=function(){photo.height-=photo.height*percent;photo.width-=photo.width*percent;};if(settings.mw&&photo.width>settings.mw){percent=(photo.width-settings.mw)/photo.width;setResize();}if(settings.mh&&photo.height>settings.mh){percent=(photo.height-settings.mh)/photo.height;setResize();}}if(settings.h)photo.style.marginTop=Math.max(settings.mh-photo.height,0)/2+'px';if($related[1]&&(settings.loop||$related[index+1])){photo.style.cursor='pointer';photo.onclick=function(){publicMethod.next();};}setTimeout(function(){prep(photo);},1);});setTimeout(function(){photo.src=href;},1);}else{if(href)$loadingBay.load(href,settings.data,function(data,status){if(request===requests)prep(status==='error'?$tag(div,'Error').html(settings.xhrError):$(this).contents());});}}publicMethod.next=function(){if(!active&&$related[1]&&(settings.loop||$related[index+1])){index=getIndex(1);launch($related[index]);}};publicMethod.prev=function(){if(!active&&$related[1]&&(settings.loop||index)){index=getIndex(-1);launch($related[index]);}};publicMethod.close=function(){if(open&&!closing){closing=true;open=false;trigger(event_cleanup,settings.onCleanup);$window.unbind('.'+prefix);$overlay.fadeTo(200,0);$box.stop().fadeTo(300,0,function(){$box.add($overlay).css({'opacity':1,cursor:'auto'}).hide();trigger(event_purge);$loaded.empty().remove();setTimeout(function(){closing=false;trigger(event_closed,settings.onClosed);},1);});}};publicMethod.remove=function(){if(!$box)return;$box.stop();$.colorbox.close();$box.stop().remove();$overlay.remove();closing=false;$box=null;$('.'+boxElement).removeData(colorbox).removeClass(boxElement);$(document).unbind('click.'+prefix);};publicMethod.element=function(){return $(element);};publicMethod.settings=defaults;}(jQuery,document,window));; 10function getUrlParameter(name){name=name.replace(/[\[]/,'\\[').replace(/[\]]/,'\\]');var regex=new RegExp('[\\?&]'+name+'=([^&#]*)');var results=regex.exec(location.search);return results===null?'':decodeURIComponent(results[1].replace(/\+/g,' '));};if(getUrlParameter('thank'))jQuery('#success').modal();; 11jQuery(document).ready(function(){jQuery("a[href^='/index.php/']").each(function(t){var url=jQuery(this).attr('href');url=url.substring(10,url.length);jQuery(this).attr('href',url);});jQuery("a[href^='/app/']").each(function(t){var url=jQuery(this).attr('href');url=url.substring(4,url.length);jQuery(this).attr('href',url);});});; 12var vidyardEmbed=function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports;}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r});},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}
12),Object.defineProperty(e,"__esModule",{value:!0});},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,function(t){return e[t];}.bind(null,i));return r;},n.n=function(e){var t=e&&e.__esModule?function(){return e.default;}:function(){return e;};return n.d(t,"a",t),t;},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t);},n.p="https://play.vidyard.com/embed/",n(n.s=6);}([function(e,t){var n;n=function(){return this;}();try{n=n||Function("return this")()||(0,eval)("this");}catch(e){"object"==typeof window&&(n=window);}e.exports=n;},function(e,t,n){"use strict";function r(){return (r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r]);}return e;}).apply(this,arguments);}var i,o,a,u=n(14),c=n(13),s=function(e){return "svg"!==e.tagName.toLowerCase();};function l(e,t){return !1===t?f(e,"aria-hidden","false"):f(e,"hidden",!1);}function d(e,t){return !1===t?f(e,"aria-hidden","true"):f(e,"hidden",!0);}function f(e,t,n){var r="boolean"==typeof n;return {el:e,attributeName:t,cleanValue:r?e[t]:e.getAttribute(t),dirtyValue:n,isProperty:r};}function p(){o&&(a.forEach(function(e){var t;(t=e).cleanValue?!0===t.isProperty?t.el[t.attributeName]=t.cleanValue:t.el.setAttribute(t.attributeName,t.cleanValue):t.el.removeAttribute(t.attributeName);}),a=[],i&&i.setAttribute("role","main"),o.dispatchEvent(new u("screenreaderUntrap",{bubbles:!0})),o=null);}var h={useHiddenProperty:!1};e.exports={trap:function(e,t){p();var n=r({},h,t);o=e,(i=document.querySelector('main, [role="main"]'))&&i.setAttribute("role","presentation");var f=c.getAncestors(o),v=c.getSiblings(o),y=c.getSiblingsOfAncestors(o);!0===n.useHiddenProperty&&(v=v.filter(s),y=y.filter(s)),(a=[l(o,n.useHiddenProperty)].concat(f.map(function(e){return l(e,n.useHiddenProperty);})).concat(v.map(function(e){return d(e,n.useHiddenProperty);})).concat(y.map(function(e){return d(e,n.useHiddenProperty);}))).forEach(function(e){var t;!0===(t=e).isProperty?t.el[t.attributeName]=t.dirtyValue:t.el.setAttribute(t.attributeName,t.dirtyValue);}),o.dispatchEvent(new u("screenreaderTrap",{bubbles:!0}));},untrap:p};},function(e,t,n){var r,i,o;!function(a,u){"use strict";i=[n(7)],void 0===(o="function"==typeof (r=function(e){var t=/(^|@)\S+\:\d+/,n=/^\s*at .*(\S+\:\d+|\(native\))/m,r=/^(eval@)?(\[native code\])?$/;return {parse:function(e){if(void 0!==e.stacktrace||void 0!==e["opera#sourceloc"])return this.parseOpera(e);if(e.stack&&e.stack.match(n))return this.parseV8OrIE(e);if(e.stack)return this.parseFFOrSafari(e);throw new Error("Cannot parse given Error object");},extractLocation:function(e){if(-1===e.indexOf(":"))return [e];var t=/(.+?)(?:\:(\d+))?(?:\:(\d+))?$/.exec(e.replace(/[\(\)]/g,""));return [t[1],t[2]||void 0,t[3]||void 0];},parseV8OrIE:function(t){var r=t.stack.split("\n").filter(function(e){return !!e.match(n);},this);return r.map(function(t){t.indexOf("(eval ")>-1&&(t=t.replace(/eval code/g,"eval").replace(/(\(eval at [^\()]*)|(\)\,.*$)/g,""));var n=t.replace(/^\s+/,"").replace(/\(eval code/g,"(").split(/\s+/).slice(1),r=this.extractLocation(n.pop()),i=n.join(" ")||void 0,o=["eval","<anonymous>"].indexOf(r[0])>-1?void 0:r[0];return new e({functionName:i,fileName:o,lineNumber:r[1],columnNumber:r[2],source:t});},this);},parseFFOrSafari:function(t){var n=t.stack.split("\n").filter(function(e){return !e.match(r);},this);return n.map(function(t){if(t.indexOf(" > eval")>-1&&(t=t.replace(/ line (\d+)(?: > eval line \d+)* > eval\:\d+\:\d+/g,":$1")),-1===t.indexOf("@")&&-1===t.indexOf(":"))return new e({functionName:t});var n=/((.*".+"[^@]*)?[^@]*)(?:@)/,r=t.match(n),i=r&&r[1]?r[1]:void 0,o=this.extractLocation(t.replace(n,""));return new e({functionName:i,fileName:o[0],lineNumber:o[1],columnNumber:o[2],source:t});},this);},parseOpera:function(e){return !e.stacktrace||e.message.indexOf("\n")>-1&&e.message.split("\n").length>e.stacktrace.split("\n").length?this.parseOpera9(e):e.stack?this.parseOpera11(e):this.parseOpera10(e);},parseOpera9:function(t){for(var n=/Line (\d+).*script (?:in )?(\S+)/i,r=t.message.split("\n"),i=[],o=2,a=r.length;o<a;o+=2){var u=n.exec(r[o]);u&&i.push(new e({fileName:u[2],lineNumber:u[1],source:r[o]}));}return i;},parseOpera10:function(t){for(var n=/Line (\d+).*script (?:in )?(\S+)(?:: In function (\S+))?$/i,r=t.stacktrace.split("\n"),i=[],o=0,a=r.length;o<a;o+=2){var u=n.exec(r[o]);u&&i.push(new e({functionName:u[3]||void 0,fileName:u[2],lineNumber:u[1],source:r[o]}));}return i;},parseOpera11:function(n){var r=n.stack.split("\n").filter(function(e){return !!e.match(t)&&!e.match(/^Error created at/);},this);return r.map(function(t){var n,r=t.split("@"),i=this.extractLocation(r.pop()),o=r.shift()||"",a=o.replace(/<anonymous function(: (\w+))?>/,"$2").replace(/\([^\)]*\)/g,"")||void 0;o.match(/\(([^\)]*)\)/)&&(n=o.replace(/^[^\(]+\(([^\)]*)\)$/,"$1"));var u=void 0===n||"[arguments not available]"===n?void 0:n.split(",");return new e({functionName:a,args:u,fileName:i[0],lineNumber:i[1],columnNumber:i[2],source:t});},this);}};})?r.apply(t,i):r)||(e.exports=o);}();},function(e,t,n){"use strict";
12Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e){var t=void 0===e?{emit:!1,logger:console.log}:e,n=t.emit,r=t.logger;this.emit=n,this.externalLogger=r,this.buffer=[],this.customLevel={},this.error=this.setLevel(1),this.warn=this.setLevel(2),this.info=this.setLevel(3),this.log=this.setLevel(4);}return e.prototype.getLogs=function(e){return "function"==typeof e?this.buffer.filter(function(t){return t.level===e.level;}):e?this.buffer.filter(function(t){return t.level===e;}):this.buffer;},e.prototype.setLevel=function(e){var t=this,n=function(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];var i={level:e,time:Date.now(),msg:n.join(" ")};t.buffer.push(i),t.emit&&t.externalLogger(i);};return n.level=e,this.customLevel[e]=n,n;},e;}();t.default=r;},function(e,t,n){"use strict";t.a=function(e){var t=this.constructor;return this.then(function(n){return t.resolve(e()).then(function(){return n;});},function(n){return t.resolve(e()).then(function(){return t.reject(n);});});};},function(e,t,n){"use strict";(function(e){var r=n(4),i=setTimeout;function o(){}function a(e){if(!(this instanceof a))throw new TypeError("Promises must be constructed via new");if("function"!=typeof e)throw new TypeError("not a function");this._state=0,this._handled=!1,this._value=void 0,this._deferreds=[],d(e,this);}function u(e,t){for(;3===e._state;)e=e._value;0!==e._state?(e._handled=!0,a._immediateFn(function(){var n=1===e._state?t.onFulfilled:t.onRejected;if(null!==n){var r;try{r=n(e._value);}catch(e){return void s(t.promise,e);}c(t.promise,r);}else (1===e._state?c:s)(t.promise,e._value);})):e._deferreds.push(t);}function c(e,t){try{if(t===e)throw new TypeError("A promise cannot be resolved with itself.");if(t&&("object"==typeof t||"function"==typeof t)){var n=t.then;if(t instanceof a)return e._state=3,e._value=t,void l(e);if("function"==typeof n)return void d((r=n,i=t,function(){r.apply(i,arguments);}),e);}e._state=1,e._value=t,l(e);}catch(t){s(e,t);}var r,i;}function s(e,t){e._state=2,e._value=t,l(e);}function l(e){2===e._state&&0===e._deferreds.length&&a._immediateFn(function(){e._handled||a._unhandledRejectionFn(e._value);});for(var t=0,n=e._deferreds.length;t<n;t++)u(e,e._deferreds[t]);e._deferreds=null;}function d(e,t){var n=!1;try{e(function(e){n||(n=!0,c(t,e));},function(e){n||(n=!0,s(t,e));});}catch(e){if(n)return;n=!0,s(t,e);}}a.prototype.catch=function(e){return this.then(null,e);},a.prototype.then=function(e,t){var n=new this.constructor(o);return u(this,new function(e,t,n){this.onFulfilled="function"==typeof e?e:null,this.onRejected="function"==typeof t?t:null,this.promise=n;}(e,t,n)),n;},a.prototype.finally=r.a,a.all=function(e){return new a(function(t,n){if(!e||void 0===e.length)throw new TypeError("Promise.all accepts an array");var r=Array.prototype.slice.call(e);if(0===r.length)return t([]);var i=r.length;function o(e,a){try{if(a&&("object"==typeof a||"function"==typeof a)){var u=a.then;if("function"==typeof u)return void u.call(a,function(t){o(e,t);},n);}r[e]=a,0==--i&&t(r);}catch(e){n(e);}}for(var a=0;a<r.length;a++)o(a,r[a]);});},a.resolve=function(e){return e&&"object"==typeof e&&e.constructor===a?e:new a(function(t){t(e);});},a.reject=function(e){return new a(function(t,n){n(e);});},a.race=function(e){return new a(function(t,n){for(var r=0,i=e.length;r<i;r++)e[r].then(t,n);});},a._immediateFn="function"==typeof e&&function(t){e(t);}||function(e){i(e,0);},a._unhandledRejectionFn=function(e){"undefined"!=typeof console&&console&&console.warn("Possible Unhandled Promise Rejection:",e);},t.a=a;}).call(this,n(18).setImmediate);},function(e,t,n){"use strict";n.r(t);var r,i,o,a=n(5),u=function(e){return "function"==typeof e;},c=(i=(void 0===r?window:r).Promise)&&i.all&&i.race&&i.resolve&&i.reject&&u(i)&&u(i.all)&&u(i.race)&&u(i.resolve)&&u(i.reject)?window.Promise:a.a,s=function(e,t,n,r){return void 0===r&&(r=window),window.addEventListener?r.addEventListener(e,n,!1):window.attachEvent&&r.attachEvent(t,n),{eventName:e,handler:n,element:r};},l=function(e,t,n){void 0===n&&(n=window),n.removeEventListener?n.removeEventListener(e,t,!1):n.detachEvent?n.detachEvent("on"+e,t):n["on"+e]=null;},d=function(e){for(var t in e)if(e.hasOwnProperty(t))return !1;return JSON.stringify(e)===JSON.stringify({});},f=function(e,t){if(t.indexOf)return t.indexOf(e);for(var n=0;n<t.length;n++)if(t[n]===e)return n;return -1;},p=function(e,t,n){if(void 0===t&&(t="*"),void 0===n&&(n=document),"function"==typeof document.getElementsByClassName)return n.getElementsByClassName(e);for(var r=[],i=new RegExp("(^| )"+e+"( |$)"),o=0,a=E(n.getElementsByTagName(t));o<a.length;o++){var u=a[o];i.test(u.className)&&r.push(u);}return r;},h=function(e,t){void 0===t&&(t=0);var n=k(e);return 0!==n.height||0!==n.width?(n.height/(n.width+t)*100).toFixed(2):56.25.toFixed(2);},v=function(e,t){void 0===t&&(t="log"),window.console&&"function"==typeof window.console[t]&&console[t](e);},y=function(e,t){for(var n=0,r=e;n<r.length;n++){var i=r[n];if(!0===t(i))return i;}},m=function(e,t){return y(e,function(e){return e===t;});},g=function(e){var t=!1;return function(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];t||(e&&e.apply(void 0,n),t=!0);};},b=function(e){return function(t){32!==t.keyCode&&13!==t.keyCode||e(t);};},w=function(e){return function(t){27===t.keyCode&&e(t);};},x=function(){return document.currentScript?document.currentScript:y(E(document.getElementsByTagName("script")),function(e){return e.src&&(null!==e.src.match("vidyard-embed-code.js")||null!==e.src.match(/v4(\.umd)?\.js/));});}
12,k=function(e){if(e.naturalWidth)return {width:e.naturalWidth,height:e.naturalHeight};var t=new Image();return t.src=e.src,{width:t.width,height:t.height};},E=function(e){return Array.prototype.slice.call(e);},_=function(e){return new c(function(t,n){try{t(JSON.parse(e));}catch(e){n(e);}});},C=function(e){var t=e.endpoint,n=e.payload,r=void 0===n?{}:n,i=e.method,o=void 0===i?"GET":i;return new c(function(e,n){var i=void 0===(new XMLHttpRequest()).withCredentials&&XDomainRequest?new XDomainRequest():new XMLHttpRequest();i.open(o,t),i instanceof XMLHttpRequest&&i.setRequestHeader("Content-Type","text/plain"),i.onerror=function(e){return n(e);},i.onload=function(){i instanceof XMLHttpRequest?2===Math.floor(i.status/100)?e(i.responseText):n():e(i.responseText);},i.send(JSON.stringify(r));});},O=function(e){for(var t={},n=function(e){return e.name.replace("data-","");},r=0;r<e.attributes.length;r+=1){var i=e.attributes[r];i.name.indexOf("data-")<0||(t[n(i)]=i.value);}return t;},N=function(e){e=e.replace(/[\[]/,"\\[").replace(/[\]]/,"\\]");var t=new RegExp("[\\?&]"+e+"=([^&#]*)").exec(window.location.search);if(null!==t)return t[1];},S=function(e){return Object.keys(e).reduce(function(t,n){if("vydata"===n){var r=function(e,t){try{var n=JSON.parse(decodeURIComponent(e));return Object.keys(n).reduce(function(e,r){return e[t+"["+r+"]"]=n[r],e;},{});}catch(e){return v("Invalid "+t+" payload","warn"),{};}}(e[n],"vydata");Object.keys(r).forEach(function(e){t[e]=r[e];});}else t[n]=e[n];return t;},{});},I=function(e,t,n){var r=function(e,t){return -1!==e.className.indexOf(t);},i=function(e,t){r(e,t)||(e.className=e.className.trim()+" "+t);},o=function(e,t){r(e,t)&&(e.className=e.className.replace(t," ").trim());};!0===n?i(e,t):!1===n?o(e,t):r(e,t)?o(e,t):i(e,t);},L="4.2.36",T=/vidyard\.com\/embed\/v4/,j=.5,A=319,P={setPlaybackURL:function(e){return o=e;},getPlaybackURL:function(){var e=x(),t=e?e.getAttribute("data-playbackurl"):null;return o||window.VIDYARD_PLAYBACK_URL||t||"play.vidyard.com";}},V=P.setPlaybackURL,U=P.getPlaybackURL,F=function(){return "https://"+U()+"/v4/";},R=function(){function e(e){var t=this;this.disable_popouts=1;var n=S(O(e));Object.keys(n).forEach(function(e){t[e]=n[e];}),"inline"!==this.type&&"lightbox"!==this.type&&(v("Invalid Vidyard player embed type, defaulting to inline.","warn"),this.type="inline"),this.v=L,this.disable_popouts=1,this.custom_id=this.custom_id||N("vycustom_id"),this.vyemail=this.vyemail||N("vyemail"),this.vysfid=this.vysfid||N("vysfid"),this.vyetoken=this.vyetoken||N("vyetoken");var r=N("vyac"),i=N("vyplayer");r&&i&&i===this.uuid?this.access_code=r:r&&i&&v("Invalid Vidyard player access code.","warn");}return e.prototype.toQueryString=function(){var e,t="?";for(e in this)this.hasOwnProperty(e)&&"height"!==e&&"uuid"!==e&&"width"!==e&&void 0!==this[e]&&(t+="?"!==t?"&":"",t+=encodeURIComponent(e)+"="+encodeURIComponent(this[e]));return "?"===t?"":t;},e;}();function M(e){void 0===e&&(e=p("vidyard-player-embed","img"));for(var t=0,n=e;t<n.length;t++){var r=n[t],i=new R(r),o=i.uuid,a="https://"+U()+"/"+o+i.toQueryString();o&&(-1===f(a,window.VidyardV4.preloadLinks)&&(B(o,a),window.VidyardV4.preloadLinks.push(a)));}}function B(e,t){var n=document.createElement("link");return n.rel="prefetch",n.crossOrigin="anonymous",n.href=t,document.body.appendChild(n),t;}var q=function(e,t,n){if(t&&n)if(window.postMessage&&n.contentWindow)n.contentWindow.postMessage(JSON.stringify(e),t);else{if("associateVisitor"!==e.event)return;var r=e.event+","+e.data.type+","+e.data.value+"|",i=n.src;-1===i.indexOf("#")&&(i+="#"),i+=r,n.src=i;}},D=function(e){return function(t){var n=function(e){if("string"!=typeof e.data||""===e.data)return;try{var t=JSON.parse(e.data),n=p("vidyard-iframe-"+t.uuid,"iframe")[0],r=n?n.contentWindow:null,i=r===e.source,o="str
12ing"==typeof t.event;if(!i||!o)return;return t;}catch(e){return void v("Invalid postMessage received","warn");}}(t);n&&e(n);};};var z=["pardot","hubspotutk","_mkto_trk","vy_dreamforce","eloqua"],H=["pardot","hubspot","marketo","dreamforce","eloqua"];var W=function(){document.dispatchEvent(function(e,t){if("function"==typeof window.CustomEvent)return new window.CustomEvent(e,{detail:t});if("function"==typeof document.createEvent){var n=document.createEvent("CustomEvent");return n.initCustomEvent(e,!1,!1,t),n;}}("onVidyardAPI",window.VidyardV4));},G=g(function(){window.onVidyardAPI&&"function"==typeof window.onVidyardAPI&&window.onVidyardAPI(window.VidyardV4),W();}),J=n(3),$=new (n.n(J).a)({emit:!!window.location.search.match("vydebug=1"),logger:function(e){return v(e,"info");}}),Q=x();Q&&($.info("vidyardEmbed V"+L+" loaded from "+Q.src),$.info("data-playbackurl="+Q.getAttribute("data-playbackurl"))),$.info("userAgent "+window.navigator.userAgent),$.info("cookies "+navigator.cookieEnabled),window.performance&&window.performance.timing&&window.performance.timing.navigationStart&&$.info("Script load time "+(Date.now()-window.performance.timing.navigationStart));var K={logger:$,getPlaybackURL:U,setPlaybackURL:V,version:L};var X,Z=function(e,t){var n;return '<div class="vidyard-div-'+e.uuid+'" role="region" aria-label="Vidyard media player" style="position: absolute; padding-bottom: '+t.ratio+'%; height: 0; overflow: hidden; max-width: 100%; ">'+(n='<iframe allow="'+["autoplay","fullscreen","picture-in-picture","camera","microphone","display-capture"].join("; ")+'"allowfullscreen allowtransparency="true" referrerpolicy="no-referrer-when-downgrade" class="vidyard-iframe-'+e.uuid+'" frameborder=0 height="100%" width="100%" scrolling=no src="https://'+U()+"/"+e.uuid+e.toQueryString()+'" title="Vidyard video player" style="opacity: 0; background-color: transparent; position: absolute; top: 0; left: 0;"></iframe>',"inline"===e.type?'<div class="vidyard-inner-container-'+e.uuid+'" style="position: absolute;height: 100%; width: 100%; '+(t.maxWidth?"max-width: "+t.maxWidth+"px; ":"")+(t.maxHeight?"max-height: "+t.maxHeight+"px; ":"")+'"> '+n+"</div> ":n)+"</div>";},Y=function(e){var t=document.createElement("script");return t.type="application/ld+json",t.text=JSON.stringify(e),t;},ee=function(e){return new c(function(t,n){return oe({error:n,success:t,url:""+F()+e+"/style.js",uuid:"style_"+e});});},te=function(e){return new c(function(t,n){return oe({error:n,success:t,url:""+F()+e+"/integrations.js",uuid:"integrations_"+e});});},ne=function(e){return new c(function(t,n){return oe({error:n,success:t,url:""+F()+e+"/details.js",uuid:"details_"+e});});},re=function(e,t){return new c(function(n,r){var i=encodeURIComponent(t),o=""+F()+e+"/contact/"+i+"/marketoContact.js";oe({error:r,success:n,url:o,uuid:"marketoContact_"+e});});},ie={},oe=function(e){var t=e.url,n=e.uuid,r=e.success,i=e.error,o=n.replace(/-/g,""),a=function(e){var t=e.error,n=e.url,r=e.requestUuid,i=document.createElement("script");return i.type="application/javascript",i.onerror=t,i.src=n+"?callback=window.VidyardV4.jsonp."+r+".done",i.setAttribute("data-playbackurl",U()),document.body.appendChild(i),i;}({error:i,url:t,requestUuid:o}),u=g(function(e){r(e),a.parentNode.removeChild(a);});ie[o]=ie[o]||[],ie[o].push(u),window.VidyardV4.jsonp[o]={done:function(e){ie[o].forEach(function(t){return t(e);});}};},ae={errors:{placeholder:"Cannot render the player, check the placeholder Image"}},ue=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&(n[r[i]]=e[r[i]]);}return n;},ce=function(e){if(!e)return c.reject(new Error(ae.errors.placeholder));var t=k(e),n=t.width,r=t.height,i=e.getAttribute("data-uuid");return ""!==e.src&&i&&(!e.complete||0!==n&&0!==r)?e.complete?c.resolve(e):new c(function(t,n){e.onload=function(){return t(e);},e.onerror=function(){return n(e);};}):c.reject(new Error(ae.errors.placeholder));},se=function(e){void 0===e&&(e={});var t=e.uuid,n=e.container,r=e.type,i=void 0===r?"inline":r,o=(e.aspect,ue(e,["uuid","container","type","aspect"]));if(t&&n){$.setLevel("placeholder")("creating placeholder image");var a=document.createElement("img"),u=o.width?o.width+"px":"100%",c="\n display: block;\n margin: 0 auto;\n max-height: "+(o.height?o.height+"px":"100%")+";\n max-width: "+u+";\n opacity: 0;\n ";return a.src="//"+U()+"/"+t+".jpg",a.className="vidyard-player-embed",a.setAttribute("style",c),a.setAttribute("data-uuid",t),a.setAttribute("data-type",i),Object.keys(o).forEac
12h(function(e){return a.setAttribute("data-"+e,o[e]);}),n.appendChild(a);}},le=function(e){var t=e.dataParams,n=e.player,r=$.setLevel(t.uuid);r("injecting inline embed");var i=function(){return n.placeholder.src!=="//"+U()+"/"+n.uuid+".jpg"?(e=n.uuid,t=document.createElement("img"),t.setAttribute("data-uuid",e),t.src="//"+U()+"/"+e+".jpg",ce(t)).then(h).catch(function(){return !1;}):c.resolve(!1);var e,t;},o={maxHeight:t.height?parseInt(t.height,10).toString():null,maxWidth:t.width?parseInt(t.width,10).toString():null,ratio:h(n.placeholder)};n.container.innerHTML=Z(t,o);var a=n.container.getElementsByTagName("iframe")[0];n.iframe=a;var u=new c(function(e){s("load","onload",e,a);}),l=new c(function(e){n.on("ready",e);});function d(){var e=n.container.clientWidth>=2*A;I(n.container,"playlist-open",e);}n.on("sidePlaylistOpen",function(){d();}),c.race([u,l]).then(function(){r("player or iFrame is ready"),i().then(function(e){e&&(a.parentElement.parentElement.style.paddingBottom=e+"%");});var e=n.container.getElementsByClassName("vidyard-inner-container-"+n.uuid)[0];n.placeholder.parentElement.removeChild(n.placeholder),I(n.placeholder,"inserted",!0),e.appendChild(n.placeholder),a.parentElement.parentElement.style.position="relative",a.style.opacity="1";}),u.then(function(){n.placeholder.style.display="none",a.parentElement.parentElement.style.backgroundColor="transparent";}),n.on("metadata",function e(t){var r=t[0];a.title=r.name,n.off("metadata",e);}),r("getStyle sent"),ee(n.uuid).then(function(e){r("getStyle received: "+JSON.stringify(e)),1===e.pl&&"0"!==t.playlist_always_open||"1"===t.playlist_always_open?(n.iframe.parentElement.setAttribute("data-pl","true"),s("resize","onresize",d),d()):n.iframe.parentElement.setAttribute("data-pl","false");}).catch(function(e){r("getStyle failed, likely a network error");});},de=function(e){void 0===e&&(e=document.body);for(var t=0,n=Array.from(e.children);t<n.length;t++){var r=n[t];r.hasAttribute("aria-hidden")&&r.setAttribute("data-vy-keep-hidden",r.getAttribute("aria-hidden")),r.setAttribute("aria-hidden","true");}},fe=function(e){void 0===e&&(e=document.body);for(var t=0,n=Array.from(e.children);t<n.length;t++){var r=n[t];r.getAttribute("data-vy-keep-hidden")?r.setAttribute("aria-hidden",r.getAttribute("data-vy-keep-hidden")):r.removeAttribute("aria-hidden"),r.removeAttribute("data-vy-keep-hidden");}},pe={ios:function(){return /ipad|iphone|ipod/i.test(navigator.userAgent);}},he=function(e){for(var t=Array(e.length),n=0;n<e.length;++n)t[n]=e[n];return t;},ve=function(e){return Array.isArray(e)?e:[e];},ye=function(){return document&&he(document.querySelectorAll("[data-no-focus-lock]")).some(function(e){return e.contains(document.activeElement);});},me="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e;}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e;}
12,ge=function(e){return ve(e).filter(Boolean).reduce(function(e,t){var n=t.getAttribute("data-focus-lock");return e.push.apply(e,n?function e(t){for(var n=t.length,r=0;r<n;r+=1)for(var i=function(n){if(r!==n&&t[r].contains(t[n]))return {v:e(t.filter(function(e){return e!==t[n];}))};},o=0;o<n;o+=1){var a=i(o);if("object"===(void 0===a?"undefined":me(a)))return a.v;}return t;}(he(function e(t){return t.parentNode?e(t.parentNode):t;}(t).querySelectorAll('[data-focus-lock="'+n+'"]:not([data-focus-lock-disabled="disabled"])'))):[t]),e;},[]);},be=function(e){return e===document.activeElement;},we=function(e){var t=document&&document.activeElement;return !(!t||t.dataset&&t.dataset.focusGuard)&&ge(e).reduce(function(e,n){return e||n.contains(t)||(r=he(n.querySelectorAll("iframe")),i=be,!!r.filter(function(e){return e===i;})[0]);var r,i;},!1);},xe=function(e,t){var n=e.tabIndex-t.tabIndex,r=e.index-t.index;if(n){if(!e.tabIndex)return 1;if(!t.tabIndex)return -1;}return n||r;},ke=function(e,t,n){return he(e).map(function(e,t){return {node:e,index:t,tabIndex:n&&-1===e.tabIndex?(e.dataset||{}).focusGuard?0:-1:e.tabIndex};}).filter(function(e){return !t||e.tabIndex>=0;}).sort(xe);},Ee=["button:enabled:not([readonly])","select:enabled:not([readonly])","textarea:enabled:not([readonly])","input:enabled:not([readonly])","a[href]","area[href]","iframe","object","embed","[tabindex]","[contenteditable]","[autofocus]"],_e=Ee.join(","),Ce=_e+", [data-focus-guard]",Oe=function(e,t){return e.reduce(function(e,n){return e.concat(he(n.querySelectorAll(t?Ce:_e)),n.parentNode?he(n.parentNode.querySelectorAll(Ee.join(","))).filter(function(e){return e===n;}):[]);},[]);},Ne=function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return n.push(t),t.parentNode&&e(t.parentNode,n),n;},Se=function(e,t){for(var n=Ne(e),r=Ne(t),i=0;i<n.length;i+=1){var o=n[i];if(r.indexOf(o)>=0)return o;}return !1;},Ie=function(e){return he(e).filter(function(e){return function e(t){return !t||t===document||t.nodeType===Node.DOCUMENT_NODE||!((n=window.getComputedStyle(t,null))&&n.getPropertyValue&&("none"===n.getPropertyValue("display")||"hidden"===n.getPropertyValue("visibility")))&&e(t.parentNode);var n;}(e);}).filter(function(e){return function(e){return !(("INPUT"===e.tagName||"BUTTON"===e.tagName)&&("hidden"===e.type||e.disabled));}(e);});},Le=function(e,t){return ke(Ie(Oe(e,t)),!0,t);},Te=function(e){return Ie((t=e.querySelectorAll("[data-autofocus-inside]"),he(t).map(function(e){return Oe([e]);}).reduce(function(e,t){return e.concat(t);},[])));var t;},je=function(e){return "INPUT"===e.tagName&&"radio"===e.type;},Ae=function(e,t){return t.filter(je).filter(function(t){return t.name===e.name;}).filter(function(e){return e.checked;})[0]||e;},Pe=function(e,t){return e.length>1&&je(e[t])&&e[t].name?e.indexOf(Ae(e[t],e)):t;},Ve=function(e){return e[0]&&e.length>1&&je(e[0])&&e[0].name?Ae(e[0],e):e[0];},Ue=function(e){return e&&e.dataset&&e.dataset.focusGuard;},Fe=function(e){return !Ue(e);},Re=function(e,t,n){var r=ve(e),i=ve(t),o=r[0],a=null;return i.filter(Boolean).forEach(function(e){a=Se(a||e,e)||a,n.filter(Boolean).forEach(function(e){var t=Se(o,e);t&&(a=!a||t.contains(a)?t:Se(t,a));});}),a;},Me=function(e,t){var n=document&&document.activeElement,r=ge(e).filter(Fe),i=Re(n||e,e,r),o=Le(r).filter(function(e){var t=e.node;return Fe(t);});if(o[0]||(o=(a=r,ke(Ie(Oe(a)),!1)).filter(function(e){var t=e.node;return Fe(t);}))[0]){var a,u,c,s,l,d=Le([i]).map(function(e){return e.node;}),f=(u=d,c=o,s=new Map(),c.forEach(function(e){return s.set(e.node,e);}),u.map(function(e){return s.get(e);}).filter(Boolean)),p=f.map(function(e){return e.node;}),h=function(e,t,n,r,i){var o=e.length,a=e[0],u=e[o-1],c=Ue(n);if(!(e.indexOf(n)>=0)){var s=t.indexOf(n),l=t.indexOf(r||s),d=e.indexOf(r),f=s-l,p=t.indexOf(a),h=t.indexOf(u),v=Pe(e,0),y=Pe(e,o-1);return -1===s||-1===d?e.indexOf(i&&i.length?Ve(i):Ve(e)):!f&&d>=0?d:s<=p&&c&&Math.abs(f)>1?y:s>=p&&c&&Math.abs(f)>1?v:f&&Math.abs(f)>1?d:s<=p?y:s>h?v:f?Math.abs(f)>1?d:(o+d+f)%o:void 0;}}(p,d,n,t,p.filter((l=function(e){return e.reduce(function(e,t){return e.concat(Te(t));},[]);}(r),function(e){return !!e.autofocus||e.dataset&&!!e.dataset.autofocus||l.indexOf(e)>=0;})));return void 0===h?h:f[h];}}
12,Be=0,qe=!1,De=function(e,t){var n,r=Me(e,t);if(!qe&&r){if(Be>2)return console.error("FocusLock: focus-fighting detected. Only one focus management system could be active. See https://github.com/theKashey/focus-lock/#focus-fighting"),qe=!0,void setTimeout(function(){qe=!1;},1);Be++,(n=r.node).focus(),n.contentWindow&&n.contentWindow.focus(),Be--;}},ze=0,He=null,We=function(){return document&&document.activeElement===document.body||ye();},Ge=function(e){ze=e,e&&function(){var e=!1;if(ze){var t=ze;We()||(t&&!we(t)&&(e=De(t,He)),He=document.activeElement);}}();},Je=[],$e=function(e){return !!Ge((t=Je,t.filter(function(e){return e;}).slice(-1)[0]))&&(e&&e.preventDefault(),!0);var t;},Qe={on:function(e){0===Je.length&&document.addEventListener("focusin",$e),Je.indexOf(e)<0&&(Je.push(e),$e());},off:function(e){Je=Je.filter(function(t){return t!==e;}),$e(),0===Je.length&&document.removeEventListener("focusin",$e);}},Ke=n(1),Xe=n.n(Ke);function Ze(e,t,n){if(e&&!document.getElementById("vidyard-overlay")){var r,i,o=(r=e,(i={}).backerElement=document.createElement("div"),i.backerElement.className="vidyard-lightbox-content-backer",i.containerElement=document.createElement("div"),i.containerElement.innerHTML=r,i.containingDiv=i.containerElement.getElementsByTagName("div")[0],i.containingDiv.style.position="absolute",i.containingDiv.style.height="100%",i.containingDiv.style.width="100%",i.containingDiv.style.zIndex="2",i.iframe=i.containerElement.getElementsByTagName("iframe")[0],i.iframe.parentNode.style.position="static",i.iframe.parentNode.style.paddingBottom=0,i.iframe.style.opacity="1",setTimeout(function(){i.backerElement.style.opacity="1",i.backerElement.style.filter="alpha(opacity=100)";},0),i),a=function(e){var t={};t.overlay=document.createElement("div"),t.contentFixed=document.createElement("div"),t.popbox=document.createElement("div"),t.overlayWrapper=document.createElement("div"),t.closeContainer=function(){var e={};return e.closeContainer=document.createElement("div"),e.closeButton=document.createElement("div"),e.closeContainer.className="vidyard-close-container",e.closeContainer.setAttribute("aria-label","Close Player"),e.closeContainer.setAttribute("role","button"),e.closeContainer.setAttribute("tabindex","0"),e.closeButton.className="vidyard-close-x",document.documentMode<9&&(e.closeButton.className+=" simple-close",e.closeButton.innerHTML="×"),e.closeContainer.appendChild(e.closeButton),e;}().closeContainer,t.overlay.id="vidyard-overlay",t.overlay.setAttribute("aria-hidden","true"),t.overlay.style.display="block",t.contentFixed.id="vidyard-content-fixed",t.contentFixed.setAttribute("aria-label","media player lightbox"),t.contentFixed.setAttribute("role","dialog"),t.contentFixed.style.display="block",t.popbox.id="vidyard-popbox",t.overlayWrapper.id="vidyard-overlay-wrapper",t.overlayWrapper.style.display="block",t.contentFixed.appendChild(t.popbox),t.overlayWrapper.appendChild(t.overlay),t.overlayWrapper.appendChild(t.closeContainer),t.overlayWrapper.appendChild(t.contentFixed),e&&(t.overlay.style.zIndex=e,t.contentFixed.style.zIndex=e+2,t.closeContainer.style.zIndex=e+1);return t;}(n),u=function(e){var t=p("vidyard-lightbox-image","img",e)[0].cloneNode();return t.className="",t.id="vidyard-popbox-constraint",t.alt="",t.setAttribute("aria-hidden","true"),t;}(t),c=document.createElement("div");return c.id="vidyard-focusable-element",c.tabIndex=0,a.popbox.appendChild(o.backerElement),a.popbox.appendChild(o.containingDiv),a.popbox.appendChild(u),pe.ios()&&de(),document.body.appendChild(a.overlayWrapper),document.body.appendChild(c),a.closeContainer.focus(),Qe.on(a.overlayWrapper),Xe.a.trap(a.overlayWrapper),setTimeout(function(){a.overlayWrapper.style.opacity="1",a.overlayWrapper.style.filter="alpha(opacity=100)";},0),{container:o,lightbox:a};}}var Ye={};function et(e){var t=p("vidyard-lightbox-centering","div",e.container)[0];e.player.showLightbox=function(){$.setLevel(e.player.uuid)("show lightbox"),function(e){X=document.activeElement;var t=Ze(e.iframe,e.container,e.overlayZindex);e.player.iframe=t.container.iframe,e.player.on("metadata",function t(n){var r=n[0];e.player.iframe.title=r.name,e.player.off("metadata",t);});var n=e.player.uuid,r=t.container.iframe,i=function(e,t,n){return g(function(){!function(e){e.style.opacity="1";}
12(e),tt(),Ye.parentEsc=s("keydown","onkeydown",w(function(){return nt(n);}),document);});}(r,0,e.player),o=function(e,t){return g(function(){var n={uuid:t,event:"listenForKeyPress",keyCode:"27"};q(n,"https://"+U(),e);});}(r,n);Ye.iframeLoaded=s("load","onload",i,t.container.iframe),Ye.messageHandler=s("message","onmessage",D(function(t){var n,r;i(),o(),n=t,r=e.player,"keyPressed"===n.event&&27===n.params&&nt(r);}),window),Ye.overlayClick=s("click","onclick",function(){return nt(e.player);},t.lightbox.overlayWrapper),Ye.fixedClick=s("click","onclick",function(){return nt(e.player);},t.lightbox.contentFixed),Ye.closeKeyPress=s("keydown","onkeydown",b(function(){return nt(e.player);}),t.lightbox.closeContainer),Ye.responsivePlayerSize=s("resize","onresize",tt,window);}({container:e.container,iframe:e.iframe,overlayZindex:e.overlayZindex,player:e.player});},e.player.hideLightbox=function(){return nt(e.player);},s("click","onclick",e.player.showLightbox,t),s("keydown","onkeydown",b(function(t){t.preventDefault(),e.player.showLightbox(t);}),t);}function tt(){var e=document.getElementById("vidyard-popbox-constraint"),t=parseFloat((window.innerHeight/window.innerWidth*100).toFixed(2))<parseFloat(h(e))?"landscape":"portrait";e.className!==t&&(e.className=t);}function nt(e){var t,n,r,i,o,a;n=document.getElementById("vidyard-content-fixed"),r=document.getElementById("vidyard-focusable-element"),i=document.getElementById("vidyard-overlay"),o=document.getElementById("vidyard-overlay-wrapper"),a=document.getElementById("vidyard-popbox"),n&&i&&o&&a&&(t&&Object.keys(t).forEach(function(e){(0,t[e])();}),r&&r.parentNode.removeChild(r),Qe.off(o),Xe.a.untrap(o),o.style.opacity="0",o.style.filter="alpha(opacity=0)",pe.ios()&&fe(),setTimeout(function(){o.parentNode.removeChild(o);},1e3*j)),X&&X.focus(),Object.keys(Ye).forEach(function(e){var t=Ye[e],n=t.eventName,r=t.handler,i=t.element;l(n,r,i);}),e&&e.trigger("lightboxClose");}var rt=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e;};function it(e){if(!e||"string"!=typeof e||e.length<20)throw new Error("Invalid UUID given");var t=$.setLevel(e),n="https://"+U()+"/player/"+e+".json?pomo=0";return t("fetching metadata"),C({endpoint:n}).then(JSON.parse).then(function(n){return t("metadata successfully fetched"),rt({uuid:e},n.payload.vyContext.metadata);}).catch(function(e){throw t("failed to fetch metadata, "+e),new Error("Error parsing player metadata, make sure the UUID is correct");});}var ot=function(e){var t=e.dataParams,n=e.player,r=$.setLevel(t.uuid);r("injecting lighbox embed"),n.placeholder.style.display="none",t.autoplay=1;var i,o,a,u,c={ratio:h(n.placeholder)},s=Z(t,c),l={maxHeight:t.height?parseInt(t.height,10):null,maxWidth:t.width?parseInt(t.width,10):null,ratio:h(n.placeholder)};i=n.container,o=t,a=l,u=function(e,t,n){return '<div class="vidyard-lightbox-thumbnail vidyard-lightbox-'+t.uuid+'"'+(n.maxWidth?' style="max-width: '+n.maxWidth+'px;"':"")+'><div class="vidyard-lightbox-centering" style="padding-bottom: '+n.ratio+'%;"><img class="vidyard-lightbox-image" src="'+e+'" alt="video thumbnail" /><div type="button" role="button" class="play-button" title="Play video" data-version="1" tabindex="0"><div class="play-button-size"></div><div class="arrow-size"><div class="arrow-size-ratio"></div><div class="arrow"></div></div></div></div></div>';}("https://"+U()+"/"+o.uuid+".jpg",o,a),i.insertAdjacentHTML("afterbegin",u),it(o.uuid).then(function(e){var t=p("play-button","button",i);1===t.length&&t[0].setAttribute("aria-label","Play video "+e.name+". Opens in a modal");},function(){}),et({container:n.container,iframe:s,overlayZindex:t.overlayZindex,player:n}),r("getStyle sent"),ee(n.uuid).then(function(e){r("getStyle received: "+JSON.stringify(e)),function(e,t){if(1===e.pb){var n=p("play-button","button",t);1===n.length&&(n[0].style.display="block",n[0].style.backgroundColor="#"+e.pbc);}}(e,n.container);}).catch(function(e){r("getStyle failed, likely a network error");});},at=/(vidyard|vystaging|hubspot)\.com$/,ut=function(e,t,n){if(void 0===n&&(n=!1),n||t.hasBacklink&&!at.test(document.location.host)){var r=document.createElement("a"),i=document.createElement("span"),o=document.createElement("img");o.src="https://cdn.vidyard.com/client-logos/vidyard.png",o.id="backlink-icon",o.alt="Vidyard Logo",i.id="backlink-text",i.textContent="Powered by Vidyard",r.id="backlink",r.appendChild(o),r.appendChild(i),r.href=t.backlinkURL,r.rel="nofollow",r.target="_blank",r.setAttribute("aria-label","Link to Vidyard"),r.dataset.testid="backlink",s("click","onclick",function(){var t={data:{event:"Acquisition - Clicked the Backlink"},event:"sendMetricsEvent",uuid:e.uuid};q(t,"https://"+U(),e.iframe);},r),e.container.appendChild(r);}};var ct=function(e,t){var n=document.createElement("div");n.className="vidyard-player-container",n.setAttribute("uuid",e);var r=n.style;return r.margin="auto",r.width="100%",r.height="auto",r.overflow="hidden",r.display="block","inline"===t.type&&(r.maxWidth=t.width?t.width+"px":"",r.maxHeight=t.height?t.height+"px":""),n;},st=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e;},lt=function(){function e(e,t,n){var r=this;this._ready=!1,this._previousTime=null,this._onMessageEventHandler=function(e){if(e.origin==="https://"+U()){var t;try{t=JSON.parse(e.data);}catch(e){return;}if((!r.uuid||t.uuid===r.uuid)&&"string"==typeof t.event){r._updateStatus(t),"ready"===t.event&&(r._ready=!0,window.VidyardV4.integrations.updatePlayer(r));var n=r._callbackStore[t.event];if(n)for(var i=0,o=n;i<o.length;i++)o[i].call(r,t.params,r);}}},this._callbackStore=n||{beforeSeek:[],chapterComplete:[],createCta:[],fullScreenChange:[],lightboxClose:[],metadata:[],pause:[],play:[],playerComplete:[],ready:[],seek:[],sidePlaylistOpen:[],status:[],timeupdate:[],volumeChange:[]},this.element=e,this.uuid=t,this.status=null,this.metadata=null,this.progressEventsUnsubscribe=[],s("message","onmessage",this._onMessageEventHandler);}return e.prototype.on=function(e,t){var n=this;if("ready"!==e||!this.ready())return void 0===this._callbackStore[e]?(this._callbackStore[e]=[t],void v("The event name: "+e+" is not supported, your handler was setup regardless","warn")):void this._callbackStore[e].push(t);setTimeout(function(){return t.call(n,void 0,n);},0);},e.prototype.trigger=function(e){for(var t=this,n=[],r=1;r<arguments.length;r++)n[r-1]=arguments[r];for(var i=function(r){"ready"===e&&o.ready()?setTimeout(function(){return r.call(t,n,t);},0):r.call(o,n,o);},o=this,a=0,u=this._callbackStore[e];a<u.length;a++)i(u[a]);},e.prototype.off=function(e,t){if(void 0!==e){if(this._callbackStore[e])if(t){var n=f(t,this._callbackStore[e]);n>-1&&this._callbackStore[e].splice(n,1);}else this._callbackStore[e]=[];}else for(var r in this._callbackStore)this._callbackStore.hasOwnProperty(r)&&(this._callbackStore[r]=[]);},e.prototype.ready=function(){return this._ready;},e.prototype.play=function(){this._message({event:"play"});},e.prototype.pause=function(){this._message({event:"pause"});},e.prototype.resume=function(){this._message({event:"resume"});},e.prototype.seek=function(e){this._message({event:"seek",position:e});},e.prototype.setVolume=function(e){this._message({event:"setVolume",newVolume:e});},e.prototype.setPlaybackSpeed=function(e){this._message({event:"setPlaybackSpeed",speed:e});}
12,e.prototype.playChapter=function(e){this._message({chapter_index:e,event:"playChapter"});},e.prototype.setAudioTrack=function(e){this._message({audioTrackId:e,event:"setAudioTrack"});},e.prototype.enableCaption=function(e,t){this._message({event:"enableCaption",label:e,language:t});},e.prototype.disableCaption=function(e,t){this._message({event:"disableCaption",label:e,language:t});},e.prototype.consentToGDPR=function(e){this._message({consent:e,event:"consentToGDPR"});},e.prototype.createCta=function(e){this._message({attributes:function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);return e;}({display_once:!1,duration:10,fullscreen:!1,html:"",opacity:1,start:0,width:300},e),event:"createCta"});},e.prototype.updateCta=function(e,t){this._message({attributes:t,event:"updateCta",id:e});},e.prototype.addEvent=function(e){var t=e.start,n=void 0===t?0:t,r=e.duration,i=void 0===r?1:r,o=e.chapterIndex,a=void 0===o?0:o,u=e.eventId;u?this._message({chapterIndex:a,duration:i,event:"addEvent",id:u,start:n}):v("Missing arguments. Need eventId");},e.prototype.getCurrentChapter=function(){return null===this.status?null:this.status.chapterIndex;},e.prototype.currentTime=function(){return null===this.status?null:this.status.currentTime;},e.prototype.scrubbing=function(){return null===this.status?null:this.status.scrubbing;},e.prototype.toggleFullscreen=function(){var e=this,t=function(){for(var e=[["requestFullscreen","exitFullscreen","fullscreenElement","fullscreenchange"],["webkitRequestFullscreen","webkitExitFullscreen","webkitFullscreenElement","webkitfullscreenchange"],["mozRequestFullScreen","mozCancelFullScreen","mozFullScreenElement","mozfullscreenchange"],["msRequestFullscreen","msExitFullscreen","msFullscreenElement","MSFullscreenChange"]],t=[],n={},r=0,i=e;r<i.length;r++){var o=i[r];if(o[1] in document){t=o;break;}}if(t&&t.length){for(var a=0;a<t.length;a++)n[e[0][a]]=t[a];return n;}return null;}();if(t){var n=this.iframe[t.requestFullscreen]();n?n.then(function(){e._message({event:"toggleFullscreen"});}):this._message({event:"toggleFullscreen"}),s(t.fullscreenchange,"MSFullscreenChange",function(){document[t.fullscreenElement]||e._message({event:"exitFullscreen"});}),s("message","onmessage",D(function(e){"fullScreenChange"===e.event&&!1===e.params&&document[t.fullscreenElement]&&document[t.exitFullscreen]();}));}else this._message({event:"toggleFullscreen"});},e.prototype.resetPlayer=function(){this._message({event:"resetPlayer"});},e.prototype._message=function(e){!0===this.ready()?q(st({},e,{uuid:this.uuid}),"https://"+U(),this.iframe):v("Player is not ready yet! No messages can be recieved.","error");},e.prototype._updateStatus=function(e){if("object"==typeof e.status&&(this.status=e.status),"object"==typeof e.metadata&&(this.metadata=e.metadata,this.trigger("metadata",e.metadata)),this.status){if(this.status.currentTime!==this._previousTime&&this._callbackStore.timeupdate)for(var t=0,n=this._callbackStore.timeupdate;t<n.length;t++)n[t].call(this,this.status.currentTime,this);this._previousTime=this.status.currentTime;}},e;}(),dt=function(e){var t=window.VidyardV4,n=(t.integrations,t.api,t.players),r=(t.playerReadyListeners,new R(e)),i=r.uuid,o=$.setLevel(i);if(o("rendering"),void 0!==i){if("true"===r.rendered)return o("Already rendered"),y(n,function(t){return t.placeholder===e;});var a=ct(i,r),u=new lt(a,i);return e.setAttribute("data-rendered","true"),e.parentNode.insertBefore(a,e),u.placeholder=e,u.container=a,n.push(u),function(e){var t=window.VidyardV4.playerReadyListeners,n=e.uuid,r=$.setLevel(e.uuid);t[n]=t[n]||[];var i=t[n].concat(t[void 0]);
12Object.keys(i).forEach(function(t){var n=i[t];e.on("ready",n),r("attaching ready callbacks");});}(u),"inline"===r.type?le({dataParams:r,player:u}):"lightbox"===r.type&&ot({dataParams:r,player:u}),function(e){var t=window.VidyardV4.integrations,n=$.setLevel(e.uuid),r=t.getCookie("marketo");r&&(n("getMarketoLead sent"),re(e.uuid,r).then(_).then(function(r){n("getMarketoLead received: "+r),e.on("ready",function(){t.addKnownVisitor("marketo",r,e.org);});}).catch(function(){$.warn("Invalid Marketo cookie");})),n("getIntegrations"),te(e.uuid).then(function(r){n("getIntegrations received: "+JSON.stringify(r)),e.on("ready",function(){e._tmpOrg=r,t.updatePlayer(e);});}).catch(function(e){n("getIntegrations failed, likely a network error");});}(u),function(e){var t=$.setLevel(e);return t("getSEO sent"),ne(e).then(function(e){if(t("getSEO: "+JSON.stringify(e)),!d(e)){var n=Y(e);document.getElementsByTagName("head")[0].appendChild(n);}return e;}).catch(function(e){t("getSEO failed, likely a network error");});}(u.uuid).then(function(e){"inline"===r.type&&ut(u,e,r.backlink&&1===r.backlink);}),window.Vidyard._players[u.uuid]=u,u;}v('Embed without a UUID detected, it is impossible to insert a player without a UUID. Add "data-uuid=some_uuid" to the offending element.'+e);};var ft=function(e){return window.VidyardV4.players.filter(function(t){return t.uuid===e;});},pt=function(e){e.sort(function(e,t){return e<t?-1:e>t?1:0;});for(var t=0;t<e.length;)e[t]===e[t+1]?e.splice(t+1,1):t+=1;return e;};function ht(){this._compare=function(e,t){return e[0]<t[0]?-1:e[0]>t[0]?1:e[1]<t[1]?-1:e[1]>t[1]?1:0;};}function vt(e,t,n){var r=[],i=!1,o=e.getCurrentChapter();function a(){var t=e.getCurrentChapter();return r[t]={interval:[0,0],intervals:ht.create(),thresholds:n.slice()},r[t];}var u=function(n){var u=e.getCurrentChapter();o===u?function(t,n){var o,u,c,s=0,l=e.getCurrentChapter();if(void 0===r[l]&&a(),!(i||"object"!=typeof e.metadata||t<=r[l].interval[1])){if(r[l].interval[1]=t,u=r[l].intervals.insertOne(r[l].interval),(o=function(e){var t,n=null,r=[];for(t=0;t<e.length;++t)!n||n[1]<e[t][0]?(n&&r.push(n),n=[e[t][0],e[t][1]]):e[t][1]>n[1]&&(n[1]=e[t][1]);return n&&r.push(n),r;}(r[l].intervals)).length+1<r[l].intervals.length)for(r[l].intervals=ht.create(),c=0;c<o.length;++c)s+=o[c][1]-o[c][0],r[l].intervals.insertOne(o[c]);else{for(c=0;c<o.length;++c)s+=o[c][1]-o[c][0];r[l].intervals.remove(u);}s="number"==typeof e.metadata.chapters_attributes[l].video_attributes.length_in_milliseconds?s/e.metadata.chapters_attributes[l].video_attributes.length_in_milliseconds*1e5:s/e.metadata.chapters_attributes[l].video_attributes.length_in_seconds*100,Math.round(s)>=r[l].thresholds[0]&&n({chapter:l,event:r[l].thresholds.shift(),player:e});}}(n,t):o=u;},c=function(t){var n=e.getCurrentChapter();void 0!==r[n]&&(!1===i&&(r[n].interval[1]=t.start),i=!0);},s=function(t){var n=t,o=e.getCurrentChapter();void 0===r[o]&&a(),r[o].intervals.insertOne(r[o].interval.slice(0)),r[o].interval[0]=n,r[o].interval[1]=n,i=!1;},l=function(e){r[e].interval=[0,0],i=!1;};return e.on("timeupdate",u),e.on("beforeSeek",c),e.on("play",s),e.on("chapterComplete",l),{player:e,removeEventListeners:function(){e.off("beforeSeek",c),e.off("chapterComplete",l),e.off("play",s),e.off("timeupdate",u),e=null,r=[];}};}function yt(e,t,n){var r;void 0===t&&(t=[1,25,50,75,90]);var i=[],o=n?((r={})[n.uuid]=n,r):function(){try{return window.Vidyard.players();}catch(e){return v(function(){return console.error("The Vidyard Player API must be loaded before this script can execute");}),{};}}(),a=pt(t),u=function(t){if(o.hasOwnProperty(t)&&t.length>0&&""!==o[t]){var n=vt(o[t],e,a);i.push(n);}else v(function(){return console.error("Could not attach Progress Events to player "+t+", make sure to load the Vidyard Player API");});};for(var c in o)u(c);return 0===i.length&&v(function(){return console.warn("No Vidyard Players found. (include this script below player embed codes)");}),i;}ht.create=function(){return new ht();},ht.prototype=new Array(),ht.prototype.constructor=Array.prototype.constructor,ht.prototype.insertOne=function(e){var t=this.bsearch(e);return this.splice(t+1,0,e),t+1;},ht.prototype.remove=function(e){return this.splice(e,1),this;},ht.prototype.bsearch=function(e){if(!this.length)return -1;for(var t,n,r,i=0,o=this.length;o-i>1;){if(n=this[t=Math.floor((i+o)/2)],0===(r=this._compare(e,n)))return t;r>0?i=t:o=t;}return 0===i&&this._compare(this[0],e)>0?-1:i;};var mt=function(e){$.setLevel("placeholder")("rendering player from placeholder image");var t=dt(e);return new c(function(e){t.showLightbox?e(t):t.on("ready",function(){return e(t);});});};var gt={_debug:K,api:{GDPR:{consent:function(e){if(void 0!==e)for(var t=function(t){t.on("ready",function(){t.consentToGDPR(e);});},n=0,r=window.VidyardV4.players;n<r.length;n++)t(r[n]);},hasConsentOnReady:function(e){var t=0,n=window.VidyardV4.api.GDPR,r=window.VidyardV4.players;if(0===r.length)return e(!1);if(void 0!==n._readyConsent)return e(n._readyConsent);for(var i=0,o=r;i<o.length;i++)o[i].on("ready",function(){if(t!==r.length&&(t+=1),t===r.length)return n._readyConsent=r.reduce(function(e,t){return t.status.consent&&e;},!0),e(n._readyConsent);});}},addReadyListener:function(e,t){var n=window.VidyardV4.playerReadyListeners;n[t]=n[t]||[],n[t].push(e);for(var r=0,i=window.VidyardV4.players;r<i.length;r++){var o=i[r];void 0!==t&&o.uuid!==t||o.on("ready",e);}},destroyPlayer:function(e){var t=window.VidyardV4.players;m(t,e)?(function(e){e.progressEventsUnsubscribe.forEach(function(e){return e();}),e.progressEventsUnsubscribe=[];}(e),e.off(),e.container.parentNode.removeChild(e.container),e.placeholder.parentNode.removeChild(e.placeholder),t.splice(f(e,t))):v("Cannot destroy an unknown player","warn");},getPlayerMetadata:it,getPlayersByUUID:ft,progressEvents:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=yt.apply(void 0,e);
12Object.keys(n).forEach(function(e){var t=n[e],r=t.player,i=t.removeEventListeners;r.progressEventsUnsubscribe&&r.progressEventsUnsubscribe.push(i);});},renderDOMPlayers:function(e){void 0===e&&(e=document);var t=p("vidyard-player-embed","img",e);M(t),E(t).forEach(dt),G();},renderPlayer:function(e){var t=e instanceof HTMLImageElement?e:se(e);return ce(t).then(mt).catch(function(e){return v(ae.errors.placeholder,"warn");});}},integrations:new function(){var e=this,t=!1,n={};this.updatePlayer=function(e){if(e._tmpOrg&&e.iframe){var t=e._tmpOrg.orgId;n[t]||(n[t]={foundIntegrations:{},id:t,integrations:e._tmpOrg,players:[]}),e.org=n[t];for(var r=0,i=n[t].players;r<i.length;r++)if(i[r].iframe===e.iframe)return;n[t].players.push(e);var o=e.org.integrations,a=o.eloqua,u=o.eloquaFirstPartyDomain;a&&(null!==e.status&&e.status.consent?m(a,u):e.on("status",function t(){e.status.consent&&(m(a,u),e.off("status",t));})),p();}},this.safelyCommunicateIntegration=function(e,t,n){void 0!==e.org&&void 0!==n&&null!==n&&!r(e,t)&&u(e,t,n)&&(e.org=o(e.org,t,e.uuid));},this.addKnownVisitor=function(e,t,n){if(n)for(var r=0,i=n.players;r<i.length;r++){var o=i[r];d(o,e,t);}},this.getCookie=function(e,t){var n=document.cookie.split(";");if("eloqua"===e&&"function"==typeof window.GetElqCustomerGUID)return window.GetElqCustomerGUID();for(var r=h(z[H.indexOf(e)],t),i=0,o=n;i<o.length;i++){var a=o[i],u=a.indexOf("="),c=a.substr(0,u).replace(/^\s+|\s+$/g,""),s=a.substr(u+1);if(c===r)return decodeURIComponent(s);}};var r=function(e,t){return e.org&&e.org.foundIntegrations&&e.org.foundIntegrations[t]&&e.org.foundIntegrations[t].sentPlayers&&-1!==f(e.uuid,e.org.foundIntegrations[t].sentPlayers);},i=function(e,t){return e.foundIntegrations[t]||(e.foundIntegrations[t]={externalIdentifier:null,sentPlayers:[]}),e;},o=function(e,t,n){return (e=i(e,t)).foundIntegrations[t].sentPlayers.push(n),e;},a=function(e,t,n){return (e=i(e,t)).foundIntegrations[t].externalIdentifier=n,e;},u=function(e,t,n){if(!e.ready())return !1;var r={data:{type:t,value:n},event:"associateVisitor",uuid:e.uuid};return v("IntegrationsWatcher.communicateIntegration "+r,"debug"),q(r,"https://"+U(),e.iframe),!0;},c=function(t,n,r){if(void 0!==t&&void 0!==r&&null!==r)for(var i=0,o=t;i<o.length;i++){var a=o[i];e.safelyCommunicateIntegration(a,n,r);}},l=function(e,t,n){var r={data:{type:t,value:n},event:"identifyVisitor",uuid:e.uuid};q(r,"https://"+U(),e.iframe);},d=function(e,t,n){e.ready()?l(e,t,n):e.on("ready",function(){l(e,t,n);});},p=function(){for(var t=0,r=H;t<r.length;t++){var i=r[t];for(var o in n)if(n.hasOwnProperty(o)){var u=n[o];if(!u.integrations[i])continue;var s=e.getCookie(i,u);if(!s)continue;if(!(s=y(i,s,u)))continue;u=a(u,i,s),c(u.players,i,s);}}},h=function(e,t){return "pardot"===e&&t&&t.integrations.pardot?"visitor_id"+t.integrations.pardot:e;},y=function(e,t,n){if("marketo"===e){if(!n.integrations.marketo||-1===t.toLowerCase().indexOf(n.integrations.marketo.toLowerCase()))return null;t=encodeURIComponent(t);}return t;},m=function(e,n){if(!t){t=!0;var r=function(){if(!document.getElementById("vidyard-eloqua-include")){window._elqQ=window._elqQ||[],window._elqQ.push(["elqSetSiteId",e]),n&&window._elqQ.push(["elqUseFirstPartyCookie",n]),window._elqQ.push(["elqTrackPageView"]),window._elqQ.push(["elqGetCustomerGUID"]);var t=document.createElement("script");t.id="vidyard-eloqua-include",t.type="text/javascript",t.async=!0,t.src="https://img.en25.com/i/elqCfg.min.js";var r=document.getElementsByTagName("script")[0];r.parentNode.insertBefore(t,r);}};"complete"===document.readyState?r():s("DOMContentLoaded","onload",r);}};setInterval(function(){p();},1e3);}(),jsonp:{},playerReadyListeners:{undefined:[]},players:[],preloadLinks:[]},bt={_players:{},players:function(){return window.VidyardV4.players.reduce(function(e,t){return e[t.uuid]=t,e;},{});}},wt=(n(12),n(2));var xt=function(e){return void 0===e&&(e=""),e.match(T);},kt=function(e){var t=e.error,n=e.filename,r=e.message,i=e.timeStamp,o=e.type;if(xt(n)){var a=function(e){var t=e.error,n=e.location,r=e.message,i=e.navigator,o=e.timeStamp,a=e.type,u=e.vyGlobal;return {data:{body:{trace:{exception:{class:t.name,message:r},frames:wt.parse(t).map(function(e){return {code:e.source,colno:e.columnNumber,filename:e.fileName,lineno:e.lineNumber,method:e.functionName};})}},client:{cpu:i.platform,javascript:{browser:i.userAgent,guess_uncaught_frames:!0,source_map_enabled:!0}}
12,code_version:L,custom:{jsonpRequests:Object.keys(u.jsonp),playbackUrlOverride:window.VIDYARD_PLAYBACK_URL,players:u.players.map(function(e){return {iframe:e.iframe?{src:e.iframe.src}:{},metadata:e.metadata,org:e.org?{id:e.org.id,foundIntegrations:e.org.foundIntegrations}:{},uuid:e.uuid};}),preloadLinks:u.preloadLinks},environment:U(),fingerprint:t.name,language:"javascript",level:a,platform:"browser",request:{query_string:n.search,url:n.href},timestamp:o}};}({error:t,location:window.location,message:r,navigator:window.navigator,timeStamp:i,type:o,vyGlobal:window.VidyardV4});C({endpoint:"https://"+U()+"/v4/error",method:"POST",payload:a}).then(function(e){return v("Error logged "+e);},function(e){return v("Error log failed "+e);});}};n.d(t,"_debug",function(){return Et;}),n.d(t,"api",function(){return _t;}),n.d(t,"players",function(){return Ct;}),s("error","onerror",kt,window),s("unhandledrejection","",function(e){var t=e.reason,n=e.timeStamp,r=e.type;e.reason instanceof Error&&xt(t.stack)&&(e.preventDefault(),kt({error:t,filename:t.stack,message:t.message,timeStamp:n,type:r}));});var Et=gt._debug,_t=gt.api,Ct=gt.players;switch(window.VidyardV4=window.VidyardV4||gt,window.Vidyard=window.Vidyard||bt,document.readyState){case "complete":_t.renderDOMPlayers();break;case "interactive":M(),s("load","onload",function(){return _t.renderDOMPlayers();},window);break;default:s("load","onload",function(){return _t.renderDOMPlayers();},window);}t.default=gt;},function(e,t,n){var r,i,o;!function(n,a){"use strict";i=[],void 0===(o="function"==typeof (r=function(){function e(e){return !isNaN(parseFloat(e))&&isFinite(e);}function t(e){return e.charAt(0).toUpperCase()+e.substring(1);}function n(e){return function(){return this[e];};}var r=["isConstructor","isEval","isNative","isToplevel"],i=["columnNumber","lineNumber"],o=["fileName","functionName","source"],a=r.concat(i,o,["args"]);function u(e){if(e instanceof Object)for(var n=0;n<a.length;n++)e.hasOwnProperty(a[n])&&void 0!==e[a[n]]&&this["set"+t(a[n])](e[a[n]]);}u.prototype={getArgs:function(){return this.args;},setArgs:function(e){if("[object Array]"!==Object.prototype.toString.call(e))throw new TypeError("Args must be an Array");this.args=e;},getEvalOrigin:function(){return this.evalOrigin;},setEvalOrigin:function(e){if(e instanceof u)this.evalOrigin=e;else{if(!(e instanceof Object))throw new TypeError("Eval Origin must be an Object or StackFrame");this.evalOrigin=new u(e);}},toString:function(){var t=this.getFunctionName()||"{anonymous}",n="("+(this.getArgs()||[]).join(",")+")",r=this.getFileName()?"@"+this.getFileName():"",i=e(this.getLineNumber())?":"+this.getLineNumber():"",o=e(this.getColumnNumber())?":"+this.getColumnNumber():"";return t+n+r+i+o;}};for(var c=0;c<r.length;c++)u.prototype["get"+t(r[c])]=n(r[c]),u.prototype["set"+t(r[c])]=function(e){return function(t){this[e]=Boolean(t);};}(r[c]);for(var s=0;s<i.length;s++)u.prototype["get"+t(i[s])]=n(i[s]),u.prototype["set"+t(i[s])]=function(t){return function(n){if(!e(n))throw new TypeError(t+" must be a Number");this[t]=Number(n);};}(i[s]);for(var l=0;l<o.length;l++)u.prototype["get"+t(o[l])]=n(o[l]),u.prototype["set"+t(o[l])]=function(e){return function(t){this[e]=String(t);};}(o[l]);return u;})?r.apply(t,i):r)||(e.exports=o);}();},function(e,t){e.exports=function(e){var t="undefined"!=typeof window&&window.location;if(!t)throw new Error("fixUrls requires window.location");if(!e||"string"!=typeof e)return e;var n=t.protocol+"//"+t.host,r=n+t.pathname.replace(/\/[^\/]*$/,"/");return e.replace(/url\s*\(((?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)\)/gi,function(e,t){var i,o=t.trim().replace(/^"(.*)"$/,function(e,t){return t;}).replace(/^'(.*)'$/,function(e,t){return t;});return /^(#|data:|http:\/\/|https:\/\/|file:\/\/\/|\s*$)/i.test(o)?e:(i=0===o.indexOf("//")?o:0===o.indexOf("/")?n+o:r+o.replace(/^\.\//,""),"url("+JSON.stringify(i)+")");});};},function(e,t,n){var r,i,o={},a=(r=function(){return window&&document&&document.all&&!window.atob;},function(){return void 0===i&&(i=r.apply(this,arguments)),i;}),u=function(e){var t={};return function(e){if("function"==typeof e)return e();if(void 0===t[e]){var n=function(e){return document.querySelector(e);}.call(this,e);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head;}catch(e){n=null;}t[e]=n;}return t[e];};}
12(),c=null,s=0,l=[],d=n(8);function f(e,t){for(var n=0;n<e.length;n++){var r=e[n],i=o[r.id];if(i){i.refs++;for(var a=0;a<i.parts.length;a++)i.parts[a](r.parts[a]);for(;a<r.parts.length;a++)i.parts.push(g(r.parts[a],t));}else{var u=[];for(a=0;a<r.parts.length;a++)u.push(g(r.parts[a],t));o[r.id]={id:r.id,refs:1,parts:u};}}}function p(e,t){for(var n=[],r={},i=0;i<e.length;i++){var o=e[i],a=t.base?o[0]+t.base:o[0],u={css:o[1],media:o[2],sourceMap:o[3]};r[a]?r[a].parts.push(u):n.push(r[a]={id:a,parts:[u]});}return n;}function h(e,t){var n=u(e.insertInto);if(!n)throw new Error("Couldn't find a style target. This probably means that the value for the 'insertInto' parameter is invalid.");var r=l[l.length-1];if("top"===e.insertAt)r?r.nextSibling?n.insertBefore(t,r.nextSibling):n.appendChild(t):n.insertBefore(t,n.firstChild),l.push(t);else if("bottom"===e.insertAt)n.appendChild(t);else{if("object"!=typeof e.insertAt||!e.insertAt.before)throw new Error("[Style Loader]\n\n Invalid value for parameter 'insertAt' ('options.insertAt') found.\n Must be 'top', 'bottom', or Object.\n (https://github.com/webpack-contrib/style-loader#insertat)\n");var i=u(e.insertInto+" "+e.insertAt.before);n.insertBefore(t,i);}}function v(e){if(null===e.parentNode)return !1;e.parentNode.removeChild(e);var t=l.indexOf(e);t>=0&&l.splice(t,1);}function y(e){var t=document.createElement("style");return void 0===e.attrs.type&&(e.attrs.type="text/css"),m(t,e.attrs),h(e,t),t;}function m(e,t){Object.keys(t).forEach(function(n){e.setAttribute(n,t[n]);});}function g(e,t){var n,r,i,o;if(t.transform&&e.css){if(!(o=t.transform(e.css)))return function(){};e.css=o;}if(t.singleton){var a=s++;n=c||(c=y(t)),r=x.bind(null,n,a,!1),i=x.bind(null,n,a,!0);}else e.sourceMap&&"function"==typeof URL&&"function"==typeof URL.createObjectURL&&"function"==typeof URL.revokeObjectURL&&"function"==typeof Blob&&"function"==typeof btoa?(n=function(e){var t=document.createElement("link");return void 0===e.attrs.type&&(e.attrs.type="text/css"),e.attrs.rel="stylesheet",m(t,e.attrs),h(e,t),t;}(t),r=function(e,t,n){var r=n.css,i=n.sourceMap,o=void 0===t.convertToAbsoluteUrls&&i;(t.convertToAbsoluteUrls||o)&&(r=d(r));i&&(r+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(i))))+" */");var a=new Blob([r],{type:"text/css"}),u=e.href;e.href=URL.createObjectURL(a),u&&URL.revokeObjectURL(u);}.bind(null,n,t),i=function(){v(n),n.href&&URL.revokeObjectURL(n.href);}):(n=y(t),r=function(e,t){var n=t.css,r=t.media;r&&e.setAttribute("media",r);if(e.styleSheet)e.styleSheet.cssText=n;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(n));}}.bind(null,n),i=function(){v(n);});return r(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;r(e=t);}else i();};}e.exports=function(e,t){if("undefined"!=typeof DEBUG&&DEBUG&&"object"!=typeof document)throw new Error("The style-loader cannot be used in a non-browser environment");(t=t||{}).attrs="object"==typeof t.attrs?t.attrs:{},t.singleton||"boolean"==typeof t.singleton||(t.singleton=a()),t.insertInto||(t.insertInto="head"),t.insertAt||(t.insertAt="bottom");var n=p(e,t);return f(n,t),function(e){for(var r=[],i=0;i<n.length;i++){var a=n[i];(u=o[a.id]).refs--,r.push(u);}e&&f(p(e,t),t);for(i=0;i<r.length;i++){var u;if(0===(u=r[i]).refs){for(var c=0;c<u.parts.length;c++)u.parts[c]();delete o[u.id];}}};};var b,w=(b=[],function(e,t){return b[e]=t,b.filter(Boolean).join("\n");});function x(e,t,n,r){var i=n?"":r.css;if(e.styleSheet)e.styleSheet.cssText=w(t,i);else{var o=document.createTextNode(i),a=e.childNodes;a[t]&&e.removeChild(a[t]),a.length?e.insertBefore(o,a[t]):e.appendChild(o);}}},function(e,t){e.exports=function(e){var t=[];return t.toString=function(){return this.map(function(t){var n=function(e,t){var n=e[1]||"",r=e[3];if(!r)return n;if(t&&"function"==typeof btoa){var i=(a=r,"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(a))))+" */"),o=r.sources.map(function(e){return "/*# sourceURL="+r.sourceRoot+e+" */";});return [n].concat(o).concat([i]).join("\n");}var a;return [n].join("\n");}(t,e);return t[2]?"@media "+t[2]+"{"+n+"}":n;}).join("");},t.i=function(e,n){"string"==typeof e&&(e=[[null,e,""]]);for(var r={},i=0;i<this.length;i++){var o=this[i][0];"number"==typeof o&&(r[o]=!0);}for(i=0;i<e.length;i++){var a=e[i];"number"==typeof a[0]&&r[a[0]]||(n&&!a[2]?a[2]=n:n&&(a[2]="("+a[2]+") and ("+n+")"),t.push(a));}},t;};}
12,function(e,t,n){(e.exports=n(10)(!1)).push([e.i,'.vidyard-player-container .play-button{position:absolute;width:16%;height:auto;border-radius:50%;border:none;cursor:pointer;opacity:.65;filter:alpha(opacity = 65);transition:opacity .2s linear;overflow:hidden;font-size:0;padding:0;min-width:20px;top:50%;left:50%;transform:translate(-50%,-50%);-webkit-appearance:initial!important;-moz-appearance:initial!important;appearance:initial!important}.vidyard-player-container .play-button .play-button-size{padding-top:100%;width:100%}.vidyard-player-container .play-button .arrow-size{position:absolute;top:50%;left:50%;width:35%;height:auto;margin:-25% 0 0 -12%;overflow:hidden}.vidyard-player-container .play-button .arrow-size-ratio{padding-top:150%;width:100%}.vidyard-player-container .play-button .arrow{position:absolute;top:50%;left:auto;right:0;bottom:auto;width:0;height:0;margin:-200px 0 -200px -300px;border:200px solid transparent;border-left:300px solid #fff;border-right:none}.vidyard-lightbox-thumbnail:hover .play-button{opacity:1;filter:alpha(opacity = 100);zoom:1}.vidyard-player-container{position:relative;height:100%;text-align:center}.vidyard-player-container img{height:100%}.vidyard-player-container .play-button{display:none}.vidyard-close-container{position:fixed;right:20px;top:20px;height:34px;width:34px;cursor:pointer;z-index:1000}.vidyard-close-container:focus{outline:1px dotted grey}.vidyard-close-x{position:absolute;height:100%;width:100%;color:#fff;font-size:2em;text-align:center;line-height:34px}.vidyard-close-x:hover{color:#ddd}.vidyard-close-x:hover:after,.vidyard-close-x:hover:before{background:#ddd}.vidyard-close-x:after,.vidyard-close-x:before{content:"";position:absolute;background:#fff;display:block;left:50%;top:50%;height:65%;width:2px;transition:all .2s;-ms-high-contrast-adjust:none}.vidyard-close-x:before{transform:translate(-50%,-50%) rotate(45deg);-ms-transform:translate(-50%,-50%) rotate(45deg)}.vidyard-close-x:after{transform:translate(-50%,-50%) rotate(-45deg);-ms-transform:translate(-50%,-50%) rotate(-45deg)}.vidyard-close-x.simple-close:after,.vidyard-close-x.simple-close:before{display:none}.vidyard-lightbox-thumbnail{width:100%;height:100%;margin:auto}.vidyard-lightbox-image{height:100%;left:0;position:absolute;top:0;width:100%}.vidyard-lightbox-centering{cursor:pointer;height:0;max-width:100%;overflow:hidden;padding-bottom:56.25%;position:relative}.vidyard-lightbox-content-backer{-webkit-transform:opacity 1s,filter 1s;-ms-transform:opacity 1s,filter 1s;transition:opacity 1s,filter 1s;background-color:#000;height:100%;width:100%;position:absolute}#vidyard-overlay-wrapper,.vidyard-lightbox-content-backer{filter:alpha(opacity = 0);opacity:0;top:0;right:0;bottom:0;left:0}#vidyard-overlay-wrapper{position:relative;box-sizing:border-box;display:none;transition:opacity .5s,filter .5s}#vidyard-overlay{top:0;right:0;bottom:0;left:0;opacity:.9;filter:alpha(opacity = 90);width:100%;height:100%;background-color:#000;z-index:800}#vidyard-content-fixed,#vidyard-overlay{position:fixed;box-sizing:border-box;display:none}#vidyard-content-fixed{opacity:1;z-index:900;text-align:center;top:5%;right:5%;bottom:5%;left:5%;width:90%}#vidyard-popbox{display:inline-block;position:absolute;left:50%;top:50%;-webit-transform:translate(-50%,-50%);-ms-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}#vidyard-popbox-constraint{opacity:0;filter:alpha(opacity = 0);display:block;visibility:hidden}#vidyard-popbox-constraint.landscape{height:90vh}#vidyard-popbox-constraint.portrait{width:90vw}.vidyard-player-container div[class^=vidyard-iframe-]{z-index:1}.vidyard-player-container div[class^=vidyard-div-]{background-repeat:no-repeat;background-position:0 50%;background-size:100%}img.vidyard-player-embed{width:100%}img.vidyard-player-embed.inserted{position:absolute;top:0;left:0;z-index:0;max-width:100%!important}.vidyard-player-container.playlist-open{padding-right:319px;width:auto!important}.vidyard-player-container.playlist-open div[class^=vidyard-div-]{width:calc(100% + 319px);max-width:calc(100% + 319px)!important;background-size:calc(100% - 319px);background-color:#f5f9ff}.vidyard-player-container.playlist-open div[class^=vidyard-div-] img.vidyard-player-embed{width:calc(100% - 319px)!important}#backlink-icon{height:15px;width:15px;margin-right:6px;transition:.3s}#backlink{align-items:center;border-radius:4px;border:3px solid #ebeeff;display:inline-block;float:left;line-height:18px;margin:8px 0 0;outline:none;padding:1px 8px 1px 5px;position:relative;*zoom:1;font-family:Arial,Helvetica Neue,Helvetica,sans-serif;font-style:normal;font-weight:400;font-size:12px;text-decoration:none}#backlink:after,#backlink:before{content:" ";display:table}#backlink:after{clear:both}#backlink:link,#backlink:visited{background:#ebeeff;border-color:#ebeeff;color:#414dd4}#backlink:hover{background:#bfc2ff;color:#1b1a82;cursor:pointer}#backlink:focus,#backlink:hover{border-color:#bfc2ff}#backlink:active{background:#8f97ff;border-color:#8f97ff;color:#0c084d}#backlink-icon{float:left;height:18px;margin-right:5px;position:relative;width:18px}#backlink-text{float:left}',""]);},function(e,t,n){var r=n(11);"string"==typeof r&&(r=[[e.i,r,""]]);var i={hmr:!0,transform:void 0,insertInto:void 0};n(9)(r,i);r.locals&&(e.exports=r.locals);},function(e,t,n){"use strict";var r=function(e){return 1===e.nodeType&&"body"!==e.tagName.toLowerCase()&&"html"!==e.tagName.toLowerCase();},i=function(e){return 1===e.nodeType&&"script"!==e.tagName.toLowerCase();},o=function(e,t){return e.concat(t);};function a(e){return function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=t.previousSibling;return r?(n.push(r),e(r,n)):n;}(e).concat(function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=t.nextSibling;return r?(n.push(r),e(r,n)):n;}(e)).filter(i);}function u(e){return function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=t.parentNode;return r?(n.push(r),e(r,n)):n;}(e).filter(r);}e.exports={getSiblings:a,getAncestors:u,getSiblingsOfAncestors:function(e){return u(e).map(function(e){return a(e);}).reduce(o,[]);}};},function(e,t,n){(function(t){var n=t.CustomEvent;e.exports=function(){try{var e=new n("cat",{detail:{foo:"bar"}});return "cat"===e.type&&"bar"===e.detail.foo;}catch(e){}return !1;}()?n:"undefined"!=typeof document&&"function"==typeof document.createEvent?function(e,t){var n=document.createEvent("CustomEvent");return t?n.initCustomEvent(e,t.bubbles,t.cancelable,t.detail):n.initCustomEvent(e,!1,!1,void 0),n;}:function(e,t){var n=document.createEventObject();return n.type=e,t?(n.bubbles=Boolean(t.bubbles),n.cancelable=Boolean(t.cancelable),n.detail=t.detail):(n.bubbles=!1,n.cancelable=!1,n.detail=void 0),n;};}).call(this,n(0));},,function(e,t){var n,r,i=e.exports={};function o(){throw new Error("setTimeout has not been defined");}function a(){throw new Error("clearTimeout has not been defined");}function u(e){if(n===setTimeout)return setTimeout(e,0);if((n===o||!n)&&setTimeout)return n=setTimeout,setTimeout(e,0);try{return n(e,0);}catch(t){try{return n.call(null,e,0);}catch(t){return n.call(this,e,0);}}}!function(){try{n="function"==typeof setTimeout?setTimeout:o;}catch(e){n=o;}try{r="function"==typeof clearTimeout?clearTimeout:a;}catch(e){r=a;}}();var c,s=[],l=!1,d=-1;function f(){l&&c&&(l=!1,c.length?s=c.concat(s):d=-1,s.length&&p());}function p(){if(!l){var e=u(f);l=!0;for(var t=s.length;t;){for(c=s,s=[];++d<t;)c&&c[d].run();d=-1,t=s.length;}c=null,l=!1,function(e){if(r===clearTimeout)return clearTimeout(e);
12if((r===a||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(e);try{r(e);}catch(t){try{return r.call(null,e);}catch(t){return r.call(this,e);}}}(e);}}function h(e,t){this.fun=e,this.array=t;}function v(){}i.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];s.push(new h(e,t)),1!==s.length||l||u(p);},h.prototype.run=function(){this.fun.apply(null,this.array);},i.title="browser",i.browser=!0,i.env={},i.argv=[],i.version="",i.versions={},i.on=v,i.addListener=v,i.once=v,i.off=v,i.removeListener=v,i.removeAllListeners=v,i.emit=v,i.prependListener=v,i.prependOnceListener=v,i.listeners=function(e){return [];},i.binding=function(e){throw new Error("process.binding is not supported");},i.cwd=function(){return "/";},i.chdir=function(e){throw new Error("process.chdir is not supported");},i.umask=function(){return 0;};},function(e,t,n){(function(e,t){!function(e,n){"use strict";if(!e.setImmediate){var r,i,o,a,u,c=1,s={},l=!1,d=e.document,f=Object.getPrototypeOf&&Object.getPrototypeOf(e);f=f&&f.setTimeout?f:e,"[object process]"==={}.toString.call(e.process)?r=function(e){t.nextTick(function(){h(e);});}:!function(){if(e.postMessage&&!e.importScripts){var t=!0,n=e.onmessage;return e.onmessage=function(){t=!1;},e.postMessage("","*"),e.onmessage=n,t;}}()?e.MessageChannel?((o=new MessageChannel()).port1.onmessage=function(e){h(e.data);},r=function(e){o.port2.postMessage(e);}):d&&"onreadystatechange" in d.createElement("script")?(i=d.documentElement,r=function(e){var t=d.createElement("script");t.onreadystatechange=function(){h(e),t.onreadystatechange=null,i.removeChild(t),t=null;},i.appendChild(t);}):r=function(e){setTimeout(h,0,e);}:(a="setImmediate$"+Math.random()+"$",u=function(t){t.source===e&&"string"==typeof t.data&&0===t.data.indexOf(a)&&h(+t.data.slice(a.length));},e.addEventListener?e.addEventListener("message",u,!1):e.attachEvent("onmessage",u),r=function(t){e.postMessage(a+t,"*");}),f.setImmediate=function(e){"function"!=typeof e&&(e=new Function(""+e));for(var t=new Array(arguments.length-1),n=0;n<t.length;n++)t[n]=arguments[n+1];var i={callback:e,args:t};return s[c]=i,r(c),c++;},f.clearImmediate=p;}function p(e){delete s[e];}function h(e){if(l)setTimeout(h,0,e);else{var t=s[e];if(t){l=!0;try{!function(e){var t=e.callback,r=e.args;switch(r.length){case 0:t();break;case 1:t(r[0]);break;case 2:t(r[0],r[1]);break;case 3:t(r[0],r[1],r[2]);break;default:t.apply(n,r);}}(t);}finally{p(e),l=!1;}}}}}("undefined"==typeof self?void 0===e?this:e:self);}).call(this,n(0),n(16));},function(e,t,n){(function(e){var r=void 0!==e&&e||"undefined"!=typeof self&&self||window,i=Function.prototype.apply;function o(e,t){this._id=e,this._clearFn=t;}t.setTimeout=function(){return new o(i.call(setTimeout,r,arguments),clearTimeout);},t.setInterval=function(){return new o(i.call(setInterval,r,arguments),clearInterval);},t.clearTimeout=t.clearInterval=function(e){e&&e.close();},o.prototype.unref=o.prototype.ref=function(){},o.prototype.close=function(){this._clearFn.call(r,this._id);},t.enroll=function(e,t){clearTimeout(e._idleTimeoutId),e._idleTimeout=t;},t.unenroll=function(e){clearTimeout(e._idleTimeoutId),e._idleTimeout=-1;},t._unrefActive=t.active=function(e){clearTimeout(e._idleTimeoutId);var t=e._idleTimeout;t>=0&&(e._idleTimeoutId=setTimeout(function(){e._onTimeout&&e._onTimeout();},t));},n(17),t.setImmediate="undefined"!=typeof self&&self.setImmediate||void 0!==e&&e.setImmediate||this&&this.setImmediate,t.clearImmediate="undefined"!=typeof self&&self.clearImmediate||void 0!==e&&e.clearImmediate||this&&this.clearImmediate;}).call(this,n(0));}]);; 13jQuery(function(){var currentPathName=window.location.pathname;if(currentPathName!='/blog/ev-charging-just-got-easier-alexa-and-new-app-features/')jQuery('a.alexa-link').prop('href','/blog/ev-charging-just-got-easier-alexa-and-new-app-features/');});(function($,Drupal){Drupal.behaviors.autosubmit={attach:function(context,settings){function trigerClickOn(){jQuery('.form-actions input[type=submit]',context).trigger('click');}
13jQuery('.views-exposed-form .option',context).once().on('click',function(){setTimeout(function(){trigerClickOn();},500);});}};})(jQuery,Drupal);; 14(function($){var checkCart=function(){var accessToken=Cookies.get('dr-session');var api=$.ajax({headers:{'x-cart-pricing-version':'v2'},url:'https://api.digitalriver.com/v1/shoppers/me/carts/active.json',data:'token='+accessToken+'&method=GET&expand=all',contentType:'application/jsonp',dataType:'jsonp',success:function(json){var cartItems=json.cart.totalItemsInCart;if(cartItems>0)$('.cart-utility').addClass('cart-full');else{Cookies.set('dr-cart','empty',{expires:1});$('.cart-utility').removeClass('cart-full');}},error:function(e){}});};if(typeof Cookies.get('dr-session')!='undefined'&&typeof Cookies.get('dr-cart')!='undefined')if(Cookies.get('dr-cart')!='empty')checkCart();else $('.cart-utility').removeClass('cart-full');else $('.cart-utility').removeClass('cart-full');})(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.