PageSourceSearch

https://www.learngrantwriting.org/assets/js/theme.js

js learngrantwriting.org collected 2026-09-28 07:45:21 UTC 57,470 bytes, 5 lines download raw bytes

1/*!
2 * Leap Bootstrap Theme
3 * Copyright 2018-2019 Medium Rare (undefined)
4 */
5!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports,require("aos"),require("jquery"),require("jquery-countdown"),require("scrollmonitor"),require("flickity"),require("isotope-layout"),require("jarallax"),require("smooth-scroll"),require("@tanem/svg-injector"),require("typed.js"),require("smartwizard")):"function"==typeof define&&define.amd?define(["exports","aos","jquery","jquery-countdown","scrollmonitor","flickity","ion-rangeslider","isotope-layout","jarallax","plyr","smooth-scroll","@tanem/svg-injector","typed.js"],e):e((t=t||self).theme={},t.AOS,t.jQuery,null,t.scrollMonitor,t.Flickity,null,t.Isotope,t.jarallax,t.Plyr,t.Prism,t.SmoothScroll,t.SVGInjector,t.Typed)}(this,(function(t,e,n,i,r,a,o,s,l,u,c,h,f,d){"use strict";var m;function p(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function g(t,e,n){return e&&p(t.prototype,e),n&&p(t,n),t}e=e&&e.hasOwnProperty("default")?e.default:e,n=n&&n.hasOwnProperty("default")?n.default:n,r=r&&r.hasOwnProperty("default")?r.default:r,a=a&&a.hasOwnProperty("default")?a.default:a,o=o&&o.hasOwnProperty("default")?o.default:o,s=s&&s.hasOwnProperty("default")?s.default:s,l=l&&l.hasOwnProperty("default")?l.default:l,u=u&&u.hasOwnProperty("default")?u.default:u,c=c&&c.hasOwnProperty("default")?c.default:c,h=h&&h.hasOwnProperty("default")?h.default:h,d=d&&d.hasOwnProperty("default")?d.default:d,e.init({once:!0}),m=n,"objectFit"in document.documentElement.style==0&&m(".bg-image").each((function(){var t=m(this),e=t.attr("src"),n=t.get(0).classList;t.before(m('<div class="'+n+'" style="background: url('+e+'); background-size: cover; background-position: 50% 50%;"></div>')),t.remove()}));var y,v,b,w,E,A,k,S,T,I,O,j,V,x,C,P,M,F=function(t){if("function"!=typeof t.fn.countdown)throw new Error("mrCountdown requires jquery.countdown.js (https://github.com/hilios/jQuery.countdown/)");var e="mrCountdown",n="mr.countdown",i=t.fn[e],r="d-none",a="[data-years]",o="[data-months]",s="[data-weeks]",l="[data-days]",u="[data-hours]",c="[data-minutes]",h="[data-seconds]",f="[data-years-label]",d="[data-months-label]",m="[data-weeks-label]",p="[data-days-label]",y="[data-hours-label]",v="[data-minutes-label]",b="[data-seconds-label]",w="format",E=function(){function e(e){this.element=e;var n=t(e);this.date=n.attr("data-countdown-date"),this.daysText=n.attr("data-days-text")||"days",this.countdownText="%D "+this.daysText+" %H:%M:%S",this.dateFormat=n.attr("data-date-format")||this.countdownText,this.fallback=n.attr("data-date-fallback")||"Timer Done",this.detailed=null!==this.element.getAttribute("data-detailed"),this.detailed&&(this.years={show:n.find(a).length,element:n.find(a),format:n.find(a).data(w)||"%Y",label:{show:n.find(f).length,element:n.find(f),format:n.find(f).data(w)||"%!Y:Year,Years;"}},this.months={show:n.find(o).length,element:n.find(o),format:n.find(o).data(w)||"%m",label:{show:n.find(d).length,element:n.find(d),format:n.find(d).data(w)||"%!m:Month,Months;"}},this.weeks={show:n.find(s).length,element:n.find(s),format:n.find(s).data(w)||"%w",label:{show:n.find(m).length,element:n.find(m),format:n.find(m).data(w)||"%!w:Week,Weeks;"}},this.days={show:n.find(l).length,element:n.find(l),format:n.find(l).data(w)||"%D",label:{show:n.find(p).length,element:n.find(p),format:n.find(p).data(w)||"%!d:Day,Days;"}},this.hours={show:n.find(u).length,element:n.find(u),format:n.find(u).data(w)||"%H",label:{show:n.find(y).length,element:n.find(y),format:n.find(y).data(w)||"%!H:Hour,Hours;"}},this.minutes={show:n.find(c).length,element:n.find(c),format:n.find(c).data(w)||"%M",label:{show:n.find(v).length,element:n.find(v),format:n.find(v).data(w)||"%!M:Minute,Minutes;"}},this.seconds={show:n.find(h).length,element:n.find(h),format:n.find(h).data(w)||"%S",label:{show:n.find(b).length,element:n.find(b),format:n.find(b).data(w)||"%!S:Second,Seconds;"}}),this.initCountdown()}return e.prototype.initCountdown=function(){var e=this,n=t(this.element);this.detailed?n.countdown(this.date,(function(t){t.elapsed?(n.find("[data-elapsed-state]").removeClass(r),n.find("[data-active-state]").addClass(r)):(e.years.show&&e.years.element.text(t.strftime(e.years.format)),e.years.label.show&&e.years.label.element.text(t.strftime(e.years.label.format)),e.months.show&&e.months.element.text(t.strftime(e.months.format)),e.months.label.show&&e.months.label.element.text(t.strftime(e.months.label.format)),e.weeks.show&&e.weeks.element.text(t.strftime(e.weeks.format)),e.weeks.label.show&&e.weeks.label.element.text(t.strftime(e.weeks.label.format)),e.days.show&&e.days.element.text(t.strftime(e.days.format)),e.days.label.show&&e.days.label.element.text(t.strftime(e.days.label.format)),e.hours.show&&e.hours.element.text(t.strftime(e.hours.format)),e.hours.label.show&&e.hours.label.element.text(t.strftime(e.hours.label.format)),e.minutes.show&&e.minutes.element.text(t.strftime(e.minutes.format)),e.minutes.label.show&&e.minutes.label.element.text(t.strftime(e.minutes.label.format)),e.seconds.show&&e.seconds.element.text(t.strftime(e.seconds.format)),e.seconds.label.show&&e.seconds.label.element.text(t.strftime(e.seconds.label.format)))})):t(this.element).countdown(this.date,(function(t){t.elapsed?n.text(e.fallback):n.text(t.strftime(e.dateFormat))}))},e.jQueryInterface=function(){return this.each((function(){var i=t(this),r=i.data(n);r||(r=new e(this),i.data(n,r))}))},g(e,null,[{key:"VERSION",get:function(){return"1.1.0"}}]),e}();return t(window).on("load.mr.countdown.data-api",(function(){for(var e=t.makeArray(t("[data-countdown-date]")),n=e.length;n--;){var i=t(e[n]);E.jQueryInterface.call(i,i.data())}})),t.fn[e]=E.jQueryInterface,t.fn[e].Constructor=E,t.fn[e].noConflict=function(){return t.fn[e]=i,E.jQueryInterface},E}(n),N=function(){return(N=Object.assign||function(t){for(var e,n=1,i=arguments.length;n<i;n++)for(var r in e=arguments[n])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t}).apply(this,arguments)},D=function(){function t(t,e,n){var i=this;this.target=t,this.endVal=e,this.options=n,this.version="2.0.4",this.defaults={startVal:0,decimalPlaces:0,duration:2,useEasing:!0,useGrouping:!0,smartEasingThreshold:999,smartEasingAmou
5nt:333,separator:",",decimal:".",prefix:"",suffix:""},this.finalEndVal=null,this.useEasing=!0,this.countDown=!1,this.error="",this.startVal=0,this.paused=!0,this.count=function(t){i.startTime||(i.startTime=t);var e=t-i.startTime;i.remaining=i.duration-e,i.useEasing?i.countDown?i.frameVal=i.startVal-i.easingFn(e,0,i.startVal-i.endVal,i.duration):i.frameVal=i.easingFn(e,i.startVal,i.endVal-i.startVal,i.duration):i.countDown?i.frameVal=i.startVal-(i.startVal-i.endVal)*(e/i.duration):i.frameVal=i.startVal+(i.endVal-i.startVal)*(e/i.duration),i.countDown?i.frameVal=i.frameVal<i.endVal?i.endVal:i.frameVal:i.frameVal=i.frameVal>i.endVal?i.endVal:i.frameVal,i.frameVal=Math.round(i.frameVal*i.decimalMult)/i.decimalMult,i.printValue(i.frameVal),e<i.duration?i.rAF=requestAnimationFrame(i.count):null!==i.finalEndVal?i.update(i.finalEndVal):i.callback&&i.callback()},this.formatNumber=function(t){var e,n,r,a,o,s=t<0?"-":"";if(e=Math.abs(t).toFixed(i.options.decimalPlaces),r=(n=(e+="").split("."))[0],a=1<n.length?i.options.decimal+n[1]:"",i.options.useGrouping){o="";for(var l=0,u=r.length;l<u;++l)0!==l&&l%3==0&&(o=i.options.separator+o),o=r[u-l-1]+o;r=o}return i.options.numerals&&i.options.numerals.length&&(r=r.replace(/[0-9]/g,(function(t){return i.options.numerals[+t]})),a=a.replace(/[0-9]/g,(function(t){return i.options.numerals[+t]}))),s+i.options.prefix+r+a+i.options.suffix},this.easeOutExpo=function(t,e,n,i){return n*(1-Math.pow(2,-10*t/i))*1024/1023+e},this.options=N({},this.defaults,n),this.formattingFn=this.options.formattingFn?this.options.formattingFn:this.formatNumber,this.easingFn=this.options.easingFn?this.options.easingFn:this.easeOutExpo,this.startVal=this.validateValue(this.options.startVal),this.frameVal=this.startVal,this.endVal=this.validateValue(e),this.options.decimalPlaces=Math.max(this.options.decimalPlaces),this.decimalMult=Math.pow(10,this.options.decimalPlaces),this.resetDuration(),this.options.separator=String(this.options.separator),this.useEasing=this.options.useEasing,""===this.options.separator&&(this.options.useGrouping=!1),this.el="string"==typeof t?document.getElementById(t):t,this.el?this.printValue(this.startVal):this.error="[CountUp] target is null or undefined"}return t.prototype.determineDirectionAndSmartEasing=function(){var t=this.finalEndVal?this.finalEndVal:this.endVal;this.countDown=this.startVal>t;var e=t-this.startVal;if(Math.abs(e)>this.options.smartEasingThreshold){this.finalEndVal=t;var n=this.countDown?1:-1;this.endVal=t+n*this.options.smartEasingAmount,this.duration=this.duration/2}else this.endVal=t,this.finalEndVal=null;this.finalEndVal?this.useEasing=!1:this.useEasing=this.options.useEasing},t.prototype.start=function(t){this.error||(this.callback=t,0<this.duration?(this.determineDirectionAndSmartEasing(),this.paused=!1,this.rAF=requestAnimationFrame(this.count)):this.printValue(this.endVal))},t.prototype.pauseResume=function(){this.paused?(this.startTime=null,this.duration=this.remaining,this.startVal=this.frameVal,this.determineDirectionAndSmartEasing(),this.rAF=requestAnimationFrame(this.count)):cancelAnimationFrame(this.rAF),this.paused=!this.paused},t.prototype.reset=function(){cancelAnimationFrame(this.rAF),this.paused=!0,this.resetDuration(),this.startVal=this.validateValue(this.options.startVal),this.frameVal=this.startVal,this.printValue(this.startVal)},t.prototype.update=function(t){cancelAnimationFrame(this.rAF),this.startTime=null,this.endVal=this.validateValue(t),this.endVal!==this.frameVal&&(this.startVal=this.frameVal,this.finalEndVal||this.resetDuration(),this.determineDirectionAndSmartEasing(),this.rAF=requestAnimationFrame(this.count))},t.prototype.printValue=function(t){var e=this.formattingFn(t);"INPUT"===this.el.tagName?this.el.value=e:"text"===this.el.tagName||"tspan"===this.el.tagName?this.el.textContent=e:this.el.innerHTML=e},t.prototype.ensureNumber=function(t){return"number"==typeof t&&!isNaN(t)},t.prototype.validateValue=function(t){var e=Number(t);return this.ensureNumber(e)?e:(this.error="[CountUp] invalid start or end value: "+t,null)},t.prototype.resetDuration=function(){this.startTime=null,this.duration=1e3*Number(this.options.duration),this.remaining=this.duration},t}(),L=function(t){if(void 0===r)throw new Error("mrCountup requires scrollMonitor.js (https://github.com/stutrek/scrollMonitor)");var e="mrCountup",n="mr.countup",i="."+n,a=t.fn[e],o={LOAD_DATA_API:"load"+i+".data-api",RESIZE:"resize"+i},s=function(){function e(e){var n=t(e);this.start=parseFloat(n.data("start"),10)||0,this.end=parseFloat(n.data("end"),10)||parseFloat(n.text(),10),this.duration=parseFloat(n.data("duration"),10)||2.5,this.grouping=!0===n.data("grouping")||!1,this.separator=n.data("separator")||",",this.decimalCharacter=n.data("decimal-character")||".",this.decimalPlaces=parseInt(n.data("decimal-places"),10)||0,this.prefix=n.data("prefix")||"",this.suffix=n.data("suffix")||"";var i=n.data("easing");this.easing=!1!==i||i,this.element=e,this.initWatcher(e),this.startCounting()}var i=e.prototype;return i.initWatcher=function(t){var e=this;this.CountUp=new D(t,this.end,{startVal:this.start,decimalPlaces:this.decimalPlaces,duration:this.duration,useEasing:this.easing,useGrouping:this.grouping,separator:this.separator,decimal:this.decimalCharacter,prefix:this.prefix,suffix:this.suffix});var n=r.create(t);(this.watcher=n).stateChange((function(){e.startCounting()}))},i.startCounting=function(){if(this.watcher.isFullyInViewport){if(this.CountUp.error)throw new Error(this.CountUp.error);this.CountUp.start()}},e.jQueryInterface=function(){return this.each((function(){var i=t(this),r=i.data(n);r||(r=new e(this),i.data(n,r))}))},g(e,null,[{key:"VERSION",get:function(){return"1.1.0"}}]),e}();return t(window).on(o.LOAD_DATA_API,(function(){for(var e=t.makeArray(t("[data-countup]")),n=e.length;n--;){var i=t(e[n]);s.jQueryInterface.call(i,i.data())}})),t.fn[e]=s.jQueryInterface,t.fn[e].Constructor=s,t.fn[e].noConflict=function(){return t.fn[e]=a,s.jQueryInterface},s}(n),R=(v="script",(y=n)("body").tooltip({selector:'[data-toggle="tooltip"]',container:"body"}),y("body").popover({selector:'[data-toggle="popover"]',container:"body"}),y(".toast").toast(),{version:"1.2.0",selector:{RECAPTCHA:"[data-recaptcha]"},activateIframeSrc:function(t){var e=y(t);e.attr("data-src")&&e.attr("src",e.attr("data-src"))},idleIframeSrc:function(t){var e=y(t);e.attr("data-src",e.attr("src")).attr("src","")}
5,forEach:function(t,e,n){if(t)if(t.length)for(var i=0;i<t.length;i+=1)e.call(n,i,t[i]);else(t[0]||R.isElement(t))&&e.call(n,0,t)},dedupArray:function(t){return t.reduce((function(t,e){var n=JSON.stringify(e);return-1===t.temp.indexOf(n)&&(t.out.push(e),t.temp.push(n)),t}),{temp:[],out:[]}).out},isElement:function(t){return!(!t||1!==t.nodeType)},getFuncFromString:function(t,e){var n=t||null;if("function"==typeof n)return t;if("string"==typeof n){if(!n.length)return null;for(var i=e||window,r=n.split(".");r.length;){var a=r.shift();if(void 0===i[a])return null;i=i[a]}if("function"==typeof i)return i}return null},getScript:function(t,e){var n=document.createElement(v),i=document.getElementsByTagName(v)[0];n.async=1,n.defer=1,n.onreadystatechange=function(t,i){(i||!n.readyState||/loaded|complete/.test(n.readyState))&&(n.onload=null,n.onreadystatechange=null,n=void 0,!i&&e&&"function"==typeof e&&e())},n.onload=n.onreadystatechange,n.src=t,i.parentNode.insertBefore(n,i)},isIE:function(){var t=window.navigator.userAgent;return/MSIE|Trident/.test(t)}}),_=(w="mrDropdownGrid",A="."+(E="mr.dropdownGrid"),k=".data-api",S=(b=n).fn[w],T=new RegExp("38|40|27"),I={SHOW:"show"},O={LOAD_DATA_API:"load"+A+k,RESIZE:"resize"+A,HIDE:"hide"+A,HIDDEN:"hidden"+A,SHOW:"show"+A,SHOWN:"shown"+A,CLICK:"click"+A,MOUSE_ENTER:"mouseenter"+A,MOUSE_LEAVE:"mouseleave"+A,CLICK_DATA_API:"click"+A+k,KEYDOWN_DATA_API:"keydown"+A+k,KEYUP_DATA_API:"keyup"+A+k},j='[data-toggle="dropdown-grid"]',".dropdown form",x=V=".dropdown-menu",C="[data-dropdown-content]",".navbar-nav",".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",P="data-hover","data-dropdown-grid-hover",M=function(){function t(e){this.ticking=!1,this.isActive=!1,this.element=e,this.getOptions(),this.parent=t.getParentFromElement(this.element),this.menu=this.getMenuElement(),this.container=this.getContainerElement(),this.content=this.getContentElement(),this.isSubmenu=this.hasParentMenu(),this.isSubmenu&&(this.siblingMenus=this.getSiblingMenus()),this.submenus=this.getSubmenus(),this.hover=this.options.hover,this.addEventListeners(),this.setResizeEvent()}var e=t.prototype;return e.getOptions=function(){this.options||(this.options={},this.options.hover=("true"===this.element.getAttribute(P)||"true"===document.body.getAttribute("data-dropdown-grid-hover"))&&"false"!==this.element.getAttribute(P))},e.toggle=function(e){if(this.getParentMenu(),!this.element.disabled&&!b(this.element).hasClass(I.DISABLED)){this.isActive=b(this.menu).hasClass(I.SHOW);var n=this.isActive,i=!this.isActive;if(this.isSubmenu||t.clearMenus(),(this.isSubmenu||!n)&&(this.isSubmenu||!i||!e||e.type!==O.MOUSE_LEAVE)){if(this.isSubmenu&&this.isActive)return t.clearMenus(null,this.element),void t.clearMenus(null,this.submenus);this.isSubmenu&&!this.isActive&&t.clearMenus(null,this.siblingMenus);var r={relatedTarget:this.element},a=b.Event(O.SHOW,r);b(this.parent).trigger(a),a.isDefaultPrevented()||("ontouchstart"in document.documentElement&&0===b(this.parent).closest(".navbar-nav").length&&b(document.body).children().on("mouseover",null,b.noop),this.element.focus(),this.element.setAttribute("aria-expanded",!0),b(this.menu).toggleClass(I.SHOW),this.updatePosition(),this.isActive=!0,b(this.parent).toggleClass(I.SHOW).trigger(b.Event(O.SHOWN,r)))}}},e.updatePosition=function(t){var e=t||window.innerWidth,n=_.getDimensionsFromElement(this.element);this.positionContainer(n.offsetLeft),this.positionContent(e,n.offsetLeft)},e.positionContainer=function(t){if(!this.container)throw new TypeError("No element matching .dropdown-menu.container found.");this.container.style.left="-"+t+"px"},e.positionContent=function(t,e){if(!this.content)throw new TypeError("No [data-dropdown-content] element was found.");var n,i=_.getDimensionsFromElement(this.content).width;if(this.isSubmenu){this.getParentMenu();var r=_.getDimensionsFromElement(this.parentMenu.content);n=r.offsetLeft+r.width+i<=t?r.offsetLeft+r.width:r.offsetLeft>=i?r.offsetLeft-i:0}else n=t<=i+e?t-i:e;var a=Math.round(n)+"px";this.content.style.left=a},e.setResizeEvent=function(){var t=this;b(window).on(O.RESIZE,(function(){t.ticking||(window.requestAnimationFrame((function(){t.updatePosition(),t.ticking=!1})),t.ticking=!0)}))},e.getMenuElement=function(){return this.menu||this.parent&&(this.menu=this.parent.querySelector(V)),this.menu},e.getContainerElement=function(){return this.container||this.parent&&(this.container=this.parent.querySelector(""+V+x)),this.container},e.getContentElement=function(){return this.content||this.parent&&(this.content=this.container.querySelector(C)),this.content},e.hasParentMenu=function(){return 0<b(this.element).closest(C).length},e.getParentMenu=function(){this.isSubmenu&&!this.parentMenu&&(this.parentMenu=b(this.parent).closest(V).siblings(j).data(E))},e.getSiblingMenus=function(){return b(this.element).closest(C).get(0).querySelectorAll(j)},e.getSubmenus=function(){var t=this.content.querySelectorAll(j);return this.isParent=0!==t.length,t},e.addEventListeners=function(){var t=this;b(this.element).on(O.CLICK,(function(e){e.preventDefault(),e.stopPropagation(),t.toggle(
5)})),this.hover&&b(this.parent).on(O.MOUSE_ENTER+" "+O.MOUSE_LEAVE,(function(e){e.preventDefault(),e.stopPropagation(),e.type+A===O.MOUSE_ENTER&&t.isActive||e.type+A===O.MOUSE_LEAVE&&!t.isActive||t.toggle(e)}))},t.getDimensionsFromElement=function(t){if(t&&R.isElement(t)){var e=t.getBoundingClientRect();return e.offsetLeft=Math.round(e.left+window.pageXOffset-document.documentElement.clientLeft),e}throw new TypeError("Can't get a measurement from a non-element")},t.getParentFromElement=function(t){return t.parentNode},t.clearMenus=function(e,n){var i;(!e||3!==e.which&&"keyup"!==e.type||9===e.which)&&(i=n&&"object"==typeof n?n:document.querySelectorAll(j),R.forEach(i,(function(n,i){var r=t.getParentFromElement(i),a=b(i).data(E),o={relatedTarget:i};if(e&&"click"===e.type&&(o.clickEvent=e),a){var s=a.menu;if(b(r).hasClass(I.SHOW)&&!(e&&("click"===e.type&&/input|textarea/i.test(e.target.tagName)||"keyup"===e.type&&9===e.which)&&b.contains(r,e.target)||e&&"click"===e.type&&(b.contains(a.content,e.target)||a.content.isSameNode(e.target)))){var l=b.Event(O.HIDE,o);b(r).trigger(l),l.isDefaultPrevented()||("ontouchstart"in document.documentElement&&b(document.body).children().off("mouseover",null,b.noop),i.setAttribute("aria-expanded","false"),a.isActive=!1,b(s).removeClass(I.SHOW),b(r).removeClass(I.SHOW).trigger(b.Event(O.HIDDEN,o)))}}})))},t.jQueryInterface=function(e){return this.each((function(){var n=b(this),i=n.data(E);if(i||(i=new t(this),n.data(E,i)),"string"==typeof e){if(void 0===i[e])throw new TypeError('No method named "'+e+'"');i[e]()}}))},t.dataApiKeydownHandler=function(e){if((/input|textarea/i.test(e.target.tagName)?32!==e.which&&27===e.which||!(40!==e.which&&38!==e.which||b(e.target).closest(V).length):T.test(e.which))&&(e.preventDefault(),e.stopPropagation(),!this.disabled&&!b(this).hasClass(I.DISABLED))){var n=t.getParentFromElement(this),i=b(n).hasClass(I.SHOW);if((i||27===e.which&&32===e.which)&&(!i||27!==e.which&&32!==e.which)){var r=[].slice.call(n.querySelectorAll(".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)"));if(0!==r.length){var a=r.indexOf(e.target);38===e.which&&0<a&&(a-=1),40===e.which&&a<r.length-1&&(a+=1),a<0&&(a=0),r[a].focus()}}else{if(27===e.which){var o=n.querySelector(j);b(o).trigger("focus")}b(this).trigger("click")}}},g(t,null,[{key:"VERSION",get:function(){return"1.0.0"}}]),t}(),b(document).on(O.KEYDOWN_DATA_API,j,M.dataApiKeydownHandler).on(O.KEYDOWN_DATA_API,V,M.dataApiKeydownHandler).on(O.CLICK_DATA_API+" "+O.KEYUP_DATA_API,M.clearMenus).on(O.CLICK_DATA_API,".dropdown form",(function(t){t.stopPropagation()})),b(document).ready((function(){for(var t=b.makeArray(b(j)),e=t.length;e--;){var n=b(t[e]);M.jQueryInterface.call(n,n.data())}})),b.fn[w]=M.jQueryInterface,b.fn[w].Constructor=M,b.fn[w].noConflict=function(){return b.fn[w]=S,M.jQueryInterface},M);!function(){var t="fade-page",e=document.getElementsByClassName(t);function n(e){if(!(e.ctrlKey||e.shiftKey||e.metaKey||e.button&&1===e.button)){e.preventDefault(),e.stopPropagation(),document.body.classList.add(t);var n=this.getAttribute("href");setTimeout((function(){""!==n&&"#"!==n&&(window.location.href=n)}),500)}}for(var i=0;i<e.length;i+=1)e[i].addEventListener("click",n,!1)}();var q=function(t){if(void 0===a)throw new Error("mrFlatpickr requires flatpickr.js (https://github.com/flatpickr/flatpickr)");var e="mrFlatpickr",n="mr.flatpickr",i=t.fn[e],r=function(){function e(t){this.element=t,this.initflatpickr()}return e.prototype.initflatpickr=function(){var e=t(this.element).data();this.instance=a(this.element,e)},e.jQueryInterface=function(){return this.each((function(){var i=t(this),r=i.data(n);r||(r=new e(this),i.data(n,r))}))},g(e,null,[{key:"VERSION",get:function(){return"1.0.0"}}]),e}();return t(window).on("load.mr.flatpickr.data-api",(function(){for(var e=t.makeArray(t("[data-flatpickr]")),n=e.length;n--;){var i=t(e[n]);r.jQueryInterface.call(i,i.data())}})),t.fn[e]=r.jQueryInterface,t.fn[e].Constructor=r,t.fn[e].noConflict=function(){return t.fn[e]=i,r.jQueryInterface},r}(n);$(document).on("shown.bs.modal layoutComplete",(function(t){$(t.target).find("[data-flickity]").each((function(t,e){var n=$(e);n.data().flickity.isInitActivated&&n.flickity("resize")}))}));var H,Q=function(t){if(!(R&&"1.2.0"<=R.version))throw new Error("mrUtil >= version 1.2.0 is required.");var e="mrRecaptchav2",n="mr.recaptchav2",i=t.fn[e],r="https://www.google.com/recaptcha/api.js?onload=mrRecaptchav2Init&render=explicit",a="[data-recaptcha]",o=[],s=!1,l=function(){function e(e){this.element=e,this.form=this.getForm(),this.isReady=!1,this.isValid=!1,this.options=t(this.element).data(),this.invisible="invisible"===this.options.size,this.id=null,o.push(this)}var i=e.prototype;return i.init=function(){var t=this;""===this.element.innerHTML.replace(/[\s\xA0]+/g,"")&&(this.id=grecaptcha.render(this.element,{sitekey:this.options.sitekey,theme:this.options.theme,size:this.options.size,badge:this.options.badge,tabindex:this.options.tabindex,callback:function(){t.validate()},"expired-callback":function(){t.invalidate()}}),this.isReady=!0)}
5,i.validate=function(){this.isValid=!0,this.invisible&&this.form&&t(this.form).trigger("submit")},i.invalidate=function(){this.isValid=!1},i.checkValidity=function(){return!(!this.isReady||!this.isValid)},i.execute=function(){this.isReady&&this.invisible&&grecaptcha.execute(this.id)},i.reset=function(){this.isReady&&(grecaptcha.reset(this.id),this.isValid=!1)},i.getForm=function(){var e=t(this.element).closest("form");return e.length?e.get(0):null},e.getRecaptchaFromForm=function(e){if(R.isElement(e)){var i=e.querySelector(a);return i&&t(i).data(n)||null}throw new TypeError("Form argument passed to getRecaptchaFromForm is not an element.")},e.jQueryInterface=function(){return this.each((function(){var i=t(this),r=i.data(n);r||(r=new e(this),i.data(n,r))}))},g(e,null,[{key:"VERSION",get:function(){return"1.0.0"}},{key:"ready",get:function(){return s}},{key:"instances",get:function(){return o}},{key:"apiReady",set:function(t){!0===t&&!1===s&&R.forEach(e.instances,(function(t,e){e.init()})),s=!0}}]),e}();return window.mrRecaptchav2Init=function(){Q.apiReady=!0},t(document).ready((function(){var e=t.makeArray(t(a));if(0<e.length){R.getScript(r);for(var n=e.length;n--;){var i=t(e[n]);l.jQueryInterface.call(i,i.data())}}})),t.fn[e]=l.jQueryInterface,t.fn[e].Constructor=l,t.fn[e].noConflict=function(){return t.fn[e]=i,l.jQueryInterface},l}(jQuery),B=function(t){if(!(R&&"1.2.0"<=R.version))throw new Error("mrUtil >= version 1.2.0 is required.");var e="mrFormEmail",i="mr.formEmail",r="."+i,a=t.fn[e],o="was-validated",s="d-none",l={SENT:"sent"+r,LOAD_DATA_API:"load"+r+".data-api",SUBMIT:"submit"},u=function(){function e(t){this.form=t,this.action=this.form.getAttribute("action")||"forms/mail.php",this.feedback=this.getFeedbackElements(),this.getRecaptcha(),this.initSubmitButton(),this.setSubmitEvent()}var r=e.prototype;return r.submitForm=function(){this.hideAllFeedback(),this.validateForm()&&this.ajaxSubmit()},r.validateForm=function(){var t=this.form.checkValidity();if(this.recaptcha)if(this.recaptcha.invisible){if(t&&!this.recaptcha.checkValidity())return this.recaptcha.execute(),!1}else!1===this.recaptcha.checkValidity()&&(t=!1);return t?(this.form.classList.remove(o),!0):(clearTimeout(this.feedbackTimeout),this.form.classList.add(o),this.showFeedback("error",this.validationErrorMessage),!1)},r.ajaxSubmit=function(){var e=t(this.form).serializeArray();e.push({name:"url",value:window.location.href}),n.ajax({context:this,data:e,dataType:"json",error:this.showFeedback,success:this.processResponse,type:"POST",url:this.action}),this.toggleFormLoading(!0)},r.initSubmitButton=function(){return this.submitButton||(this.submitButton=this.form.querySelector('button[type="submit"]')),this.submitButtonSpan=this.submitButton.querySelector("span"),this.loadingText=this.submitButton.getAttribute("data-loading-text")||"Sending",this.originalSubmitText=this.submitButtonSpan.textContent,this.submitButton},r.processResponse=function(e){var n=this,i="success"===e.status;this.toggleFormLoading(!1),this.recaptcha&&this.recaptcha.reset(),t(this.form).trigger(t.Event(l.SENT));var r=this.form.getAttribute("data-success-redirect");i&&r&&""!==r?window.location=r:i&&(this.form.reset(),this.feedbackTimeout=setTimeout((function(){return n.hideAllFeedback()}),this.feedbackDelay)),r||this.showFeedback(e.status,e.message),e.errorDetail&&console.error(e.errorName||"Form submission error",0===e.errorDetail.indexOf("{")?JSON.parse(e.errorDetail):e.errorDetail)},r.showFeedback=function(t,e,n){this.toggleFormLoading(!1),"object"==typeof t&&t.statusText?(clearTimeout(this.feedbackTimeout),this.feedback.error.innerHTML=(n||e)+': <em>"'+this.action+'"</em> ('+t.status+" "+e+")",this.feedback.error.classList.remove(s)):(this.feedback[t].innerHTML=e,this.feedback[t].classList.remove(s))},r.hideAllFeedback=function(){this.feedback.success.classList.add(s),this.feedback.error.classList.add(s)},r.getFeedbackElements=function(){if(!this.feedback){this.feedback={success:this.form.querySelector("[data-success-message]"),error:this.form.querySelector("[data-error-message]")},this.validationErrorMessage=this.feedback.error.innerHTML;var t=this.form.getAttribute("data-feedback-delay")||5e3;this.feedbackDelay=parseInt(t,10),this.feedbackTimeout=null}return this.feedback},r.getRecaptcha=function(){if(this.form.querySelector(R.selector.RECAPTCHA)){if(!Q)throw new Error("mrRecaptcha.js is required to handle the reCAPTCHA element in this form.");this.recaptcha=Q.getRecaptchaFromForm(this.form)}},r.toggleFormLoading=function(t){this.toggleSubmitButtonLoading(t),e.toggleDisabled(this.form.querySelectorAll("input,textarea,select"),t)},r.toggleSubmitButtonLoading=function(t){this.toggleSubmitButtonText(t),this.toggleSubmitButtonAnimation(t),e.toggleDisabled(this.submitButton,t)},r.toggleSubmitButtonAnimation=function(t){this.submitButton.classList[t?"add":"remove"]("btn-loading-animate")},r.toggleSubmitButtonText=function(t){this.submitButtonSpan.textContent=t?this.loadingText:this.originalSubmitText},e.toggleDisabled=function(t,e){R.forEach(t,(function(t,n){return n[e?"setAttribute":"removeAttribute"]("disabled","")}))},e.getInstanceFromForm=function(e){if(R.isElement(e))return t(e).data(i)||null;throw new TypeError("Form argument passed to getInstanceFromForm is not an element.")},r.setSubmitEvent=function(){var e=this;t(this.form).on(l.SUBMIT,(function(t){t.preventDefault(),e.submitForm(
5)}))},e.jQueryInterface=function(){return this.each((function(){var n=t(this),r=n.data(i);r||(r=new e(this),n.data(i,r))}))},g(e,null,[{key:"VERSION",get:function(){return"1.0.0"}}]),e}();return t(window).on(l.LOAD_DATA_API,(function(){for(var e=t.makeArray(t("[data-form-email]")),n=e.length;n--;){var i=t(e[n]);u.jQueryInterface.call(i,i.data())}})),t.fn[e]=u.jQueryInterface,t.fn[e].Constructor=u,t.fn[e].noConflict=function(){return t.fn[e]=a,u.jQueryInterface},u}(n);H=n,"function"==typeof l&&(H(".alert-dismissible").on("closed.bs.alert",(function(){l(document.querySelectorAll("[data-jarallax]"),"onScroll")})),H(document).on("resized.mr.overlayNav",(function(){l(document.querySelectorAll("[data-jarallax]"),"onResize")})),l(document.querySelectorAll("[data-jarallax]"),{disableParallax:/iPad|iPhone|iPod|Android/,disableVideo:/iPad|iPhone|iPod|Android/}));var z,W,G,U,K,Y,Z,J,X,tt,et,nt,it=[{featureType:"administrative.country",elementType:"labels.text",stylers:[{lightness:"29"}]},{featureType:"administrative.province",elementType:"labels.text.fill",stylers:[{lightness:"-12"},{color:"#796340"}]},{featureType:"administrative.locality",elementType:"labels.text.fill",stylers:[{lightness:"15"},{saturation:"15"}]},{featureType:"landscape.man_made",elementType:"geometry",stylers:[{visibility:"on"},{color:"#fbf5ed"}]},{featureType:"landscape.natural",elementType:"geometry",stylers:[{visibility:"on"},{color:"#fbf5ed"}]},{featureType:"poi",elementType:"labels",stylers:[{visibility:"off"}]},{featureType:"poi.attraction",elementType:"all",stylers:[{visibility:"on"},{lightness:"30"},{saturation:"-41"},{gamma:"0.84"}]},{featureType:"poi.attraction",elementType:"labels",stylers:[{visibility:"on"}]},{featureType:"poi.business",elementType:"all",stylers:[{visibility:"off"}]},{featureType:"poi.business",elementType:"labels",stylers:[{visibility:"off"}]},{featureType:"poi.medical",elementType:"geometry",stylers:[{color:"#fbd3da"}]},{featureType:"poi.medical",elementType:"labels",stylers:[{visibility:"on"}]},{featureType:"poi.park",elementType:"geometry",stylers:[{color:"#b0e9ac"},{visibility:"on"}]},{featureType:"poi.park",elementType:"labels",stylers:[{visibility:"on"}]},{featureType:"poi.park",elementType:"labels.text.fill",stylers:[{hue:"#68ff00"},{lightness:"-24"},{gamma:"1.59"}]},{featureType:"poi.sports_complex",elementType:"all",stylers:[{visibility:"on"}]},{featureType:"poi.sports_complex",elementType:"geometry",stylers:[{saturation:"10"},{color:"#c3eb9a"}]},{featureType:"road",elementType:"geometry.stroke",stylers:[{visibility:"on"},{lightness:"30"},{color:"#e7ded6"}]},{featureType:"road",elementType:"labels",stylers:[{visibility:"on"},{saturation:"-39"},{lightness:"28"},{gamma:"0.86"}]},{featureType:"road.highway",elementType:"geometry.fill",stylers:[{color:"#ffe523"},{visibility:"on"}]},{featureType:"road.highway",elementType:"geometry.stroke",stylers:[{visibility:"on"},{saturation:"0"},{gamma:"1.44"},{color:"#fbc28b"}]},{featureType:"road.highway",elementType:"labels",stylers:[{visibility:"on"},{saturation:"-40"}]},{featureType:"road.arterial",elementType:"geometry",stylers:[{color:"#fed7a5"}]},{featureType:"road.arterial",elementType:"geometry.fill",stylers:[{visibility:"on"},{gamma:"1.54"},{color:"#fbe38b"}]},{featureType:"road.local",elementType:"geometry.fill",stylers:[{color:"#ffffff"},{visibility:"on"},{gamma:"2.62"},{lightness:"10"}]},{featureType:"road.local",elementType:"geometry.stroke",stylers:[{visibility:"on"},{weight:"0.50"},{gamma:"1.04"}]},{featureType:"transit.station.airport",elementType:"geometry.fill",stylers:[{color:"#dee3fb"}]},{featureType:"water",elementType:"geometry",stylers:[{saturation:"46"},{color:"#a4e1ff"}]}],rt=function(t){var e="mrMaps",n="mr.maps",i=t.fn[e],r="data-marker-image",a="loaded.mr.maps",o={MARKER_IMAGE_URL:"assets/img/map-marker.png",MAP:{disableDefaultUI:!0,draggable:!0,scrollwheel:!1,zoom:17,zoomControl:!1}};o.MAP.styles=void 0!==it?it:void 0;var s=function(){function e(e){this.element=e,this.$element=t(e),this.markers=[],this.geocoder=new google.maps.Geocoder,this.markerElements=this.$element.find("div.map-marker"),this.styleElement=this.$element.find("div.map-style").first(),this.initMap(),this.createMarkers()}e.init=function(){for(var n=t.makeArray(t("[data-maps-api-key]")),i=n.length;i--;){var r=t(n[i]);e.jQueryInterface.call(r,r.data())}};var i=e.prototype;return i.initMap=function(){var n,i=this,r=this.element,s=this.$element,l=void 0!==s.attr("data-zoom-control
5s"),u=void 0!==s.attr("data-zoom-controls")&&s.attr("data-zoom-controls"),c=void 0!==s.attr("data-latlong")&&s.attr("data-latlong"),h=!!c&&parseFloat(c.substr(0,c.indexOf(","))),f=!!c&&parseFloat(c.substr(c.indexOf(",")+1)),d=s.attr("data-address")||"",m={};try{m.styles=this.styleElement.length?JSON.parse(this.styleElement.html().trim()):void 0}catch(n){throw new Error(n)}if(m.zoom=s.attr("data-map-zoom")?parseInt(s.attr("data-map-zoom"),10):void 0,m.zoomControl=l,m.zoomControlOptions=!1!==u?{position:google.maps.ControlPosition[u]}:void 0,n=jQuery.extend({},o.MAP,m),this.map=new google.maps.Map(r,n),google.maps.event.addListenerOnce(this.map,"center_changed",(function(){var e=t.Event(a,{map:i.map});s.trigger(e)})),void 0!==h&&""!==h&&!1!==h&&void 0!==f&&""!==f&&!1!==f)this.map.setCenter(new google.maps.LatLng(h,f));else{if(""===d)throw new Error("No valid address or latitude/longitude pair provided for map.");this.geocodeAddress(d,e.centerMap,this,this.map)}},i.geocodeAddress=function(t,e,n,i){this.geocoder.geocode({address:t},(function(r,a){if(a!==google.maps.GeocoderStatus.OK)throw new Error('There was a problem geocoding the address "'+t+'".');e(r,n,i)}))},e.centerMap=function(t,e){e.map.setCenter(t[0].geometry.location)},e.moveMarker=function(t,e,n){n.setPosition(t[0].geometry.location)},i.createMarkers=function(){var n=this;o.MARKER={icon:{url:this.$element.attr(r)||o.MARKER_IMAGE_URL,scaledSize:new google.maps.Size(50,50)},title:"",optimised:!1},this.markerElements.each((function(i,a){var s,l=t(a),u=l.attr("data-address"),c=l.attr("data-latlong"),h=l.find("div.info-window"),f={title:l.attr("data-marker-title")};f.icon=void 0!==l.attr(r)?{url:l.attr(r),scaledSize:new google.maps.Size(50,50)}:void 0;var d=jQuery.extend({},o.MARKER,f);if(s=new google.maps.Marker(jQuery.extend({},d,{map:n.map})),h.length){var m=new google.maps.InfoWindow({content:h.first().html(),maxWidth:parseInt(h.attr("data-max-width")||"250",10)});s.addListener("click",(function(){m.open(n.map,s)}))}if(c)/(-?\d+(\.\d+)?),\s*(-?\d+(\.\d+)?)/.test(c)&&(s.setPosition(new google.maps.LatLng(parseFloat(c.substr(0,c.indexOf(","))),parseFloat(c.substr(c.indexOf(",")+1)))),n.markers[i]=s);else{if(!u)throw s=null,new Error("Invalid data-address or data-latlong provided for marker "+(i+1));n.geocodeAddress(u,e.moveMarker,n,s),n.markers[i]=s}}))},e.jQueryInterface=function(){return this.each((function(){var i=t(this),r=i.data(n);r||(r=new e(this),i.data(n,r))}))},g(e,null,[{key:"VERSION",get:function(){return"1.1.0"}}]),e}();if(document.querySelector("[data-maps-api-key]")&&!document.querySelector(".gMapsAPI")&&t("[data-maps-api-key]").length){var l=t("[data-maps-api-key]:first").attr("data-maps-api-key")||"";if(""!==l){var u=document.createElement("script");u.type="text/javascript",u.src="https://maps.googleapis.com/maps/api/js?key="+l+"&callback=theme.mrMaps.init",u.className="gMapsAPI",document.body.appendChild(u)}}return t.fn[e]=s.jQueryInterface,t.fn[e].Constructor=s,t.fn[e].noConflict=function(){return t.fn[e]=i,s.jQueryInterface},s}(jQuery),at=(W="mrOverlayNav",U="."+(G="mr.overlayNav"),K=(z=n).fn[W],Y={RESIZE:"resize"+U,RESIZED:"resized"+U,IMAGE_LOAD:"load",TOGGLE_SHOW:"show.bs.collapse",TOGGLE_HIDDEN:"hidden.bs.collapse",NOTIFICATION_CLOSE:"",ALERT_CLOSE:"close.bs.alert"},"body > div.navbar-container","body > div.navbar-container > nav[data-overlay]","nav","[data-overlay]","img",Z=function(){function t(e){this.ticking=!1,this.element=e,this.navHeight=this.getNavHeight(),this.navToggled=!1,this.container=t.getContainerElement(),this.overlayElement=t.getFirstOverlayElement(),this.setImageLoadEvent(),this.updateValues(),this.setResizeEvent(),this.setNavToggleEvents()}var e=t.prototype;return e.getNavHeight=function(){this.navHeight=this.element.getBoundingClientRect().height},e.updateValues=function(){this.getNavHeight(),this.updateContainer(),this.updateOverlayElement(),z(this.element).trigger(z.Event(Y.RESIZED))},e.updateContainer=function(){this.container&&!this.navToggled&&(this.container.style.minHeight=this.navHeight+"px",this.container.style.marginBottom="-"+this.navHe
5ight+"px")},e.updateOverlayElement=function(){this.overlayElement&&!this.navToggled&&this.overlayElement.style.setProperty("padding-top",this.navHeight+"px","important")},e.setResizeEvent=function(){var t=this;z(window).on(Y.RESIZE+" "+Y.ALERT_CLOSE,(function(){t.ticking||(window.requestAnimationFrame((function(){t.updateValues(),t.ticking=!1})),t.ticking=!0)}))},e.setNavToggleEvents=function(){var t=this;z(this.element).on(""+Y.TOGGLE_SHOW,(function(){t.navToggled=!0})),z(this.element).on(""+Y.TOGGLE_HIDDEN,(function(){t.navToggled=!1}))},e.setImageLoadEvent=function(){var t=this,e=this.container.querySelectorAll("img");R.forEach(e,(function(e,n){n.addEventListener(Y.IMAGE_LOAD,(function(){return t.updateValues()}))}))},t.getContainerElement=function(){return this.container||(this.container=document.querySelector("body > div.navbar-container")),this.container},t.getFirstOverlayElement=function(){return document.querySelector("[data-overlay]:not(nav)")},t.jQueryInterface=function(){return this.each((function(){var e=z(this),n=e.data(G);n||(n=new t(this),e.data(G,n))}))},g(t,null,[{key:"VERSION",get:function(){return"1.1.0"}}]),t}(),z(document).ready((function(){for(var t=z.makeArray(z("body > div.navbar-container > nav[data-overlay]")),e=t.length;e--;){var n=z(t[e]);Z.jQueryInterface.call(n,n.data())}})),z.fn[W]=Z.jQueryInterface,z.fn[W].Constructor=Z,z.fn[W].noConflict=function(){return z.fn[W]=K,Z.jQueryInterface},Z);J=n,X="show.bs.collapse",tt=document.querySelector("body > div.navbar-container"),et=document.querySelector(".navbar-container > .navbar"),J(tt).on(X+" hide.bs.collapse",(function(t){var e=t.type+"."+t.namespace===X?"add":"remove";et.classList[e]("navbar-toggled-show")})),u.setup("[data-provider],.plyr"),(nt=n)(document).on("hide.bs.tab",(function(t){nt(nt(t.target).attr("href")).find('[data-toggle="popover"]').popover("hide")})),nt(document).on("hide.bs.collapse",(function(t){nt(t.target).find('[data-toggle="popover"]').popover("hide")}));var ot=function(t){if(void 0===r)throw new Error("mrReadingPosition requires scrollMonitor.js (https://github.com/stutrek/scrollMonitor)");var e="mrReadingPosition",n="mr.readingPosition",i=t.fn[e],a="reading-position-hidden",o="load.mr.readingPosition.data-api",s="resize",l="scroll",u=document.querySelectorAll("progress.reading-position"),c=function(){return(0===document.documentElement.scrollTop?document.body.scrollTop:document.documentElement.scrollTop)||0},h=function(){function e(t){this.progressBars=u,this.element=t,this.top=0,this.bottom=0,this.height=0,this.scrollLength=0,this.articlePositionPercent=0,this.ticking=!1,this.inView=!1,this.reading=!1,this.initWatcher(t),this.initBarValues(),this.setValue(c()),this.setScrollEvent(),this.setResizeEvent()}var i=e.prototype;return i.initWatcher=function(t){var e=this,n=r.create(t);this.watcher=n,this.recalculateAll(),n.stateChange((function(){e.inView=n.isInViewport,e.reading=n.isAboveViewport&&n.isFullyInViewport,e.toggleBars(e.reading)}))},i.initBarValues=function(){R.forEach(this.progressBars,(function(t,e){e.setAttribute("max",100)}))},i.setValue=function(t){var e=this;this.recalculatePercentage(t),R.forEach(this.progressBars,(function(t,n){n.setAttribute("value",e.articlePositionPercent)}))},i.toggleBars=function(t){R.forEach(this.progressBars,(function(e,n){t?n.classList.remove(a):n.classList.add(a)}))},i.setScrollEvent=function(){var t=this;window.addEventListener(l,(function(){var e=c();!t.ticking&&t.inView&&t.reading&&(window.requestAnimationFrame((function(){t.setValue(e),t.ticking=!1})),t.ticking=!0)}))},i.setResizeEvent=function(){var t=this;window.addEventListener(s,(function(){return t.recalculateAll()}))},i.recalculateAll=function(){this.watcher.recalculateLocation(),this.top=this.watcher.top,this.bottom=this.watcher.bottom,this.height=this.watcher.height,this.scrollLength=this.height-Math.max(document.documentElement.clientHeight,window.innerHeight||0),this.recalculatePercentage(c())},i.recalculatePercentage=function(t){this.articlePositionPercent=t?(t-this.top)/this.scrollLength*100:0},e.jQueryInterface=function(){return this.each((function(){var i=t(this),r=i.data(n);r||(r=new e(this),i.data(n,r))}))},g(e,null,[{key:"VERSION",get:function(){return"1.0.0"}}]),e}();return t(window).on(o,(function(){if(0!==u.length)for(var e=t.makeArray(t("[data-reading-position]")),n=e.length;n--;){var i=t(e[n]);h.jQueryInterface.call(i,i.data())}})),t.fn[e]=h.jQueryInterface,t.fn[e].Constructor=h,t.fn[e].noConflict=function(){return t.fn[e]=i,h.jQueryInterface},h}(jQuery),st=new h("a[data-smooth-scroll]",{offset:n("body").attr("data-smooth-scroll-offset")||0}),lt=function(t){if(void 0===r)throw new Error("mrSticky requires scrollMonitor.js (https://github.com/stutrek/scrollMonitor)");var e="mrSticky",n="mr.sticky",i=t.fn[e],a="position-fixed",o="sticky-bottom",s="min-height",l="load.mr.sticky.data-api",u="resize",c="closed.bs.alert",h="show.bs.collapse",f="hidden.bs.collapse",d=function(){function e(e){var n=t(e),i=n.data("sticky"),r=n.closest("section")||null;this.element=e,this.stickBelowNav="below-nav"===i,this.stickBottom="bottom"===i,this.stickyUntil=r,this.navToggled=!1,this.updateNavProperties(),this.isNavElement=n.is(this.navElement),this.initWatcher(n),this.updateCss(),this.setResizeEvent(),this.onWatcherChange(n),this.ticking=!1,this.isNavElement&&this.setNavToggleEvents()}var i=e.prototype;return i.initWatcher=function(e){var n=this,i=t(e),s=!this.isNavElement,l=this.stickBelowNav&&this.navIsSticky&&s?{top:this.navHe
5ight}:0;l=this.stickBottom&&s?{bottom:-i.outerHeight}:l;var u=r.create(e,l);u.lock();var c=null!==this.stickyUntil?r.create(this.stickyUntil,{bottom:-(u.height+l.top)}):null;this.watcher=u,this.untilWatcher=c,this.navHeight=this.navHeight,this.isNavElement&&0===u.top&&!this.navIsAbsolute&&i.addClass(a),u.stateChange((function(){n.onWatcherChange(i)})),null!==c&&(c.exitViewport((function(){i.addClass(o)})),c.enterViewport((function(){i.removeClass(o)})))},i.onWatcherChange=function(t){t.toggleClass(a,this.watcher.isAboveViewport||!this.navIsAbsolute&&!this.stickBottom&&this.isNavElement&&0===this.watcher.top),t.toggleClass("scrolled",this.watcher.isAboveViewport&&this.isNavElement&&!this.stickBottom),t.toggleClass("sticky-viewport-bottom",(this.watcher.isFullyInViewport||this.watcher.isAboveViewport)&&this.stickBottom),this.stickBottom||t.css("top",this.watcher.isAboveViewport&&this.navIsSticky&&this.stickBelowNav?this.navHeight:0)},i.setResizeEvent=function(){var e=this;t(".alert-dismissible").on(c,(function(){e.watcher.isInViewport&&(e.watcher.unlock(),e.watcher.recalculateLocation(),e.watcher.lock()),e.onResize()})),t(window).on(u,(function(){e.onResize()}))},i.onResize=function(){var t=this;this.ticking||(window.requestAnimationFrame((function(){t.updateCss(),t.ticking=!1})),this.ticking=!0)},i.setNavToggleEvents=function(){var e=this;t(this.element).on(""+h,(function(){e.navToggled=!0})),t(this.element).on(""+f,(function(){e.navToggled=!1}))},i.updateCss=function(){var e=t(this.element);e.css("max-width",e.parent().width()),this.updateNavProperties();var n=e.outerHeight(),i=!this.isNavElement;(!this.navIsAbsolute&&this.isNavElement||i)&&(this.navToggled||e.parent().css(s,n)),this.navIsSticky&&i&&e.css(s,n)},i.updateNavProperties=function(){var e=this.navElement||t('body > div.navbar-container [data-sticky="top"]').first();this.navElement=e,this.navHeight=e.outerHeight(),this.navIsAbsolute="absolute"===e.css("position"),this.navIsSticky=0<e.length},e.jQueryInterface=function(){return this.each((function(){var i=t(this),r=i.data(n);r||(r=new e(this),i.data(n,r))}))},g(e,null,[{key:"VERSION",get:function(){return"1.4.0"}}]),e}();return t(window).on(l,(function(){for(var e=t.makeArray(t("[data-sticky]")),n=e.length;n--;){var i=t(e[n]);d.jQueryInterface.call(i,i.data())}})),t.fn[e]=d.jQueryInterface,t.fn[e].Constructor=d,t.fn[e].noConflict=function(){return t.fn[e]=i,d.jQueryInterface},d}(n),ut=Math.ceil,ct=Math.floor,ht=function(t){return isNaN(t=+t)?0:(0<t?ct:ut)(t)},ft=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t},dt=function(t){return function(e,n){var i,r,a=String(ft(e)),o=ht(n),s=a.length;return o<0||s<=o?t?"":void 0:(i=a.charCodeAt(o))<55296||56319<i||o+1===s||(r=a.charCodeAt(o+1))<56320||57343<r?t?a.charAt(o):i:t?a.slice(o,o+2):r-56320+(i-55296<<10)+65536}},mt={codeAt:dt(!1),charAt:dt(!0)},pt="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function gt(t,e){return t(e={exports:{}},e.exports),e.exports}var yt,vt,bt,wt="object",Et=function(t){return t&&t.Math==Math&&t},At=Et(typeof globalThis==wt&&globalThis)||Et(typeof window==wt&&window)||Et(typeof self==wt&&self)||Et(typeof pt==wt&&pt)||Function("return this")(),kt=function(t){try{return!!t()}catch(t){return!0}},St=!kt((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})),Tt=function(t){return"object"==typeof t?null!==t:"function"==typeof t},It=At.document,Ot=Tt(It)&&Tt(It.createElement),jt=function(t){return Ot?It.createElement(t):{}},Vt=!St&&!kt((function(){return 7!=Object.defineProperty(jt("div"),"a",{get:function(){return 7}}).a})),xt=function(t){if(!Tt(t))throw TypeError(String(t)+" is not an object");return t},Ct=function(t,e){if(!Tt(t))return t;var n,i;if(e&&"function"==typeof(n=t.toString)&&!Tt(i=n.call(t)))return i;if("function"==typeof(n=t.valueOf)&&!Tt(i=n.call(t)))return i;if(!e&&"function"==typeof(n=t.toString)&&!Tt(i=n.call(t)))return i;throw TypeError("Can't convert object to primitive value")},Pt=Object.defineProperty,Mt={f:St?Pt:function(t,e,n){if(xt(t),e=Ct(e,!0),xt(n),Vt)try{return Pt(t,e,n)}catch(t){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(t[e]=n.value),t}},Ft=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}},Nt=St?function(t,e,n){return Mt.f(t,e,Ft(1,n))}:function(t,e,n){return t[e]=n,t},Dt=function(t,e){try{Nt(At,t,e)}catch(n){At[t]=e}return e},Lt=gt((function(t){var e="__core-js_shared__",n=At[e]||Dt(e,{});(t.exports=function(t,e){return n[t]||(n[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.2.1",mode:"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})})),Rt=Lt("native-function-to-string",Function.toString),_t=At.WeakMap,qt="function"==typeof _t&&/native code/.test(Rt.call(_t)),Ht={}.hasOwnProperty,Qt=function(t,e){return Ht.call(t,e)},Bt=0,zt=Math.random(),Wt=function(t){return"Symbol("+String(void 0===t?"":t)+")_"+(++Bt+zt).toString(36)},Gt=Lt("keys"),Ut=function(t){return Gt[t]||(Gt[t]=Wt(t))},Kt={},Yt=At.WeakMap;if(qt){var $t=new Yt,Zt=$t.get,Jt=$t.has,Xt=$t.set;yt=function(t,e){return Xt.call($t,t,e),e},vt=function(t){return Zt.call($t,t)||{}},bt=function(t){return Jt.call($t,t)}}else{var te=Ut("state");Kt[te]=!0,yt=function(t,e){return Nt(t,te,e),e},vt=function(t){return Qt(t,te)?t[te]:{}},bt=function(t){return Qt(t,te)}}var ee,ne,ie,re={set:yt,get:vt,has:bt,enforce:function(t){return bt(t)?vt(t):yt(t,{})},getterFor:function(t){return function(e){var n;if(!Tt(e)||(n=vt(e)).type!==t)throw TypeError("Incompatible receiver, "+t+" required");return n}}},ae={}.propertyIsEnumerable,oe=Object.getOwnPropertyDescriptor,se={f:oe&&!ae.call({1:2},1)?function(t){var e=oe(this,t);return!!e&&e.enumerable}:ae},le={}.toString,ue=function(t){return le.call(t).slice(8,-1)},ce="".split,he=kt((function(){return!Object("z").propertyIsEnumerable(0)}))?function(t){return"String"==ue(t)?ce.call(t,""):Object(t)}:Object,fe=function(t){return he(ft(t))},de=Object.getOwnPropertyDescriptor,me={f:St?de:function(t,e){if(t=fe(t),e=Ct(e,!0),Vt)try{return de(t,e)}catch(t){}if(Qt(t,e))return Ft(!se.f.call(t,e),t[e])}},pe=gt((function(t){var e=re.get,n=re.enforce,i=String(Rt).split("toString");Lt("inspectSource",(function(t){return Rt.call(t)}
5)),(t.exports=function(t,e,r,a){var o=!!a&&!!a.unsafe,s=!!a&&!!a.enumerable,l=!!a&&!!a.noTargetGet;"function"==typeof r&&("string"!=typeof e||Qt(r,"name")||Nt(r,"name",e),n(r).source=i.join("string"==typeof e?e:"")),t!==At?(o?!l&&t[e]&&(s=!0):delete t[e],s?t[e]=r:Nt(t,e,r)):s?t[e]=r:Dt(e,r)})(Function.prototype,"toString",(function(){return"function"==typeof this&&e(this).source||Rt.call(this)}))})),ge=At,ye=function(t){return"function"==typeof t?t:void 0},ve=function(t,e){return arguments.length<2?ye(ge[t])||ye(At[t]):ge[t]&&ge[t][e]||At[t]&&At[t][e]},be=Math.min,we=function(t){return 0<t?be(ht(t),9007199254740991):0},Ee=Math.max,Ae=Math.min,ke=function(t){return function(e,n,i){var r,a=fe(e),o=we(a.length),s=function(t,e){var n=ht(t);return n<0?Ee(n+e,0):Ae(n,e)}(i,o);if(t&&n!=n){for(;s<o;)if((r=a[s++])!=r)return!0}else for(;s<o;s++)if((t||s in a)&&a[s]===n)return t||s||0;return!t&&-1}},Se=(ke(!0),ke(!1)),Te=function(t,e){var n,i=fe(t),r=0,a=[];for(n in i)!Qt(Kt,n)&&Qt(i,n)&&a.push(n);for(;e.length>r;)Qt(i,n=e[r++])&&(~Se(a,n)||a.push(n));return a},Ie=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],Oe=Ie.concat("length","prototype"),je={f:Object.getOwnPropertyNames||function(t){return Te(t,Oe)}},Ve={f:Object.getOwnPropertySymbols},xe=ve("Reflect","ownKeys")||function(t){var e=je.f(xt(t)),n=Ve.f;return n?e.concat(n(t)):e},Ce=function(t,e){for(var n=xe(e),i=Mt.f,r=me.f,a=0;a<n.length;a++){var o=n[a];Qt(t,o)||i(t,o,r(e,o))}},Pe=/#|\.prototype\./,Me=function(t,e){var n=Ne[Fe(t)];return n==Le||n!=De&&("function"==typeof e?kt(e):!!e)},Fe=Me.normalize=function(t){return String(t).replace(Pe,".").toLowerCase()},Ne=Me.data={},De=Me.NATIVE="N",Le=Me.POLYFILL="P",Re=Me,_e=me.f,qe=function(t,e){var n,i,r,a,o,s=t.target,l=t.global,u=t.stat;if(n=l?At:u?At[s]||Dt(s,{}):(At[s]||{}).prototype)for(i in e){if(a=e[i],r=t.noTargetGet?(o=_e(n,i))&&o.value:n[i],!Re(l?i:s+(u?".":"#")+i,t.forced)&&void 0!==r){if(typeof a==typeof r)continue;Ce(a,r)}(t.sham||r&&r.sham)&&Nt(a,"sham",!0),pe(n,i,a,t)}},He=function(t){return Object(ft(t))},Qe=!kt((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype})),Be=Ut("IE_PROTO"),ze=Object.prototype,We=Qe?Object.getPrototypeOf:function(t){return t=He(t),Qt(t,Be)?t[Be]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?ze:null},Ge=!!Object.getOwnPropertySymbols&&!kt((function(){return!String(Symbol())})),Ue=At.Symbol,Ke=Lt("wks"),Ye=function(t){return Ke[t]||(Ke[t]=Ge&&Ue[t]||(Ge?Ue:Wt)("Symbol."+t))},$e=Ye("iterator"),Ze=!1;[].keys&&("next"in(ie=[].keys())?(ne=We(We(ie)))!==Object.prototype&&(ee=ne):Ze=!0),null==ee&&(ee={}),Qt(ee,$e)||Nt(ee,$e,(function(){return this}));var Je={IteratorPrototype:ee,BUGGY_SAFARI_ITERATORS:Ze},Xe=Object.keys||function(t){return Te(t,Ie)},tn=St?Object.defineProperties:function(t,e){xt(t);for(var n,i=Xe(e),r=i.length,a=0;a<r;)Mt.f(t,n=i[a++],e[n]);return t},en=ve("document","documentElement"),nn=Ut("IE_PROTO"),rn="prototype",an=function(){},on=function(){var t,e=jt("iframe"),n=Ie.length;for(e.style.display="none",en.appendChild(e),e.src=String("javascript:"),(t=e.contentWindow.document).open(),t.write("<script>document.F=Object<\/script>"),t.close(),on=t.F;n--;)delete on[rn][Ie[n]];return on()},sn=Object.create||function(t,e){var n;return null!==t?(an[rn]=xt(t),n=new an,an[rn]=null,n[nn]=t):n=on(),void 0===e?n:tn(n,e)};Kt[nn]=!0;var ln=Mt.f,un=Ye("toStringTag"),cn=function(t,e,n){t&&!Qt(t=n?t:t.prototype,un)&&ln(t,un,{configurable:!0,value:e})},hn={},fn=Je.IteratorPrototype,dn=function(){return this},mn=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,n={};try{(t=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(n,[]),e=n instanceof Array}catch(n){}return function(n,i){return xt(n),function(t){if(!Tt(t)&&null!==t)throw TypeError("Can't set "+String(t)+" as a prototype")}(i),e?t.call(n,i):n.__proto__=i,n}}():void 0),pn=Je.IteratorPrototype,gn=Je.BUGGY_SAFARI_ITERATORS,yn=Ye("iterator"),vn="values",bn="entries",wn=function(){return this},En=mt.charAt,An="String Iterator",kn=re.set,Sn=re.getterFor(An);!function(t,e,n,i,r,a,o){!function(t,e,n){var i=e+" Iterator";t.prototype=sn(fn,{next:Ft(1,n)}),cn(t,i,!1),hn[i]=dn}(n,e,(function(){var t,e=Sn(this),n=e.string,i=e.index;return i>=n.length?{value:void 0,done:!0}:(t=En(n,i),e.index+=t.length,{value:t,done:!1})}));var s,l=function(t){if(t===r&&f)return f;if(!gn&&t in c)return c[t];switch(t){case"keys":case vn:case bn:return function(){return new n(this,t)}}return function(){return new n(this)}},u=e+" Iterator",c=t.prototype,h=c[yn]||c["@@iterator"]||r,f=!gn&&h||l(r);h&&(s=We(h.call(new t)),pn!==Object.prototype&&s.next&&(We(s)!==pn&&(mn?mn(s,pn):"function"!=typeof s[yn]&&Nt(s,yn,wn)),cn(s,u,!0))),c[yn]!==f&&Nt(c,yn,f),hn[e]=f}(String,"String",(function(t){kn(this,{type:An,string:String(t),index:0})}));var Tn=function(t,e,n,i){try{return i?e(xt(n)[0],n[1]):e(n)}catch(e){var r=t.return;throw void 0!==r&&xt(r.call(t)),e}},In=Ye("iterator"),On=Array.prototype,jn=function(t,e,n){var i=Ct(e);i in t?Mt.f(t,i,Ft(0,n)):t[i]=n},Vn=Ye("toStringTag"),xn="Arguments"==ue(function(){return arguments}()),Cn=Ye("iterator"),Pn=Ye("iterator"),Mn=!1;try{var Fn=0,Nn={next:function(){return{done:!!Fn++}},return:function(){Mn=!0}};Nn[Pn]=function(){return this},Array.from(Nn,(function(){throw 2}))}catch(t){}var Dn=!function(t,e){if(!Mn)return!1;var n=!1;try{var i={};i[Pn]=function(){return{next:function(){return{done:n=!0}}}},function(t){Array.from(t)}(i)}catch(t){}return n}();qe({target:"Array",stat:!0,forced:Dn},{from:function(t){var e,n,i,r,a=He(t),o="function"==typeof this?this:Array,s=arguments.length,l=1<s?arguments[1]:void 0,u=void 0!==l,c=0,h=function(t){if(null!=t)return t[Cn]||t["@@iterator"]||hn[function(t){var e,n,i;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=function(t,e){try{return t[e]}catch(t){}}
5(e=Object(t),Vn))?n:xn?ue(e):"Object"==(i=ue(e))&&"function"==typeof e.callee?"Arguments":i}(t)]}(a);if(u&&(l=function(t,e,n){if(function(t){if("function"!=typeof t)throw TypeError(String(t)+" is not a function")}(t),void 0===e)return t;switch(n){case 0:return function(){return t.call(e)};case 1:return function(n){return t.call(e,n)};case 2:return function(n,i){return t.call(e,n,i)};case 3:return function(n,i,r){return t.call(e,n,i,r)}}return function(){return t.apply(e,arguments)}}(l,2<s?arguments[2]:void 0,2)),null==h||o==Array&&function(t){return void 0!==t&&(hn.Array===t||On[In]===t)}(h))for(n=new o(e=we(a.length));c<e;c++)jn(n,c,u?l(a[c],c):a[c]);else for(r=h.call(a),n=new o;!(i=r.next()).done;c++)jn(n,c,u?Tn(r,l,[i.value,c],!0):i.value);return n.length=c,n}}),ge.Array.from,R.isIE()&&window.addEventListener("load",(function(){f.SVGInjector(document.querySelectorAll("[class][data-inject-svg]"))})),f.SVGInjector(document.querySelectorAll("[data-inject-svg]"));var Ln=function(t){if("function"!=typeof d)throw new Error("mrTypedText requires typed.js (https://github.com/mattboldt/typed.js/)");if(void 0===r)throw new Error("mrTypedText requires scrollMonitor.js (https://github.com/stutrek/scrollMonitor)");var e="mrTypedText",n="mr.typedText",i=t.fn[e],a=function(){function e(e){this.element=e;var n=t(e);this.Typed=new d(this.element,n.data()),this.initWatcher(e)}return e.jQueryInterface=function(){return this.each((function(){var i=t(this),r=i.data(n);r||(r=new e(this),i.data(n,r))}))},e.prototype.initWatcher=function(t){var e=this,n=r.create(t);n.stateChange((function(){n.isInViewport?e.Typed.start():e.Typed.stop()}))},g(e,null,[{key:"VERSION",get:function(){return"1.0.0"}}]),e}();return t(window).on("load.mr.typedText.data-api",(function(){for(var e=t.makeArray(t("[data-typed-text]")),n=e.length;n--;){var i=t(e[n]);a.jQueryInterface.call(i,i.data())}})),t.fn[e]=a.jQueryInterface,t.fn[e].Constructor=a,t.fn[e].noConflict=function(){return t.fn[e]=i,a.jQueryInterface},a}(n);n(document).ready((function(){})),function(){if("undefined"==typeof $)throw new TypeError("Medium Rare JavaScript requires jQuery. jQuery must be included before theme.js.")}(),t.mrCountdown=F,t.mrCountup=L,t.mrDropdownGrid=_,t.mrFlatpickr=q,t.mrFormEmail=B,t.mrIonRangeSlider=undefined,t.mrIsotope=undefined,t.mrMaps=rt,t.mrMapsStyle=it,t.mrOverlayNav=at,t.mrReadingPosition=ot,t.mrSmoothScroll=st,t.mrSticky=lt,t.mrTypedText=Ln,t.mrUtil=R,Object.defineProperty(t,"__esModule",{value:!0})}));

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.