/*! For license information please see main.js.LICENSE.txt */ !function(){var e={704:function(e,t,n){var i;function o(e){return o="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},o(e)}e=n.nmd(e),function(){var r,a="Expected a function",l=/^\s+|\s+$/g,c=/^[-+]0x[0-9a-f]+$/i,u=/^0b[01]+$/i,s=/^0o[0-7]+$/i,d=parseInt,f="object"==(void 0===n.g?"undefined":o(n.g))&&n.g&&n.g.Object===Object&&n.g,m="object"==("undefined"==typeof self?"undefined":o(self))&&self&&self.Object===Object&&self,g=f||m||Function("return this")(),p="object"==o(t)&&t&&!t.nodeType&&t,h=p&&"object"==o(e)&&e&&!e.nodeType&&e,v=Object.prototype,y=v.hasOwnProperty,b=v.toString,w=g.Symbol,S=w?w.toStringTag:r,x=Math.max,E=Math.min;function _(){}function A(e){return null==e?e===r?"[object Undefined]":"[object Null]":S&&S in Object(e)?function(e){var t=y.call(e,S),n=e[S];try{e[S]=r;var i=!0}catch(e){}var o=b.call(e);i&&(t?e[S]=n:delete e[S]);return o}(e):function(e){return b.call(e)}(e)}var L=function(){return g.Date.now()};function q(e,t,n){var i,o,l,c,u,s,d=0,f=!1,m=!1,g=!0;if("function"!=typeof e)throw new TypeError(a);function p(t){var n=i,a=o;return i=o=r,d=t,c=e.apply(a,n)}function h(e){var n=e-s;return s===r||n>=t||n<0||m&&e-d>=l}function v(){var e=L();if(h(e))return y(e);u=setTimeout(v,function(e){var n=t-(e-s);return m?E(n,l-(e-d)):n}(e))}function y(e){return u=r,g&&i?p(e):(i=o=r,c)}function b(){var e=L(),n=h(e);if(i=arguments,o=this,s=e,n){if(u===r)return function(e){return d=e,u=setTimeout(v,t),f?p(e):c}(s);if(m)return u=setTimeout(v,t),p(s)}return u===r&&(u=setTimeout(v,t)),c}return t=P(t)||0,T(n)&&(f=!!n.leading,l=(m="maxWait"in n)?x(P(n.maxWait)||0,t):l,g="trailing"in n?!!n.trailing:g),b.cancel=function(){u!==r&&clearTimeout(u),d=0,i=s=o=u=r},b.flush=function(){return u===r?c:y(L())},b}function T(e){var t=o(e);return null!=e&&("object"==t||"function"==t)}function k(e){return null!=e&&"object"==o(e)}function M(e){return"symbol"==o(e)||k(e)&&"[object Symbol]"==A(e)}function P(e){if("number"==typeof e)return e;if(M(e))return NaN;if(T(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=T(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(l,"");var n=u.test(e);return n||s.test(e)?d(e.slice(2),n?2:8):c.test(e)?NaN:+e}_.debounce=q,_.throttle=function(e,t,n){var i=!0,o=!0;if("function"!=typeof e)throw new TypeError(a);return T(n)&&(i="leading"in n?!!n.leading:i,o="trailing"in n?!!n.trailing:o),q(e,t,{leading:i,maxWait:t,trailing:o})},_.isObject=T,_.isObjectLike=k,_.isSymbol=M,_.now=L,_.toNumber=P,_.VERSION="4.17.5","object"==o(n.amdO)&&n.amdO?(g._=_,(i=function(){return _}.call(t,n,t,e))===r||(e.exports=i)):h?((h.exports=_)._=_,p._=_):g._=_}.call(this)}},t={};function n(i){var o=t[i];if(void 0!==o)return o.exports;var r=t[i]={id:i,loaded:!1,exports:{}};return e[i].call(r.exports,r,r.exports,n),r.loaded=!0,r.exports}n.amdO={},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),n.nmd=function(e){return e.paths=[],e.children||(e.children=[]),e},function(){"use strict";const e=function(e,t,n){return``},t=function(){return Math.floor(9e9*Math.random())+1e9},i=function(e){return`\n\t\t\n\t`},o={small:window.matchMedia("(min-width: 400px)"),medium:window.matchMedia("(min-width: 768px)"),large:window.matchMedia("(min-width: 1024px)"),xlarge:window.matchMedia("(min-width: 1200px)"),xxlarge:window.matchMedia("(min-width: 1440px)"),xxxlarge:window.matchMedia("(min-width: 1920px)")},r=function(e){"loading"!==document.readyState?e():document.addEventListener?document.addEventListener("DOMContentLoaded",e,!1):document.attachEvent("onreadystatechange",function(){"complete"===document.readyState&&e()})},a=function(t,n,i){return`\n\t\t\n\t`};Object.assign;var l={elem:{component:document.querySelectorAll(".alert.br-toggle")},init:function(){l.elem.component.length>0&&l.elem.component.forEach(function(e){var t=e.querySelector("button").id,n=e.dataset.modtime,i=localStorage.getItem(t);e.toggle=Object.assign(new BRToggle(e,{accordion:!1})),(null===i||i!==n||e.classList.contains("alert--always-on"))&&(e.toggle.open(0),localStorage.setItem(t,n))})}},c={elem:{sections:document.querySelectorAll(".home > .wrapper > *, .landing > .wrapper > *"),extras:document.querySelectorAll(".featured-content__item, .hero__feature")},observer:null,init:function(){c.observer=new IntersectionObserver(c.animate,{root:null,rootMargin:"-10% 0%",threshold:0}),c.elem.sections.length>0&&c.elem.sections.forEach(function(e){e.classList.add("initial"),c.observer.observe(e)}),c.elem.extras.length>0&&c.elem.extras.forEach(function(e){e.classList.add("initial"),c.observer.observe(e)})},animate:function(e){e.forEach(function(e){e.isIntersecting&&(e.target.classList.add("animate"),c.observer.unobserve(e.target))})}},u={elem:{cards:document.querySelectorAll(".component:has(.card)"),callout:document.querySelectorAll(".callout-grid"),explore:document.querySelectorAll(".explore"),timeline:document.querySelectorAll(".timeline")},mql:{medium:window.matchMedia("(min-width: 768px)"),large:window.matchMedia("(min-width: 1024px)")},init:function(){(u.elem.cards.length>0||u.elem.explore.length>0||u.elem.callout.length>0||u.elem.timeline.length>0)&&(window.addEventListener("resize",u.resize),setTimeout(u.resize,100))},equalize:function(e,t){var n=e.querySelectorAll(t),i=0;n.forEach(function(e){e.style.height="auto",e.offsetHeight>i&&(i=e.offsetHeight)}),u.mql.medium.matches&&n.forEach(function(e){e.style.height=i+"px"})},resize:function(){u.elem.cards.length>0&&u.elem.cards.forEach(function(e){u.equalize(e,".card__heading")}),u.elem.callout.length>0&&u.elem.callout.forEach(function(e){u.equalize(e,".card-callout__heading")}),u.elem.explore.length>0&&u.elem.explore.forEach(function(e){u.equalize(e,".explore__heading"),u.equalize(e,".explore__desc")}),u.elem.timeline.length>0&&u.elem.timeline.forEach(function(e){u.equalize(e,".timeline__heading")})}},s={elem:{accordion:document.querySelectorAll(".header .br-toggle"),body:document.querySelector("body"),items:document.querySelectorAll(".header a, .header button, .header input"),menuToggle:document.querySelector(".header__toggle__menu"),buttonPeople:document.querySelectorAll(".btn-search--people"),searchInput:document.querySelector("#search-input-desktop"),searchToggle:document.querySelector(".header__toggle__search")},mql:{large:window.matchMedia("(min-width: 1024px)"),small:window.matchMedia("(max-width: 1023px)")},init:function(){s.elem.accordion.length>0&&s.elem.accordion.forEach(function(e){e.toggle=Object.assign(new BRToggle(e,{accordion:!0,navigation:1024,open:!1}))}),s.elem.buttonPeople.length>0&&s.elem.buttonPeople.forEach(function(e){e.addEventListener("click",s.directorySearch)}),s.elem.items.length>0&&(s.elem.itemsArray=Array.from(s.elem.items),s.elem.items.forEach(function(e){e.addEventListener("keydown",s.tabtrap)})),s.elem.menuToggle&&(document.addEventListener("keydown",s.closeMenu),s.elem.menuToggle.addEventListener("click",s.toggleMenu)),s.elem.searchToggle&&s.elem.searchToggle.addEventListener("click",s.toggleSearch),window.addEventListener("resize",s.reset)},reset:function(){s.mql.large.matches?(s.elem.accordion.forEach(function(e){e.toggle.closeAll()}),s.elem.body.classList.remove("nav-open"),s.elem.menuToggle.setAttribute("aria-expanded","false"),s.elem.menuToggle.querySelector(".show-for-sr").innerHTML="Open navigation"):(s.elem.searchInput.setAttribute("aria-hidden","true"),s.elem.searchInput.querySelectorAll("input").forEach(function(e){e.setAttribute("tabindex","-1")}),s.elem.searchInput.querySelectorAll("button").forEach(function(e){e.setAttribute("tabindex","-1")}),s.elem.searchToggle.setAttribute("aria-expanded",!1),s.elem.searchToggle.querySelector(".show-for-sr").innerHTML="Open search")},closeMenu:function(e){s.mql.small.matches&&27===e.keyCode&&(s.elem.accordion.forEach(function(e){e.toggle.closeAll()}),s.elem.body.classList.remove("nav-open"),s.elem.menuToggle.setAttribute("aria-expanded","false"),s.elem.menuToggle.querySelector(".show-for-sr").innerHTML="Open navigation")},tabtrap:function(e){if(s.mql.small.matches){var t=s.elem.itemsArray.indexOf(e.currentTarget);"tab"===e.key.toLowerCase()&&(e.shiftKey?0===t&&(e.preventDefault(),s.elem.itemsArray[s.elem.itemsArray.length-1].focus()):t===s.elem.itemsArray.length-1&&(e.preventDefault(),s.elem.itemsArray[0].focus()))}},toggleMenu:function(e){e.preventDefault();var t=s.elem.menuToggle.getAttribute("aria-expanded"),n=s.elem.menuToggle.querySelector(".show-for-sr").innerHTML;t="true"===t?"false":"true",n=n.indexOf("Open")>-1?n.replace("Open","Close"):n.replace("Close","Open"),s.elem.menuToggle.setAttribute("aria-expanded",t),s.elem.menuToggle.querySelector(".show-for-sr").innerHTML=n,s.elem.body.classList.toggle("nav-open")},toggleSearch:function(e){e.preventDefault();var t=s.elem.searchToggle.getAttribute("aria-expanded"),n=s.elem.searchToggle.querySelector(".show-for-sr").innerHTML;t="true"===t?"false":"true",n=n.indexOf("Open")>-1?n.replace("Open","Close"):n.replace("Close","Open"),s.elem.searchToggle.setAttribute("aria-expanded",t),s.elem.searchToggle.querySelector(".show-for-sr").innerHTML=n,"true"===t?(s.elem.searchInput.setAttribute("aria-hidden","false"),s.elem.searchInput.querySelectorAll("input").forEach(function(e){e.setAttribute("tabindex","0")}),s.elem.searchInput.querySelectorAll("button").forEach(function(e){e.setAttribute("tabindex","0")}),setTimeout(function(){s.elem.searchInput.querySelector("input").focus()},100)):(s.elem.searchInput.setAttribute("aria-hidden","true"),s.elem.searchInput.querySelectorAll("input").forEach(function(e){e.setAttribute("tabindex","-1")}),s.elem.searchInput.querySelectorAll("button").forEach(function(e){e.setAttribute("tabindex","-1")}))},directorySearch:function(e){e.preventDefault();var t=e.currentTarget.closest(".header__search").querySelector("input[type=text]"),n=encodeURI(t.value);window.location="https://directory.uci.edu/query/".concat(n,"?filter=all")}},d={elem:{all:document.querySelectorAll(".gallery-grid, .media"),medium:document.querySelectorAll(".masthead--landing")},init:function(){(d.elem.all.length>0||d.elem.medium.length>0)&&(window.addEventListener("resize",d.resize),setTimeout(d.resize,100))},resize:function(){d.elem.all.length>0&&d.elem.all.forEach(function(e){var t=e.querySelector(".gallery-grid__carousel, .media__carousel, .video"),n=e.querySelector(".gallery-grid__content, .media__content").offsetHeight,i=e.querySelector(".gallery-grid__title, .media__title").offsetTop,o=e.querySelector(".gallery-grid__copy, .media__copy").offsetTop;e.offsetWidth>=920?t.style.marginBottom=n-o+"px":t.style.marginBottom=n-i+"px"}),d.elem.medium.length>0&&d.elem.medium.forEach(function(e){var t=e.querySelector(".masthead__figure"),n=e.querySelector(".masthead__content").offsetHeight,i=e.querySelector(".masthead__title").offsetTop,o=e.querySelector(".masthead__copy").offsetTop;t.offsetWidth>=768?e.offsetWidth>=920?t.style.marginBottom=n-o+"px":t.style.marginBottom=n-i+"px":t.style.marginBottom="0px"})}},f={elem:{component:document.querySelectorAll(".rando")},init:function(){f.elem.component.length>0&&f.elem.component.forEach(function(e){var t=e.querySelectorAll(".rando__item");t.length>0&&t[Math.floor(Math.random()*t.length)].classList.add("rando__item--shown")})}};function m(e,t){for(var n=0;n-1}function C(e,t){return e.push.apply(e,M(t)),e}function z(e,t,n){e&&P(t,function(t){t&&e.classList[n?"add":"remove"](t)})}function D(e,t){z(e,L(t)?t.split(" "):t,!0)}function I(e,t){P(t,e.appendChild.bind(e))}function j(e,t){P(e,function(e){var n=(t||e).parentNode;n&&n.insertBefore(e,t)})}function N(e,t){return k(e)&&(e.msMatchesSelector||e.matches).call(e,t)}function H(e,t){var n=e?v(e.children):[];return t?n.filter(function(e){return N(e,t)}):n}function W(e,t){return t?H(e,t)[0]:e.firstElementChild}var B=Object.keys;function R(e,t,n){return e&&(n?B(e).reverse():B(e)).forEach(function(n){"__proto__"!==n&&t(e[n],n)}),e}function F(e){return v(arguments,1).forEach(function(t){R(t,function(n,i){e[i]=t[i]})}),e}function $(e){return v(arguments,1).forEach(function(t){R(t,function(t,n){_(t)?e[n]=t.slice():E(t)?e[n]=$({},E(e[n])?e[n]:{},t):e[n]=t})}),e}function G(e,t){P(t||B(e),function(t){delete e[t]})}function X(e,t){P(e,function(e){P(t,function(t){e&&e.removeAttribute(t)})})}function U(e,t,n){E(t)?R(t,function(t,n){U(e,n,t)}):P(e,function(e){T(n)||""===n?X(e,t):e.setAttribute(t,String(n))})}function Y(e,t,n){var i=document.createElement(e);return t&&(L(t)?D(i,t):U(i,t)),n&&I(n,i),i}function Z(e,t,n){if(q(n))return getComputedStyle(e)[t];T(n)||(e.style[t]=""+n)}function K(e,t){Z(e,"display",t)}function V(e){e.setActive&&e.setActive()||e.focus({preventScroll:!0})}function J(e,t){return e.getAttribute(t)}function Q(e,t){return e&&e.classList.contains(t)}function ee(e){return e.getBoundingClientRect()}function te(e){P(e,function(e){e&&e.parentNode&&e.parentNode.removeChild(e)})}function ne(e){return W((new DOMParser).parseFromString(e,"text/html").body)}function ie(e,t){e.preventDefault(),t&&(e.stopPropagation(),e.stopImmediatePropagation())}function oe(e,t){return e&&e.querySelector(t)}function re(e,t){return t?v(e.querySelectorAll(t)):[]}function ae(e,t){z(e,t,!1)}function le(e){return e.timeStamp}function ce(e){return L(e)?e:e?e+"px":""}var ue="splide",se="data-"+ue;function de(e,t){if(!e)throw new Error("["+ue+"] "+(t||""))}var fe=Math.min,me=Math.max,ge=Math.floor,pe=Math.ceil,he=Math.abs;function ve(e,t,n){return he(e-t)0)-+(e<0)}function Se(e,t){return P(t,function(t){e=e.replace("%s",""+t)}),e}function xe(e){return e<10?"0"+e:""+e}var Ee={};function _e(e){return""+e+xe(Ee[e]=(Ee[e]||0)+1)}function Ae(){var e=[];function t(e,t,n){P(e,function(e){e&&P(t,function(t){t.split(" ").forEach(function(t){var i=t.split(".");n(e,i[0],i[1])})})})}return{bind:function(n,i,o,r){t(n,i,function(t,n,i){var a="addEventListener"in t,l=a?t.removeEventListener.bind(t,n,o,r):t.removeListener.bind(t,o);a?t.addEventListener(n,o,r):t.addListener(o),e.push([t,n,i,o,l])})},unbind:function(n,i,o){t(n,i,function(t,n,i){e=e.filter(function(e){return!!(e[0]!==t||e[1]!==n||e[2]!==i||o&&e[3]!==o)||(e[4](),!1)})})},dispatch:function(e,t,n){var i,o=!0;return"function"==typeof CustomEvent?i=new CustomEvent(t,{bubbles:o,detail:n}):(i=document.createEvent("CustomEvent")).initCustomEvent(t,o,!1,n),e.dispatchEvent(i),i},destroy:function(){e.forEach(function(e){e[4]()}),h(e)}}}var Le="mounted",qe="ready",Te="move",ke="moved",Me="click",Pe="active",Oe="inactive",Ce="visible",ze="hidden",De="refresh",Ie="updated",je="resize",Ne="resized",He="scroll",We="scrolled",Be="destroy",Re="arrows:mounted",Fe="navigation:mounted",$e="autoplay:play",Ge="autoplay:pause",Xe="lazyload:loaded",Ue="sk",Ye="sh",Ze="ei";function Ke(e){var t=e?e.event.bus:document.createDocumentFragment(),n=Ae();return e&&e.event.on(Be,n.destroy),F(n,{bus:t,on:function(e,i){n.bind(t,M(e).join(" "),function(e){i.apply(i,_(e.detail)?e.detail:[])})},off:y(n.unbind,t),emit:function(e){n.dispatch(t,e,v(arguments,1))}})}function Ve(e,t,n,i){var o,r,a=Date.now,l=0,c=!0,u=0;function s(){if(!c){if(l=e?fe((a()-o)/e,1):1,n&&n(l),l>=1&&(t(),o=a(),i&&++u>=i))return d();r=S(s)}}function d(){c=!0}function f(){r&&cancelAnimationFrame(r),l=0,r=0,c=!0}return{start:function(t){t||f(),o=a()-(t?l*e:0),c=!1,r=S(s)},rewind:function(){o=a(),l=0,n&&n(l)},pause:d,cancel:f,set:function(t){e=t},isPaused:function(){return c}}}var Je="Arrow",Qe=Je+"Left",et=Je+"Right",tt=Je+"Up",nt=Je+"Down",it="ttb",ot={width:["height"],left:["top","right"],right:["bottom","left"],x:["y"],X:["Y"],Y:["X"],ArrowLeft:[tt,et],ArrowRight:[nt,Qe]};function rt(e,t,n){return{resolve:function(e,t,i){var o="rtl"!==(i=i||n.direction)||t?i===it?0:-1:1;return ot[e]&&ot[e][o]||e.replace(/width|left|right/i,function(e,t){var n=ot[e.toLowerCase()][o]||e;return t>0?n.charAt(0).toUpperCase()+n.slice(1):n})},orient:function(e){return e*("rtl"===n.direction?1:-1)}}}var at="role",lt="tabindex",ct="aria-",ut=ct+"controls",st=ct+"current",dt=ct+"selected",ft=ct+"label",mt=ct+"labelledby",gt=ct+"hidden",pt=ct+"orientation",ht=ct+"roledescription",vt=ct+"live",yt=ct+"busy",bt=ct+"atomic",wt=[at,lt,"disabled",ut,st,ft,mt,gt,pt,ht],St=ue+"__",xt="is-",Et=ue,_t=St+"track",At=St+"list",Lt=St+"slide",qt=Lt+"--clone",Tt=Lt+"__container",kt=St+"arrows",Mt=St+"arrow",Pt=Mt+"--prev",Ot=Mt+"--next",Ct=St+"pagination",zt=Ct+"__page",Dt=St+"progress"+"__bar",It=St+"toggle",jt=St+"sr",Nt=xt+"initialized",Ht=xt+"active",Wt=xt+"prev",Bt=xt+"next",Rt=xt+"visible",Ft=xt+"loading",$t=xt+"focus-in",Gt=xt+"overflow",Xt=[Ht,Rt,Wt,Bt,Ft,$t,Gt],Ut={slide:Lt,clone:qt,arrows:kt,arrow:Mt,prev:Pt,next:Ot,pagination:Ct,page:zt,spinner:St+"spinner"};var Yt="touchstart mousedown",Zt="touchmove mousemove",Kt="touchend touchcancel mouseup click";var Vt="slide",Jt="loop",Qt="fade";function en(e,t,n,i){var o,r=Ke(e),a=r.on,l=r.emit,c=r.bind,u=e.Components,s=e.root,d=e.options,f=d.isNavigation,m=d.updateOnMove,g=d.i18n,p=d.pagination,h=d.slideFocus,v=u.Direction.resolve,b=J(i,"style"),w=J(i,ft),S=n>-1,x=W(i,"."+Tt);function E(){var o=e.splides.map(function(e){var n=e.splide.Components.Slides.getAt(t);return n?n.slide.id:""}).join(" ");U(i,ft,Se(g.slideX,(S?n:t)+1)),U(i,ut,o),U(i,at,h?"button":""),h&&X(i,ht)}function _(){o||A()}function A(){if(!o){var n=e.index;(r=L())!==Q(i,Ht)&&(z(i,Ht,r),U(i,st,f&&r||""),l(r?Pe:Oe,q)),function(){var t=function(){if(e.is(Qt))return L();var t=ee(u.Elements.track),n=ee(i),o=v("left",!0),r=v("right",!0);return ge(t[o])<=pe(n[o])&&ge(n[r])<=pe(t[r])}(),n=!t&&(!L()||S);e.state.is([4,5])||U(i,gt,n||"");U(re(i,d.focusableNodes||""),lt,n?-1:""),h&&U(i,lt,n?-1:0);t!==Q(i,Rt)&&(z(i,Rt,t),l(t?Ce:ze,q));if(!t&&document.activeElement===i){var o=u.Slides.getAt(e.index);o&&V(o.slide)}}(),z(i,Wt,t===n-1),z(i,Bt,t===n+1)}var r}function L(){var i=e.index;return i===t||d.cloneStatus&&i===n}var q={index:t,slideIndex:n,slide:i,container:x,isClone:S,mount:function(){S||(i.id=s.id+"-slide"+xe(t+1),U(i,at,p?"tabpanel":"group"),U(i,ht,g.slide),U(i,ft,w||Se(g.slideLabel,[t+1,e.length]))),c(i,"click",y(l,Me,q)),c(i,"keydown",y(l,Ue,q)),a([ke,Ye,We],A),a(Fe,E),m&&a(Te,_)},destroy:function(){o=!0,r.destroy(),ae(i,Xt),X(i,wt),U(i,"style",b),U(i,ft,w||"")},update:A,style:function(e,t,n){Z(n&&x||i,e,t)},isWithin:function(n,i){var o=he(n-t);return S||!d.rewind&&!e.is(Jt)||(o=fe(o,e.length-o)),o<=i}};return q}var tn="http://www.w3.org/2000/svg",nn="m15.5 0.932-4.3 4.38 14.5 14.6-14.5 14.5 4.3 4.4 14.6-14.6 4.4-4.3-4.4-4.4-14.6-14.6z";var on=se+"-interval";var rn={passive:!1,capture:!0};var an={Spacebar:" ",Right:et,Left:Qe,Up:tt,Down:nt};function ln(e){return e=L(e)?e:e.key,an[e]||e}var cn="keydown";var un=se+"-lazy",sn=un+"-srcset",dn="["+un+"], ["+sn+"]";var fn=[" ","Enter"];var mn=Object.freeze({__proto__:null,Media:function(e,t,n){var i=e.state,o=n.breakpoints||{},r=n.reducedMotion||{},a=Ae(),l=[];function c(e){e&&a.destroy()}function u(e,t){var n=matchMedia(t);a.bind(n,"change",s),l.push([e,n])}function s(){var t=i.is(7),o=n.direction,r=l.reduce(function(e,t){return $(e,t[1].matches?t[0]:{})},{});G(n),d(r),n.destroy?e.destroy("completely"===n.destroy):t?(c(!0),e.mount()):o!==n.direction&&e.refresh()}function d(t,o,r){$(n,t),o&&$(Object.getPrototypeOf(n),t),!r&&i.is(1)||e.emit(Ie,n)}return{setup:function(){var e="min"===n.mediaQuery;B(o).sort(function(t,n){return e?+t-+n:+n-+t}).forEach(function(t){u(o[t],"("+(e?"min":"max")+"-width:"+t+"px)")}),u(r,g),s()},destroy:c,reduce:function(e){matchMedia(g).matches&&(e?$(n,r):G(n,B(r)))},set:d}},Direction:rt,Elements:function(e,t,n){var i,o,r,a=Ke(e),l=a.on,c=a.bind,u=e.root,s=n.i18n,d={},f=[],m=[],g=[];function p(){i=b("."+_t),o=W(i,"."+At),de(i&&o,"A track/list element is missing."),C(f,H(o,"."+Lt+":not(."+qt+")")),R({arrows:kt,pagination:Ct,prev:Pt,next:Ot,bar:Dt,toggle:It},function(e,t){d[t]=b("."+e)}),F(d,{root:u,track:i,list:o,slides:f}),function(){var e=u.id||_e(ue),t=n.role;u.id=e,i.id=i.id||e+"-track",o.id=o.id||e+"-list",!J(u,at)&&"SECTION"!==u.tagName&&t&&U(u,at,t);U(u,ht,s.carousel),U(o,at,"presentation")}(),y()}function v(e){var t=wt.concat("style");h(f),ae(u,m),ae(i,g),X([i,o],t),X(u,e?t:["style",ht])}function y(){ae(u,m),ae(i,g),m=w(Et),g=w(_t),D(u,m),D(i,g),U(u,ft,n.label),U(u,mt,n.labelledby)}function b(e){var t=oe(u,e);return t&&function(e,t){if(A(e.closest))return e.closest(t);for(var n=e;n&&1===n.nodeType&&!N(n,t);)n=n.parentElement;return n}(t,"."+Et)===u?t:void 0}function w(e){return[e+"--"+n.type,e+"--"+n.direction,n.drag&&e+"--draggable",n.isNavigation&&e+"--nav",e===Et&&Ht]}return F(d,{setup:p,mount:function(){l(De,v),l(De,p),l(Ie,y),c(document,Yt+" keydown",function(e){r="keydown"===e.type},{capture:!0}),c(u,"focusin",function(){z(u,$t,!!r)})},destroy:v})},Slides:function(e,t,n){var i=Ke(e),o=i.on,r=i.emit,a=i.bind,l=t.Elements,c=l.slides,u=l.list,s=[];function d(){c.forEach(function(e,t){m(e,t,-1)})}function f(){p(function(e){e.destroy()}),h(s)}function m(t,n,i){var o=en(e,n,i,t);o.mount(),s.push(o),s.sort(function(e,t){return e.index-t.index})}function g(e){return e?v(function(e){return!e.isClone}):s}function p(e,t){g(t).forEach(e)}function v(e){return s.filter(A(e)?e:function(t){return L(e)?N(t.slide,e):O(M(e),t.index)})}return{mount:function(){d(),o(De,f),o(De,d)},destroy:f,update:function(){p(function(e){e.update()})},register:m,get:g,getIn:function(e){var i=t.Controller,o=i.toIndex(e),r=i.hasFocus()?1:n.perPage;return v(function(e){return ye(e.index,o,o+r-1)})},getAt:function(e){return v(e)[0]},add:function(e,t){P(e,function(e){if(L(e)&&(e=ne(e)),k(e)){var i=c[t];i?j(e,i):I(u,e),D(e,n.classes.slide),o=e,l=y(r,je),s=re(o,"img"),(d=s.length)?s.forEach(function(e){a(e,"load error",function(){--d||l()})}):l()}var o,l,s,d}),r(De)},remove:function(e){te(v(e).map(function(e){return e.slide})),r(De)},forEach:p,filter:v,style:function(e,t,n){p(function(i){i.style(e,t,n)})},getLength:function(e){return e?c.length:s.length},isEnough:function(){return s.length>n.perPage}}},Layout:function(e,t,n){var i,o,r,a=Ke(e),l=a.on,c=a.bind,u=a.emit,s=t.Slides,d=t.Direction.resolve,f=t.Elements,m=f.root,g=f.track,p=f.list,h=s.getAt,v=s.style;function b(){i=n.direction===it,Z(m,"maxWidth",ce(n.width)),Z(g,d("paddingLeft"),S(!1)),Z(g,d("paddingRight"),S(!0)),w(!0)}function w(e){var t=ee(m);(e||o.width!==t.width||o.height!==t.height)&&(Z(g,"height",function(){var e="";i&&(de(e=x(),"height or heightRatio is missing."),e="calc("+e+" - "+S(!1)+" - "+S(!0)+")");return e}()),v(d("marginRight"),ce(n.gap)),v("width",n.autoWidth?null:ce(n.fixedWidth)||(i?"":_())),v("height",ce(n.fixedHeight)||(i?n.autoHeight?null:_():x()),!0),o=t,u(Ne),r!==(r=M())&&(z(m,Gt,r),u("overflow",r)))}function S(e){var t=n.padding,i=d(e?"right":"left");return t&&ce(t[i]||(E(t)?0:t))||"0px"}function x(){return ce(n.height||ee(p).width*n.heightRatio)}function _(){var e=ce(n.gap);return"calc((100%"+(e&&" + "+e)+")/"+(n.perPage||1)+(e&&" - "+e)+")"}function A(){return ee(p)[d("width")]}function L(e,t){var n=h(e||0);return n?ee(n.slide)[d("width")]+(t?0:k()):0}function q(e,t){var n=h(e);if(n){var i=ee(n.slide)[d("right")],o=ee(p)[d("left")];return he(i-o)+(t?0:k())}return 0}function T(t){return q(e.length-1)-q(0)+L(0,t)}function k(){var e=h(0);return e&&parseFloat(Z(e.slide,d("marginRight")))||0}function M(){return e.is(Qt)||T(!0)>A()}return{mount:function(){var e,t,n;b(),c(window,"resize load",(e=y(u,je),n=Ve(t||0,e,null,1),function(){n.isPaused()&&n.start()})),l([Ie,De],b),l(je,w)},resize:w,listSize:A,slideSize:L,sliderSize:T,totalSize:q,getPadding:function(e){return parseFloat(Z(g,d("padding"+(e?"Right":"Left"))))||0},isOverflow:M}},Clones:function(e,t,n){var i,o=Ke(e),r=o.on,a=t.Elements,l=t.Slides,c=t.Direction.resolve,u=[];function s(){r(De,d),r([Ie,je],m),(i=g())&&(!function(t){var i=l.get().slice(),o=i.length;if(o){for(;i.lengtht.Controller.getEnd();(i<0||o)&&(n=E(n,o))}return n}(n);Z(y,"transform","translate"+p("X")+"("+o+"px)"),n!==o&&a(Ye)}}function E(e,t){var n=e-k(t),i=m();return e-=h(i*(pe(he(n)/i)||1))*(t?1:-1)}function _(){x(T(),!0),i.cancel()}function A(e){for(var n=t.Slides.get(),i=0,o=1/0,r=0;rn,c=h(E(T(),r)),r?c>=0:c<=y[p("scrollWidth")]-ee(b)[p("width")])&&(_(),x(E(T(),e>n),!0)),l(4),a(Te,t,n,e),i.start(t,function(){l(3),a(ke,t,n,e),o&&o()})},jump:S,translate:x,shift:E,cancel:_,toIndex:A,toPosition:L,getPosition:T,getLimit:k,exceededLimit:function(e,t){t=q(t)?T():t;var n=!0!==e&&h(t)h(k(!0));return n||i},reposition:w}},Controller:function(e,t,n){var i,o,r,a,l=Ke(e),c=l.on,u=l.emit,s=t.Move,d=s.getPosition,f=s.getLimit,m=s.toPosition,g=t.Slides,p=g.isEnough,h=g.getLength,v=n.omitEnd,b=e.is(Jt),w=e.is(Vt),S=y(k,!1),x=y(k,!0),E=n.start||0,_=E;function A(){o=h(!0),r=n.perMove,a=n.perPage,i=O();var e=be(E,0,v?i:o-1);e!==E&&(E=e,s.reposition())}function T(){i!==O()&&u(Ze)}function k(e,t){var n=r||(I()?1:a),o=M(E+n*(e?-1:1),E,!(r||I()));return-1===o&&w&&!ve(d(),f(!e),1)?e?0:i:t?o:P(o)}function M(t,l,c){if(p()||I()){var u=function(t){if(w&&"move"===n.trimSpace&&t!==E)for(var i=d();i===m(t,!0)&&ye(t,0,e.length-1,!n.rewind);)ti?t=r||!ye(0,t,l,!0)&&!ye(i,l,t,!0)?b?c?t<0?-(o%a||a):o:t:n.rewind?t<0?i:0:-1:C(z(t)):c&&t!==l&&(t=C(z(l)+(t0;)if(m(o-1,!0)!==m(e,!0)){e++;break}return be(e,0,o-1)}function C(e){return be(I()?e:a*e,0,i)}function z(e){return I()?fe(e,i):ge((e>=i?o-1:e)/a)}function D(e){e!==E&&(_=E,E=e)}function I(){return!q(n.focus)||n.isNavigation}function j(){return e.state.is([4,5])&&!!n.waitForTransition}return{mount:function(){A(),c([Ie,De,Ze],A),c(Ne,T)},go:function(e,t,n){if(!j()){var o=function(e){var t=E;if(L(e)){var n=e.match(/([+\-<>])(\d+)?/)||[],o=n[1],r=n[2];"+"===o||"-"===o?t=M(E+ +(""+o+(+r||1)),E):">"===o?t=r?C(+r):S(!0):"<"===o&&(t=x(!0))}else t=b?e:be(e,0,i);return t}(e),r=P(o);r>-1&&(t||r!==E)&&(D(r),s.move(o,r,_,n))}},scroll:function(e,n,o,r){t.Scroll.scroll(e,n,o,function(){var e=P(s.toIndex(d()));D(v?fe(e,i):e),r&&r()})},getNext:S,getPrev:x,getAdjacent:k,getEnd:O,setIndex:D,getIndex:function(e){return e?_:E},toIndex:C,toPage:z,toDest:function(e){var t=s.toIndex(e);return w?be(t,0,i):t},hasFocus:I,isBusy:j}},Arrows:function(e,t,n){var i,o,r=Ke(e),a=r.on,l=r.bind,c=r.emit,u=n.classes,s=n.i18n,d=t.Elements,f=t.Controller,m=d.arrows,g=d.track,p=m,h=d.prev,v=d.next,b={};function w(){!function(){var e=n.arrows;!e||h&&v||(p=m||Y("div",u.arrows),h=_(!0),v=_(!1),i=!0,I(p,[h,v]),!m&&j(p,g));h&&v&&(F(b,{prev:h,next:v}),K(p,e?"":"none"),D(p,o=kt+"--"+n.direction),e&&(a([Le,ke,De,We,Ze],A),l(v,"click",y(E,">")),l(h,"click",y(E,"<")),A(),U([h,v],ut,g.id),c(Re,h,v)))}(),a(Ie,S)}function S(){x(),w()}function x(){r.destroy(),ae(p,o),i?(te(m?[h,v]:p),h=v=null):X([h,v],wt)}function E(e){f.go(e,!0)}function _(e){return ne('